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.87k | PaddedPODArray<UInt8>& c) { |
72 | 7.87k | size_t size = a.size(); |
73 | 7.87k | const A* __restrict a_pos = a.data(); |
74 | 7.87k | const B* __restrict b_pos = b.data(); |
75 | 7.87k | UInt8* __restrict c_pos = c.data(); |
76 | 7.87k | const A* __restrict a_end = a_pos + size; |
77 | | |
78 | 3.14M | while (a_pos < a_end) { |
79 | 3.13M | *c_pos = Op::apply(*a_pos, *b_pos); |
80 | 3.13M | ++a_pos; |
81 | 3.13M | ++b_pos; |
82 | 3.13M | ++c_pos; |
83 | 3.13M | } |
84 | 7.87k | } _ZN5doris17NumComparisonImplIhhNS_8EqualsOpILNS_13PrimitiveTypeE2EEEE13vector_vectorERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RS9_ Line | Count | Source | 71 | 73 | PaddedPODArray<UInt8>& c) { | 72 | 73 | size_t size = a.size(); | 73 | 73 | const A* __restrict a_pos = a.data(); | 74 | 73 | const B* __restrict b_pos = b.data(); | 75 | 73 | UInt8* __restrict c_pos = c.data(); | 76 | 73 | const A* __restrict a_end = a_pos + size; | 77 | | | 78 | 146 | while (a_pos < a_end) { | 79 | 73 | *c_pos = Op::apply(*a_pos, *b_pos); | 80 | 73 | ++a_pos; | 81 | 73 | ++b_pos; | 82 | 73 | ++c_pos; | 83 | 73 | } | 84 | 73 | } |
_ZN5doris17NumComparisonImplINS_11DateV2ValueINS_15DateV2ValueTypeEEES3_NS_8EqualsOpILNS_13PrimitiveTypeE25EEEE13vector_vectorERKNS_8PODArrayIS3_Lm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESE_RNS8_IhLm4096ESB_Lm16ELm15EEE Line | Count | Source | 71 | 215 | PaddedPODArray<UInt8>& c) { | 72 | 215 | size_t size = a.size(); | 73 | 215 | const A* __restrict a_pos = a.data(); | 74 | 215 | const B* __restrict b_pos = b.data(); | 75 | 215 | UInt8* __restrict c_pos = c.data(); | 76 | 215 | const A* __restrict a_end = a_pos + size; | 77 | | | 78 | 1.36k | while (a_pos < a_end) { | 79 | 1.15k | *c_pos = Op::apply(*a_pos, *b_pos); | 80 | 1.15k | ++a_pos; | 81 | 1.15k | ++b_pos; | 82 | 1.15k | ++c_pos; | 83 | 1.15k | } | 84 | 215 | } |
_ZN5doris17NumComparisonImplINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEES3_NS_8EqualsOpILNS_13PrimitiveTypeE26EEEE13vector_vectorERKNS_8PODArrayIS3_Lm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESE_RNS8_IhLm4096ESB_Lm16ELm15EEE Line | Count | Source | 71 | 219 | PaddedPODArray<UInt8>& c) { | 72 | 219 | size_t size = a.size(); | 73 | 219 | const A* __restrict a_pos = a.data(); | 74 | 219 | const B* __restrict b_pos = b.data(); | 75 | 219 | UInt8* __restrict c_pos = c.data(); | 76 | 219 | const A* __restrict a_end = a_pos + size; | 77 | | | 78 | 456 | while (a_pos < a_end) { | 79 | 237 | *c_pos = Op::apply(*a_pos, *b_pos); | 80 | 237 | ++a_pos; | 81 | 237 | ++b_pos; | 82 | 237 | ++c_pos; | 83 | 237 | } | 84 | 219 | } |
_ZN5doris17NumComparisonImplINS_16TimestampTzValueES1_NS_8EqualsOpILNS_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 | 13 | 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 | 3 | } |
_ZN5doris17NumComparisonImplIaaNS_8EqualsOpILNS_13PrimitiveTypeE3EEEE13vector_vectorERKNS_8PODArrayIaLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 71 | 133 | PaddedPODArray<UInt8>& c) { | 72 | 133 | size_t size = a.size(); | 73 | 133 | const A* __restrict a_pos = a.data(); | 74 | 133 | const B* __restrict b_pos = b.data(); | 75 | 133 | UInt8* __restrict c_pos = c.data(); | 76 | 133 | const A* __restrict a_end = a_pos + size; | 77 | | | 78 | 408 | while (a_pos < a_end) { | 79 | 275 | *c_pos = Op::apply(*a_pos, *b_pos); | 80 | 275 | ++a_pos; | 81 | 275 | ++b_pos; | 82 | 275 | ++c_pos; | 83 | 275 | } | 84 | 133 | } |
_ZN5doris17NumComparisonImplIssNS_8EqualsOpILNS_13PrimitiveTypeE4EEEE13vector_vectorERKNS_8PODArrayIsLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 71 | 62 | PaddedPODArray<UInt8>& c) { | 72 | 62 | size_t size = a.size(); | 73 | 62 | const A* __restrict a_pos = a.data(); | 74 | 62 | const B* __restrict b_pos = b.data(); | 75 | 62 | UInt8* __restrict c_pos = c.data(); | 76 | 62 | const A* __restrict a_end = a_pos + size; | 77 | | | 78 | 124 | while (a_pos < a_end) { | 79 | 62 | *c_pos = Op::apply(*a_pos, *b_pos); | 80 | 62 | ++a_pos; | 81 | 62 | ++b_pos; | 82 | 62 | ++c_pos; | 83 | 62 | } | 84 | 62 | } |
_ZN5doris17NumComparisonImplIiiNS_8EqualsOpILNS_13PrimitiveTypeE5EEEE13vector_vectorERKNS_8PODArrayIiLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_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 | 1.75k | while (a_pos < a_end) { | 79 | 1.51k | *c_pos = Op::apply(*a_pos, *b_pos); | 80 | 1.51k | ++a_pos; | 81 | 1.51k | ++b_pos; | 82 | 1.51k | ++c_pos; | 83 | 1.51k | } | 84 | 237 | } |
_ZN5doris17NumComparisonImplIllNS_8EqualsOpILNS_13PrimitiveTypeE6EEEE13vector_vectorERKNS_8PODArrayIlLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 71 | 132 | PaddedPODArray<UInt8>& c) { | 72 | 132 | size_t size = a.size(); | 73 | 132 | const A* __restrict a_pos = a.data(); | 74 | 132 | const B* __restrict b_pos = b.data(); | 75 | 132 | UInt8* __restrict c_pos = c.data(); | 76 | 132 | const A* __restrict a_end = a_pos + size; | 77 | | | 78 | 1.37k | while (a_pos < a_end) { | 79 | 1.24k | *c_pos = Op::apply(*a_pos, *b_pos); | 80 | 1.24k | ++a_pos; | 81 | 1.24k | ++b_pos; | 82 | 1.24k | ++c_pos; | 83 | 1.24k | } | 84 | 132 | } |
_ZN5doris17NumComparisonImplInnNS_8EqualsOpILNS_13PrimitiveTypeE7EEEE13vector_vectorERKNS_8PODArrayInLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 71 | 62 | PaddedPODArray<UInt8>& c) { | 72 | 62 | size_t size = a.size(); | 73 | 62 | const A* __restrict a_pos = a.data(); | 74 | 62 | const B* __restrict b_pos = b.data(); | 75 | 62 | UInt8* __restrict c_pos = c.data(); | 76 | 62 | const A* __restrict a_end = a_pos + size; | 77 | | | 78 | 124 | while (a_pos < a_end) { | 79 | 62 | *c_pos = Op::apply(*a_pos, *b_pos); | 80 | 62 | ++a_pos; | 81 | 62 | ++b_pos; | 82 | 62 | ++c_pos; | 83 | 62 | } | 84 | 62 | } |
_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 | 82 | PaddedPODArray<UInt8>& c) { | 72 | 82 | size_t size = a.size(); | 73 | 82 | const A* __restrict a_pos = a.data(); | 74 | 82 | const B* __restrict b_pos = b.data(); | 75 | 82 | UInt8* __restrict c_pos = c.data(); | 76 | 82 | const A* __restrict a_end = a_pos + size; | 77 | | | 78 | 183 | while (a_pos < a_end) { | 79 | 101 | *c_pos = Op::apply(*a_pos, *b_pos); | 80 | 101 | ++a_pos; | 81 | 101 | ++b_pos; | 82 | 101 | ++c_pos; | 83 | 101 | } | 84 | 82 | } |
_ZN5doris17NumComparisonImplIddNS_8EqualsOpILNS_13PrimitiveTypeE9EEEE13vector_vectorERKNS_8PODArrayIdLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 71 | 83 | PaddedPODArray<UInt8>& c) { | 72 | 83 | size_t size = a.size(); | 73 | 83 | const A* __restrict a_pos = a.data(); | 74 | 83 | const B* __restrict b_pos = b.data(); | 75 | 83 | UInt8* __restrict c_pos = c.data(); | 76 | 83 | const A* __restrict a_end = a_pos + size; | 77 | | | 78 | 187 | while (a_pos < a_end) { | 79 | 104 | *c_pos = Op::apply(*a_pos, *b_pos); | 80 | 104 | ++a_pos; | 81 | 104 | ++b_pos; | 82 | 104 | ++c_pos; | 83 | 104 | } | 84 | 83 | } |
_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 | 814 | PaddedPODArray<UInt8>& c) { | 72 | 814 | size_t size = a.size(); | 73 | 814 | const A* __restrict a_pos = a.data(); | 74 | 814 | const B* __restrict b_pos = b.data(); | 75 | 814 | UInt8* __restrict c_pos = c.data(); | 76 | 814 | 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 | 814 | } |
_ZN5doris17NumComparisonImplIllNS_11NotEqualsOpILNS_13PrimitiveTypeE6EEEE13vector_vectorERKNS_8PODArrayIlLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 71 | 347 | PaddedPODArray<UInt8>& c) { | 72 | 347 | size_t size = a.size(); | 73 | 347 | const A* __restrict a_pos = a.data(); | 74 | 347 | const B* __restrict b_pos = b.data(); | 75 | 347 | UInt8* __restrict c_pos = c.data(); | 76 | 347 | const A* __restrict a_end = a_pos + size; | 77 | | | 78 | 6.36k | while (a_pos < a_end) { | 79 | 6.02k | *c_pos = Op::apply(*a_pos, *b_pos); | 80 | 6.02k | ++a_pos; | 81 | 6.02k | ++b_pos; | 82 | 6.02k | ++c_pos; | 83 | 6.02k | } | 84 | 347 | } |
Unexecuted instantiation: _ZN5doris17NumComparisonImplInnNS_11NotEqualsOpILNS_13PrimitiveTypeE7EEEE13vector_vectorERKNS_8PODArrayInLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Unexecuted instantiation: _ZN5doris17NumComparisonImplIjjNS_11NotEqualsOpILNS_13PrimitiveTypeE36EEEE13vector_vectorERKNS_8PODArrayIjLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Unexecuted instantiation: _ZN5doris17NumComparisonImplIooNS_11NotEqualsOpILNS_13PrimitiveTypeE37EEEE13vector_vectorERKNS_8PODArrayIoLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE _ZN5doris17NumComparisonImplIffNS_11NotEqualsOpILNS_13PrimitiveTypeE8EEEE13vector_vectorERKNS_8PODArrayIfLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 71 | 20 | PaddedPODArray<UInt8>& c) { | 72 | 20 | size_t size = a.size(); | 73 | 20 | const A* __restrict a_pos = a.data(); | 74 | 20 | const B* __restrict b_pos = b.data(); | 75 | 20 | UInt8* __restrict c_pos = c.data(); | 76 | 20 | const A* __restrict a_end = a_pos + size; | 77 | | | 78 | 59 | while (a_pos < a_end) { | 79 | 39 | *c_pos = Op::apply(*a_pos, *b_pos); | 80 | 39 | ++a_pos; | 81 | 39 | ++b_pos; | 82 | 39 | ++c_pos; | 83 | 39 | } | 84 | 20 | } |
_ZN5doris17NumComparisonImplIddNS_11NotEqualsOpILNS_13PrimitiveTypeE9EEEE13vector_vectorERKNS_8PODArrayIdLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 71 | 20 | PaddedPODArray<UInt8>& c) { | 72 | 20 | size_t size = a.size(); | 73 | 20 | const A* __restrict a_pos = a.data(); | 74 | 20 | const B* __restrict b_pos = b.data(); | 75 | 20 | UInt8* __restrict c_pos = c.data(); | 76 | 20 | const A* __restrict a_end = a_pos + size; | 77 | | | 78 | 59 | while (a_pos < a_end) { | 79 | 39 | *c_pos = Op::apply(*a_pos, *b_pos); | 80 | 39 | ++a_pos; | 81 | 39 | ++b_pos; | 82 | 39 | ++c_pos; | 83 | 39 | } | 84 | 20 | } |
Unexecuted instantiation: _ZN5doris17NumComparisonImplIddNS_11NotEqualsOpILNS_13PrimitiveTypeE27EEEE13vector_vectorERKNS_8PODArrayIdLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Unexecuted instantiation: _ZN5doris17NumComparisonImplIhhNS_9GreaterOpILNS_13PrimitiveTypeE2EEEE13vector_vectorERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RS9_ _ZN5doris17NumComparisonImplINS_11DateV2ValueINS_15DateV2ValueTypeEEES3_NS_9GreaterOpILNS_13PrimitiveTypeE25EEEE13vector_vectorERKNS_8PODArrayIS3_Lm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESE_RNS8_IhLm4096ESB_Lm16ELm15EEE Line | Count | Source | 71 | 1.20k | PaddedPODArray<UInt8>& c) { | 72 | 1.20k | size_t size = a.size(); | 73 | 1.20k | const A* __restrict a_pos = a.data(); | 74 | 1.20k | const B* __restrict b_pos = b.data(); | 75 | 1.20k | UInt8* __restrict c_pos = c.data(); | 76 | 1.20k | const A* __restrict a_end = a_pos + size; | 77 | | | 78 | 1.59M | 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 | 1.20k | } |
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 | 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 | 11 | 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 | 2 | } |
_ZN5doris17NumComparisonImplIaaNS_9GreaterOpILNS_13PrimitiveTypeE3EEEE13vector_vectorERKNS_8PODArrayIaLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 71 | 40 | PaddedPODArray<UInt8>& c) { | 72 | 40 | size_t size = a.size(); | 73 | 40 | const A* __restrict a_pos = a.data(); | 74 | 40 | const B* __restrict b_pos = b.data(); | 75 | 40 | UInt8* __restrict c_pos = c.data(); | 76 | 40 | const A* __restrict a_end = a_pos + size; | 77 | | | 78 | 324 | while (a_pos < a_end) { | 79 | 284 | *c_pos = Op::apply(*a_pos, *b_pos); | 80 | 284 | ++a_pos; | 81 | 284 | ++b_pos; | 82 | 284 | ++c_pos; | 83 | 284 | } | 84 | 40 | } |
_ZN5doris17NumComparisonImplIssNS_9GreaterOpILNS_13PrimitiveTypeE4EEEE13vector_vectorERKNS_8PODArrayIsLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 71 | 112 | PaddedPODArray<UInt8>& c) { | 72 | 112 | size_t size = a.size(); | 73 | 112 | const A* __restrict a_pos = a.data(); | 74 | 112 | const B* __restrict b_pos = b.data(); | 75 | 112 | UInt8* __restrict c_pos = c.data(); | 76 | 112 | const A* __restrict a_end = a_pos + size; | 77 | | | 78 | 376 | while (a_pos < a_end) { | 79 | 264 | *c_pos = Op::apply(*a_pos, *b_pos); | 80 | 264 | ++a_pos; | 81 | 264 | ++b_pos; | 82 | 264 | ++c_pos; | 83 | 264 | } | 84 | 112 | } |
_ZN5doris17NumComparisonImplIiiNS_9GreaterOpILNS_13PrimitiveTypeE5EEEE13vector_vectorERKNS_8PODArrayIiLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 71 | 31 | PaddedPODArray<UInt8>& c) { | 72 | 31 | size_t size = a.size(); | 73 | 31 | const A* __restrict a_pos = a.data(); | 74 | 31 | const B* __restrict b_pos = b.data(); | 75 | 31 | UInt8* __restrict c_pos = c.data(); | 76 | 31 | const A* __restrict a_end = a_pos + size; | 77 | | | 78 | 257 | while (a_pos < a_end) { | 79 | 226 | *c_pos = Op::apply(*a_pos, *b_pos); | 80 | 226 | ++a_pos; | 81 | 226 | ++b_pos; | 82 | 226 | ++c_pos; | 83 | 226 | } | 84 | 31 | } |
_ZN5doris17NumComparisonImplIllNS_9GreaterOpILNS_13PrimitiveTypeE6EEEE13vector_vectorERKNS_8PODArrayIlLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 71 | 63 | PaddedPODArray<UInt8>& c) { | 72 | 63 | size_t size = a.size(); | 73 | 63 | const A* __restrict a_pos = a.data(); | 74 | 63 | const B* __restrict b_pos = b.data(); | 75 | 63 | UInt8* __restrict c_pos = c.data(); | 76 | 63 | const A* __restrict a_end = a_pos + size; | 77 | | | 78 | 563 | while (a_pos < a_end) { | 79 | 500 | *c_pos = Op::apply(*a_pos, *b_pos); | 80 | 500 | ++a_pos; | 81 | 500 | ++b_pos; | 82 | 500 | ++c_pos; | 83 | 500 | } | 84 | 63 | } |
_ZN5doris17NumComparisonImplInnNS_9GreaterOpILNS_13PrimitiveTypeE7EEEE13vector_vectorERKNS_8PODArrayInLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 71 | 3 | PaddedPODArray<UInt8>& c) { | 72 | 3 | size_t size = a.size(); | 73 | 3 | const A* __restrict a_pos = a.data(); | 74 | 3 | const B* __restrict b_pos = b.data(); | 75 | 3 | UInt8* __restrict c_pos = c.data(); | 76 | 3 | const A* __restrict a_end = a_pos + size; | 77 | | | 78 | 9 | while (a_pos < a_end) { | 79 | 6 | *c_pos = Op::apply(*a_pos, *b_pos); | 80 | 6 | ++a_pos; | 81 | 6 | ++b_pos; | 82 | 6 | ++c_pos; | 83 | 6 | } | 84 | 3 | } |
_ZN5doris17NumComparisonImplIjjNS_9GreaterOpILNS_13PrimitiveTypeE36EEEE13vector_vectorERKNS_8PODArrayIjLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 71 | 1 | PaddedPODArray<UInt8>& c) { | 72 | 1 | size_t size = a.size(); | 73 | 1 | const A* __restrict a_pos = a.data(); | 74 | 1 | const B* __restrict b_pos = b.data(); | 75 | 1 | UInt8* __restrict c_pos = c.data(); | 76 | 1 | const A* __restrict a_end = a_pos + size; | 77 | | | 78 | 2 | while (a_pos < a_end) { | 79 | 1 | *c_pos = Op::apply(*a_pos, *b_pos); | 80 | 1 | ++a_pos; | 81 | 1 | ++b_pos; | 82 | 1 | ++c_pos; | 83 | 1 | } | 84 | 1 | } |
_ZN5doris17NumComparisonImplIooNS_9GreaterOpILNS_13PrimitiveTypeE37EEEE13vector_vectorERKNS_8PODArrayIoLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 71 | 1 | PaddedPODArray<UInt8>& c) { | 72 | 1 | size_t size = a.size(); | 73 | 1 | const A* __restrict a_pos = a.data(); | 74 | 1 | const B* __restrict b_pos = b.data(); | 75 | 1 | UInt8* __restrict c_pos = c.data(); | 76 | 1 | const A* __restrict a_end = a_pos + size; | 77 | | | 78 | 2 | while (a_pos < a_end) { | 79 | 1 | *c_pos = Op::apply(*a_pos, *b_pos); | 80 | 1 | ++a_pos; | 81 | 1 | ++b_pos; | 82 | 1 | ++c_pos; | 83 | 1 | } | 84 | 1 | } |
_ZN5doris17NumComparisonImplIffNS_9GreaterOpILNS_13PrimitiveTypeE8EEEE13vector_vectorERKNS_8PODArrayIfLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 71 | 20 | PaddedPODArray<UInt8>& c) { | 72 | 20 | size_t size = a.size(); | 73 | 20 | const A* __restrict a_pos = a.data(); | 74 | 20 | const B* __restrict b_pos = b.data(); | 75 | 20 | UInt8* __restrict c_pos = c.data(); | 76 | 20 | const A* __restrict a_end = a_pos + size; | 77 | | | 78 | 59 | while (a_pos < a_end) { | 79 | 39 | *c_pos = Op::apply(*a_pos, *b_pos); | 80 | 39 | ++a_pos; | 81 | 39 | ++b_pos; | 82 | 39 | ++c_pos; | 83 | 39 | } | 84 | 20 | } |
_ZN5doris17NumComparisonImplIddNS_9GreaterOpILNS_13PrimitiveTypeE9EEEE13vector_vectorERKNS_8PODArrayIdLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 71 | 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 | 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 | 11 | 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 | 2 | } |
Unexecuted instantiation: _ZN5doris17NumComparisonImplIaaNS_17GreaterOrEqualsOpILNS_13PrimitiveTypeE3EEEE13vector_vectorERKNS_8PODArrayIaLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Unexecuted instantiation: _ZN5doris17NumComparisonImplIssNS_17GreaterOrEqualsOpILNS_13PrimitiveTypeE4EEEE13vector_vectorERKNS_8PODArrayIsLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE _ZN5doris17NumComparisonImplIiiNS_17GreaterOrEqualsOpILNS_13PrimitiveTypeE5EEEE13vector_vectorERKNS_8PODArrayIiLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 71 | 3 | PaddedPODArray<UInt8>& c) { | 72 | 3 | size_t size = a.size(); | 73 | 3 | const A* __restrict a_pos = a.data(); | 74 | 3 | const B* __restrict b_pos = b.data(); | 75 | 3 | UInt8* __restrict c_pos = c.data(); | 76 | 3 | const A* __restrict a_end = a_pos + size; | 77 | | | 78 | 7 | while (a_pos < a_end) { | 79 | 4 | *c_pos = Op::apply(*a_pos, *b_pos); | 80 | 4 | ++a_pos; | 81 | 4 | ++b_pos; | 82 | 4 | ++c_pos; | 83 | 4 | } | 84 | 3 | } |
_ZN5doris17NumComparisonImplIllNS_17GreaterOrEqualsOpILNS_13PrimitiveTypeE6EEEE13vector_vectorERKNS_8PODArrayIlLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 71 | 8 | PaddedPODArray<UInt8>& c) { | 72 | 8 | size_t size = a.size(); | 73 | 8 | const A* __restrict a_pos = a.data(); | 74 | 8 | const B* __restrict b_pos = b.data(); | 75 | 8 | UInt8* __restrict c_pos = c.data(); | 76 | 8 | const A* __restrict a_end = a_pos + size; | 77 | | | 78 | 62 | while (a_pos < a_end) { | 79 | 54 | *c_pos = Op::apply(*a_pos, *b_pos); | 80 | 54 | ++a_pos; | 81 | 54 | ++b_pos; | 82 | 54 | ++c_pos; | 83 | 54 | } | 84 | 8 | } |
Unexecuted instantiation: _ZN5doris17NumComparisonImplInnNS_17GreaterOrEqualsOpILNS_13PrimitiveTypeE7EEEE13vector_vectorERKNS_8PODArrayInLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE _ZN5doris17NumComparisonImplIjjNS_17GreaterOrEqualsOpILNS_13PrimitiveTypeE36EEEE13vector_vectorERKNS_8PODArrayIjLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 71 | 1 | PaddedPODArray<UInt8>& c) { | 72 | 1 | size_t size = a.size(); | 73 | 1 | const A* __restrict a_pos = a.data(); | 74 | 1 | const B* __restrict b_pos = b.data(); | 75 | 1 | UInt8* __restrict c_pos = c.data(); | 76 | 1 | const A* __restrict a_end = a_pos + size; | 77 | | | 78 | 2 | while (a_pos < a_end) { | 79 | 1 | *c_pos = Op::apply(*a_pos, *b_pos); | 80 | 1 | ++a_pos; | 81 | 1 | ++b_pos; | 82 | 1 | ++c_pos; | 83 | 1 | } | 84 | 1 | } |
_ZN5doris17NumComparisonImplIooNS_17GreaterOrEqualsOpILNS_13PrimitiveTypeE37EEEE13vector_vectorERKNS_8PODArrayIoLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 71 | 1 | PaddedPODArray<UInt8>& c) { | 72 | 1 | size_t size = a.size(); | 73 | 1 | const A* __restrict a_pos = a.data(); | 74 | 1 | const B* __restrict b_pos = b.data(); | 75 | 1 | UInt8* __restrict c_pos = c.data(); | 76 | 1 | const A* __restrict a_end = a_pos + size; | 77 | | | 78 | 2 | while (a_pos < a_end) { | 79 | 1 | *c_pos = Op::apply(*a_pos, *b_pos); | 80 | 1 | ++a_pos; | 81 | 1 | ++b_pos; | 82 | 1 | ++c_pos; | 83 | 1 | } | 84 | 1 | } |
_ZN5doris17NumComparisonImplIffNS_17GreaterOrEqualsOpILNS_13PrimitiveTypeE8EEEE13vector_vectorERKNS_8PODArrayIfLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 71 | 20 | PaddedPODArray<UInt8>& c) { | 72 | 20 | size_t size = a.size(); | 73 | 20 | const A* __restrict a_pos = a.data(); | 74 | 20 | const B* __restrict b_pos = b.data(); | 75 | 20 | UInt8* __restrict c_pos = c.data(); | 76 | 20 | const A* __restrict a_end = a_pos + size; | 77 | | | 78 | 59 | while (a_pos < a_end) { | 79 | 39 | *c_pos = Op::apply(*a_pos, *b_pos); | 80 | 39 | ++a_pos; | 81 | 39 | ++b_pos; | 82 | 39 | ++c_pos; | 83 | 39 | } | 84 | 20 | } |
_ZN5doris17NumComparisonImplIddNS_17GreaterOrEqualsOpILNS_13PrimitiveTypeE9EEEE13vector_vectorERKNS_8PODArrayIdLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 71 | 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 | 66 | 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 | 23 | } |
Unexecuted instantiation: _ZN5doris17NumComparisonImplIddNS_17GreaterOrEqualsOpILNS_13PrimitiveTypeE27EEEE13vector_vectorERKNS_8PODArrayIdLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE _ZN5doris17NumComparisonImplIhhNS_6LessOpILNS_13PrimitiveTypeE2EEEE13vector_vectorERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RS9_ Line | Count | Source | 71 | 101 | PaddedPODArray<UInt8>& c) { | 72 | 101 | size_t size = a.size(); | 73 | 101 | const A* __restrict a_pos = a.data(); | 74 | 101 | const B* __restrict b_pos = b.data(); | 75 | 101 | UInt8* __restrict c_pos = c.data(); | 76 | 101 | const A* __restrict a_end = a_pos + size; | 77 | | | 78 | 376 | while (a_pos < a_end) { | 79 | 275 | *c_pos = Op::apply(*a_pos, *b_pos); | 80 | 275 | ++a_pos; | 81 | 275 | ++b_pos; | 82 | 275 | ++c_pos; | 83 | 275 | } | 84 | 101 | } |
_ZN5doris17NumComparisonImplINS_11DateV2ValueINS_15DateV2ValueTypeEEES3_NS_6LessOpILNS_13PrimitiveTypeE25EEEE13vector_vectorERKNS_8PODArrayIS3_Lm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESE_RNS8_IhLm4096ESB_Lm16ELm15EEE Line | Count | Source | 71 | 1.68k | PaddedPODArray<UInt8>& c) { | 72 | 1.68k | size_t size = a.size(); | 73 | 1.68k | const A* __restrict a_pos = a.data(); | 74 | 1.68k | const B* __restrict b_pos = b.data(); | 75 | 1.68k | UInt8* __restrict c_pos = c.data(); | 76 | 1.68k | const A* __restrict a_end = a_pos + size; | 77 | | | 78 | 1.22M | while (a_pos < a_end) { | 79 | 1.22M | *c_pos = Op::apply(*a_pos, *b_pos); | 80 | 1.22M | ++a_pos; | 81 | 1.22M | ++b_pos; | 82 | 1.22M | ++c_pos; | 83 | 1.22M | } | 84 | 1.68k | } |
_ZN5doris17NumComparisonImplINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEES3_NS_6LessOpILNS_13PrimitiveTypeE26EEEE13vector_vectorERKNS_8PODArrayIS3_Lm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESE_RNS8_IhLm4096ESB_Lm16ELm15EEE Line | Count | Source | 71 | 254 | PaddedPODArray<UInt8>& c) { | 72 | 254 | size_t size = a.size(); | 73 | 254 | const A* __restrict a_pos = a.data(); | 74 | 254 | const B* __restrict b_pos = b.data(); | 75 | 254 | UInt8* __restrict c_pos = c.data(); | 76 | 254 | const A* __restrict a_end = a_pos + size; | 77 | | | 78 | 856 | while (a_pos < a_end) { | 79 | 602 | *c_pos = Op::apply(*a_pos, *b_pos); | 80 | 602 | ++a_pos; | 81 | 602 | ++b_pos; | 82 | 602 | ++c_pos; | 83 | 602 | } | 84 | 254 | } |
_ZN5doris17NumComparisonImplINS_16TimestampTzValueES1_NS_6LessOpILNS_13PrimitiveTypeE42EEEE13vector_vectorERKNS_8PODArrayIS1_Lm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESC_RNS6_IhLm4096ES9_Lm16ELm15EEE Line | Count | Source | 71 | 2 | PaddedPODArray<UInt8>& c) { | 72 | 2 | size_t size = a.size(); | 73 | 2 | const A* __restrict a_pos = a.data(); | 74 | 2 | const B* __restrict b_pos = b.data(); | 75 | 2 | UInt8* __restrict c_pos = c.data(); | 76 | 2 | const A* __restrict a_end = a_pos + size; | 77 | | | 78 | 11 | 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 | 2 | } |
_ZN5doris17NumComparisonImplIaaNS_6LessOpILNS_13PrimitiveTypeE3EEEE13vector_vectorERKNS_8PODArrayIaLm4096ENS_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 | 458 | while (a_pos < a_end) { | 79 | 316 | *c_pos = Op::apply(*a_pos, *b_pos); | 80 | 316 | ++a_pos; | 81 | 316 | ++b_pos; | 82 | 316 | ++c_pos; | 83 | 316 | } | 84 | 142 | } |
_ZN5doris17NumComparisonImplIssNS_6LessOpILNS_13PrimitiveTypeE4EEEE13vector_vectorERKNS_8PODArrayIsLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 71 | 122 | PaddedPODArray<UInt8>& c) { | 72 | 122 | size_t size = a.size(); | 73 | 122 | const A* __restrict a_pos = a.data(); | 74 | 122 | const B* __restrict b_pos = b.data(); | 75 | 122 | UInt8* __restrict c_pos = c.data(); | 76 | 122 | const A* __restrict a_end = a_pos + size; | 77 | | | 78 | 420 | while (a_pos < a_end) { | 79 | 298 | *c_pos = Op::apply(*a_pos, *b_pos); | 80 | 298 | ++a_pos; | 81 | 298 | ++b_pos; | 82 | 298 | ++c_pos; | 83 | 298 | } | 84 | 122 | } |
_ZN5doris17NumComparisonImplIiiNS_6LessOpILNS_13PrimitiveTypeE5EEEE13vector_vectorERKNS_8PODArrayIiLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 71 | 168 | PaddedPODArray<UInt8>& c) { | 72 | 168 | size_t size = a.size(); | 73 | 168 | const A* __restrict a_pos = a.data(); | 74 | 168 | const B* __restrict b_pos = b.data(); | 75 | 168 | UInt8* __restrict c_pos = c.data(); | 76 | 168 | const A* __restrict a_end = a_pos + size; | 77 | | | 78 | 1.03k | while (a_pos < a_end) { | 79 | 864 | *c_pos = Op::apply(*a_pos, *b_pos); | 80 | 864 | ++a_pos; | 81 | 864 | ++b_pos; | 82 | 864 | ++c_pos; | 83 | 864 | } | 84 | 168 | } |
_ZN5doris17NumComparisonImplIllNS_6LessOpILNS_13PrimitiveTypeE6EEEE13vector_vectorERKNS_8PODArrayIlLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 71 | 204 | PaddedPODArray<UInt8>& c) { | 72 | 204 | size_t size = a.size(); | 73 | 204 | const A* __restrict a_pos = a.data(); | 74 | 204 | const B* __restrict b_pos = b.data(); | 75 | 204 | UInt8* __restrict c_pos = c.data(); | 76 | 204 | const A* __restrict a_end = a_pos + size; | 77 | | | 78 | 5.40k | 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 | 204 | } |
_ZN5doris17NumComparisonImplInnNS_6LessOpILNS_13PrimitiveTypeE7EEEE13vector_vectorERKNS_8PODArrayInLm4096ENS_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 | 458 | while (a_pos < a_end) { | 79 | 316 | *c_pos = Op::apply(*a_pos, *b_pos); | 80 | 316 | ++a_pos; | 81 | 316 | ++b_pos; | 82 | 316 | ++c_pos; | 83 | 316 | } | 84 | 142 | } |
_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 | 138 | PaddedPODArray<UInt8>& c) { | 72 | 138 | size_t size = a.size(); | 73 | 138 | const A* __restrict a_pos = a.data(); | 74 | 138 | const B* __restrict b_pos = b.data(); | 75 | 138 | UInt8* __restrict c_pos = c.data(); | 76 | 138 | const A* __restrict a_end = a_pos + size; | 77 | | | 78 | 469 | 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 | 138 | } |
_ZN5doris17NumComparisonImplIddNS_6LessOpILNS_13PrimitiveTypeE9EEEE13vector_vectorERKNS_8PODArrayIdLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 71 | 144 | PaddedPODArray<UInt8>& c) { | 72 | 144 | size_t size = a.size(); | 73 | 144 | const A* __restrict a_pos = a.data(); | 74 | 144 | const B* __restrict b_pos = b.data(); | 75 | 144 | UInt8* __restrict c_pos = c.data(); | 76 | 144 | const A* __restrict a_end = a_pos + size; | 77 | | | 78 | 490 | 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 | 144 | } |
Unexecuted instantiation: _ZN5doris17NumComparisonImplIddNS_6LessOpILNS_13PrimitiveTypeE27EEEE13vector_vectorERKNS_8PODArrayIdLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Unexecuted instantiation: _ZN5doris17NumComparisonImplIhhNS_14LessOrEqualsOpILNS_13PrimitiveTypeE2EEEE13vector_vectorERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RS9_ _ZN5doris17NumComparisonImplINS_11DateV2ValueINS_15DateV2ValueTypeEEES3_NS_14LessOrEqualsOpILNS_13PrimitiveTypeE25EEEE13vector_vectorERKNS_8PODArrayIS3_Lm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESE_RNS8_IhLm4096ESB_Lm16ELm15EEE Line | Count | Source | 71 | 418 | PaddedPODArray<UInt8>& c) { | 72 | 418 | size_t size = a.size(); | 73 | 418 | const A* __restrict a_pos = a.data(); | 74 | 418 | const B* __restrict b_pos = b.data(); | 75 | 418 | UInt8* __restrict c_pos = c.data(); | 76 | 418 | const A* __restrict a_end = a_pos + size; | 77 | | | 78 | 6.76k | while (a_pos < a_end) { | 79 | 6.34k | *c_pos = Op::apply(*a_pos, *b_pos); | 80 | 6.34k | ++a_pos; | 81 | 6.34k | ++b_pos; | 82 | 6.34k | ++c_pos; | 83 | 6.34k | } | 84 | 418 | } |
Unexecuted instantiation: _ZN5doris17NumComparisonImplINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEES3_NS_14LessOrEqualsOpILNS_13PrimitiveTypeE26EEEE13vector_vectorERKNS_8PODArrayIS3_Lm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESE_RNS8_IhLm4096ESB_Lm16ELm15EEE _ZN5doris17NumComparisonImplINS_16TimestampTzValueES1_NS_14LessOrEqualsOpILNS_13PrimitiveTypeE42EEEE13vector_vectorERKNS_8PODArrayIS1_Lm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESC_RNS6_IhLm4096ES9_Lm16ELm15EEE Line | Count | Source | 71 | 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 | 11 | 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 | 2 | } |
_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 | 43.4k | PaddedPODArray<UInt8>& c) { |
88 | 43.4k | size_t size = a.size(); |
89 | 43.4k | const A* __restrict a_pos = a.data(); |
90 | 43.4k | UInt8* __restrict c_pos = c.data(); |
91 | 43.4k | const A* __restrict a_end = a_pos + size; |
92 | | |
93 | 31.6M | while (a_pos < a_end) { |
94 | 31.5M | *c_pos = Op::apply(*a_pos, b); |
95 | 31.5M | ++a_pos; |
96 | 31.5M | ++c_pos; |
97 | 31.5M | } |
98 | 43.4k | } _ZN5doris17NumComparisonImplIhhNS_8EqualsOpILNS_13PrimitiveTypeE2EEEE15vector_constantERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEhRS9_ Line | Count | Source | 87 | 24 | PaddedPODArray<UInt8>& c) { | 88 | 24 | size_t size = a.size(); | 89 | 24 | const A* __restrict a_pos = a.data(); | 90 | 24 | UInt8* __restrict c_pos = c.data(); | 91 | 24 | const A* __restrict a_end = a_pos + size; | 92 | | | 93 | 163 | while (a_pos < a_end) { | 94 | 139 | *c_pos = Op::apply(*a_pos, b); | 95 | 139 | ++a_pos; | 96 | 139 | ++c_pos; | 97 | 139 | } | 98 | 24 | } |
_ZN5doris17NumComparisonImplINS_11DateV2ValueINS_15DateV2ValueTypeEEES3_NS_8EqualsOpILNS_13PrimitiveTypeE25EEEE15vector_constantERKNS_8PODArrayIS3_Lm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEES3_RNS8_IhLm4096ESB_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 | 204k | while (a_pos < a_end) { | 94 | 203k | *c_pos = Op::apply(*a_pos, b); | 95 | 203k | ++a_pos; | 96 | 203k | ++c_pos; | 97 | 203k | } | 98 | 293 | } |
_ZN5doris17NumComparisonImplINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEES3_NS_8EqualsOpILNS_13PrimitiveTypeE26EEEE15vector_constantERKNS_8PODArrayIS3_Lm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEES3_RNS8_IhLm4096ESB_Lm16ELm15EEE Line | Count | Source | 87 | 165 | PaddedPODArray<UInt8>& c) { | 88 | 165 | size_t size = a.size(); | 89 | 165 | const A* __restrict a_pos = a.data(); | 90 | 165 | UInt8* __restrict c_pos = c.data(); | 91 | 165 | 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 | 165 | } |
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.85k | PaddedPODArray<UInt8>& c) { | 88 | 4.85k | size_t size = a.size(); | 89 | 4.85k | const A* __restrict a_pos = a.data(); | 90 | 4.85k | UInt8* __restrict c_pos = c.data(); | 91 | 4.85k | const A* __restrict a_end = a_pos + size; | 92 | | | 93 | 9.06M | while (a_pos < a_end) { | 94 | 9.05M | *c_pos = Op::apply(*a_pos, b); | 95 | 9.05M | ++a_pos; | 96 | 9.05M | ++c_pos; | 97 | 9.05M | } | 98 | 4.85k | } |
_ZN5doris17NumComparisonImplIssNS_8EqualsOpILNS_13PrimitiveTypeE4EEEE15vector_constantERKNS_8PODArrayIsLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEsRNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 87 | 305 | PaddedPODArray<UInt8>& c) { | 88 | 305 | size_t size = a.size(); | 89 | 305 | const A* __restrict a_pos = a.data(); | 90 | 305 | UInt8* __restrict c_pos = c.data(); | 91 | 305 | const A* __restrict a_end = a_pos + size; | 92 | | | 93 | 101k | while (a_pos < a_end) { | 94 | 100k | *c_pos = Op::apply(*a_pos, b); | 95 | 100k | ++a_pos; | 96 | 100k | ++c_pos; | 97 | 100k | } | 98 | 305 | } |
_ZN5doris17NumComparisonImplIiiNS_8EqualsOpILNS_13PrimitiveTypeE5EEEE15vector_constantERKNS_8PODArrayIiLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEiRNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 87 | 1.83k | PaddedPODArray<UInt8>& c) { | 88 | 1.83k | size_t size = a.size(); | 89 | 1.83k | const A* __restrict a_pos = a.data(); | 90 | 1.83k | UInt8* __restrict c_pos = c.data(); | 91 | 1.83k | const A* __restrict a_end = a_pos + size; | 92 | | | 93 | 192k | while (a_pos < a_end) { | 94 | 190k | *c_pos = Op::apply(*a_pos, b); | 95 | 190k | ++a_pos; | 96 | 190k | ++c_pos; | 97 | 190k | } | 98 | 1.83k | } |
_ZN5doris17NumComparisonImplIllNS_8EqualsOpILNS_13PrimitiveTypeE6EEEE15vector_constantERKNS_8PODArrayIlLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEElRNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 87 | 2.78k | PaddedPODArray<UInt8>& c) { | 88 | 2.78k | size_t size = a.size(); | 89 | 2.78k | const A* __restrict a_pos = a.data(); | 90 | 2.78k | UInt8* __restrict c_pos = c.data(); | 91 | 2.78k | const A* __restrict a_end = a_pos + size; | 92 | | | 93 | 971k | while (a_pos < a_end) { | 94 | 968k | *c_pos = Op::apply(*a_pos, b); | 95 | 968k | ++a_pos; | 96 | 968k | ++c_pos; | 97 | 968k | } | 98 | 2.78k | } |
_ZN5doris17NumComparisonImplInnNS_8EqualsOpILNS_13PrimitiveTypeE7EEEE15vector_constantERKNS_8PODArrayInLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEnRNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 87 | 35 | PaddedPODArray<UInt8>& c) { | 88 | 35 | size_t size = a.size(); | 89 | 35 | const A* __restrict a_pos = a.data(); | 90 | 35 | UInt8* __restrict c_pos = c.data(); | 91 | 35 | 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 | 35 | } |
_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 | 785 | PaddedPODArray<UInt8>& c) { | 88 | 785 | size_t size = a.size(); | 89 | 785 | const A* __restrict a_pos = a.data(); | 90 | 785 | UInt8* __restrict c_pos = c.data(); | 91 | 785 | const A* __restrict a_end = a_pos + size; | 92 | | | 93 | 719k | while (a_pos < a_end) { | 94 | 718k | *c_pos = Op::apply(*a_pos, b); | 95 | 718k | ++a_pos; | 96 | 718k | ++c_pos; | 97 | 718k | } | 98 | 785 | } |
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 | 257 | PaddedPODArray<UInt8>& c) { | 88 | 257 | size_t size = a.size(); | 89 | 257 | const A* __restrict a_pos = a.data(); | 90 | 257 | UInt8* __restrict c_pos = c.data(); | 91 | 257 | const A* __restrict a_end = a_pos + size; | 92 | | | 93 | 1.84k | while (a_pos < a_end) { | 94 | 1.58k | *c_pos = Op::apply(*a_pos, b); | 95 | 1.58k | ++a_pos; | 96 | 1.58k | ++c_pos; | 97 | 1.58k | } | 98 | 257 | } |
_ZN5doris17NumComparisonImplIllNS_11NotEqualsOpILNS_13PrimitiveTypeE6EEEE15vector_constantERKNS_8PODArrayIlLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEElRNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 87 | 597 | PaddedPODArray<UInt8>& c) { | 88 | 597 | size_t size = a.size(); | 89 | 597 | const A* __restrict a_pos = a.data(); | 90 | 597 | UInt8* __restrict c_pos = c.data(); | 91 | 597 | const A* __restrict a_end = a_pos + size; | 92 | | | 93 | 3.73k | 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 | 597 | } |
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 | 386 | PaddedPODArray<UInt8>& c) { | 88 | 386 | size_t size = a.size(); | 89 | 386 | const A* __restrict a_pos = a.data(); | 90 | 386 | UInt8* __restrict c_pos = c.data(); | 91 | 386 | 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 | 386 | } |
_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 | 957 | PaddedPODArray<UInt8>& c) { | 88 | 957 | size_t size = a.size(); | 89 | 957 | const A* __restrict a_pos = a.data(); | 90 | 957 | UInt8* __restrict c_pos = c.data(); | 91 | 957 | const A* __restrict a_end = a_pos + size; | 92 | | | 93 | 6.18k | while (a_pos < a_end) { | 94 | 5.23k | *c_pos = Op::apply(*a_pos, b); | 95 | 5.23k | ++a_pos; | 96 | 5.23k | ++c_pos; | 97 | 5.23k | } | 98 | 957 | } |
_ZN5doris17NumComparisonImplIaaNS_6LessOpILNS_13PrimitiveTypeE3EEEE15vector_constantERKNS_8PODArrayIaLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEaRNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 87 | 1.93k | PaddedPODArray<UInt8>& c) { | 88 | 1.93k | size_t size = a.size(); | 89 | 1.93k | const A* __restrict a_pos = a.data(); | 90 | 1.93k | UInt8* __restrict c_pos = c.data(); | 91 | 1.93k | const A* __restrict a_end = a_pos + size; | 92 | | | 93 | 5.36k | while (a_pos < a_end) { | 94 | 3.42k | *c_pos = Op::apply(*a_pos, b); | 95 | 3.42k | ++a_pos; | 96 | 3.42k | ++c_pos; | 97 | 3.42k | } | 98 | 1.93k | } |
_ZN5doris17NumComparisonImplIssNS_9GreaterOpILNS_13PrimitiveTypeE4EEEE15vector_constantERKNS_8PODArrayIsLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEsRNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 87 | 1.43k | PaddedPODArray<UInt8>& c) { | 88 | 1.43k | size_t size = a.size(); | 89 | 1.43k | const A* __restrict a_pos = a.data(); | 90 | 1.43k | UInt8* __restrict c_pos = c.data(); | 91 | 1.43k | const A* __restrict a_end = a_pos + size; | 92 | | | 93 | 6.22k | while (a_pos < a_end) { | 94 | 4.79k | *c_pos = Op::apply(*a_pos, b); | 95 | 4.79k | ++a_pos; | 96 | 4.79k | ++c_pos; | 97 | 4.79k | } | 98 | 1.43k | } |
_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 | 959 | *c_pos = Op::apply(*a_pos, b); | 95 | 959 | ++a_pos; | 96 | 959 | ++c_pos; | 97 | 959 | } | 98 | 242 | } |
_ZN5doris17NumComparisonImplIiiNS_9GreaterOpILNS_13PrimitiveTypeE5EEEE15vector_constantERKNS_8PODArrayIiLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEiRNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 87 | 9.67k | PaddedPODArray<UInt8>& c) { | 88 | 9.67k | size_t size = a.size(); | 89 | 9.67k | const A* __restrict a_pos = a.data(); | 90 | 9.67k | UInt8* __restrict c_pos = c.data(); | 91 | 9.67k | const A* __restrict a_end = a_pos + size; | 92 | | | 93 | 5.27M | while (a_pos < a_end) { | 94 | 5.26M | *c_pos = Op::apply(*a_pos, b); | 95 | 5.26M | ++a_pos; | 96 | 5.26M | ++c_pos; | 97 | 5.26M | } | 98 | 9.67k | } |
_ZN5doris17NumComparisonImplIiiNS_6LessOpILNS_13PrimitiveTypeE5EEEE15vector_constantERKNS_8PODArrayIiLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEiRNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 87 | 4.15k | PaddedPODArray<UInt8>& c) { | 88 | 4.15k | size_t size = a.size(); | 89 | 4.15k | const A* __restrict a_pos = a.data(); | 90 | 4.15k | UInt8* __restrict c_pos = c.data(); | 91 | 4.15k | const A* __restrict a_end = a_pos + size; | 92 | | | 93 | 951k | while (a_pos < a_end) { | 94 | 947k | *c_pos = Op::apply(*a_pos, b); | 95 | 947k | ++a_pos; | 96 | 947k | ++c_pos; | 97 | 947k | } | 98 | 4.15k | } |
_ZN5doris17NumComparisonImplIllNS_9GreaterOpILNS_13PrimitiveTypeE6EEEE15vector_constantERKNS_8PODArrayIlLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEElRNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 87 | 1.21k | PaddedPODArray<UInt8>& c) { | 88 | 1.21k | size_t size = a.size(); | 89 | 1.21k | const A* __restrict a_pos = a.data(); | 90 | 1.21k | UInt8* __restrict c_pos = c.data(); | 91 | 1.21k | const A* __restrict a_end = a_pos + size; | 92 | | | 93 | 98.0k | 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.21k | } |
_ZN5doris17NumComparisonImplIllNS_6LessOpILNS_13PrimitiveTypeE6EEEE15vector_constantERKNS_8PODArrayIlLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEElRNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 87 | 991 | PaddedPODArray<UInt8>& c) { | 88 | 991 | size_t size = a.size(); | 89 | 991 | const A* __restrict a_pos = a.data(); | 90 | 991 | UInt8* __restrict c_pos = c.data(); | 91 | 991 | 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 | 991 | } |
_ZN5doris17NumComparisonImplInnNS_9GreaterOpILNS_13PrimitiveTypeE7EEEE15vector_constantERKNS_8PODArrayInLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEnRNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 87 | 294 | PaddedPODArray<UInt8>& c) { | 88 | 294 | size_t size = a.size(); | 89 | 294 | const A* __restrict a_pos = a.data(); | 90 | 294 | UInt8* __restrict c_pos = c.data(); | 91 | 294 | 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 | 294 | } |
_ZN5doris17NumComparisonImplInnNS_6LessOpILNS_13PrimitiveTypeE7EEEE15vector_constantERKNS_8PODArrayInLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEnRNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 87 | 72 | PaddedPODArray<UInt8>& c) { | 88 | 72 | size_t size = a.size(); | 89 | 72 | const A* __restrict a_pos = a.data(); | 90 | 72 | UInt8* __restrict c_pos = c.data(); | 91 | 72 | 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 | 72 | } |
_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 | 498 | PaddedPODArray<UInt8>& c) { | 88 | 498 | size_t size = a.size(); | 89 | 498 | const A* __restrict a_pos = a.data(); | 90 | 498 | UInt8* __restrict c_pos = c.data(); | 91 | 498 | 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 | 498 | } |
_ZN5doris17NumComparisonImplIddNS_6LessOpILNS_13PrimitiveTypeE9EEEE15vector_constantERKNS_8PODArrayIdLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEdRNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 87 | 188 | PaddedPODArray<UInt8>& c) { | 88 | 188 | size_t size = a.size(); | 89 | 188 | const A* __restrict a_pos = a.data(); | 90 | 188 | UInt8* __restrict c_pos = c.data(); | 91 | 188 | const A* __restrict a_end = a_pos + size; | 92 | | | 93 | 282k | while (a_pos < a_end) { | 94 | 282k | *c_pos = Op::apply(*a_pos, b); | 95 | 282k | ++a_pos; | 96 | 282k | ++c_pos; | 97 | 282k | } | 98 | 188 | } |
Unexecuted instantiation: _ZN5doris17NumComparisonImplIddNS_9GreaterOpILNS_13PrimitiveTypeE27EEEE15vector_constantERKNS_8PODArrayIdLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEdRNS5_IhLm4096ES8_Lm16ELm15EEE Unexecuted instantiation: _ZN5doris17NumComparisonImplIddNS_6LessOpILNS_13PrimitiveTypeE27EEEE15vector_constantERKNS_8PODArrayIdLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEdRNS5_IhLm4096ES8_Lm16ELm15EEE _ZN5doris17NumComparisonImplIhhNS_17GreaterOrEqualsOpILNS_13PrimitiveTypeE2EEEE15vector_constantERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEhRS9_ Line | Count | Source | 87 | 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 | 117k | while (a_pos < a_end) { | 94 | 117k | *c_pos = Op::apply(*a_pos, b); | 95 | 117k | ++a_pos; | 96 | 117k | ++c_pos; | 97 | 117k | } | 98 | 26 | } |
_ZN5doris17NumComparisonImplIhhNS_14LessOrEqualsOpILNS_13PrimitiveTypeE2EEEE15vector_constantERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEhRS9_ Line | Count | Source | 87 | 33 | PaddedPODArray<UInt8>& c) { | 88 | 33 | size_t size = a.size(); | 89 | 33 | const A* __restrict a_pos = a.data(); | 90 | 33 | UInt8* __restrict c_pos = c.data(); | 91 | 33 | const A* __restrict a_end = a_pos + size; | 92 | | | 93 | 102k | while (a_pos < a_end) { | 94 | 102k | *c_pos = Op::apply(*a_pos, b); | 95 | 102k | ++a_pos; | 96 | 102k | ++c_pos; | 97 | 102k | } | 98 | 33 | } |
_ZN5doris17NumComparisonImplINS_11DateV2ValueINS_15DateV2ValueTypeEEES3_NS_17GreaterOrEqualsOpILNS_13PrimitiveTypeE25EEEE15vector_constantERKNS_8PODArrayIS3_Lm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEES3_RNS8_IhLm4096ESB_Lm16ELm15EEE Line | Count | Source | 87 | 502 | PaddedPODArray<UInt8>& c) { | 88 | 502 | size_t size = a.size(); | 89 | 502 | const A* __restrict a_pos = a.data(); | 90 | 502 | UInt8* __restrict c_pos = c.data(); | 91 | 502 | const A* __restrict a_end = a_pos + size; | 92 | | | 93 | 1.46M | while (a_pos < a_end) { | 94 | 1.46M | *c_pos = Op::apply(*a_pos, b); | 95 | 1.46M | ++a_pos; | 96 | 1.46M | ++c_pos; | 97 | 1.46M | } | 98 | 502 | } |
_ZN5doris17NumComparisonImplINS_11DateV2ValueINS_15DateV2ValueTypeEEES3_NS_14LessOrEqualsOpILNS_13PrimitiveTypeE25EEEE15vector_constantERKNS_8PODArrayIS3_Lm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEES3_RNS8_IhLm4096ESB_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 | 771k | while (a_pos < a_end) { | 94 | 770k | *c_pos = Op::apply(*a_pos, b); | 95 | 770k | ++a_pos; | 96 | 770k | ++c_pos; | 97 | 770k | } | 98 | 195 | } |
_ZN5doris17NumComparisonImplINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEES3_NS_17GreaterOrEqualsOpILNS_13PrimitiveTypeE26EEEE15vector_constantERKNS_8PODArrayIS3_Lm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEES3_RNS8_IhLm4096ESB_Lm16ELm15EEE Line | Count | Source | 87 | 137 | PaddedPODArray<UInt8>& c) { | 88 | 137 | size_t size = a.size(); | 89 | 137 | const A* __restrict a_pos = a.data(); | 90 | 137 | UInt8* __restrict c_pos = c.data(); | 91 | 137 | const A* __restrict a_end = a_pos + size; | 92 | | | 93 | 513 | while (a_pos < a_end) { | 94 | 376 | *c_pos = Op::apply(*a_pos, b); | 95 | 376 | ++a_pos; | 96 | 376 | ++c_pos; | 97 | 376 | } | 98 | 137 | } |
_ZN5doris17NumComparisonImplINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEES3_NS_14LessOrEqualsOpILNS_13PrimitiveTypeE26EEEE15vector_constantERKNS_8PODArrayIS3_Lm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEES3_RNS8_IhLm4096ESB_Lm16ELm15EEE Line | Count | Source | 87 | 73 | PaddedPODArray<UInt8>& c) { | 88 | 73 | size_t size = a.size(); | 89 | 73 | const A* __restrict a_pos = a.data(); | 90 | 73 | UInt8* __restrict c_pos = c.data(); | 91 | 73 | const A* __restrict a_end = a_pos + size; | 92 | | | 93 | 376 | while (a_pos < a_end) { | 94 | 303 | *c_pos = Op::apply(*a_pos, b); | 95 | 303 | ++a_pos; | 96 | 303 | ++c_pos; | 97 | 303 | } | 98 | 73 | } |
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 | 100 | PaddedPODArray<UInt8>& c) { | 88 | 100 | size_t size = a.size(); | 89 | 100 | const A* __restrict a_pos = a.data(); | 90 | 100 | UInt8* __restrict c_pos = c.data(); | 91 | 100 | const A* __restrict a_end = a_pos + size; | 92 | | | 93 | 84.2k | while (a_pos < a_end) { | 94 | 84.1k | *c_pos = Op::apply(*a_pos, b); | 95 | 84.1k | ++a_pos; | 96 | 84.1k | ++c_pos; | 97 | 84.1k | } | 98 | 100 | } |
_ZN5doris17NumComparisonImplIaaNS_14LessOrEqualsOpILNS_13PrimitiveTypeE3EEEE15vector_constantERKNS_8PODArrayIaLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEaRNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 87 | 118 | PaddedPODArray<UInt8>& c) { | 88 | 118 | size_t size = a.size(); | 89 | 118 | const A* __restrict a_pos = a.data(); | 90 | 118 | UInt8* __restrict c_pos = c.data(); | 91 | 118 | const A* __restrict a_end = a_pos + size; | 92 | | | 93 | 95.7k | while (a_pos < a_end) { | 94 | 95.6k | *c_pos = Op::apply(*a_pos, b); | 95 | 95.6k | ++a_pos; | 96 | 95.6k | ++c_pos; | 97 | 95.6k | } | 98 | 118 | } |
_ZN5doris17NumComparisonImplIssNS_17GreaterOrEqualsOpILNS_13PrimitiveTypeE4EEEE15vector_constantERKNS_8PODArrayIsLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEsRNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 87 | 129 | PaddedPODArray<UInt8>& c) { | 88 | 129 | size_t size = a.size(); | 89 | 129 | const A* __restrict a_pos = a.data(); | 90 | 129 | UInt8* __restrict c_pos = c.data(); | 91 | 129 | const A* __restrict a_end = a_pos + size; | 92 | | | 93 | 62.0k | while (a_pos < a_end) { | 94 | 61.8k | *c_pos = Op::apply(*a_pos, b); | 95 | 61.8k | ++a_pos; | 96 | 61.8k | ++c_pos; | 97 | 61.8k | } | 98 | 129 | } |
_ZN5doris17NumComparisonImplIssNS_14LessOrEqualsOpILNS_13PrimitiveTypeE4EEEE15vector_constantERKNS_8PODArrayIsLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEsRNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 87 | 157 | PaddedPODArray<UInt8>& c) { | 88 | 157 | size_t size = a.size(); | 89 | 157 | const A* __restrict a_pos = a.data(); | 90 | 157 | UInt8* __restrict c_pos = c.data(); | 91 | 157 | const A* __restrict a_end = a_pos + size; | 92 | | | 93 | 134k | while (a_pos < a_end) { | 94 | 134k | *c_pos = Op::apply(*a_pos, b); | 95 | 134k | ++a_pos; | 96 | 134k | ++c_pos; | 97 | 134k | } | 98 | 157 | } |
_ZN5doris17NumComparisonImplIiiNS_17GreaterOrEqualsOpILNS_13PrimitiveTypeE5EEEE15vector_constantERKNS_8PODArrayIiLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEiRNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 87 | 902 | PaddedPODArray<UInt8>& c) { | 88 | 902 | size_t size = a.size(); | 89 | 902 | const A* __restrict a_pos = a.data(); | 90 | 902 | UInt8* __restrict c_pos = c.data(); | 91 | 902 | const A* __restrict a_end = a_pos + size; | 92 | | | 93 | 2.19M | while (a_pos < a_end) { | 94 | 2.19M | *c_pos = Op::apply(*a_pos, b); | 95 | 2.19M | ++a_pos; | 96 | 2.19M | ++c_pos; | 97 | 2.19M | } | 98 | 902 | } |
_ZN5doris17NumComparisonImplIiiNS_14LessOrEqualsOpILNS_13PrimitiveTypeE5EEEE15vector_constantERKNS_8PODArrayIiLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEiRNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 87 | 5.87k | PaddedPODArray<UInt8>& c) { | 88 | 5.87k | size_t size = a.size(); | 89 | 5.87k | const A* __restrict a_pos = a.data(); | 90 | 5.87k | UInt8* __restrict c_pos = c.data(); | 91 | 5.87k | const A* __restrict a_end = a_pos + size; | 92 | | | 93 | 6.18M | while (a_pos < a_end) { | 94 | 6.18M | *c_pos = Op::apply(*a_pos, b); | 95 | 6.18M | ++a_pos; | 96 | 6.18M | ++c_pos; | 97 | 6.18M | } | 98 | 5.87k | } |
_ZN5doris17NumComparisonImplIllNS_17GreaterOrEqualsOpILNS_13PrimitiveTypeE6EEEE15vector_constantERKNS_8PODArrayIlLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEElRNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 87 | 194 | PaddedPODArray<UInt8>& c) { | 88 | 194 | size_t size = a.size(); | 89 | 194 | const A* __restrict a_pos = a.data(); | 90 | 194 | UInt8* __restrict c_pos = c.data(); | 91 | 194 | const A* __restrict a_end = a_pos + size; | 92 | | | 93 | 600 | while (a_pos < a_end) { | 94 | 406 | *c_pos = Op::apply(*a_pos, b); | 95 | 406 | ++a_pos; | 96 | 406 | ++c_pos; | 97 | 406 | } | 98 | 194 | } |
_ZN5doris17NumComparisonImplIllNS_14LessOrEqualsOpILNS_13PrimitiveTypeE6EEEE15vector_constantERKNS_8PODArrayIlLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEElRNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 87 | 263 | PaddedPODArray<UInt8>& c) { | 88 | 263 | size_t size = a.size(); | 89 | 263 | const A* __restrict a_pos = a.data(); | 90 | 263 | UInt8* __restrict c_pos = c.data(); | 91 | 263 | const A* __restrict a_end = a_pos + size; | 92 | | | 93 | 3.41k | while (a_pos < a_end) { | 94 | 3.15k | *c_pos = Op::apply(*a_pos, b); | 95 | 3.15k | ++a_pos; | 96 | 3.15k | ++c_pos; | 97 | 3.15k | } | 98 | 263 | } |
_ZN5doris17NumComparisonImplInnNS_17GreaterOrEqualsOpILNS_13PrimitiveTypeE7EEEE15vector_constantERKNS_8PODArrayInLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEnRNS5_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 | 122k | while (a_pos < a_end) { | 94 | 122k | *c_pos = Op::apply(*a_pos, b); | 95 | 122k | ++a_pos; | 96 | 122k | ++c_pos; | 97 | 122k | } | 98 | 28 | } |
_ZN5doris17NumComparisonImplInnNS_14LessOrEqualsOpILNS_13PrimitiveTypeE7EEEE15vector_constantERKNS_8PODArrayInLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEnRNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 87 | 35 | PaddedPODArray<UInt8>& c) { | 88 | 35 | size_t size = a.size(); | 89 | 35 | const A* __restrict a_pos = a.data(); | 90 | 35 | UInt8* __restrict c_pos = c.data(); | 91 | 35 | 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 | 35 | } |
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 | 117 | PaddedPODArray<UInt8>& c) { | 88 | 117 | size_t size = a.size(); | 89 | 117 | const A* __restrict a_pos = a.data(); | 90 | 117 | UInt8* __restrict c_pos = c.data(); | 91 | 117 | const A* __restrict a_end = a_pos + size; | 92 | | | 93 | 355k | while (a_pos < a_end) { | 94 | 355k | *c_pos = Op::apply(*a_pos, b); | 95 | 355k | ++a_pos; | 96 | 355k | ++c_pos; | 97 | 355k | } | 98 | 117 | } |
_ZN5doris17NumComparisonImplIddNS_14LessOrEqualsOpILNS_13PrimitiveTypeE9EEEE15vector_constantERKNS_8PODArrayIdLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEdRNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 87 | 93 | PaddedPODArray<UInt8>& c) { | 88 | 93 | size_t size = a.size(); | 89 | 93 | const A* __restrict a_pos = a.data(); | 90 | 93 | UInt8* __restrict c_pos = c.data(); | 91 | 93 | const A* __restrict a_end = a_pos + size; | 92 | | | 93 | 275k | while (a_pos < a_end) { | 94 | 275k | *c_pos = Op::apply(*a_pos, b); | 95 | 275k | ++a_pos; | 96 | 275k | ++c_pos; | 97 | 275k | } | 98 | 93 | } |
Unexecuted instantiation: _ZN5doris17NumComparisonImplIddNS_17GreaterOrEqualsOpILNS_13PrimitiveTypeE27EEEE15vector_constantERKNS_8PODArrayIdLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEdRNS5_IhLm4096ES8_Lm16ELm15EEE Unexecuted instantiation: _ZN5doris17NumComparisonImplIddNS_14LessOrEqualsOpILNS_13PrimitiveTypeE27EEEE15vector_constantERKNS_8PODArrayIdLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEdRNS5_IhLm4096ES8_Lm16ELm15EEE |
99 | | |
100 | 7.23k | static void constant_vector(A a, const PaddedPODArray<B>& b, PaddedPODArray<UInt8>& c) { |
101 | 7.23k | NumComparisonImpl<B, A, typename Op::SymmetricOp>::vector_constant(b, a, c); |
102 | 7.23k | } 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 | 276 | static void constant_vector(A a, const PaddedPODArray<B>& b, PaddedPODArray<UInt8>& c) { | 101 | 276 | NumComparisonImpl<B, A, typename Op::SymmetricOp>::vector_constant(b, a, c); | 102 | 276 | } |
_ZN5doris17NumComparisonImplIssNS_8EqualsOpILNS_13PrimitiveTypeE4EEEE15constant_vectorEsRKNS_8PODArrayIsLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 100 | 36 | static void constant_vector(A a, const PaddedPODArray<B>& b, PaddedPODArray<UInt8>& c) { | 101 | 36 | NumComparisonImpl<B, A, typename Op::SymmetricOp>::vector_constant(b, a, c); | 102 | 36 | } |
_ZN5doris17NumComparisonImplIiiNS_8EqualsOpILNS_13PrimitiveTypeE5EEEE15constant_vectorEiRKNS_8PODArrayIiLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 100 | 102 | static void constant_vector(A a, const PaddedPODArray<B>& b, PaddedPODArray<UInt8>& c) { | 101 | 102 | NumComparisonImpl<B, A, typename Op::SymmetricOp>::vector_constant(b, a, c); | 102 | 102 | } |
_ZN5doris17NumComparisonImplIllNS_8EqualsOpILNS_13PrimitiveTypeE6EEEE15constant_vectorElRKNS_8PODArrayIlLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 100 | 1.06k | static void constant_vector(A a, const PaddedPODArray<B>& b, PaddedPODArray<UInt8>& c) { | 101 | 1.06k | NumComparisonImpl<B, A, typename Op::SymmetricOp>::vector_constant(b, a, c); | 102 | 1.06k | } |
_ZN5doris17NumComparisonImplInnNS_8EqualsOpILNS_13PrimitiveTypeE7EEEE15constant_vectorEnRKNS_8PODArrayInLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 100 | 8 | static void constant_vector(A a, const PaddedPODArray<B>& b, PaddedPODArray<UInt8>& c) { | 101 | 8 | NumComparisonImpl<B, A, typename Op::SymmetricOp>::vector_constant(b, a, c); | 102 | 8 | } |
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 | 566 | static void constant_vector(A a, const PaddedPODArray<B>& b, PaddedPODArray<UInt8>& c) { | 101 | 566 | NumComparisonImpl<B, A, typename Op::SymmetricOp>::vector_constant(b, a, c); | 102 | 566 | } |
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 | 204 | static void constant_vector(A a, const PaddedPODArray<B>& b, PaddedPODArray<UInt8>& c) { | 101 | 204 | NumComparisonImpl<B, A, typename Op::SymmetricOp>::vector_constant(b, a, c); | 102 | 204 | } |
_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 | 3.33k | static void constant_vector(A a, const PaddedPODArray<B>& b, PaddedPODArray<UInt8>& c) { | 101 | 3.33k | NumComparisonImpl<B, A, typename Op::SymmetricOp>::vector_constant(b, a, c); | 102 | 3.33k | } |
_ZN5doris17NumComparisonImplIllNS_9GreaterOpILNS_13PrimitiveTypeE6EEEE15constant_vectorElRKNS_8PODArrayIlLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 100 | 505 | static void constant_vector(A a, const PaddedPODArray<B>& b, PaddedPODArray<UInt8>& c) { | 101 | 505 | NumComparisonImpl<B, A, typename Op::SymmetricOp>::vector_constant(b, a, c); | 102 | 505 | } |
_ZN5doris17NumComparisonImplInnNS_9GreaterOpILNS_13PrimitiveTypeE7EEEE15constant_vectorEnRKNS_8PODArrayInLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 100 | 26 | static void constant_vector(A a, const PaddedPODArray<B>& b, PaddedPODArray<UInt8>& c) { | 101 | 26 | NumComparisonImpl<B, A, typename Op::SymmetricOp>::vector_constant(b, a, c); | 102 | 26 | } |
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 | 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 | } |
Unexecuted instantiation: _ZN5doris17NumComparisonImplIssNS_6LessOpILNS_13PrimitiveTypeE4EEEE15constant_vectorEsRKNS_8PODArrayIsLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERNS5_IhLm4096ES8_Lm16ELm15EEE _ZN5doris17NumComparisonImplIiiNS_6LessOpILNS_13PrimitiveTypeE5EEEE15constant_vectorEiRKNS_8PODArrayIiLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 100 | 121 | static void constant_vector(A a, const PaddedPODArray<B>& b, PaddedPODArray<UInt8>& c) { | 101 | 121 | NumComparisonImpl<B, A, typename Op::SymmetricOp>::vector_constant(b, a, c); | 102 | 121 | } |
_ZN5doris17NumComparisonImplIllNS_6LessOpILNS_13PrimitiveTypeE6EEEE15constant_vectorElRKNS_8PODArrayIlLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 100 | 73 | static void constant_vector(A a, const PaddedPODArray<B>& b, PaddedPODArray<UInt8>& c) { | 101 | 73 | NumComparisonImpl<B, A, typename Op::SymmetricOp>::vector_constant(b, a, c); | 102 | 73 | } |
_ZN5doris17NumComparisonImplInnNS_6LessOpILNS_13PrimitiveTypeE7EEEE15constant_vectorEnRKNS_8PODArrayInLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 100 | 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 | 309 | static void constant_vector(A a, const PaddedPODArray<B>& b, PaddedPODArray<UInt8>& c) { | 101 | 309 | NumComparisonImpl<B, A, typename Op::SymmetricOp>::vector_constant(b, a, c); | 102 | 309 | } |
_ZN5doris17NumComparisonImplIllNS_14LessOrEqualsOpILNS_13PrimitiveTypeE6EEEE15constant_vectorElRKNS_8PODArrayIlLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 100 | 48 | static void constant_vector(A a, const PaddedPODArray<B>& b, PaddedPODArray<UInt8>& c) { | 101 | 48 | NumComparisonImpl<B, A, typename Op::SymmetricOp>::vector_constant(b, a, c); | 102 | 48 | } |
Unexecuted instantiation: _ZN5doris17NumComparisonImplInnNS_14LessOrEqualsOpILNS_13PrimitiveTypeE7EEEE15constant_vectorEnRKNS_8PODArrayInLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERNS5_IhLm4096ES8_Lm16ELm15EEE Unexecuted instantiation: _ZN5doris17NumComparisonImplIjjNS_14LessOrEqualsOpILNS_13PrimitiveTypeE36EEEE15constant_vectorEjRKNS_8PODArrayIjLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERNS5_IhLm4096ES8_Lm16ELm15EEE Unexecuted instantiation: _ZN5doris17NumComparisonImplIooNS_14LessOrEqualsOpILNS_13PrimitiveTypeE37EEEE15constant_vectorEoRKNS_8PODArrayIoLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERNS5_IhLm4096ES8_Lm16ELm15EEE Unexecuted instantiation: _ZN5doris17NumComparisonImplIffNS_14LessOrEqualsOpILNS_13PrimitiveTypeE8EEEE15constant_vectorEfRKNS_8PODArrayIfLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERNS5_IhLm4096ES8_Lm16ELm15EEE _ZN5doris17NumComparisonImplIddNS_14LessOrEqualsOpILNS_13PrimitiveTypeE9EEEE15constant_vectorEdRKNS_8PODArrayIdLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 100 | 1 | static void constant_vector(A a, const PaddedPODArray<B>& b, PaddedPODArray<UInt8>& c) { | 101 | 1 | NumComparisonImpl<B, A, typename Op::SymmetricOp>::vector_constant(b, a, c); | 102 | 1 | } |
Unexecuted instantiation: _ZN5doris17NumComparisonImplIddNS_14LessOrEqualsOpILNS_13PrimitiveTypeE27EEEE15constant_vectorEdRKNS_8PODArrayIdLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERNS5_IhLm4096ES8_Lm16ELm15EEE |
103 | | }; |
104 | | |
105 | | /// Generic version, implemented for columns of same type. |
106 | | template <typename Op> |
107 | | struct GenericComparisonImpl { |
108 | 9 | static void vector_vector(const IColumn& a, const IColumn& b, PaddedPODArray<UInt8>& c) { |
109 | 20 | for (size_t i = 0, size = a.size(); i < size; ++i) { |
110 | 11 | c[i] = Op::apply(a.compare_at(i, i, b, 1), 0); |
111 | 11 | } |
112 | 9 | } _ZN5doris21GenericComparisonImplINS_8EqualsOpILNS_13PrimitiveTypeE5EEEE13vector_vectorERKNS_7IColumnES7_RNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEE Line | Count | Source | 108 | 4 | static void vector_vector(const IColumn& a, const IColumn& b, PaddedPODArray<UInt8>& c) { | 109 | 10 | for (size_t i = 0, size = a.size(); i < size; ++i) { | 110 | 6 | c[i] = Op::apply(a.compare_at(i, i, b, 1), 0); | 111 | 6 | } | 112 | 4 | } |
Unexecuted instantiation: _ZN5doris21GenericComparisonImplINS_11NotEqualsOpILNS_13PrimitiveTypeE5EEEE13vector_vectorERKNS_7IColumnES7_RNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEE _ZN5doris21GenericComparisonImplINS_9GreaterOpILNS_13PrimitiveTypeE5EEEE13vector_vectorERKNS_7IColumnES7_RNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEE Line | Count | Source | 108 | 1 | static void vector_vector(const IColumn& a, const IColumn& b, PaddedPODArray<UInt8>& c) { | 109 | 2 | for (size_t i = 0, size = a.size(); i < size; ++i) { | 110 | 1 | c[i] = Op::apply(a.compare_at(i, i, b, 1), 0); | 111 | 1 | } | 112 | 1 | } |
_ZN5doris21GenericComparisonImplINS_17GreaterOrEqualsOpILNS_13PrimitiveTypeE5EEEE13vector_vectorERKNS_7IColumnES7_RNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEE Line | Count | Source | 108 | 1 | static void vector_vector(const IColumn& a, const IColumn& b, PaddedPODArray<UInt8>& c) { | 109 | 2 | for (size_t i = 0, size = a.size(); i < size; ++i) { | 110 | 1 | c[i] = Op::apply(a.compare_at(i, i, b, 1), 0); | 111 | 1 | } | 112 | 1 | } |
_ZN5doris21GenericComparisonImplINS_6LessOpILNS_13PrimitiveTypeE5EEEE13vector_vectorERKNS_7IColumnES7_RNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEE Line | Count | Source | 108 | 3 | static void vector_vector(const IColumn& a, const IColumn& b, PaddedPODArray<UInt8>& c) { | 109 | 6 | for (size_t i = 0, size = a.size(); i < size; ++i) { | 110 | 3 | c[i] = Op::apply(a.compare_at(i, i, b, 1), 0); | 111 | 3 | } | 112 | 3 | } |
Unexecuted instantiation: _ZN5doris21GenericComparisonImplINS_14LessOrEqualsOpILNS_13PrimitiveTypeE5EEEE13vector_vectorERKNS_7IColumnES7_RNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEE |
113 | | |
114 | 162 | static void vector_constant(const IColumn& a, const IColumn& b, PaddedPODArray<UInt8>& c) { |
115 | 162 | const auto& col_right = assert_cast<const ColumnConst&>(b).get_data_column(); |
116 | 570k | for (size_t i = 0, size = a.size(); i < size; ++i) { |
117 | 570k | c[i] = Op::apply(a.compare_at(i, 0, col_right, 1), 0); |
118 | 570k | } |
119 | 162 | } _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 | 61 | static void vector_constant(const IColumn& a, const IColumn& b, PaddedPODArray<UInt8>& c) { | 115 | 61 | const auto& col_right = assert_cast<const ColumnConst&>(b).get_data_column(); | 116 | 300k | for (size_t i = 0, size = a.size(); i < size; ++i) { | 117 | 300k | c[i] = Op::apply(a.compare_at(i, 0, col_right, 1), 0); | 118 | 300k | } | 119 | 61 | } |
_ZN5doris21GenericComparisonImplINS_17GreaterOrEqualsOpILNS_13PrimitiveTypeE5EEEE15vector_constantERKNS_7IColumnES7_RNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEE Line | Count | Source | 114 | 64 | static void vector_constant(const IColumn& a, const IColumn& b, PaddedPODArray<UInt8>& c) { | 115 | 64 | const auto& col_right = assert_cast<const ColumnConst&>(b).get_data_column(); | 116 | 269k | for (size_t i = 0, size = a.size(); i < size; ++i) { | 117 | 269k | c[i] = Op::apply(a.compare_at(i, 0, col_right, 1), 0); | 118 | 269k | } | 119 | 64 | } |
|
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 | 433 | PaddedPODArray<UInt8>& c) { |
133 | 433 | size_t size = a_offsets.size(); |
134 | 433 | ColumnString::Offset prev_a_offset = 0; |
135 | 433 | ColumnString::Offset prev_b_offset = 0; |
136 | 433 | const auto* a_pos = a_data.data(); |
137 | 433 | const auto* b_pos = b_data.data(); |
138 | | |
139 | 1.59k | for (size_t i = 0; i < size; ++i) { |
140 | 1.15k | c[i] = Op::apply(memcmp_small_allow_overflow15( |
141 | 1.15k | a_pos + prev_a_offset, a_offsets[i] - prev_a_offset, |
142 | 1.15k | b_pos + prev_b_offset, b_offsets[i] - prev_b_offset), |
143 | 1.15k | 0); |
144 | | |
145 | 1.15k | prev_a_offset = a_offsets[i]; |
146 | 1.15k | prev_b_offset = b_offsets[i]; |
147 | 1.15k | } |
148 | 433 | } _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 | 395 | PaddedPODArray<UInt8>& c) { | 133 | 395 | size_t size = a_offsets.size(); | 134 | 395 | ColumnString::Offset prev_a_offset = 0; | 135 | 395 | ColumnString::Offset prev_b_offset = 0; | 136 | 395 | const auto* a_pos = a_data.data(); | 137 | 395 | const auto* b_pos = b_data.data(); | 138 | | | 139 | 1.31k | for (size_t i = 0; i < size; ++i) { | 140 | 917 | c[i] = Op::apply(memcmp_small_allow_overflow15( | 141 | 917 | a_pos + prev_a_offset, a_offsets[i] - prev_a_offset, | 142 | 917 | b_pos + prev_b_offset, b_offsets[i] - prev_b_offset), | 143 | 917 | 0); | 144 | | | 145 | 917 | prev_a_offset = a_offsets[i]; | 146 | 917 | prev_b_offset = b_offsets[i]; | 147 | 917 | } | 148 | 395 | } |
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 | 723 | PaddedPODArray<UInt8>& c) { |
155 | 723 | size_t size = a_offsets.size(); |
156 | 723 | ColumnString::Offset prev_a_offset = 0; |
157 | 723 | const auto* a_pos = a_data.data(); |
158 | 723 | const auto* b_pos = b_data.data(); |
159 | | |
160 | 1.33M | for (size_t i = 0; i < size; ++i) { |
161 | 1.33M | c[i] = Op::apply( |
162 | 1.33M | memcmp_small_allow_overflow15(a_pos + prev_a_offset, |
163 | 1.33M | a_offsets[i] - prev_a_offset, b_pos, b_size), |
164 | 1.33M | 0); |
165 | | |
166 | 1.33M | prev_a_offset = a_offsets[i]; |
167 | 1.33M | } |
168 | 723 | } _ZN5doris20StringComparisonImplINS_9GreaterOpILNS_13PrimitiveTypeE5EEEE22string_vector_constantERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERKNS5_IjLm4096ES8_Lm16ELm15EEESB_jRS9_ Line | Count | Source | 154 | 179 | PaddedPODArray<UInt8>& c) { | 155 | 179 | size_t size = a_offsets.size(); | 156 | 179 | ColumnString::Offset prev_a_offset = 0; | 157 | 179 | const auto* a_pos = a_data.data(); | 158 | 179 | const auto* b_pos = b_data.data(); | 159 | | | 160 | 325k | for (size_t i = 0; i < size; ++i) { | 161 | 325k | c[i] = Op::apply( | 162 | 325k | memcmp_small_allow_overflow15(a_pos + prev_a_offset, | 163 | 325k | a_offsets[i] - prev_a_offset, b_pos, b_size), | 164 | 325k | 0); | 165 | | | 166 | 325k | prev_a_offset = a_offsets[i]; | 167 | 325k | } | 168 | 179 | } |
_ZN5doris20StringComparisonImplINS_6LessOpILNS_13PrimitiveTypeE5EEEE22string_vector_constantERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERKNS5_IjLm4096ES8_Lm16ELm15EEESB_jRS9_ Line | Count | Source | 154 | 94 | PaddedPODArray<UInt8>& c) { | 155 | 94 | size_t size = a_offsets.size(); | 156 | 94 | ColumnString::Offset prev_a_offset = 0; | 157 | 94 | const auto* a_pos = a_data.data(); | 158 | 94 | const auto* b_pos = b_data.data(); | 159 | | | 160 | 72.8k | for (size_t i = 0; i < size; ++i) { | 161 | 72.7k | c[i] = Op::apply( | 162 | 72.7k | memcmp_small_allow_overflow15(a_pos + prev_a_offset, | 163 | 72.7k | a_offsets[i] - prev_a_offset, b_pos, b_size), | 164 | 72.7k | 0); | 165 | | | 166 | 72.7k | prev_a_offset = a_offsets[i]; | 167 | 72.7k | } | 168 | 94 | } |
_ZN5doris20StringComparisonImplINS_17GreaterOrEqualsOpILNS_13PrimitiveTypeE5EEEE22string_vector_constantERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERKNS5_IjLm4096ES8_Lm16ELm15EEESB_jRS9_ Line | Count | Source | 154 | 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 | 464k | for (size_t i = 0; i < size; ++i) { | 161 | 464k | c[i] = Op::apply( | 162 | 464k | memcmp_small_allow_overflow15(a_pos + prev_a_offset, | 163 | 464k | a_offsets[i] - prev_a_offset, b_pos, b_size), | 164 | 464k | 0); | 165 | | | 166 | 464k | prev_a_offset = a_offsets[i]; | 167 | 464k | } | 168 | 171 | } |
_ZN5doris20StringComparisonImplINS_14LessOrEqualsOpILNS_13PrimitiveTypeE5EEEE22string_vector_constantERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERKNS5_IjLm4096ES8_Lm16ELm15EEESB_jRS9_ Line | Count | Source | 154 | 279 | PaddedPODArray<UInt8>& c) { | 155 | 279 | size_t size = a_offsets.size(); | 156 | 279 | ColumnString::Offset prev_a_offset = 0; | 157 | 279 | const auto* a_pos = a_data.data(); | 158 | 279 | const auto* b_pos = b_data.data(); | 159 | | | 160 | 467k | for (size_t i = 0; i < size; ++i) { | 161 | 467k | c[i] = Op::apply( | 162 | 467k | memcmp_small_allow_overflow15(a_pos + prev_a_offset, | 163 | 467k | a_offsets[i] - prev_a_offset, b_pos, b_size), | 164 | 467k | 0); | 165 | | | 166 | 467k | prev_a_offset = a_offsets[i]; | 167 | 467k | } | 168 | 279 | } |
|
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 | 66 | PaddedPODArray<UInt8>& c) { |
175 | 66 | StringComparisonImpl<typename Op::SymmetricOp>::string_vector_constant(b_data, b_offsets, |
176 | 66 | a_data, a_size, c); |
177 | 66 | } 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 | 60 | PaddedPODArray<UInt8>& c) { | 175 | 60 | StringComparisonImpl<typename Op::SymmetricOp>::string_vector_constant(b_data, b_offsets, | 176 | 60 | a_data, a_size, c); | 177 | 60 | } |
_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 | 389 | PaddedPODArray<UInt8>& c) { |
187 | 389 | size_t size = a_offsets.size(); |
188 | 389 | ColumnString::Offset prev_a_offset = 0; |
189 | 389 | ColumnString::Offset prev_b_offset = 0; |
190 | 389 | const auto* a_pos = a_data.data(); |
191 | 389 | const auto* b_pos = b_data.data(); |
192 | | |
193 | 1.27k | for (size_t i = 0; i < size; ++i) { |
194 | 887 | auto a_size = a_offsets[i] - prev_a_offset; |
195 | 887 | auto b_size = b_offsets[i] - prev_b_offset; |
196 | | |
197 | 887 | c[i] = positive == memequal_small_allow_overflow15(a_pos + prev_a_offset, a_size, |
198 | 887 | b_pos + prev_b_offset, b_size); |
199 | | |
200 | 887 | prev_a_offset = a_offsets[i]; |
201 | 887 | prev_b_offset = b_offsets[i]; |
202 | 887 | } |
203 | 389 | } _ZN5doris16StringEqualsImplILb1EE27string_vector_string_vectorERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERKNS2_IjLm4096ES5_Lm16ELm15EEES8_SB_RS6_ Line | Count | Source | 186 | 385 | PaddedPODArray<UInt8>& c) { | 187 | 385 | size_t size = a_offsets.size(); | 188 | 385 | ColumnString::Offset prev_a_offset = 0; | 189 | 385 | ColumnString::Offset prev_b_offset = 0; | 190 | 385 | const auto* a_pos = a_data.data(); | 191 | 385 | const auto* b_pos = b_data.data(); | 192 | | | 193 | 1.25k | for (size_t i = 0; i < size; ++i) { | 194 | 874 | auto a_size = a_offsets[i] - prev_a_offset; | 195 | 874 | auto b_size = b_offsets[i] - prev_b_offset; | 196 | | | 197 | 874 | c[i] = positive == memequal_small_allow_overflow15(a_pos + prev_a_offset, a_size, | 198 | 874 | b_pos + prev_b_offset, b_size); | 199 | | | 200 | 874 | prev_a_offset = a_offsets[i]; | 201 | 874 | prev_b_offset = b_offsets[i]; | 202 | 874 | } | 203 | 385 | } |
_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.5k | PaddedPODArray<UInt8>& c) { |
210 | 10.5k | size_t size = a_offsets.size(); |
211 | 10.5k | 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.5k | } else { |
221 | 10.5k | ColumnString::Offset prev_a_offset = 0; |
222 | 10.5k | const auto* a_pos = a_data.data(); |
223 | 10.5k | const auto* b_pos = b_data.data(); |
224 | 1.50M | for (size_t i = 0; i < size; ++i) { |
225 | 1.49M | auto a_size = a_offsets[i] - prev_a_offset; |
226 | 1.49M | c[i] = positive == memequal_small_allow_overflow15(a_pos + prev_a_offset, a_size, |
227 | 1.49M | b_pos, b_size); |
228 | 1.49M | prev_a_offset = a_offsets[i]; |
229 | 1.49M | } |
230 | 10.5k | } |
231 | 10.5k | } _ZN5doris16StringEqualsImplILb1EE22string_vector_constantERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERKNS2_IjLm4096ES5_Lm16ELm15EEES8_jRS6_ Line | Count | Source | 209 | 10.4k | PaddedPODArray<UInt8>& c) { | 210 | 10.4k | size_t size = a_offsets.size(); | 211 | 10.4k | 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.4k | } else { | 221 | 10.4k | ColumnString::Offset prev_a_offset = 0; | 222 | 10.4k | const auto* a_pos = a_data.data(); | 223 | 10.4k | const auto* b_pos = b_data.data(); | 224 | 1.46M | for (size_t i = 0; i < size; ++i) { | 225 | 1.45M | auto a_size = a_offsets[i] - prev_a_offset; | 226 | 1.45M | c[i] = positive == memequal_small_allow_overflow15(a_pos + prev_a_offset, a_size, | 227 | 1.45M | b_pos, b_size); | 228 | 1.45M | prev_a_offset = a_offsets[i]; | 229 | 1.45M | } | 230 | 10.4k | } | 231 | 10.4k | } |
_ZN5doris16StringEqualsImplILb0EE22string_vector_constantERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERKNS2_IjLm4096ES5_Lm16ELm15EEES8_jRS6_ Line | Count | Source | 209 | 141 | PaddedPODArray<UInt8>& c) { | 210 | 141 | size_t size = a_offsets.size(); | 211 | 141 | 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 | 139 | } else { | 221 | 139 | ColumnString::Offset prev_a_offset = 0; | 222 | 139 | const auto* a_pos = a_data.data(); | 223 | 139 | 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 | 139 | } | 231 | 141 | } |
|
232 | | |
233 | | static void NO_INLINE constant_string_vector(const ColumnString::Chars& a_data, |
234 | | ColumnString::Offset a_size, |
235 | | const ColumnString::Chars& b_data, |
236 | | const ColumnString::Offsets& b_offsets, |
237 | 16 | PaddedPODArray<UInt8>& c) { |
238 | 16 | string_vector_constant(b_data, b_offsets, a_data, a_size, c); |
239 | 16 | } _ZN5doris16StringEqualsImplILb1EE22constant_string_vectorERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEjS8_RKNS2_IjLm4096ES5_Lm16ELm15EEERS6_ Line | Count | Source | 237 | 16 | PaddedPODArray<UInt8>& c) { | 238 | 16 | string_vector_constant(b_data, b_offsets, a_data, a_size, c); | 239 | 16 | } |
Unexecuted instantiation: _ZN5doris16StringEqualsImplILb0EE22constant_string_vectorERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEjS8_RKNS2_IjLm4096ES5_Lm16ELm15EEERS6_ |
240 | | }; |
241 | | |
242 | | template <PrimitiveType PT> |
243 | | struct StringComparisonImpl<EqualsOp<PT>> : StringEqualsImpl<true> {}; |
244 | | |
245 | | template <PrimitiveType PT> |
246 | | struct StringComparisonImpl<NotEqualsOp<PT>> : StringEqualsImpl<false> {}; |
247 | | |
248 | | struct NameEquals { |
249 | | static constexpr auto name = "eq"; |
250 | | }; |
251 | | struct NameNotEquals { |
252 | | static constexpr auto name = "ne"; |
253 | | }; |
254 | | struct NameLess { |
255 | | static constexpr auto name = "lt"; |
256 | | }; |
257 | | struct NameGreater { |
258 | | static constexpr auto name = "gt"; |
259 | | }; |
260 | | struct NameLessOrEquals { |
261 | | static constexpr auto name = "le"; |
262 | | }; |
263 | | struct NameGreaterOrEquals { |
264 | | static constexpr auto name = "ge"; |
265 | | }; |
266 | | |
267 | | namespace comparison_zonemap_detail { |
268 | | enum class Op { |
269 | | EQ, |
270 | | NE, |
271 | | LT, |
272 | | LE, |
273 | | GT, |
274 | | GE, |
275 | | }; |
276 | | |
277 | 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 | 2.57k | Op op) { |
296 | 2.57k | auto slot_literal = expr_zonemap::extract_slot_and_literal(arguments); |
297 | | |
298 | 2.57k | auto slot_type = expr_zonemap::fetch_compatible_slot_type(ctx, slot_literal->slot_index, |
299 | 2.57k | slot_literal->slot_type); |
300 | 2.57k | if (slot_type == nullptr) { |
301 | 1 | return unsupported_zonemap_filter(ctx); |
302 | 1 | } |
303 | 2.57k | auto zone_map_ptr = ctx.zone_map(slot_literal->slot_index); |
304 | 2.57k | if (zone_map_ptr == nullptr) { |
305 | 46 | return unsupported_zonemap_filter(ctx); |
306 | 46 | } |
307 | 2.53k | const auto& zone_map = *zone_map_ptr; |
308 | 2.53k | if (!zone_map.has_not_null) { |
309 | 55 | return ZoneMapFilterResult::kNoMatch; |
310 | 55 | } |
311 | 2.47k | if (!expr_zonemap::range_stats_usable_for_zonemap(zone_map, slot_type)) { |
312 | 106 | return unsupported_zonemap_filter(ctx); |
313 | 106 | } |
314 | | |
315 | 2.36k | const auto effective_op = slot_literal->literal_on_left ? symmetric_op(op) : op; |
316 | 2.36k | const auto& literal = slot_literal->literal; |
317 | 2.36k | const bool literal_is_nan = literal.is_nan(); |
318 | 2.36k | const bool hidden_nan_can_match = (effective_op == Op::EQ && literal_is_nan) || |
319 | 2.36k | (effective_op == Op::NE && !literal_is_nan) || |
320 | 2.36k | (effective_op == Op::GT && !literal_is_nan) || |
321 | 2.36k | effective_op == Op::GE; |
322 | 2.36k | 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 | 2.31k | switch (effective_op) { |
327 | 1.37k | case Op::EQ: |
328 | 1.37k | return literal < zone_map.min_value || zone_map.max_value < literal |
329 | 1.37k | ? ZoneMapFilterResult::kNoMatch |
330 | 1.37k | : ZoneMapFilterResult::kMayMatch; |
331 | 102 | case Op::NE: |
332 | 102 | return zone_map.min_value == literal && zone_map.max_value == literal |
333 | 102 | ? ZoneMapFilterResult::kNoMatch |
334 | 102 | : ZoneMapFilterResult::kMayMatch; |
335 | 231 | case Op::LT: |
336 | 231 | return zone_map.min_value >= literal ? ZoneMapFilterResult::kNoMatch |
337 | 231 | : ZoneMapFilterResult::kMayMatch; |
338 | 185 | case Op::LE: |
339 | 185 | return zone_map.min_value > literal ? ZoneMapFilterResult::kNoMatch |
340 | 185 | : ZoneMapFilterResult::kMayMatch; |
341 | 234 | case Op::GT: |
342 | 234 | return zone_map.max_value <= literal ? ZoneMapFilterResult::kNoMatch |
343 | 234 | : ZoneMapFilterResult::kMayMatch; |
344 | 212 | case Op::GE: |
345 | 212 | return zone_map.max_value < literal ? ZoneMapFilterResult::kNoMatch |
346 | 212 | : ZoneMapFilterResult::kMayMatch; |
347 | 2.31k | } |
348 | | |
349 | | // keep this to avoid compile failure with g++. |
350 | 0 | __builtin_unreachable(); |
351 | 2.31k | } |
352 | | |
353 | 29.6k | inline bool can_evaluate(const VExprSPtrs& arguments) { |
354 | 29.6k | auto slot_literal = expr_zonemap::extract_slot_and_literal(arguments); |
355 | 29.6k | if (!slot_literal.has_value()) { |
356 | 19.8k | return false; |
357 | 19.8k | } |
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 | 9.75k | if (slot_literal->literal.is_null()) { |
363 | 4 | return false; |
364 | 4 | } |
365 | | |
366 | 9.74k | DORIS_CHECK(slot_literal->slot_type != nullptr); |
367 | 9.74k | DORIS_CHECK(slot_literal->literal_type != nullptr); |
368 | 9.74k | 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 | 9.74k | return true; |
376 | 9.74k | } |
377 | | |
378 | 0 | inline bool can_evaluate_equality(const VExprSPtrs& arguments, Op op) { |
379 | 0 | if (op != Op::EQ || !can_evaluate(arguments)) { |
380 | 0 | return false; |
381 | 0 | } |
382 | 0 | const auto slot_literal = expr_zonemap::extract_slot_and_literal(arguments); |
383 | 0 | DORIS_CHECK(slot_literal.has_value()); |
384 | 0 | // Bloom membership cannot disprove Doris NaN equality across different physical encodings. |
385 | 0 | return !slot_literal->literal.is_nan(); |
386 | 0 | } |
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 | 32.3k | inline std::optional<Op> op_from_name(std::string_view name) { |
440 | 32.3k | if (name == NameEquals::name) { |
441 | 14.9k | return Op::EQ; |
442 | 14.9k | } |
443 | 17.4k | if (name == NameNotEquals::name) { |
444 | 1.68k | return Op::NE; |
445 | 1.68k | } |
446 | 15.7k | if (name == NameLess::name) { |
447 | 3.58k | return Op::LT; |
448 | 3.58k | } |
449 | 12.1k | if (name == NameLessOrEquals::name) { |
450 | 1.88k | return Op::LE; |
451 | 1.88k | } |
452 | 10.3k | if (name == NameGreater::name) { |
453 | 6.51k | return Op::GT; |
454 | 6.51k | } |
455 | 3.89k | if (name == NameGreaterOrEquals::name) { |
456 | 3.89k | return Op::GE; |
457 | 3.89k | } |
458 | 18.4E | return std::nullopt; |
459 | 3.79k | } |
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 | 270k | static FunctionPtr create() { return std::make_shared<FunctionComparison>(); }_ZN5doris18FunctionComparisonINS_8EqualsOpENS_10NameEqualsEE6createEv Line | Count | Source | 466 | 242k | static FunctionPtr create() { return std::make_shared<FunctionComparison>(); } |
_ZN5doris18FunctionComparisonINS_11NotEqualsOpENS_13NameNotEqualsEE6createEv Line | Count | Source | 466 | 1.15k | static FunctionPtr create() { return std::make_shared<FunctionComparison>(); } |
_ZN5doris18FunctionComparisonINS_9GreaterOpENS_11NameGreaterEE6createEv Line | Count | Source | 466 | 4.98k | static FunctionPtr create() { return std::make_shared<FunctionComparison>(); } |
_ZN5doris18FunctionComparisonINS_17GreaterOrEqualsOpENS_19NameGreaterOrEqualsEE6createEv Line | Count | Source | 466 | 8.44k | static FunctionPtr create() { return std::make_shared<FunctionComparison>(); } |
_ZN5doris18FunctionComparisonINS_6LessOpENS_8NameLessEE6createEv Line | Count | Source | 466 | 3.00k | static FunctionPtr create() { return std::make_shared<FunctionComparison>(); } |
_ZN5doris18FunctionComparisonINS_14LessOrEqualsOpENS_16NameLessOrEqualsEE6createEv Line | Count | Source | 466 | 10.5k | static FunctionPtr create() { return std::make_shared<FunctionComparison>(); } |
|
467 | | |
468 | 270k | FunctionComparison() = default; _ZN5doris18FunctionComparisonINS_8EqualsOpENS_10NameEqualsEEC2Ev Line | Count | Source | 468 | 242k | FunctionComparison() = default; |
_ZN5doris18FunctionComparisonINS_11NotEqualsOpENS_13NameNotEqualsEEC2Ev Line | Count | Source | 468 | 1.16k | FunctionComparison() = default; |
_ZN5doris18FunctionComparisonINS_9GreaterOpENS_11NameGreaterEEC2Ev Line | Count | Source | 468 | 4.98k | FunctionComparison() = default; |
_ZN5doris18FunctionComparisonINS_17GreaterOrEqualsOpENS_19NameGreaterOrEqualsEEC2Ev Line | Count | Source | 468 | 8.44k | FunctionComparison() = default; |
_ZN5doris18FunctionComparisonINS_6LessOpENS_8NameLessEEC2Ev Line | Count | Source | 468 | 3.00k | FunctionComparison() = default; |
_ZN5doris18FunctionComparisonINS_14LessOrEqualsOpENS_16NameLessOrEqualsEEC2Ev Line | Count | Source | 468 | 10.5k | FunctionComparison() = default; |
|
469 | | |
470 | 649k | double execute_cost() const override { return 0.5; }_ZNK5doris18FunctionComparisonINS_8EqualsOpENS_10NameEqualsEE12execute_costEv Line | Count | Source | 470 | 643k | double execute_cost() const override { return 0.5; } |
_ZNK5doris18FunctionComparisonINS_11NotEqualsOpENS_13NameNotEqualsEE12execute_costEv Line | Count | Source | 470 | 608 | double execute_cost() const override { return 0.5; } |
_ZNK5doris18FunctionComparisonINS_9GreaterOpENS_11NameGreaterEE12execute_costEv Line | Count | Source | 470 | 1.94k | double execute_cost() const override { return 0.5; } |
_ZNK5doris18FunctionComparisonINS_17GreaterOrEqualsOpENS_19NameGreaterOrEqualsEE12execute_costEv Line | Count | Source | 470 | 1.70k | 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 | 817 | 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 | 51.2k | const ColumnPtr& col_right_ptr) const { |
476 | 51.2k | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); |
477 | 51.2k | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); |
478 | | |
479 | 51.2k | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); |
480 | 51.2k | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); |
481 | | |
482 | 51.2k | DCHECK(!(left_is_const && right_is_const)); |
483 | | |
484 | 51.2k | if (!left_is_const && !right_is_const) { |
485 | 7.86k | auto col_res = ColumnUInt8::create(); |
486 | | |
487 | 7.86k | ColumnUInt8::Container& vec_res = col_res->get_data(); |
488 | 7.86k | vec_res.resize(col_left->get_data().size()); |
489 | 7.86k | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, |
490 | 7.86k | typename PrimitiveTypeTraits<PT>::CppType, |
491 | 7.86k | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), |
492 | 7.86k | vec_res); |
493 | | |
494 | 7.86k | block.replace_by_position(result, std::move(col_res)); |
495 | 43.3k | } else if (!left_is_const && right_is_const) { |
496 | 36.1k | auto col_res = ColumnUInt8::create(); |
497 | | |
498 | 36.1k | ColumnUInt8::Container& vec_res = col_res->get_data(); |
499 | 36.1k | vec_res.resize(col_left->size()); |
500 | 36.1k | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, |
501 | 36.1k | typename PrimitiveTypeTraits<PT>::CppType, |
502 | 36.1k | Op<PT>>::vector_constant(col_left->get_data(), |
503 | 36.1k | col_right->get_element(0), vec_res); |
504 | | |
505 | 36.1k | block.replace_by_position(result, std::move(col_res)); |
506 | 36.1k | } else if (left_is_const && !right_is_const) { |
507 | 7.22k | auto col_res = ColumnUInt8::create(); |
508 | | |
509 | 7.22k | ColumnUInt8::Container& vec_res = col_res->get_data(); |
510 | 7.22k | vec_res.resize(col_right->size()); |
511 | 7.22k | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, |
512 | 7.22k | typename PrimitiveTypeTraits<PT>::CppType, |
513 | 7.22k | Op<PT>>::constant_vector(col_left->get_element(0), |
514 | 7.22k | col_right->get_data(), vec_res); |
515 | | |
516 | 7.22k | block.replace_by_position(result, std::move(col_res)); |
517 | 7.22k | } |
518 | 51.2k | return Status::OK(); |
519 | 51.2k | } _ZNK5doris18FunctionComparisonINS_8EqualsOpENS_10NameEqualsEE16execute_num_typeILNS_13PrimitiveTypeE2EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 475 | 97 | const ColumnPtr& col_right_ptr) const { | 476 | 97 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 477 | 97 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 478 | | | 479 | 97 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 480 | 97 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 481 | | | 482 | 97 | DCHECK(!(left_is_const && right_is_const)); | 483 | | | 484 | 97 | if (!left_is_const && !right_is_const) { | 485 | 73 | auto col_res = ColumnUInt8::create(); | 486 | | | 487 | 73 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 488 | 73 | vec_res.resize(col_left->get_data().size()); | 489 | 73 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 490 | 73 | typename PrimitiveTypeTraits<PT>::CppType, | 491 | 73 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 492 | 73 | vec_res); | 493 | | | 494 | 73 | block.replace_by_position(result, std::move(col_res)); | 495 | 73 | } 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 | 97 | return Status::OK(); | 519 | 97 | } |
_ZNK5doris18FunctionComparisonINS_8EqualsOpENS_10NameEqualsEE16execute_num_typeILNS_13PrimitiveTypeE25EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 475 | 508 | const ColumnPtr& col_right_ptr) const { | 476 | 508 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 477 | 508 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 478 | | | 479 | 508 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 480 | 508 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 481 | | | 482 | 508 | DCHECK(!(left_is_const && right_is_const)); | 483 | | | 484 | 508 | if (!left_is_const && !right_is_const) { | 485 | 215 | auto col_res = ColumnUInt8::create(); | 486 | | | 487 | 215 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 488 | 215 | vec_res.resize(col_left->get_data().size()); | 489 | 215 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 490 | 215 | typename PrimitiveTypeTraits<PT>::CppType, | 491 | 215 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 492 | 215 | vec_res); | 493 | | | 494 | 215 | block.replace_by_position(result, std::move(col_res)); | 495 | 293 | } else if (!left_is_const && right_is_const) { | 496 | 293 | auto col_res = ColumnUInt8::create(); | 497 | | | 498 | 293 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 499 | 293 | vec_res.resize(col_left->size()); | 500 | 293 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 501 | 293 | typename PrimitiveTypeTraits<PT>::CppType, | 502 | 293 | Op<PT>>::vector_constant(col_left->get_data(), | 503 | 293 | col_right->get_element(0), vec_res); | 504 | | | 505 | 293 | block.replace_by_position(result, std::move(col_res)); | 506 | 293 | } 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 | 508 | return Status::OK(); | 519 | 508 | } |
_ZNK5doris18FunctionComparisonINS_8EqualsOpENS_10NameEqualsEE16execute_num_typeILNS_13PrimitiveTypeE26EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 475 | 384 | const ColumnPtr& col_right_ptr) const { | 476 | 384 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 477 | 384 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 478 | | | 479 | 384 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 480 | 384 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 481 | | | 482 | 384 | DCHECK(!(left_is_const && right_is_const)); | 483 | | | 484 | 384 | if (!left_is_const && !right_is_const) { | 485 | 219 | auto col_res = ColumnUInt8::create(); | 486 | | | 487 | 219 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 488 | 219 | vec_res.resize(col_left->get_data().size()); | 489 | 219 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 490 | 219 | typename PrimitiveTypeTraits<PT>::CppType, | 491 | 219 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 492 | 219 | vec_res); | 493 | | | 494 | 219 | block.replace_by_position(result, std::move(col_res)); | 495 | 219 | } else if (!left_is_const && right_is_const) { | 496 | 165 | auto col_res = ColumnUInt8::create(); | 497 | | | 498 | 165 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 499 | 165 | vec_res.resize(col_left->size()); | 500 | 165 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 501 | 165 | typename PrimitiveTypeTraits<PT>::CppType, | 502 | 165 | Op<PT>>::vector_constant(col_left->get_data(), | 503 | 165 | col_right->get_element(0), vec_res); | 504 | | | 505 | 165 | block.replace_by_position(result, std::move(col_res)); | 506 | 165 | } 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 | 384 | return Status::OK(); | 519 | 384 | } |
_ZNK5doris18FunctionComparisonINS_8EqualsOpENS_10NameEqualsEE16execute_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_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 | 133 | auto col_res = ColumnUInt8::create(); | 486 | | | 487 | 133 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 488 | 133 | vec_res.resize(col_left->get_data().size()); | 489 | 133 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 490 | 133 | typename PrimitiveTypeTraits<PT>::CppType, | 491 | 133 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 492 | 133 | vec_res); | 493 | | | 494 | 133 | block.replace_by_position(result, std::move(col_res)); | 495 | 4.84k | } else if (!left_is_const && right_is_const) { | 496 | 4.57k | auto col_res = ColumnUInt8::create(); | 497 | | | 498 | 4.57k | ColumnUInt8::Container& vec_res = col_res->get_data(); | 499 | 4.57k | vec_res.resize(col_left->size()); | 500 | 4.57k | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 501 | 4.57k | typename PrimitiveTypeTraits<PT>::CppType, | 502 | 4.57k | Op<PT>>::vector_constant(col_left->get_data(), | 503 | 4.57k | col_right->get_element(0), vec_res); | 504 | | | 505 | 4.57k | block.replace_by_position(result, std::move(col_res)); | 506 | 4.57k | } else if (left_is_const && !right_is_const) { | 507 | 276 | auto col_res = ColumnUInt8::create(); | 508 | | | 509 | 276 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 510 | 276 | vec_res.resize(col_right->size()); | 511 | 276 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 512 | 276 | typename PrimitiveTypeTraits<PT>::CppType, | 513 | 276 | Op<PT>>::constant_vector(col_left->get_element(0), | 514 | 276 | col_right->get_data(), vec_res); | 515 | | | 516 | 276 | block.replace_by_position(result, std::move(col_res)); | 517 | 276 | } | 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 | 367 | const ColumnPtr& col_right_ptr) const { | 476 | 367 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 477 | 367 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 478 | | | 479 | 367 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 480 | 367 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 481 | | | 482 | 367 | DCHECK(!(left_is_const && right_is_const)); | 483 | | | 484 | 367 | if (!left_is_const && !right_is_const) { | 485 | 62 | auto col_res = ColumnUInt8::create(); | 486 | | | 487 | 62 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 488 | 62 | vec_res.resize(col_left->get_data().size()); | 489 | 62 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 490 | 62 | typename PrimitiveTypeTraits<PT>::CppType, | 491 | 62 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 492 | 62 | vec_res); | 493 | | | 494 | 62 | block.replace_by_position(result, std::move(col_res)); | 495 | 305 | } 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 | 36 | auto col_res = ColumnUInt8::create(); | 508 | | | 509 | 36 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 510 | 36 | vec_res.resize(col_right->size()); | 511 | 36 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 512 | 36 | typename PrimitiveTypeTraits<PT>::CppType, | 513 | 36 | Op<PT>>::constant_vector(col_left->get_element(0), | 514 | 36 | col_right->get_data(), vec_res); | 515 | | | 516 | 36 | block.replace_by_position(result, std::move(col_res)); | 517 | 36 | } | 518 | 367 | return Status::OK(); | 519 | 367 | } |
_ZNK5doris18FunctionComparisonINS_8EqualsOpENS_10NameEqualsEE16execute_num_typeILNS_13PrimitiveTypeE5EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 475 | 2.07k | const ColumnPtr& col_right_ptr) const { | 476 | 2.07k | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 477 | 2.07k | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 478 | | | 479 | 2.07k | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 480 | 2.07k | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 481 | | | 482 | 2.07k | DCHECK(!(left_is_const && right_is_const)); | 483 | | | 484 | 2.07k | 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 | 1.83k | } else if (!left_is_const && right_is_const) { | 496 | 1.73k | auto col_res = ColumnUInt8::create(); | 497 | | | 498 | 1.73k | ColumnUInt8::Container& vec_res = col_res->get_data(); | 499 | 1.73k | vec_res.resize(col_left->size()); | 500 | 1.73k | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 501 | 1.73k | typename PrimitiveTypeTraits<PT>::CppType, | 502 | 1.73k | Op<PT>>::vector_constant(col_left->get_data(), | 503 | 1.73k | col_right->get_element(0), vec_res); | 504 | | | 505 | 1.73k | block.replace_by_position(result, std::move(col_res)); | 506 | 1.73k | } else if (left_is_const && !right_is_const) { | 507 | 102 | auto col_res = ColumnUInt8::create(); | 508 | | | 509 | 102 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 510 | 102 | vec_res.resize(col_right->size()); | 511 | 102 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 512 | 102 | typename PrimitiveTypeTraits<PT>::CppType, | 513 | 102 | Op<PT>>::constant_vector(col_left->get_element(0), | 514 | 102 | col_right->get_data(), vec_res); | 515 | | | 516 | 102 | block.replace_by_position(result, std::move(col_res)); | 517 | 102 | } | 518 | 2.07k | return Status::OK(); | 519 | 2.07k | } |
_ZNK5doris18FunctionComparisonINS_8EqualsOpENS_10NameEqualsEE16execute_num_typeILNS_13PrimitiveTypeE6EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 475 | 2.91k | const ColumnPtr& col_right_ptr) const { | 476 | 2.91k | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 477 | 2.91k | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 478 | | | 479 | 2.91k | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 480 | 2.91k | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 481 | | | 482 | 2.91k | DCHECK(!(left_is_const && right_is_const)); | 483 | | | 484 | 2.91k | if (!left_is_const && !right_is_const) { | 485 | 132 | auto col_res = ColumnUInt8::create(); | 486 | | | 487 | 132 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 488 | 132 | vec_res.resize(col_left->get_data().size()); | 489 | 132 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 490 | 132 | typename PrimitiveTypeTraits<PT>::CppType, | 491 | 132 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 492 | 132 | vec_res); | 493 | | | 494 | 132 | block.replace_by_position(result, std::move(col_res)); | 495 | 2.77k | } else if (!left_is_const && right_is_const) { | 496 | 1.72k | auto col_res = ColumnUInt8::create(); | 497 | | | 498 | 1.72k | ColumnUInt8::Container& vec_res = col_res->get_data(); | 499 | 1.72k | vec_res.resize(col_left->size()); | 500 | 1.72k | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 501 | 1.72k | typename PrimitiveTypeTraits<PT>::CppType, | 502 | 1.72k | Op<PT>>::vector_constant(col_left->get_data(), | 503 | 1.72k | col_right->get_element(0), vec_res); | 504 | | | 505 | 1.72k | block.replace_by_position(result, std::move(col_res)); | 506 | 1.72k | } else if (left_is_const && !right_is_const) { | 507 | 1.05k | auto col_res = ColumnUInt8::create(); | 508 | | | 509 | 1.05k | ColumnUInt8::Container& vec_res = col_res->get_data(); | 510 | 1.05k | vec_res.resize(col_right->size()); | 511 | 1.05k | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 512 | 1.05k | typename PrimitiveTypeTraits<PT>::CppType, | 513 | 1.05k | Op<PT>>::constant_vector(col_left->get_element(0), | 514 | 1.05k | col_right->get_data(), vec_res); | 515 | | | 516 | 1.05k | block.replace_by_position(result, std::move(col_res)); | 517 | 1.05k | } | 518 | 2.91k | return Status::OK(); | 519 | 2.91k | } |
_ZNK5doris18FunctionComparisonINS_8EqualsOpENS_10NameEqualsEE16execute_num_typeILNS_13PrimitiveTypeE7EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 475 | 97 | const ColumnPtr& col_right_ptr) const { | 476 | 97 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 477 | 97 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 478 | | | 479 | 97 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 480 | 97 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 481 | | | 482 | 97 | DCHECK(!(left_is_const && right_is_const)); | 483 | | | 484 | 97 | if (!left_is_const && !right_is_const) { | 485 | 62 | auto col_res = ColumnUInt8::create(); | 486 | | | 487 | 62 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 488 | 62 | vec_res.resize(col_left->get_data().size()); | 489 | 62 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 490 | 62 | typename PrimitiveTypeTraits<PT>::CppType, | 491 | 62 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 492 | 62 | vec_res); | 493 | | | 494 | 62 | block.replace_by_position(result, std::move(col_res)); | 495 | 62 | } 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 | 8 | auto col_res = ColumnUInt8::create(); | 508 | | | 509 | 8 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 510 | 8 | vec_res.resize(col_right->size()); | 511 | 8 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 512 | 8 | typename PrimitiveTypeTraits<PT>::CppType, | 513 | 8 | Op<PT>>::constant_vector(col_left->get_element(0), | 514 | 8 | col_right->get_data(), vec_res); | 515 | | | 516 | 8 | block.replace_by_position(result, std::move(col_res)); | 517 | 8 | } | 518 | 97 | return Status::OK(); | 519 | 97 | } |
_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 | 17 | const ColumnPtr& col_right_ptr) const { | 476 | 17 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 477 | 17 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 478 | | | 479 | 17 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 480 | 17 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 481 | | | 482 | 17 | DCHECK(!(left_is_const && right_is_const)); | 483 | | | 484 | 17 | if (!left_is_const && !right_is_const) { | 485 | 13 | auto col_res = ColumnUInt8::create(); | 486 | | | 487 | 13 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 488 | 13 | vec_res.resize(col_left->get_data().size()); | 489 | 13 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 490 | 13 | typename PrimitiveTypeTraits<PT>::CppType, | 491 | 13 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 492 | 13 | vec_res); | 493 | | | 494 | 13 | block.replace_by_position(result, std::move(col_res)); | 495 | 13 | } 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 | 17 | return Status::OK(); | 519 | 17 | } |
_ZNK5doris18FunctionComparisonINS_8EqualsOpENS_10NameEqualsEE16execute_num_typeILNS_13PrimitiveTypeE8EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 475 | 82 | const ColumnPtr& col_right_ptr) const { | 476 | 82 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 477 | 82 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 478 | | | 479 | 82 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 480 | 82 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 481 | | | 482 | 82 | DCHECK(!(left_is_const && right_is_const)); | 483 | | | 484 | 82 | if (!left_is_const && !right_is_const) { | 485 | 82 | auto col_res = ColumnUInt8::create(); | 486 | | | 487 | 82 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 488 | 82 | vec_res.resize(col_left->get_data().size()); | 489 | 82 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 490 | 82 | typename PrimitiveTypeTraits<PT>::CppType, | 491 | 82 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 492 | 82 | vec_res); | 493 | | | 494 | 82 | block.replace_by_position(result, std::move(col_res)); | 495 | 82 | } 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 | 82 | return Status::OK(); | 519 | 82 | } |
_ZNK5doris18FunctionComparisonINS_8EqualsOpENS_10NameEqualsEE16execute_num_typeILNS_13PrimitiveTypeE9EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 475 | 868 | const ColumnPtr& col_right_ptr) const { | 476 | 868 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 477 | 868 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 478 | | | 479 | 868 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 480 | 868 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 481 | | | 482 | 868 | DCHECK(!(left_is_const && right_is_const)); | 483 | | | 484 | 868 | if (!left_is_const && !right_is_const) { | 485 | 83 | auto col_res = ColumnUInt8::create(); | 486 | | | 487 | 83 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 488 | 83 | vec_res.resize(col_left->get_data().size()); | 489 | 83 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 490 | 83 | typename PrimitiveTypeTraits<PT>::CppType, | 491 | 83 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 492 | 83 | vec_res); | 493 | | | 494 | 83 | block.replace_by_position(result, std::move(col_res)); | 495 | 785 | } else if (!left_is_const && right_is_const) { | 496 | 785 | auto col_res = ColumnUInt8::create(); | 497 | | | 498 | 785 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 499 | 785 | vec_res.resize(col_left->size()); | 500 | 785 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 501 | 785 | typename PrimitiveTypeTraits<PT>::CppType, | 502 | 785 | Op<PT>>::vector_constant(col_left->get_data(), | 503 | 785 | col_right->get_element(0), vec_res); | 504 | | | 505 | 785 | block.replace_by_position(result, std::move(col_res)); | 506 | 785 | } 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 | 868 | return Status::OK(); | 519 | 868 | } |
_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 | 70 | const ColumnPtr& col_right_ptr) const { | 476 | 70 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 477 | 70 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 478 | | | 479 | 70 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 480 | 70 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 481 | | | 482 | 70 | DCHECK(!(left_is_const && right_is_const)); | 483 | | | 484 | 70 | 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 | 38 | } 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 | 70 | return Status::OK(); | 519 | 70 | } |
Unexecuted instantiation: _ZNK5doris18FunctionComparisonINS_11NotEqualsOpENS_13NameNotEqualsEE16execute_num_typeILNS_13PrimitiveTypeE26EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Unexecuted instantiation: _ZNK5doris18FunctionComparisonINS_11NotEqualsOpENS_13NameNotEqualsEE16execute_num_typeILNS_13PrimitiveTypeE42EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ _ZNK5doris18FunctionComparisonINS_11NotEqualsOpENS_13NameNotEqualsEE16execute_num_typeILNS_13PrimitiveTypeE3EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 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.07k | const ColumnPtr& col_right_ptr) const { | 476 | 1.07k | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 477 | 1.07k | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 478 | | | 479 | 1.07k | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 480 | 1.07k | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 481 | | | 482 | 1.07k | DCHECK(!(left_is_const && right_is_const)); | 483 | | | 484 | 1.07k | if (!left_is_const && !right_is_const) { | 485 | 814 | auto col_res = ColumnUInt8::create(); | 486 | | | 487 | 814 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 488 | 814 | vec_res.resize(col_left->get_data().size()); | 489 | 814 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 490 | 814 | typename PrimitiveTypeTraits<PT>::CppType, | 491 | 814 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 492 | 814 | vec_res); | 493 | | | 494 | 814 | block.replace_by_position(result, std::move(col_res)); | 495 | 814 | } else if (!left_is_const && right_is_const) { | 496 | 257 | auto col_res = ColumnUInt8::create(); | 497 | | | 498 | 257 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 499 | 257 | vec_res.resize(col_left->size()); | 500 | 257 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 501 | 257 | typename PrimitiveTypeTraits<PT>::CppType, | 502 | 257 | Op<PT>>::vector_constant(col_left->get_data(), | 503 | 257 | col_right->get_element(0), vec_res); | 504 | | | 505 | 257 | block.replace_by_position(result, std::move(col_res)); | 506 | 257 | } 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.07k | return Status::OK(); | 519 | 1.07k | } |
_ZNK5doris18FunctionComparisonINS_11NotEqualsOpENS_13NameNotEqualsEE16execute_num_typeILNS_13PrimitiveTypeE6EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 475 | 943 | const ColumnPtr& col_right_ptr) const { | 476 | 943 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 477 | 943 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 478 | | | 479 | 943 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 480 | 943 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 481 | | | 482 | 943 | DCHECK(!(left_is_const && right_is_const)); | 483 | | | 484 | 943 | if (!left_is_const && !right_is_const) { | 485 | 346 | auto col_res = ColumnUInt8::create(); | 486 | | | 487 | 346 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 488 | 346 | vec_res.resize(col_left->get_data().size()); | 489 | 346 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 490 | 346 | typename PrimitiveTypeTraits<PT>::CppType, | 491 | 346 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 492 | 346 | vec_res); | 493 | | | 494 | 346 | block.replace_by_position(result, std::move(col_res)); | 495 | 597 | } 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 | 566 | } else if (left_is_const && !right_is_const) { | 507 | 566 | auto col_res = ColumnUInt8::create(); | 508 | | | 509 | 566 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 510 | 566 | vec_res.resize(col_right->size()); | 511 | 566 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 512 | 566 | typename PrimitiveTypeTraits<PT>::CppType, | 513 | 566 | Op<PT>>::constant_vector(col_left->get_element(0), | 514 | 566 | col_right->get_data(), vec_res); | 515 | | | 516 | 566 | block.replace_by_position(result, std::move(col_res)); | 517 | 566 | } | 518 | 943 | return Status::OK(); | 519 | 943 | } |
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 | 1.24k | const ColumnPtr& col_right_ptr) const { | 476 | 1.24k | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 477 | 1.24k | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 478 | | | 479 | 1.24k | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 480 | 1.24k | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 481 | | | 482 | 1.24k | DCHECK(!(left_is_const && right_is_const)); | 483 | | | 484 | 1.24k | if (!left_is_const && !right_is_const) { | 485 | 1.20k | auto col_res = ColumnUInt8::create(); | 486 | | | 487 | 1.20k | ColumnUInt8::Container& vec_res = col_res->get_data(); | 488 | 1.20k | vec_res.resize(col_left->get_data().size()); | 489 | 1.20k | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 490 | 1.20k | typename PrimitiveTypeTraits<PT>::CppType, | 491 | 1.20k | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 492 | 1.20k | vec_res); | 493 | | | 494 | 1.20k | block.replace_by_position(result, std::move(col_res)); | 495 | 1.20k | } 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 | 1.24k | return Status::OK(); | 519 | 1.24k | } |
_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 | 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 | 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 | 2 | } 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 | 2 | return Status::OK(); | 519 | 2 | } |
_ZNK5doris18FunctionComparisonINS_9GreaterOpENS_11NameGreaterEE16execute_num_typeILNS_13PrimitiveTypeE3EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 475 | 973 | const ColumnPtr& col_right_ptr) const { | 476 | 973 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 477 | 973 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 478 | | | 479 | 973 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 480 | 973 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 481 | | | 482 | 973 | DCHECK(!(left_is_const && right_is_const)); | 483 | | | 484 | 973 | if (!left_is_const && !right_is_const) { | 485 | 40 | auto col_res = ColumnUInt8::create(); | 486 | | | 487 | 40 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 488 | 40 | vec_res.resize(col_left->get_data().size()); | 489 | 40 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 490 | 40 | typename PrimitiveTypeTraits<PT>::CppType, | 491 | 40 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 492 | 40 | vec_res); | 493 | | | 494 | 40 | block.replace_by_position(result, std::move(col_res)); | 495 | 933 | } else if (!left_is_const && right_is_const) { | 496 | 729 | auto col_res = ColumnUInt8::create(); | 497 | | | 498 | 729 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 499 | 729 | vec_res.resize(col_left->size()); | 500 | 729 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 501 | 729 | typename PrimitiveTypeTraits<PT>::CppType, | 502 | 729 | Op<PT>>::vector_constant(col_left->get_data(), | 503 | 729 | col_right->get_element(0), vec_res); | 504 | | | 505 | 729 | block.replace_by_position(result, std::move(col_res)); | 506 | 729 | } else if (left_is_const && !right_is_const) { | 507 | 204 | auto col_res = ColumnUInt8::create(); | 508 | | | 509 | 204 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 510 | 204 | vec_res.resize(col_right->size()); | 511 | 204 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 512 | 204 | typename PrimitiveTypeTraits<PT>::CppType, | 513 | 204 | Op<PT>>::constant_vector(col_left->get_element(0), | 514 | 204 | col_right->get_data(), vec_res); | 515 | | | 516 | 204 | block.replace_by_position(result, std::move(col_res)); | 517 | 204 | } | 518 | 973 | return Status::OK(); | 519 | 973 | } |
_ZNK5doris18FunctionComparisonINS_9GreaterOpENS_11NameGreaterEE16execute_num_typeILNS_13PrimitiveTypeE4EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 475 | 1.77k | const ColumnPtr& col_right_ptr) const { | 476 | 1.77k | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 477 | 1.77k | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 478 | | | 479 | 1.77k | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 480 | 1.77k | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 481 | | | 482 | 1.77k | DCHECK(!(left_is_const && right_is_const)); | 483 | | | 484 | 1.77k | 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.66k | } else if (!left_is_const && right_is_const) { | 496 | 1.43k | auto col_res = ColumnUInt8::create(); | 497 | | | 498 | 1.43k | ColumnUInt8::Container& vec_res = col_res->get_data(); | 499 | 1.43k | vec_res.resize(col_left->size()); | 500 | 1.43k | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 501 | 1.43k | typename PrimitiveTypeTraits<PT>::CppType, | 502 | 1.43k | Op<PT>>::vector_constant(col_left->get_data(), | 503 | 1.43k | col_right->get_element(0), vec_res); | 504 | | | 505 | 1.43k | block.replace_by_position(result, std::move(col_res)); | 506 | 1.43k | } else if (left_is_const && !right_is_const) { | 507 | 226 | auto col_res = ColumnUInt8::create(); | 508 | | | 509 | 226 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 510 | 226 | vec_res.resize(col_right->size()); | 511 | 226 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 512 | 226 | typename PrimitiveTypeTraits<PT>::CppType, | 513 | 226 | Op<PT>>::constant_vector(col_left->get_element(0), | 514 | 226 | col_right->get_data(), vec_res); | 515 | | | 516 | 226 | block.replace_by_position(result, std::move(col_res)); | 517 | 226 | } | 518 | 1.77k | return Status::OK(); | 519 | 1.77k | } |
_ZNK5doris18FunctionComparisonINS_9GreaterOpENS_11NameGreaterEE16execute_num_typeILNS_13PrimitiveTypeE5EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 475 | 12.9k | const ColumnPtr& col_right_ptr) const { | 476 | 12.9k | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 477 | 12.9k | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 478 | | | 479 | 12.9k | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 480 | 12.9k | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 481 | | | 482 | 12.9k | DCHECK(!(left_is_const && right_is_const)); | 483 | | | 484 | 12.9k | 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 | 12.8k | } else if (!left_is_const && right_is_const) { | 496 | 9.55k | auto col_res = ColumnUInt8::create(); | 497 | | | 498 | 9.55k | ColumnUInt8::Container& vec_res = col_res->get_data(); | 499 | 9.55k | vec_res.resize(col_left->size()); | 500 | 9.55k | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 501 | 9.55k | typename PrimitiveTypeTraits<PT>::CppType, | 502 | 9.55k | Op<PT>>::vector_constant(col_left->get_data(), | 503 | 9.55k | col_right->get_element(0), vec_res); | 504 | | | 505 | 9.55k | block.replace_by_position(result, std::move(col_res)); | 506 | 9.55k | } else if (left_is_const && !right_is_const) { | 507 | 3.33k | auto col_res = ColumnUInt8::create(); | 508 | | | 509 | 3.33k | ColumnUInt8::Container& vec_res = col_res->get_data(); | 510 | 3.33k | vec_res.resize(col_right->size()); | 511 | 3.33k | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 512 | 3.33k | typename PrimitiveTypeTraits<PT>::CppType, | 513 | 3.33k | Op<PT>>::constant_vector(col_left->get_element(0), | 514 | 3.33k | col_right->get_data(), vec_res); | 515 | | | 516 | 3.33k | block.replace_by_position(result, std::move(col_res)); | 517 | 3.33k | } | 518 | 12.9k | return Status::OK(); | 519 | 12.9k | } |
_ZNK5doris18FunctionComparisonINS_9GreaterOpENS_11NameGreaterEE16execute_num_typeILNS_13PrimitiveTypeE6EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 475 | 1.71k | const ColumnPtr& col_right_ptr) const { | 476 | 1.71k | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 477 | 1.71k | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 478 | | | 479 | 1.71k | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 480 | 1.71k | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 481 | | | 482 | 1.71k | DCHECK(!(left_is_const && right_is_const)); | 483 | | | 484 | 1.71k | if (!left_is_const && !right_is_const) { | 485 | 63 | auto col_res = ColumnUInt8::create(); | 486 | | | 487 | 63 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 488 | 63 | vec_res.resize(col_left->get_data().size()); | 489 | 63 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 490 | 63 | typename PrimitiveTypeTraits<PT>::CppType, | 491 | 63 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 492 | 63 | vec_res); | 493 | | | 494 | 63 | block.replace_by_position(result, std::move(col_res)); | 495 | 1.64k | } else if (!left_is_const && right_is_const) { | 496 | 1.14k | auto col_res = ColumnUInt8::create(); | 497 | | | 498 | 1.14k | ColumnUInt8::Container& vec_res = col_res->get_data(); | 499 | 1.14k | vec_res.resize(col_left->size()); | 500 | 1.14k | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 501 | 1.14k | typename PrimitiveTypeTraits<PT>::CppType, | 502 | 1.14k | Op<PT>>::vector_constant(col_left->get_data(), | 503 | 1.14k | col_right->get_element(0), vec_res); | 504 | | | 505 | 1.14k | block.replace_by_position(result, std::move(col_res)); | 506 | 1.14k | } else if (left_is_const && !right_is_const) { | 507 | 505 | auto col_res = ColumnUInt8::create(); | 508 | | | 509 | 505 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 510 | 505 | vec_res.resize(col_right->size()); | 511 | 505 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 512 | 505 | typename PrimitiveTypeTraits<PT>::CppType, | 513 | 505 | Op<PT>>::constant_vector(col_left->get_element(0), | 514 | 505 | col_right->get_data(), vec_res); | 515 | | | 516 | 505 | block.replace_by_position(result, std::move(col_res)); | 517 | 505 | } | 518 | 1.71k | return Status::OK(); | 519 | 1.71k | } |
_ZNK5doris18FunctionComparisonINS_9GreaterOpENS_11NameGreaterEE16execute_num_typeILNS_13PrimitiveTypeE7EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 475 | 231 | const ColumnPtr& col_right_ptr) const { | 476 | 231 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 477 | 231 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 478 | | | 479 | 231 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 480 | 231 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 481 | | | 482 | 231 | DCHECK(!(left_is_const && right_is_const)); | 483 | | | 484 | 231 | 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 | 228 | } else if (!left_is_const && right_is_const) { | 496 | 202 | auto col_res = ColumnUInt8::create(); | 497 | | | 498 | 202 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 499 | 202 | vec_res.resize(col_left->size()); | 500 | 202 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 501 | 202 | typename PrimitiveTypeTraits<PT>::CppType, | 502 | 202 | Op<PT>>::vector_constant(col_left->get_data(), | 503 | 202 | col_right->get_element(0), vec_res); | 504 | | | 505 | 202 | block.replace_by_position(result, std::move(col_res)); | 506 | 202 | } else if (left_is_const && !right_is_const) { | 507 | 26 | auto col_res = ColumnUInt8::create(); | 508 | | | 509 | 26 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 510 | 26 | vec_res.resize(col_right->size()); | 511 | 26 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 512 | 26 | typename PrimitiveTypeTraits<PT>::CppType, | 513 | 26 | Op<PT>>::constant_vector(col_left->get_element(0), | 514 | 26 | col_right->get_data(), vec_res); | 515 | | | 516 | 26 | block.replace_by_position(result, std::move(col_res)); | 517 | 26 | } | 518 | 231 | return Status::OK(); | 519 | 231 | } |
_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 | 523 | const ColumnPtr& col_right_ptr) const { | 476 | 523 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 477 | 523 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 478 | | | 479 | 523 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 480 | 523 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 481 | | | 482 | 523 | DCHECK(!(left_is_const && right_is_const)); | 483 | | | 484 | 524 | 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 | 498 | } else if (!left_is_const && right_is_const) { | 496 | 498 | auto col_res = ColumnUInt8::create(); | 497 | | | 498 | 498 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 499 | 498 | vec_res.resize(col_left->size()); | 500 | 498 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 501 | 498 | typename PrimitiveTypeTraits<PT>::CppType, | 502 | 498 | Op<PT>>::vector_constant(col_left->get_data(), | 503 | 498 | col_right->get_element(0), vec_res); | 504 | | | 505 | 498 | 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 | 523 | return Status::OK(); | 519 | 523 | } |
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 | 26 | const ColumnPtr& col_right_ptr) const { | 476 | 26 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 477 | 26 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 478 | | | 479 | 26 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 480 | 26 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 481 | | | 482 | 26 | DCHECK(!(left_is_const && right_is_const)); | 483 | | | 484 | 26 | 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 | 26 | } 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 | 26 | return Status::OK(); | 519 | 26 | } |
_ZNK5doris18FunctionComparisonINS_17GreaterOrEqualsOpENS_19NameGreaterOrEqualsEE16execute_num_typeILNS_13PrimitiveTypeE25EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 475 | 504 | const ColumnPtr& col_right_ptr) const { | 476 | 504 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 477 | 504 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 478 | | | 479 | 504 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 480 | 504 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 481 | | | 482 | 504 | DCHECK(!(left_is_const && right_is_const)); | 483 | | | 484 | 504 | 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 | 503 | } else if (!left_is_const && right_is_const) { | 496 | 497 | auto col_res = ColumnUInt8::create(); | 497 | | | 498 | 497 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 499 | 497 | vec_res.resize(col_left->size()); | 500 | 497 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 501 | 497 | typename PrimitiveTypeTraits<PT>::CppType, | 502 | 497 | Op<PT>>::vector_constant(col_left->get_data(), | 503 | 497 | col_right->get_element(0), vec_res); | 504 | | | 505 | 497 | block.replace_by_position(result, std::move(col_res)); | 506 | 497 | } 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 | 504 | return Status::OK(); | 519 | 504 | } |
_ZNK5doris18FunctionComparisonINS_17GreaterOrEqualsOpENS_19NameGreaterOrEqualsEE16execute_num_typeILNS_13PrimitiveTypeE26EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 475 | 143 | const ColumnPtr& col_right_ptr) const { | 476 | 143 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 477 | 143 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 478 | | | 479 | 143 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 480 | 143 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 481 | | | 482 | 143 | DCHECK(!(left_is_const && right_is_const)); | 483 | | | 484 | 143 | 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 | 137 | } else if (!left_is_const && right_is_const) { | 496 | 137 | auto col_res = ColumnUInt8::create(); | 497 | | | 498 | 137 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 499 | 137 | vec_res.resize(col_left->size()); | 500 | 137 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 501 | 137 | typename PrimitiveTypeTraits<PT>::CppType, | 502 | 137 | Op<PT>>::vector_constant(col_left->get_data(), | 503 | 137 | col_right->get_element(0), vec_res); | 504 | | | 505 | 137 | block.replace_by_position(result, std::move(col_res)); | 506 | 137 | } 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 | 143 | return Status::OK(); | 519 | 143 | } |
_ZNK5doris18FunctionComparisonINS_17GreaterOrEqualsOpENS_19NameGreaterOrEqualsEE16execute_num_typeILNS_13PrimitiveTypeE42EEENS_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 | 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 | 2 | } 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 | 2 | return Status::OK(); | 519 | 2 | } |
_ZNK5doris18FunctionComparisonINS_17GreaterOrEqualsOpENS_19NameGreaterOrEqualsEE16execute_num_typeILNS_13PrimitiveTypeE3EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 475 | 100 | const ColumnPtr& col_right_ptr) const { | 476 | 100 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 477 | 100 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 478 | | | 479 | 100 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 480 | 100 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 481 | | | 482 | 100 | DCHECK(!(left_is_const && right_is_const)); | 483 | | | 484 | 100 | 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 | 100 | } else if (!left_is_const && right_is_const) { | 496 | 100 | auto col_res = ColumnUInt8::create(); | 497 | | | 498 | 100 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 499 | 100 | vec_res.resize(col_left->size()); | 500 | 100 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 501 | 100 | typename PrimitiveTypeTraits<PT>::CppType, | 502 | 100 | Op<PT>>::vector_constant(col_left->get_data(), | 503 | 100 | col_right->get_element(0), vec_res); | 504 | | | 505 | 100 | block.replace_by_position(result, std::move(col_res)); | 506 | 100 | } 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 | 100 | return Status::OK(); | 519 | 100 | } |
_ZNK5doris18FunctionComparisonINS_17GreaterOrEqualsOpENS_19NameGreaterOrEqualsEE16execute_num_typeILNS_13PrimitiveTypeE4EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 475 | 128 | const ColumnPtr& col_right_ptr) const { | 476 | 128 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 477 | 128 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 478 | | | 479 | 128 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 480 | 128 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 481 | | | 482 | 128 | DCHECK(!(left_is_const && right_is_const)); | 483 | | | 484 | 128 | 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 | 128 | } else if (!left_is_const && right_is_const) { | 496 | 128 | auto col_res = ColumnUInt8::create(); | 497 | | | 498 | 128 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 499 | 128 | vec_res.resize(col_left->size()); | 500 | 128 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 501 | 128 | typename PrimitiveTypeTraits<PT>::CppType, | 502 | 128 | Op<PT>>::vector_constant(col_left->get_data(), | 503 | 128 | col_right->get_element(0), vec_res); | 504 | | | 505 | 128 | block.replace_by_position(result, std::move(col_res)); | 506 | 128 | } 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 | 128 | return Status::OK(); | 519 | 128 | } |
_ZNK5doris18FunctionComparisonINS_17GreaterOrEqualsOpENS_19NameGreaterOrEqualsEE16execute_num_typeILNS_13PrimitiveTypeE5EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 475 | 596 | const ColumnPtr& col_right_ptr) const { | 476 | 596 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 477 | 596 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 478 | | | 479 | 596 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 480 | 596 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 481 | | | 482 | 596 | DCHECK(!(left_is_const && right_is_const)); | 483 | | | 484 | 596 | 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 | 593 | } else if (!left_is_const && right_is_const) { | 496 | 593 | auto col_res = ColumnUInt8::create(); | 497 | | | 498 | 593 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 499 | 593 | vec_res.resize(col_left->size()); | 500 | 593 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 501 | 593 | typename PrimitiveTypeTraits<PT>::CppType, | 502 | 593 | Op<PT>>::vector_constant(col_left->get_data(), | 503 | 593 | col_right->get_element(0), vec_res); | 504 | | | 505 | 593 | block.replace_by_position(result, std::move(col_res)); | 506 | 593 | } 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 | 596 | return Status::OK(); | 519 | 596 | } |
_ZNK5doris18FunctionComparisonINS_17GreaterOrEqualsOpENS_19NameGreaterOrEqualsEE16execute_num_typeILNS_13PrimitiveTypeE6EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 475 | 154 | const ColumnPtr& col_right_ptr) const { | 476 | 154 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 477 | 154 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 478 | | | 479 | 154 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 480 | 154 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 481 | | | 482 | 154 | DCHECK(!(left_is_const && right_is_const)); | 483 | | | 484 | 154 | if (!left_is_const && !right_is_const) { | 485 | 8 | auto col_res = ColumnUInt8::create(); | 486 | | | 487 | 8 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 488 | 8 | vec_res.resize(col_left->get_data().size()); | 489 | 8 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 490 | 8 | typename PrimitiveTypeTraits<PT>::CppType, | 491 | 8 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 492 | 8 | vec_res); | 493 | | | 494 | 8 | block.replace_by_position(result, std::move(col_res)); | 495 | 146 | } else if (!left_is_const && right_is_const) { | 496 | 146 | auto col_res = ColumnUInt8::create(); | 497 | | | 498 | 146 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 499 | 146 | vec_res.resize(col_left->size()); | 500 | 146 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 501 | 146 | typename PrimitiveTypeTraits<PT>::CppType, | 502 | 146 | Op<PT>>::vector_constant(col_left->get_data(), | 503 | 146 | col_right->get_element(0), vec_res); | 504 | | | 505 | 146 | block.replace_by_position(result, std::move(col_res)); | 506 | 146 | } 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 | 154 | return Status::OK(); | 519 | 154 | } |
_ZNK5doris18FunctionComparisonINS_17GreaterOrEqualsOpENS_19NameGreaterOrEqualsEE16execute_num_typeILNS_13PrimitiveTypeE7EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 475 | 28 | const ColumnPtr& col_right_ptr) const { | 476 | 28 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 477 | 28 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 478 | | | 479 | 28 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 480 | 28 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 481 | | | 482 | 28 | DCHECK(!(left_is_const && right_is_const)); | 483 | | | 484 | 28 | 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 | 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 | 28 | return Status::OK(); | 519 | 28 | } |
_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 | 23 | const ColumnPtr& col_right_ptr) const { | 476 | 23 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 477 | 23 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 478 | | | 479 | 23 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 480 | 23 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 481 | | | 482 | 23 | DCHECK(!(left_is_const && right_is_const)); | 483 | | | 484 | 23 | 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 | 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 | 23 | return Status::OK(); | 519 | 23 | } |
_ZNK5doris18FunctionComparisonINS_17GreaterOrEqualsOpENS_19NameGreaterOrEqualsEE16execute_num_typeILNS_13PrimitiveTypeE9EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 475 | 139 | const ColumnPtr& col_right_ptr) const { | 476 | 139 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 477 | 139 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 478 | | | 479 | 139 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 480 | 139 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 481 | | | 482 | 139 | DCHECK(!(left_is_const && right_is_const)); | 483 | | | 484 | 139 | 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 | 116 | } else if (!left_is_const && right_is_const) { | 496 | 116 | auto col_res = ColumnUInt8::create(); | 497 | | | 498 | 116 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 499 | 116 | vec_res.resize(col_left->size()); | 500 | 116 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 501 | 116 | typename PrimitiveTypeTraits<PT>::CppType, | 502 | 116 | Op<PT>>::vector_constant(col_left->get_data(), | 503 | 116 | col_right->get_element(0), vec_res); | 504 | | | 505 | 116 | block.replace_by_position(result, std::move(col_res)); | 506 | 116 | } 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 | 139 | return Status::OK(); | 519 | 139 | } |
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 | 101 | const ColumnPtr& col_right_ptr) const { | 476 | 101 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 477 | 101 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 478 | | | 479 | 101 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 480 | 101 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 481 | | | 482 | 101 | DCHECK(!(left_is_const && right_is_const)); | 483 | | | 484 | 101 | if (!left_is_const && !right_is_const) { | 485 | 101 | auto col_res = ColumnUInt8::create(); | 486 | | | 487 | 101 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 488 | 101 | vec_res.resize(col_left->get_data().size()); | 489 | 101 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 490 | 101 | typename PrimitiveTypeTraits<PT>::CppType, | 491 | 101 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 492 | 101 | vec_res); | 493 | | | 494 | 101 | block.replace_by_position(result, std::move(col_res)); | 495 | 101 | } 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 | 101 | return Status::OK(); | 519 | 101 | } |
_ZNK5doris18FunctionComparisonINS_6LessOpENS_8NameLessEE16execute_num_typeILNS_13PrimitiveTypeE25EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 475 | 2.06k | const ColumnPtr& col_right_ptr) const { | 476 | 2.06k | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 477 | 2.06k | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 478 | | | 479 | 2.06k | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 480 | 2.06k | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 481 | | | 482 | 2.06k | DCHECK(!(left_is_const && right_is_const)); | 483 | | | 484 | 2.06k | if (!left_is_const && !right_is_const) { | 485 | 1.68k | auto col_res = ColumnUInt8::create(); | 486 | | | 487 | 1.68k | ColumnUInt8::Container& vec_res = col_res->get_data(); | 488 | 1.68k | vec_res.resize(col_left->get_data().size()); | 489 | 1.68k | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 490 | 1.68k | typename PrimitiveTypeTraits<PT>::CppType, | 491 | 1.68k | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 492 | 1.68k | vec_res); | 493 | | | 494 | 1.68k | block.replace_by_position(result, std::move(col_res)); | 495 | 1.68k | } else if (!left_is_const && right_is_const) { | 496 | 386 | auto col_res = ColumnUInt8::create(); | 497 | | | 498 | 386 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 499 | 386 | vec_res.resize(col_left->size()); | 500 | 386 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 501 | 386 | typename PrimitiveTypeTraits<PT>::CppType, | 502 | 386 | Op<PT>>::vector_constant(col_left->get_data(), | 503 | 386 | col_right->get_element(0), vec_res); | 504 | | | 505 | 386 | block.replace_by_position(result, std::move(col_res)); | 506 | 386 | } 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.06k | return Status::OK(); | 519 | 2.06k | } |
_ZNK5doris18FunctionComparisonINS_6LessOpENS_8NameLessEE16execute_num_typeILNS_13PrimitiveTypeE26EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 475 | 313 | const ColumnPtr& col_right_ptr) const { | 476 | 313 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 477 | 313 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 478 | | | 479 | 313 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 480 | 313 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 481 | | | 482 | 313 | DCHECK(!(left_is_const && right_is_const)); | 483 | | | 484 | 313 | if (!left_is_const && !right_is_const) { | 485 | 254 | auto col_res = ColumnUInt8::create(); | 486 | | | 487 | 254 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 488 | 254 | vec_res.resize(col_left->get_data().size()); | 489 | 254 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 490 | 254 | typename PrimitiveTypeTraits<PT>::CppType, | 491 | 254 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 492 | 254 | vec_res); | 493 | | | 494 | 254 | block.replace_by_position(result, std::move(col_res)); | 495 | 254 | } 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 | 59 | } 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 | 313 | return Status::OK(); | 519 | 313 | } |
_ZNK5doris18FunctionComparisonINS_6LessOpENS_8NameLessEE16execute_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 | 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 | 2 | } 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 | 3 | return Status::OK(); | 519 | 3 | } |
_ZNK5doris18FunctionComparisonINS_6LessOpENS_8NameLessEE16execute_num_typeILNS_13PrimitiveTypeE3EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 475 | 2.10k | const ColumnPtr& col_right_ptr) const { | 476 | 2.10k | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 477 | 2.10k | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 478 | | | 479 | 2.10k | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 480 | 2.10k | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 481 | | | 482 | 2.10k | DCHECK(!(left_is_const && right_is_const)); | 483 | | | 484 | 2.10k | 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 | 1.96k | } else if (!left_is_const && right_is_const) { | 496 | 1.73k | auto col_res = ColumnUInt8::create(); | 497 | | | 498 | 1.73k | ColumnUInt8::Container& vec_res = col_res->get_data(); | 499 | 1.73k | vec_res.resize(col_left->size()); | 500 | 1.73k | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 501 | 1.73k | typename PrimitiveTypeTraits<PT>::CppType, | 502 | 1.73k | Op<PT>>::vector_constant(col_left->get_data(), | 503 | 1.73k | col_right->get_element(0), vec_res); | 504 | | | 505 | 1.73k | block.replace_by_position(result, std::move(col_res)); | 506 | 1.73k | } 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 | 2.10k | return Status::OK(); | 519 | 2.10k | } |
_ZNK5doris18FunctionComparisonINS_6LessOpENS_8NameLessEE16execute_num_typeILNS_13PrimitiveTypeE4EEENS_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 | 122 | auto col_res = ColumnUInt8::create(); | 486 | | | 487 | 122 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 488 | 122 | vec_res.resize(col_left->get_data().size()); | 489 | 122 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 490 | 122 | typename PrimitiveTypeTraits<PT>::CppType, | 491 | 122 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 492 | 122 | vec_res); | 493 | | | 494 | 122 | block.replace_by_position(result, std::move(col_res)); | 495 | 122 | } 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 | 14 | } 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 | } |
_ZNK5doris18FunctionComparisonINS_6LessOpENS_8NameLessEE16execute_num_typeILNS_13PrimitiveTypeE5EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 475 | 1.11k | const ColumnPtr& col_right_ptr) const { | 476 | 1.11k | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 477 | 1.11k | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 478 | | | 479 | 1.11k | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 480 | 1.11k | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 481 | | | 482 | 1.11k | DCHECK(!(left_is_const && right_is_const)); | 483 | | | 484 | 1.11k | if (!left_is_const && !right_is_const) { | 485 | 168 | auto col_res = ColumnUInt8::create(); | 486 | | | 487 | 168 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 488 | 168 | vec_res.resize(col_left->get_data().size()); | 489 | 168 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 490 | 168 | typename PrimitiveTypeTraits<PT>::CppType, | 491 | 168 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 492 | 168 | vec_res); | 493 | | | 494 | 168 | block.replace_by_position(result, std::move(col_res)); | 495 | 942 | } else if (!left_is_const && right_is_const) { | 496 | 821 | auto col_res = ColumnUInt8::create(); | 497 | | | 498 | 821 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 499 | 821 | vec_res.resize(col_left->size()); | 500 | 821 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 501 | 821 | typename PrimitiveTypeTraits<PT>::CppType, | 502 | 821 | Op<PT>>::vector_constant(col_left->get_data(), | 503 | 821 | col_right->get_element(0), vec_res); | 504 | | | 505 | 821 | block.replace_by_position(result, std::move(col_res)); | 506 | 821 | } else if (left_is_const && !right_is_const) { | 507 | 121 | auto col_res = ColumnUInt8::create(); | 508 | | | 509 | 121 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 510 | 121 | vec_res.resize(col_right->size()); | 511 | 121 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 512 | 121 | typename PrimitiveTypeTraits<PT>::CppType, | 513 | 121 | Op<PT>>::constant_vector(col_left->get_element(0), | 514 | 121 | col_right->get_data(), vec_res); | 515 | | | 516 | 121 | block.replace_by_position(result, std::move(col_res)); | 517 | 121 | } | 518 | 1.11k | return Status::OK(); | 519 | 1.11k | } |
_ZNK5doris18FunctionComparisonINS_6LessOpENS_8NameLessEE16execute_num_typeILNS_13PrimitiveTypeE6EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 475 | 762 | const ColumnPtr& col_right_ptr) const { | 476 | 762 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 477 | 762 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 478 | | | 479 | 762 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 480 | 762 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 481 | | | 482 | 762 | DCHECK(!(left_is_const && right_is_const)); | 483 | | | 484 | 762 | if (!left_is_const && !right_is_const) { | 485 | 204 | auto col_res = ColumnUInt8::create(); | 486 | | | 487 | 204 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 488 | 204 | vec_res.resize(col_left->get_data().size()); | 489 | 204 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 490 | 204 | typename PrimitiveTypeTraits<PT>::CppType, | 491 | 204 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 492 | 204 | vec_res); | 493 | | | 494 | 204 | block.replace_by_position(result, std::move(col_res)); | 495 | 558 | } else if (!left_is_const && right_is_const) { | 496 | 486 | auto col_res = ColumnUInt8::create(); | 497 | | | 498 | 486 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 499 | 486 | vec_res.resize(col_left->size()); | 500 | 486 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 501 | 486 | typename PrimitiveTypeTraits<PT>::CppType, | 502 | 486 | Op<PT>>::vector_constant(col_left->get_data(), | 503 | 486 | col_right->get_element(0), vec_res); | 504 | | | 505 | 486 | block.replace_by_position(result, std::move(col_res)); | 506 | 486 | } else if (left_is_const && !right_is_const) { | 507 | 73 | auto col_res = ColumnUInt8::create(); | 508 | | | 509 | 73 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 510 | 73 | vec_res.resize(col_right->size()); | 511 | 73 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 512 | 73 | typename PrimitiveTypeTraits<PT>::CppType, | 513 | 73 | Op<PT>>::constant_vector(col_left->get_element(0), | 514 | 73 | col_right->get_data(), vec_res); | 515 | | | 516 | 73 | block.replace_by_position(result, std::move(col_res)); | 517 | 73 | } | 518 | 762 | return Status::OK(); | 519 | 762 | } |
_ZNK5doris18FunctionComparisonINS_6LessOpENS_8NameLessEE16execute_num_typeILNS_13PrimitiveTypeE7EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 475 | 280 | const ColumnPtr& col_right_ptr) const { | 476 | 280 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 477 | 280 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 478 | | | 479 | 280 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 480 | 280 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 481 | | | 482 | 280 | DCHECK(!(left_is_const && right_is_const)); | 483 | | | 484 | 280 | 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 | 142 | } else if (!left_is_const && right_is_const) { | 496 | 46 | auto col_res = ColumnUInt8::create(); | 497 | | | 498 | 46 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 499 | 46 | vec_res.resize(col_left->size()); | 500 | 46 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 501 | 46 | typename PrimitiveTypeTraits<PT>::CppType, | 502 | 46 | Op<PT>>::vector_constant(col_left->get_data(), | 503 | 46 | col_right->get_element(0), vec_res); | 504 | | | 505 | 46 | 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 | 280 | return Status::OK(); | 519 | 280 | } |
_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 | 137 | const ColumnPtr& col_right_ptr) const { | 476 | 137 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 477 | 137 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 478 | | | 479 | 137 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 480 | 137 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 481 | | | 482 | 137 | DCHECK(!(left_is_const && right_is_const)); | 483 | | | 484 | 137 | 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 | 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 | 137 | return Status::OK(); | 519 | 137 | } |
_ZNK5doris18FunctionComparisonINS_6LessOpENS_8NameLessEE16execute_num_typeILNS_13PrimitiveTypeE9EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 475 | 332 | const ColumnPtr& col_right_ptr) const { | 476 | 332 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 477 | 332 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 478 | | | 479 | 332 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 480 | 332 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 481 | | | 482 | 332 | DCHECK(!(left_is_const && right_is_const)); | 483 | | | 484 | 332 | if (!left_is_const && !right_is_const) { | 485 | 144 | auto col_res = ColumnUInt8::create(); | 486 | | | 487 | 144 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 488 | 144 | vec_res.resize(col_left->get_data().size()); | 489 | 144 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 490 | 144 | typename PrimitiveTypeTraits<PT>::CppType, | 491 | 144 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 492 | 144 | vec_res); | 493 | | | 494 | 144 | block.replace_by_position(result, std::move(col_res)); | 495 | 188 | } else if (!left_is_const && right_is_const) { | 496 | 188 | auto col_res = ColumnUInt8::create(); | 497 | | | 498 | 188 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 499 | 188 | vec_res.resize(col_left->size()); | 500 | 188 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 501 | 188 | typename PrimitiveTypeTraits<PT>::CppType, | 502 | 188 | Op<PT>>::vector_constant(col_left->get_data(), | 503 | 188 | col_right->get_element(0), vec_res); | 504 | | | 505 | 188 | block.replace_by_position(result, std::move(col_res)); | 506 | 188 | } 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 | 332 | return Status::OK(); | 519 | 332 | } |
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 | 33 | const ColumnPtr& col_right_ptr) const { | 476 | 33 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 477 | 33 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 478 | | | 479 | 33 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 480 | 33 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 481 | | | 482 | 33 | DCHECK(!(left_is_const && right_is_const)); | 483 | | | 484 | 33 | 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 | 33 | } else if (!left_is_const && right_is_const) { | 496 | 33 | auto col_res = ColumnUInt8::create(); | 497 | | | 498 | 33 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 499 | 33 | vec_res.resize(col_left->size()); | 500 | 33 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 501 | 33 | typename PrimitiveTypeTraits<PT>::CppType, | 502 | 33 | Op<PT>>::vector_constant(col_left->get_data(), | 503 | 33 | col_right->get_element(0), vec_res); | 504 | | | 505 | 33 | block.replace_by_position(result, std::move(col_res)); | 506 | 33 | } 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 | 33 | return Status::OK(); | 519 | 33 | } |
_ZNK5doris18FunctionComparisonINS_14LessOrEqualsOpENS_16NameLessOrEqualsEE16execute_num_typeILNS_13PrimitiveTypeE25EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 475 | 610 | const ColumnPtr& col_right_ptr) const { | 476 | 610 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 477 | 610 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 478 | | | 479 | 610 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 480 | 610 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 481 | | | 482 | 610 | DCHECK(!(left_is_const && right_is_const)); | 483 | | | 484 | 610 | if (!left_is_const && !right_is_const) { | 485 | 416 | auto col_res = ColumnUInt8::create(); | 486 | | | 487 | 416 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 488 | 416 | vec_res.resize(col_left->get_data().size()); | 489 | 416 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 490 | 416 | typename PrimitiveTypeTraits<PT>::CppType, | 491 | 416 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 492 | 416 | vec_res); | 493 | | | 494 | 416 | block.replace_by_position(result, std::move(col_res)); | 495 | 416 | } else if (!left_is_const && right_is_const) { | 496 | 189 | auto col_res = ColumnUInt8::create(); | 497 | | | 498 | 189 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 499 | 189 | vec_res.resize(col_left->size()); | 500 | 189 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 501 | 189 | typename PrimitiveTypeTraits<PT>::CppType, | 502 | 189 | Op<PT>>::vector_constant(col_left->get_data(), | 503 | 189 | col_right->get_element(0), vec_res); | 504 | | | 505 | 189 | block.replace_by_position(result, std::move(col_res)); | 506 | 189 | } 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 | 610 | return Status::OK(); | 519 | 610 | } |
_ZNK5doris18FunctionComparisonINS_14LessOrEqualsOpENS_16NameLessOrEqualsEE16execute_num_typeILNS_13PrimitiveTypeE26EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 475 | 73 | const ColumnPtr& col_right_ptr) const { | 476 | 73 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 477 | 73 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 478 | | | 479 | 73 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 480 | 73 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 481 | | | 482 | 73 | DCHECK(!(left_is_const && right_is_const)); | 483 | | | 484 | 73 | 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 | 73 | } else if (!left_is_const && right_is_const) { | 496 | 73 | auto col_res = ColumnUInt8::create(); | 497 | | | 498 | 73 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 499 | 73 | vec_res.resize(col_left->size()); | 500 | 73 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 501 | 73 | typename PrimitiveTypeTraits<PT>::CppType, | 502 | 73 | Op<PT>>::vector_constant(col_left->get_data(), | 503 | 73 | col_right->get_element(0), vec_res); | 504 | | | 505 | 73 | block.replace_by_position(result, std::move(col_res)); | 506 | 73 | } 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 | 73 | return Status::OK(); | 519 | 73 | } |
_ZNK5doris18FunctionComparisonINS_14LessOrEqualsOpENS_16NameLessOrEqualsEE16execute_num_typeILNS_13PrimitiveTypeE42EEENS_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 | 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 | 2 | } 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 | 2 | return Status::OK(); | 519 | 2 | } |
_ZNK5doris18FunctionComparisonINS_14LessOrEqualsOpENS_16NameLessOrEqualsEE16execute_num_typeILNS_13PrimitiveTypeE3EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 475 | 119 | const ColumnPtr& col_right_ptr) const { | 476 | 119 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 477 | 119 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 478 | | | 479 | 119 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 480 | 119 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 481 | | | 482 | 119 | DCHECK(!(left_is_const && right_is_const)); | 483 | | | 484 | 119 | 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 | 118 | } else if (!left_is_const && right_is_const) { | 496 | 118 | auto col_res = ColumnUInt8::create(); | 497 | | | 498 | 118 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 499 | 118 | vec_res.resize(col_left->size()); | 500 | 118 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 501 | 118 | typename PrimitiveTypeTraits<PT>::CppType, | 502 | 118 | Op<PT>>::vector_constant(col_left->get_data(), | 503 | 118 | col_right->get_element(0), vec_res); | 504 | | | 505 | 118 | block.replace_by_position(result, std::move(col_res)); | 506 | 118 | } 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 | 119 | return Status::OK(); | 519 | 119 | } |
_ZNK5doris18FunctionComparisonINS_14LessOrEqualsOpENS_16NameLessOrEqualsEE16execute_num_typeILNS_13PrimitiveTypeE4EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 475 | 156 | const ColumnPtr& col_right_ptr) const { | 476 | 156 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 477 | 156 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 478 | | | 479 | 156 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 480 | 156 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 481 | | | 482 | 156 | DCHECK(!(left_is_const && right_is_const)); | 483 | | | 484 | 156 | 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 | 157 | } else if (!left_is_const && right_is_const) { | 496 | 157 | auto col_res = ColumnUInt8::create(); | 497 | | | 498 | 157 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 499 | 157 | vec_res.resize(col_left->size()); | 500 | 157 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 501 | 157 | typename PrimitiveTypeTraits<PT>::CppType, | 502 | 157 | Op<PT>>::vector_constant(col_left->get_data(), | 503 | 157 | col_right->get_element(0), vec_res); | 504 | | | 505 | 157 | 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 | 156 | return Status::OK(); | 519 | 156 | } |
_ZNK5doris18FunctionComparisonINS_14LessOrEqualsOpENS_16NameLessOrEqualsEE16execute_num_typeILNS_13PrimitiveTypeE5EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 475 | 6.20k | const ColumnPtr& col_right_ptr) const { | 476 | 6.20k | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 477 | 6.20k | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 478 | | | 479 | 6.20k | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 480 | 6.20k | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 481 | | | 482 | 6.20k | DCHECK(!(left_is_const && right_is_const)); | 483 | | | 484 | 6.20k | 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.18k | } else if (!left_is_const && right_is_const) { | 496 | 5.87k | auto col_res = ColumnUInt8::create(); | 497 | | | 498 | 5.87k | ColumnUInt8::Container& vec_res = col_res->get_data(); | 499 | 5.87k | vec_res.resize(col_left->size()); | 500 | 5.87k | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 501 | 5.87k | typename PrimitiveTypeTraits<PT>::CppType, | 502 | 5.87k | Op<PT>>::vector_constant(col_left->get_data(), | 503 | 5.87k | col_right->get_element(0), vec_res); | 504 | | | 505 | 5.87k | block.replace_by_position(result, std::move(col_res)); | 506 | 5.87k | } else if (left_is_const && !right_is_const) { | 507 | 309 | auto col_res = ColumnUInt8::create(); | 508 | | | 509 | 309 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 510 | 309 | vec_res.resize(col_right->size()); | 511 | 309 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 512 | 309 | typename PrimitiveTypeTraits<PT>::CppType, | 513 | 309 | Op<PT>>::constant_vector(col_left->get_element(0), | 514 | 309 | col_right->get_data(), vec_res); | 515 | | | 516 | 309 | block.replace_by_position(result, std::move(col_res)); | 517 | 309 | } | 518 | 6.20k | return Status::OK(); | 519 | 6.20k | } |
_ZNK5doris18FunctionComparisonINS_14LessOrEqualsOpENS_16NameLessOrEqualsEE16execute_num_typeILNS_13PrimitiveTypeE6EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 475 | 380 | const ColumnPtr& col_right_ptr) const { | 476 | 380 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 477 | 380 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 478 | | | 479 | 380 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 480 | 380 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 481 | | | 482 | 380 | DCHECK(!(left_is_const && right_is_const)); | 483 | | | 484 | 380 | 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 | 311 | } else if (!left_is_const && right_is_const) { | 496 | 263 | auto col_res = ColumnUInt8::create(); | 497 | | | 498 | 263 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 499 | 263 | vec_res.resize(col_left->size()); | 500 | 263 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 501 | 263 | typename PrimitiveTypeTraits<PT>::CppType, | 502 | 263 | Op<PT>>::vector_constant(col_left->get_data(), | 503 | 263 | col_right->get_element(0), vec_res); | 504 | | | 505 | 263 | block.replace_by_position(result, std::move(col_res)); | 506 | 263 | } 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 | 380 | return Status::OK(); | 519 | 380 | } |
_ZNK5doris18FunctionComparisonINS_14LessOrEqualsOpENS_16NameLessOrEqualsEE16execute_num_typeILNS_13PrimitiveTypeE7EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 475 | 35 | const ColumnPtr& col_right_ptr) const { | 476 | 35 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 477 | 35 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 478 | | | 479 | 35 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 480 | 35 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 481 | | | 482 | 35 | DCHECK(!(left_is_const && right_is_const)); | 483 | | | 484 | 35 | 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 | 35 | } else if (!left_is_const && right_is_const) { | 496 | 35 | auto col_res = ColumnUInt8::create(); | 497 | | | 498 | 35 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 499 | 35 | vec_res.resize(col_left->size()); | 500 | 35 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 501 | 35 | typename PrimitiveTypeTraits<PT>::CppType, | 502 | 35 | Op<PT>>::vector_constant(col_left->get_data(), | 503 | 35 | col_right->get_element(0), vec_res); | 504 | | | 505 | 35 | block.replace_by_position(result, std::move(col_res)); | 506 | 35 | } 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 | 35 | return Status::OK(); | 519 | 35 | } |
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 | 19 | const ColumnPtr& col_right_ptr) const { | 476 | 19 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 477 | 19 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 478 | | | 479 | 19 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 480 | 19 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 481 | | | 482 | 19 | 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 | 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 | 19 | return Status::OK(); | 519 | 19 | } |
_ZNK5doris18FunctionComparisonINS_14LessOrEqualsOpENS_16NameLessOrEqualsEE16execute_num_typeILNS_13PrimitiveTypeE9EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 475 | 113 | const ColumnPtr& col_right_ptr) const { | 476 | 113 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 477 | 113 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 478 | | | 479 | 113 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 480 | 113 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 481 | | | 482 | 113 | DCHECK(!(left_is_const && right_is_const)); | 483 | | | 484 | 113 | 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 | 93 | } else if (!left_is_const && right_is_const) { | 496 | 93 | auto col_res = ColumnUInt8::create(); | 497 | | | 498 | 93 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 499 | 93 | vec_res.resize(col_left->size()); | 500 | 93 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 501 | 93 | typename PrimitiveTypeTraits<PT>::CppType, | 502 | 93 | Op<PT>>::vector_constant(col_left->get_data(), | 503 | 93 | col_right->get_element(0), vec_res); | 504 | | | 505 | 93 | block.replace_by_position(result, std::move(col_res)); | 506 | 93 | } 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 | 113 | return Status::OK(); | 519 | 113 | } |
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 | 2.93k | const ColumnWithTypeAndName& col_right) const { |
523 | 2.93k | auto call = [&](const auto& type) -> bool { |
524 | 2.93k | using DispatchType = std::decay_t<decltype(type)>; |
525 | 2.93k | DecimalComparison<DispatchType::PType, DispatchType::PType, Op, false>( |
526 | 2.93k | block, result, col_left, col_right); |
527 | 2.93k | return true; |
528 | 2.93k | }; _ZZNK5doris18FunctionComparisonINS_8EqualsOpENS_10NameEqualsEE15execute_decimalERNS_5BlockEjRKNS_21ColumnWithTypeAndNameES8_ENKUlRKT_E_clINS_16DispatchDataTypeILNS_13PrimitiveTypeE28EEEEEbSB_ Line | Count | Source | 523 | 125 | auto call = [&](const auto& type) -> bool { | 524 | 125 | using DispatchType = std::decay_t<decltype(type)>; | 525 | 125 | DecimalComparison<DispatchType::PType, DispatchType::PType, Op, false>( | 526 | 125 | block, result, col_left, col_right); | 527 | 125 | return true; | 528 | 125 | }; |
_ZZNK5doris18FunctionComparisonINS_8EqualsOpENS_10NameEqualsEE15execute_decimalERNS_5BlockEjRKNS_21ColumnWithTypeAndNameES8_ENKUlRKT_E_clINS_16DispatchDataTypeILNS_13PrimitiveTypeE29EEEEEbSB_ Line | Count | Source | 523 | 143 | auto call = [&](const auto& type) -> bool { | 524 | 143 | using DispatchType = std::decay_t<decltype(type)>; | 525 | 143 | DecimalComparison<DispatchType::PType, DispatchType::PType, Op, false>( | 526 | 143 | block, result, col_left, col_right); | 527 | 143 | return true; | 528 | 143 | }; |
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 | 819 | auto call = [&](const auto& type) -> bool { | 524 | 819 | using DispatchType = std::decay_t<decltype(type)>; | 525 | 819 | DecimalComparison<DispatchType::PType, DispatchType::PType, Op, false>( | 526 | 819 | block, result, col_left, col_right); | 527 | 819 | return true; | 528 | 819 | }; |
_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 | 66 | auto call = [&](const auto& type) -> bool { | 524 | 66 | using DispatchType = std::decay_t<decltype(type)>; | 525 | 66 | DecimalComparison<DispatchType::PType, DispatchType::PType, Op, false>( | 526 | 66 | block, result, col_left, col_right); | 527 | 66 | return true; | 528 | 66 | }; |
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 | 66 | auto call = [&](const auto& type) -> bool { | 524 | 66 | using DispatchType = std::decay_t<decltype(type)>; | 525 | 66 | DecimalComparison<DispatchType::PType, DispatchType::PType, Op, false>( | 526 | 66 | block, result, col_left, col_right); | 527 | 66 | return true; | 528 | 66 | }; |
Unexecuted instantiation: _ZZNK5doris18FunctionComparisonINS_9GreaterOpENS_11NameGreaterEE15execute_decimalERNS_5BlockEjRKNS_21ColumnWithTypeAndNameES8_ENKUlRKT_E_clINS_16DispatchDataTypeILNS_13PrimitiveTypeE20EEEEEbSB_ _ZZNK5doris18FunctionComparisonINS_9GreaterOpENS_11NameGreaterEE15execute_decimalERNS_5BlockEjRKNS_21ColumnWithTypeAndNameES8_ENKUlRKT_E_clINS_16DispatchDataTypeILNS_13PrimitiveTypeE30EEEEEbSB_ Line | Count | Source | 523 | 615 | auto call = [&](const auto& type) -> bool { | 524 | 615 | using DispatchType = std::decay_t<decltype(type)>; | 525 | 615 | DecimalComparison<DispatchType::PType, DispatchType::PType, Op, false>( | 526 | 615 | block, result, col_left, col_right); | 527 | 615 | return true; | 528 | 615 | }; |
_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 | 52 | auto call = [&](const auto& type) -> bool { | 524 | 52 | using DispatchType = std::decay_t<decltype(type)>; | 525 | 52 | DecimalComparison<DispatchType::PType, DispatchType::PType, Op, false>( | 526 | 52 | block, result, col_left, col_right); | 527 | 52 | return true; | 528 | 52 | }; |
Unexecuted instantiation: _ZZNK5doris18FunctionComparisonINS_17GreaterOrEqualsOpENS_19NameGreaterOrEqualsEE15execute_decimalERNS_5BlockEjRKNS_21ColumnWithTypeAndNameES8_ENKUlRKT_E_clINS_16DispatchDataTypeILNS_13PrimitiveTypeE20EEEEEbSB_ _ZZNK5doris18FunctionComparisonINS_17GreaterOrEqualsOpENS_19NameGreaterOrEqualsEE15execute_decimalERNS_5BlockEjRKNS_21ColumnWithTypeAndNameES8_ENKUlRKT_E_clINS_16DispatchDataTypeILNS_13PrimitiveTypeE30EEEEEbSB_ Line | Count | Source | 523 | 81 | auto call = [&](const auto& type) -> bool { | 524 | 81 | using DispatchType = std::decay_t<decltype(type)>; | 525 | 81 | DecimalComparison<DispatchType::PType, DispatchType::PType, Op, false>( | 526 | 81 | block, result, col_left, col_right); | 527 | 81 | return true; | 528 | 81 | }; |
_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 | 178 | auto call = [&](const auto& type) -> bool { | 524 | 178 | using DispatchType = std::decay_t<decltype(type)>; | 525 | 178 | DecimalComparison<DispatchType::PType, DispatchType::PType, Op, false>( | 526 | 178 | block, result, col_left, col_right); | 527 | 178 | return true; | 528 | 178 | }; |
_ZZNK5doris18FunctionComparisonINS_6LessOpENS_8NameLessEE15execute_decimalERNS_5BlockEjRKNS_21ColumnWithTypeAndNameES8_ENKUlRKT_E_clINS_16DispatchDataTypeILNS_13PrimitiveTypeE29EEEEEbSB_ Line | Count | Source | 523 | 201 | auto call = [&](const auto& type) -> bool { | 524 | 201 | using DispatchType = std::decay_t<decltype(type)>; | 525 | 201 | DecimalComparison<DispatchType::PType, DispatchType::PType, Op, false>( | 526 | 201 | block, result, col_left, col_right); | 527 | 201 | return true; | 528 | 201 | }; |
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 | 283 | auto call = [&](const auto& type) -> bool { | 524 | 283 | using DispatchType = std::decay_t<decltype(type)>; | 525 | 283 | DecimalComparison<DispatchType::PType, DispatchType::PType, Op, false>( | 526 | 283 | block, result, col_left, col_right); | 527 | 283 | return true; | 528 | 283 | }; |
_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 | 63 | auto call = [&](const auto& type) -> bool { | 524 | 63 | using DispatchType = std::decay_t<decltype(type)>; | 525 | 63 | DecimalComparison<DispatchType::PType, DispatchType::PType, Op, false>( | 526 | 63 | block, result, col_left, col_right); | 527 | 63 | return true; | 528 | 63 | }; |
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 | 117 | auto call = [&](const auto& type) -> bool { | 524 | 117 | using DispatchType = std::decay_t<decltype(type)>; | 525 | 117 | DecimalComparison<DispatchType::PType, DispatchType::PType, Op, false>( | 526 | 117 | block, result, col_left, col_right); | 527 | 117 | return true; | 528 | 117 | }; |
_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 | 2.93k | 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 | 2.93k | 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 | 2.93k | return Status::OK(); |
541 | 2.93k | } _ZNK5doris18FunctionComparisonINS_8EqualsOpENS_10NameEqualsEE15execute_decimalERNS_5BlockEjRKNS_21ColumnWithTypeAndNameES8_ Line | Count | Source | 522 | 1.11k | const ColumnWithTypeAndName& col_right) const { | 523 | 1.11k | auto call = [&](const auto& type) -> bool { | 524 | 1.11k | using DispatchType = std::decay_t<decltype(type)>; | 525 | 1.11k | DecimalComparison<DispatchType::PType, DispatchType::PType, Op, false>( | 526 | 1.11k | block, result, col_left, col_right); | 527 | 1.11k | return true; | 528 | 1.11k | }; | 529 | | | 530 | 1.11k | 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.11k | 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.11k | return Status::OK(); | 541 | 1.11k | } |
_ZNK5doris18FunctionComparisonINS_11NotEqualsOpENS_13NameNotEqualsEE15execute_decimalERNS_5BlockEjRKNS_21ColumnWithTypeAndNameES8_ Line | Count | Source | 522 | 124 | const ColumnWithTypeAndName& col_right) const { | 523 | 124 | auto call = [&](const auto& type) -> bool { | 524 | 124 | using DispatchType = std::decay_t<decltype(type)>; | 525 | 124 | DecimalComparison<DispatchType::PType, DispatchType::PType, Op, false>( | 526 | 124 | block, result, col_left, col_right); | 527 | 124 | return true; | 528 | 124 | }; | 529 | | | 530 | 124 | 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 | 124 | 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 | 124 | return Status::OK(); | 541 | 124 | } |
_ZNK5doris18FunctionComparisonINS_9GreaterOpENS_11NameGreaterEE15execute_decimalERNS_5BlockEjRKNS_21ColumnWithTypeAndNameES8_ Line | Count | Source | 522 | 690 | const ColumnWithTypeAndName& col_right) const { | 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 | }; | 529 | | | 530 | 690 | 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 | 690 | 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 | 690 | return Status::OK(); | 541 | 690 | } |
_ZNK5doris18FunctionComparisonINS_17GreaterOrEqualsOpENS_19NameGreaterOrEqualsEE15execute_decimalERNS_5BlockEjRKNS_21ColumnWithTypeAndNameES8_ Line | Count | Source | 522 | 148 | const ColumnWithTypeAndName& col_right) const { | 523 | 148 | auto call = [&](const auto& type) -> bool { | 524 | 148 | using DispatchType = std::decay_t<decltype(type)>; | 525 | 148 | DecimalComparison<DispatchType::PType, DispatchType::PType, Op, false>( | 526 | 148 | block, result, col_left, col_right); | 527 | 148 | return true; | 528 | 148 | }; | 529 | | | 530 | 148 | 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 | 148 | 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 | 148 | return Status::OK(); | 541 | 148 | } |
_ZNK5doris18FunctionComparisonINS_6LessOpENS_8NameLessEE15execute_decimalERNS_5BlockEjRKNS_21ColumnWithTypeAndNameES8_ Line | Count | Source | 522 | 663 | const ColumnWithTypeAndName& col_right) const { | 523 | 663 | auto call = [&](const auto& type) -> bool { | 524 | 663 | using DispatchType = std::decay_t<decltype(type)>; | 525 | 663 | DecimalComparison<DispatchType::PType, DispatchType::PType, Op, false>( | 526 | 663 | block, result, col_left, col_right); | 527 | 663 | return true; | 528 | 663 | }; | 529 | | | 530 | 663 | 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 | 663 | 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 | 663 | return Status::OK(); | 541 | 663 | } |
_ZNK5doris18FunctionComparisonINS_14LessOrEqualsOpENS_16NameLessOrEqualsEE15execute_decimalERNS_5BlockEjRKNS_21ColumnWithTypeAndNameES8_ Line | Count | Source | 522 | 193 | const ColumnWithTypeAndName& col_right) const { | 523 | 193 | auto call = [&](const auto& type) -> bool { | 524 | 193 | using DispatchType = std::decay_t<decltype(type)>; | 525 | 193 | DecimalComparison<DispatchType::PType, DispatchType::PType, Op, false>( | 526 | 193 | block, result, col_left, col_right); | 527 | 193 | return true; | 528 | 193 | }; | 529 | | | 530 | 193 | 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 | 193 | 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 | 193 | return Status::OK(); | 541 | 193 | } |
|
542 | | |
543 | | Status execute_string(Block& block, uint32_t result, const IColumn* c0, |
544 | 12.1k | const IColumn* c1) const { |
545 | 12.1k | const ColumnString* c0_string = check_and_get_column<ColumnString>(c0); |
546 | 12.1k | const ColumnString* c1_string = check_and_get_column<ColumnString>(c1); |
547 | 12.1k | const ColumnConst* c0_const = check_and_get_column_const_string_or_fixedstring(c0); |
548 | 12.1k | const ColumnConst* c1_const = check_and_get_column_const_string_or_fixedstring(c1); |
549 | 12.1k | 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 | 12.1k | DCHECK(!(c0_const && c1_const)); |
554 | 12.1k | const ColumnString::Chars* c0_const_chars = nullptr; |
555 | 12.1k | const ColumnString::Chars* c1_const_chars = nullptr; |
556 | 12.1k | ColumnString::Offset c0_const_size = 0; |
557 | 12.1k | ColumnString::Offset c1_const_size = 0; |
558 | | |
559 | 12.1k | if (c0_const) { |
560 | 82 | const ColumnString* c0_const_string = |
561 | 82 | check_and_get_column<ColumnString>(&c0_const->get_data_column()); |
562 | | |
563 | 82 | if (c0_const_string) { |
564 | 82 | c0_const_chars = &c0_const_string->get_chars(); |
565 | 82 | c0_const_size = c0_const_string->get_offsets()[0]; |
566 | 82 | } else { |
567 | 0 | return Status::NotSupported("Illegal columns {}, of argument of function {}", |
568 | 0 | c0->get_name(), name); |
569 | 0 | } |
570 | 82 | } |
571 | | |
572 | 12.1k | if (c1_const) { |
573 | 11.2k | const ColumnString* c1_const_string = |
574 | 11.2k | check_and_get_column<ColumnString>(&c1_const->get_data_column()); |
575 | | |
576 | 11.2k | if (c1_const_string) { |
577 | 11.2k | c1_const_chars = &c1_const_string->get_chars(); |
578 | 11.2k | c1_const_size = c1_const_string->get_offsets()[0]; |
579 | 11.2k | } else { |
580 | 0 | return Status::NotSupported("Illegal columns {}, of argument of function {}", |
581 | 0 | c1->get_name(), name); |
582 | 0 | } |
583 | 11.2k | } |
584 | | |
585 | 12.1k | using StringImpl = StringComparisonImpl<Op<TYPE_INT>>; |
586 | | |
587 | 12.1k | auto c_res = ColumnUInt8::create(); |
588 | 12.1k | ColumnUInt8::Container& vec_res = c_res->get_data(); |
589 | 12.1k | vec_res.resize(c0->size()); |
590 | | |
591 | 12.1k | if (c0_string && c1_string) { |
592 | 822 | StringImpl::string_vector_string_vector( |
593 | 822 | c0_string->get_chars(), c0_string->get_offsets(), c1_string->get_chars(), |
594 | 822 | c1_string->get_offsets(), vec_res); |
595 | 11.3k | } else if (c0_string && c1_const) { |
596 | 11.2k | StringImpl::string_vector_constant(c0_string->get_chars(), c0_string->get_offsets(), |
597 | 11.2k | *c1_const_chars, c1_const_size, vec_res); |
598 | 11.2k | } else if (c0_const && c1_string) { |
599 | 82 | StringImpl::constant_string_vector(*c0_const_chars, c0_const_size, |
600 | 82 | c1_string->get_chars(), c1_string->get_offsets(), |
601 | 82 | vec_res); |
602 | 82 | } else { |
603 | 0 | return Status::NotSupported("Illegal columns {}, {} of argument of function {}", |
604 | 0 | c0->get_name(), c1->get_name(), name); |
605 | 0 | } |
606 | 12.1k | block.replace_by_position(result, std::move(c_res)); |
607 | 12.1k | return Status::OK(); |
608 | 12.1k | } _ZNK5doris18FunctionComparisonINS_8EqualsOpENS_10NameEqualsEE14execute_stringERNS_5BlockEjPKNS_7IColumnES8_ Line | Count | Source | 544 | 10.8k | const IColumn* c1) const { | 545 | 10.8k | const ColumnString* c0_string = check_and_get_column<ColumnString>(c0); | 546 | 10.8k | const ColumnString* c1_string = check_and_get_column<ColumnString>(c1); | 547 | 10.8k | const ColumnConst* c0_const = check_and_get_column_const_string_or_fixedstring(c0); | 548 | 10.8k | const ColumnConst* c1_const = check_and_get_column_const_string_or_fixedstring(c1); | 549 | 10.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 | 10.8k | DCHECK(!(c0_const && c1_const)); | 554 | 10.8k | const ColumnString::Chars* c0_const_chars = nullptr; | 555 | 10.8k | const ColumnString::Chars* c1_const_chars = nullptr; | 556 | 10.8k | ColumnString::Offset c0_const_size = 0; | 557 | 10.8k | ColumnString::Offset c1_const_size = 0; | 558 | | | 559 | 10.8k | if (c0_const) { | 560 | 16 | const ColumnString* c0_const_string = | 561 | 16 | check_and_get_column<ColumnString>(&c0_const->get_data_column()); | 562 | | | 563 | 16 | if (c0_const_string) { | 564 | 16 | c0_const_chars = &c0_const_string->get_chars(); | 565 | 16 | c0_const_size = c0_const_string->get_offsets()[0]; | 566 | 16 | } else { | 567 | 0 | return Status::NotSupported("Illegal columns {}, of argument of function {}", | 568 | 0 | c0->get_name(), name); | 569 | 0 | } | 570 | 16 | } | 571 | | | 572 | 10.8k | if (c1_const) { | 573 | 10.4k | const ColumnString* c1_const_string = | 574 | 10.4k | check_and_get_column<ColumnString>(&c1_const->get_data_column()); | 575 | | | 576 | 10.4k | if (c1_const_string) { | 577 | 10.4k | c1_const_chars = &c1_const_string->get_chars(); | 578 | 10.4k | c1_const_size = c1_const_string->get_offsets()[0]; | 579 | 10.4k | } else { | 580 | 0 | return Status::NotSupported("Illegal columns {}, of argument of function {}", | 581 | 0 | c1->get_name(), name); | 582 | 0 | } | 583 | 10.4k | } | 584 | | | 585 | 10.8k | using StringImpl = StringComparisonImpl<Op<TYPE_INT>>; | 586 | | | 587 | 10.8k | auto c_res = ColumnUInt8::create(); | 588 | 10.8k | ColumnUInt8::Container& vec_res = c_res->get_data(); | 589 | 10.8k | vec_res.resize(c0->size()); | 590 | | | 591 | 10.8k | if (c0_string && c1_string) { | 592 | 385 | StringImpl::string_vector_string_vector( | 593 | 385 | c0_string->get_chars(), c0_string->get_offsets(), c1_string->get_chars(), | 594 | 385 | c1_string->get_offsets(), vec_res); | 595 | 10.4k | } else if (c0_string && c1_const) { | 596 | 10.4k | StringImpl::string_vector_constant(c0_string->get_chars(), c0_string->get_offsets(), | 597 | 10.4k | *c1_const_chars, c1_const_size, vec_res); | 598 | 10.4k | } else if (c0_const && c1_string) { | 599 | 16 | StringImpl::constant_string_vector(*c0_const_chars, c0_const_size, | 600 | 16 | c1_string->get_chars(), c1_string->get_offsets(), | 601 | 16 | vec_res); | 602 | 16 | } 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.8k | block.replace_by_position(result, std::move(c_res)); | 607 | 10.8k | return Status::OK(); | 608 | 10.8k | } |
_ZNK5doris18FunctionComparisonINS_11NotEqualsOpENS_13NameNotEqualsEE14execute_stringERNS_5BlockEjPKNS_7IColumnES8_ Line | Count | Source | 544 | 145 | const IColumn* c1) const { | 545 | 145 | const ColumnString* c0_string = check_and_get_column<ColumnString>(c0); | 546 | 145 | const ColumnString* c1_string = check_and_get_column<ColumnString>(c1); | 547 | 145 | const ColumnConst* c0_const = check_and_get_column_const_string_or_fixedstring(c0); | 548 | 145 | const ColumnConst* c1_const = check_and_get_column_const_string_or_fixedstring(c1); | 549 | 145 | 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 | 145 | DCHECK(!(c0_const && c1_const)); | 554 | 145 | const ColumnString::Chars* c0_const_chars = nullptr; | 555 | 145 | const ColumnString::Chars* c1_const_chars = nullptr; | 556 | 145 | ColumnString::Offset c0_const_size = 0; | 557 | 145 | ColumnString::Offset c1_const_size = 0; | 558 | | | 559 | 145 | 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 | 145 | if (c1_const) { | 573 | 141 | const ColumnString* c1_const_string = | 574 | 141 | check_and_get_column<ColumnString>(&c1_const->get_data_column()); | 575 | | | 576 | 141 | if (c1_const_string) { | 577 | 141 | c1_const_chars = &c1_const_string->get_chars(); | 578 | 141 | c1_const_size = c1_const_string->get_offsets()[0]; | 579 | 141 | } else { | 580 | 0 | return Status::NotSupported("Illegal columns {}, of argument of function {}", | 581 | 0 | c1->get_name(), name); | 582 | 0 | } | 583 | 141 | } | 584 | | | 585 | 145 | using StringImpl = StringComparisonImpl<Op<TYPE_INT>>; | 586 | | | 587 | 145 | auto c_res = ColumnUInt8::create(); | 588 | 145 | ColumnUInt8::Container& vec_res = c_res->get_data(); | 589 | 145 | vec_res.resize(c0->size()); | 590 | | | 591 | 145 | 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 | 141 | } else if (c0_string && c1_const) { | 596 | 141 | StringImpl::string_vector_constant(c0_string->get_chars(), c0_string->get_offsets(), | 597 | 141 | *c1_const_chars, c1_const_size, vec_res); | 598 | 141 | } 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 | 145 | block.replace_by_position(result, std::move(c_res)); | 607 | 145 | return Status::OK(); | 608 | 145 | } |
_ZNK5doris18FunctionComparisonINS_9GreaterOpENS_11NameGreaterEE14execute_stringERNS_5BlockEjPKNS_7IColumnES8_ Line | Count | Source | 544 | 175 | const IColumn* c1) const { | 545 | 175 | const ColumnString* c0_string = check_and_get_column<ColumnString>(c0); | 546 | 175 | const ColumnString* c1_string = check_and_get_column<ColumnString>(c1); | 547 | 175 | const ColumnConst* c0_const = check_and_get_column_const_string_or_fixedstring(c0); | 548 | 175 | const ColumnConst* c1_const = check_and_get_column_const_string_or_fixedstring(c1); | 549 | 175 | 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 | 175 | DCHECK(!(c0_const && c1_const)); | 554 | 175 | const ColumnString::Chars* c0_const_chars = nullptr; | 555 | 175 | const ColumnString::Chars* c1_const_chars = nullptr; | 556 | 175 | ColumnString::Offset c0_const_size = 0; | 557 | 175 | ColumnString::Offset c1_const_size = 0; | 558 | | | 559 | 175 | 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 | 175 | if (c1_const) { | 573 | 173 | const ColumnString* c1_const_string = | 574 | 173 | check_and_get_column<ColumnString>(&c1_const->get_data_column()); | 575 | | | 576 | 173 | if (c1_const_string) { | 577 | 173 | c1_const_chars = &c1_const_string->get_chars(); | 578 | 173 | c1_const_size = c1_const_string->get_offsets()[0]; | 579 | 173 | } else { | 580 | 0 | return Status::NotSupported("Illegal columns {}, of argument of function {}", | 581 | 0 | c1->get_name(), name); | 582 | 0 | } | 583 | 173 | } | 584 | | | 585 | 175 | using StringImpl = StringComparisonImpl<Op<TYPE_INT>>; | 586 | | | 587 | 175 | auto c_res = ColumnUInt8::create(); | 588 | 175 | ColumnUInt8::Container& vec_res = c_res->get_data(); | 589 | 175 | vec_res.resize(c0->size()); | 590 | | | 591 | 175 | 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 | 173 | } else if (c0_string && c1_const) { | 596 | 173 | StringImpl::string_vector_constant(c0_string->get_chars(), c0_string->get_offsets(), | 597 | 173 | *c1_const_chars, c1_const_size, vec_res); | 598 | 173 | } 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 | 175 | block.replace_by_position(result, std::move(c_res)); | 607 | 175 | return Status::OK(); | 608 | 175 | } |
_ZNK5doris18FunctionComparisonINS_17GreaterOrEqualsOpENS_19NameGreaterOrEqualsEE14execute_stringERNS_5BlockEjPKNS_7IColumnES8_ Line | Count | Source | 544 | 267 | const IColumn* c1) const { | 545 | 267 | const ColumnString* c0_string = check_and_get_column<ColumnString>(c0); | 546 | 267 | const ColumnString* c1_string = check_and_get_column<ColumnString>(c1); | 547 | 267 | const ColumnConst* c0_const = check_and_get_column_const_string_or_fixedstring(c0); | 548 | 267 | const ColumnConst* c1_const = check_and_get_column_const_string_or_fixedstring(c1); | 549 | 267 | 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 | 267 | DCHECK(!(c0_const && c1_const)); | 554 | 267 | const ColumnString::Chars* c0_const_chars = nullptr; | 555 | 267 | const ColumnString::Chars* c1_const_chars = nullptr; | 556 | 267 | ColumnString::Offset c0_const_size = 0; | 557 | 267 | ColumnString::Offset c1_const_size = 0; | 558 | | | 559 | 267 | if (c0_const) { | 560 | 60 | const ColumnString* c0_const_string = | 561 | 60 | check_and_get_column<ColumnString>(&c0_const->get_data_column()); | 562 | | | 563 | 60 | if (c0_const_string) { | 564 | 60 | c0_const_chars = &c0_const_string->get_chars(); | 565 | 60 | c0_const_size = c0_const_string->get_offsets()[0]; | 566 | 60 | } else { | 567 | 0 | return Status::NotSupported("Illegal columns {}, of argument of function {}", | 568 | 0 | c0->get_name(), name); | 569 | 0 | } | 570 | 60 | } | 571 | | | 572 | 267 | if (c1_const) { | 573 | 171 | const ColumnString* c1_const_string = | 574 | 171 | check_and_get_column<ColumnString>(&c1_const->get_data_column()); | 575 | | | 576 | 171 | if (c1_const_string) { | 577 | 171 | c1_const_chars = &c1_const_string->get_chars(); | 578 | 171 | c1_const_size = c1_const_string->get_offsets()[0]; | 579 | 171 | } else { | 580 | 0 | return Status::NotSupported("Illegal columns {}, of argument of function {}", | 581 | 0 | c1->get_name(), name); | 582 | 0 | } | 583 | 171 | } | 584 | | | 585 | 267 | using StringImpl = StringComparisonImpl<Op<TYPE_INT>>; | 586 | | | 587 | 267 | auto c_res = ColumnUInt8::create(); | 588 | 267 | ColumnUInt8::Container& vec_res = c_res->get_data(); | 589 | 267 | vec_res.resize(c0->size()); | 590 | | | 591 | 267 | 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 | 231 | } else if (c0_string && c1_const) { | 596 | 171 | StringImpl::string_vector_constant(c0_string->get_chars(), c0_string->get_offsets(), | 597 | 171 | *c1_const_chars, c1_const_size, vec_res); | 598 | 171 | } else if (c0_const && c1_string) { | 599 | 60 | StringImpl::constant_string_vector(*c0_const_chars, c0_const_size, | 600 | 60 | c1_string->get_chars(), c1_string->get_offsets(), | 601 | 60 | vec_res); | 602 | 60 | } else { | 603 | 0 | return Status::NotSupported("Illegal columns {}, {} of argument of function {}", | 604 | 0 | c0->get_name(), c1->get_name(), name); | 605 | 0 | } | 606 | 267 | block.replace_by_position(result, std::move(c_res)); | 607 | 267 | return Status::OK(); | 608 | 267 | } |
_ZNK5doris18FunctionComparisonINS_6LessOpENS_8NameLessEE14execute_stringERNS_5BlockEjPKNS_7IColumnES8_ Line | Count | Source | 544 | 495 | const IColumn* c1) const { | 545 | 495 | const ColumnString* c0_string = check_and_get_column<ColumnString>(c0); | 546 | 495 | const ColumnString* c1_string = check_and_get_column<ColumnString>(c1); | 547 | 495 | const ColumnConst* c0_const = check_and_get_column_const_string_or_fixedstring(c0); | 548 | 495 | const ColumnConst* c1_const = check_and_get_column_const_string_or_fixedstring(c1); | 549 | 495 | 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 | 495 | DCHECK(!(c0_const && c1_const)); | 554 | 495 | const ColumnString::Chars* c0_const_chars = nullptr; | 555 | 495 | const ColumnString::Chars* c1_const_chars = nullptr; | 556 | 495 | ColumnString::Offset c0_const_size = 0; | 557 | 495 | ColumnString::Offset c1_const_size = 0; | 558 | | | 559 | 495 | 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 | 495 | 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 | 495 | using StringImpl = StringComparisonImpl<Op<TYPE_INT>>; | 586 | | | 587 | 495 | auto c_res = ColumnUInt8::create(); | 588 | 495 | ColumnUInt8::Container& vec_res = c_res->get_data(); | 589 | 495 | vec_res.resize(c0->size()); | 590 | | | 591 | 495 | if (c0_string && c1_string) { | 592 | 395 | StringImpl::string_vector_string_vector( | 593 | 395 | c0_string->get_chars(), c0_string->get_offsets(), c1_string->get_chars(), | 594 | 395 | c1_string->get_offsets(), vec_res); | 595 | 395 | } 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 | 495 | block.replace_by_position(result, std::move(c_res)); | 607 | 495 | return Status::OK(); | 608 | 495 | } |
_ZNK5doris18FunctionComparisonINS_14LessOrEqualsOpENS_16NameLessOrEqualsEE14execute_stringERNS_5BlockEjPKNS_7IColumnES8_ Line | Count | Source | 544 | 219 | const IColumn* c1) const { | 545 | 219 | const ColumnString* c0_string = check_and_get_column<ColumnString>(c0); | 546 | 219 | const ColumnString* c1_string = check_and_get_column<ColumnString>(c1); | 547 | 219 | const ColumnConst* c0_const = check_and_get_column_const_string_or_fixedstring(c0); | 548 | 219 | const ColumnConst* c1_const = check_and_get_column_const_string_or_fixedstring(c1); | 549 | 219 | 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 | 219 | DCHECK(!(c0_const && c1_const)); | 554 | 219 | const ColumnString::Chars* c0_const_chars = nullptr; | 555 | 219 | const ColumnString::Chars* c1_const_chars = nullptr; | 556 | 219 | ColumnString::Offset c0_const_size = 0; | 557 | 219 | ColumnString::Offset c1_const_size = 0; | 558 | | | 559 | 219 | 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 | 219 | if (c1_const) { | 573 | 219 | const ColumnString* c1_const_string = | 574 | 219 | check_and_get_column<ColumnString>(&c1_const->get_data_column()); | 575 | | | 576 | 219 | if (c1_const_string) { | 577 | 219 | c1_const_chars = &c1_const_string->get_chars(); | 578 | 219 | c1_const_size = c1_const_string->get_offsets()[0]; | 579 | 219 | } else { | 580 | 0 | return Status::NotSupported("Illegal columns {}, of argument of function {}", | 581 | 0 | c1->get_name(), name); | 582 | 0 | } | 583 | 219 | } | 584 | | | 585 | 219 | using StringImpl = StringComparisonImpl<Op<TYPE_INT>>; | 586 | | | 587 | 219 | auto c_res = ColumnUInt8::create(); | 588 | 219 | ColumnUInt8::Container& vec_res = c_res->get_data(); | 589 | 219 | vec_res.resize(c0->size()); | 590 | | | 591 | 219 | 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 | 219 | } else if (c0_string && c1_const) { | 596 | 219 | StringImpl::string_vector_constant(c0_string->get_chars(), c0_string->get_offsets(), | 597 | 219 | *c1_const_chars, c1_const_size, vec_res); | 598 | 219 | } 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 | 219 | block.replace_by_position(result, std::move(c_res)); | 607 | 219 | return Status::OK(); | 608 | 219 | } |
|
609 | | |
610 | | void execute_generic_identical_types(Block& block, uint32_t result, const IColumn* c0, |
611 | 171 | const IColumn* c1) const { |
612 | 171 | bool c0_const = is_column_const(*c0); |
613 | 171 | bool c1_const = is_column_const(*c1); |
614 | | |
615 | 171 | DCHECK(!(c0_const && c1_const)); |
616 | | |
617 | 171 | auto c_res = ColumnUInt8::create(); |
618 | 171 | ColumnUInt8::Container& vec_res = c_res->get_data(); |
619 | 171 | vec_res.resize(c0->size()); |
620 | | |
621 | 171 | if (c0_const) { |
622 | 0 | GenericComparisonImpl<Op<TYPE_INT>>::constant_vector(*c0, *c1, vec_res); |
623 | 171 | } else if (c1_const) { |
624 | 162 | GenericComparisonImpl<Op<TYPE_INT>>::vector_constant(*c0, *c1, vec_res); |
625 | 162 | } else { |
626 | 9 | GenericComparisonImpl<Op<TYPE_INT>>::vector_vector(*c0, *c1, vec_res); |
627 | 9 | } |
628 | | |
629 | 171 | block.replace_by_position(result, std::move(c_res)); |
630 | 171 | } _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 | 65 | const IColumn* c1) const { | 612 | 65 | bool c0_const = is_column_const(*c0); | 613 | 65 | bool c1_const = is_column_const(*c1); | 614 | | | 615 | 65 | DCHECK(!(c0_const && c1_const)); | 616 | | | 617 | 65 | auto c_res = ColumnUInt8::create(); | 618 | 65 | ColumnUInt8::Container& vec_res = c_res->get_data(); | 619 | 65 | vec_res.resize(c0->size()); | 620 | | | 621 | 65 | if (c0_const) { | 622 | 0 | GenericComparisonImpl<Op<TYPE_INT>>::constant_vector(*c0, *c1, vec_res); | 623 | 65 | } else if (c1_const) { | 624 | 64 | GenericComparisonImpl<Op<TYPE_INT>>::vector_constant(*c0, *c1, vec_res); | 625 | 64 | } else { | 626 | 1 | GenericComparisonImpl<Op<TYPE_INT>>::vector_vector(*c0, *c1, vec_res); | 627 | 1 | } | 628 | | | 629 | 65 | block.replace_by_position(result, std::move(c_res)); | 630 | 65 | } |
_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 | 61 | const IColumn* c1) const { | 612 | 61 | bool c0_const = is_column_const(*c0); | 613 | 61 | bool c1_const = is_column_const(*c1); | 614 | | | 615 | 61 | DCHECK(!(c0_const && c1_const)); | 616 | | | 617 | 61 | auto c_res = ColumnUInt8::create(); | 618 | 61 | ColumnUInt8::Container& vec_res = c_res->get_data(); | 619 | 61 | vec_res.resize(c0->size()); | 620 | | | 621 | 61 | if (c0_const) { | 622 | 0 | GenericComparisonImpl<Op<TYPE_INT>>::constant_vector(*c0, *c1, vec_res); | 623 | 61 | } else if (c1_const) { | 624 | 61 | GenericComparisonImpl<Op<TYPE_INT>>::vector_constant(*c0, *c1, vec_res); | 625 | 61 | } else { | 626 | 0 | GenericComparisonImpl<Op<TYPE_INT>>::vector_vector(*c0, *c1, vec_res); | 627 | 0 | } | 628 | | | 629 | 61 | block.replace_by_position(result, std::move(c_res)); | 630 | 61 | } |
|
631 | | |
632 | | Status execute_generic(Block& block, uint32_t result, const ColumnWithTypeAndName& c0, |
633 | 171 | const ColumnWithTypeAndName& c1) const { |
634 | 171 | execute_generic_identical_types(block, result, c0.column.get(), c1.column.get()); |
635 | 171 | return Status::OK(); |
636 | 171 | } _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 | 65 | const ColumnWithTypeAndName& c1) const { | 634 | 65 | execute_generic_identical_types(block, result, c0.column.get(), c1.column.get()); | 635 | 65 | return Status::OK(); | 636 | 65 | } |
_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 | 61 | const ColumnWithTypeAndName& c1) const { | 634 | 61 | execute_generic_identical_types(block, result, c0.column.get(), c1.column.get()); | 635 | 61 | return Status::OK(); | 636 | 61 | } |
|
637 | | |
638 | | public: |
639 | 220 | 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 | 79 | 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 | 270k | size_t get_number_of_arguments() const override { return 2; }_ZNK5doris18FunctionComparisonINS_8EqualsOpENS_10NameEqualsEE23get_number_of_argumentsEv Line | Count | Source | 641 | 242k | size_t get_number_of_arguments() const override { return 2; } |
_ZNK5doris18FunctionComparisonINS_11NotEqualsOpENS_13NameNotEqualsEE23get_number_of_argumentsEv Line | Count | Source | 641 | 1.14k | size_t get_number_of_arguments() const override { return 2; } |
_ZNK5doris18FunctionComparisonINS_9GreaterOpENS_11NameGreaterEE23get_number_of_argumentsEv Line | Count | Source | 641 | 4.97k | size_t get_number_of_arguments() const override { return 2; } |
_ZNK5doris18FunctionComparisonINS_17GreaterOrEqualsOpENS_19NameGreaterOrEqualsEE23get_number_of_argumentsEv Line | Count | Source | 641 | 8.42k | size_t get_number_of_arguments() const override { return 2; } |
_ZNK5doris18FunctionComparisonINS_6LessOpENS_8NameLessEE23get_number_of_argumentsEv Line | Count | Source | 641 | 2.99k | size_t get_number_of_arguments() const override { return 2; } |
_ZNK5doris18FunctionComparisonINS_14LessOrEqualsOpENS_16NameLessOrEqualsEE23get_number_of_argumentsEv Line | Count | Source | 641 | 10.4k | size_t get_number_of_arguments() const override { return 2; } |
|
642 | | |
643 | | ZoneMapFilterResult evaluate_zonemap_filter(const ZoneMapEvalContext& ctx, |
644 | 2.55k | const VExprSPtrs& arguments) const override { |
645 | 2.55k | auto op = comparison_zonemap_detail::op_from_name(name); |
646 | 2.55k | DORIS_CHECK(op.has_value()); |
647 | 2.55k | return comparison_zonemap_detail::evaluate(ctx, arguments, *op); |
648 | 2.55k | } _ZNK5doris18FunctionComparisonINS_8EqualsOpENS_10NameEqualsEE23evaluate_zonemap_filterERKNS_18ZoneMapEvalContextERKSt6vectorISt10shared_ptrINS_5VExprEESaISA_EE Line | Count | Source | 644 | 1.42k | const VExprSPtrs& arguments) const override { | 645 | 1.42k | auto op = comparison_zonemap_detail::op_from_name(name); | 646 | 1.42k | DORIS_CHECK(op.has_value()); | 647 | 1.42k | return comparison_zonemap_detail::evaluate(ctx, arguments, *op); | 648 | 1.42k | } |
_ZNK5doris18FunctionComparisonINS_11NotEqualsOpENS_13NameNotEqualsEE23evaluate_zonemap_filterERKNS_18ZoneMapEvalContextERKSt6vectorISt10shared_ptrINS_5VExprEESaISA_EE Line | Count | Source | 644 | 137 | const VExprSPtrs& arguments) const override { | 645 | 137 | auto op = comparison_zonemap_detail::op_from_name(name); | 646 | 137 | DORIS_CHECK(op.has_value()); | 647 | 137 | return comparison_zonemap_detail::evaluate(ctx, arguments, *op); | 648 | 137 | } |
_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 | 238 | const VExprSPtrs& arguments) const override { | 645 | 238 | auto op = comparison_zonemap_detail::op_from_name(name); | 646 | 238 | DORIS_CHECK(op.has_value()); | 647 | 238 | return comparison_zonemap_detail::evaluate(ctx, arguments, *op); | 648 | 238 | } |
_ZNK5doris18FunctionComparisonINS_6LessOpENS_8NameLessEE23evaluate_zonemap_filterERKNS_18ZoneMapEvalContextERKSt6vectorISt10shared_ptrINS_5VExprEESaISA_EE Line | Count | Source | 644 | 310 | const VExprSPtrs& arguments) const override { | 645 | 310 | auto op = comparison_zonemap_detail::op_from_name(name); | 646 | 310 | DORIS_CHECK(op.has_value()); | 647 | 310 | return comparison_zonemap_detail::evaluate(ctx, arguments, *op); | 648 | 310 | } |
_ZNK5doris18FunctionComparisonINS_14LessOrEqualsOpENS_16NameLessOrEqualsEE23evaluate_zonemap_filterERKNS_18ZoneMapEvalContextERKSt6vectorISt10shared_ptrINS_5VExprEESaISA_EE Line | Count | Source | 644 | 192 | const VExprSPtrs& arguments) const override { | 645 | 192 | auto op = comparison_zonemap_detail::op_from_name(name); | 646 | 192 | DORIS_CHECK(op.has_value()); | 647 | 192 | return comparison_zonemap_detail::evaluate(ctx, arguments, *op); | 648 | 192 | } |
|
649 | | |
650 | 29.5k | bool can_evaluate_zonemap_filter(const VExprSPtrs& arguments) const override { |
651 | 29.5k | return comparison_zonemap_detail::op_from_name(name).has_value() && |
652 | 29.6k | comparison_zonemap_detail::can_evaluate(arguments); |
653 | 29.5k | } _ZNK5doris18FunctionComparisonINS_8EqualsOpENS_10NameEqualsEE27can_evaluate_zonemap_filterERKSt6vectorISt10shared_ptrINS_5VExprEESaIS7_EE Line | Count | Source | 650 | 13.3k | bool can_evaluate_zonemap_filter(const VExprSPtrs& arguments) const override { | 651 | 13.3k | return comparison_zonemap_detail::op_from_name(name).has_value() && | 652 | 13.4k | comparison_zonemap_detail::can_evaluate(arguments); | 653 | 13.3k | } |
_ZNK5doris18FunctionComparisonINS_11NotEqualsOpENS_13NameNotEqualsEE27can_evaluate_zonemap_filterERKSt6vectorISt10shared_ptrINS_5VExprEESaIS7_EE Line | Count | Source | 650 | 1.54k | bool can_evaluate_zonemap_filter(const VExprSPtrs& arguments) const override { | 651 | 1.54k | return comparison_zonemap_detail::op_from_name(name).has_value() && | 652 | 1.54k | comparison_zonemap_detail::can_evaluate(arguments); | 653 | 1.54k | } |
_ZNK5doris18FunctionComparisonINS_9GreaterOpENS_11NameGreaterEE27can_evaluate_zonemap_filterERKSt6vectorISt10shared_ptrINS_5VExprEESaIS7_EE Line | Count | Source | 650 | 6.11k | bool can_evaluate_zonemap_filter(const VExprSPtrs& arguments) const override { | 651 | 6.11k | return comparison_zonemap_detail::op_from_name(name).has_value() && | 652 | 6.14k | comparison_zonemap_detail::can_evaluate(arguments); | 653 | 6.11k | } |
_ZNK5doris18FunctionComparisonINS_17GreaterOrEqualsOpENS_19NameGreaterOrEqualsEE27can_evaluate_zonemap_filterERKSt6vectorISt10shared_ptrINS_5VExprEESaIS7_EE Line | Count | Source | 650 | 3.63k | bool can_evaluate_zonemap_filter(const VExprSPtrs& arguments) const override { | 651 | 3.63k | return comparison_zonemap_detail::op_from_name(name).has_value() && | 652 | 3.63k | comparison_zonemap_detail::can_evaluate(arguments); | 653 | 3.63k | } |
_ZNK5doris18FunctionComparisonINS_6LessOpENS_8NameLessEE27can_evaluate_zonemap_filterERKSt6vectorISt10shared_ptrINS_5VExprEESaIS7_EE Line | Count | Source | 650 | 3.23k | bool can_evaluate_zonemap_filter(const VExprSPtrs& arguments) const override { | 651 | 3.23k | return comparison_zonemap_detail::op_from_name(name).has_value() && | 652 | 3.23k | comparison_zonemap_detail::can_evaluate(arguments); | 653 | 3.23k | } |
_ZNK5doris18FunctionComparisonINS_14LessOrEqualsOpENS_16NameLessOrEqualsEE27can_evaluate_zonemap_filterERKSt6vectorISt10shared_ptrINS_5VExprEESaIS7_EE Line | Count | Source | 650 | 1.69k | bool can_evaluate_zonemap_filter(const VExprSPtrs& arguments) const override { | 651 | 1.69k | return comparison_zonemap_detail::op_from_name(name).has_value() && | 652 | 1.69k | comparison_zonemap_detail::can_evaluate(arguments); | 653 | 1.69k | } |
|
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 | 142 | bool can_evaluate_dictionary_filter(const VExprSPtrs& arguments) const override { |
663 | 142 | auto op = comparison_zonemap_detail::op_from_name(name); |
664 | 142 | return op.has_value() && comparison_zonemap_detail::can_evaluate(arguments); |
665 | 142 | } _ZNK5doris18FunctionComparisonINS_8EqualsOpENS_10NameEqualsEE30can_evaluate_dictionary_filterERKSt6vectorISt10shared_ptrINS_5VExprEESaIS7_EE Line | Count | Source | 662 | 25 | bool can_evaluate_dictionary_filter(const VExprSPtrs& arguments) const override { | 663 | 25 | auto op = comparison_zonemap_detail::op_from_name(name); | 664 | 25 | return op.has_value() && comparison_zonemap_detail::can_evaluate(arguments); | 665 | 25 | } |
_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 | 61 | bool can_evaluate_bloom_filter(const VExprSPtrs& arguments) const override { |
675 | 61 | auto op = comparison_zonemap_detail::op_from_name(name); |
676 | 61 | return op == comparison_zonemap_detail::Op::EQ && |
677 | 61 | expr_zonemap::can_evaluate_bloom_filter_equality(arguments); |
678 | 61 | } _ZNK5doris18FunctionComparisonINS_8EqualsOpENS_10NameEqualsEE25can_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 | } |
_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 | 269k | DataTypePtr get_return_type_impl(const DataTypes& arguments) const override { |
682 | 269k | return std::make_shared<DataTypeUInt8>(); |
683 | 269k | } _ZNK5doris18FunctionComparisonINS_8EqualsOpENS_10NameEqualsEE20get_return_type_implERKSt6vectorISt10shared_ptrIKNS_9IDataTypeEESaIS8_EE Line | Count | Source | 681 | 241k | DataTypePtr get_return_type_impl(const DataTypes& arguments) const override { | 682 | 241k | return std::make_shared<DataTypeUInt8>(); | 683 | 241k | } |
_ZNK5doris18FunctionComparisonINS_11NotEqualsOpENS_13NameNotEqualsEE20get_return_type_implERKSt6vectorISt10shared_ptrIKNS_9IDataTypeEESaIS8_EE Line | Count | Source | 681 | 1.14k | DataTypePtr get_return_type_impl(const DataTypes& arguments) const override { | 682 | 1.14k | return std::make_shared<DataTypeUInt8>(); | 683 | 1.14k | } |
_ZNK5doris18FunctionComparisonINS_9GreaterOpENS_11NameGreaterEE20get_return_type_implERKSt6vectorISt10shared_ptrIKNS_9IDataTypeEESaIS8_EE Line | Count | Source | 681 | 4.97k | DataTypePtr get_return_type_impl(const DataTypes& arguments) const override { | 682 | 4.97k | return std::make_shared<DataTypeUInt8>(); | 683 | 4.97k | } |
_ZNK5doris18FunctionComparisonINS_17GreaterOrEqualsOpENS_19NameGreaterOrEqualsEE20get_return_type_implERKSt6vectorISt10shared_ptrIKNS_9IDataTypeEESaIS8_EE Line | Count | Source | 681 | 8.43k | DataTypePtr get_return_type_impl(const DataTypes& arguments) const override { | 682 | 8.43k | return std::make_shared<DataTypeUInt8>(); | 683 | 8.43k | } |
_ZNK5doris18FunctionComparisonINS_6LessOpENS_8NameLessEE20get_return_type_implERKSt6vectorISt10shared_ptrIKNS_9IDataTypeEESaIS8_EE Line | Count | Source | 681 | 2.99k | DataTypePtr get_return_type_impl(const DataTypes& arguments) const override { | 682 | 2.99k | return std::make_shared<DataTypeUInt8>(); | 683 | 2.99k | } |
_ZNK5doris18FunctionComparisonINS_14LessOrEqualsOpENS_16NameLessOrEqualsEE20get_return_type_implERKSt6vectorISt10shared_ptrIKNS_9IDataTypeEESaIS8_EE Line | Count | Source | 681 | 10.5k | DataTypePtr get_return_type_impl(const DataTypes& arguments) const override { | 682 | 10.5k | return std::make_shared<DataTypeUInt8>(); | 683 | 10.5k | } |
|
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.32k | segment_v2::InvertedIndexResultBitmap& bitmap_result) const override { |
691 | 1.32k | DCHECK(arguments.size() == 1); |
692 | 1.32k | DCHECK(data_type_with_names.size() == 1); |
693 | 1.32k | DCHECK(iterators.size() == 1); |
694 | 1.32k | auto* iter = iterators[0]; |
695 | 1.32k | auto data_type_with_name = data_type_with_names[0]; |
696 | 1.32k | if (iter == nullptr) { |
697 | 0 | return Status::OK(); |
698 | 0 | } |
699 | 1.32k | if (!segment_v2::IndexReaderHelper::has_string_or_bkd_index(iter)) { |
700 | 304 | return Status::OK(); |
701 | 304 | } |
702 | 1.02k | segment_v2::InvertedIndexQueryType query_type; |
703 | 1.02k | std::string_view name_view(name); |
704 | 1.02k | if (name_view == NameEquals::name || name_view == NameNotEquals::name) { |
705 | 693 | query_type = segment_v2::InvertedIndexQueryType::EQUAL_QUERY; |
706 | 693 | } else if (name_view == NameLess::name) { |
707 | 83 | query_type = segment_v2::InvertedIndexQueryType::LESS_THAN_QUERY; |
708 | 246 | } else if (name_view == NameLessOrEquals::name) { |
709 | 81 | query_type = segment_v2::InvertedIndexQueryType::LESS_EQUAL_QUERY; |
710 | 165 | } else if (name_view == NameGreater::name) { |
711 | 72 | query_type = segment_v2::InvertedIndexQueryType::GREATER_THAN_QUERY; |
712 | 95 | } else if (name_view == NameGreaterOrEquals::name) { |
713 | 95 | 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 | 1.02k | if (segment_v2::is_range_query(query_type) && |
719 | 1.02k | 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 | 891 | Field param_value; |
724 | 891 | arguments[0].column->get(0, param_value); |
725 | 891 | if (param_value.is_null()) { |
726 | 2 | return Status::OK(); |
727 | 2 | } |
728 | 889 | segment_v2::InvertedIndexParam param; |
729 | 889 | param.column_name = data_type_with_name.first; |
730 | 889 | param.column_type = data_type_with_name.second; |
731 | 889 | param.query_value = param_value; |
732 | 889 | param.query_type = query_type; |
733 | 889 | param.num_rows = num_rows; |
734 | 889 | param.roaring = std::make_shared<roaring::Roaring>(); |
735 | 889 | param.analyzer_ctx = analyzer_ctx; |
736 | 889 | RETURN_IF_ERROR(iter->read_from_index(segment_v2::IndexParam {¶m})); |
737 | 742 | std::shared_ptr<roaring::Roaring> null_bitmap = std::make_shared<roaring::Roaring>(); |
738 | 742 | if (iter->has_null()) { |
739 | 741 | segment_v2::InvertedIndexQueryCacheHandle null_bitmap_cache_handle; |
740 | 741 | RETURN_IF_ERROR(iter->read_null_bitmap(&null_bitmap_cache_handle)); |
741 | 741 | null_bitmap = null_bitmap_cache_handle.get_bitmap(); |
742 | 741 | } |
743 | 742 | segment_v2::InvertedIndexResultBitmap result(param.roaring, null_bitmap); |
744 | 742 | bitmap_result = result; |
745 | 742 | bitmap_result.mask_out_null(); |
746 | | |
747 | 742 | 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 | 742 | return Status::OK(); |
754 | 742 | } _ZNK5doris18FunctionComparisonINS_8EqualsOpENS_10NameEqualsEE23evaluate_inverted_indexERKSt6vectorINS_21ColumnWithTypeAndNameESaIS5_EERKS4_ISt4pairINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt10shared_ptrIKNS_9IDataTypeEEESaISL_EES4_IPNS_10segment_v213IndexIteratorESaISS_EEjPKNS_24InvertedIndexAnalyzerCtxERNSQ_25InvertedIndexResultBitmapE Line | Count | Source | 690 | 661 | segment_v2::InvertedIndexResultBitmap& bitmap_result) const override { | 691 | 661 | DCHECK(arguments.size() == 1); | 692 | 661 | DCHECK(data_type_with_names.size() == 1); | 693 | 661 | DCHECK(iterators.size() == 1); | 694 | 661 | auto* iter = iterators[0]; | 695 | 661 | auto data_type_with_name = data_type_with_names[0]; | 696 | 661 | if (iter == nullptr) { | 697 | 0 | return Status::OK(); | 698 | 0 | } | 699 | 661 | if (!segment_v2::IndexReaderHelper::has_string_or_bkd_index(iter)) { | 700 | 36 | return Status::OK(); | 701 | 36 | } | 702 | 625 | segment_v2::InvertedIndexQueryType query_type; | 703 | 625 | std::string_view name_view(name); | 704 | 627 | if (name_view == NameEquals::name || name_view == NameNotEquals::name) { | 705 | 627 | query_type = segment_v2::InvertedIndexQueryType::EQUAL_QUERY; | 706 | 18.4E | } else if (name_view == NameLess::name) { | 707 | 0 | 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 | 627 | if (segment_v2::is_range_query(query_type) && | 719 | 627 | 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 | 627 | Field param_value; | 724 | 627 | arguments[0].column->get(0, param_value); | 725 | 627 | if (param_value.is_null()) { | 726 | 2 | return Status::OK(); | 727 | 2 | } | 728 | 625 | segment_v2::InvertedIndexParam param; | 729 | 625 | param.column_name = data_type_with_name.first; | 730 | 625 | param.column_type = data_type_with_name.second; | 731 | 625 | param.query_value = param_value; | 732 | 625 | param.query_type = query_type; | 733 | 625 | param.num_rows = num_rows; | 734 | 625 | param.roaring = std::make_shared<roaring::Roaring>(); | 735 | 625 | param.analyzer_ctx = analyzer_ctx; | 736 | 625 | RETURN_IF_ERROR(iter->read_from_index(segment_v2::IndexParam {¶m})); | 737 | 589 | std::shared_ptr<roaring::Roaring> null_bitmap = std::make_shared<roaring::Roaring>(); | 738 | 589 | if (iter->has_null()) { | 739 | 587 | segment_v2::InvertedIndexQueryCacheHandle null_bitmap_cache_handle; | 740 | 587 | RETURN_IF_ERROR(iter->read_null_bitmap(&null_bitmap_cache_handle)); | 741 | 587 | null_bitmap = null_bitmap_cache_handle.get_bitmap(); | 742 | 587 | } | 743 | 589 | segment_v2::InvertedIndexResultBitmap result(param.roaring, null_bitmap); | 744 | 589 | bitmap_result = result; | 745 | 589 | bitmap_result.mask_out_null(); | 746 | | | 747 | 589 | 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 | 589 | return Status::OK(); | 754 | 589 | } |
_ZNK5doris18FunctionComparisonINS_11NotEqualsOpENS_13NameNotEqualsEE23evaluate_inverted_indexERKSt6vectorINS_21ColumnWithTypeAndNameESaIS5_EERKS4_ISt4pairINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt10shared_ptrIKNS_9IDataTypeEEESaISL_EES4_IPNS_10segment_v213IndexIteratorESaISS_EEjPKNS_24InvertedIndexAnalyzerCtxERNSQ_25InvertedIndexResultBitmapE Line | Count | Source | 690 | 71 | segment_v2::InvertedIndexResultBitmap& bitmap_result) const override { | 691 | 71 | DCHECK(arguments.size() == 1); | 692 | 71 | DCHECK(data_type_with_names.size() == 1); | 693 | 71 | DCHECK(iterators.size() == 1); | 694 | 71 | auto* iter = iterators[0]; | 695 | 71 | auto data_type_with_name = data_type_with_names[0]; | 696 | 71 | if (iter == nullptr) { | 697 | 0 | return Status::OK(); | 698 | 0 | } | 699 | 71 | if (!segment_v2::IndexReaderHelper::has_string_or_bkd_index(iter)) { | 700 | 6 | return Status::OK(); | 701 | 6 | } | 702 | 65 | segment_v2::InvertedIndexQueryType query_type; | 703 | 65 | 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 | 18.4E | } else if (name_view == NameLess::name) { | 707 | 0 | 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 | 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 | 72 | query_type = segment_v2::InvertedIndexQueryType::GREATER_THAN_QUERY; | 712 | 72 | } 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 | 72 | if (segment_v2::is_range_query(query_type) && | 719 | 72 | 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 | 55 | Field param_value; | 724 | 55 | arguments[0].column->get(0, param_value); | 725 | 55 | if (param_value.is_null()) { | 726 | 0 | return Status::OK(); | 727 | 0 | } | 728 | 55 | segment_v2::InvertedIndexParam param; | 729 | 55 | param.column_name = data_type_with_name.first; | 730 | 55 | param.column_type = data_type_with_name.second; | 731 | 55 | param.query_value = param_value; | 732 | 55 | param.query_type = query_type; | 733 | 55 | param.num_rows = num_rows; | 734 | 55 | param.roaring = std::make_shared<roaring::Roaring>(); | 735 | 55 | param.analyzer_ctx = analyzer_ctx; | 736 | 55 | RETURN_IF_ERROR(iter->read_from_index(segment_v2::IndexParam {¶m})); | 737 | 36 | 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 | 36 | segment_v2::InvertedIndexResultBitmap result(param.roaring, null_bitmap); | 744 | 36 | bitmap_result = result; | 745 | 36 | bitmap_result.mask_out_null(); | 746 | | | 747 | 36 | 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 | 36 | return Status::OK(); | 754 | 36 | } |
_ZNK5doris18FunctionComparisonINS_17GreaterOrEqualsOpENS_19NameGreaterOrEqualsEE23evaluate_inverted_indexERKSt6vectorINS_21ColumnWithTypeAndNameESaIS5_EERKS4_ISt4pairINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt10shared_ptrIKNS_9IDataTypeEEESaISL_EES4_IPNS_10segment_v213IndexIteratorESaISS_EEjPKNS_24InvertedIndexAnalyzerCtxERNSQ_25InvertedIndexResultBitmapE Line | Count | Source | 690 | 181 | segment_v2::InvertedIndexResultBitmap& bitmap_result) const override { | 691 | 181 | DCHECK(arguments.size() == 1); | 692 | 181 | DCHECK(data_type_with_names.size() == 1); | 693 | 181 | DCHECK(iterators.size() == 1); | 694 | 181 | auto* iter = iterators[0]; | 695 | 181 | auto data_type_with_name = data_type_with_names[0]; | 696 | 181 | if (iter == nullptr) { | 697 | 0 | return Status::OK(); | 698 | 0 | } | 699 | 181 | if (!segment_v2::IndexReaderHelper::has_string_or_bkd_index(iter)) { | 700 | 86 | return Status::OK(); | 701 | 86 | } | 702 | 95 | segment_v2::InvertedIndexQueryType query_type; | 703 | 95 | std::string_view name_view(name); | 704 | 95 | if (name_view == NameEquals::name || name_view == NameNotEquals::name) { | 705 | 0 | query_type = segment_v2::InvertedIndexQueryType::EQUAL_QUERY; | 706 | 95 | } else if (name_view == NameLess::name) { | 707 | 0 | query_type = segment_v2::InvertedIndexQueryType::LESS_THAN_QUERY; | 708 | 95 | } else if (name_view == NameLessOrEquals::name) { | 709 | 0 | query_type = segment_v2::InvertedIndexQueryType::LESS_EQUAL_QUERY; | 710 | 95 | } else if (name_view == NameGreater::name) { | 711 | 0 | query_type = segment_v2::InvertedIndexQueryType::GREATER_THAN_QUERY; | 712 | 95 | } else if (name_view == NameGreaterOrEquals::name) { | 713 | 95 | query_type = segment_v2::InvertedIndexQueryType::GREATER_EQUAL_QUERY; | 714 | 95 | } else { | 715 | 0 | return Status::InvalidArgument("invalid comparison op type {}", Name::name); | 716 | 0 | } | 717 | | | 718 | 95 | if (segment_v2::is_range_query(query_type) && | 719 | 95 | 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 | 48 | Field param_value; | 724 | 48 | arguments[0].column->get(0, param_value); | 725 | 48 | if (param_value.is_null()) { | 726 | 0 | return Status::OK(); | 727 | 0 | } | 728 | 48 | segment_v2::InvertedIndexParam param; | 729 | 48 | param.column_name = data_type_with_name.first; | 730 | 48 | param.column_type = data_type_with_name.second; | 731 | 48 | param.query_value = param_value; | 732 | 48 | param.query_type = query_type; | 733 | 48 | param.num_rows = num_rows; | 734 | 48 | param.roaring = std::make_shared<roaring::Roaring>(); | 735 | 48 | param.analyzer_ctx = analyzer_ctx; | 736 | 48 | RETURN_IF_ERROR(iter->read_from_index(segment_v2::IndexParam {¶m})); | 737 | 7 | std::shared_ptr<roaring::Roaring> null_bitmap = std::make_shared<roaring::Roaring>(); | 738 | 7 | if (iter->has_null()) { | 739 | 7 | segment_v2::InvertedIndexQueryCacheHandle null_bitmap_cache_handle; | 740 | 7 | RETURN_IF_ERROR(iter->read_null_bitmap(&null_bitmap_cache_handle)); | 741 | 7 | null_bitmap = null_bitmap_cache_handle.get_bitmap(); | 742 | 7 | } | 743 | 7 | segment_v2::InvertedIndexResultBitmap result(param.roaring, null_bitmap); | 744 | 7 | bitmap_result = result; | 745 | 7 | bitmap_result.mask_out_null(); | 746 | | | 747 | 7 | 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 | 7 | return Status::OK(); | 754 | 7 | } |
_ZNK5doris18FunctionComparisonINS_6LessOpENS_8NameLessEE23evaluate_inverted_indexERKSt6vectorINS_21ColumnWithTypeAndNameESaIS5_EERKS4_ISt4pairINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt10shared_ptrIKNS_9IDataTypeEEESaISL_EES4_IPNS_10segment_v213IndexIteratorESaISS_EEjPKNS_24InvertedIndexAnalyzerCtxERNSQ_25InvertedIndexResultBitmapE Line | Count | Source | 690 | 126 | segment_v2::InvertedIndexResultBitmap& bitmap_result) const override { | 691 | 126 | DCHECK(arguments.size() == 1); | 692 | 126 | DCHECK(data_type_with_names.size() == 1); | 693 | 126 | DCHECK(iterators.size() == 1); | 694 | 126 | auto* iter = iterators[0]; | 695 | 126 | auto data_type_with_name = data_type_with_names[0]; | 696 | 126 | if (iter == nullptr) { | 697 | 0 | return Status::OK(); | 698 | 0 | } | 699 | 126 | if (!segment_v2::IndexReaderHelper::has_string_or_bkd_index(iter)) { | 700 | 43 | return Status::OK(); | 701 | 43 | } | 702 | 83 | segment_v2::InvertedIndexQueryType query_type; | 703 | 83 | std::string_view name_view(name); | 704 | 83 | if (name_view == NameEquals::name || name_view == NameNotEquals::name) { | 705 | 0 | query_type = segment_v2::InvertedIndexQueryType::EQUAL_QUERY; | 706 | 83 | } else if (name_view == NameLess::name) { | 707 | 83 | query_type = segment_v2::InvertedIndexQueryType::LESS_THAN_QUERY; | 708 | 83 | } 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 | 83 | if (segment_v2::is_range_query(query_type) && | 719 | 83 | 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 | 65 | Field param_value; | 724 | 65 | arguments[0].column->get(0, param_value); | 725 | 65 | if (param_value.is_null()) { | 726 | 0 | return Status::OK(); | 727 | 0 | } | 728 | 65 | segment_v2::InvertedIndexParam param; | 729 | 65 | param.column_name = data_type_with_name.first; | 730 | 65 | param.column_type = data_type_with_name.second; | 731 | 65 | param.query_value = param_value; | 732 | 65 | param.query_type = query_type; | 733 | 65 | param.num_rows = num_rows; | 734 | 65 | param.roaring = std::make_shared<roaring::Roaring>(); | 735 | 65 | param.analyzer_ctx = analyzer_ctx; | 736 | 65 | RETURN_IF_ERROR(iter->read_from_index(segment_v2::IndexParam {¶m})); | 737 | 42 | std::shared_ptr<roaring::Roaring> null_bitmap = std::make_shared<roaring::Roaring>(); | 738 | 42 | if (iter->has_null()) { | 739 | 42 | segment_v2::InvertedIndexQueryCacheHandle null_bitmap_cache_handle; | 740 | 42 | RETURN_IF_ERROR(iter->read_null_bitmap(&null_bitmap_cache_handle)); | 741 | 42 | null_bitmap = null_bitmap_cache_handle.get_bitmap(); | 742 | 42 | } | 743 | 42 | segment_v2::InvertedIndexResultBitmap result(param.roaring, null_bitmap); | 744 | 42 | bitmap_result = result; | 745 | 42 | bitmap_result.mask_out_null(); | 746 | | | 747 | 42 | 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 | 42 | return Status::OK(); | 754 | 42 | } |
_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 | 66.5k | uint32_t result, size_t input_rows_count) const override { |
758 | 66.5k | const auto& col_with_type_and_name_left = block.get_by_position(arguments[0]); |
759 | 66.5k | const auto& col_with_type_and_name_right = block.get_by_position(arguments[1]); |
760 | | |
761 | 66.5k | const auto& col_left_ptr = col_with_type_and_name_left.column; |
762 | 66.5k | const auto& col_right_ptr = col_with_type_and_name_right.column; |
763 | 66.5k | const IColumn* col_left_untyped = col_with_type_and_name_left.column.get(); |
764 | 66.5k | const IColumn* col_right_untyped = col_with_type_and_name_right.column.get(); |
765 | | |
766 | 66.5k | const DataTypePtr& left_type = col_with_type_and_name_left.type; |
767 | 66.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 | 66.5k | if (left_type->equals(*right_type) && !left_type->is_nullable() && |
773 | 66.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 | 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 | 117k | auto can_compare = [](PrimitiveType t) -> bool { |
796 | 117k | return is_int_or_bool(t) || is_float_or_double(t) || is_ip(t) || is_date_type(t); |
797 | 117k | }; _ZZNK5doris18FunctionComparisonINS_8EqualsOpENS_10NameEqualsEE12execute_implEPNS_15FunctionContextERNS_5BlockERKSt6vectorIjSaIjEEjmENKUlNS_13PrimitiveTypeEE_clESD_ Line | Count | Source | 795 | 36.7k | auto can_compare = [](PrimitiveType t) -> bool { | 796 | 36.7k | return is_int_or_bool(t) || is_float_or_double(t) || is_ip(t) || is_date_type(t); | 797 | 36.7k | }; |
_ZZNK5doris18FunctionComparisonINS_11NotEqualsOpENS_13NameNotEqualsEE12execute_implEPNS_15FunctionContextERNS_5BlockERKSt6vectorIjSaIjEEjmENKUlNS_13PrimitiveTypeEE_clESD_ Line | Count | Source | 795 | 4.83k | auto can_compare = [](PrimitiveType t) -> bool { | 796 | 4.83k | return is_int_or_bool(t) || is_float_or_double(t) || is_ip(t) || is_date_type(t); | 797 | 4.83k | }; |
_ZZNK5doris18FunctionComparisonINS_9GreaterOpENS_11NameGreaterEE12execute_implEPNS_15FunctionContextERNS_5BlockERKSt6vectorIjSaIjEEjmENKUlNS_13PrimitiveTypeEE_clESD_ Line | Count | Source | 795 | 40.0k | auto can_compare = [](PrimitiveType t) -> bool { | 796 | 40.0k | return is_int_or_bool(t) || is_float_or_double(t) || is_ip(t) || is_date_type(t); | 797 | 40.0k | }; |
_ZZNK5doris18FunctionComparisonINS_17GreaterOrEqualsOpENS_19NameGreaterOrEqualsEE12execute_implEPNS_15FunctionContextERNS_5BlockERKSt6vectorIjSaIjEEjmENKUlNS_13PrimitiveTypeEE_clESD_ Line | Count | Source | 795 | 4.23k | auto can_compare = [](PrimitiveType t) -> bool { | 796 | 4.23k | return is_int_or_bool(t) || is_float_or_double(t) || is_ip(t) || is_date_type(t); | 797 | 4.23k | }; |
_ZZNK5doris18FunctionComparisonINS_6LessOpENS_8NameLessEE12execute_implEPNS_15FunctionContextERNS_5BlockERKSt6vectorIjSaIjEEjmENKUlNS_13PrimitiveTypeEE_clESD_ Line | Count | Source | 795 | 15.9k | auto can_compare = [](PrimitiveType t) -> bool { | 796 | 15.9k | return is_int_or_bool(t) || is_float_or_double(t) || is_ip(t) || is_date_type(t); | 797 | 15.9k | }; |
_ZZNK5doris18FunctionComparisonINS_14LessOrEqualsOpENS_16NameLessOrEqualsEE12execute_implEPNS_15FunctionContextERNS_5BlockERKSt6vectorIjSaIjEEjmENKUlNS_13PrimitiveTypeEE_clESD_ Line | Count | Source | 795 | 16.0k | auto can_compare = [](PrimitiveType t) -> bool { | 796 | 16.0k | return is_int_or_bool(t) || is_float_or_double(t) || is_ip(t) || is_date_type(t); | 797 | 16.0k | }; |
|
798 | | |
799 | 66.5k | if (can_compare(left_type->get_primitive_type()) && |
800 | 66.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 | 51.3k | 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 | 51.3k | } |
808 | | |
809 | 66.5k | auto compare_type = left_type->get_primitive_type(); |
810 | 66.5k | switch (compare_type) { |
811 | 257 | case TYPE_BOOLEAN: |
812 | 257 | return execute_num_type<TYPE_BOOLEAN>(block, result, col_left_ptr, col_right_ptr); |
813 | 5.00k | case TYPE_DATEV2: |
814 | 5.00k | return execute_num_type<TYPE_DATEV2>(block, result, col_left_ptr, col_right_ptr); |
815 | 915 | case TYPE_DATETIMEV2: |
816 | 915 | return execute_num_type<TYPE_DATETIMEV2>(block, result, col_left_ptr, col_right_ptr); |
817 | 12 | case TYPE_TIMESTAMPTZ: |
818 | 12 | return execute_num_type<TYPE_TIMESTAMPTZ>(block, result, col_left_ptr, col_right_ptr); |
819 | 8.36k | case TYPE_TINYINT: |
820 | 8.36k | return execute_num_type<TYPE_TINYINT>(block, result, col_left_ptr, col_right_ptr); |
821 | 2.56k | case TYPE_SMALLINT: |
822 | 2.56k | return execute_num_type<TYPE_SMALLINT>(block, result, col_left_ptr, col_right_ptr); |
823 | 23.9k | case TYPE_INT: |
824 | 23.9k | return execute_num_type<TYPE_INT>(block, result, col_left_ptr, col_right_ptr); |
825 | 6.86k | case TYPE_BIGINT: |
826 | 6.86k | return execute_num_type<TYPE_BIGINT>(block, result, col_left_ptr, col_right_ptr); |
827 | 671 | case TYPE_LARGEINT: |
828 | 671 | 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 | 35 | case TYPE_IPV6: |
832 | 35 | return execute_num_type<TYPE_IPV6>(block, result, col_left_ptr, col_right_ptr); |
833 | 530 | case TYPE_FLOAT: |
834 | 530 | return execute_num_type<TYPE_FLOAT>(block, result, col_left_ptr, col_right_ptr); |
835 | 2.03k | case TYPE_DOUBLE: |
836 | 2.03k | 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 | 322 | case TYPE_DECIMAL32: |
841 | 913 | case TYPE_DECIMAL64: |
842 | 2.85k | case TYPE_DECIMAL128I: |
843 | 2.93k | case TYPE_DECIMAL256: |
844 | 2.93k | return execute_decimal(block, result, col_with_type_and_name_left, |
845 | 2.93k | col_with_type_and_name_right); |
846 | 749 | case TYPE_CHAR: |
847 | 5.86k | case TYPE_VARCHAR: |
848 | 12.1k | case TYPE_STRING: |
849 | 12.1k | return execute_string(block, result, col_left_untyped, col_right_untyped); |
850 | 171 | default: |
851 | 171 | return execute_generic(block, result, col_with_type_and_name_left, |
852 | 171 | col_with_type_and_name_right); |
853 | 66.5k | } |
854 | 0 | return Status::OK(); |
855 | 66.5k | } _ZNK5doris18FunctionComparisonINS_8EqualsOpENS_10NameEqualsEE12execute_implEPNS_15FunctionContextERNS_5BlockERKSt6vectorIjSaIjEEjm Line | Count | Source | 757 | 24.3k | uint32_t result, size_t input_rows_count) const override { | 758 | 24.3k | const auto& col_with_type_and_name_left = block.get_by_position(arguments[0]); | 759 | 24.3k | const auto& col_with_type_and_name_right = block.get_by_position(arguments[1]); | 760 | | | 761 | 24.3k | const auto& col_left_ptr = col_with_type_and_name_left.column; | 762 | 24.3k | const auto& col_right_ptr = col_with_type_and_name_right.column; | 763 | 24.3k | const IColumn* col_left_untyped = col_with_type_and_name_left.column.get(); | 764 | 24.3k | const IColumn* col_right_untyped = col_with_type_and_name_right.column.get(); | 765 | | | 766 | 24.3k | const DataTypePtr& left_type = col_with_type_and_name_left.type; | 767 | 24.3k | 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.3k | if (left_type->equals(*right_type) && !left_type->is_nullable() && | 773 | 24.3k | 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.3k | return is_int_or_bool(t) || is_float_or_double(t) || is_ip(t) || is_date_type(t); | 797 | 24.3k | }; | 798 | | | 799 | 24.3k | if (can_compare(left_type->get_primitive_type()) && | 800 | 24.3k | 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.4k | 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.4k | } | 808 | | | 809 | 24.3k | auto compare_type = left_type->get_primitive_type(); | 810 | 24.3k | switch (compare_type) { | 811 | 97 | case TYPE_BOOLEAN: | 812 | 97 | return execute_num_type<TYPE_BOOLEAN>(block, result, col_left_ptr, col_right_ptr); | 813 | 508 | case TYPE_DATEV2: | 814 | 508 | return execute_num_type<TYPE_DATEV2>(block, result, col_left_ptr, col_right_ptr); | 815 | 384 | case TYPE_DATETIMEV2: | 816 | 384 | 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 | 4.98k | case TYPE_TINYINT: | 820 | 4.98k | return execute_num_type<TYPE_TINYINT>(block, result, col_left_ptr, col_right_ptr); | 821 | 367 | case TYPE_SMALLINT: | 822 | 367 | return execute_num_type<TYPE_SMALLINT>(block, result, col_left_ptr, col_right_ptr); | 823 | 2.07k | case TYPE_INT: | 824 | 2.07k | return execute_num_type<TYPE_INT>(block, result, col_left_ptr, col_right_ptr); | 825 | 2.91k | case TYPE_BIGINT: | 826 | 2.91k | return execute_num_type<TYPE_BIGINT>(block, result, col_left_ptr, col_right_ptr); | 827 | 97 | case TYPE_LARGEINT: | 828 | 97 | 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 | 17 | case TYPE_IPV6: | 832 | 17 | return execute_num_type<TYPE_IPV6>(block, result, col_left_ptr, col_right_ptr); | 833 | 82 | case TYPE_FLOAT: | 834 | 82 | return execute_num_type<TYPE_FLOAT>(block, result, col_left_ptr, col_right_ptr); | 835 | 868 | case TYPE_DOUBLE: | 836 | 868 | 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 | 125 | case TYPE_DECIMAL32: | 841 | 268 | case TYPE_DECIMAL64: | 842 | 1.08k | case TYPE_DECIMAL128I: | 843 | 1.11k | case TYPE_DECIMAL256: | 844 | 1.11k | return execute_decimal(block, result, col_with_type_and_name_left, | 845 | 1.11k | col_with_type_and_name_right); | 846 | 483 | case TYPE_CHAR: | 847 | 5.06k | case TYPE_VARCHAR: | 848 | 10.8k | case TYPE_STRING: | 849 | 10.8k | 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.3k | } | 854 | 0 | return Status::OK(); | 855 | 24.3k | } |
_ZNK5doris18FunctionComparisonINS_11NotEqualsOpENS_13NameNotEqualsEE12execute_implEPNS_15FunctionContextERNS_5BlockERKSt6vectorIjSaIjEEjm Line | Count | Source | 757 | 2.55k | uint32_t result, size_t input_rows_count) const override { | 758 | 2.55k | const auto& col_with_type_and_name_left = block.get_by_position(arguments[0]); | 759 | 2.55k | const auto& col_with_type_and_name_right = block.get_by_position(arguments[1]); | 760 | | | 761 | 2.55k | const auto& col_left_ptr = col_with_type_and_name_left.column; | 762 | 2.55k | const auto& col_right_ptr = col_with_type_and_name_right.column; | 763 | 2.55k | const IColumn* col_left_untyped = col_with_type_and_name_left.column.get(); | 764 | 2.55k | const IColumn* col_right_untyped = col_with_type_and_name_right.column.get(); | 765 | | | 766 | 2.55k | const DataTypePtr& left_type = col_with_type_and_name_left.type; | 767 | 2.55k | 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.55k | if (left_type->equals(*right_type) && !left_type->is_nullable() && | 773 | 2.55k | 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.55k | return is_int_or_bool(t) || is_float_or_double(t) || is_ip(t) || is_date_type(t); | 797 | 2.55k | }; | 798 | | | 799 | 2.55k | if (can_compare(left_type->get_primitive_type()) && | 800 | 2.55k | 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.27k | 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.27k | } | 808 | | | 809 | 2.55k | auto compare_type = left_type->get_primitive_type(); | 810 | 2.55k | 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 | 70 | case TYPE_DATEV2: | 814 | 70 | 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.07k | case TYPE_INT: | 824 | 1.07k | return execute_num_type<TYPE_INT>(block, result, col_left_ptr, col_right_ptr); | 825 | 944 | case TYPE_BIGINT: | 826 | 944 | 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 | 66 | case TYPE_DECIMAL64: | 842 | 94 | case TYPE_DECIMAL128I: | 843 | 124 | case TYPE_DECIMAL256: | 844 | 124 | return execute_decimal(block, result, col_with_type_and_name_left, | 845 | 124 | col_with_type_and_name_right); | 846 | 1 | case TYPE_CHAR: | 847 | 32 | case TYPE_VARCHAR: | 848 | 145 | case TYPE_STRING: | 849 | 145 | 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.55k | } | 854 | 0 | return Status::OK(); | 855 | 2.55k | } |
_ZNK5doris18FunctionComparisonINS_9GreaterOpENS_11NameGreaterEE12execute_implEPNS_15FunctionContextERNS_5BlockERKSt6vectorIjSaIjEEjm Line | Count | Source | 757 | 20.4k | uint32_t result, size_t input_rows_count) const override { | 758 | 20.4k | const auto& col_with_type_and_name_left = block.get_by_position(arguments[0]); | 759 | 20.4k | const auto& col_with_type_and_name_right = block.get_by_position(arguments[1]); | 760 | | | 761 | 20.4k | const auto& col_left_ptr = col_with_type_and_name_left.column; | 762 | 20.4k | const auto& col_right_ptr = col_with_type_and_name_right.column; | 763 | 20.4k | const IColumn* col_left_untyped = col_with_type_and_name_left.column.get(); | 764 | 20.4k | const IColumn* col_right_untyped = col_with_type_and_name_right.column.get(); | 765 | | | 766 | 20.4k | const DataTypePtr& left_type = col_with_type_and_name_left.type; | 767 | 20.4k | 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 | 20.4k | if (left_type->equals(*right_type) && !left_type->is_nullable() && | 773 | 20.4k | 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 | 20.4k | return is_int_or_bool(t) || is_float_or_double(t) || is_ip(t) || is_date_type(t); | 797 | 20.4k | }; | 798 | | | 799 | 20.4k | if (can_compare(left_type->get_primitive_type()) && | 800 | 20.4k | 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 | 19.6k | 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 | 19.6k | } | 808 | | | 809 | 20.4k | auto compare_type = left_type->get_primitive_type(); | 810 | 20.4k | 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 | 1.24k | case TYPE_DATEV2: | 814 | 1.24k | 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 | 2 | case TYPE_TIMESTAMPTZ: | 818 | 2 | return execute_num_type<TYPE_TIMESTAMPTZ>(block, result, col_left_ptr, col_right_ptr); | 819 | 973 | case TYPE_TINYINT: | 820 | 973 | return execute_num_type<TYPE_TINYINT>(block, result, col_left_ptr, col_right_ptr); | 821 | 1.77k | case TYPE_SMALLINT: | 822 | 1.77k | return execute_num_type<TYPE_SMALLINT>(block, result, col_left_ptr, col_right_ptr); | 823 | 12.9k | case TYPE_INT: | 824 | 12.9k | return execute_num_type<TYPE_INT>(block, result, col_left_ptr, col_right_ptr); | 825 | 1.71k | case TYPE_BIGINT: | 826 | 1.71k | return execute_num_type<TYPE_BIGINT>(block, result, col_left_ptr, col_right_ptr); | 827 | 231 | case TYPE_LARGEINT: | 828 | 231 | 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 | 523 | case TYPE_DOUBLE: | 836 | 523 | 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 | 74 | case TYPE_DECIMAL64: | 842 | 689 | case TYPE_DECIMAL128I: | 843 | 691 | case TYPE_DECIMAL256: | 844 | 691 | return execute_decimal(block, result, col_with_type_and_name_left, | 845 | 691 | col_with_type_and_name_right); | 846 | 14 | case TYPE_CHAR: | 847 | 76 | case TYPE_VARCHAR: | 848 | 175 | case TYPE_STRING: | 849 | 175 | 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 | 20.4k | } | 854 | 0 | return Status::OK(); | 855 | 20.4k | } |
_ZNK5doris18FunctionComparisonINS_17GreaterOrEqualsOpENS_19NameGreaterOrEqualsEE12execute_implEPNS_15FunctionContextERNS_5BlockERKSt6vectorIjSaIjEEjm Line | Count | Source | 757 | 2.32k | uint32_t result, size_t input_rows_count) const override { | 758 | 2.32k | const auto& col_with_type_and_name_left = block.get_by_position(arguments[0]); | 759 | 2.32k | const auto& col_with_type_and_name_right = block.get_by_position(arguments[1]); | 760 | | | 761 | 2.32k | const auto& col_left_ptr = col_with_type_and_name_left.column; | 762 | 2.32k | const auto& col_right_ptr = col_with_type_and_name_right.column; | 763 | 2.32k | const IColumn* col_left_untyped = col_with_type_and_name_left.column.get(); | 764 | 2.32k | const IColumn* col_right_untyped = col_with_type_and_name_right.column.get(); | 765 | | | 766 | 2.32k | const DataTypePtr& left_type = col_with_type_and_name_left.type; | 767 | 2.32k | 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.32k | if (left_type->equals(*right_type) && !left_type->is_nullable() && | 773 | 2.32k | 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.32k | return is_int_or_bool(t) || is_float_or_double(t) || is_ip(t) || is_date_type(t); | 797 | 2.32k | }; | 798 | | | 799 | 2.32k | if (can_compare(left_type->get_primitive_type()) && | 800 | 2.32k | 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.90k | 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.90k | } | 808 | | | 809 | 2.32k | auto compare_type = left_type->get_primitive_type(); | 810 | 2.32k | switch (compare_type) { | 811 | 26 | case TYPE_BOOLEAN: | 812 | 26 | return execute_num_type<TYPE_BOOLEAN>(block, result, col_left_ptr, col_right_ptr); | 813 | 504 | case TYPE_DATEV2: | 814 | 504 | return execute_num_type<TYPE_DATEV2>(block, result, col_left_ptr, col_right_ptr); | 815 | 143 | case TYPE_DATETIMEV2: | 816 | 143 | return execute_num_type<TYPE_DATETIMEV2>(block, result, col_left_ptr, col_right_ptr); | 817 | 2 | case TYPE_TIMESTAMPTZ: | 818 | 2 | return execute_num_type<TYPE_TIMESTAMPTZ>(block, result, col_left_ptr, col_right_ptr); | 819 | 100 | case TYPE_TINYINT: | 820 | 100 | return execute_num_type<TYPE_TINYINT>(block, result, col_left_ptr, col_right_ptr); | 821 | 128 | case TYPE_SMALLINT: | 822 | 128 | return execute_num_type<TYPE_SMALLINT>(block, result, col_left_ptr, col_right_ptr); | 823 | 596 | case TYPE_INT: | 824 | 596 | return execute_num_type<TYPE_INT>(block, result, col_left_ptr, col_right_ptr); | 825 | 154 | case TYPE_BIGINT: | 826 | 154 | return execute_num_type<TYPE_BIGINT>(block, result, col_left_ptr, col_right_ptr); | 827 | 28 | case TYPE_LARGEINT: | 828 | 28 | 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 | 23 | case TYPE_FLOAT: | 834 | 23 | return execute_num_type<TYPE_FLOAT>(block, result, col_left_ptr, col_right_ptr); | 835 | 139 | case TYPE_DOUBLE: | 836 | 139 | 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 | 56 | case TYPE_DECIMAL64: | 842 | 137 | case TYPE_DECIMAL128I: | 843 | 148 | case TYPE_DECIMAL256: | 844 | 148 | return execute_decimal(block, result, col_with_type_and_name_left, | 845 | 148 | col_with_type_and_name_right); | 846 | 34 | case TYPE_CHAR: | 847 | 208 | case TYPE_VARCHAR: | 848 | 267 | case TYPE_STRING: | 849 | 267 | return execute_string(block, result, col_left_untyped, col_right_untyped); | 850 | 65 | default: | 851 | 65 | return execute_generic(block, result, col_with_type_and_name_left, | 852 | 65 | col_with_type_and_name_right); | 853 | 2.32k | } | 854 | 0 | return Status::OK(); | 855 | 2.32k | } |
_ZNK5doris18FunctionComparisonINS_6LessOpENS_8NameLessEE12execute_implEPNS_15FunctionContextERNS_5BlockERKSt6vectorIjSaIjEEjm Line | Count | Source | 757 | 8.55k | uint32_t result, size_t input_rows_count) const override { | 758 | 8.55k | const auto& col_with_type_and_name_left = block.get_by_position(arguments[0]); | 759 | 8.55k | const auto& col_with_type_and_name_right = block.get_by_position(arguments[1]); | 760 | | | 761 | 8.55k | const auto& col_left_ptr = col_with_type_and_name_left.column; | 762 | 8.55k | const auto& col_right_ptr = col_with_type_and_name_right.column; | 763 | 8.55k | const IColumn* col_left_untyped = col_with_type_and_name_left.column.get(); | 764 | 8.55k | const IColumn* col_right_untyped = col_with_type_and_name_right.column.get(); | 765 | | | 766 | 8.55k | const DataTypePtr& left_type = col_with_type_and_name_left.type; | 767 | 8.55k | 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 | 8.55k | if (left_type->equals(*right_type) && !left_type->is_nullable() && | 773 | 8.55k | 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 | 8.55k | return is_int_or_bool(t) || is_float_or_double(t) || is_ip(t) || is_date_type(t); | 797 | 8.55k | }; | 798 | | | 799 | 8.55k | if (can_compare(left_type->get_primitive_type()) && | 800 | 8.55k | 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.37k | 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.37k | } | 808 | | | 809 | 8.55k | auto compare_type = left_type->get_primitive_type(); | 810 | 8.55k | switch (compare_type) { | 811 | 101 | case TYPE_BOOLEAN: | 812 | 101 | return execute_num_type<TYPE_BOOLEAN>(block, result, col_left_ptr, col_right_ptr); | 813 | 2.06k | case TYPE_DATEV2: | 814 | 2.06k | return execute_num_type<TYPE_DATEV2>(block, result, col_left_ptr, col_right_ptr); | 815 | 313 | case TYPE_DATETIMEV2: | 816 | 313 | 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 | 2.10k | case TYPE_TINYINT: | 820 | 2.10k | return execute_num_type<TYPE_TINYINT>(block, result, col_left_ptr, col_right_ptr); | 821 | 136 | case TYPE_SMALLINT: | 822 | 136 | return execute_num_type<TYPE_SMALLINT>(block, result, col_left_ptr, col_right_ptr); | 823 | 1.11k | case TYPE_INT: | 824 | 1.11k | return execute_num_type<TYPE_INT>(block, result, col_left_ptr, col_right_ptr); | 825 | 762 | case TYPE_BIGINT: | 826 | 762 | return execute_num_type<TYPE_BIGINT>(block, result, col_left_ptr, col_right_ptr); | 827 | 280 | case TYPE_LARGEINT: | 828 | 280 | 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 | 137 | case TYPE_FLOAT: | 834 | 137 | return execute_num_type<TYPE_FLOAT>(block, result, col_left_ptr, col_right_ptr); | 835 | 332 | case TYPE_DOUBLE: | 836 | 332 | 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 | 178 | case TYPE_DECIMAL32: | 841 | 379 | case TYPE_DECIMAL64: | 842 | 662 | case TYPE_DECIMAL128I: | 843 | 663 | case TYPE_DECIMAL256: | 844 | 663 | return execute_decimal(block, result, col_with_type_and_name_left, | 845 | 663 | col_with_type_and_name_right); | 846 | 172 | case TYPE_CHAR: | 847 | 343 | case TYPE_VARCHAR: | 848 | 495 | case TYPE_STRING: | 849 | 495 | 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 | 8.55k | } | 854 | 0 | return Status::OK(); | 855 | 8.55k | } |
_ZNK5doris18FunctionComparisonINS_14LessOrEqualsOpENS_16NameLessOrEqualsEE12execute_implEPNS_15FunctionContextERNS_5BlockERKSt6vectorIjSaIjEEjm Line | Count | Source | 757 | 8.22k | uint32_t result, size_t input_rows_count) const override { | 758 | 8.22k | const auto& col_with_type_and_name_left = block.get_by_position(arguments[0]); | 759 | 8.22k | const auto& col_with_type_and_name_right = block.get_by_position(arguments[1]); | 760 | | | 761 | 8.22k | const auto& col_left_ptr = col_with_type_and_name_left.column; | 762 | 8.22k | const auto& col_right_ptr = col_with_type_and_name_right.column; | 763 | 8.22k | const IColumn* col_left_untyped = col_with_type_and_name_left.column.get(); | 764 | 8.22k | const IColumn* col_right_untyped = col_with_type_and_name_right.column.get(); | 765 | | | 766 | 8.22k | const DataTypePtr& left_type = col_with_type_and_name_left.type; | 767 | 8.22k | 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 | 8.22k | if (left_type->equals(*right_type) && !left_type->is_nullable() && | 773 | 8.22k | 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 | 8.22k | return is_int_or_bool(t) || is_float_or_double(t) || is_ip(t) || is_date_type(t); | 797 | 8.22k | }; | 798 | | | 799 | 8.22k | if (can_compare(left_type->get_primitive_type()) && | 800 | 8.22k | 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.80k | 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.80k | } | 808 | | | 809 | 8.22k | auto compare_type = left_type->get_primitive_type(); | 810 | 8.22k | switch (compare_type) { | 811 | 33 | case TYPE_BOOLEAN: | 812 | 33 | return execute_num_type<TYPE_BOOLEAN>(block, result, col_left_ptr, col_right_ptr); | 813 | 611 | case TYPE_DATEV2: | 814 | 611 | return execute_num_type<TYPE_DATEV2>(block, result, col_left_ptr, col_right_ptr); | 815 | 73 | case TYPE_DATETIMEV2: | 816 | 73 | return execute_num_type<TYPE_DATETIMEV2>(block, result, col_left_ptr, col_right_ptr); | 817 | 2 | case TYPE_TIMESTAMPTZ: | 818 | 2 | return execute_num_type<TYPE_TIMESTAMPTZ>(block, result, col_left_ptr, col_right_ptr); | 819 | 119 | case TYPE_TINYINT: | 820 | 119 | return execute_num_type<TYPE_TINYINT>(block, result, col_left_ptr, col_right_ptr); | 821 | 156 | case TYPE_SMALLINT: | 822 | 156 | return execute_num_type<TYPE_SMALLINT>(block, result, col_left_ptr, col_right_ptr); | 823 | 6.20k | case TYPE_INT: | 824 | 6.20k | return execute_num_type<TYPE_INT>(block, result, col_left_ptr, col_right_ptr); | 825 | 380 | case TYPE_BIGINT: | 826 | 380 | return execute_num_type<TYPE_BIGINT>(block, result, col_left_ptr, col_right_ptr); | 827 | 35 | case TYPE_LARGEINT: | 828 | 35 | 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 | 113 | case TYPE_DOUBLE: | 836 | 113 | 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 | 70 | case TYPE_DECIMAL64: | 842 | 187 | case TYPE_DECIMAL128I: | 843 | 193 | case TYPE_DECIMAL256: | 844 | 193 | return execute_decimal(block, result, col_with_type_and_name_left, | 845 | 193 | col_with_type_and_name_right); | 846 | 45 | case TYPE_CHAR: | 847 | 141 | case TYPE_VARCHAR: | 848 | 219 | case TYPE_STRING: | 849 | 219 | return execute_string(block, result, col_left_untyped, col_right_untyped); | 850 | 61 | default: | 851 | 61 | return execute_generic(block, result, col_with_type_and_name_left, | 852 | 61 | col_with_type_and_name_right); | 853 | 8.22k | } | 854 | 0 | return Status::OK(); | 855 | 8.22k | } |
|
856 | | }; |
857 | | |
858 | | } // namespace doris |