be/src/exprs/function/functions_comparison.h
Line | Count | Source |
1 | | // Licensed to the Apache Software Foundation (ASF) under one |
2 | | // or more contributor license agreements. See the NOTICE file |
3 | | // distributed with this work for additional information |
4 | | // regarding copyright ownership. The ASF licenses this file |
5 | | // to you under the Apache License, Version 2.0 (the |
6 | | // "License"); you may not use this file except in compliance |
7 | | // with the License. You may obtain a copy of the License at |
8 | | // |
9 | | // http://www.apache.org/licenses/LICENSE-2.0 |
10 | | // |
11 | | // Unless required by applicable law or agreed to in writing, |
12 | | // software distributed under the License is distributed on an |
13 | | // "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY |
14 | | // KIND, either express or implied. See the License for the |
15 | | // specific language governing permissions and limitations |
16 | | // under the License. |
17 | | // This file is copied from |
18 | | // https://github.com/ClickHouse/ClickHouse/blob/master/src/Functions/FunctionsComparison.h |
19 | | // and modified by Doris |
20 | | |
21 | | #pragma once |
22 | | |
23 | | #include <compare> |
24 | | #include <limits> |
25 | | #include <optional> |
26 | | #include <string_view> |
27 | | #include <type_traits> |
28 | | |
29 | | #include "common/check.h" |
30 | | #include "common/logging.h" |
31 | | #include "core/accurate_comparison.h" |
32 | | #include "core/assert_cast.h" |
33 | | #include "core/column/column_const.h" |
34 | | #include "core/column/column_decimal.h" |
35 | | #include "core/column/column_nullable.h" |
36 | | #include "core/column/column_string.h" |
37 | | #include "core/data_type/data_type_nullable.h" |
38 | | #include "core/data_type/data_type_number.h" |
39 | | #include "core/data_type/data_type_string.h" |
40 | | #include "core/data_type/define_primitive_type.h" |
41 | | #include "core/decimal_comparison.h" |
42 | | #include "core/field.h" |
43 | | #include "core/memcmp_small.h" |
44 | | #include "core/value/vdatetime_value.h" |
45 | | #include "exprs/expr_zonemap_filter.h" |
46 | | #include "exprs/function/function.h" |
47 | | #include "exprs/function/function_helpers.h" |
48 | | #include "exprs/function/functions_logical.h" |
49 | | #include "exprs/vexpr.h" |
50 | | #include "storage/index/index_reader_helper.h" |
51 | | |
52 | | namespace doris { |
53 | | /** Comparison functions: ==, !=, <, >, <=, >=. |
54 | | * The comparison functions always return 0 or 1 (UInt8). |
55 | | * |
56 | | * You can compare the following types: |
57 | | * - numbers and decimals; |
58 | | * - strings and fixed strings; |
59 | | * - dates; |
60 | | * - datetimes; |
61 | | * within each group, but not from different groups; |
62 | | * - tuples (lexicographic comparison). |
63 | | * |
64 | | * Exception: You can compare the date and datetime with a constant string. Example: EventDate = '2015-01-01'. |
65 | | */ |
66 | | |
67 | | template <typename A, typename B, typename Op> |
68 | | struct NumComparisonImpl { |
69 | | /// If you don't specify NO_INLINE, the compiler will inline this function, but we don't need this as this function contains tight loop inside. |
70 | | static void NO_INLINE vector_vector(const PaddedPODArray<A>& a, const PaddedPODArray<B>& b, |
71 | 8.34k | PaddedPODArray<UInt8>& c) { |
72 | 8.34k | size_t size = a.size(); |
73 | 8.34k | const A* __restrict a_pos = a.data(); |
74 | 8.34k | const B* __restrict b_pos = b.data(); |
75 | 8.34k | UInt8* __restrict c_pos = c.data(); |
76 | 8.34k | const A* __restrict a_end = a_pos + size; |
77 | | |
78 | 5.31M | while (a_pos < a_end) { |
79 | 5.30M | *c_pos = Op::apply(*a_pos, *b_pos); |
80 | 5.30M | ++a_pos; |
81 | 5.30M | ++b_pos; |
82 | 5.30M | ++c_pos; |
83 | 5.30M | } |
84 | 8.34k | } _ZN5doris17NumComparisonImplIhhNS_8EqualsOpILNS_13PrimitiveTypeE2EEEE13vector_vectorERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RS9_ Line | Count | Source | 71 | 65 | PaddedPODArray<UInt8>& c) { | 72 | 65 | size_t size = a.size(); | 73 | 65 | const A* __restrict a_pos = a.data(); | 74 | 65 | const B* __restrict b_pos = b.data(); | 75 | 65 | UInt8* __restrict c_pos = c.data(); | 76 | 65 | const A* __restrict a_end = a_pos + size; | 77 | | | 78 | 130 | while (a_pos < a_end) { | 79 | 65 | *c_pos = Op::apply(*a_pos, *b_pos); | 80 | 65 | ++a_pos; | 81 | 65 | ++b_pos; | 82 | 65 | ++c_pos; | 83 | 65 | } | 84 | 65 | } |
_ZN5doris17NumComparisonImplINS_11DateV2ValueINS_15DateV2ValueTypeEEES3_NS_8EqualsOpILNS_13PrimitiveTypeE25EEEE13vector_vectorERKNS_8PODArrayIS3_Lm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESE_RNS8_IhLm4096ESB_Lm16ELm15EEE Line | Count | Source | 71 | 237 | PaddedPODArray<UInt8>& c) { | 72 | 237 | size_t size = a.size(); | 73 | 237 | const A* __restrict a_pos = a.data(); | 74 | 237 | const B* __restrict b_pos = b.data(); | 75 | 237 | UInt8* __restrict c_pos = c.data(); | 76 | 237 | const A* __restrict a_end = a_pos + size; | 77 | | | 78 | 480 | while (a_pos < a_end) { | 79 | 243 | *c_pos = Op::apply(*a_pos, *b_pos); | 80 | 243 | ++a_pos; | 81 | 243 | ++b_pos; | 82 | 243 | ++c_pos; | 83 | 243 | } | 84 | 237 | } |
_ZN5doris17NumComparisonImplINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEES3_NS_8EqualsOpILNS_13PrimitiveTypeE26EEEE13vector_vectorERKNS_8PODArrayIS3_Lm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESE_RNS8_IhLm4096ESB_Lm16ELm15EEE Line | Count | Source | 71 | 278 | PaddedPODArray<UInt8>& c) { | 72 | 278 | size_t size = a.size(); | 73 | 278 | const A* __restrict a_pos = a.data(); | 74 | 278 | const B* __restrict b_pos = b.data(); | 75 | 278 | UInt8* __restrict c_pos = c.data(); | 76 | 278 | const A* __restrict a_end = a_pos + size; | 77 | | | 78 | 574 | while (a_pos < a_end) { | 79 | 296 | *c_pos = Op::apply(*a_pos, *b_pos); | 80 | 296 | ++a_pos; | 81 | 296 | ++b_pos; | 82 | 296 | ++c_pos; | 83 | 296 | } | 84 | 278 | } |
_ZN5doris17NumComparisonImplINS_16TimestampTzValueES1_NS_8EqualsOpILNS_13PrimitiveTypeE42EEEE13vector_vectorERKNS_8PODArrayIS1_Lm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESC_RNS6_IhLm4096ES9_Lm16ELm15EEE Line | Count | Source | 71 | 2 | PaddedPODArray<UInt8>& c) { | 72 | 2 | size_t size = a.size(); | 73 | 2 | const A* __restrict a_pos = a.data(); | 74 | 2 | const B* __restrict b_pos = b.data(); | 75 | 2 | UInt8* __restrict c_pos = c.data(); | 76 | 2 | const A* __restrict a_end = a_pos + size; | 77 | | | 78 | 12 | while (a_pos < a_end) { | 79 | 10 | *c_pos = Op::apply(*a_pos, *b_pos); | 80 | 10 | ++a_pos; | 81 | 10 | ++b_pos; | 82 | 10 | ++c_pos; | 83 | 10 | } | 84 | 2 | } |
_ZN5doris17NumComparisonImplIaaNS_8EqualsOpILNS_13PrimitiveTypeE3EEEE13vector_vectorERKNS_8PODArrayIaLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 71 | 179 | PaddedPODArray<UInt8>& c) { | 72 | 179 | size_t size = a.size(); | 73 | 179 | const A* __restrict a_pos = a.data(); | 74 | 179 | const B* __restrict b_pos = b.data(); | 75 | 179 | UInt8* __restrict c_pos = c.data(); | 76 | 179 | const A* __restrict a_end = a_pos + size; | 77 | | | 78 | 499 | while (a_pos < a_end) { | 79 | 320 | *c_pos = Op::apply(*a_pos, *b_pos); | 80 | 320 | ++a_pos; | 81 | 320 | ++b_pos; | 82 | 320 | ++c_pos; | 83 | 320 | } | 84 | 179 | } |
_ZN5doris17NumComparisonImplIssNS_8EqualsOpILNS_13PrimitiveTypeE4EEEE13vector_vectorERKNS_8PODArrayIsLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 71 | 97 | PaddedPODArray<UInt8>& c) { | 72 | 97 | size_t size = a.size(); | 73 | 97 | const A* __restrict a_pos = a.data(); | 74 | 97 | const B* __restrict b_pos = b.data(); | 75 | 97 | UInt8* __restrict c_pos = c.data(); | 76 | 97 | const A* __restrict a_end = a_pos + size; | 77 | | | 78 | 194 | while (a_pos < a_end) { | 79 | 97 | *c_pos = Op::apply(*a_pos, *b_pos); | 80 | 97 | ++a_pos; | 81 | 97 | ++b_pos; | 82 | 97 | ++c_pos; | 83 | 97 | } | 84 | 97 | } |
_ZN5doris17NumComparisonImplIiiNS_8EqualsOpILNS_13PrimitiveTypeE5EEEE13vector_vectorERKNS_8PODArrayIiLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 71 | 272 | PaddedPODArray<UInt8>& c) { | 72 | 272 | size_t size = a.size(); | 73 | 272 | const A* __restrict a_pos = a.data(); | 74 | 272 | const B* __restrict b_pos = b.data(); | 75 | 272 | UInt8* __restrict c_pos = c.data(); | 76 | 272 | const A* __restrict a_end = a_pos + size; | 77 | | | 78 | 1.76k | while (a_pos < a_end) { | 79 | 1.49k | *c_pos = Op::apply(*a_pos, *b_pos); | 80 | 1.49k | ++a_pos; | 81 | 1.49k | ++b_pos; | 82 | 1.49k | ++c_pos; | 83 | 1.49k | } | 84 | 272 | } |
_ZN5doris17NumComparisonImplIllNS_8EqualsOpILNS_13PrimitiveTypeE6EEEE13vector_vectorERKNS_8PODArrayIlLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 71 | 163 | PaddedPODArray<UInt8>& c) { | 72 | 163 | size_t size = a.size(); | 73 | 163 | const A* __restrict a_pos = a.data(); | 74 | 163 | const B* __restrict b_pos = b.data(); | 75 | 163 | UInt8* __restrict c_pos = c.data(); | 76 | 163 | const A* __restrict a_end = a_pos + size; | 77 | | | 78 | 1.49k | while (a_pos < a_end) { | 79 | 1.32k | *c_pos = Op::apply(*a_pos, *b_pos); | 80 | 1.32k | ++a_pos; | 81 | 1.32k | ++b_pos; | 82 | 1.32k | ++c_pos; | 83 | 1.32k | } | 84 | 163 | } |
_ZN5doris17NumComparisonImplInnNS_8EqualsOpILNS_13PrimitiveTypeE7EEEE13vector_vectorERKNS_8PODArrayInLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 71 | 93 | PaddedPODArray<UInt8>& c) { | 72 | 93 | size_t size = a.size(); | 73 | 93 | const A* __restrict a_pos = a.data(); | 74 | 93 | const B* __restrict b_pos = b.data(); | 75 | 93 | UInt8* __restrict c_pos = c.data(); | 76 | 93 | const A* __restrict a_end = a_pos + size; | 77 | | | 78 | 186 | while (a_pos < a_end) { | 79 | 93 | *c_pos = Op::apply(*a_pos, *b_pos); | 80 | 93 | ++a_pos; | 81 | 93 | ++b_pos; | 82 | 93 | ++c_pos; | 83 | 93 | } | 84 | 93 | } |
_ZN5doris17NumComparisonImplIjjNS_8EqualsOpILNS_13PrimitiveTypeE36EEEE13vector_vectorERKNS_8PODArrayIjLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 71 | 16 | PaddedPODArray<UInt8>& c) { | 72 | 16 | size_t size = a.size(); | 73 | 16 | const A* __restrict a_pos = a.data(); | 74 | 16 | const B* __restrict b_pos = b.data(); | 75 | 16 | UInt8* __restrict c_pos = c.data(); | 76 | 16 | const A* __restrict a_end = a_pos + size; | 77 | | | 78 | 32 | while (a_pos < a_end) { | 79 | 16 | *c_pos = Op::apply(*a_pos, *b_pos); | 80 | 16 | ++a_pos; | 81 | 16 | ++b_pos; | 82 | 16 | ++c_pos; | 83 | 16 | } | 84 | 16 | } |
_ZN5doris17NumComparisonImplIooNS_8EqualsOpILNS_13PrimitiveTypeE37EEEE13vector_vectorERKNS_8PODArrayIoLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 71 | 24 | PaddedPODArray<UInt8>& c) { | 72 | 24 | size_t size = a.size(); | 73 | 24 | const A* __restrict a_pos = a.data(); | 74 | 24 | const B* __restrict b_pos = b.data(); | 75 | 24 | UInt8* __restrict c_pos = c.data(); | 76 | 24 | const A* __restrict a_end = a_pos + size; | 77 | | | 78 | 48 | while (a_pos < a_end) { | 79 | 24 | *c_pos = Op::apply(*a_pos, *b_pos); | 80 | 24 | ++a_pos; | 81 | 24 | ++b_pos; | 82 | 24 | ++c_pos; | 83 | 24 | } | 84 | 24 | } |
_ZN5doris17NumComparisonImplIffNS_8EqualsOpILNS_13PrimitiveTypeE8EEEE13vector_vectorERKNS_8PODArrayIfLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 71 | 112 | PaddedPODArray<UInt8>& c) { | 72 | 112 | size_t size = a.size(); | 73 | 112 | const A* __restrict a_pos = a.data(); | 74 | 112 | const B* __restrict b_pos = b.data(); | 75 | 112 | UInt8* __restrict c_pos = c.data(); | 76 | 112 | const A* __restrict a_end = a_pos + size; | 77 | | | 78 | 243 | while (a_pos < a_end) { | 79 | 131 | *c_pos = Op::apply(*a_pos, *b_pos); | 80 | 131 | ++a_pos; | 81 | 131 | ++b_pos; | 82 | 131 | ++c_pos; | 83 | 131 | } | 84 | 112 | } |
_ZN5doris17NumComparisonImplIddNS_8EqualsOpILNS_13PrimitiveTypeE9EEEE13vector_vectorERKNS_8PODArrayIdLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 71 | 116 | PaddedPODArray<UInt8>& c) { | 72 | 116 | size_t size = a.size(); | 73 | 116 | const A* __restrict a_pos = a.data(); | 74 | 116 | const B* __restrict b_pos = b.data(); | 75 | 116 | UInt8* __restrict c_pos = c.data(); | 76 | 116 | const A* __restrict a_end = a_pos + size; | 77 | | | 78 | 253 | while (a_pos < a_end) { | 79 | 137 | *c_pos = Op::apply(*a_pos, *b_pos); | 80 | 137 | ++a_pos; | 81 | 137 | ++b_pos; | 82 | 137 | ++c_pos; | 83 | 137 | } | 84 | 116 | } |
_ZN5doris17NumComparisonImplIddNS_8EqualsOpILNS_13PrimitiveTypeE27EEEE13vector_vectorERKNS_8PODArrayIdLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 71 | 4 | PaddedPODArray<UInt8>& c) { | 72 | 4 | size_t size = a.size(); | 73 | 4 | const A* __restrict a_pos = a.data(); | 74 | 4 | const B* __restrict b_pos = b.data(); | 75 | 4 | UInt8* __restrict c_pos = c.data(); | 76 | 4 | const A* __restrict a_end = a_pos + size; | 77 | | | 78 | 8 | while (a_pos < a_end) { | 79 | 4 | *c_pos = Op::apply(*a_pos, *b_pos); | 80 | 4 | ++a_pos; | 81 | 4 | ++b_pos; | 82 | 4 | ++c_pos; | 83 | 4 | } | 84 | 4 | } |
Unexecuted instantiation: _ZN5doris17NumComparisonImplIhhNS_11NotEqualsOpILNS_13PrimitiveTypeE2EEEE13vector_vectorERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RS9_ _ZN5doris17NumComparisonImplINS_11DateV2ValueINS_15DateV2ValueTypeEEES3_NS_11NotEqualsOpILNS_13PrimitiveTypeE25EEEE13vector_vectorERKNS_8PODArrayIS3_Lm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESE_RNS8_IhLm4096ESB_Lm16ELm15EEE Line | Count | Source | 71 | 39 | PaddedPODArray<UInt8>& c) { | 72 | 39 | size_t size = a.size(); | 73 | 39 | const A* __restrict a_pos = a.data(); | 74 | 39 | const B* __restrict b_pos = b.data(); | 75 | 39 | UInt8* __restrict c_pos = c.data(); | 76 | 39 | const A* __restrict a_end = a_pos + size; | 77 | | | 78 | 108 | while (a_pos < a_end) { | 79 | 69 | *c_pos = Op::apply(*a_pos, *b_pos); | 80 | 69 | ++a_pos; | 81 | 69 | ++b_pos; | 82 | 69 | ++c_pos; | 83 | 69 | } | 84 | 39 | } |
Unexecuted instantiation: _ZN5doris17NumComparisonImplINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEES3_NS_11NotEqualsOpILNS_13PrimitiveTypeE26EEEE13vector_vectorERKNS_8PODArrayIS3_Lm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESE_RNS8_IhLm4096ESB_Lm16ELm15EEE Unexecuted instantiation: _ZN5doris17NumComparisonImplINS_16TimestampTzValueES1_NS_11NotEqualsOpILNS_13PrimitiveTypeE42EEEE13vector_vectorERKNS_8PODArrayIS1_Lm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESC_RNS6_IhLm4096ES9_Lm16ELm15EEE _ZN5doris17NumComparisonImplIaaNS_11NotEqualsOpILNS_13PrimitiveTypeE3EEEE13vector_vectorERKNS_8PODArrayIaLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 71 | 56 | PaddedPODArray<UInt8>& c) { | 72 | 56 | size_t size = a.size(); | 73 | 56 | const A* __restrict a_pos = a.data(); | 74 | 56 | const B* __restrict b_pos = b.data(); | 75 | 56 | UInt8* __restrict c_pos = c.data(); | 76 | 56 | const A* __restrict a_end = a_pos + size; | 77 | | | 78 | 252 | while (a_pos < a_end) { | 79 | 196 | *c_pos = Op::apply(*a_pos, *b_pos); | 80 | 196 | ++a_pos; | 81 | 196 | ++b_pos; | 82 | 196 | ++c_pos; | 83 | 196 | } | 84 | 56 | } |
Unexecuted instantiation: _ZN5doris17NumComparisonImplIssNS_11NotEqualsOpILNS_13PrimitiveTypeE4EEEE13vector_vectorERKNS_8PODArrayIsLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE _ZN5doris17NumComparisonImplIiiNS_11NotEqualsOpILNS_13PrimitiveTypeE5EEEE13vector_vectorERKNS_8PODArrayIiLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 71 | 1.17k | PaddedPODArray<UInt8>& c) { | 72 | 1.17k | size_t size = a.size(); | 73 | 1.17k | const A* __restrict a_pos = a.data(); | 74 | 1.17k | const B* __restrict b_pos = b.data(); | 75 | 1.17k | UInt8* __restrict c_pos = c.data(); | 76 | 1.17k | const A* __restrict a_end = a_pos + size; | 77 | | | 78 | 297k | while (a_pos < a_end) { | 79 | 295k | *c_pos = Op::apply(*a_pos, *b_pos); | 80 | 295k | ++a_pos; | 81 | 295k | ++b_pos; | 82 | 295k | ++c_pos; | 83 | 295k | } | 84 | 1.17k | } |
_ZN5doris17NumComparisonImplIllNS_11NotEqualsOpILNS_13PrimitiveTypeE6EEEE13vector_vectorERKNS_8PODArrayIlLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 71 | 345 | PaddedPODArray<UInt8>& c) { | 72 | 345 | size_t size = a.size(); | 73 | 345 | const A* __restrict a_pos = a.data(); | 74 | 345 | const B* __restrict b_pos = b.data(); | 75 | 345 | UInt8* __restrict c_pos = c.data(); | 76 | 345 | const A* __restrict a_end = a_pos + size; | 77 | | | 78 | 6.26k | while (a_pos < a_end) { | 79 | 5.92k | *c_pos = Op::apply(*a_pos, *b_pos); | 80 | 5.92k | ++a_pos; | 81 | 5.92k | ++b_pos; | 82 | 5.92k | ++c_pos; | 83 | 5.92k | } | 84 | 345 | } |
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 | 953 | PaddedPODArray<UInt8>& c) { | 72 | 953 | size_t size = a.size(); | 73 | 953 | const A* __restrict a_pos = a.data(); | 74 | 953 | const B* __restrict b_pos = b.data(); | 75 | 953 | UInt8* __restrict c_pos = c.data(); | 76 | 953 | const A* __restrict a_end = a_pos + size; | 77 | | | 78 | 3.75M | while (a_pos < a_end) { | 79 | 3.75M | *c_pos = Op::apply(*a_pos, *b_pos); | 80 | 3.75M | ++a_pos; | 81 | 3.75M | ++b_pos; | 82 | 3.75M | ++c_pos; | 83 | 3.75M | } | 84 | 953 | } |
Unexecuted instantiation: _ZN5doris17NumComparisonImplINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEES3_NS_9GreaterOpILNS_13PrimitiveTypeE26EEEE13vector_vectorERKNS_8PODArrayIS3_Lm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESE_RNS8_IhLm4096ESB_Lm16ELm15EEE _ZN5doris17NumComparisonImplINS_16TimestampTzValueES1_NS_9GreaterOpILNS_13PrimitiveTypeE42EEEE13vector_vectorERKNS_8PODArrayIS1_Lm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESC_RNS6_IhLm4096ES9_Lm16ELm15EEE Line | Count | Source | 71 | 1 | PaddedPODArray<UInt8>& c) { | 72 | 1 | size_t size = a.size(); | 73 | 1 | const A* __restrict a_pos = a.data(); | 74 | 1 | const B* __restrict b_pos = b.data(); | 75 | 1 | UInt8* __restrict c_pos = c.data(); | 76 | 1 | const A* __restrict a_end = a_pos + size; | 77 | | | 78 | 10 | while (a_pos < a_end) { | 79 | 9 | *c_pos = Op::apply(*a_pos, *b_pos); | 80 | 9 | ++a_pos; | 81 | 9 | ++b_pos; | 82 | 9 | ++c_pos; | 83 | 9 | } | 84 | 1 | } |
_ZN5doris17NumComparisonImplIaaNS_9GreaterOpILNS_13PrimitiveTypeE3EEEE13vector_vectorERKNS_8PODArrayIaLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 71 | 42 | PaddedPODArray<UInt8>& c) { | 72 | 42 | size_t size = a.size(); | 73 | 42 | const A* __restrict a_pos = a.data(); | 74 | 42 | const B* __restrict b_pos = b.data(); | 75 | 42 | UInt8* __restrict c_pos = c.data(); | 76 | 42 | const A* __restrict a_end = a_pos + size; | 77 | | | 78 | 326 | while (a_pos < a_end) { | 79 | 284 | *c_pos = Op::apply(*a_pos, *b_pos); | 80 | 284 | ++a_pos; | 81 | 284 | ++b_pos; | 82 | 284 | ++c_pos; | 83 | 284 | } | 84 | 42 | } |
_ZN5doris17NumComparisonImplIssNS_9GreaterOpILNS_13PrimitiveTypeE4EEEE13vector_vectorERKNS_8PODArrayIsLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 71 | 129 | PaddedPODArray<UInt8>& c) { | 72 | 129 | size_t size = a.size(); | 73 | 129 | const A* __restrict a_pos = a.data(); | 74 | 129 | const B* __restrict b_pos = b.data(); | 75 | 129 | UInt8* __restrict c_pos = c.data(); | 76 | 129 | const A* __restrict a_end = a_pos + size; | 77 | | | 78 | 385 | while (a_pos < a_end) { | 79 | 256 | *c_pos = Op::apply(*a_pos, *b_pos); | 80 | 256 | ++a_pos; | 81 | 256 | ++b_pos; | 82 | 256 | ++c_pos; | 83 | 256 | } | 84 | 129 | } |
_ZN5doris17NumComparisonImplIiiNS_9GreaterOpILNS_13PrimitiveTypeE5EEEE13vector_vectorERKNS_8PODArrayIiLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 71 | 49 | PaddedPODArray<UInt8>& c) { | 72 | 49 | size_t size = a.size(); | 73 | 49 | const A* __restrict a_pos = a.data(); | 74 | 49 | const B* __restrict b_pos = b.data(); | 75 | 49 | UInt8* __restrict c_pos = c.data(); | 76 | 49 | const A* __restrict a_end = a_pos + size; | 77 | | | 78 | 271 | while (a_pos < a_end) { | 79 | 222 | *c_pos = Op::apply(*a_pos, *b_pos); | 80 | 222 | ++a_pos; | 81 | 222 | ++b_pos; | 82 | 222 | ++c_pos; | 83 | 222 | } | 84 | 49 | } |
_ZN5doris17NumComparisonImplIllNS_9GreaterOpILNS_13PrimitiveTypeE6EEEE13vector_vectorERKNS_8PODArrayIlLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 71 | 65 | PaddedPODArray<UInt8>& c) { | 72 | 65 | size_t size = a.size(); | 73 | 65 | const A* __restrict a_pos = a.data(); | 74 | 65 | const B* __restrict b_pos = b.data(); | 75 | 65 | UInt8* __restrict c_pos = c.data(); | 76 | 65 | const A* __restrict a_end = a_pos + size; | 77 | | | 78 | 581 | while (a_pos < a_end) { | 79 | 516 | *c_pos = Op::apply(*a_pos, *b_pos); | 80 | 516 | ++a_pos; | 81 | 516 | ++b_pos; | 82 | 516 | ++c_pos; | 83 | 516 | } | 84 | 65 | } |
_ZN5doris17NumComparisonImplInnNS_9GreaterOpILNS_13PrimitiveTypeE7EEEE13vector_vectorERKNS_8PODArrayInLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 71 | 2 | PaddedPODArray<UInt8>& c) { | 72 | 2 | size_t size = a.size(); | 73 | 2 | const A* __restrict a_pos = a.data(); | 74 | 2 | const B* __restrict b_pos = b.data(); | 75 | 2 | UInt8* __restrict c_pos = c.data(); | 76 | 2 | const A* __restrict a_end = a_pos + size; | 77 | | | 78 | 6 | while (a_pos < a_end) { | 79 | 4 | *c_pos = Op::apply(*a_pos, *b_pos); | 80 | 4 | ++a_pos; | 81 | 4 | ++b_pos; | 82 | 4 | ++c_pos; | 83 | 4 | } | 84 | 2 | } |
_ZN5doris17NumComparisonImplIjjNS_9GreaterOpILNS_13PrimitiveTypeE36EEEE13vector_vectorERKNS_8PODArrayIjLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 71 | 1 | PaddedPODArray<UInt8>& c) { | 72 | 1 | size_t size = a.size(); | 73 | 1 | const A* __restrict a_pos = a.data(); | 74 | 1 | const B* __restrict b_pos = b.data(); | 75 | 1 | UInt8* __restrict c_pos = c.data(); | 76 | 1 | const A* __restrict a_end = a_pos + size; | 77 | | | 78 | 2 | while (a_pos < a_end) { | 79 | 1 | *c_pos = Op::apply(*a_pos, *b_pos); | 80 | 1 | ++a_pos; | 81 | 1 | ++b_pos; | 82 | 1 | ++c_pos; | 83 | 1 | } | 84 | 1 | } |
_ZN5doris17NumComparisonImplIooNS_9GreaterOpILNS_13PrimitiveTypeE37EEEE13vector_vectorERKNS_8PODArrayIoLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 71 | 1 | PaddedPODArray<UInt8>& c) { | 72 | 1 | size_t size = a.size(); | 73 | 1 | const A* __restrict a_pos = a.data(); | 74 | 1 | const B* __restrict b_pos = b.data(); | 75 | 1 | UInt8* __restrict c_pos = c.data(); | 76 | 1 | const A* __restrict a_end = a_pos + size; | 77 | | | 78 | 2 | while (a_pos < a_end) { | 79 | 1 | *c_pos = Op::apply(*a_pos, *b_pos); | 80 | 1 | ++a_pos; | 81 | 1 | ++b_pos; | 82 | 1 | ++c_pos; | 83 | 1 | } | 84 | 1 | } |
_ZN5doris17NumComparisonImplIffNS_9GreaterOpILNS_13PrimitiveTypeE8EEEE13vector_vectorERKNS_8PODArrayIfLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 71 | 20 | PaddedPODArray<UInt8>& c) { | 72 | 20 | size_t size = a.size(); | 73 | 20 | const A* __restrict a_pos = a.data(); | 74 | 20 | const B* __restrict b_pos = b.data(); | 75 | 20 | UInt8* __restrict c_pos = c.data(); | 76 | 20 | const A* __restrict a_end = a_pos + size; | 77 | | | 78 | 59 | while (a_pos < a_end) { | 79 | 39 | *c_pos = Op::apply(*a_pos, *b_pos); | 80 | 39 | ++a_pos; | 81 | 39 | ++b_pos; | 82 | 39 | ++c_pos; | 83 | 39 | } | 84 | 20 | } |
_ZN5doris17NumComparisonImplIddNS_9GreaterOpILNS_13PrimitiveTypeE9EEEE13vector_vectorERKNS_8PODArrayIdLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 71 | 30 | PaddedPODArray<UInt8>& c) { | 72 | 30 | size_t size = a.size(); | 73 | 30 | const A* __restrict a_pos = a.data(); | 74 | 30 | const B* __restrict b_pos = b.data(); | 75 | 30 | UInt8* __restrict c_pos = c.data(); | 76 | 30 | const A* __restrict a_end = a_pos + size; | 77 | | | 78 | 100 | 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 | 30 | } |
Unexecuted instantiation: _ZN5doris17NumComparisonImplIddNS_9GreaterOpILNS_13PrimitiveTypeE27EEEE13vector_vectorERKNS_8PODArrayIdLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Unexecuted instantiation: _ZN5doris17NumComparisonImplIhhNS_17GreaterOrEqualsOpILNS_13PrimitiveTypeE2EEEE13vector_vectorERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RS9_ _ZN5doris17NumComparisonImplINS_11DateV2ValueINS_15DateV2ValueTypeEEES3_NS_17GreaterOrEqualsOpILNS_13PrimitiveTypeE25EEEE13vector_vectorERKNS_8PODArrayIS3_Lm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESE_RNS8_IhLm4096ESB_Lm16ELm15EEE Line | Count | Source | 71 | 1 | PaddedPODArray<UInt8>& c) { | 72 | 1 | size_t size = a.size(); | 73 | 1 | const A* __restrict a_pos = a.data(); | 74 | 1 | const B* __restrict b_pos = b.data(); | 75 | 1 | UInt8* __restrict c_pos = c.data(); | 76 | 1 | const A* __restrict a_end = a_pos + size; | 77 | | | 78 | 2 | while (a_pos < a_end) { | 79 | 1 | *c_pos = Op::apply(*a_pos, *b_pos); | 80 | 1 | ++a_pos; | 81 | 1 | ++b_pos; | 82 | 1 | ++c_pos; | 83 | 1 | } | 84 | 1 | } |
_ZN5doris17NumComparisonImplINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEES3_NS_17GreaterOrEqualsOpILNS_13PrimitiveTypeE26EEEE13vector_vectorERKNS_8PODArrayIS3_Lm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESE_RNS8_IhLm4096ESB_Lm16ELm15EEE Line | Count | Source | 71 | 6 | PaddedPODArray<UInt8>& c) { | 72 | 6 | size_t size = a.size(); | 73 | 6 | const A* __restrict a_pos = a.data(); | 74 | 6 | const B* __restrict b_pos = b.data(); | 75 | 6 | UInt8* __restrict c_pos = c.data(); | 76 | 6 | const A* __restrict a_end = a_pos + size; | 77 | | | 78 | 70 | while (a_pos < a_end) { | 79 | 64 | *c_pos = Op::apply(*a_pos, *b_pos); | 80 | 64 | ++a_pos; | 81 | 64 | ++b_pos; | 82 | 64 | ++c_pos; | 83 | 64 | } | 84 | 6 | } |
_ZN5doris17NumComparisonImplINS_16TimestampTzValueES1_NS_17GreaterOrEqualsOpILNS_13PrimitiveTypeE42EEEE13vector_vectorERKNS_8PODArrayIS1_Lm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESC_RNS6_IhLm4096ES9_Lm16ELm15EEE Line | Count | Source | 71 | 1 | PaddedPODArray<UInt8>& c) { | 72 | 1 | size_t size = a.size(); | 73 | 1 | const A* __restrict a_pos = a.data(); | 74 | 1 | const B* __restrict b_pos = b.data(); | 75 | 1 | UInt8* __restrict c_pos = c.data(); | 76 | 1 | const A* __restrict a_end = a_pos + size; | 77 | | | 78 | 10 | while (a_pos < a_end) { | 79 | 9 | *c_pos = Op::apply(*a_pos, *b_pos); | 80 | 9 | ++a_pos; | 81 | 9 | ++b_pos; | 82 | 9 | ++c_pos; | 83 | 9 | } | 84 | 1 | } |
Unexecuted instantiation: _ZN5doris17NumComparisonImplIaaNS_17GreaterOrEqualsOpILNS_13PrimitiveTypeE3EEEE13vector_vectorERKNS_8PODArrayIaLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Unexecuted instantiation: _ZN5doris17NumComparisonImplIssNS_17GreaterOrEqualsOpILNS_13PrimitiveTypeE4EEEE13vector_vectorERKNS_8PODArrayIsLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE _ZN5doris17NumComparisonImplIiiNS_17GreaterOrEqualsOpILNS_13PrimitiveTypeE5EEEE13vector_vectorERKNS_8PODArrayIiLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 71 | 3 | PaddedPODArray<UInt8>& c) { | 72 | 3 | size_t size = a.size(); | 73 | 3 | const A* __restrict a_pos = a.data(); | 74 | 3 | const B* __restrict b_pos = b.data(); | 75 | 3 | UInt8* __restrict c_pos = c.data(); | 76 | 3 | const A* __restrict a_end = a_pos + size; | 77 | | | 78 | 7 | while (a_pos < a_end) { | 79 | 4 | *c_pos = Op::apply(*a_pos, *b_pos); | 80 | 4 | ++a_pos; | 81 | 4 | ++b_pos; | 82 | 4 | ++c_pos; | 83 | 4 | } | 84 | 3 | } |
_ZN5doris17NumComparisonImplIllNS_17GreaterOrEqualsOpILNS_13PrimitiveTypeE6EEEE13vector_vectorERKNS_8PODArrayIlLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 71 | 8 | PaddedPODArray<UInt8>& c) { | 72 | 8 | size_t size = a.size(); | 73 | 8 | const A* __restrict a_pos = a.data(); | 74 | 8 | const B* __restrict b_pos = b.data(); | 75 | 8 | UInt8* __restrict c_pos = c.data(); | 76 | 8 | const A* __restrict a_end = a_pos + size; | 77 | | | 78 | 62 | while (a_pos < a_end) { | 79 | 54 | *c_pos = Op::apply(*a_pos, *b_pos); | 80 | 54 | ++a_pos; | 81 | 54 | ++b_pos; | 82 | 54 | ++c_pos; | 83 | 54 | } | 84 | 8 | } |
Unexecuted instantiation: _ZN5doris17NumComparisonImplInnNS_17GreaterOrEqualsOpILNS_13PrimitiveTypeE7EEEE13vector_vectorERKNS_8PODArrayInLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE _ZN5doris17NumComparisonImplIjjNS_17GreaterOrEqualsOpILNS_13PrimitiveTypeE36EEEE13vector_vectorERKNS_8PODArrayIjLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 71 | 1 | PaddedPODArray<UInt8>& c) { | 72 | 1 | size_t size = a.size(); | 73 | 1 | const A* __restrict a_pos = a.data(); | 74 | 1 | const B* __restrict b_pos = b.data(); | 75 | 1 | UInt8* __restrict c_pos = c.data(); | 76 | 1 | const A* __restrict a_end = a_pos + size; | 77 | | | 78 | 2 | while (a_pos < a_end) { | 79 | 1 | *c_pos = Op::apply(*a_pos, *b_pos); | 80 | 1 | ++a_pos; | 81 | 1 | ++b_pos; | 82 | 1 | ++c_pos; | 83 | 1 | } | 84 | 1 | } |
_ZN5doris17NumComparisonImplIooNS_17GreaterOrEqualsOpILNS_13PrimitiveTypeE37EEEE13vector_vectorERKNS_8PODArrayIoLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 71 | 1 | PaddedPODArray<UInt8>& c) { | 72 | 1 | size_t size = a.size(); | 73 | 1 | const A* __restrict a_pos = a.data(); | 74 | 1 | const B* __restrict b_pos = b.data(); | 75 | 1 | UInt8* __restrict c_pos = c.data(); | 76 | 1 | const A* __restrict a_end = a_pos + size; | 77 | | | 78 | 2 | while (a_pos < a_end) { | 79 | 1 | *c_pos = Op::apply(*a_pos, *b_pos); | 80 | 1 | ++a_pos; | 81 | 1 | ++b_pos; | 82 | 1 | ++c_pos; | 83 | 1 | } | 84 | 1 | } |
_ZN5doris17NumComparisonImplIffNS_17GreaterOrEqualsOpILNS_13PrimitiveTypeE8EEEE13vector_vectorERKNS_8PODArrayIfLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 71 | 20 | PaddedPODArray<UInt8>& c) { | 72 | 20 | size_t size = a.size(); | 73 | 20 | const A* __restrict a_pos = a.data(); | 74 | 20 | const B* __restrict b_pos = b.data(); | 75 | 20 | UInt8* __restrict c_pos = c.data(); | 76 | 20 | const A* __restrict a_end = a_pos + size; | 77 | | | 78 | 59 | while (a_pos < a_end) { | 79 | 39 | *c_pos = Op::apply(*a_pos, *b_pos); | 80 | 39 | ++a_pos; | 81 | 39 | ++b_pos; | 82 | 39 | ++c_pos; | 83 | 39 | } | 84 | 20 | } |
_ZN5doris17NumComparisonImplIddNS_17GreaterOrEqualsOpILNS_13PrimitiveTypeE9EEEE13vector_vectorERKNS_8PODArrayIdLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 71 | 24 | PaddedPODArray<UInt8>& c) { | 72 | 24 | size_t size = a.size(); | 73 | 24 | const A* __restrict a_pos = a.data(); | 74 | 24 | const B* __restrict b_pos = b.data(); | 75 | 24 | UInt8* __restrict c_pos = c.data(); | 76 | 24 | const A* __restrict a_end = a_pos + size; | 77 | | | 78 | 67 | while (a_pos < a_end) { | 79 | 43 | *c_pos = Op::apply(*a_pos, *b_pos); | 80 | 43 | ++a_pos; | 81 | 43 | ++b_pos; | 82 | 43 | ++c_pos; | 83 | 43 | } | 84 | 24 | } |
Unexecuted instantiation: _ZN5doris17NumComparisonImplIddNS_17GreaterOrEqualsOpILNS_13PrimitiveTypeE27EEEE13vector_vectorERKNS_8PODArrayIdLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE _ZN5doris17NumComparisonImplIhhNS_6LessOpILNS_13PrimitiveTypeE2EEEE13vector_vectorERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RS9_ Line | Count | Source | 71 | 91 | PaddedPODArray<UInt8>& c) { | 72 | 91 | size_t size = a.size(); | 73 | 91 | const A* __restrict a_pos = a.data(); | 74 | 91 | const B* __restrict b_pos = b.data(); | 75 | 91 | UInt8* __restrict c_pos = c.data(); | 76 | 91 | const A* __restrict a_end = a_pos + size; | 77 | | | 78 | 356 | while (a_pos < a_end) { | 79 | 265 | *c_pos = Op::apply(*a_pos, *b_pos); | 80 | 265 | ++a_pos; | 81 | 265 | ++b_pos; | 82 | 265 | ++c_pos; | 83 | 265 | } | 84 | 91 | } |
_ZN5doris17NumComparisonImplINS_11DateV2ValueINS_15DateV2ValueTypeEEES3_NS_6LessOpILNS_13PrimitiveTypeE25EEEE13vector_vectorERKNS_8PODArrayIS3_Lm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESE_RNS8_IhLm4096ESB_Lm16ELm15EEE Line | Count | Source | 71 | 1.62k | PaddedPODArray<UInt8>& c) { | 72 | 1.62k | size_t size = a.size(); | 73 | 1.62k | const A* __restrict a_pos = a.data(); | 74 | 1.62k | const B* __restrict b_pos = b.data(); | 75 | 1.62k | UInt8* __restrict c_pos = c.data(); | 76 | 1.62k | 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.62k | } |
_ZN5doris17NumComparisonImplINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEES3_NS_6LessOpILNS_13PrimitiveTypeE26EEEE13vector_vectorERKNS_8PODArrayIS3_Lm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESE_RNS8_IhLm4096ESB_Lm16ELm15EEE Line | Count | Source | 71 | 258 | PaddedPODArray<UInt8>& c) { | 72 | 258 | size_t size = a.size(); | 73 | 258 | const A* __restrict a_pos = a.data(); | 74 | 258 | const B* __restrict b_pos = b.data(); | 75 | 258 | UInt8* __restrict c_pos = c.data(); | 76 | 258 | const A* __restrict a_end = a_pos + size; | 77 | | | 78 | 864 | while (a_pos < a_end) { | 79 | 606 | *c_pos = Op::apply(*a_pos, *b_pos); | 80 | 606 | ++a_pos; | 81 | 606 | ++b_pos; | 82 | 606 | ++c_pos; | 83 | 606 | } | 84 | 258 | } |
_ZN5doris17NumComparisonImplINS_16TimestampTzValueES1_NS_6LessOpILNS_13PrimitiveTypeE42EEEE13vector_vectorERKNS_8PODArrayIS1_Lm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESC_RNS6_IhLm4096ES9_Lm16ELm15EEE Line | Count | Source | 71 | 1 | PaddedPODArray<UInt8>& c) { | 72 | 1 | size_t size = a.size(); | 73 | 1 | const A* __restrict a_pos = a.data(); | 74 | 1 | const B* __restrict b_pos = b.data(); | 75 | 1 | UInt8* __restrict c_pos = c.data(); | 76 | 1 | const A* __restrict a_end = a_pos + size; | 77 | | | 78 | 10 | while (a_pos < a_end) { | 79 | 9 | *c_pos = Op::apply(*a_pos, *b_pos); | 80 | 9 | ++a_pos; | 81 | 9 | ++b_pos; | 82 | 9 | ++c_pos; | 83 | 9 | } | 84 | 1 | } |
_ZN5doris17NumComparisonImplIaaNS_6LessOpILNS_13PrimitiveTypeE3EEEE13vector_vectorERKNS_8PODArrayIaLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 71 | 159 | PaddedPODArray<UInt8>& c) { | 72 | 159 | size_t size = a.size(); | 73 | 159 | const A* __restrict a_pos = a.data(); | 74 | 159 | const B* __restrict b_pos = b.data(); | 75 | 159 | UInt8* __restrict c_pos = c.data(); | 76 | 159 | const A* __restrict a_end = a_pos + size; | 77 | | | 78 | 492 | while (a_pos < a_end) { | 79 | 333 | *c_pos = Op::apply(*a_pos, *b_pos); | 80 | 333 | ++a_pos; | 81 | 333 | ++b_pos; | 82 | 333 | ++c_pos; | 83 | 333 | } | 84 | 159 | } |
_ZN5doris17NumComparisonImplIssNS_6LessOpILNS_13PrimitiveTypeE4EEEE13vector_vectorERKNS_8PODArrayIsLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 71 | 140 | PaddedPODArray<UInt8>& c) { | 72 | 140 | size_t size = a.size(); | 73 | 140 | const A* __restrict a_pos = a.data(); | 74 | 140 | const B* __restrict b_pos = b.data(); | 75 | 140 | UInt8* __restrict c_pos = c.data(); | 76 | 140 | const A* __restrict a_end = a_pos + size; | 77 | | | 78 | 455 | while (a_pos < a_end) { | 79 | 315 | *c_pos = Op::apply(*a_pos, *b_pos); | 80 | 315 | ++a_pos; | 81 | 315 | ++b_pos; | 82 | 315 | ++c_pos; | 83 | 315 | } | 84 | 140 | } |
_ZN5doris17NumComparisonImplIiiNS_6LessOpILNS_13PrimitiveTypeE5EEEE13vector_vectorERKNS_8PODArrayIiLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 71 | 177 | PaddedPODArray<UInt8>& c) { | 72 | 177 | size_t size = a.size(); | 73 | 177 | const A* __restrict a_pos = a.data(); | 74 | 177 | const B* __restrict b_pos = b.data(); | 75 | 177 | UInt8* __restrict c_pos = c.data(); | 76 | 177 | const A* __restrict a_end = a_pos + size; | 77 | | | 78 | 1.04k | while (a_pos < a_end) { | 79 | 865 | *c_pos = Op::apply(*a_pos, *b_pos); | 80 | 865 | ++a_pos; | 81 | 865 | ++b_pos; | 82 | 865 | ++c_pos; | 83 | 865 | } | 84 | 177 | } |
_ZN5doris17NumComparisonImplIllNS_6LessOpILNS_13PrimitiveTypeE6EEEE13vector_vectorERKNS_8PODArrayIlLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 71 | 229 | PaddedPODArray<UInt8>& c) { | 72 | 229 | size_t size = a.size(); | 73 | 229 | const A* __restrict a_pos = a.data(); | 74 | 229 | const B* __restrict b_pos = b.data(); | 75 | 229 | UInt8* __restrict c_pos = c.data(); | 76 | 229 | const A* __restrict a_end = a_pos + size; | 77 | | | 78 | 5.43k | 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 | 229 | } |
_ZN5doris17NumComparisonImplInnNS_6LessOpILNS_13PrimitiveTypeE7EEEE13vector_vectorERKNS_8PODArrayInLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 71 | 153 | PaddedPODArray<UInt8>& c) { | 72 | 153 | size_t size = a.size(); | 73 | 153 | const A* __restrict a_pos = a.data(); | 74 | 153 | const B* __restrict b_pos = b.data(); | 75 | 153 | UInt8* __restrict c_pos = c.data(); | 76 | 153 | const A* __restrict a_end = a_pos + size; | 77 | | | 78 | 480 | while (a_pos < a_end) { | 79 | 327 | *c_pos = Op::apply(*a_pos, *b_pos); | 80 | 327 | ++a_pos; | 81 | 327 | ++b_pos; | 82 | 327 | ++c_pos; | 83 | 327 | } | 84 | 153 | } |
_ZN5doris17NumComparisonImplIjjNS_6LessOpILNS_13PrimitiveTypeE36EEEE13vector_vectorERKNS_8PODArrayIjLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 71 | 16 | PaddedPODArray<UInt8>& c) { | 72 | 16 | size_t size = a.size(); | 73 | 16 | const A* __restrict a_pos = a.data(); | 74 | 16 | const B* __restrict b_pos = b.data(); | 75 | 16 | UInt8* __restrict c_pos = c.data(); | 76 | 16 | const A* __restrict a_end = a_pos + size; | 77 | | | 78 | 32 | while (a_pos < a_end) { | 79 | 16 | *c_pos = Op::apply(*a_pos, *b_pos); | 80 | 16 | ++a_pos; | 81 | 16 | ++b_pos; | 82 | 16 | ++c_pos; | 83 | 16 | } | 84 | 16 | } |
_ZN5doris17NumComparisonImplIooNS_6LessOpILNS_13PrimitiveTypeE37EEEE13vector_vectorERKNS_8PODArrayIoLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 71 | 16 | PaddedPODArray<UInt8>& c) { | 72 | 16 | size_t size = a.size(); | 73 | 16 | const A* __restrict a_pos = a.data(); | 74 | 16 | const B* __restrict b_pos = b.data(); | 75 | 16 | UInt8* __restrict c_pos = c.data(); | 76 | 16 | const A* __restrict a_end = a_pos + size; | 77 | | | 78 | 32 | while (a_pos < a_end) { | 79 | 16 | *c_pos = Op::apply(*a_pos, *b_pos); | 80 | 16 | ++a_pos; | 81 | 16 | ++b_pos; | 82 | 16 | ++c_pos; | 83 | 16 | } | 84 | 16 | } |
_ZN5doris17NumComparisonImplIffNS_6LessOpILNS_13PrimitiveTypeE8EEEE13vector_vectorERKNS_8PODArrayIfLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 71 | 148 | PaddedPODArray<UInt8>& c) { | 72 | 148 | size_t size = a.size(); | 73 | 148 | const A* __restrict a_pos = a.data(); | 74 | 148 | const B* __restrict b_pos = b.data(); | 75 | 148 | UInt8* __restrict c_pos = c.data(); | 76 | 148 | const A* __restrict a_end = a_pos + size; | 77 | | | 78 | 489 | while (a_pos < a_end) { | 79 | 341 | *c_pos = Op::apply(*a_pos, *b_pos); | 80 | 341 | ++a_pos; | 81 | 341 | ++b_pos; | 82 | 341 | ++c_pos; | 83 | 341 | } | 84 | 148 | } |
_ZN5doris17NumComparisonImplIddNS_6LessOpILNS_13PrimitiveTypeE9EEEE13vector_vectorERKNS_8PODArrayIdLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 71 | 154 | PaddedPODArray<UInt8>& c) { | 72 | 154 | size_t size = a.size(); | 73 | 154 | const A* __restrict a_pos = a.data(); | 74 | 154 | const B* __restrict b_pos = b.data(); | 75 | 154 | UInt8* __restrict c_pos = c.data(); | 76 | 154 | const A* __restrict a_end = a_pos + size; | 77 | | | 78 | 508 | while (a_pos < a_end) { | 79 | 354 | *c_pos = Op::apply(*a_pos, *b_pos); | 80 | 354 | ++a_pos; | 81 | 354 | ++b_pos; | 82 | 354 | ++c_pos; | 83 | 354 | } | 84 | 154 | } |
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 | 415 | PaddedPODArray<UInt8>& c) { | 72 | 415 | size_t size = a.size(); | 73 | 415 | const A* __restrict a_pos = a.data(); | 74 | 415 | const B* __restrict b_pos = b.data(); | 75 | 415 | UInt8* __restrict c_pos = c.data(); | 76 | 415 | const A* __restrict a_end = a_pos + size; | 77 | | | 78 | 6.50k | while (a_pos < a_end) { | 79 | 6.09k | *c_pos = Op::apply(*a_pos, *b_pos); | 80 | 6.09k | ++a_pos; | 81 | 6.09k | ++b_pos; | 82 | 6.09k | ++c_pos; | 83 | 6.09k | } | 84 | 415 | } |
Unexecuted instantiation: _ZN5doris17NumComparisonImplINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEES3_NS_14LessOrEqualsOpILNS_13PrimitiveTypeE26EEEE13vector_vectorERKNS_8PODArrayIS3_Lm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESE_RNS8_IhLm4096ESB_Lm16ELm15EEE _ZN5doris17NumComparisonImplINS_16TimestampTzValueES1_NS_14LessOrEqualsOpILNS_13PrimitiveTypeE42EEEE13vector_vectorERKNS_8PODArrayIS1_Lm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESC_RNS6_IhLm4096ES9_Lm16ELm15EEE Line | Count | Source | 71 | 1 | PaddedPODArray<UInt8>& c) { | 72 | 1 | size_t size = a.size(); | 73 | 1 | const A* __restrict a_pos = a.data(); | 74 | 1 | const B* __restrict b_pos = b.data(); | 75 | 1 | UInt8* __restrict c_pos = c.data(); | 76 | 1 | const A* __restrict a_end = a_pos + size; | 77 | | | 78 | 10 | while (a_pos < a_end) { | 79 | 9 | *c_pos = Op::apply(*a_pos, *b_pos); | 80 | 9 | ++a_pos; | 81 | 9 | ++b_pos; | 82 | 9 | ++c_pos; | 83 | 9 | } | 84 | 1 | } |
_ZN5doris17NumComparisonImplIaaNS_14LessOrEqualsOpILNS_13PrimitiveTypeE3EEEE13vector_vectorERKNS_8PODArrayIaLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 71 | 1 | PaddedPODArray<UInt8>& c) { | 72 | 1 | size_t size = a.size(); | 73 | 1 | const A* __restrict a_pos = a.data(); | 74 | 1 | const B* __restrict b_pos = b.data(); | 75 | 1 | UInt8* __restrict c_pos = c.data(); | 76 | 1 | const A* __restrict a_end = a_pos + size; | 77 | | | 78 | 5 | while (a_pos < a_end) { | 79 | 4 | *c_pos = Op::apply(*a_pos, *b_pos); | 80 | 4 | ++a_pos; | 81 | 4 | ++b_pos; | 82 | 4 | ++c_pos; | 83 | 4 | } | 84 | 1 | } |
Unexecuted instantiation: _ZN5doris17NumComparisonImplIssNS_14LessOrEqualsOpILNS_13PrimitiveTypeE4EEEE13vector_vectorERKNS_8PODArrayIsLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE _ZN5doris17NumComparisonImplIiiNS_14LessOrEqualsOpILNS_13PrimitiveTypeE5EEEE13vector_vectorERKNS_8PODArrayIiLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 71 | 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 | 31 | PaddedPODArray<UInt8>& c) { | 72 | 31 | size_t size = a.size(); | 73 | 31 | const A* __restrict a_pos = a.data(); | 74 | 31 | const B* __restrict b_pos = b.data(); | 75 | 31 | UInt8* __restrict c_pos = c.data(); | 76 | 31 | const A* __restrict a_end = a_pos + size; | 77 | | | 78 | 69 | while (a_pos < a_end) { | 79 | 38 | *c_pos = Op::apply(*a_pos, *b_pos); | 80 | 38 | ++a_pos; | 81 | 38 | ++b_pos; | 82 | 38 | ++c_pos; | 83 | 38 | } | 84 | 31 | } |
Unexecuted instantiation: _ZN5doris17NumComparisonImplInnNS_14LessOrEqualsOpILNS_13PrimitiveTypeE7EEEE13vector_vectorERKNS_8PODArrayInLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Unexecuted instantiation: _ZN5doris17NumComparisonImplIjjNS_14LessOrEqualsOpILNS_13PrimitiveTypeE36EEEE13vector_vectorERKNS_8PODArrayIjLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Unexecuted instantiation: _ZN5doris17NumComparisonImplIooNS_14LessOrEqualsOpILNS_13PrimitiveTypeE37EEEE13vector_vectorERKNS_8PODArrayIoLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE _ZN5doris17NumComparisonImplIffNS_14LessOrEqualsOpILNS_13PrimitiveTypeE8EEEE13vector_vectorERKNS_8PODArrayIfLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 71 | 20 | PaddedPODArray<UInt8>& c) { | 72 | 20 | size_t size = a.size(); | 73 | 20 | const A* __restrict a_pos = a.data(); | 74 | 20 | const B* __restrict b_pos = b.data(); | 75 | 20 | UInt8* __restrict c_pos = c.data(); | 76 | 20 | const A* __restrict a_end = a_pos + size; | 77 | | | 78 | 59 | while (a_pos < a_end) { | 79 | 39 | *c_pos = Op::apply(*a_pos, *b_pos); | 80 | 39 | ++a_pos; | 81 | 39 | ++b_pos; | 82 | 39 | ++c_pos; | 83 | 39 | } | 84 | 20 | } |
_ZN5doris17NumComparisonImplIddNS_14LessOrEqualsOpILNS_13PrimitiveTypeE9EEEE13vector_vectorERKNS_8PODArrayIdLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 71 | 20 | PaddedPODArray<UInt8>& c) { | 72 | 20 | size_t size = a.size(); | 73 | 20 | const A* __restrict a_pos = a.data(); | 74 | 20 | const B* __restrict b_pos = b.data(); | 75 | 20 | UInt8* __restrict c_pos = c.data(); | 76 | 20 | const A* __restrict a_end = a_pos + size; | 77 | | | 78 | 59 | while (a_pos < a_end) { | 79 | 39 | *c_pos = Op::apply(*a_pos, *b_pos); | 80 | 39 | ++a_pos; | 81 | 39 | ++b_pos; | 82 | 39 | ++c_pos; | 83 | 39 | } | 84 | 20 | } |
Unexecuted instantiation: _ZN5doris17NumComparisonImplIddNS_14LessOrEqualsOpILNS_13PrimitiveTypeE27EEEE13vector_vectorERKNS_8PODArrayIdLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE |
85 | | |
86 | | static void NO_INLINE vector_constant(const PaddedPODArray<A>& a, B b, |
87 | 44.6k | PaddedPODArray<UInt8>& c) { |
88 | 44.6k | size_t size = a.size(); |
89 | 44.6k | const A* __restrict a_pos = a.data(); |
90 | 44.6k | UInt8* __restrict c_pos = c.data(); |
91 | 44.6k | const A* __restrict a_end = a_pos + size; |
92 | | |
93 | 30.9M | while (a_pos < a_end) { |
94 | 30.8M | *c_pos = Op::apply(*a_pos, b); |
95 | 30.8M | ++a_pos; |
96 | 30.8M | ++c_pos; |
97 | 30.8M | } |
98 | 44.6k | } _ZN5doris17NumComparisonImplIhhNS_8EqualsOpILNS_13PrimitiveTypeE2EEEE15vector_constantERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEhRS9_ Line | Count | Source | 87 | 26 | PaddedPODArray<UInt8>& c) { | 88 | 26 | size_t size = a.size(); | 89 | 26 | const A* __restrict a_pos = a.data(); | 90 | 26 | UInt8* __restrict c_pos = c.data(); | 91 | 26 | const A* __restrict a_end = a_pos + size; | 92 | | | 93 | 164 | while (a_pos < a_end) { | 94 | 138 | *c_pos = Op::apply(*a_pos, b); | 95 | 138 | ++a_pos; | 96 | 138 | ++c_pos; | 97 | 138 | } | 98 | 26 | } |
_ZN5doris17NumComparisonImplINS_11DateV2ValueINS_15DateV2ValueTypeEEES3_NS_8EqualsOpILNS_13PrimitiveTypeE25EEEE15vector_constantERKNS_8PODArrayIS3_Lm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEES3_RNS8_IhLm4096ESB_Lm16ELm15EEE Line | Count | Source | 87 | 560 | PaddedPODArray<UInt8>& c) { | 88 | 560 | size_t size = a.size(); | 89 | 560 | const A* __restrict a_pos = a.data(); | 90 | 560 | UInt8* __restrict c_pos = c.data(); | 91 | 560 | 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 | 560 | } |
_ZN5doris17NumComparisonImplINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEES3_NS_8EqualsOpILNS_13PrimitiveTypeE26EEEE15vector_constantERKNS_8PODArrayIS3_Lm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEES3_RNS8_IhLm4096ESB_Lm16ELm15EEE Line | Count | Source | 87 | 167 | PaddedPODArray<UInt8>& c) { | 88 | 167 | size_t size = a.size(); | 89 | 167 | const A* __restrict a_pos = a.data(); | 90 | 167 | UInt8* __restrict c_pos = c.data(); | 91 | 167 | 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 | 167 | } |
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.06M | *c_pos = Op::apply(*a_pos, b); | 95 | 9.06M | ++a_pos; | 96 | 9.06M | ++c_pos; | 97 | 9.06M | } | 98 | 4.85k | } |
_ZN5doris17NumComparisonImplIssNS_8EqualsOpILNS_13PrimitiveTypeE4EEEE15vector_constantERKNS_8PODArrayIsLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEsRNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 87 | 317 | PaddedPODArray<UInt8>& c) { | 88 | 317 | size_t size = a.size(); | 89 | 317 | const A* __restrict a_pos = a.data(); | 90 | 317 | UInt8* __restrict c_pos = c.data(); | 91 | 317 | const A* __restrict a_end = a_pos + size; | 92 | | | 93 | 101k | while (a_pos < a_end) { | 94 | 100k | *c_pos = Op::apply(*a_pos, b); | 95 | 100k | ++a_pos; | 96 | 100k | ++c_pos; | 97 | 100k | } | 98 | 317 | } |
_ZN5doris17NumComparisonImplIiiNS_8EqualsOpILNS_13PrimitiveTypeE5EEEE15vector_constantERKNS_8PODArrayIiLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEiRNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 87 | 1.72k | PaddedPODArray<UInt8>& c) { | 88 | 1.72k | size_t size = a.size(); | 89 | 1.72k | const A* __restrict a_pos = a.data(); | 90 | 1.72k | UInt8* __restrict c_pos = c.data(); | 91 | 1.72k | const A* __restrict a_end = a_pos + size; | 92 | | | 93 | 173k | while (a_pos < a_end) { | 94 | 171k | *c_pos = Op::apply(*a_pos, b); | 95 | 171k | ++a_pos; | 96 | 171k | ++c_pos; | 97 | 171k | } | 98 | 1.72k | } |
_ZN5doris17NumComparisonImplIllNS_8EqualsOpILNS_13PrimitiveTypeE6EEEE15vector_constantERKNS_8PODArrayIlLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEElRNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 87 | 2.83k | PaddedPODArray<UInt8>& c) { | 88 | 2.83k | size_t size = a.size(); | 89 | 2.83k | const A* __restrict a_pos = a.data(); | 90 | 2.83k | UInt8* __restrict c_pos = c.data(); | 91 | 2.83k | const A* __restrict a_end = a_pos + size; | 92 | | | 93 | 766k | while (a_pos < a_end) { | 94 | 764k | *c_pos = Op::apply(*a_pos, b); | 95 | 764k | ++a_pos; | 96 | 764k | ++c_pos; | 97 | 764k | } | 98 | 2.83k | } |
_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 | 13 | PaddedPODArray<UInt8>& c) { | 88 | 13 | size_t size = a.size(); | 89 | 13 | const A* __restrict a_pos = a.data(); | 90 | 13 | UInt8* __restrict c_pos = c.data(); | 91 | 13 | const A* __restrict a_end = a_pos + size; | 92 | | | 93 | 127 | while (a_pos < a_end) { | 94 | 114 | *c_pos = Op::apply(*a_pos, b); | 95 | 114 | ++a_pos; | 96 | 114 | ++c_pos; | 97 | 114 | } | 98 | 13 | } |
_ZN5doris17NumComparisonImplIooNS_8EqualsOpILNS_13PrimitiveTypeE37EEEE15vector_constantERKNS_8PODArrayIoLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEoRNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 87 | 6 | PaddedPODArray<UInt8>& c) { | 88 | 6 | size_t size = a.size(); | 89 | 6 | const A* __restrict a_pos = a.data(); | 90 | 6 | UInt8* __restrict c_pos = c.data(); | 91 | 6 | const A* __restrict a_end = a_pos + size; | 92 | | | 93 | 12 | while (a_pos < a_end) { | 94 | 6 | *c_pos = Op::apply(*a_pos, b); | 95 | 6 | ++a_pos; | 96 | 6 | ++c_pos; | 97 | 6 | } | 98 | 6 | } |
Unexecuted instantiation: _ZN5doris17NumComparisonImplIffNS_8EqualsOpILNS_13PrimitiveTypeE8EEEE15vector_constantERKNS_8PODArrayIfLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEfRNS5_IhLm4096ES8_Lm16ELm15EEE _ZN5doris17NumComparisonImplIddNS_8EqualsOpILNS_13PrimitiveTypeE9EEEE15vector_constantERKNS_8PODArrayIdLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEdRNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 87 | 609 | PaddedPODArray<UInt8>& c) { | 88 | 609 | size_t size = a.size(); | 89 | 609 | const A* __restrict a_pos = a.data(); | 90 | 609 | UInt8* __restrict c_pos = c.data(); | 91 | 609 | const A* __restrict a_end = a_pos + size; | 92 | | | 93 | 713k | while (a_pos < a_end) { | 94 | 712k | *c_pos = Op::apply(*a_pos, b); | 95 | 712k | ++a_pos; | 96 | 712k | ++c_pos; | 97 | 712k | } | 98 | 609 | } |
Unexecuted instantiation: _ZN5doris17NumComparisonImplIddNS_8EqualsOpILNS_13PrimitiveTypeE27EEEE15vector_constantERKNS_8PODArrayIdLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEdRNS5_IhLm4096ES8_Lm16ELm15EEE Unexecuted instantiation: _ZN5doris17NumComparisonImplIhhNS_11NotEqualsOpILNS_13PrimitiveTypeE2EEEE15vector_constantERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEhRS9_ _ZN5doris17NumComparisonImplINS_11DateV2ValueINS_15DateV2ValueTypeEEES3_NS_11NotEqualsOpILNS_13PrimitiveTypeE25EEEE15vector_constantERKNS_8PODArrayIS3_Lm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEES3_RNS8_IhLm4096ESB_Lm16ELm15EEE Line | Count | Source | 87 | 31 | PaddedPODArray<UInt8>& c) { | 88 | 31 | size_t size = a.size(); | 89 | 31 | const A* __restrict a_pos = a.data(); | 90 | 31 | UInt8* __restrict c_pos = c.data(); | 91 | 31 | const A* __restrict a_end = a_pos + size; | 92 | | | 93 | 82 | while (a_pos < a_end) { | 94 | 51 | *c_pos = Op::apply(*a_pos, b); | 95 | 51 | ++a_pos; | 96 | 51 | ++c_pos; | 97 | 51 | } | 98 | 31 | } |
Unexecuted instantiation: _ZN5doris17NumComparisonImplINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEES3_NS_11NotEqualsOpILNS_13PrimitiveTypeE26EEEE15vector_constantERKNS_8PODArrayIS3_Lm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEES3_RNS8_IhLm4096ESB_Lm16ELm15EEE Unexecuted instantiation: _ZN5doris17NumComparisonImplINS_16TimestampTzValueES1_NS_11NotEqualsOpILNS_13PrimitiveTypeE42EEEE15vector_constantERKNS_8PODArrayIS1_Lm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEES1_RNS6_IhLm4096ES9_Lm16ELm15EEE _ZN5doris17NumComparisonImplIaaNS_11NotEqualsOpILNS_13PrimitiveTypeE3EEEE15vector_constantERKNS_8PODArrayIaLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEaRNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 87 | 28 | PaddedPODArray<UInt8>& c) { | 88 | 28 | size_t size = a.size(); | 89 | 28 | const A* __restrict a_pos = a.data(); | 90 | 28 | UInt8* __restrict c_pos = c.data(); | 91 | 28 | const A* __restrict a_end = a_pos + size; | 92 | | | 93 | 78 | while (a_pos < a_end) { | 94 | 50 | *c_pos = Op::apply(*a_pos, b); | 95 | 50 | ++a_pos; | 96 | 50 | ++c_pos; | 97 | 50 | } | 98 | 28 | } |
Unexecuted instantiation: _ZN5doris17NumComparisonImplIssNS_11NotEqualsOpILNS_13PrimitiveTypeE4EEEE15vector_constantERKNS_8PODArrayIsLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEsRNS5_IhLm4096ES8_Lm16ELm15EEE _ZN5doris17NumComparisonImplIiiNS_11NotEqualsOpILNS_13PrimitiveTypeE5EEEE15vector_constantERKNS_8PODArrayIiLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEiRNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 87 | 270 | PaddedPODArray<UInt8>& c) { | 88 | 270 | size_t size = a.size(); | 89 | 270 | const A* __restrict a_pos = a.data(); | 90 | 270 | UInt8* __restrict c_pos = c.data(); | 91 | 270 | const A* __restrict a_end = a_pos + size; | 92 | | | 93 | 1.88k | while (a_pos < a_end) { | 94 | 1.61k | *c_pos = Op::apply(*a_pos, b); | 95 | 1.61k | ++a_pos; | 96 | 1.61k | ++c_pos; | 97 | 1.61k | } | 98 | 270 | } |
_ZN5doris17NumComparisonImplIllNS_11NotEqualsOpILNS_13PrimitiveTypeE6EEEE15vector_constantERKNS_8PODArrayIlLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEElRNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 87 | 684 | PaddedPODArray<UInt8>& c) { | 88 | 684 | size_t size = a.size(); | 89 | 684 | const A* __restrict a_pos = a.data(); | 90 | 684 | UInt8* __restrict c_pos = c.data(); | 91 | 684 | const A* __restrict a_end = a_pos + size; | 92 | | | 93 | 3.82k | 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 | 684 | } |
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 | 342 | PaddedPODArray<UInt8>& c) { | 88 | 342 | size_t size = a.size(); | 89 | 342 | const A* __restrict a_pos = a.data(); | 90 | 342 | UInt8* __restrict c_pos = c.data(); | 91 | 342 | 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 | 342 | } |
_ZN5doris17NumComparisonImplINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEES3_NS_9GreaterOpILNS_13PrimitiveTypeE26EEEE15vector_constantERKNS_8PODArrayIS3_Lm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEES3_RNS8_IhLm4096ESB_Lm16ELm15EEE Line | Count | Source | 87 | 2 | PaddedPODArray<UInt8>& c) { | 88 | 2 | size_t size = a.size(); | 89 | 2 | const A* __restrict a_pos = a.data(); | 90 | 2 | UInt8* __restrict c_pos = c.data(); | 91 | 2 | const A* __restrict a_end = a_pos + size; | 92 | | | 93 | 6 | while (a_pos < a_end) { | 94 | 4 | *c_pos = Op::apply(*a_pos, b); | 95 | 4 | ++a_pos; | 96 | 4 | ++c_pos; | 97 | 4 | } | 98 | 2 | } |
_ZN5doris17NumComparisonImplINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEES3_NS_6LessOpILNS_13PrimitiveTypeE26EEEE15vector_constantERKNS_8PODArrayIS3_Lm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEES3_RNS8_IhLm4096ESB_Lm16ELm15EEE Line | Count | Source | 87 | 59 | PaddedPODArray<UInt8>& c) { | 88 | 59 | size_t size = a.size(); | 89 | 59 | const A* __restrict a_pos = a.data(); | 90 | 59 | UInt8* __restrict c_pos = c.data(); | 91 | 59 | const A* __restrict a_end = a_pos + size; | 92 | | | 93 | 269 | while (a_pos < a_end) { | 94 | 210 | *c_pos = Op::apply(*a_pos, b); | 95 | 210 | ++a_pos; | 96 | 210 | ++c_pos; | 97 | 210 | } | 98 | 59 | } |
Unexecuted instantiation: _ZN5doris17NumComparisonImplINS_16TimestampTzValueES1_NS_9GreaterOpILNS_13PrimitiveTypeE42EEEE15vector_constantERKNS_8PODArrayIS1_Lm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEES1_RNS6_IhLm4096ES9_Lm16ELm15EEE _ZN5doris17NumComparisonImplINS_16TimestampTzValueES1_NS_6LessOpILNS_13PrimitiveTypeE42EEEE15vector_constantERKNS_8PODArrayIS1_Lm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEES1_RNS6_IhLm4096ES9_Lm16ELm15EEE Line | Count | Source | 87 | 1 | PaddedPODArray<UInt8>& c) { | 88 | 1 | size_t size = a.size(); | 89 | 1 | const A* __restrict a_pos = a.data(); | 90 | 1 | UInt8* __restrict c_pos = c.data(); | 91 | 1 | const A* __restrict a_end = a_pos + size; | 92 | | | 93 | 8 | while (a_pos < a_end) { | 94 | 7 | *c_pos = Op::apply(*a_pos, b); | 95 | 7 | ++a_pos; | 96 | 7 | ++c_pos; | 97 | 7 | } | 98 | 1 | } |
_ZN5doris17NumComparisonImplIaaNS_9GreaterOpILNS_13PrimitiveTypeE3EEEE15vector_constantERKNS_8PODArrayIaLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEaRNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 87 | 1.01k | PaddedPODArray<UInt8>& c) { | 88 | 1.01k | size_t size = a.size(); | 89 | 1.01k | const A* __restrict a_pos = a.data(); | 90 | 1.01k | UInt8* __restrict c_pos = c.data(); | 91 | 1.01k | const A* __restrict a_end = a_pos + size; | 92 | | | 93 | 6.36k | while (a_pos < a_end) { | 94 | 5.35k | *c_pos = Op::apply(*a_pos, b); | 95 | 5.35k | ++a_pos; | 96 | 5.35k | ++c_pos; | 97 | 5.35k | } | 98 | 1.01k | } |
_ZN5doris17NumComparisonImplIaaNS_6LessOpILNS_13PrimitiveTypeE3EEEE15vector_constantERKNS_8PODArrayIaLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEaRNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 87 | 1.98k | PaddedPODArray<UInt8>& c) { | 88 | 1.98k | size_t size = a.size(); | 89 | 1.98k | const A* __restrict a_pos = a.data(); | 90 | 1.98k | UInt8* __restrict c_pos = c.data(); | 91 | 1.98k | const A* __restrict a_end = a_pos + size; | 92 | | | 93 | 5.56k | while (a_pos < a_end) { | 94 | 3.57k | *c_pos = Op::apply(*a_pos, b); | 95 | 3.57k | ++a_pos; | 96 | 3.57k | ++c_pos; | 97 | 3.57k | } | 98 | 1.98k | } |
_ZN5doris17NumComparisonImplIssNS_9GreaterOpILNS_13PrimitiveTypeE4EEEE15vector_constantERKNS_8PODArrayIsLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEsRNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 87 | 1.45k | PaddedPODArray<UInt8>& c) { | 88 | 1.45k | size_t size = a.size(); | 89 | 1.45k | const A* __restrict a_pos = a.data(); | 90 | 1.45k | UInt8* __restrict c_pos = c.data(); | 91 | 1.45k | const A* __restrict a_end = a_pos + size; | 92 | | | 93 | 6.26k | while (a_pos < a_end) { | 94 | 4.80k | *c_pos = Op::apply(*a_pos, b); | 95 | 4.80k | ++a_pos; | 96 | 4.80k | ++c_pos; | 97 | 4.80k | } | 98 | 1.45k | } |
_ZN5doris17NumComparisonImplIssNS_6LessOpILNS_13PrimitiveTypeE4EEEE15vector_constantERKNS_8PODArrayIsLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEsRNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 87 | 242 | PaddedPODArray<UInt8>& c) { | 88 | 242 | size_t size = a.size(); | 89 | 242 | const A* __restrict a_pos = a.data(); | 90 | 242 | UInt8* __restrict c_pos = c.data(); | 91 | 242 | const A* __restrict a_end = a_pos + size; | 92 | | | 93 | 1.20k | while (a_pos < a_end) { | 94 | 960 | *c_pos = Op::apply(*a_pos, b); | 95 | 960 | ++a_pos; | 96 | 960 | ++c_pos; | 97 | 960 | } | 98 | 242 | } |
_ZN5doris17NumComparisonImplIiiNS_9GreaterOpILNS_13PrimitiveTypeE5EEEE15vector_constantERKNS_8PODArrayIiLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEiRNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 87 | 9.68k | PaddedPODArray<UInt8>& c) { | 88 | 9.68k | size_t size = a.size(); | 89 | 9.68k | const A* __restrict a_pos = a.data(); | 90 | 9.68k | UInt8* __restrict c_pos = c.data(); | 91 | 9.68k | 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.68k | } |
_ZN5doris17NumComparisonImplIiiNS_6LessOpILNS_13PrimitiveTypeE5EEEE15vector_constantERKNS_8PODArrayIiLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEiRNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 87 | 4.14k | PaddedPODArray<UInt8>& c) { | 88 | 4.14k | size_t size = a.size(); | 89 | 4.14k | const A* __restrict a_pos = a.data(); | 90 | 4.14k | UInt8* __restrict c_pos = c.data(); | 91 | 4.14k | const A* __restrict a_end = a_pos + size; | 92 | | | 93 | 952k | while (a_pos < a_end) { | 94 | 948k | *c_pos = Op::apply(*a_pos, b); | 95 | 948k | ++a_pos; | 96 | 948k | ++c_pos; | 97 | 948k | } | 98 | 4.14k | } |
_ZN5doris17NumComparisonImplIllNS_9GreaterOpILNS_13PrimitiveTypeE6EEEE15vector_constantERKNS_8PODArrayIlLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEElRNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 87 | 1.35k | PaddedPODArray<UInt8>& c) { | 88 | 1.35k | size_t size = a.size(); | 89 | 1.35k | const A* __restrict a_pos = a.data(); | 90 | 1.35k | UInt8* __restrict c_pos = c.data(); | 91 | 1.35k | const A* __restrict a_end = a_pos + size; | 92 | | | 93 | 97.9k | while (a_pos < a_end) { | 94 | 96.5k | *c_pos = Op::apply(*a_pos, b); | 95 | 96.5k | ++a_pos; | 96 | 96.5k | ++c_pos; | 97 | 96.5k | } | 98 | 1.35k | } |
_ZN5doris17NumComparisonImplIllNS_6LessOpILNS_13PrimitiveTypeE6EEEE15vector_constantERKNS_8PODArrayIlLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEElRNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 87 | 1.07k | PaddedPODArray<UInt8>& c) { | 88 | 1.07k | size_t size = a.size(); | 89 | 1.07k | const A* __restrict a_pos = a.data(); | 90 | 1.07k | UInt8* __restrict c_pos = c.data(); | 91 | 1.07k | const A* __restrict a_end = a_pos + size; | 92 | | | 93 | 11.7k | while (a_pos < a_end) { | 94 | 10.6k | *c_pos = Op::apply(*a_pos, b); | 95 | 10.6k | ++a_pos; | 96 | 10.6k | ++c_pos; | 97 | 10.6k | } | 98 | 1.07k | } |
_ZN5doris17NumComparisonImplInnNS_9GreaterOpILNS_13PrimitiveTypeE7EEEE15vector_constantERKNS_8PODArrayInLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEnRNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 87 | 298 | PaddedPODArray<UInt8>& c) { | 88 | 298 | size_t size = a.size(); | 89 | 298 | const A* __restrict a_pos = a.data(); | 90 | 298 | UInt8* __restrict c_pos = c.data(); | 91 | 298 | const A* __restrict a_end = a_pos + size; | 92 | | | 93 | 1.93k | while (a_pos < a_end) { | 94 | 1.64k | *c_pos = Op::apply(*a_pos, b); | 95 | 1.64k | ++a_pos; | 96 | 1.64k | ++c_pos; | 97 | 1.64k | } | 98 | 298 | } |
_ZN5doris17NumComparisonImplInnNS_6LessOpILNS_13PrimitiveTypeE7EEEE15vector_constantERKNS_8PODArrayInLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEnRNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 87 | 76 | PaddedPODArray<UInt8>& c) { | 88 | 76 | size_t size = a.size(); | 89 | 76 | const A* __restrict a_pos = a.data(); | 90 | 76 | UInt8* __restrict c_pos = c.data(); | 91 | 76 | 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 | 76 | } |
_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 | 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 | 7.44k | while (a_pos < a_end) { | 94 | 6.94k | *c_pos = Op::apply(*a_pos, b); | 95 | 6.94k | ++a_pos; | 96 | 6.94k | ++c_pos; | 97 | 6.94k | } | 98 | 502 | } |
_ZN5doris17NumComparisonImplIddNS_6LessOpILNS_13PrimitiveTypeE9EEEE15vector_constantERKNS_8PODArrayIdLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEdRNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 87 | 197 | PaddedPODArray<UInt8>& c) { | 88 | 197 | size_t size = a.size(); | 89 | 197 | const A* __restrict a_pos = a.data(); | 90 | 197 | UInt8* __restrict c_pos = c.data(); | 91 | 197 | 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 | 197 | } |
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 | 14 | PaddedPODArray<UInt8>& c) { | 88 | 14 | size_t size = a.size(); | 89 | 14 | const A* __restrict a_pos = a.data(); | 90 | 14 | UInt8* __restrict c_pos = c.data(); | 91 | 14 | const A* __restrict a_end = a_pos + size; | 92 | | | 93 | 70.4k | while (a_pos < a_end) { | 94 | 70.4k | *c_pos = Op::apply(*a_pos, b); | 95 | 70.4k | ++a_pos; | 96 | 70.4k | ++c_pos; | 97 | 70.4k | } | 98 | 14 | } |
_ZN5doris17NumComparisonImplIhhNS_14LessOrEqualsOpILNS_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 | 90.3k | while (a_pos < a_end) { | 94 | 90.3k | *c_pos = Op::apply(*a_pos, b); | 95 | 90.3k | ++a_pos; | 96 | 90.3k | ++c_pos; | 97 | 90.3k | } | 98 | 24 | } |
_ZN5doris17NumComparisonImplINS_11DateV2ValueINS_15DateV2ValueTypeEEES3_NS_17GreaterOrEqualsOpILNS_13PrimitiveTypeE25EEEE15vector_constantERKNS_8PODArrayIS3_Lm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEES3_RNS8_IhLm4096ESB_Lm16ELm15EEE Line | Count | Source | 87 | 448 | PaddedPODArray<UInt8>& c) { | 88 | 448 | size_t size = a.size(); | 89 | 448 | const A* __restrict a_pos = a.data(); | 90 | 448 | UInt8* __restrict c_pos = c.data(); | 91 | 448 | const A* __restrict a_end = a_pos + size; | 92 | | | 93 | 1.44M | while (a_pos < a_end) { | 94 | 1.44M | *c_pos = Op::apply(*a_pos, b); | 95 | 1.44M | ++a_pos; | 96 | 1.44M | ++c_pos; | 97 | 1.44M | } | 98 | 448 | } |
_ZN5doris17NumComparisonImplINS_11DateV2ValueINS_15DateV2ValueTypeEEES3_NS_14LessOrEqualsOpILNS_13PrimitiveTypeE25EEEE15vector_constantERKNS_8PODArrayIS3_Lm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEES3_RNS8_IhLm4096ESB_Lm16ELm15EEE Line | Count | Source | 87 | 158 | PaddedPODArray<UInt8>& c) { | 88 | 158 | size_t size = a.size(); | 89 | 158 | const A* __restrict a_pos = a.data(); | 90 | 158 | UInt8* __restrict c_pos = c.data(); | 91 | 158 | const A* __restrict a_end = a_pos + size; | 92 | | | 93 | 750k | while (a_pos < a_end) { | 94 | 750k | *c_pos = Op::apply(*a_pos, b); | 95 | 750k | ++a_pos; | 96 | 750k | ++c_pos; | 97 | 750k | } | 98 | 158 | } |
_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 | 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 | 359 | while (a_pos < a_end) { | 94 | 287 | *c_pos = Op::apply(*a_pos, b); | 95 | 287 | ++a_pos; | 96 | 287 | ++c_pos; | 97 | 287 | } | 98 | 72 | } |
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 | 106 | PaddedPODArray<UInt8>& c) { | 88 | 106 | size_t size = a.size(); | 89 | 106 | const A* __restrict a_pos = a.data(); | 90 | 106 | UInt8* __restrict c_pos = c.data(); | 91 | 106 | const A* __restrict a_end = a_pos + size; | 92 | | | 93 | 84.7k | while (a_pos < a_end) { | 94 | 84.5k | *c_pos = Op::apply(*a_pos, b); | 95 | 84.5k | ++a_pos; | 96 | 84.5k | ++c_pos; | 97 | 84.5k | } | 98 | 106 | } |
_ZN5doris17NumComparisonImplIaaNS_14LessOrEqualsOpILNS_13PrimitiveTypeE3EEEE15vector_constantERKNS_8PODArrayIaLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEaRNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 87 | 177 | PaddedPODArray<UInt8>& c) { | 88 | 177 | size_t size = a.size(); | 89 | 177 | const A* __restrict a_pos = a.data(); | 90 | 177 | UInt8* __restrict c_pos = c.data(); | 91 | 177 | const A* __restrict a_end = a_pos + size; | 92 | | | 93 | 28.8k | while (a_pos < a_end) { | 94 | 28.6k | *c_pos = Op::apply(*a_pos, b); | 95 | 28.6k | ++a_pos; | 96 | 28.6k | ++c_pos; | 97 | 28.6k | } | 98 | 177 | } |
_ZN5doris17NumComparisonImplIssNS_17GreaterOrEqualsOpILNS_13PrimitiveTypeE4EEEE15vector_constantERKNS_8PODArrayIsLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEsRNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 87 | 127 | PaddedPODArray<UInt8>& c) { | 88 | 127 | size_t size = a.size(); | 89 | 127 | const A* __restrict a_pos = a.data(); | 90 | 127 | UInt8* __restrict c_pos = c.data(); | 91 | 127 | const A* __restrict a_end = a_pos + size; | 92 | | | 93 | 53.6k | while (a_pos < a_end) { | 94 | 53.5k | *c_pos = Op::apply(*a_pos, b); | 95 | 53.5k | ++a_pos; | 96 | 53.5k | ++c_pos; | 97 | 53.5k | } | 98 | 127 | } |
_ZN5doris17NumComparisonImplIssNS_14LessOrEqualsOpILNS_13PrimitiveTypeE4EEEE15vector_constantERKNS_8PODArrayIsLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEsRNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 87 | 218 | PaddedPODArray<UInt8>& c) { | 88 | 218 | size_t size = a.size(); | 89 | 218 | const A* __restrict a_pos = a.data(); | 90 | 218 | UInt8* __restrict c_pos = c.data(); | 91 | 218 | const A* __restrict a_end = a_pos + size; | 92 | | | 93 | 131k | while (a_pos < a_end) { | 94 | 130k | *c_pos = Op::apply(*a_pos, b); | 95 | 130k | ++a_pos; | 96 | 130k | ++c_pos; | 97 | 130k | } | 98 | 218 | } |
_ZN5doris17NumComparisonImplIiiNS_17GreaterOrEqualsOpILNS_13PrimitiveTypeE5EEEE15vector_constantERKNS_8PODArrayIiLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEiRNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 87 | 1.22k | PaddedPODArray<UInt8>& c) { | 88 | 1.22k | size_t size = a.size(); | 89 | 1.22k | const A* __restrict a_pos = a.data(); | 90 | 1.22k | UInt8* __restrict c_pos = c.data(); | 91 | 1.22k | const A* __restrict a_end = a_pos + size; | 92 | | | 93 | 2.13M | while (a_pos < a_end) { | 94 | 2.13M | *c_pos = Op::apply(*a_pos, b); | 95 | 2.13M | ++a_pos; | 96 | 2.13M | ++c_pos; | 97 | 2.13M | } | 98 | 1.22k | } |
_ZN5doris17NumComparisonImplIiiNS_14LessOrEqualsOpILNS_13PrimitiveTypeE5EEEE15vector_constantERKNS_8PODArrayIiLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEiRNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 87 | 6.27k | PaddedPODArray<UInt8>& c) { | 88 | 6.27k | size_t size = a.size(); | 89 | 6.27k | const A* __restrict a_pos = a.data(); | 90 | 6.27k | UInt8* __restrict c_pos = c.data(); | 91 | 6.27k | const A* __restrict a_end = a_pos + size; | 92 | | | 93 | 6.12M | while (a_pos < a_end) { | 94 | 6.11M | *c_pos = Op::apply(*a_pos, b); | 95 | 6.11M | ++a_pos; | 96 | 6.11M | ++c_pos; | 97 | 6.11M | } | 98 | 6.27k | } |
_ZN5doris17NumComparisonImplIllNS_17GreaterOrEqualsOpILNS_13PrimitiveTypeE6EEEE15vector_constantERKNS_8PODArrayIlLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEElRNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 87 | 204 | PaddedPODArray<UInt8>& c) { | 88 | 204 | size_t size = a.size(); | 89 | 204 | const A* __restrict a_pos = a.data(); | 90 | 204 | UInt8* __restrict c_pos = c.data(); | 91 | 204 | const A* __restrict a_end = a_pos + size; | 92 | | | 93 | 757 | while (a_pos < a_end) { | 94 | 553 | *c_pos = Op::apply(*a_pos, b); | 95 | 553 | ++a_pos; | 96 | 553 | ++c_pos; | 97 | 553 | } | 98 | 204 | } |
_ZN5doris17NumComparisonImplIllNS_14LessOrEqualsOpILNS_13PrimitiveTypeE6EEEE15vector_constantERKNS_8PODArrayIlLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEElRNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 87 | 268 | PaddedPODArray<UInt8>& c) { | 88 | 268 | size_t size = a.size(); | 89 | 268 | const A* __restrict a_pos = a.data(); | 90 | 268 | UInt8* __restrict c_pos = c.data(); | 91 | 268 | const A* __restrict a_end = a_pos + size; | 92 | | | 93 | 3.51k | while (a_pos < a_end) { | 94 | 3.24k | *c_pos = Op::apply(*a_pos, b); | 95 | 3.24k | ++a_pos; | 96 | 3.24k | ++c_pos; | 97 | 3.24k | } | 98 | 268 | } |
_ZN5doris17NumComparisonImplInnNS_17GreaterOrEqualsOpILNS_13PrimitiveTypeE7EEEE15vector_constantERKNS_8PODArrayInLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEnRNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 87 | 17 | PaddedPODArray<UInt8>& c) { | 88 | 17 | size_t size = a.size(); | 89 | 17 | const A* __restrict a_pos = a.data(); | 90 | 17 | UInt8* __restrict c_pos = c.data(); | 91 | 17 | const A* __restrict a_end = a_pos + size; | 92 | | | 93 | 82.2k | while (a_pos < a_end) { | 94 | 82.2k | *c_pos = Op::apply(*a_pos, b); | 95 | 82.2k | ++a_pos; | 96 | 82.2k | ++c_pos; | 97 | 82.2k | } | 98 | 17 | } |
_ZN5doris17NumComparisonImplInnNS_14LessOrEqualsOpILNS_13PrimitiveTypeE7EEEE15vector_constantERKNS_8PODArrayInLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEnRNS5_IhLm4096ES8_Lm16ELm15EEE 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 | 70.5k | while (a_pos < a_end) { | 94 | 70.4k | *c_pos = Op::apply(*a_pos, b); | 95 | 70.4k | ++a_pos; | 96 | 70.4k | ++c_pos; | 97 | 70.4k | } | 98 | 26 | } |
_ZN5doris17NumComparisonImplIjjNS_17GreaterOrEqualsOpILNS_13PrimitiveTypeE36EEEE15vector_constantERKNS_8PODArrayIjLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEjRNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 87 | 10 | PaddedPODArray<UInt8>& c) { | 88 | 10 | size_t size = a.size(); | 89 | 10 | const A* __restrict a_pos = a.data(); | 90 | 10 | UInt8* __restrict c_pos = c.data(); | 91 | 10 | const A* __restrict a_end = a_pos + size; | 92 | | | 93 | 110 | while (a_pos < a_end) { | 94 | 100 | *c_pos = Op::apply(*a_pos, b); | 95 | 100 | ++a_pos; | 96 | 100 | ++c_pos; | 97 | 100 | } | 98 | 10 | } |
_ZN5doris17NumComparisonImplIjjNS_14LessOrEqualsOpILNS_13PrimitiveTypeE36EEEE15vector_constantERKNS_8PODArrayIjLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEjRNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 87 | 10 | PaddedPODArray<UInt8>& c) { | 88 | 10 | size_t size = a.size(); | 89 | 10 | const A* __restrict a_pos = a.data(); | 90 | 10 | UInt8* __restrict c_pos = c.data(); | 91 | 10 | const A* __restrict a_end = a_pos + size; | 92 | | | 93 | 110 | while (a_pos < a_end) { | 94 | 100 | *c_pos = Op::apply(*a_pos, b); | 95 | 100 | ++a_pos; | 96 | 100 | ++c_pos; | 97 | 100 | } | 98 | 10 | } |
Unexecuted instantiation: _ZN5doris17NumComparisonImplIooNS_17GreaterOrEqualsOpILNS_13PrimitiveTypeE37EEEE15vector_constantERKNS_8PODArrayIoLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEoRNS5_IhLm4096ES8_Lm16ELm15EEE Unexecuted instantiation: _ZN5doris17NumComparisonImplIooNS_14LessOrEqualsOpILNS_13PrimitiveTypeE37EEEE15vector_constantERKNS_8PODArrayIoLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEoRNS5_IhLm4096ES8_Lm16ELm15EEE _ZN5doris17NumComparisonImplIffNS_17GreaterOrEqualsOpILNS_13PrimitiveTypeE8EEEE15vector_constantERKNS_8PODArrayIfLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEfRNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 87 | 4 | PaddedPODArray<UInt8>& c) { | 88 | 4 | size_t size = a.size(); | 89 | 4 | const A* __restrict a_pos = a.data(); | 90 | 4 | UInt8* __restrict c_pos = c.data(); | 91 | 4 | const A* __restrict a_end = a_pos + size; | 92 | | | 93 | 10 | while (a_pos < a_end) { | 94 | 6 | *c_pos = Op::apply(*a_pos, b); | 95 | 6 | ++a_pos; | 96 | 6 | ++c_pos; | 97 | 6 | } | 98 | 4 | } |
Unexecuted instantiation: _ZN5doris17NumComparisonImplIffNS_14LessOrEqualsOpILNS_13PrimitiveTypeE8EEEE15vector_constantERKNS_8PODArrayIfLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEfRNS5_IhLm4096ES8_Lm16ELm15EEE _ZN5doris17NumComparisonImplIddNS_17GreaterOrEqualsOpILNS_13PrimitiveTypeE9EEEE15vector_constantERKNS_8PODArrayIdLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEdRNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 87 | 113 | PaddedPODArray<UInt8>& c) { | 88 | 113 | size_t size = a.size(); | 89 | 113 | const A* __restrict a_pos = a.data(); | 90 | 113 | UInt8* __restrict c_pos = c.data(); | 91 | 113 | const A* __restrict a_end = a_pos + size; | 92 | | | 93 | 276k | while (a_pos < a_end) { | 94 | 275k | *c_pos = Op::apply(*a_pos, b); | 95 | 275k | ++a_pos; | 96 | 275k | ++c_pos; | 97 | 275k | } | 98 | 113 | } |
_ZN5doris17NumComparisonImplIddNS_14LessOrEqualsOpILNS_13PrimitiveTypeE9EEEE15vector_constantERKNS_8PODArrayIdLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEdRNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 87 | 93 | PaddedPODArray<UInt8>& c) { | 88 | 93 | size_t size = a.size(); | 89 | 93 | const A* __restrict a_pos = a.data(); | 90 | 93 | UInt8* __restrict c_pos = c.data(); | 91 | 93 | const A* __restrict a_end = a_pos + size; | 92 | | | 93 | 275k | while (a_pos < a_end) { | 94 | 275k | *c_pos = Op::apply(*a_pos, b); | 95 | 275k | ++a_pos; | 96 | 275k | ++c_pos; | 97 | 275k | } | 98 | 93 | } |
Unexecuted instantiation: _ZN5doris17NumComparisonImplIddNS_17GreaterOrEqualsOpILNS_13PrimitiveTypeE27EEEE15vector_constantERKNS_8PODArrayIdLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEdRNS5_IhLm4096ES8_Lm16ELm15EEE Unexecuted instantiation: _ZN5doris17NumComparisonImplIddNS_14LessOrEqualsOpILNS_13PrimitiveTypeE27EEEE15vector_constantERKNS_8PODArrayIdLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEdRNS5_IhLm4096ES8_Lm16ELm15EEE |
99 | | |
100 | 7.44k | static void constant_vector(A a, const PaddedPODArray<B>& b, PaddedPODArray<UInt8>& c) { |
101 | 7.44k | NumComparisonImpl<B, A, typename Op::SymmetricOp>::vector_constant(b, a, c); |
102 | 7.44k | } Unexecuted instantiation: _ZN5doris17NumComparisonImplIhhNS_8EqualsOpILNS_13PrimitiveTypeE2EEEE15constant_vectorEhRKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERS9_ Unexecuted instantiation: _ZN5doris17NumComparisonImplINS_11DateV2ValueINS_15DateV2ValueTypeEEES3_NS_8EqualsOpILNS_13PrimitiveTypeE25EEEE15constant_vectorES3_RKNS_8PODArrayIS3_Lm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERNS8_IhLm4096ESB_Lm16ELm15EEE Unexecuted instantiation: _ZN5doris17NumComparisonImplINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEES3_NS_8EqualsOpILNS_13PrimitiveTypeE26EEEE15constant_vectorES3_RKNS_8PODArrayIS3_Lm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERNS8_IhLm4096ESB_Lm16ELm15EEE Unexecuted instantiation: _ZN5doris17NumComparisonImplINS_16TimestampTzValueES1_NS_8EqualsOpILNS_13PrimitiveTypeE42EEEE15constant_vectorES1_RKNS_8PODArrayIS1_Lm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERNS6_IhLm4096ES9_Lm16ELm15EEE _ZN5doris17NumComparisonImplIaaNS_8EqualsOpILNS_13PrimitiveTypeE3EEEE15constant_vectorEaRKNS_8PODArrayIaLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 100 | 288 | static void constant_vector(A a, const PaddedPODArray<B>& b, PaddedPODArray<UInt8>& c) { | 101 | 288 | NumComparisonImpl<B, A, typename Op::SymmetricOp>::vector_constant(b, a, c); | 102 | 288 | } |
_ZN5doris17NumComparisonImplIssNS_8EqualsOpILNS_13PrimitiveTypeE4EEEE15constant_vectorEsRKNS_8PODArrayIsLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 100 | 48 | static void constant_vector(A a, const PaddedPODArray<B>& b, PaddedPODArray<UInt8>& c) { | 101 | 48 | NumComparisonImpl<B, A, typename Op::SymmetricOp>::vector_constant(b, a, c); | 102 | 48 | } |
_ZN5doris17NumComparisonImplIiiNS_8EqualsOpILNS_13PrimitiveTypeE5EEEE15constant_vectorEiRKNS_8PODArrayIiLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 100 | 97 | static void constant_vector(A a, const PaddedPODArray<B>& b, PaddedPODArray<UInt8>& c) { | 101 | 97 | NumComparisonImpl<B, A, typename Op::SymmetricOp>::vector_constant(b, a, c); | 102 | 97 | } |
_ZN5doris17NumComparisonImplIllNS_8EqualsOpILNS_13PrimitiveTypeE6EEEE15constant_vectorElRKNS_8PODArrayIlLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 100 | 1.19k | static void constant_vector(A a, const PaddedPODArray<B>& b, PaddedPODArray<UInt8>& c) { | 101 | 1.19k | NumComparisonImpl<B, A, typename Op::SymmetricOp>::vector_constant(b, a, c); | 102 | 1.19k | } |
_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 | 644 | static void constant_vector(A a, const PaddedPODArray<B>& b, PaddedPODArray<UInt8>& c) { | 101 | 644 | NumComparisonImpl<B, A, typename Op::SymmetricOp>::vector_constant(b, a, c); | 102 | 644 | } |
Unexecuted instantiation: _ZN5doris17NumComparisonImplInnNS_11NotEqualsOpILNS_13PrimitiveTypeE7EEEE15constant_vectorEnRKNS_8PODArrayInLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERNS5_IhLm4096ES8_Lm16ELm15EEE Unexecuted instantiation: _ZN5doris17NumComparisonImplIjjNS_11NotEqualsOpILNS_13PrimitiveTypeE36EEEE15constant_vectorEjRKNS_8PODArrayIjLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERNS5_IhLm4096ES8_Lm16ELm15EEE Unexecuted instantiation: _ZN5doris17NumComparisonImplIooNS_11NotEqualsOpILNS_13PrimitiveTypeE37EEEE15constant_vectorEoRKNS_8PODArrayIoLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERNS5_IhLm4096ES8_Lm16ELm15EEE Unexecuted instantiation: _ZN5doris17NumComparisonImplIffNS_11NotEqualsOpILNS_13PrimitiveTypeE8EEEE15constant_vectorEfRKNS_8PODArrayIfLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERNS5_IhLm4096ES8_Lm16ELm15EEE Unexecuted instantiation: _ZN5doris17NumComparisonImplIddNS_11NotEqualsOpILNS_13PrimitiveTypeE9EEEE15constant_vectorEdRKNS_8PODArrayIdLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERNS5_IhLm4096ES8_Lm16ELm15EEE Unexecuted instantiation: _ZN5doris17NumComparisonImplIddNS_11NotEqualsOpILNS_13PrimitiveTypeE27EEEE15constant_vectorEdRKNS_8PODArrayIdLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERNS5_IhLm4096ES8_Lm16ELm15EEE Unexecuted instantiation: _ZN5doris17NumComparisonImplIhhNS_9GreaterOpILNS_13PrimitiveTypeE2EEEE15constant_vectorEhRKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERS9_ Unexecuted instantiation: _ZN5doris17NumComparisonImplINS_11DateV2ValueINS_15DateV2ValueTypeEEES3_NS_9GreaterOpILNS_13PrimitiveTypeE25EEEE15constant_vectorES3_RKNS_8PODArrayIS3_Lm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERNS8_IhLm4096ESB_Lm16ELm15EEE Unexecuted instantiation: _ZN5doris17NumComparisonImplINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEES3_NS_9GreaterOpILNS_13PrimitiveTypeE26EEEE15constant_vectorES3_RKNS_8PODArrayIS3_Lm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERNS8_IhLm4096ESB_Lm16ELm15EEE Unexecuted instantiation: _ZN5doris17NumComparisonImplINS_16TimestampTzValueES1_NS_9GreaterOpILNS_13PrimitiveTypeE42EEEE15constant_vectorES1_RKNS_8PODArrayIS1_Lm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERNS6_IhLm4096ES9_Lm16ELm15EEE _ZN5doris17NumComparisonImplIaaNS_9GreaterOpILNS_13PrimitiveTypeE3EEEE15constant_vectorEaRKNS_8PODArrayIaLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 100 | 222 | static void constant_vector(A a, const PaddedPODArray<B>& b, PaddedPODArray<UInt8>& c) { | 101 | 222 | NumComparisonImpl<B, A, typename Op::SymmetricOp>::vector_constant(b, a, c); | 102 | 222 | } |
_ZN5doris17NumComparisonImplIssNS_9GreaterOpILNS_13PrimitiveTypeE4EEEE15constant_vectorEsRKNS_8PODArrayIsLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 100 | 228 | static void constant_vector(A a, const PaddedPODArray<B>& b, PaddedPODArray<UInt8>& c) { | 101 | 228 | NumComparisonImpl<B, A, typename Op::SymmetricOp>::vector_constant(b, a, c); | 102 | 228 | } |
_ZN5doris17NumComparisonImplIiiNS_9GreaterOpILNS_13PrimitiveTypeE5EEEE15constant_vectorEiRKNS_8PODArrayIiLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 100 | 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 | 529 | static void constant_vector(A a, const PaddedPODArray<B>& b, PaddedPODArray<UInt8>& c) { | 101 | 529 | NumComparisonImpl<B, A, typename Op::SymmetricOp>::vector_constant(b, a, c); | 102 | 529 | } |
_ZN5doris17NumComparisonImplInnNS_9GreaterOpILNS_13PrimitiveTypeE7EEEE15constant_vectorEnRKNS_8PODArrayInLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 100 | 30 | static void constant_vector(A a, const PaddedPODArray<B>& b, PaddedPODArray<UInt8>& c) { | 101 | 30 | NumComparisonImpl<B, A, typename Op::SymmetricOp>::vector_constant(b, a, c); | 102 | 30 | } |
Unexecuted instantiation: _ZN5doris17NumComparisonImplIjjNS_9GreaterOpILNS_13PrimitiveTypeE36EEEE15constant_vectorEjRKNS_8PODArrayIjLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERNS5_IhLm4096ES8_Lm16ELm15EEE Unexecuted instantiation: _ZN5doris17NumComparisonImplIooNS_9GreaterOpILNS_13PrimitiveTypeE37EEEE15constant_vectorEoRKNS_8PODArrayIoLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERNS5_IhLm4096ES8_Lm16ELm15EEE Unexecuted instantiation: _ZN5doris17NumComparisonImplIffNS_9GreaterOpILNS_13PrimitiveTypeE8EEEE15constant_vectorEfRKNS_8PODArrayIfLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERNS5_IhLm4096ES8_Lm16ELm15EEE Unexecuted instantiation: _ZN5doris17NumComparisonImplIddNS_9GreaterOpILNS_13PrimitiveTypeE9EEEE15constant_vectorEdRKNS_8PODArrayIdLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERNS5_IhLm4096ES8_Lm16ELm15EEE Unexecuted instantiation: _ZN5doris17NumComparisonImplIddNS_9GreaterOpILNS_13PrimitiveTypeE27EEEE15constant_vectorEdRKNS_8PODArrayIdLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERNS5_IhLm4096ES8_Lm16ELm15EEE Unexecuted instantiation: _ZN5doris17NumComparisonImplIhhNS_17GreaterOrEqualsOpILNS_13PrimitiveTypeE2EEEE15constant_vectorEhRKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERS9_ _ZN5doris17NumComparisonImplINS_11DateV2ValueINS_15DateV2ValueTypeEEES3_NS_17GreaterOrEqualsOpILNS_13PrimitiveTypeE25EEEE15constant_vectorES3_RKNS_8PODArrayIS3_Lm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERNS8_IhLm4096ESB_Lm16ELm15EEE Line | Count | Source | 100 | 6 | static void constant_vector(A a, const PaddedPODArray<B>& b, PaddedPODArray<UInt8>& c) { | 101 | 6 | NumComparisonImpl<B, A, typename Op::SymmetricOp>::vector_constant(b, a, c); | 102 | 6 | } |
Unexecuted instantiation: _ZN5doris17NumComparisonImplINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEES3_NS_17GreaterOrEqualsOpILNS_13PrimitiveTypeE26EEEE15constant_vectorES3_RKNS_8PODArrayIS3_Lm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERNS8_IhLm4096ESB_Lm16ELm15EEE Unexecuted instantiation: _ZN5doris17NumComparisonImplINS_16TimestampTzValueES1_NS_17GreaterOrEqualsOpILNS_13PrimitiveTypeE42EEEE15constant_vectorES1_RKNS_8PODArrayIS1_Lm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERNS6_IhLm4096ES9_Lm16ELm15EEE Unexecuted instantiation: _ZN5doris17NumComparisonImplIaaNS_17GreaterOrEqualsOpILNS_13PrimitiveTypeE3EEEE15constant_vectorEaRKNS_8PODArrayIaLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERNS5_IhLm4096ES8_Lm16ELm15EEE Unexecuted instantiation: _ZN5doris17NumComparisonImplIssNS_17GreaterOrEqualsOpILNS_13PrimitiveTypeE4EEEE15constant_vectorEsRKNS_8PODArrayIsLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERNS5_IhLm4096ES8_Lm16ELm15EEE Unexecuted instantiation: _ZN5doris17NumComparisonImplIiiNS_17GreaterOrEqualsOpILNS_13PrimitiveTypeE5EEEE15constant_vectorEiRKNS_8PODArrayIiLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERNS5_IhLm4096ES8_Lm16ELm15EEE Unexecuted instantiation: _ZN5doris17NumComparisonImplIllNS_17GreaterOrEqualsOpILNS_13PrimitiveTypeE6EEEE15constant_vectorElRKNS_8PODArrayIlLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERNS5_IhLm4096ES8_Lm16ELm15EEE Unexecuted instantiation: _ZN5doris17NumComparisonImplInnNS_17GreaterOrEqualsOpILNS_13PrimitiveTypeE7EEEE15constant_vectorEnRKNS_8PODArrayInLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERNS5_IhLm4096ES8_Lm16ELm15EEE Unexecuted instantiation: _ZN5doris17NumComparisonImplIjjNS_17GreaterOrEqualsOpILNS_13PrimitiveTypeE36EEEE15constant_vectorEjRKNS_8PODArrayIjLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERNS5_IhLm4096ES8_Lm16ELm15EEE Unexecuted instantiation: _ZN5doris17NumComparisonImplIooNS_17GreaterOrEqualsOpILNS_13PrimitiveTypeE37EEEE15constant_vectorEoRKNS_8PODArrayIoLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERNS5_IhLm4096ES8_Lm16ELm15EEE Unexecuted instantiation: _ZN5doris17NumComparisonImplIffNS_17GreaterOrEqualsOpILNS_13PrimitiveTypeE8EEEE15constant_vectorEfRKNS_8PODArrayIfLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERNS5_IhLm4096ES8_Lm16ELm15EEE Unexecuted instantiation: _ZN5doris17NumComparisonImplIddNS_17GreaterOrEqualsOpILNS_13PrimitiveTypeE9EEEE15constant_vectorEdRKNS_8PODArrayIdLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERNS5_IhLm4096ES8_Lm16ELm15EEE Unexecuted instantiation: _ZN5doris17NumComparisonImplIddNS_17GreaterOrEqualsOpILNS_13PrimitiveTypeE27EEEE15constant_vectorEdRKNS_8PODArrayIdLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERNS5_IhLm4096ES8_Lm16ELm15EEE Unexecuted instantiation: _ZN5doris17NumComparisonImplIhhNS_6LessOpILNS_13PrimitiveTypeE2EEEE15constant_vectorEhRKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERS9_ Unexecuted instantiation: _ZN5doris17NumComparisonImplINS_11DateV2ValueINS_15DateV2ValueTypeEEES3_NS_6LessOpILNS_13PrimitiveTypeE25EEEE15constant_vectorES3_RKNS_8PODArrayIS3_Lm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERNS8_IhLm4096ESB_Lm16ELm15EEE Unexecuted instantiation: _ZN5doris17NumComparisonImplINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEES3_NS_6LessOpILNS_13PrimitiveTypeE26EEEE15constant_vectorES3_RKNS_8PODArrayIS3_Lm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERNS8_IhLm4096ESB_Lm16ELm15EEE Unexecuted instantiation: _ZN5doris17NumComparisonImplINS_16TimestampTzValueES1_NS_6LessOpILNS_13PrimitiveTypeE42EEEE15constant_vectorES1_RKNS_8PODArrayIS1_Lm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERNS6_IhLm4096ES9_Lm16ELm15EEE _ZN5doris17NumComparisonImplIaaNS_6LessOpILNS_13PrimitiveTypeE3EEEE15constant_vectorEaRKNS_8PODArrayIaLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 100 | 240 | static void constant_vector(A a, const PaddedPODArray<B>& b, PaddedPODArray<UInt8>& c) { | 101 | 240 | NumComparisonImpl<B, A, typename Op::SymmetricOp>::vector_constant(b, a, c); | 102 | 240 | } |
Unexecuted instantiation: _ZN5doris17NumComparisonImplIssNS_6LessOpILNS_13PrimitiveTypeE4EEEE15constant_vectorEsRKNS_8PODArrayIsLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERNS5_IhLm4096ES8_Lm16ELm15EEE _ZN5doris17NumComparisonImplIiiNS_6LessOpILNS_13PrimitiveTypeE5EEEE15constant_vectorEiRKNS_8PODArrayIiLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 100 | 119 | static void constant_vector(A a, const PaddedPODArray<B>& b, PaddedPODArray<UInt8>& c) { | 101 | 119 | NumComparisonImpl<B, A, typename Op::SymmetricOp>::vector_constant(b, a, c); | 102 | 119 | } |
_ZN5doris17NumComparisonImplIllNS_6LessOpILNS_13PrimitiveTypeE6EEEE15constant_vectorElRKNS_8PODArrayIlLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 100 | 80 | static void constant_vector(A a, const PaddedPODArray<B>& b, PaddedPODArray<UInt8>& c) { | 101 | 80 | NumComparisonImpl<B, A, typename Op::SymmetricOp>::vector_constant(b, a, c); | 102 | 80 | } |
_ZN5doris17NumComparisonImplInnNS_6LessOpILNS_13PrimitiveTypeE7EEEE15constant_vectorEnRKNS_8PODArrayInLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 100 | 96 | static void constant_vector(A a, const PaddedPODArray<B>& b, PaddedPODArray<UInt8>& c) { | 101 | 96 | NumComparisonImpl<B, A, typename Op::SymmetricOp>::vector_constant(b, a, c); | 102 | 96 | } |
Unexecuted instantiation: _ZN5doris17NumComparisonImplIjjNS_6LessOpILNS_13PrimitiveTypeE36EEEE15constant_vectorEjRKNS_8PODArrayIjLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERNS5_IhLm4096ES8_Lm16ELm15EEE Unexecuted instantiation: _ZN5doris17NumComparisonImplIooNS_6LessOpILNS_13PrimitiveTypeE37EEEE15constant_vectorEoRKNS_8PODArrayIoLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERNS5_IhLm4096ES8_Lm16ELm15EEE Unexecuted instantiation: _ZN5doris17NumComparisonImplIffNS_6LessOpILNS_13PrimitiveTypeE8EEEE15constant_vectorEfRKNS_8PODArrayIfLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERNS5_IhLm4096ES8_Lm16ELm15EEE Unexecuted instantiation: _ZN5doris17NumComparisonImplIddNS_6LessOpILNS_13PrimitiveTypeE9EEEE15constant_vectorEdRKNS_8PODArrayIdLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERNS5_IhLm4096ES8_Lm16ELm15EEE Unexecuted instantiation: _ZN5doris17NumComparisonImplIddNS_6LessOpILNS_13PrimitiveTypeE27EEEE15constant_vectorEdRKNS_8PODArrayIdLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERNS5_IhLm4096ES8_Lm16ELm15EEE Unexecuted instantiation: _ZN5doris17NumComparisonImplIhhNS_14LessOrEqualsOpILNS_13PrimitiveTypeE2EEEE15constant_vectorEhRKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERS9_ _ZN5doris17NumComparisonImplINS_11DateV2ValueINS_15DateV2ValueTypeEEES3_NS_14LessOrEqualsOpILNS_13PrimitiveTypeE25EEEE15constant_vectorES3_RKNS_8PODArrayIS3_Lm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERNS8_IhLm4096ESB_Lm16ELm15EEE Line | Count | Source | 100 | 5 | static void constant_vector(A a, const PaddedPODArray<B>& b, PaddedPODArray<UInt8>& c) { | 101 | 5 | NumComparisonImpl<B, A, typename Op::SymmetricOp>::vector_constant(b, a, c); | 102 | 5 | } |
Unexecuted instantiation: _ZN5doris17NumComparisonImplINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEES3_NS_14LessOrEqualsOpILNS_13PrimitiveTypeE26EEEE15constant_vectorES3_RKNS_8PODArrayIS3_Lm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERNS8_IhLm4096ESB_Lm16ELm15EEE Unexecuted instantiation: _ZN5doris17NumComparisonImplINS_16TimestampTzValueES1_NS_14LessOrEqualsOpILNS_13PrimitiveTypeE42EEEE15constant_vectorES1_RKNS_8PODArrayIS1_Lm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERNS6_IhLm4096ES9_Lm16ELm15EEE Unexecuted instantiation: _ZN5doris17NumComparisonImplIaaNS_14LessOrEqualsOpILNS_13PrimitiveTypeE3EEEE15constant_vectorEaRKNS_8PODArrayIaLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERNS5_IhLm4096ES8_Lm16ELm15EEE Unexecuted instantiation: _ZN5doris17NumComparisonImplIssNS_14LessOrEqualsOpILNS_13PrimitiveTypeE4EEEE15constant_vectorEsRKNS_8PODArrayIsLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERNS5_IhLm4096ES8_Lm16ELm15EEE _ZN5doris17NumComparisonImplIiiNS_14LessOrEqualsOpILNS_13PrimitiveTypeE5EEEE15constant_vectorEiRKNS_8PODArrayIiLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 100 | 232 | static void constant_vector(A a, const PaddedPODArray<B>& b, PaddedPODArray<UInt8>& c) { | 101 | 232 | NumComparisonImpl<B, A, typename Op::SymmetricOp>::vector_constant(b, a, c); | 102 | 232 | } |
_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 | 143 | static void vector_constant(const IColumn& a, const IColumn& b, PaddedPODArray<UInt8>& c) { |
115 | 143 | const auto& col_right = assert_cast<const ColumnConst&>(b).get_data_column(); |
116 | 507k | for (size_t i = 0, size = a.size(); i < size; ++i) { |
117 | 507k | c[i] = Op::apply(a.compare_at(i, 0, col_right, 1), 0); |
118 | 507k | } |
119 | 143 | } _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 | 47 | static void vector_constant(const IColumn& a, const IColumn& b, PaddedPODArray<UInt8>& c) { | 115 | 47 | const auto& col_right = assert_cast<const ColumnConst&>(b).get_data_column(); | 116 | 231k | for (size_t i = 0, size = a.size(); i < size; ++i) { | 117 | 231k | c[i] = Op::apply(a.compare_at(i, 0, col_right, 1), 0); | 118 | 231k | } | 119 | 47 | } |
_ZN5doris21GenericComparisonImplINS_17GreaterOrEqualsOpILNS_13PrimitiveTypeE5EEEE15vector_constantERKNS_7IColumnES7_RNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEE Line | Count | Source | 114 | 59 | static void vector_constant(const IColumn& a, const IColumn& b, PaddedPODArray<UInt8>& c) { | 115 | 59 | const auto& col_right = assert_cast<const ColumnConst&>(b).get_data_column(); | 116 | 275k | for (size_t i = 0, size = a.size(); i < size; ++i) { | 117 | 275k | c[i] = Op::apply(a.compare_at(i, 0, col_right, 1), 0); | 118 | 275k | } | 119 | 59 | } |
|
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 | 498 | PaddedPODArray<UInt8>& c) { |
133 | 498 | size_t size = a_offsets.size(); |
134 | 498 | ColumnString::Offset prev_a_offset = 0; |
135 | 498 | ColumnString::Offset prev_b_offset = 0; |
136 | 498 | const auto* a_pos = a_data.data(); |
137 | 498 | const auto* b_pos = b_data.data(); |
138 | | |
139 | 1.72k | for (size_t i = 0; i < size; ++i) { |
140 | 1.22k | c[i] = Op::apply(memcmp_small_allow_overflow15( |
141 | 1.22k | a_pos + prev_a_offset, a_offsets[i] - prev_a_offset, |
142 | 1.22k | b_pos + prev_b_offset, b_offsets[i] - prev_b_offset), |
143 | 1.22k | 0); |
144 | | |
145 | 1.22k | prev_a_offset = a_offsets[i]; |
146 | 1.22k | prev_b_offset = b_offsets[i]; |
147 | 1.22k | } |
148 | 498 | } _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 | 460 | PaddedPODArray<UInt8>& c) { | 133 | 460 | size_t size = a_offsets.size(); | 134 | 460 | ColumnString::Offset prev_a_offset = 0; | 135 | 460 | ColumnString::Offset prev_b_offset = 0; | 136 | 460 | const auto* a_pos = a_data.data(); | 137 | 460 | const auto* b_pos = b_data.data(); | 138 | | | 139 | 1.44k | for (size_t i = 0; i < size; ++i) { | 140 | 982 | c[i] = Op::apply(memcmp_small_allow_overflow15( | 141 | 982 | a_pos + prev_a_offset, a_offsets[i] - prev_a_offset, | 142 | 982 | b_pos + prev_b_offset, b_offsets[i] - prev_b_offset), | 143 | 982 | 0); | 144 | | | 145 | 982 | prev_a_offset = a_offsets[i]; | 146 | 982 | prev_b_offset = b_offsets[i]; | 147 | 982 | } | 148 | 460 | } |
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 | 820 | PaddedPODArray<UInt8>& c) { |
155 | 820 | size_t size = a_offsets.size(); |
156 | 820 | ColumnString::Offset prev_a_offset = 0; |
157 | 820 | const auto* a_pos = a_data.data(); |
158 | 820 | const auto* b_pos = b_data.data(); |
159 | | |
160 | 1.43M | for (size_t i = 0; i < size; ++i) { |
161 | 1.43M | c[i] = Op::apply( |
162 | 1.43M | memcmp_small_allow_overflow15(a_pos + prev_a_offset, |
163 | 1.43M | a_offsets[i] - prev_a_offset, b_pos, b_size), |
164 | 1.43M | 0); |
165 | | |
166 | 1.43M | prev_a_offset = a_offsets[i]; |
167 | 1.43M | } |
168 | 820 | } _ZN5doris20StringComparisonImplINS_9GreaterOpILNS_13PrimitiveTypeE5EEEE22string_vector_constantERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERKNS5_IjLm4096ES8_Lm16ELm15EEESB_jRS9_ Line | Count | Source | 154 | 206 | PaddedPODArray<UInt8>& c) { | 155 | 206 | size_t size = a_offsets.size(); | 156 | 206 | ColumnString::Offset prev_a_offset = 0; | 157 | 206 | const auto* a_pos = a_data.data(); | 158 | 206 | 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 | 206 | } |
_ZN5doris20StringComparisonImplINS_6LessOpILNS_13PrimitiveTypeE5EEEE22string_vector_constantERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERKNS5_IjLm4096ES8_Lm16ELm15EEESB_jRS9_ Line | Count | Source | 154 | 106 | PaddedPODArray<UInt8>& c) { | 155 | 106 | size_t size = a_offsets.size(); | 156 | 106 | ColumnString::Offset prev_a_offset = 0; | 157 | 106 | const auto* a_pos = a_data.data(); | 158 | 106 | 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 | 106 | } |
_ZN5doris20StringComparisonImplINS_17GreaterOrEqualsOpILNS_13PrimitiveTypeE5EEEE22string_vector_constantERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERKNS5_IjLm4096ES8_Lm16ELm15EEESB_jRS9_ Line | Count | Source | 154 | 265 | PaddedPODArray<UInt8>& c) { | 155 | 265 | size_t size = a_offsets.size(); | 156 | 265 | ColumnString::Offset prev_a_offset = 0; | 157 | 265 | const auto* a_pos = a_data.data(); | 158 | 265 | const auto* b_pos = b_data.data(); | 159 | | | 160 | 485k | for (size_t i = 0; i < size; ++i) { | 161 | 485k | c[i] = Op::apply( | 162 | 485k | memcmp_small_allow_overflow15(a_pos + prev_a_offset, | 163 | 485k | a_offsets[i] - prev_a_offset, b_pos, b_size), | 164 | 485k | 0); | 165 | | | 166 | 485k | prev_a_offset = a_offsets[i]; | 167 | 485k | } | 168 | 265 | } |
_ZN5doris20StringComparisonImplINS_14LessOrEqualsOpILNS_13PrimitiveTypeE5EEEE22string_vector_constantERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERKNS5_IjLm4096ES8_Lm16ELm15EEESB_jRS9_ Line | Count | Source | 154 | 243 | PaddedPODArray<UInt8>& c) { | 155 | 243 | size_t size = a_offsets.size(); | 156 | 243 | ColumnString::Offset prev_a_offset = 0; | 157 | 243 | const auto* a_pos = a_data.data(); | 158 | 243 | const auto* b_pos = b_data.data(); | 159 | | | 160 | 551k | for (size_t i = 0; i < size; ++i) { | 161 | 551k | c[i] = Op::apply( | 162 | 551k | memcmp_small_allow_overflow15(a_pos + prev_a_offset, | 163 | 551k | a_offsets[i] - prev_a_offset, b_pos, b_size), | 164 | 551k | 0); | 165 | | | 166 | 551k | prev_a_offset = a_offsets[i]; | 167 | 551k | } | 168 | 243 | } |
|
169 | | |
170 | | static void constant_string_vector(const ColumnString::Chars& a_data, |
171 | | ColumnString::Offset a_size, |
172 | | const ColumnString::Chars& b_data, |
173 | | const ColumnString::Offsets& b_offsets, |
174 | 6 | PaddedPODArray<UInt8>& c) { |
175 | 6 | StringComparisonImpl<typename Op::SymmetricOp>::string_vector_constant(b_data, b_offsets, |
176 | 6 | a_data, a_size, c); |
177 | 6 | } Unexecuted instantiation: _ZN5doris20StringComparisonImplINS_9GreaterOpILNS_13PrimitiveTypeE5EEEE22constant_string_vectorERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEjSB_RKNS5_IjLm4096ES8_Lm16ELm15EEERS9_ Unexecuted instantiation: _ZN5doris20StringComparisonImplINS_17GreaterOrEqualsOpILNS_13PrimitiveTypeE5EEEE22constant_string_vectorERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEjSB_RKNS5_IjLm4096ES8_Lm16ELm15EEERS9_ _ZN5doris20StringComparisonImplINS_6LessOpILNS_13PrimitiveTypeE5EEEE22constant_string_vectorERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEjSB_RKNS5_IjLm4096ES8_Lm16ELm15EEERS9_ Line | Count | Source | 174 | 6 | PaddedPODArray<UInt8>& c) { | 175 | 6 | StringComparisonImpl<typename Op::SymmetricOp>::string_vector_constant(b_data, b_offsets, | 176 | 6 | a_data, a_size, c); | 177 | 6 | } |
Unexecuted instantiation: _ZN5doris20StringComparisonImplINS_14LessOrEqualsOpILNS_13PrimitiveTypeE5EEEE22constant_string_vectorERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEjSB_RKNS5_IjLm4096ES8_Lm16ELm15EEERS9_ |
178 | | }; |
179 | | |
180 | | template <bool positive> |
181 | | struct StringEqualsImpl { |
182 | | static void NO_INLINE string_vector_string_vector(const ColumnString::Chars& a_data, |
183 | | const ColumnString::Offsets& a_offsets, |
184 | | const ColumnString::Chars& b_data, |
185 | | const ColumnString::Offsets& b_offsets, |
186 | 530 | PaddedPODArray<UInt8>& c) { |
187 | 530 | size_t size = a_offsets.size(); |
188 | 530 | ColumnString::Offset prev_a_offset = 0; |
189 | 530 | ColumnString::Offset prev_b_offset = 0; |
190 | 530 | const auto* a_pos = a_data.data(); |
191 | 530 | const auto* b_pos = b_data.data(); |
192 | | |
193 | 1.50k | for (size_t i = 0; i < size; ++i) { |
194 | 979 | auto a_size = a_offsets[i] - prev_a_offset; |
195 | 979 | auto b_size = b_offsets[i] - prev_b_offset; |
196 | | |
197 | 979 | c[i] = positive == memequal_small_allow_overflow15(a_pos + prev_a_offset, a_size, |
198 | 979 | b_pos + prev_b_offset, b_size); |
199 | | |
200 | 979 | prev_a_offset = a_offsets[i]; |
201 | 979 | prev_b_offset = b_offsets[i]; |
202 | 979 | } |
203 | 530 | } _ZN5doris16StringEqualsImplILb1EE27string_vector_string_vectorERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERKNS2_IjLm4096ES5_Lm16ELm15EEES8_SB_RS6_ Line | Count | Source | 186 | 529 | PaddedPODArray<UInt8>& c) { | 187 | 529 | size_t size = a_offsets.size(); | 188 | 529 | ColumnString::Offset prev_a_offset = 0; | 189 | 529 | ColumnString::Offset prev_b_offset = 0; | 190 | 529 | const auto* a_pos = a_data.data(); | 191 | 529 | const auto* b_pos = b_data.data(); | 192 | | | 193 | 1.50k | for (size_t i = 0; i < size; ++i) { | 194 | 975 | auto a_size = a_offsets[i] - prev_a_offset; | 195 | 975 | auto b_size = b_offsets[i] - prev_b_offset; | 196 | | | 197 | 975 | c[i] = positive == memequal_small_allow_overflow15(a_pos + prev_a_offset, a_size, | 198 | 975 | b_pos + prev_b_offset, b_size); | 199 | | | 200 | 975 | prev_a_offset = a_offsets[i]; | 201 | 975 | prev_b_offset = b_offsets[i]; | 202 | 975 | } | 203 | 529 | } |
_ZN5doris16StringEqualsImplILb0EE27string_vector_string_vectorERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERKNS2_IjLm4096ES5_Lm16ELm15EEES8_SB_RS6_ Line | Count | Source | 186 | 1 | PaddedPODArray<UInt8>& c) { | 187 | 1 | size_t size = a_offsets.size(); | 188 | 1 | ColumnString::Offset prev_a_offset = 0; | 189 | 1 | ColumnString::Offset prev_b_offset = 0; | 190 | 1 | const auto* a_pos = a_data.data(); | 191 | 1 | const auto* b_pos = b_data.data(); | 192 | | | 193 | 5 | for (size_t i = 0; i < size; ++i) { | 194 | 4 | auto a_size = a_offsets[i] - prev_a_offset; | 195 | 4 | auto b_size = b_offsets[i] - prev_b_offset; | 196 | | | 197 | 4 | c[i] = positive == memequal_small_allow_overflow15(a_pos + prev_a_offset, a_size, | 198 | 4 | b_pos + prev_b_offset, b_size); | 199 | | | 200 | 4 | prev_a_offset = a_offsets[i]; | 201 | 4 | prev_b_offset = b_offsets[i]; | 202 | 4 | } | 203 | 1 | } |
|
204 | | |
205 | | static void NO_INLINE string_vector_constant(const ColumnString::Chars& a_data, |
206 | | const ColumnString::Offsets& a_offsets, |
207 | | const ColumnString::Chars& b_data, |
208 | | ColumnString::Offset b_size, |
209 | 10.0k | PaddedPODArray<UInt8>& c) { |
210 | 10.0k | size_t size = a_offsets.size(); |
211 | 10.0k | if (b_size == 0) { |
212 | 1 | auto* __restrict data = c.data(); |
213 | 1 | auto* __restrict offsets = a_offsets.data(); |
214 | | |
215 | 1 | ColumnString::Offset prev_a_offset = 0; |
216 | 4 | for (size_t i = 0; i < size; ++i) { |
217 | 3 | data[i] = positive ? (offsets[i] == prev_a_offset) : (offsets[i] != prev_a_offset); |
218 | 3 | prev_a_offset = offsets[i]; |
219 | 3 | } |
220 | 10.0k | } else { |
221 | 10.0k | ColumnString::Offset prev_a_offset = 0; |
222 | 10.0k | const auto* a_pos = a_data.data(); |
223 | 10.0k | const auto* b_pos = b_data.data(); |
224 | 1.35M | for (size_t i = 0; i < size; ++i) { |
225 | 1.34M | auto a_size = a_offsets[i] - prev_a_offset; |
226 | 1.34M | c[i] = positive == memequal_small_allow_overflow15(a_pos + prev_a_offset, a_size, |
227 | 1.34M | b_pos, b_size); |
228 | 1.34M | prev_a_offset = a_offsets[i]; |
229 | 1.34M | } |
230 | 10.0k | } |
231 | 10.0k | } _ZN5doris16StringEqualsImplILb1EE22string_vector_constantERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERKNS2_IjLm4096ES5_Lm16ELm15EEES8_jRS6_ Line | Count | Source | 209 | 9.97k | PaddedPODArray<UInt8>& c) { | 210 | 9.97k | size_t size = a_offsets.size(); | 211 | 9.97k | if (b_size == 0) { | 212 | 0 | auto* __restrict data = c.data(); | 213 | 0 | auto* __restrict offsets = a_offsets.data(); | 214 | |
| 215 | 0 | ColumnString::Offset prev_a_offset = 0; | 216 | 0 | for (size_t i = 0; i < size; ++i) { | 217 | 0 | data[i] = positive ? (offsets[i] == prev_a_offset) : (offsets[i] != prev_a_offset); | 218 | 0 | prev_a_offset = offsets[i]; | 219 | 0 | } | 220 | 9.97k | } else { | 221 | 9.97k | ColumnString::Offset prev_a_offset = 0; | 222 | 9.97k | const auto* a_pos = a_data.data(); | 223 | 9.97k | const auto* b_pos = b_data.data(); | 224 | 1.31M | for (size_t i = 0; i < size; ++i) { | 225 | 1.30M | auto a_size = a_offsets[i] - prev_a_offset; | 226 | 1.30M | c[i] = positive == memequal_small_allow_overflow15(a_pos + prev_a_offset, a_size, | 227 | 1.30M | b_pos, b_size); | 228 | 1.30M | prev_a_offset = a_offsets[i]; | 229 | 1.30M | } | 230 | 9.97k | } | 231 | 9.97k | } |
_ZN5doris16StringEqualsImplILb0EE22string_vector_constantERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERKNS2_IjLm4096ES5_Lm16ELm15EEES8_jRS6_ Line | Count | Source | 209 | 89 | PaddedPODArray<UInt8>& c) { | 210 | 89 | size_t size = a_offsets.size(); | 211 | 89 | if (b_size == 0) { | 212 | 1 | auto* __restrict data = c.data(); | 213 | 1 | auto* __restrict offsets = a_offsets.data(); | 214 | | | 215 | 1 | ColumnString::Offset prev_a_offset = 0; | 216 | 4 | for (size_t i = 0; i < size; ++i) { | 217 | 3 | data[i] = positive ? (offsets[i] == prev_a_offset) : (offsets[i] != prev_a_offset); | 218 | 3 | prev_a_offset = offsets[i]; | 219 | 3 | } | 220 | 88 | } else { | 221 | 88 | ColumnString::Offset prev_a_offset = 0; | 222 | 88 | const auto* a_pos = a_data.data(); | 223 | 88 | const auto* b_pos = b_data.data(); | 224 | 42.1k | for (size_t i = 0; i < size; ++i) { | 225 | 42.1k | auto a_size = a_offsets[i] - prev_a_offset; | 226 | 42.1k | c[i] = positive == memequal_small_allow_overflow15(a_pos + prev_a_offset, a_size, | 227 | 42.1k | b_pos, b_size); | 228 | 42.1k | prev_a_offset = a_offsets[i]; | 229 | 42.1k | } | 230 | 88 | } | 231 | 89 | } |
|
232 | | |
233 | | static void NO_INLINE constant_string_vector(const ColumnString::Chars& a_data, |
234 | | ColumnString::Offset a_size, |
235 | | const ColumnString::Chars& b_data, |
236 | | const ColumnString::Offsets& b_offsets, |
237 | 0 | PaddedPODArray<UInt8>& c) { |
238 | 0 | string_vector_constant(b_data, b_offsets, a_data, a_size, c); |
239 | 0 | } Unexecuted instantiation: _ZN5doris16StringEqualsImplILb1EE22constant_string_vectorERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEjS8_RKNS2_IjLm4096ES5_Lm16ELm15EEERS6_ Unexecuted instantiation: _ZN5doris16StringEqualsImplILb0EE22constant_string_vectorERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEjS8_RKNS2_IjLm4096ES5_Lm16ELm15EEERS6_ |
240 | | }; |
241 | | |
242 | | template <PrimitiveType PT> |
243 | | struct StringComparisonImpl<EqualsOp<PT>> : StringEqualsImpl<true> {}; |
244 | | |
245 | | template <PrimitiveType PT> |
246 | | struct StringComparisonImpl<NotEqualsOp<PT>> : StringEqualsImpl<false> {}; |
247 | | |
248 | | struct NameEquals { |
249 | | static constexpr auto name = "eq"; |
250 | | }; |
251 | | struct NameNotEquals { |
252 | | static constexpr auto name = "ne"; |
253 | | }; |
254 | | struct NameLess { |
255 | | static constexpr auto name = "lt"; |
256 | | }; |
257 | | struct NameGreater { |
258 | | static constexpr auto name = "gt"; |
259 | | }; |
260 | | struct NameLessOrEquals { |
261 | | static constexpr auto name = "le"; |
262 | | }; |
263 | | struct NameGreaterOrEquals { |
264 | | static constexpr auto name = "ge"; |
265 | | }; |
266 | | |
267 | | namespace comparison_zonemap_detail { |
268 | | enum class Op { |
269 | | EQ, |
270 | | NE, |
271 | | LT, |
272 | | LE, |
273 | | GT, |
274 | | GE, |
275 | | }; |
276 | | |
277 | 4 | inline Op symmetric_op(Op op) { |
278 | 4 | switch (op) { |
279 | 0 | case Op::EQ: |
280 | 0 | case Op::NE: |
281 | 0 | return op; |
282 | 2 | case Op::LT: |
283 | 2 | return Op::GT; |
284 | 0 | case Op::LE: |
285 | 0 | return Op::GE; |
286 | 0 | case Op::GT: |
287 | 0 | return Op::LT; |
288 | 2 | case Op::GE: |
289 | 2 | return Op::LE; |
290 | 4 | } |
291 | 0 | __builtin_unreachable(); |
292 | 4 | } |
293 | | |
294 | | inline ZoneMapFilterResult evaluate(const ZoneMapEvalContext& ctx, const VExprSPtrs& arguments, |
295 | 2.69k | Op op) { |
296 | 2.69k | auto slot_literal = expr_zonemap::extract_slot_and_literal(arguments); |
297 | | |
298 | 2.69k | auto slot_type = expr_zonemap::fetch_compatible_slot_type(ctx, slot_literal->slot_index, |
299 | 2.69k | slot_literal->slot_type); |
300 | 2.69k | if (slot_type == nullptr) { |
301 | 1 | return unsupported_zonemap_filter(ctx); |
302 | 1 | } |
303 | 2.69k | auto zone_map_ptr = ctx.zone_map(slot_literal->slot_index); |
304 | 2.69k | if (zone_map_ptr == nullptr) { |
305 | 30 | return unsupported_zonemap_filter(ctx); |
306 | 30 | } |
307 | 2.66k | const auto& zone_map = *zone_map_ptr; |
308 | 2.66k | if (!zone_map.has_not_null) { |
309 | 61 | return ZoneMapFilterResult::kNoMatch; |
310 | 61 | } |
311 | 2.60k | if (!expr_zonemap::range_stats_usable_for_zonemap(zone_map, slot_type)) { |
312 | 117 | return unsupported_zonemap_filter(ctx); |
313 | 117 | } |
314 | | |
315 | 2.48k | const auto effective_op = slot_literal->literal_on_left ? symmetric_op(op) : op; |
316 | 2.48k | const auto& literal = slot_literal->literal; |
317 | 2.48k | switch (effective_op) { |
318 | 1.59k | case Op::EQ: |
319 | 1.59k | return literal < zone_map.min_value || zone_map.max_value < literal |
320 | 1.59k | ? ZoneMapFilterResult::kNoMatch |
321 | 1.59k | : ZoneMapFilterResult::kMayMatch; |
322 | 93 | case Op::NE: |
323 | 93 | return zone_map.min_value == literal && zone_map.max_value == literal |
324 | 93 | ? ZoneMapFilterResult::kNoMatch |
325 | 93 | : ZoneMapFilterResult::kMayMatch; |
326 | 193 | case Op::LT: |
327 | 193 | return zone_map.min_value >= literal ? ZoneMapFilterResult::kNoMatch |
328 | 193 | : ZoneMapFilterResult::kMayMatch; |
329 | 183 | case Op::LE: |
330 | 183 | return zone_map.min_value > literal ? ZoneMapFilterResult::kNoMatch |
331 | 183 | : ZoneMapFilterResult::kMayMatch; |
332 | 218 | case Op::GT: |
333 | 218 | return zone_map.max_value <= literal ? ZoneMapFilterResult::kNoMatch |
334 | 218 | : ZoneMapFilterResult::kMayMatch; |
335 | 216 | case Op::GE: |
336 | 216 | return zone_map.max_value < literal ? ZoneMapFilterResult::kNoMatch |
337 | 216 | : ZoneMapFilterResult::kMayMatch; |
338 | 2.48k | } |
339 | | |
340 | | // keep this to avoid compile failure with g++. |
341 | 0 | __builtin_unreachable(); |
342 | 2.48k | } |
343 | | |
344 | 28.6k | inline bool can_evaluate(const VExprSPtrs& arguments) { |
345 | 28.6k | auto slot_literal = expr_zonemap::extract_slot_and_literal(arguments); |
346 | 28.6k | if (!slot_literal.has_value()) { |
347 | 17.9k | return false; |
348 | 17.9k | } |
349 | | |
350 | | // A NULL literal makes the comparison evaluate to NULL instead of a byte range predicate on |
351 | | // the slot. This zonemap evaluator only derives bounds from non-NULL literals, so reject this |
352 | | // shape here before evaluate_zonemap_filter is called. |
353 | 10.6k | if (slot_literal->literal.is_null()) { |
354 | 4 | return false; |
355 | 4 | } |
356 | | |
357 | 10.6k | DORIS_CHECK(slot_literal->slot_type != nullptr); |
358 | 10.6k | DORIS_CHECK(slot_literal->literal_type != nullptr); |
359 | 10.6k | if (!expr_zonemap::data_types_compatible(slot_literal->slot_type, slot_literal->literal_type)) { |
360 | | // The optimizer may generate a bare slot/literal comparison whose logical types differ |
361 | | // only by attributes such as DATETIMEV2 scale. Expr zonemap evaluates stored Field |
362 | | // values without running expression casts, so conservatively skip this optimization. |
363 | 1 | return false; |
364 | 1 | } |
365 | | |
366 | 10.6k | return true; |
367 | 10.6k | } |
368 | | |
369 | 36 | inline bool can_evaluate_equality(const VExprSPtrs& arguments, Op op) { |
370 | 36 | return op == Op::EQ && can_evaluate(arguments); |
371 | 36 | } |
372 | | |
373 | | inline ZoneMapFilterResult evaluate_dictionary(const DictionaryEvalContext& ctx, |
374 | 4 | const VExprSPtrs& arguments, Op op) { |
375 | 4 | DORIS_CHECK(op == Op::EQ); |
376 | 4 | auto slot_literal = expr_zonemap::extract_slot_and_literal(arguments); |
377 | 4 | DORIS_CHECK(slot_literal.has_value()); |
378 | 4 | return expr_zonemap::eval_eq_dictionary(ctx, *slot_literal); |
379 | 4 | } |
380 | | |
381 | | inline ZoneMapFilterResult evaluate_bloom_filter(const BloomFilterEvalContext& ctx, |
382 | 4 | const VExprSPtrs& arguments, Op op) { |
383 | 4 | DORIS_CHECK(op == Op::EQ); |
384 | 4 | auto slot_literal = expr_zonemap::extract_slot_and_literal(arguments); |
385 | 4 | DORIS_CHECK(slot_literal.has_value()); |
386 | 4 | return expr_zonemap::eval_eq_bloom_filter(ctx, *slot_literal); |
387 | 4 | } |
388 | | |
389 | 31.4k | inline std::optional<Op> op_from_name(std::string_view name) { |
390 | 31.4k | if (name == NameEquals::name) { |
391 | 16.1k | return Op::EQ; |
392 | 16.1k | } |
393 | 15.2k | if (name == NameNotEquals::name) { |
394 | 1.39k | return Op::NE; |
395 | 1.39k | } |
396 | 13.8k | if (name == NameLess::name) { |
397 | 3.25k | return Op::LT; |
398 | 3.25k | } |
399 | 10.6k | if (name == NameLessOrEquals::name) { |
400 | 1.86k | return Op::LE; |
401 | 1.86k | } |
402 | 8.75k | if (name == NameGreater::name) { |
403 | 5.01k | return Op::GT; |
404 | 5.01k | } |
405 | 3.79k | if (name == NameGreaterOrEquals::name) { |
406 | 3.79k | return Op::GE; |
407 | 3.79k | } |
408 | 18.4E | return std::nullopt; |
409 | 3.74k | } |
410 | | } // namespace comparison_zonemap_detail |
411 | | |
412 | | template <template <PrimitiveType> class Op, typename Name> |
413 | | class FunctionComparison : public IFunction { |
414 | | public: |
415 | | static constexpr auto name = Name::name; |
416 | 265k | static FunctionPtr create() { return std::make_shared<FunctionComparison>(); }_ZN5doris18FunctionComparisonINS_8EqualsOpENS_10NameEqualsEE6createEv Line | Count | Source | 416 | 240k | static FunctionPtr create() { return std::make_shared<FunctionComparison>(); } |
_ZN5doris18FunctionComparisonINS_11NotEqualsOpENS_13NameNotEqualsEE6createEv Line | Count | Source | 416 | 1.15k | static FunctionPtr create() { return std::make_shared<FunctionComparison>(); } |
_ZN5doris18FunctionComparisonINS_9GreaterOpENS_11NameGreaterEE6createEv Line | Count | Source | 416 | 4.88k | static FunctionPtr create() { return std::make_shared<FunctionComparison>(); } |
_ZN5doris18FunctionComparisonINS_17GreaterOrEqualsOpENS_19NameGreaterOrEqualsEE6createEv Line | Count | Source | 416 | 6.63k | static FunctionPtr create() { return std::make_shared<FunctionComparison>(); } |
_ZN5doris18FunctionComparisonINS_6LessOpENS_8NameLessEE6createEv Line | Count | Source | 416 | 2.97k | static FunctionPtr create() { return std::make_shared<FunctionComparison>(); } |
_ZN5doris18FunctionComparisonINS_14LessOrEqualsOpENS_16NameLessOrEqualsEE6createEv Line | Count | Source | 416 | 9.32k | static FunctionPtr create() { return std::make_shared<FunctionComparison>(); } |
|
417 | | |
418 | 265k | FunctionComparison() = default; _ZN5doris18FunctionComparisonINS_8EqualsOpENS_10NameEqualsEEC2Ev Line | Count | Source | 418 | 240k | FunctionComparison() = default; |
_ZN5doris18FunctionComparisonINS_11NotEqualsOpENS_13NameNotEqualsEEC2Ev Line | Count | Source | 418 | 1.15k | FunctionComparison() = default; |
_ZN5doris18FunctionComparisonINS_9GreaterOpENS_11NameGreaterEEC2Ev Line | Count | Source | 418 | 4.88k | FunctionComparison() = default; |
_ZN5doris18FunctionComparisonINS_17GreaterOrEqualsOpENS_19NameGreaterOrEqualsEEC2Ev Line | Count | Source | 418 | 6.63k | FunctionComparison() = default; |
_ZN5doris18FunctionComparisonINS_6LessOpENS_8NameLessEEC2Ev Line | Count | Source | 418 | 2.97k | FunctionComparison() = default; |
_ZN5doris18FunctionComparisonINS_14LessOrEqualsOpENS_16NameLessOrEqualsEEC2Ev Line | Count | Source | 418 | 9.34k | FunctionComparison() = default; |
|
419 | | |
420 | 649k | double execute_cost() const override { return 0.5; }_ZNK5doris18FunctionComparisonINS_8EqualsOpENS_10NameEqualsEE12execute_costEv Line | Count | Source | 420 | 641k | double execute_cost() const override { return 0.5; } |
_ZNK5doris18FunctionComparisonINS_11NotEqualsOpENS_13NameNotEqualsEE12execute_costEv Line | Count | Source | 420 | 603 | double execute_cost() const override { return 0.5; } |
_ZNK5doris18FunctionComparisonINS_9GreaterOpENS_11NameGreaterEE12execute_costEv Line | Count | Source | 420 | 1.89k | double execute_cost() const override { return 0.5; } |
_ZNK5doris18FunctionComparisonINS_17GreaterOrEqualsOpENS_19NameGreaterOrEqualsEE12execute_costEv Line | Count | Source | 420 | 3.02k | double execute_cost() const override { return 0.5; } |
_ZNK5doris18FunctionComparisonINS_6LessOpENS_8NameLessEE12execute_costEv Line | Count | Source | 420 | 1.14k | double execute_cost() const override { return 0.5; } |
_ZNK5doris18FunctionComparisonINS_14LessOrEqualsOpENS_16NameLessOrEqualsEE12execute_costEv Line | Count | Source | 420 | 1.71k | double execute_cost() const override { return 0.5; } |
|
421 | | |
422 | | private: |
423 | | template <PrimitiveType PT> |
424 | | Status execute_num_type(Block& block, uint32_t result, const ColumnPtr& col_left_ptr, |
425 | 52.9k | const ColumnPtr& col_right_ptr) const { |
426 | 52.9k | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); |
427 | 52.9k | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); |
428 | | |
429 | 52.9k | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); |
430 | 52.9k | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); |
431 | | |
432 | 52.9k | DCHECK(!(left_is_const && right_is_const)); |
433 | | |
434 | 52.9k | if (!left_is_const && !right_is_const) { |
435 | 8.34k | auto col_res = ColumnUInt8::create(); |
436 | | |
437 | 8.34k | ColumnUInt8::Container& vec_res = col_res->get_data(); |
438 | 8.34k | vec_res.resize(col_left->get_data().size()); |
439 | 8.34k | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, |
440 | 8.34k | typename PrimitiveTypeTraits<PT>::CppType, |
441 | 8.34k | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), |
442 | 8.34k | vec_res); |
443 | | |
444 | 8.34k | block.replace_by_position(result, std::move(col_res)); |
445 | 44.6k | } else if (!left_is_const && right_is_const) { |
446 | 37.1k | auto col_res = ColumnUInt8::create(); |
447 | | |
448 | 37.1k | ColumnUInt8::Container& vec_res = col_res->get_data(); |
449 | 37.1k | vec_res.resize(col_left->size()); |
450 | 37.1k | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, |
451 | 37.1k | typename PrimitiveTypeTraits<PT>::CppType, |
452 | 37.1k | Op<PT>>::vector_constant(col_left->get_data(), |
453 | 37.1k | col_right->get_element(0), vec_res); |
454 | | |
455 | 37.1k | block.replace_by_position(result, std::move(col_res)); |
456 | 37.1k | } else if (left_is_const && !right_is_const) { |
457 | 7.44k | auto col_res = ColumnUInt8::create(); |
458 | | |
459 | 7.44k | ColumnUInt8::Container& vec_res = col_res->get_data(); |
460 | 7.44k | vec_res.resize(col_right->size()); |
461 | 7.44k | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, |
462 | 7.44k | typename PrimitiveTypeTraits<PT>::CppType, |
463 | 7.44k | Op<PT>>::constant_vector(col_left->get_element(0), |
464 | 7.44k | col_right->get_data(), vec_res); |
465 | | |
466 | 7.44k | block.replace_by_position(result, std::move(col_res)); |
467 | 7.44k | } |
468 | 52.9k | return Status::OK(); |
469 | 52.9k | } _ZNK5doris18FunctionComparisonINS_8EqualsOpENS_10NameEqualsEE16execute_num_typeILNS_13PrimitiveTypeE2EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 425 | 91 | const ColumnPtr& col_right_ptr) const { | 426 | 91 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 427 | 91 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 428 | | | 429 | 91 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 430 | 91 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 431 | | | 432 | 91 | DCHECK(!(left_is_const && right_is_const)); | 433 | | | 434 | 91 | if (!left_is_const && !right_is_const) { | 435 | 65 | auto col_res = ColumnUInt8::create(); | 436 | | | 437 | 65 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 438 | 65 | vec_res.resize(col_left->get_data().size()); | 439 | 65 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 440 | 65 | typename PrimitiveTypeTraits<PT>::CppType, | 441 | 65 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 442 | 65 | vec_res); | 443 | | | 444 | 65 | block.replace_by_position(result, std::move(col_res)); | 445 | 65 | } else if (!left_is_const && right_is_const) { | 446 | 26 | auto col_res = ColumnUInt8::create(); | 447 | | | 448 | 26 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 449 | 26 | vec_res.resize(col_left->size()); | 450 | 26 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 451 | 26 | typename PrimitiveTypeTraits<PT>::CppType, | 452 | 26 | Op<PT>>::vector_constant(col_left->get_data(), | 453 | 26 | col_right->get_element(0), vec_res); | 454 | | | 455 | 26 | block.replace_by_position(result, std::move(col_res)); | 456 | 26 | } else if (left_is_const && !right_is_const) { | 457 | 0 | auto col_res = ColumnUInt8::create(); | 458 | |
| 459 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 460 | 0 | vec_res.resize(col_right->size()); | 461 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 462 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 463 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 464 | 0 | col_right->get_data(), vec_res); | 465 | |
| 466 | 0 | block.replace_by_position(result, std::move(col_res)); | 467 | 0 | } | 468 | 91 | return Status::OK(); | 469 | 91 | } |
_ZNK5doris18FunctionComparisonINS_8EqualsOpENS_10NameEqualsEE16execute_num_typeILNS_13PrimitiveTypeE25EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 425 | 797 | const ColumnPtr& col_right_ptr) const { | 426 | 797 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 427 | 797 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 428 | | | 429 | 797 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 430 | 797 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 431 | | | 432 | 797 | DCHECK(!(left_is_const && right_is_const)); | 433 | | | 434 | 797 | if (!left_is_const && !right_is_const) { | 435 | 237 | auto col_res = ColumnUInt8::create(); | 436 | | | 437 | 237 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 438 | 237 | vec_res.resize(col_left->get_data().size()); | 439 | 237 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 440 | 237 | typename PrimitiveTypeTraits<PT>::CppType, | 441 | 237 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 442 | 237 | vec_res); | 443 | | | 444 | 237 | block.replace_by_position(result, std::move(col_res)); | 445 | 560 | } else if (!left_is_const && right_is_const) { | 446 | 560 | auto col_res = ColumnUInt8::create(); | 447 | | | 448 | 560 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 449 | 560 | vec_res.resize(col_left->size()); | 450 | 560 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 451 | 560 | typename PrimitiveTypeTraits<PT>::CppType, | 452 | 560 | Op<PT>>::vector_constant(col_left->get_data(), | 453 | 560 | col_right->get_element(0), vec_res); | 454 | | | 455 | 560 | block.replace_by_position(result, std::move(col_res)); | 456 | 560 | } else if (left_is_const && !right_is_const) { | 457 | 0 | auto col_res = ColumnUInt8::create(); | 458 | |
| 459 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 460 | 0 | vec_res.resize(col_right->size()); | 461 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 462 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 463 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 464 | 0 | col_right->get_data(), vec_res); | 465 | |
| 466 | 0 | block.replace_by_position(result, std::move(col_res)); | 467 | 0 | } | 468 | 797 | return Status::OK(); | 469 | 797 | } |
_ZNK5doris18FunctionComparisonINS_8EqualsOpENS_10NameEqualsEE16execute_num_typeILNS_13PrimitiveTypeE26EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 425 | 445 | const ColumnPtr& col_right_ptr) const { | 426 | 445 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 427 | 445 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 428 | | | 429 | 445 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 430 | 445 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 431 | | | 432 | 445 | DCHECK(!(left_is_const && right_is_const)); | 433 | | | 434 | 445 | if (!left_is_const && !right_is_const) { | 435 | 278 | auto col_res = ColumnUInt8::create(); | 436 | | | 437 | 278 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 438 | 278 | vec_res.resize(col_left->get_data().size()); | 439 | 278 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 440 | 278 | typename PrimitiveTypeTraits<PT>::CppType, | 441 | 278 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 442 | 278 | vec_res); | 443 | | | 444 | 278 | block.replace_by_position(result, std::move(col_res)); | 445 | 278 | } else if (!left_is_const && right_is_const) { | 446 | 167 | auto col_res = ColumnUInt8::create(); | 447 | | | 448 | 167 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 449 | 167 | vec_res.resize(col_left->size()); | 450 | 167 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 451 | 167 | typename PrimitiveTypeTraits<PT>::CppType, | 452 | 167 | Op<PT>>::vector_constant(col_left->get_data(), | 453 | 167 | col_right->get_element(0), vec_res); | 454 | | | 455 | 167 | block.replace_by_position(result, std::move(col_res)); | 456 | 167 | } else if (left_is_const && !right_is_const) { | 457 | 0 | auto col_res = ColumnUInt8::create(); | 458 | |
| 459 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 460 | 0 | vec_res.resize(col_right->size()); | 461 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 462 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 463 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 464 | 0 | col_right->get_data(), vec_res); | 465 | |
| 466 | 0 | block.replace_by_position(result, std::move(col_res)); | 467 | 0 | } | 468 | 445 | return Status::OK(); | 469 | 445 | } |
_ZNK5doris18FunctionComparisonINS_8EqualsOpENS_10NameEqualsEE16execute_num_typeILNS_13PrimitiveTypeE42EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 425 | 2 | const ColumnPtr& col_right_ptr) const { | 426 | 2 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 427 | 2 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 428 | | | 429 | 2 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 430 | 2 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 431 | | | 432 | 2 | DCHECK(!(left_is_const && right_is_const)); | 433 | | | 434 | 2 | if (!left_is_const && !right_is_const) { | 435 | 2 | auto col_res = ColumnUInt8::create(); | 436 | | | 437 | 2 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 438 | 2 | vec_res.resize(col_left->get_data().size()); | 439 | 2 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 440 | 2 | typename PrimitiveTypeTraits<PT>::CppType, | 441 | 2 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 442 | 2 | vec_res); | 443 | | | 444 | 2 | block.replace_by_position(result, std::move(col_res)); | 445 | 2 | } else if (!left_is_const && right_is_const) { | 446 | 0 | auto col_res = ColumnUInt8::create(); | 447 | |
| 448 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 449 | 0 | vec_res.resize(col_left->size()); | 450 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 451 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 452 | 0 | Op<PT>>::vector_constant(col_left->get_data(), | 453 | 0 | col_right->get_element(0), vec_res); | 454 | |
| 455 | 0 | block.replace_by_position(result, std::move(col_res)); | 456 | 0 | } else if (left_is_const && !right_is_const) { | 457 | 0 | auto col_res = ColumnUInt8::create(); | 458 | |
| 459 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 460 | 0 | vec_res.resize(col_right->size()); | 461 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 462 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 463 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 464 | 0 | col_right->get_data(), vec_res); | 465 | |
| 466 | 0 | block.replace_by_position(result, std::move(col_res)); | 467 | 0 | } | 468 | 2 | return Status::OK(); | 469 | 2 | } |
_ZNK5doris18FunctionComparisonINS_8EqualsOpENS_10NameEqualsEE16execute_num_typeILNS_13PrimitiveTypeE3EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 425 | 5.03k | const ColumnPtr& col_right_ptr) const { | 426 | 5.03k | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 427 | 5.03k | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 428 | | | 429 | 5.03k | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 430 | 5.03k | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 431 | | | 432 | 5.03k | DCHECK(!(left_is_const && right_is_const)); | 433 | | | 434 | 5.03k | if (!left_is_const && !right_is_const) { | 435 | 179 | auto col_res = ColumnUInt8::create(); | 436 | | | 437 | 179 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 438 | 179 | vec_res.resize(col_left->get_data().size()); | 439 | 179 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 440 | 179 | typename PrimitiveTypeTraits<PT>::CppType, | 441 | 179 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 442 | 179 | vec_res); | 443 | | | 444 | 179 | block.replace_by_position(result, std::move(col_res)); | 445 | 4.85k | } else if (!left_is_const && right_is_const) { | 446 | 4.56k | auto col_res = ColumnUInt8::create(); | 447 | | | 448 | 4.56k | ColumnUInt8::Container& vec_res = col_res->get_data(); | 449 | 4.56k | vec_res.resize(col_left->size()); | 450 | 4.56k | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 451 | 4.56k | typename PrimitiveTypeTraits<PT>::CppType, | 452 | 4.56k | Op<PT>>::vector_constant(col_left->get_data(), | 453 | 4.56k | col_right->get_element(0), vec_res); | 454 | | | 455 | 4.56k | block.replace_by_position(result, std::move(col_res)); | 456 | 4.56k | } else if (left_is_const && !right_is_const) { | 457 | 288 | auto col_res = ColumnUInt8::create(); | 458 | | | 459 | 288 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 460 | 288 | vec_res.resize(col_right->size()); | 461 | 288 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 462 | 288 | typename PrimitiveTypeTraits<PT>::CppType, | 463 | 288 | Op<PT>>::constant_vector(col_left->get_element(0), | 464 | 288 | col_right->get_data(), vec_res); | 465 | | | 466 | 288 | block.replace_by_position(result, std::move(col_res)); | 467 | 288 | } | 468 | 5.03k | return Status::OK(); | 469 | 5.03k | } |
_ZNK5doris18FunctionComparisonINS_8EqualsOpENS_10NameEqualsEE16execute_num_typeILNS_13PrimitiveTypeE4EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 425 | 412 | const ColumnPtr& col_right_ptr) const { | 426 | 412 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 427 | 412 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 428 | | | 429 | 412 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 430 | 412 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 431 | | | 432 | 412 | DCHECK(!(left_is_const && right_is_const)); | 433 | | | 434 | 412 | if (!left_is_const && !right_is_const) { | 435 | 96 | auto col_res = ColumnUInt8::create(); | 436 | | | 437 | 96 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 438 | 96 | vec_res.resize(col_left->get_data().size()); | 439 | 96 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 440 | 96 | typename PrimitiveTypeTraits<PT>::CppType, | 441 | 96 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 442 | 96 | vec_res); | 443 | | | 444 | 96 | block.replace_by_position(result, std::move(col_res)); | 445 | 316 | } else if (!left_is_const && right_is_const) { | 446 | 267 | auto col_res = ColumnUInt8::create(); | 447 | | | 448 | 267 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 449 | 267 | vec_res.resize(col_left->size()); | 450 | 267 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 451 | 267 | typename PrimitiveTypeTraits<PT>::CppType, | 452 | 267 | Op<PT>>::vector_constant(col_left->get_data(), | 453 | 267 | col_right->get_element(0), vec_res); | 454 | | | 455 | 267 | block.replace_by_position(result, std::move(col_res)); | 456 | 267 | } else if (left_is_const && !right_is_const) { | 457 | 48 | auto col_res = ColumnUInt8::create(); | 458 | | | 459 | 48 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 460 | 48 | vec_res.resize(col_right->size()); | 461 | 48 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 462 | 48 | typename PrimitiveTypeTraits<PT>::CppType, | 463 | 48 | Op<PT>>::constant_vector(col_left->get_element(0), | 464 | 48 | col_right->get_data(), vec_res); | 465 | | | 466 | 48 | block.replace_by_position(result, std::move(col_res)); | 467 | 48 | } | 468 | 412 | return Status::OK(); | 469 | 412 | } |
_ZNK5doris18FunctionComparisonINS_8EqualsOpENS_10NameEqualsEE16execute_num_typeILNS_13PrimitiveTypeE5EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 425 | 1.99k | const ColumnPtr& col_right_ptr) const { | 426 | 1.99k | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 427 | 1.99k | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 428 | | | 429 | 1.99k | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 430 | 1.99k | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 431 | | | 432 | 1.99k | DCHECK(!(left_is_const && right_is_const)); | 433 | | | 434 | 1.99k | if (!left_is_const && !right_is_const) { | 435 | 272 | auto col_res = ColumnUInt8::create(); | 436 | | | 437 | 272 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 438 | 272 | vec_res.resize(col_left->get_data().size()); | 439 | 272 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 440 | 272 | typename PrimitiveTypeTraits<PT>::CppType, | 441 | 272 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 442 | 272 | vec_res); | 443 | | | 444 | 272 | block.replace_by_position(result, std::move(col_res)); | 445 | 1.72k | } else if (!left_is_const && right_is_const) { | 446 | 1.62k | auto col_res = ColumnUInt8::create(); | 447 | | | 448 | 1.62k | ColumnUInt8::Container& vec_res = col_res->get_data(); | 449 | 1.62k | vec_res.resize(col_left->size()); | 450 | 1.62k | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 451 | 1.62k | typename PrimitiveTypeTraits<PT>::CppType, | 452 | 1.62k | Op<PT>>::vector_constant(col_left->get_data(), | 453 | 1.62k | col_right->get_element(0), vec_res); | 454 | | | 455 | 1.62k | block.replace_by_position(result, std::move(col_res)); | 456 | 1.62k | } else if (left_is_const && !right_is_const) { | 457 | 97 | auto col_res = ColumnUInt8::create(); | 458 | | | 459 | 97 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 460 | 97 | vec_res.resize(col_right->size()); | 461 | 97 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 462 | 97 | typename PrimitiveTypeTraits<PT>::CppType, | 463 | 97 | Op<PT>>::constant_vector(col_left->get_element(0), | 464 | 97 | col_right->get_data(), vec_res); | 465 | | | 466 | 97 | block.replace_by_position(result, std::move(col_res)); | 467 | 97 | } | 468 | 1.99k | return Status::OK(); | 469 | 1.99k | } |
_ZNK5doris18FunctionComparisonINS_8EqualsOpENS_10NameEqualsEE16execute_num_typeILNS_13PrimitiveTypeE6EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 425 | 2.99k | const ColumnPtr& col_right_ptr) const { | 426 | 2.99k | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 427 | 2.99k | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 428 | | | 429 | 2.99k | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 430 | 2.99k | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 431 | | | 432 | 2.99k | DCHECK(!(left_is_const && right_is_const)); | 433 | | | 434 | 2.99k | if (!left_is_const && !right_is_const) { | 435 | 163 | auto col_res = ColumnUInt8::create(); | 436 | | | 437 | 163 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 438 | 163 | vec_res.resize(col_left->get_data().size()); | 439 | 163 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 440 | 163 | typename PrimitiveTypeTraits<PT>::CppType, | 441 | 163 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 442 | 163 | vec_res); | 443 | | | 444 | 163 | block.replace_by_position(result, std::move(col_res)); | 445 | 2.83k | } else if (!left_is_const && right_is_const) { | 446 | 1.63k | auto col_res = ColumnUInt8::create(); | 447 | | | 448 | 1.63k | ColumnUInt8::Container& vec_res = col_res->get_data(); | 449 | 1.63k | vec_res.resize(col_left->size()); | 450 | 1.63k | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 451 | 1.63k | typename PrimitiveTypeTraits<PT>::CppType, | 452 | 1.63k | Op<PT>>::vector_constant(col_left->get_data(), | 453 | 1.63k | col_right->get_element(0), vec_res); | 454 | | | 455 | 1.63k | block.replace_by_position(result, std::move(col_res)); | 456 | 1.63k | } else if (left_is_const && !right_is_const) { | 457 | 1.19k | auto col_res = ColumnUInt8::create(); | 458 | | | 459 | 1.19k | ColumnUInt8::Container& vec_res = col_res->get_data(); | 460 | 1.19k | vec_res.resize(col_right->size()); | 461 | 1.19k | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 462 | 1.19k | typename PrimitiveTypeTraits<PT>::CppType, | 463 | 1.19k | Op<PT>>::constant_vector(col_left->get_element(0), | 464 | 1.19k | col_right->get_data(), vec_res); | 465 | | | 466 | 1.19k | block.replace_by_position(result, std::move(col_res)); | 467 | 1.19k | } | 468 | 2.99k | return Status::OK(); | 469 | 2.99k | } |
_ZNK5doris18FunctionComparisonINS_8EqualsOpENS_10NameEqualsEE16execute_num_typeILNS_13PrimitiveTypeE7EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 425 | 128 | const ColumnPtr& col_right_ptr) const { | 426 | 128 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 427 | 128 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 428 | | | 429 | 128 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 430 | 128 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 431 | | | 432 | 128 | DCHECK(!(left_is_const && right_is_const)); | 433 | | | 434 | 128 | if (!left_is_const && !right_is_const) { | 435 | 93 | auto col_res = ColumnUInt8::create(); | 436 | | | 437 | 93 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 438 | 93 | vec_res.resize(col_left->get_data().size()); | 439 | 93 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 440 | 93 | typename PrimitiveTypeTraits<PT>::CppType, | 441 | 93 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 442 | 93 | vec_res); | 443 | | | 444 | 93 | block.replace_by_position(result, std::move(col_res)); | 445 | 93 | } else if (!left_is_const && right_is_const) { | 446 | 27 | auto col_res = ColumnUInt8::create(); | 447 | | | 448 | 27 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 449 | 27 | vec_res.resize(col_left->size()); | 450 | 27 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 451 | 27 | typename PrimitiveTypeTraits<PT>::CppType, | 452 | 27 | Op<PT>>::vector_constant(col_left->get_data(), | 453 | 27 | col_right->get_element(0), vec_res); | 454 | | | 455 | 27 | block.replace_by_position(result, std::move(col_res)); | 456 | 27 | } else if (left_is_const && !right_is_const) { | 457 | 8 | auto col_res = ColumnUInt8::create(); | 458 | | | 459 | 8 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 460 | 8 | vec_res.resize(col_right->size()); | 461 | 8 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 462 | 8 | typename PrimitiveTypeTraits<PT>::CppType, | 463 | 8 | Op<PT>>::constant_vector(col_left->get_element(0), | 464 | 8 | col_right->get_data(), vec_res); | 465 | | | 466 | 8 | block.replace_by_position(result, std::move(col_res)); | 467 | 8 | } | 468 | 128 | return Status::OK(); | 469 | 128 | } |
_ZNK5doris18FunctionComparisonINS_8EqualsOpENS_10NameEqualsEE16execute_num_typeILNS_13PrimitiveTypeE36EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 425 | 29 | const ColumnPtr& col_right_ptr) const { | 426 | 29 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 427 | 29 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 428 | | | 429 | 29 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 430 | 29 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 431 | | | 432 | 29 | DCHECK(!(left_is_const && right_is_const)); | 433 | | | 434 | 29 | if (!left_is_const && !right_is_const) { | 435 | 16 | auto col_res = ColumnUInt8::create(); | 436 | | | 437 | 16 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 438 | 16 | vec_res.resize(col_left->get_data().size()); | 439 | 16 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 440 | 16 | typename PrimitiveTypeTraits<PT>::CppType, | 441 | 16 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 442 | 16 | vec_res); | 443 | | | 444 | 16 | block.replace_by_position(result, std::move(col_res)); | 445 | 16 | } else if (!left_is_const && right_is_const) { | 446 | 13 | auto col_res = ColumnUInt8::create(); | 447 | | | 448 | 13 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 449 | 13 | vec_res.resize(col_left->size()); | 450 | 13 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 451 | 13 | typename PrimitiveTypeTraits<PT>::CppType, | 452 | 13 | Op<PT>>::vector_constant(col_left->get_data(), | 453 | 13 | col_right->get_element(0), vec_res); | 454 | | | 455 | 13 | block.replace_by_position(result, std::move(col_res)); | 456 | 13 | } else if (left_is_const && !right_is_const) { | 457 | 0 | auto col_res = ColumnUInt8::create(); | 458 | |
| 459 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 460 | 0 | vec_res.resize(col_right->size()); | 461 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 462 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 463 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 464 | 0 | col_right->get_data(), vec_res); | 465 | |
| 466 | 0 | block.replace_by_position(result, std::move(col_res)); | 467 | 0 | } | 468 | 29 | return Status::OK(); | 469 | 29 | } |
_ZNK5doris18FunctionComparisonINS_8EqualsOpENS_10NameEqualsEE16execute_num_typeILNS_13PrimitiveTypeE37EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 425 | 30 | const ColumnPtr& col_right_ptr) const { | 426 | 30 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 427 | 30 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 428 | | | 429 | 30 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 430 | 30 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 431 | | | 432 | 30 | DCHECK(!(left_is_const && right_is_const)); | 433 | | | 434 | 30 | if (!left_is_const && !right_is_const) { | 435 | 24 | auto col_res = ColumnUInt8::create(); | 436 | | | 437 | 24 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 438 | 24 | vec_res.resize(col_left->get_data().size()); | 439 | 24 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 440 | 24 | typename PrimitiveTypeTraits<PT>::CppType, | 441 | 24 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 442 | 24 | vec_res); | 443 | | | 444 | 24 | block.replace_by_position(result, std::move(col_res)); | 445 | 24 | } else if (!left_is_const && right_is_const) { | 446 | 6 | auto col_res = ColumnUInt8::create(); | 447 | | | 448 | 6 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 449 | 6 | vec_res.resize(col_left->size()); | 450 | 6 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 451 | 6 | typename PrimitiveTypeTraits<PT>::CppType, | 452 | 6 | Op<PT>>::vector_constant(col_left->get_data(), | 453 | 6 | col_right->get_element(0), vec_res); | 454 | | | 455 | 6 | block.replace_by_position(result, std::move(col_res)); | 456 | 6 | } else if (left_is_const && !right_is_const) { | 457 | 0 | auto col_res = ColumnUInt8::create(); | 458 | |
| 459 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 460 | 0 | vec_res.resize(col_right->size()); | 461 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 462 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 463 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 464 | 0 | col_right->get_data(), vec_res); | 465 | |
| 466 | 0 | block.replace_by_position(result, std::move(col_res)); | 467 | 0 | } | 468 | 30 | return Status::OK(); | 469 | 30 | } |
_ZNK5doris18FunctionComparisonINS_8EqualsOpENS_10NameEqualsEE16execute_num_typeILNS_13PrimitiveTypeE8EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 425 | 112 | const ColumnPtr& col_right_ptr) const { | 426 | 112 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 427 | 112 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 428 | | | 429 | 112 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 430 | 112 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 431 | | | 432 | 112 | DCHECK(!(left_is_const && right_is_const)); | 433 | | | 434 | 112 | if (!left_is_const && !right_is_const) { | 435 | 112 | auto col_res = ColumnUInt8::create(); | 436 | | | 437 | 112 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 438 | 112 | vec_res.resize(col_left->get_data().size()); | 439 | 112 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 440 | 112 | typename PrimitiveTypeTraits<PT>::CppType, | 441 | 112 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 442 | 112 | vec_res); | 443 | | | 444 | 112 | block.replace_by_position(result, std::move(col_res)); | 445 | 112 | } else if (!left_is_const && right_is_const) { | 446 | 0 | auto col_res = ColumnUInt8::create(); | 447 | |
| 448 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 449 | 0 | vec_res.resize(col_left->size()); | 450 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 451 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 452 | 0 | Op<PT>>::vector_constant(col_left->get_data(), | 453 | 0 | col_right->get_element(0), vec_res); | 454 | |
| 455 | 0 | block.replace_by_position(result, std::move(col_res)); | 456 | 0 | } else if (left_is_const && !right_is_const) { | 457 | 0 | auto col_res = ColumnUInt8::create(); | 458 | |
| 459 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 460 | 0 | vec_res.resize(col_right->size()); | 461 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 462 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 463 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 464 | 0 | col_right->get_data(), vec_res); | 465 | |
| 466 | 0 | block.replace_by_position(result, std::move(col_res)); | 467 | 0 | } | 468 | 112 | return Status::OK(); | 469 | 112 | } |
_ZNK5doris18FunctionComparisonINS_8EqualsOpENS_10NameEqualsEE16execute_num_typeILNS_13PrimitiveTypeE9EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 425 | 725 | const ColumnPtr& col_right_ptr) const { | 426 | 725 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 427 | 725 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 428 | | | 429 | 725 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 430 | 725 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 431 | | | 432 | 725 | DCHECK(!(left_is_const && right_is_const)); | 433 | | | 434 | 725 | if (!left_is_const && !right_is_const) { | 435 | 116 | auto col_res = ColumnUInt8::create(); | 436 | | | 437 | 116 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 438 | 116 | vec_res.resize(col_left->get_data().size()); | 439 | 116 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 440 | 116 | typename PrimitiveTypeTraits<PT>::CppType, | 441 | 116 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 442 | 116 | vec_res); | 443 | | | 444 | 116 | block.replace_by_position(result, std::move(col_res)); | 445 | 609 | } else if (!left_is_const && right_is_const) { | 446 | 609 | auto col_res = ColumnUInt8::create(); | 447 | | | 448 | 609 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 449 | 609 | vec_res.resize(col_left->size()); | 450 | 609 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 451 | 609 | typename PrimitiveTypeTraits<PT>::CppType, | 452 | 609 | Op<PT>>::vector_constant(col_left->get_data(), | 453 | 609 | col_right->get_element(0), vec_res); | 454 | | | 455 | 609 | block.replace_by_position(result, std::move(col_res)); | 456 | 609 | } else if (left_is_const && !right_is_const) { | 457 | 0 | auto col_res = ColumnUInt8::create(); | 458 | |
| 459 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 460 | 0 | vec_res.resize(col_right->size()); | 461 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 462 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 463 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 464 | 0 | col_right->get_data(), vec_res); | 465 | |
| 466 | 0 | block.replace_by_position(result, std::move(col_res)); | 467 | 0 | } | 468 | 725 | return Status::OK(); | 469 | 725 | } |
_ZNK5doris18FunctionComparisonINS_8EqualsOpENS_10NameEqualsEE16execute_num_typeILNS_13PrimitiveTypeE27EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 425 | 4 | const ColumnPtr& col_right_ptr) const { | 426 | 4 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 427 | 4 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 428 | | | 429 | 4 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 430 | 4 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 431 | | | 432 | 4 | DCHECK(!(left_is_const && right_is_const)); | 433 | | | 434 | 4 | if (!left_is_const && !right_is_const) { | 435 | 4 | auto col_res = ColumnUInt8::create(); | 436 | | | 437 | 4 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 438 | 4 | vec_res.resize(col_left->get_data().size()); | 439 | 4 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 440 | 4 | typename PrimitiveTypeTraits<PT>::CppType, | 441 | 4 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 442 | 4 | vec_res); | 443 | | | 444 | 4 | block.replace_by_position(result, std::move(col_res)); | 445 | 4 | } else if (!left_is_const && right_is_const) { | 446 | 0 | auto col_res = ColumnUInt8::create(); | 447 | |
| 448 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 449 | 0 | vec_res.resize(col_left->size()); | 450 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 451 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 452 | 0 | Op<PT>>::vector_constant(col_left->get_data(), | 453 | 0 | col_right->get_element(0), vec_res); | 454 | |
| 455 | 0 | block.replace_by_position(result, std::move(col_res)); | 456 | 0 | } else if (left_is_const && !right_is_const) { | 457 | 0 | auto col_res = ColumnUInt8::create(); | 458 | |
| 459 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 460 | 0 | vec_res.resize(col_right->size()); | 461 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 462 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 463 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 464 | 0 | col_right->get_data(), vec_res); | 465 | |
| 466 | 0 | block.replace_by_position(result, std::move(col_res)); | 467 | 0 | } | 468 | 4 | return Status::OK(); | 469 | 4 | } |
Unexecuted instantiation: _ZNK5doris18FunctionComparisonINS_11NotEqualsOpENS_13NameNotEqualsEE16execute_num_typeILNS_13PrimitiveTypeE2EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ _ZNK5doris18FunctionComparisonINS_11NotEqualsOpENS_13NameNotEqualsEE16execute_num_typeILNS_13PrimitiveTypeE25EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 425 | 70 | const ColumnPtr& col_right_ptr) const { | 426 | 70 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 427 | 70 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 428 | | | 429 | 70 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 430 | 70 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 431 | | | 432 | 70 | DCHECK(!(left_is_const && right_is_const)); | 433 | | | 434 | 70 | if (!left_is_const && !right_is_const) { | 435 | 39 | auto col_res = ColumnUInt8::create(); | 436 | | | 437 | 39 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 438 | 39 | vec_res.resize(col_left->get_data().size()); | 439 | 39 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 440 | 39 | typename PrimitiveTypeTraits<PT>::CppType, | 441 | 39 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 442 | 39 | vec_res); | 443 | | | 444 | 39 | block.replace_by_position(result, std::move(col_res)); | 445 | 39 | } else if (!left_is_const && right_is_const) { | 446 | 31 | auto col_res = ColumnUInt8::create(); | 447 | | | 448 | 31 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 449 | 31 | vec_res.resize(col_left->size()); | 450 | 31 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 451 | 31 | typename PrimitiveTypeTraits<PT>::CppType, | 452 | 31 | Op<PT>>::vector_constant(col_left->get_data(), | 453 | 31 | col_right->get_element(0), vec_res); | 454 | | | 455 | 31 | block.replace_by_position(result, std::move(col_res)); | 456 | 31 | } else if (left_is_const && !right_is_const) { | 457 | 0 | auto col_res = ColumnUInt8::create(); | 458 | |
| 459 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 460 | 0 | vec_res.resize(col_right->size()); | 461 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 462 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 463 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 464 | 0 | col_right->get_data(), vec_res); | 465 | |
| 466 | 0 | block.replace_by_position(result, std::move(col_res)); | 467 | 0 | } | 468 | 70 | return Status::OK(); | 469 | 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 | 425 | 84 | const ColumnPtr& col_right_ptr) const { | 426 | 84 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 427 | 84 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 428 | | | 429 | 84 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 430 | 84 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 431 | | | 432 | 84 | DCHECK(!(left_is_const && right_is_const)); | 433 | | | 434 | 84 | if (!left_is_const && !right_is_const) { | 435 | 56 | auto col_res = ColumnUInt8::create(); | 436 | | | 437 | 56 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 438 | 56 | vec_res.resize(col_left->get_data().size()); | 439 | 56 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 440 | 56 | typename PrimitiveTypeTraits<PT>::CppType, | 441 | 56 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 442 | 56 | vec_res); | 443 | | | 444 | 56 | block.replace_by_position(result, std::move(col_res)); | 445 | 56 | } else if (!left_is_const && right_is_const) { | 446 | 28 | auto col_res = ColumnUInt8::create(); | 447 | | | 448 | 28 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 449 | 28 | vec_res.resize(col_left->size()); | 450 | 28 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 451 | 28 | typename PrimitiveTypeTraits<PT>::CppType, | 452 | 28 | Op<PT>>::vector_constant(col_left->get_data(), | 453 | 28 | col_right->get_element(0), vec_res); | 454 | | | 455 | 28 | block.replace_by_position(result, std::move(col_res)); | 456 | 28 | } else if (left_is_const && !right_is_const) { | 457 | 0 | auto col_res = ColumnUInt8::create(); | 458 | |
| 459 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 460 | 0 | vec_res.resize(col_right->size()); | 461 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 462 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 463 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 464 | 0 | col_right->get_data(), vec_res); | 465 | |
| 466 | 0 | block.replace_by_position(result, std::move(col_res)); | 467 | 0 | } | 468 | 84 | return Status::OK(); | 469 | 84 | } |
Unexecuted instantiation: _ZNK5doris18FunctionComparisonINS_11NotEqualsOpENS_13NameNotEqualsEE16execute_num_typeILNS_13PrimitiveTypeE4EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ _ZNK5doris18FunctionComparisonINS_11NotEqualsOpENS_13NameNotEqualsEE16execute_num_typeILNS_13PrimitiveTypeE5EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 425 | 1.44k | const ColumnPtr& col_right_ptr) const { | 426 | 1.44k | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 427 | 1.44k | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 428 | | | 429 | 1.44k | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 430 | 1.44k | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 431 | | | 432 | 1.44k | DCHECK(!(left_is_const && right_is_const)); | 433 | | | 434 | 1.44k | if (!left_is_const && !right_is_const) { | 435 | 1.17k | auto col_res = ColumnUInt8::create(); | 436 | | | 437 | 1.17k | ColumnUInt8::Container& vec_res = col_res->get_data(); | 438 | 1.17k | vec_res.resize(col_left->get_data().size()); | 439 | 1.17k | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 440 | 1.17k | typename PrimitiveTypeTraits<PT>::CppType, | 441 | 1.17k | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 442 | 1.17k | vec_res); | 443 | | | 444 | 1.17k | block.replace_by_position(result, std::move(col_res)); | 445 | 1.17k | } else if (!left_is_const && right_is_const) { | 446 | 270 | auto col_res = ColumnUInt8::create(); | 447 | | | 448 | 270 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 449 | 270 | vec_res.resize(col_left->size()); | 450 | 270 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 451 | 270 | typename PrimitiveTypeTraits<PT>::CppType, | 452 | 270 | Op<PT>>::vector_constant(col_left->get_data(), | 453 | 270 | col_right->get_element(0), vec_res); | 454 | | | 455 | 270 | block.replace_by_position(result, std::move(col_res)); | 456 | 270 | } else if (left_is_const && !right_is_const) { | 457 | 0 | auto col_res = ColumnUInt8::create(); | 458 | |
| 459 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 460 | 0 | vec_res.resize(col_right->size()); | 461 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 462 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 463 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 464 | 0 | col_right->get_data(), vec_res); | 465 | |
| 466 | 0 | block.replace_by_position(result, std::move(col_res)); | 467 | 0 | } | 468 | 1.44k | return Status::OK(); | 469 | 1.44k | } |
_ZNK5doris18FunctionComparisonINS_11NotEqualsOpENS_13NameNotEqualsEE16execute_num_typeILNS_13PrimitiveTypeE6EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 425 | 1.02k | const ColumnPtr& col_right_ptr) const { | 426 | 1.02k | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 427 | 1.02k | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 428 | | | 429 | 1.02k | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 430 | 1.02k | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 431 | | | 432 | 1.02k | DCHECK(!(left_is_const && right_is_const)); | 433 | | | 434 | 1.02k | if (!left_is_const && !right_is_const) { | 435 | 345 | auto col_res = ColumnUInt8::create(); | 436 | | | 437 | 345 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 438 | 345 | vec_res.resize(col_left->get_data().size()); | 439 | 345 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 440 | 345 | typename PrimitiveTypeTraits<PT>::CppType, | 441 | 345 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 442 | 345 | vec_res); | 443 | | | 444 | 345 | block.replace_by_position(result, std::move(col_res)); | 445 | 684 | } else if (!left_is_const && right_is_const) { | 446 | 40 | auto col_res = ColumnUInt8::create(); | 447 | | | 448 | 40 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 449 | 40 | vec_res.resize(col_left->size()); | 450 | 40 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 451 | 40 | typename PrimitiveTypeTraits<PT>::CppType, | 452 | 40 | Op<PT>>::vector_constant(col_left->get_data(), | 453 | 40 | col_right->get_element(0), vec_res); | 454 | | | 455 | 40 | block.replace_by_position(result, std::move(col_res)); | 456 | 644 | } else if (left_is_const && !right_is_const) { | 457 | 644 | auto col_res = ColumnUInt8::create(); | 458 | | | 459 | 644 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 460 | 644 | vec_res.resize(col_right->size()); | 461 | 644 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 462 | 644 | typename PrimitiveTypeTraits<PT>::CppType, | 463 | 644 | Op<PT>>::constant_vector(col_left->get_element(0), | 464 | 644 | col_right->get_data(), vec_res); | 465 | | | 466 | 644 | block.replace_by_position(result, std::move(col_res)); | 467 | 644 | } | 468 | 1.02k | return Status::OK(); | 469 | 1.02k | } |
Unexecuted instantiation: _ZNK5doris18FunctionComparisonINS_11NotEqualsOpENS_13NameNotEqualsEE16execute_num_typeILNS_13PrimitiveTypeE7EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Unexecuted instantiation: _ZNK5doris18FunctionComparisonINS_11NotEqualsOpENS_13NameNotEqualsEE16execute_num_typeILNS_13PrimitiveTypeE36EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Unexecuted instantiation: _ZNK5doris18FunctionComparisonINS_11NotEqualsOpENS_13NameNotEqualsEE16execute_num_typeILNS_13PrimitiveTypeE37EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ _ZNK5doris18FunctionComparisonINS_11NotEqualsOpENS_13NameNotEqualsEE16execute_num_typeILNS_13PrimitiveTypeE8EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 425 | 48 | const ColumnPtr& col_right_ptr) const { | 426 | 48 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 427 | 48 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 428 | | | 429 | 48 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 430 | 48 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 431 | | | 432 | 48 | DCHECK(!(left_is_const && right_is_const)); | 433 | | | 434 | 48 | if (!left_is_const && !right_is_const) { | 435 | 20 | auto col_res = ColumnUInt8::create(); | 436 | | | 437 | 20 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 438 | 20 | vec_res.resize(col_left->get_data().size()); | 439 | 20 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 440 | 20 | typename PrimitiveTypeTraits<PT>::CppType, | 441 | 20 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 442 | 20 | vec_res); | 443 | | | 444 | 20 | block.replace_by_position(result, std::move(col_res)); | 445 | 28 | } else if (!left_is_const && right_is_const) { | 446 | 28 | auto col_res = ColumnUInt8::create(); | 447 | | | 448 | 28 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 449 | 28 | vec_res.resize(col_left->size()); | 450 | 28 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 451 | 28 | typename PrimitiveTypeTraits<PT>::CppType, | 452 | 28 | Op<PT>>::vector_constant(col_left->get_data(), | 453 | 28 | col_right->get_element(0), vec_res); | 454 | | | 455 | 28 | block.replace_by_position(result, std::move(col_res)); | 456 | 28 | } else if (left_is_const && !right_is_const) { | 457 | 0 | auto col_res = ColumnUInt8::create(); | 458 | |
| 459 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 460 | 0 | vec_res.resize(col_right->size()); | 461 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 462 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 463 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 464 | 0 | col_right->get_data(), vec_res); | 465 | |
| 466 | 0 | block.replace_by_position(result, std::move(col_res)); | 467 | 0 | } | 468 | 48 | return Status::OK(); | 469 | 48 | } |
_ZNK5doris18FunctionComparisonINS_11NotEqualsOpENS_13NameNotEqualsEE16execute_num_typeILNS_13PrimitiveTypeE9EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 425 | 60 | const ColumnPtr& col_right_ptr) const { | 426 | 60 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 427 | 60 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 428 | | | 429 | 60 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 430 | 60 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 431 | | | 432 | 60 | DCHECK(!(left_is_const && right_is_const)); | 433 | | | 434 | 60 | if (!left_is_const && !right_is_const) { | 435 | 20 | auto col_res = ColumnUInt8::create(); | 436 | | | 437 | 20 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 438 | 20 | vec_res.resize(col_left->get_data().size()); | 439 | 20 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 440 | 20 | typename PrimitiveTypeTraits<PT>::CppType, | 441 | 20 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 442 | 20 | vec_res); | 443 | | | 444 | 20 | block.replace_by_position(result, std::move(col_res)); | 445 | 40 | } else if (!left_is_const && right_is_const) { | 446 | 40 | auto col_res = ColumnUInt8::create(); | 447 | | | 448 | 40 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 449 | 40 | vec_res.resize(col_left->size()); | 450 | 40 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 451 | 40 | typename PrimitiveTypeTraits<PT>::CppType, | 452 | 40 | Op<PT>>::vector_constant(col_left->get_data(), | 453 | 40 | col_right->get_element(0), vec_res); | 454 | | | 455 | 40 | block.replace_by_position(result, std::move(col_res)); | 456 | 40 | } else if (left_is_const && !right_is_const) { | 457 | 0 | auto col_res = ColumnUInt8::create(); | 458 | |
| 459 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 460 | 0 | vec_res.resize(col_right->size()); | 461 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 462 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 463 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 464 | 0 | col_right->get_data(), vec_res); | 465 | |
| 466 | 0 | block.replace_by_position(result, std::move(col_res)); | 467 | 0 | } | 468 | 60 | return Status::OK(); | 469 | 60 | } |
Unexecuted instantiation: _ZNK5doris18FunctionComparisonINS_11NotEqualsOpENS_13NameNotEqualsEE16execute_num_typeILNS_13PrimitiveTypeE27EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Unexecuted instantiation: _ZNK5doris18FunctionComparisonINS_9GreaterOpENS_11NameGreaterEE16execute_num_typeILNS_13PrimitiveTypeE2EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ _ZNK5doris18FunctionComparisonINS_9GreaterOpENS_11NameGreaterEE16execute_num_typeILNS_13PrimitiveTypeE25EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 425 | 994 | const ColumnPtr& col_right_ptr) const { | 426 | 994 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 427 | 994 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 428 | | | 429 | 994 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 430 | 994 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 431 | | | 432 | 994 | DCHECK(!(left_is_const && right_is_const)); | 433 | | | 434 | 994 | if (!left_is_const && !right_is_const) { | 435 | 953 | auto col_res = ColumnUInt8::create(); | 436 | | | 437 | 953 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 438 | 953 | vec_res.resize(col_left->get_data().size()); | 439 | 953 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 440 | 953 | typename PrimitiveTypeTraits<PT>::CppType, | 441 | 953 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 442 | 953 | vec_res); | 443 | | | 444 | 953 | block.replace_by_position(result, std::move(col_res)); | 445 | 953 | } else if (!left_is_const && right_is_const) { | 446 | 41 | auto col_res = ColumnUInt8::create(); | 447 | | | 448 | 41 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 449 | 41 | vec_res.resize(col_left->size()); | 450 | 41 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 451 | 41 | typename PrimitiveTypeTraits<PT>::CppType, | 452 | 41 | Op<PT>>::vector_constant(col_left->get_data(), | 453 | 41 | col_right->get_element(0), vec_res); | 454 | | | 455 | 41 | block.replace_by_position(result, std::move(col_res)); | 456 | 41 | } else if (left_is_const && !right_is_const) { | 457 | 0 | auto col_res = ColumnUInt8::create(); | 458 | |
| 459 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 460 | 0 | vec_res.resize(col_right->size()); | 461 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 462 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 463 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 464 | 0 | col_right->get_data(), vec_res); | 465 | |
| 466 | 0 | block.replace_by_position(result, std::move(col_res)); | 467 | 0 | } | 468 | 994 | return Status::OK(); | 469 | 994 | } |
_ZNK5doris18FunctionComparisonINS_9GreaterOpENS_11NameGreaterEE16execute_num_typeILNS_13PrimitiveTypeE26EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 425 | 2 | const ColumnPtr& col_right_ptr) const { | 426 | 2 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 427 | 2 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 428 | | | 429 | 2 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 430 | 2 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 431 | | | 432 | 2 | DCHECK(!(left_is_const && right_is_const)); | 433 | | | 434 | 2 | if (!left_is_const && !right_is_const) { | 435 | 0 | auto col_res = ColumnUInt8::create(); | 436 | |
| 437 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 438 | 0 | vec_res.resize(col_left->get_data().size()); | 439 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 440 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 441 | 0 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 442 | 0 | vec_res); | 443 | |
| 444 | 0 | block.replace_by_position(result, std::move(col_res)); | 445 | 2 | } else if (!left_is_const && right_is_const) { | 446 | 2 | auto col_res = ColumnUInt8::create(); | 447 | | | 448 | 2 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 449 | 2 | vec_res.resize(col_left->size()); | 450 | 2 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 451 | 2 | typename PrimitiveTypeTraits<PT>::CppType, | 452 | 2 | Op<PT>>::vector_constant(col_left->get_data(), | 453 | 2 | col_right->get_element(0), vec_res); | 454 | | | 455 | 2 | block.replace_by_position(result, std::move(col_res)); | 456 | 2 | } else if (left_is_const && !right_is_const) { | 457 | 0 | auto col_res = ColumnUInt8::create(); | 458 | |
| 459 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 460 | 0 | vec_res.resize(col_right->size()); | 461 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 462 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 463 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 464 | 0 | col_right->get_data(), vec_res); | 465 | |
| 466 | 0 | block.replace_by_position(result, std::move(col_res)); | 467 | 0 | } | 468 | 2 | return Status::OK(); | 469 | 2 | } |
_ZNK5doris18FunctionComparisonINS_9GreaterOpENS_11NameGreaterEE16execute_num_typeILNS_13PrimitiveTypeE42EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 425 | 1 | const ColumnPtr& col_right_ptr) const { | 426 | 1 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 427 | 1 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 428 | | | 429 | 1 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 430 | 1 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 431 | | | 432 | 1 | DCHECK(!(left_is_const && right_is_const)); | 433 | | | 434 | 1 | if (!left_is_const && !right_is_const) { | 435 | 1 | auto col_res = ColumnUInt8::create(); | 436 | | | 437 | 1 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 438 | 1 | vec_res.resize(col_left->get_data().size()); | 439 | 1 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 440 | 1 | typename PrimitiveTypeTraits<PT>::CppType, | 441 | 1 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 442 | 1 | vec_res); | 443 | | | 444 | 1 | block.replace_by_position(result, std::move(col_res)); | 445 | 1 | } else if (!left_is_const && right_is_const) { | 446 | 0 | auto col_res = ColumnUInt8::create(); | 447 | |
| 448 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 449 | 0 | vec_res.resize(col_left->size()); | 450 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 451 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 452 | 0 | Op<PT>>::vector_constant(col_left->get_data(), | 453 | 0 | col_right->get_element(0), vec_res); | 454 | |
| 455 | 0 | block.replace_by_position(result, std::move(col_res)); | 456 | 0 | } else if (left_is_const && !right_is_const) { | 457 | 0 | auto col_res = ColumnUInt8::create(); | 458 | |
| 459 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 460 | 0 | vec_res.resize(col_right->size()); | 461 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 462 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 463 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 464 | 0 | col_right->get_data(), vec_res); | 465 | |
| 466 | 0 | block.replace_by_position(result, std::move(col_res)); | 467 | 0 | } | 468 | 1 | return Status::OK(); | 469 | 1 | } |
_ZNK5doris18FunctionComparisonINS_9GreaterOpENS_11NameGreaterEE16execute_num_typeILNS_13PrimitiveTypeE3EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 425 | 1.04k | const ColumnPtr& col_right_ptr) const { | 426 | 1.04k | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 427 | 1.04k | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 428 | | | 429 | 1.04k | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 430 | 1.04k | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 431 | | | 432 | 1.04k | DCHECK(!(left_is_const && right_is_const)); | 433 | | | 434 | 1.04k | if (!left_is_const && !right_is_const) { | 435 | 42 | auto col_res = ColumnUInt8::create(); | 436 | | | 437 | 42 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 438 | 42 | vec_res.resize(col_left->get_data().size()); | 439 | 42 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 440 | 42 | typename PrimitiveTypeTraits<PT>::CppType, | 441 | 42 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 442 | 42 | vec_res); | 443 | | | 444 | 42 | block.replace_by_position(result, std::move(col_res)); | 445 | 998 | } else if (!left_is_const && right_is_const) { | 446 | 776 | auto col_res = ColumnUInt8::create(); | 447 | | | 448 | 776 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 449 | 776 | vec_res.resize(col_left->size()); | 450 | 776 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 451 | 776 | typename PrimitiveTypeTraits<PT>::CppType, | 452 | 776 | Op<PT>>::vector_constant(col_left->get_data(), | 453 | 776 | col_right->get_element(0), vec_res); | 454 | | | 455 | 776 | block.replace_by_position(result, std::move(col_res)); | 456 | 776 | } else if (left_is_const && !right_is_const) { | 457 | 222 | auto col_res = ColumnUInt8::create(); | 458 | | | 459 | 222 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 460 | 222 | vec_res.resize(col_right->size()); | 461 | 222 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 462 | 222 | typename PrimitiveTypeTraits<PT>::CppType, | 463 | 222 | Op<PT>>::constant_vector(col_left->get_element(0), | 464 | 222 | col_right->get_data(), vec_res); | 465 | | | 466 | 222 | block.replace_by_position(result, std::move(col_res)); | 467 | 222 | } | 468 | 1.04k | return Status::OK(); | 469 | 1.04k | } |
_ZNK5doris18FunctionComparisonINS_9GreaterOpENS_11NameGreaterEE16execute_num_typeILNS_13PrimitiveTypeE4EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 425 | 1.80k | const ColumnPtr& col_right_ptr) const { | 426 | 1.80k | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 427 | 1.80k | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 428 | | | 429 | 1.80k | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 430 | 1.80k | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 431 | | | 432 | 1.80k | DCHECK(!(left_is_const && right_is_const)); | 433 | | | 434 | 1.80k | if (!left_is_const && !right_is_const) { | 435 | 129 | auto col_res = ColumnUInt8::create(); | 436 | | | 437 | 129 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 438 | 129 | vec_res.resize(col_left->get_data().size()); | 439 | 129 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 440 | 129 | typename PrimitiveTypeTraits<PT>::CppType, | 441 | 129 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 442 | 129 | vec_res); | 443 | | | 444 | 129 | block.replace_by_position(result, std::move(col_res)); | 445 | 1.67k | } else if (!left_is_const && right_is_const) { | 446 | 1.45k | auto col_res = ColumnUInt8::create(); | 447 | | | 448 | 1.45k | ColumnUInt8::Container& vec_res = col_res->get_data(); | 449 | 1.45k | vec_res.resize(col_left->size()); | 450 | 1.45k | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 451 | 1.45k | typename PrimitiveTypeTraits<PT>::CppType, | 452 | 1.45k | Op<PT>>::vector_constant(col_left->get_data(), | 453 | 1.45k | col_right->get_element(0), vec_res); | 454 | | | 455 | 1.45k | block.replace_by_position(result, std::move(col_res)); | 456 | 1.45k | } else if (left_is_const && !right_is_const) { | 457 | 228 | auto col_res = ColumnUInt8::create(); | 458 | | | 459 | 228 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 460 | 228 | vec_res.resize(col_right->size()); | 461 | 228 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 462 | 228 | typename PrimitiveTypeTraits<PT>::CppType, | 463 | 228 | Op<PT>>::constant_vector(col_left->get_element(0), | 464 | 228 | col_right->get_data(), vec_res); | 465 | | | 466 | 228 | block.replace_by_position(result, std::move(col_res)); | 467 | 228 | } | 468 | 1.80k | return Status::OK(); | 469 | 1.80k | } |
_ZNK5doris18FunctionComparisonINS_9GreaterOpENS_11NameGreaterEE16execute_num_typeILNS_13PrimitiveTypeE5EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 425 | 12.9k | const ColumnPtr& col_right_ptr) const { | 426 | 12.9k | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 427 | 12.9k | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 428 | | | 429 | 12.9k | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 430 | 12.9k | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 431 | | | 432 | 12.9k | DCHECK(!(left_is_const && right_is_const)); | 433 | | | 434 | 12.9k | if (!left_is_const && !right_is_const) { | 435 | 49 | auto col_res = ColumnUInt8::create(); | 436 | | | 437 | 49 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 438 | 49 | vec_res.resize(col_left->get_data().size()); | 439 | 49 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 440 | 49 | typename PrimitiveTypeTraits<PT>::CppType, | 441 | 49 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 442 | 49 | vec_res); | 443 | | | 444 | 49 | block.replace_by_position(result, std::move(col_res)); | 445 | 12.8k | } else if (!left_is_const && right_is_const) { | 446 | 9.56k | auto col_res = ColumnUInt8::create(); | 447 | | | 448 | 9.56k | ColumnUInt8::Container& vec_res = col_res->get_data(); | 449 | 9.56k | vec_res.resize(col_left->size()); | 450 | 9.56k | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 451 | 9.56k | typename PrimitiveTypeTraits<PT>::CppType, | 452 | 9.56k | Op<PT>>::vector_constant(col_left->get_data(), | 453 | 9.56k | col_right->get_element(0), vec_res); | 454 | | | 455 | 9.56k | block.replace_by_position(result, std::move(col_res)); | 456 | 9.56k | } else if (left_is_const && !right_is_const) { | 457 | 3.33k | auto col_res = ColumnUInt8::create(); | 458 | | | 459 | 3.33k | ColumnUInt8::Container& vec_res = col_res->get_data(); | 460 | 3.33k | vec_res.resize(col_right->size()); | 461 | 3.33k | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 462 | 3.33k | typename PrimitiveTypeTraits<PT>::CppType, | 463 | 3.33k | Op<PT>>::constant_vector(col_left->get_element(0), | 464 | 3.33k | col_right->get_data(), vec_res); | 465 | | | 466 | 3.33k | block.replace_by_position(result, std::move(col_res)); | 467 | 3.33k | } | 468 | 12.9k | return Status::OK(); | 469 | 12.9k | } |
_ZNK5doris18FunctionComparisonINS_9GreaterOpENS_11NameGreaterEE16execute_num_typeILNS_13PrimitiveTypeE6EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 425 | 1.86k | const ColumnPtr& col_right_ptr) const { | 426 | 1.86k | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 427 | 1.86k | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 428 | | | 429 | 1.86k | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 430 | 1.86k | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 431 | | | 432 | 1.86k | DCHECK(!(left_is_const && right_is_const)); | 433 | | | 434 | 1.86k | if (!left_is_const && !right_is_const) { | 435 | 65 | auto col_res = ColumnUInt8::create(); | 436 | | | 437 | 65 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 438 | 65 | vec_res.resize(col_left->get_data().size()); | 439 | 65 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 440 | 65 | typename PrimitiveTypeTraits<PT>::CppType, | 441 | 65 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 442 | 65 | vec_res); | 443 | | | 444 | 65 | block.replace_by_position(result, std::move(col_res)); | 445 | 1.80k | } else if (!left_is_const && right_is_const) { | 446 | 1.27k | auto col_res = ColumnUInt8::create(); | 447 | | | 448 | 1.27k | ColumnUInt8::Container& vec_res = col_res->get_data(); | 449 | 1.27k | vec_res.resize(col_left->size()); | 450 | 1.27k | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 451 | 1.27k | typename PrimitiveTypeTraits<PT>::CppType, | 452 | 1.27k | Op<PT>>::vector_constant(col_left->get_data(), | 453 | 1.27k | col_right->get_element(0), vec_res); | 454 | | | 455 | 1.27k | block.replace_by_position(result, std::move(col_res)); | 456 | 1.27k | } else if (left_is_const && !right_is_const) { | 457 | 529 | auto col_res = ColumnUInt8::create(); | 458 | | | 459 | 529 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 460 | 529 | vec_res.resize(col_right->size()); | 461 | 529 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 462 | 529 | typename PrimitiveTypeTraits<PT>::CppType, | 463 | 529 | Op<PT>>::constant_vector(col_left->get_element(0), | 464 | 529 | col_right->get_data(), vec_res); | 465 | | | 466 | 529 | block.replace_by_position(result, std::move(col_res)); | 467 | 529 | } | 468 | 1.86k | return Status::OK(); | 469 | 1.86k | } |
_ZNK5doris18FunctionComparisonINS_9GreaterOpENS_11NameGreaterEE16execute_num_typeILNS_13PrimitiveTypeE7EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 425 | 234 | const ColumnPtr& col_right_ptr) const { | 426 | 234 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 427 | 234 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 428 | | | 429 | 234 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 430 | 234 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 431 | | | 432 | 234 | DCHECK(!(left_is_const && right_is_const)); | 433 | | | 434 | 234 | if (!left_is_const && !right_is_const) { | 435 | 2 | auto col_res = ColumnUInt8::create(); | 436 | | | 437 | 2 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 438 | 2 | vec_res.resize(col_left->get_data().size()); | 439 | 2 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 440 | 2 | typename PrimitiveTypeTraits<PT>::CppType, | 441 | 2 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 442 | 2 | vec_res); | 443 | | | 444 | 2 | block.replace_by_position(result, std::move(col_res)); | 445 | 232 | } else if (!left_is_const && right_is_const) { | 446 | 202 | auto col_res = ColumnUInt8::create(); | 447 | | | 448 | 202 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 449 | 202 | vec_res.resize(col_left->size()); | 450 | 202 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 451 | 202 | typename PrimitiveTypeTraits<PT>::CppType, | 452 | 202 | Op<PT>>::vector_constant(col_left->get_data(), | 453 | 202 | col_right->get_element(0), vec_res); | 454 | | | 455 | 202 | block.replace_by_position(result, std::move(col_res)); | 456 | 202 | } else if (left_is_const && !right_is_const) { | 457 | 30 | auto col_res = ColumnUInt8::create(); | 458 | | | 459 | 30 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 460 | 30 | vec_res.resize(col_right->size()); | 461 | 30 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 462 | 30 | typename PrimitiveTypeTraits<PT>::CppType, | 463 | 30 | Op<PT>>::constant_vector(col_left->get_element(0), | 464 | 30 | col_right->get_data(), vec_res); | 465 | | | 466 | 30 | block.replace_by_position(result, std::move(col_res)); | 467 | 30 | } | 468 | 234 | return Status::OK(); | 469 | 234 | } |
_ZNK5doris18FunctionComparisonINS_9GreaterOpENS_11NameGreaterEE16execute_num_typeILNS_13PrimitiveTypeE36EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 425 | 4 | const ColumnPtr& col_right_ptr) const { | 426 | 4 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 427 | 4 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 428 | | | 429 | 4 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 430 | 4 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 431 | | | 432 | 4 | DCHECK(!(left_is_const && right_is_const)); | 433 | | | 434 | 4 | if (!left_is_const && !right_is_const) { | 435 | 1 | auto col_res = ColumnUInt8::create(); | 436 | | | 437 | 1 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 438 | 1 | vec_res.resize(col_left->get_data().size()); | 439 | 1 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 440 | 1 | typename PrimitiveTypeTraits<PT>::CppType, | 441 | 1 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 442 | 1 | vec_res); | 443 | | | 444 | 1 | block.replace_by_position(result, std::move(col_res)); | 445 | 3 | } else if (!left_is_const && right_is_const) { | 446 | 3 | auto col_res = ColumnUInt8::create(); | 447 | | | 448 | 3 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 449 | 3 | vec_res.resize(col_left->size()); | 450 | 3 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 451 | 3 | typename PrimitiveTypeTraits<PT>::CppType, | 452 | 3 | Op<PT>>::vector_constant(col_left->get_data(), | 453 | 3 | col_right->get_element(0), vec_res); | 454 | | | 455 | 3 | block.replace_by_position(result, std::move(col_res)); | 456 | 3 | } else if (left_is_const && !right_is_const) { | 457 | 0 | auto col_res = ColumnUInt8::create(); | 458 | |
| 459 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 460 | 0 | vec_res.resize(col_right->size()); | 461 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 462 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 463 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 464 | 0 | col_right->get_data(), vec_res); | 465 | |
| 466 | 0 | block.replace_by_position(result, std::move(col_res)); | 467 | 0 | } | 468 | 4 | return Status::OK(); | 469 | 4 | } |
_ZNK5doris18FunctionComparisonINS_9GreaterOpENS_11NameGreaterEE16execute_num_typeILNS_13PrimitiveTypeE37EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 425 | 1 | const ColumnPtr& col_right_ptr) const { | 426 | 1 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 427 | 1 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 428 | | | 429 | 1 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 430 | 1 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 431 | | | 432 | 1 | DCHECK(!(left_is_const && right_is_const)); | 433 | | | 434 | 1 | if (!left_is_const && !right_is_const) { | 435 | 1 | auto col_res = ColumnUInt8::create(); | 436 | | | 437 | 1 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 438 | 1 | vec_res.resize(col_left->get_data().size()); | 439 | 1 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 440 | 1 | typename PrimitiveTypeTraits<PT>::CppType, | 441 | 1 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 442 | 1 | vec_res); | 443 | | | 444 | 1 | block.replace_by_position(result, std::move(col_res)); | 445 | 1 | } else if (!left_is_const && right_is_const) { | 446 | 0 | auto col_res = ColumnUInt8::create(); | 447 | |
| 448 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 449 | 0 | vec_res.resize(col_left->size()); | 450 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 451 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 452 | 0 | Op<PT>>::vector_constant(col_left->get_data(), | 453 | 0 | col_right->get_element(0), vec_res); | 454 | |
| 455 | 0 | block.replace_by_position(result, std::move(col_res)); | 456 | 0 | } else if (left_is_const && !right_is_const) { | 457 | 0 | auto col_res = ColumnUInt8::create(); | 458 | |
| 459 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 460 | 0 | vec_res.resize(col_right->size()); | 461 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 462 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 463 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 464 | 0 | col_right->get_data(), vec_res); | 465 | |
| 466 | 0 | block.replace_by_position(result, std::move(col_res)); | 467 | 0 | } | 468 | 1 | return Status::OK(); | 469 | 1 | } |
_ZNK5doris18FunctionComparisonINS_9GreaterOpENS_11NameGreaterEE16execute_num_typeILNS_13PrimitiveTypeE8EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 425 | 220 | const ColumnPtr& col_right_ptr) const { | 426 | 220 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 427 | 220 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 428 | | | 429 | 220 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 430 | 220 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 431 | | | 432 | 220 | DCHECK(!(left_is_const && right_is_const)); | 433 | | | 434 | 220 | if (!left_is_const && !right_is_const) { | 435 | 20 | auto col_res = ColumnUInt8::create(); | 436 | | | 437 | 20 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 438 | 20 | vec_res.resize(col_left->get_data().size()); | 439 | 20 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 440 | 20 | typename PrimitiveTypeTraits<PT>::CppType, | 441 | 20 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 442 | 20 | vec_res); | 443 | | | 444 | 20 | block.replace_by_position(result, std::move(col_res)); | 445 | 200 | } else if (!left_is_const && right_is_const) { | 446 | 200 | auto col_res = ColumnUInt8::create(); | 447 | | | 448 | 200 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 449 | 200 | vec_res.resize(col_left->size()); | 450 | 200 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 451 | 200 | typename PrimitiveTypeTraits<PT>::CppType, | 452 | 200 | Op<PT>>::vector_constant(col_left->get_data(), | 453 | 200 | col_right->get_element(0), vec_res); | 454 | | | 455 | 200 | block.replace_by_position(result, std::move(col_res)); | 456 | 200 | } else if (left_is_const && !right_is_const) { | 457 | 0 | auto col_res = ColumnUInt8::create(); | 458 | |
| 459 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 460 | 0 | vec_res.resize(col_right->size()); | 461 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 462 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 463 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 464 | 0 | col_right->get_data(), vec_res); | 465 | |
| 466 | 0 | block.replace_by_position(result, std::move(col_res)); | 467 | 0 | } | 468 | 220 | return Status::OK(); | 469 | 220 | } |
_ZNK5doris18FunctionComparisonINS_9GreaterOpENS_11NameGreaterEE16execute_num_typeILNS_13PrimitiveTypeE9EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 425 | 532 | const ColumnPtr& col_right_ptr) const { | 426 | 532 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 427 | 532 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 428 | | | 429 | 532 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 430 | 532 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 431 | | | 432 | 532 | DCHECK(!(left_is_const && right_is_const)); | 433 | | | 434 | 532 | if (!left_is_const && !right_is_const) { | 435 | 30 | auto col_res = ColumnUInt8::create(); | 436 | | | 437 | 30 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 438 | 30 | vec_res.resize(col_left->get_data().size()); | 439 | 30 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 440 | 30 | typename PrimitiveTypeTraits<PT>::CppType, | 441 | 30 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 442 | 30 | vec_res); | 443 | | | 444 | 30 | block.replace_by_position(result, std::move(col_res)); | 445 | 502 | } else if (!left_is_const && right_is_const) { | 446 | 502 | auto col_res = ColumnUInt8::create(); | 447 | | | 448 | 502 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 449 | 502 | vec_res.resize(col_left->size()); | 450 | 502 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 451 | 502 | typename PrimitiveTypeTraits<PT>::CppType, | 452 | 502 | Op<PT>>::vector_constant(col_left->get_data(), | 453 | 502 | col_right->get_element(0), vec_res); | 454 | | | 455 | 502 | block.replace_by_position(result, std::move(col_res)); | 456 | 502 | } else if (left_is_const && !right_is_const) { | 457 | 0 | auto col_res = ColumnUInt8::create(); | 458 | |
| 459 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 460 | 0 | vec_res.resize(col_right->size()); | 461 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 462 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 463 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 464 | 0 | col_right->get_data(), vec_res); | 465 | |
| 466 | 0 | block.replace_by_position(result, std::move(col_res)); | 467 | 0 | } | 468 | 532 | return Status::OK(); | 469 | 532 | } |
Unexecuted instantiation: _ZNK5doris18FunctionComparisonINS_9GreaterOpENS_11NameGreaterEE16execute_num_typeILNS_13PrimitiveTypeE27EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ _ZNK5doris18FunctionComparisonINS_17GreaterOrEqualsOpENS_19NameGreaterOrEqualsEE16execute_num_typeILNS_13PrimitiveTypeE2EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 425 | 14 | const ColumnPtr& col_right_ptr) const { | 426 | 14 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 427 | 14 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 428 | | | 429 | 14 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 430 | 14 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 431 | | | 432 | 14 | DCHECK(!(left_is_const && right_is_const)); | 433 | | | 434 | 14 | if (!left_is_const && !right_is_const) { | 435 | 0 | auto col_res = ColumnUInt8::create(); | 436 | |
| 437 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 438 | 0 | vec_res.resize(col_left->get_data().size()); | 439 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 440 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 441 | 0 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 442 | 0 | vec_res); | 443 | |
| 444 | 0 | block.replace_by_position(result, std::move(col_res)); | 445 | 14 | } else if (!left_is_const && right_is_const) { | 446 | 14 | auto col_res = ColumnUInt8::create(); | 447 | | | 448 | 14 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 449 | 14 | vec_res.resize(col_left->size()); | 450 | 14 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 451 | 14 | typename PrimitiveTypeTraits<PT>::CppType, | 452 | 14 | Op<PT>>::vector_constant(col_left->get_data(), | 453 | 14 | col_right->get_element(0), vec_res); | 454 | | | 455 | 14 | block.replace_by_position(result, std::move(col_res)); | 456 | 14 | } else if (left_is_const && !right_is_const) { | 457 | 0 | auto col_res = ColumnUInt8::create(); | 458 | |
| 459 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 460 | 0 | vec_res.resize(col_right->size()); | 461 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 462 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 463 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 464 | 0 | col_right->get_data(), vec_res); | 465 | |
| 466 | 0 | block.replace_by_position(result, std::move(col_res)); | 467 | 0 | } | 468 | 14 | return Status::OK(); | 469 | 14 | } |
_ZNK5doris18FunctionComparisonINS_17GreaterOrEqualsOpENS_19NameGreaterOrEqualsEE16execute_num_typeILNS_13PrimitiveTypeE25EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 425 | 450 | const ColumnPtr& col_right_ptr) const { | 426 | 450 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 427 | 450 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 428 | | | 429 | 450 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 430 | 450 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 431 | | | 432 | 450 | DCHECK(!(left_is_const && right_is_const)); | 433 | | | 434 | 450 | if (!left_is_const && !right_is_const) { | 435 | 1 | auto col_res = ColumnUInt8::create(); | 436 | | | 437 | 1 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 438 | 1 | vec_res.resize(col_left->get_data().size()); | 439 | 1 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 440 | 1 | typename PrimitiveTypeTraits<PT>::CppType, | 441 | 1 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 442 | 1 | vec_res); | 443 | | | 444 | 1 | block.replace_by_position(result, std::move(col_res)); | 445 | 449 | } else if (!left_is_const && right_is_const) { | 446 | 443 | auto col_res = ColumnUInt8::create(); | 447 | | | 448 | 443 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 449 | 443 | vec_res.resize(col_left->size()); | 450 | 443 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 451 | 443 | typename PrimitiveTypeTraits<PT>::CppType, | 452 | 443 | Op<PT>>::vector_constant(col_left->get_data(), | 453 | 443 | col_right->get_element(0), vec_res); | 454 | | | 455 | 443 | block.replace_by_position(result, std::move(col_res)); | 456 | 443 | } else if (left_is_const && !right_is_const) { | 457 | 6 | auto col_res = ColumnUInt8::create(); | 458 | | | 459 | 6 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 460 | 6 | vec_res.resize(col_right->size()); | 461 | 6 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 462 | 6 | typename PrimitiveTypeTraits<PT>::CppType, | 463 | 6 | Op<PT>>::constant_vector(col_left->get_element(0), | 464 | 6 | col_right->get_data(), vec_res); | 465 | | | 466 | 6 | block.replace_by_position(result, std::move(col_res)); | 467 | 6 | } | 468 | 450 | return Status::OK(); | 469 | 450 | } |
_ZNK5doris18FunctionComparisonINS_17GreaterOrEqualsOpENS_19NameGreaterOrEqualsEE16execute_num_typeILNS_13PrimitiveTypeE26EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 425 | 143 | const ColumnPtr& col_right_ptr) const { | 426 | 143 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 427 | 143 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 428 | | | 429 | 143 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 430 | 143 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 431 | | | 432 | 143 | DCHECK(!(left_is_const && right_is_const)); | 433 | | | 434 | 143 | if (!left_is_const && !right_is_const) { | 435 | 6 | auto col_res = ColumnUInt8::create(); | 436 | | | 437 | 6 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 438 | 6 | vec_res.resize(col_left->get_data().size()); | 439 | 6 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 440 | 6 | typename PrimitiveTypeTraits<PT>::CppType, | 441 | 6 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 442 | 6 | vec_res); | 443 | | | 444 | 6 | block.replace_by_position(result, std::move(col_res)); | 445 | 137 | } else if (!left_is_const && right_is_const) { | 446 | 137 | auto col_res = ColumnUInt8::create(); | 447 | | | 448 | 137 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 449 | 137 | vec_res.resize(col_left->size()); | 450 | 137 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 451 | 137 | typename PrimitiveTypeTraits<PT>::CppType, | 452 | 137 | Op<PT>>::vector_constant(col_left->get_data(), | 453 | 137 | col_right->get_element(0), vec_res); | 454 | | | 455 | 137 | block.replace_by_position(result, std::move(col_res)); | 456 | 137 | } else if (left_is_const && !right_is_const) { | 457 | 0 | auto col_res = ColumnUInt8::create(); | 458 | |
| 459 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 460 | 0 | vec_res.resize(col_right->size()); | 461 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 462 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 463 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 464 | 0 | col_right->get_data(), vec_res); | 465 | |
| 466 | 0 | block.replace_by_position(result, std::move(col_res)); | 467 | 0 | } | 468 | 143 | return Status::OK(); | 469 | 143 | } |
_ZNK5doris18FunctionComparisonINS_17GreaterOrEqualsOpENS_19NameGreaterOrEqualsEE16execute_num_typeILNS_13PrimitiveTypeE42EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 425 | 1 | const ColumnPtr& col_right_ptr) const { | 426 | 1 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 427 | 1 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 428 | | | 429 | 1 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 430 | 1 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 431 | | | 432 | 1 | DCHECK(!(left_is_const && right_is_const)); | 433 | | | 434 | 1 | if (!left_is_const && !right_is_const) { | 435 | 1 | auto col_res = ColumnUInt8::create(); | 436 | | | 437 | 1 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 438 | 1 | vec_res.resize(col_left->get_data().size()); | 439 | 1 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 440 | 1 | typename PrimitiveTypeTraits<PT>::CppType, | 441 | 1 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 442 | 1 | vec_res); | 443 | | | 444 | 1 | block.replace_by_position(result, std::move(col_res)); | 445 | 1 | } else if (!left_is_const && right_is_const) { | 446 | 0 | auto col_res = ColumnUInt8::create(); | 447 | |
| 448 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 449 | 0 | vec_res.resize(col_left->size()); | 450 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 451 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 452 | 0 | Op<PT>>::vector_constant(col_left->get_data(), | 453 | 0 | col_right->get_element(0), vec_res); | 454 | |
| 455 | 0 | block.replace_by_position(result, std::move(col_res)); | 456 | 0 | } else if (left_is_const && !right_is_const) { | 457 | 0 | auto col_res = ColumnUInt8::create(); | 458 | |
| 459 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 460 | 0 | vec_res.resize(col_right->size()); | 461 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 462 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 463 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 464 | 0 | col_right->get_data(), vec_res); | 465 | |
| 466 | 0 | block.replace_by_position(result, std::move(col_res)); | 467 | 0 | } | 468 | 1 | return Status::OK(); | 469 | 1 | } |
_ZNK5doris18FunctionComparisonINS_17GreaterOrEqualsOpENS_19NameGreaterOrEqualsEE16execute_num_typeILNS_13PrimitiveTypeE3EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 425 | 106 | const ColumnPtr& col_right_ptr) const { | 426 | 106 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 427 | 106 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 428 | | | 429 | 106 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 430 | 106 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 431 | | | 432 | 106 | DCHECK(!(left_is_const && right_is_const)); | 433 | | | 434 | 106 | if (!left_is_const && !right_is_const) { | 435 | 0 | auto col_res = ColumnUInt8::create(); | 436 | |
| 437 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 438 | 0 | vec_res.resize(col_left->get_data().size()); | 439 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 440 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 441 | 0 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 442 | 0 | vec_res); | 443 | |
| 444 | 0 | block.replace_by_position(result, std::move(col_res)); | 445 | 106 | } else if (!left_is_const && right_is_const) { | 446 | 106 | auto col_res = ColumnUInt8::create(); | 447 | | | 448 | 106 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 449 | 106 | vec_res.resize(col_left->size()); | 450 | 106 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 451 | 106 | typename PrimitiveTypeTraits<PT>::CppType, | 452 | 106 | Op<PT>>::vector_constant(col_left->get_data(), | 453 | 106 | col_right->get_element(0), vec_res); | 454 | | | 455 | 106 | block.replace_by_position(result, std::move(col_res)); | 456 | 106 | } else if (left_is_const && !right_is_const) { | 457 | 0 | auto col_res = ColumnUInt8::create(); | 458 | |
| 459 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 460 | 0 | vec_res.resize(col_right->size()); | 461 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 462 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 463 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 464 | 0 | col_right->get_data(), vec_res); | 465 | |
| 466 | 0 | block.replace_by_position(result, std::move(col_res)); | 467 | 0 | } | 468 | 106 | return Status::OK(); | 469 | 106 | } |
_ZNK5doris18FunctionComparisonINS_17GreaterOrEqualsOpENS_19NameGreaterOrEqualsEE16execute_num_typeILNS_13PrimitiveTypeE4EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 425 | 127 | const ColumnPtr& col_right_ptr) const { | 426 | 127 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 427 | 127 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 428 | | | 429 | 127 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 430 | 127 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 431 | | | 432 | 127 | DCHECK(!(left_is_const && right_is_const)); | 433 | | | 434 | 127 | if (!left_is_const && !right_is_const) { | 435 | 0 | auto col_res = ColumnUInt8::create(); | 436 | |
| 437 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 438 | 0 | vec_res.resize(col_left->get_data().size()); | 439 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 440 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 441 | 0 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 442 | 0 | vec_res); | 443 | |
| 444 | 0 | block.replace_by_position(result, std::move(col_res)); | 445 | 127 | } else if (!left_is_const && right_is_const) { | 446 | 127 | auto col_res = ColumnUInt8::create(); | 447 | | | 448 | 127 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 449 | 127 | vec_res.resize(col_left->size()); | 450 | 127 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 451 | 127 | typename PrimitiveTypeTraits<PT>::CppType, | 452 | 127 | Op<PT>>::vector_constant(col_left->get_data(), | 453 | 127 | col_right->get_element(0), vec_res); | 454 | | | 455 | 127 | block.replace_by_position(result, std::move(col_res)); | 456 | 127 | } else if (left_is_const && !right_is_const) { | 457 | 0 | auto col_res = ColumnUInt8::create(); | 458 | |
| 459 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 460 | 0 | vec_res.resize(col_right->size()); | 461 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 462 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 463 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 464 | 0 | col_right->get_data(), vec_res); | 465 | |
| 466 | 0 | block.replace_by_position(result, std::move(col_res)); | 467 | 0 | } | 468 | 127 | return Status::OK(); | 469 | 127 | } |
_ZNK5doris18FunctionComparisonINS_17GreaterOrEqualsOpENS_19NameGreaterOrEqualsEE16execute_num_typeILNS_13PrimitiveTypeE5EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 425 | 994 | const ColumnPtr& col_right_ptr) const { | 426 | 994 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 427 | 994 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 428 | | | 429 | 994 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 430 | 994 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 431 | | | 432 | 994 | DCHECK(!(left_is_const && right_is_const)); | 433 | | | 434 | 994 | if (!left_is_const && !right_is_const) { | 435 | 3 | auto col_res = ColumnUInt8::create(); | 436 | | | 437 | 3 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 438 | 3 | vec_res.resize(col_left->get_data().size()); | 439 | 3 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 440 | 3 | typename PrimitiveTypeTraits<PT>::CppType, | 441 | 3 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 442 | 3 | vec_res); | 443 | | | 444 | 3 | block.replace_by_position(result, std::move(col_res)); | 445 | 991 | } else if (!left_is_const && right_is_const) { | 446 | 991 | auto col_res = ColumnUInt8::create(); | 447 | | | 448 | 991 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 449 | 991 | vec_res.resize(col_left->size()); | 450 | 991 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 451 | 991 | typename PrimitiveTypeTraits<PT>::CppType, | 452 | 991 | Op<PT>>::vector_constant(col_left->get_data(), | 453 | 991 | col_right->get_element(0), vec_res); | 454 | | | 455 | 991 | block.replace_by_position(result, std::move(col_res)); | 456 | 991 | } else if (left_is_const && !right_is_const) { | 457 | 0 | auto col_res = ColumnUInt8::create(); | 458 | |
| 459 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 460 | 0 | vec_res.resize(col_right->size()); | 461 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 462 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 463 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 464 | 0 | col_right->get_data(), vec_res); | 465 | |
| 466 | 0 | block.replace_by_position(result, std::move(col_res)); | 467 | 0 | } | 468 | 994 | return Status::OK(); | 469 | 994 | } |
_ZNK5doris18FunctionComparisonINS_17GreaterOrEqualsOpENS_19NameGreaterOrEqualsEE16execute_num_typeILNS_13PrimitiveTypeE6EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 425 | 164 | const ColumnPtr& col_right_ptr) const { | 426 | 164 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 427 | 164 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 428 | | | 429 | 164 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 430 | 164 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 431 | | | 432 | 164 | DCHECK(!(left_is_const && right_is_const)); | 433 | | | 434 | 164 | if (!left_is_const && !right_is_const) { | 435 | 8 | auto col_res = ColumnUInt8::create(); | 436 | | | 437 | 8 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 438 | 8 | vec_res.resize(col_left->get_data().size()); | 439 | 8 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 440 | 8 | typename PrimitiveTypeTraits<PT>::CppType, | 441 | 8 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 442 | 8 | vec_res); | 443 | | | 444 | 8 | block.replace_by_position(result, std::move(col_res)); | 445 | 156 | } else if (!left_is_const && right_is_const) { | 446 | 156 | auto col_res = ColumnUInt8::create(); | 447 | | | 448 | 156 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 449 | 156 | vec_res.resize(col_left->size()); | 450 | 156 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 451 | 156 | typename PrimitiveTypeTraits<PT>::CppType, | 452 | 156 | Op<PT>>::vector_constant(col_left->get_data(), | 453 | 156 | col_right->get_element(0), vec_res); | 454 | | | 455 | 156 | block.replace_by_position(result, std::move(col_res)); | 456 | 156 | } else if (left_is_const && !right_is_const) { | 457 | 0 | auto col_res = ColumnUInt8::create(); | 458 | |
| 459 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 460 | 0 | vec_res.resize(col_right->size()); | 461 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 462 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 463 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 464 | 0 | col_right->get_data(), vec_res); | 465 | |
| 466 | 0 | block.replace_by_position(result, std::move(col_res)); | 467 | 0 | } | 468 | 164 | return Status::OK(); | 469 | 164 | } |
_ZNK5doris18FunctionComparisonINS_17GreaterOrEqualsOpENS_19NameGreaterOrEqualsEE16execute_num_typeILNS_13PrimitiveTypeE7EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 425 | 17 | const ColumnPtr& col_right_ptr) const { | 426 | 17 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 427 | 17 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 428 | | | 429 | 17 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 430 | 17 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 431 | | | 432 | 17 | DCHECK(!(left_is_const && right_is_const)); | 433 | | | 434 | 17 | if (!left_is_const && !right_is_const) { | 435 | 0 | auto col_res = ColumnUInt8::create(); | 436 | |
| 437 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 438 | 0 | vec_res.resize(col_left->get_data().size()); | 439 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 440 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 441 | 0 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 442 | 0 | vec_res); | 443 | |
| 444 | 0 | block.replace_by_position(result, std::move(col_res)); | 445 | 17 | } else if (!left_is_const && right_is_const) { | 446 | 17 | auto col_res = ColumnUInt8::create(); | 447 | | | 448 | 17 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 449 | 17 | vec_res.resize(col_left->size()); | 450 | 17 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 451 | 17 | typename PrimitiveTypeTraits<PT>::CppType, | 452 | 17 | Op<PT>>::vector_constant(col_left->get_data(), | 453 | 17 | col_right->get_element(0), vec_res); | 454 | | | 455 | 17 | block.replace_by_position(result, std::move(col_res)); | 456 | 17 | } else if (left_is_const && !right_is_const) { | 457 | 0 | auto col_res = ColumnUInt8::create(); | 458 | |
| 459 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 460 | 0 | vec_res.resize(col_right->size()); | 461 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 462 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 463 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 464 | 0 | col_right->get_data(), vec_res); | 465 | |
| 466 | 0 | block.replace_by_position(result, std::move(col_res)); | 467 | 0 | } | 468 | 17 | return Status::OK(); | 469 | 17 | } |
_ZNK5doris18FunctionComparisonINS_17GreaterOrEqualsOpENS_19NameGreaterOrEqualsEE16execute_num_typeILNS_13PrimitiveTypeE36EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 425 | 11 | const ColumnPtr& col_right_ptr) const { | 426 | 11 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 427 | 11 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 428 | | | 429 | 11 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 430 | 11 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 431 | | | 432 | 11 | DCHECK(!(left_is_const && right_is_const)); | 433 | | | 434 | 11 | if (!left_is_const && !right_is_const) { | 435 | 1 | auto col_res = ColumnUInt8::create(); | 436 | | | 437 | 1 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 438 | 1 | vec_res.resize(col_left->get_data().size()); | 439 | 1 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 440 | 1 | typename PrimitiveTypeTraits<PT>::CppType, | 441 | 1 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 442 | 1 | vec_res); | 443 | | | 444 | 1 | block.replace_by_position(result, std::move(col_res)); | 445 | 10 | } else if (!left_is_const && right_is_const) { | 446 | 10 | auto col_res = ColumnUInt8::create(); | 447 | | | 448 | 10 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 449 | 10 | vec_res.resize(col_left->size()); | 450 | 10 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 451 | 10 | typename PrimitiveTypeTraits<PT>::CppType, | 452 | 10 | Op<PT>>::vector_constant(col_left->get_data(), | 453 | 10 | col_right->get_element(0), vec_res); | 454 | | | 455 | 10 | block.replace_by_position(result, std::move(col_res)); | 456 | 10 | } else if (left_is_const && !right_is_const) { | 457 | 0 | auto col_res = ColumnUInt8::create(); | 458 | |
| 459 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 460 | 0 | vec_res.resize(col_right->size()); | 461 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 462 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 463 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 464 | 0 | col_right->get_data(), vec_res); | 465 | |
| 466 | 0 | block.replace_by_position(result, std::move(col_res)); | 467 | 0 | } | 468 | 11 | return Status::OK(); | 469 | 11 | } |
_ZNK5doris18FunctionComparisonINS_17GreaterOrEqualsOpENS_19NameGreaterOrEqualsEE16execute_num_typeILNS_13PrimitiveTypeE37EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 425 | 1 | const ColumnPtr& col_right_ptr) const { | 426 | 1 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 427 | 1 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 428 | | | 429 | 1 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 430 | 1 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 431 | | | 432 | 1 | DCHECK(!(left_is_const && right_is_const)); | 433 | | | 434 | 1 | if (!left_is_const && !right_is_const) { | 435 | 1 | auto col_res = ColumnUInt8::create(); | 436 | | | 437 | 1 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 438 | 1 | vec_res.resize(col_left->get_data().size()); | 439 | 1 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 440 | 1 | typename PrimitiveTypeTraits<PT>::CppType, | 441 | 1 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 442 | 1 | vec_res); | 443 | | | 444 | 1 | block.replace_by_position(result, std::move(col_res)); | 445 | 1 | } else if (!left_is_const && right_is_const) { | 446 | 0 | auto col_res = ColumnUInt8::create(); | 447 | |
| 448 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 449 | 0 | vec_res.resize(col_left->size()); | 450 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 451 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 452 | 0 | Op<PT>>::vector_constant(col_left->get_data(), | 453 | 0 | col_right->get_element(0), vec_res); | 454 | |
| 455 | 0 | block.replace_by_position(result, std::move(col_res)); | 456 | 0 | } else if (left_is_const && !right_is_const) { | 457 | 0 | auto col_res = ColumnUInt8::create(); | 458 | |
| 459 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 460 | 0 | vec_res.resize(col_right->size()); | 461 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 462 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 463 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 464 | 0 | col_right->get_data(), vec_res); | 465 | |
| 466 | 0 | block.replace_by_position(result, std::move(col_res)); | 467 | 0 | } | 468 | 1 | return Status::OK(); | 469 | 1 | } |
_ZNK5doris18FunctionComparisonINS_17GreaterOrEqualsOpENS_19NameGreaterOrEqualsEE16execute_num_typeILNS_13PrimitiveTypeE8EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 425 | 24 | const ColumnPtr& col_right_ptr) const { | 426 | 24 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 427 | 24 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 428 | | | 429 | 24 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 430 | 24 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 431 | | | 432 | 24 | DCHECK(!(left_is_const && right_is_const)); | 433 | | | 434 | 24 | if (!left_is_const && !right_is_const) { | 435 | 20 | auto col_res = ColumnUInt8::create(); | 436 | | | 437 | 20 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 438 | 20 | vec_res.resize(col_left->get_data().size()); | 439 | 20 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 440 | 20 | typename PrimitiveTypeTraits<PT>::CppType, | 441 | 20 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 442 | 20 | vec_res); | 443 | | | 444 | 20 | block.replace_by_position(result, std::move(col_res)); | 445 | 20 | } else if (!left_is_const && right_is_const) { | 446 | 4 | auto col_res = ColumnUInt8::create(); | 447 | | | 448 | 4 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 449 | 4 | vec_res.resize(col_left->size()); | 450 | 4 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 451 | 4 | typename PrimitiveTypeTraits<PT>::CppType, | 452 | 4 | Op<PT>>::vector_constant(col_left->get_data(), | 453 | 4 | col_right->get_element(0), vec_res); | 454 | | | 455 | 4 | block.replace_by_position(result, std::move(col_res)); | 456 | 4 | } else if (left_is_const && !right_is_const) { | 457 | 0 | auto col_res = ColumnUInt8::create(); | 458 | |
| 459 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 460 | 0 | vec_res.resize(col_right->size()); | 461 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 462 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 463 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 464 | 0 | col_right->get_data(), vec_res); | 465 | |
| 466 | 0 | block.replace_by_position(result, std::move(col_res)); | 467 | 0 | } | 468 | 24 | return Status::OK(); | 469 | 24 | } |
_ZNK5doris18FunctionComparisonINS_17GreaterOrEqualsOpENS_19NameGreaterOrEqualsEE16execute_num_typeILNS_13PrimitiveTypeE9EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 425 | 136 | const ColumnPtr& col_right_ptr) const { | 426 | 136 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 427 | 136 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 428 | | | 429 | 136 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 430 | 136 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 431 | | | 432 | 136 | DCHECK(!(left_is_const && right_is_const)); | 433 | | | 434 | 136 | if (!left_is_const && !right_is_const) { | 435 | 24 | auto col_res = ColumnUInt8::create(); | 436 | | | 437 | 24 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 438 | 24 | vec_res.resize(col_left->get_data().size()); | 439 | 24 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 440 | 24 | typename PrimitiveTypeTraits<PT>::CppType, | 441 | 24 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 442 | 24 | vec_res); | 443 | | | 444 | 24 | block.replace_by_position(result, std::move(col_res)); | 445 | 112 | } else if (!left_is_const && right_is_const) { | 446 | 112 | auto col_res = ColumnUInt8::create(); | 447 | | | 448 | 112 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 449 | 112 | vec_res.resize(col_left->size()); | 450 | 112 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 451 | 112 | typename PrimitiveTypeTraits<PT>::CppType, | 452 | 112 | Op<PT>>::vector_constant(col_left->get_data(), | 453 | 112 | col_right->get_element(0), vec_res); | 454 | | | 455 | 112 | block.replace_by_position(result, std::move(col_res)); | 456 | 112 | } else if (left_is_const && !right_is_const) { | 457 | 0 | auto col_res = ColumnUInt8::create(); | 458 | |
| 459 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 460 | 0 | vec_res.resize(col_right->size()); | 461 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 462 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 463 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 464 | 0 | col_right->get_data(), vec_res); | 465 | |
| 466 | 0 | block.replace_by_position(result, std::move(col_res)); | 467 | 0 | } | 468 | 136 | return Status::OK(); | 469 | 136 | } |
Unexecuted instantiation: _ZNK5doris18FunctionComparisonINS_17GreaterOrEqualsOpENS_19NameGreaterOrEqualsEE16execute_num_typeILNS_13PrimitiveTypeE27EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ _ZNK5doris18FunctionComparisonINS_6LessOpENS_8NameLessEE16execute_num_typeILNS_13PrimitiveTypeE2EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 425 | 89 | const ColumnPtr& col_right_ptr) const { | 426 | 89 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 427 | 89 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 428 | | | 429 | 89 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 430 | 89 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 431 | | | 432 | 89 | DCHECK(!(left_is_const && right_is_const)); | 433 | | | 434 | 89 | if (!left_is_const && !right_is_const) { | 435 | 89 | auto col_res = ColumnUInt8::create(); | 436 | | | 437 | 89 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 438 | 89 | vec_res.resize(col_left->get_data().size()); | 439 | 89 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 440 | 89 | typename PrimitiveTypeTraits<PT>::CppType, | 441 | 89 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 442 | 89 | vec_res); | 443 | | | 444 | 89 | block.replace_by_position(result, std::move(col_res)); | 445 | 89 | } else if (!left_is_const && right_is_const) { | 446 | 0 | auto col_res = ColumnUInt8::create(); | 447 | |
| 448 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 449 | 0 | vec_res.resize(col_left->size()); | 450 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 451 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 452 | 0 | Op<PT>>::vector_constant(col_left->get_data(), | 453 | 0 | col_right->get_element(0), vec_res); | 454 | |
| 455 | 0 | block.replace_by_position(result, std::move(col_res)); | 456 | 0 | } else if (left_is_const && !right_is_const) { | 457 | 0 | auto col_res = ColumnUInt8::create(); | 458 | |
| 459 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 460 | 0 | vec_res.resize(col_right->size()); | 461 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 462 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 463 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 464 | 0 | col_right->get_data(), vec_res); | 465 | |
| 466 | 0 | block.replace_by_position(result, std::move(col_res)); | 467 | 0 | } | 468 | 89 | return Status::OK(); | 469 | 89 | } |
_ZNK5doris18FunctionComparisonINS_6LessOpENS_8NameLessEE16execute_num_typeILNS_13PrimitiveTypeE25EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 425 | 1.96k | const ColumnPtr& col_right_ptr) const { | 426 | 1.96k | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 427 | 1.96k | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 428 | | | 429 | 1.96k | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 430 | 1.96k | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 431 | | | 432 | 1.96k | DCHECK(!(left_is_const && right_is_const)); | 433 | | | 434 | 1.96k | if (!left_is_const && !right_is_const) { | 435 | 1.62k | auto col_res = ColumnUInt8::create(); | 436 | | | 437 | 1.62k | ColumnUInt8::Container& vec_res = col_res->get_data(); | 438 | 1.62k | vec_res.resize(col_left->get_data().size()); | 439 | 1.62k | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 440 | 1.62k | typename PrimitiveTypeTraits<PT>::CppType, | 441 | 1.62k | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 442 | 1.62k | vec_res); | 443 | | | 444 | 1.62k | block.replace_by_position(result, std::move(col_res)); | 445 | 1.62k | } else if (!left_is_const && right_is_const) { | 446 | 342 | auto col_res = ColumnUInt8::create(); | 447 | | | 448 | 342 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 449 | 342 | vec_res.resize(col_left->size()); | 450 | 342 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 451 | 342 | typename PrimitiveTypeTraits<PT>::CppType, | 452 | 342 | Op<PT>>::vector_constant(col_left->get_data(), | 453 | 342 | col_right->get_element(0), vec_res); | 454 | | | 455 | 342 | block.replace_by_position(result, std::move(col_res)); | 456 | 342 | } else if (left_is_const && !right_is_const) { | 457 | 0 | auto col_res = ColumnUInt8::create(); | 458 | |
| 459 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 460 | 0 | vec_res.resize(col_right->size()); | 461 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 462 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 463 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 464 | 0 | col_right->get_data(), vec_res); | 465 | |
| 466 | 0 | block.replace_by_position(result, std::move(col_res)); | 467 | 0 | } | 468 | 1.96k | return Status::OK(); | 469 | 1.96k | } |
_ZNK5doris18FunctionComparisonINS_6LessOpENS_8NameLessEE16execute_num_typeILNS_13PrimitiveTypeE26EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 425 | 317 | const ColumnPtr& col_right_ptr) const { | 426 | 317 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 427 | 317 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 428 | | | 429 | 317 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 430 | 317 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 431 | | | 432 | 317 | DCHECK(!(left_is_const && right_is_const)); | 433 | | | 434 | 317 | if (!left_is_const && !right_is_const) { | 435 | 258 | auto col_res = ColumnUInt8::create(); | 436 | | | 437 | 258 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 438 | 258 | vec_res.resize(col_left->get_data().size()); | 439 | 258 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 440 | 258 | typename PrimitiveTypeTraits<PT>::CppType, | 441 | 258 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 442 | 258 | vec_res); | 443 | | | 444 | 258 | block.replace_by_position(result, std::move(col_res)); | 445 | 258 | } else if (!left_is_const && right_is_const) { | 446 | 59 | auto col_res = ColumnUInt8::create(); | 447 | | | 448 | 59 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 449 | 59 | vec_res.resize(col_left->size()); | 450 | 59 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 451 | 59 | typename PrimitiveTypeTraits<PT>::CppType, | 452 | 59 | Op<PT>>::vector_constant(col_left->get_data(), | 453 | 59 | col_right->get_element(0), vec_res); | 454 | | | 455 | 59 | block.replace_by_position(result, std::move(col_res)); | 456 | 59 | } else if (left_is_const && !right_is_const) { | 457 | 0 | auto col_res = ColumnUInt8::create(); | 458 | |
| 459 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 460 | 0 | vec_res.resize(col_right->size()); | 461 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 462 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 463 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 464 | 0 | col_right->get_data(), vec_res); | 465 | |
| 466 | 0 | block.replace_by_position(result, std::move(col_res)); | 467 | 0 | } | 468 | 317 | return Status::OK(); | 469 | 317 | } |
_ZNK5doris18FunctionComparisonINS_6LessOpENS_8NameLessEE16execute_num_typeILNS_13PrimitiveTypeE42EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 425 | 2 | const ColumnPtr& col_right_ptr) const { | 426 | 2 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 427 | 2 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 428 | | | 429 | 2 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 430 | 2 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 431 | | | 432 | 2 | DCHECK(!(left_is_const && right_is_const)); | 433 | | | 434 | 2 | if (!left_is_const && !right_is_const) { | 435 | 1 | auto col_res = ColumnUInt8::create(); | 436 | | | 437 | 1 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 438 | 1 | vec_res.resize(col_left->get_data().size()); | 439 | 1 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 440 | 1 | typename PrimitiveTypeTraits<PT>::CppType, | 441 | 1 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 442 | 1 | vec_res); | 443 | | | 444 | 1 | block.replace_by_position(result, std::move(col_res)); | 445 | 1 | } else if (!left_is_const && right_is_const) { | 446 | 1 | auto col_res = ColumnUInt8::create(); | 447 | | | 448 | 1 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 449 | 1 | vec_res.resize(col_left->size()); | 450 | 1 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 451 | 1 | typename PrimitiveTypeTraits<PT>::CppType, | 452 | 1 | Op<PT>>::vector_constant(col_left->get_data(), | 453 | 1 | col_right->get_element(0), vec_res); | 454 | | | 455 | 1 | block.replace_by_position(result, std::move(col_res)); | 456 | 1 | } else if (left_is_const && !right_is_const) { | 457 | 0 | auto col_res = ColumnUInt8::create(); | 458 | |
| 459 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 460 | 0 | vec_res.resize(col_right->size()); | 461 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 462 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 463 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 464 | 0 | col_right->get_data(), vec_res); | 465 | |
| 466 | 0 | block.replace_by_position(result, std::move(col_res)); | 467 | 0 | } | 468 | 2 | return Status::OK(); | 469 | 2 | } |
_ZNK5doris18FunctionComparisonINS_6LessOpENS_8NameLessEE16execute_num_typeILNS_13PrimitiveTypeE3EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 425 | 2.16k | const ColumnPtr& col_right_ptr) const { | 426 | 2.16k | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 427 | 2.16k | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 428 | | | 429 | 2.16k | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 430 | 2.16k | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 431 | | | 432 | 2.16k | DCHECK(!(left_is_const && right_is_const)); | 433 | | | 434 | 2.16k | if (!left_is_const && !right_is_const) { | 435 | 158 | auto col_res = ColumnUInt8::create(); | 436 | | | 437 | 158 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 438 | 158 | vec_res.resize(col_left->get_data().size()); | 439 | 158 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 440 | 158 | typename PrimitiveTypeTraits<PT>::CppType, | 441 | 158 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 442 | 158 | vec_res); | 443 | | | 444 | 158 | block.replace_by_position(result, std::move(col_res)); | 445 | 2.00k | } else if (!left_is_const && right_is_const) { | 446 | 1.76k | auto col_res = ColumnUInt8::create(); | 447 | | | 448 | 1.76k | ColumnUInt8::Container& vec_res = col_res->get_data(); | 449 | 1.76k | vec_res.resize(col_left->size()); | 450 | 1.76k | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 451 | 1.76k | typename PrimitiveTypeTraits<PT>::CppType, | 452 | 1.76k | Op<PT>>::vector_constant(col_left->get_data(), | 453 | 1.76k | col_right->get_element(0), vec_res); | 454 | | | 455 | 1.76k | block.replace_by_position(result, std::move(col_res)); | 456 | 1.76k | } else if (left_is_const && !right_is_const) { | 457 | 240 | auto col_res = ColumnUInt8::create(); | 458 | | | 459 | 240 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 460 | 240 | vec_res.resize(col_right->size()); | 461 | 240 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 462 | 240 | typename PrimitiveTypeTraits<PT>::CppType, | 463 | 240 | Op<PT>>::constant_vector(col_left->get_element(0), | 464 | 240 | col_right->get_data(), vec_res); | 465 | | | 466 | 240 | block.replace_by_position(result, std::move(col_res)); | 467 | 240 | } | 468 | 2.16k | return Status::OK(); | 469 | 2.16k | } |
_ZNK5doris18FunctionComparisonINS_6LessOpENS_8NameLessEE16execute_num_typeILNS_13PrimitiveTypeE4EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 425 | 154 | const ColumnPtr& col_right_ptr) const { | 426 | 154 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 427 | 154 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 428 | | | 429 | 154 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 430 | 154 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 431 | | | 432 | 154 | DCHECK(!(left_is_const && right_is_const)); | 433 | | | 434 | 154 | if (!left_is_const && !right_is_const) { | 435 | 140 | auto col_res = ColumnUInt8::create(); | 436 | | | 437 | 140 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 438 | 140 | vec_res.resize(col_left->get_data().size()); | 439 | 140 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 440 | 140 | typename PrimitiveTypeTraits<PT>::CppType, | 441 | 140 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 442 | 140 | vec_res); | 443 | | | 444 | 140 | block.replace_by_position(result, std::move(col_res)); | 445 | 140 | } else if (!left_is_const && right_is_const) { | 446 | 14 | auto col_res = ColumnUInt8::create(); | 447 | | | 448 | 14 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 449 | 14 | vec_res.resize(col_left->size()); | 450 | 14 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 451 | 14 | typename PrimitiveTypeTraits<PT>::CppType, | 452 | 14 | Op<PT>>::vector_constant(col_left->get_data(), | 453 | 14 | col_right->get_element(0), vec_res); | 454 | | | 455 | 14 | block.replace_by_position(result, std::move(col_res)); | 456 | 14 | } else if (left_is_const && !right_is_const) { | 457 | 0 | auto col_res = ColumnUInt8::create(); | 458 | |
| 459 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 460 | 0 | vec_res.resize(col_right->size()); | 461 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 462 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 463 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 464 | 0 | col_right->get_data(), vec_res); | 465 | |
| 466 | 0 | block.replace_by_position(result, std::move(col_res)); | 467 | 0 | } | 468 | 154 | return Status::OK(); | 469 | 154 | } |
_ZNK5doris18FunctionComparisonINS_6LessOpENS_8NameLessEE16execute_num_typeILNS_13PrimitiveTypeE5EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 425 | 1.10k | const ColumnPtr& col_right_ptr) const { | 426 | 1.10k | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 427 | 1.10k | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 428 | | | 429 | 1.10k | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 430 | 1.10k | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 431 | | | 432 | 1.10k | DCHECK(!(left_is_const && right_is_const)); | 433 | | | 434 | 1.10k | if (!left_is_const && !right_is_const) { | 435 | 177 | auto col_res = ColumnUInt8::create(); | 436 | | | 437 | 177 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 438 | 177 | vec_res.resize(col_left->get_data().size()); | 439 | 177 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 440 | 177 | typename PrimitiveTypeTraits<PT>::CppType, | 441 | 177 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 442 | 177 | vec_res); | 443 | | | 444 | 177 | block.replace_by_position(result, std::move(col_res)); | 445 | 928 | } else if (!left_is_const && right_is_const) { | 446 | 809 | auto col_res = ColumnUInt8::create(); | 447 | | | 448 | 809 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 449 | 809 | vec_res.resize(col_left->size()); | 450 | 809 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 451 | 809 | typename PrimitiveTypeTraits<PT>::CppType, | 452 | 809 | Op<PT>>::vector_constant(col_left->get_data(), | 453 | 809 | col_right->get_element(0), vec_res); | 454 | | | 455 | 809 | block.replace_by_position(result, std::move(col_res)); | 456 | 809 | } else if (left_is_const && !right_is_const) { | 457 | 119 | auto col_res = ColumnUInt8::create(); | 458 | | | 459 | 119 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 460 | 119 | vec_res.resize(col_right->size()); | 461 | 119 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 462 | 119 | typename PrimitiveTypeTraits<PT>::CppType, | 463 | 119 | Op<PT>>::constant_vector(col_left->get_element(0), | 464 | 119 | col_right->get_data(), vec_res); | 465 | | | 466 | 119 | block.replace_by_position(result, std::move(col_res)); | 467 | 119 | } | 468 | 1.10k | return Status::OK(); | 469 | 1.10k | } |
_ZNK5doris18FunctionComparisonINS_6LessOpENS_8NameLessEE16execute_num_typeILNS_13PrimitiveTypeE6EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 425 | 852 | const ColumnPtr& col_right_ptr) const { | 426 | 852 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 427 | 852 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 428 | | | 429 | 852 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 430 | 852 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 431 | | | 432 | 852 | DCHECK(!(left_is_const && right_is_const)); | 433 | | | 434 | 852 | if (!left_is_const && !right_is_const) { | 435 | 229 | auto col_res = ColumnUInt8::create(); | 436 | | | 437 | 229 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 438 | 229 | vec_res.resize(col_left->get_data().size()); | 439 | 229 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 440 | 229 | typename PrimitiveTypeTraits<PT>::CppType, | 441 | 229 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 442 | 229 | vec_res); | 443 | | | 444 | 229 | block.replace_by_position(result, std::move(col_res)); | 445 | 623 | } else if (!left_is_const && right_is_const) { | 446 | 543 | auto col_res = ColumnUInt8::create(); | 447 | | | 448 | 543 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 449 | 543 | vec_res.resize(col_left->size()); | 450 | 543 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 451 | 543 | typename PrimitiveTypeTraits<PT>::CppType, | 452 | 543 | Op<PT>>::vector_constant(col_left->get_data(), | 453 | 543 | col_right->get_element(0), vec_res); | 454 | | | 455 | 543 | block.replace_by_position(result, std::move(col_res)); | 456 | 543 | } else if (left_is_const && !right_is_const) { | 457 | 80 | auto col_res = ColumnUInt8::create(); | 458 | | | 459 | 80 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 460 | 80 | vec_res.resize(col_right->size()); | 461 | 80 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 462 | 80 | typename PrimitiveTypeTraits<PT>::CppType, | 463 | 80 | Op<PT>>::constant_vector(col_left->get_element(0), | 464 | 80 | col_right->get_data(), vec_res); | 465 | | | 466 | 80 | block.replace_by_position(result, std::move(col_res)); | 467 | 80 | } | 468 | 852 | return Status::OK(); | 469 | 852 | } |
_ZNK5doris18FunctionComparisonINS_6LessOpENS_8NameLessEE16execute_num_typeILNS_13PrimitiveTypeE7EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 425 | 295 | const ColumnPtr& col_right_ptr) const { | 426 | 295 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 427 | 295 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 428 | | | 429 | 295 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 430 | 295 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 431 | | | 432 | 295 | DCHECK(!(left_is_const && right_is_const)); | 433 | | | 434 | 295 | if (!left_is_const && !right_is_const) { | 435 | 153 | auto col_res = ColumnUInt8::create(); | 436 | | | 437 | 153 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 438 | 153 | vec_res.resize(col_left->get_data().size()); | 439 | 153 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 440 | 153 | typename PrimitiveTypeTraits<PT>::CppType, | 441 | 153 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 442 | 153 | vec_res); | 443 | | | 444 | 153 | block.replace_by_position(result, std::move(col_res)); | 445 | 153 | } else if (!left_is_const && right_is_const) { | 446 | 46 | auto col_res = ColumnUInt8::create(); | 447 | | | 448 | 46 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 449 | 46 | vec_res.resize(col_left->size()); | 450 | 46 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 451 | 46 | typename PrimitiveTypeTraits<PT>::CppType, | 452 | 46 | Op<PT>>::vector_constant(col_left->get_data(), | 453 | 46 | col_right->get_element(0), vec_res); | 454 | | | 455 | 46 | block.replace_by_position(result, std::move(col_res)); | 456 | 96 | } else if (left_is_const && !right_is_const) { | 457 | 96 | auto col_res = ColumnUInt8::create(); | 458 | | | 459 | 96 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 460 | 96 | vec_res.resize(col_right->size()); | 461 | 96 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 462 | 96 | typename PrimitiveTypeTraits<PT>::CppType, | 463 | 96 | Op<PT>>::constant_vector(col_left->get_element(0), | 464 | 96 | col_right->get_data(), vec_res); | 465 | | | 466 | 96 | block.replace_by_position(result, std::move(col_res)); | 467 | 96 | } | 468 | 295 | return Status::OK(); | 469 | 295 | } |
_ZNK5doris18FunctionComparisonINS_6LessOpENS_8NameLessEE16execute_num_typeILNS_13PrimitiveTypeE36EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 425 | 18 | const ColumnPtr& col_right_ptr) const { | 426 | 18 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 427 | 18 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 428 | | | 429 | 18 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 430 | 18 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 431 | | | 432 | 18 | DCHECK(!(left_is_const && right_is_const)); | 433 | | | 434 | 18 | if (!left_is_const && !right_is_const) { | 435 | 16 | auto col_res = ColumnUInt8::create(); | 436 | | | 437 | 16 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 438 | 16 | vec_res.resize(col_left->get_data().size()); | 439 | 16 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 440 | 16 | typename PrimitiveTypeTraits<PT>::CppType, | 441 | 16 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 442 | 16 | vec_res); | 443 | | | 444 | 16 | block.replace_by_position(result, std::move(col_res)); | 445 | 16 | } else if (!left_is_const && right_is_const) { | 446 | 2 | auto col_res = ColumnUInt8::create(); | 447 | | | 448 | 2 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 449 | 2 | vec_res.resize(col_left->size()); | 450 | 2 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 451 | 2 | typename PrimitiveTypeTraits<PT>::CppType, | 452 | 2 | Op<PT>>::vector_constant(col_left->get_data(), | 453 | 2 | col_right->get_element(0), vec_res); | 454 | | | 455 | 2 | block.replace_by_position(result, std::move(col_res)); | 456 | 2 | } else if (left_is_const && !right_is_const) { | 457 | 0 | auto col_res = ColumnUInt8::create(); | 458 | |
| 459 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 460 | 0 | vec_res.resize(col_right->size()); | 461 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 462 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 463 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 464 | 0 | col_right->get_data(), vec_res); | 465 | |
| 466 | 0 | block.replace_by_position(result, std::move(col_res)); | 467 | 0 | } | 468 | 18 | return Status::OK(); | 469 | 18 | } |
_ZNK5doris18FunctionComparisonINS_6LessOpENS_8NameLessEE16execute_num_typeILNS_13PrimitiveTypeE37EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 425 | 16 | const ColumnPtr& col_right_ptr) const { | 426 | 16 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 427 | 16 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 428 | | | 429 | 16 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 430 | 16 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 431 | | | 432 | 16 | DCHECK(!(left_is_const && right_is_const)); | 433 | | | 434 | 16 | if (!left_is_const && !right_is_const) { | 435 | 16 | auto col_res = ColumnUInt8::create(); | 436 | | | 437 | 16 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 438 | 16 | vec_res.resize(col_left->get_data().size()); | 439 | 16 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 440 | 16 | typename PrimitiveTypeTraits<PT>::CppType, | 441 | 16 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 442 | 16 | vec_res); | 443 | | | 444 | 16 | block.replace_by_position(result, std::move(col_res)); | 445 | 16 | } else if (!left_is_const && right_is_const) { | 446 | 0 | auto col_res = ColumnUInt8::create(); | 447 | |
| 448 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 449 | 0 | vec_res.resize(col_left->size()); | 450 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 451 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 452 | 0 | Op<PT>>::vector_constant(col_left->get_data(), | 453 | 0 | col_right->get_element(0), vec_res); | 454 | |
| 455 | 0 | block.replace_by_position(result, std::move(col_res)); | 456 | 0 | } else if (left_is_const && !right_is_const) { | 457 | 0 | auto col_res = ColumnUInt8::create(); | 458 | |
| 459 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 460 | 0 | vec_res.resize(col_right->size()); | 461 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 462 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 463 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 464 | 0 | col_right->get_data(), vec_res); | 465 | |
| 466 | 0 | block.replace_by_position(result, std::move(col_res)); | 467 | 0 | } | 468 | 16 | return Status::OK(); | 469 | 16 | } |
_ZNK5doris18FunctionComparisonINS_6LessOpENS_8NameLessEE16execute_num_typeILNS_13PrimitiveTypeE8EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 425 | 148 | const ColumnPtr& col_right_ptr) const { | 426 | 148 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 427 | 148 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 428 | | | 429 | 148 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 430 | 148 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 431 | | | 432 | 148 | DCHECK(!(left_is_const && right_is_const)); | 433 | | | 434 | 148 | if (!left_is_const && !right_is_const) { | 435 | 148 | auto col_res = ColumnUInt8::create(); | 436 | | | 437 | 148 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 438 | 148 | vec_res.resize(col_left->get_data().size()); | 439 | 148 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 440 | 148 | typename PrimitiveTypeTraits<PT>::CppType, | 441 | 148 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 442 | 148 | vec_res); | 443 | | | 444 | 148 | block.replace_by_position(result, std::move(col_res)); | 445 | 148 | } else if (!left_is_const && right_is_const) { | 446 | 0 | auto col_res = ColumnUInt8::create(); | 447 | |
| 448 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 449 | 0 | vec_res.resize(col_left->size()); | 450 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 451 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 452 | 0 | Op<PT>>::vector_constant(col_left->get_data(), | 453 | 0 | col_right->get_element(0), vec_res); | 454 | |
| 455 | 0 | block.replace_by_position(result, std::move(col_res)); | 456 | 0 | } else if (left_is_const && !right_is_const) { | 457 | 0 | auto col_res = ColumnUInt8::create(); | 458 | |
| 459 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 460 | 0 | vec_res.resize(col_right->size()); | 461 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 462 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 463 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 464 | 0 | col_right->get_data(), vec_res); | 465 | |
| 466 | 0 | block.replace_by_position(result, std::move(col_res)); | 467 | 0 | } | 468 | 148 | return Status::OK(); | 469 | 148 | } |
_ZNK5doris18FunctionComparisonINS_6LessOpENS_8NameLessEE16execute_num_typeILNS_13PrimitiveTypeE9EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 425 | 351 | const ColumnPtr& col_right_ptr) const { | 426 | 351 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 427 | 351 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 428 | | | 429 | 351 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 430 | 351 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 431 | | | 432 | 351 | DCHECK(!(left_is_const && right_is_const)); | 433 | | | 434 | 351 | if (!left_is_const && !right_is_const) { | 435 | 154 | auto col_res = ColumnUInt8::create(); | 436 | | | 437 | 154 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 438 | 154 | vec_res.resize(col_left->get_data().size()); | 439 | 154 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 440 | 154 | typename PrimitiveTypeTraits<PT>::CppType, | 441 | 154 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 442 | 154 | vec_res); | 443 | | | 444 | 154 | block.replace_by_position(result, std::move(col_res)); | 445 | 197 | } else if (!left_is_const && right_is_const) { | 446 | 197 | auto col_res = ColumnUInt8::create(); | 447 | | | 448 | 197 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 449 | 197 | vec_res.resize(col_left->size()); | 450 | 197 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 451 | 197 | typename PrimitiveTypeTraits<PT>::CppType, | 452 | 197 | Op<PT>>::vector_constant(col_left->get_data(), | 453 | 197 | col_right->get_element(0), vec_res); | 454 | | | 455 | 197 | block.replace_by_position(result, std::move(col_res)); | 456 | 197 | } else if (left_is_const && !right_is_const) { | 457 | 0 | auto col_res = ColumnUInt8::create(); | 458 | |
| 459 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 460 | 0 | vec_res.resize(col_right->size()); | 461 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 462 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 463 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 464 | 0 | col_right->get_data(), vec_res); | 465 | |
| 466 | 0 | block.replace_by_position(result, std::move(col_res)); | 467 | 0 | } | 468 | 351 | return Status::OK(); | 469 | 351 | } |
Unexecuted instantiation: _ZNK5doris18FunctionComparisonINS_6LessOpENS_8NameLessEE16execute_num_typeILNS_13PrimitiveTypeE27EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ _ZNK5doris18FunctionComparisonINS_14LessOrEqualsOpENS_16NameLessOrEqualsEE16execute_num_typeILNS_13PrimitiveTypeE2EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 425 | 24 | const ColumnPtr& col_right_ptr) const { | 426 | 24 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 427 | 24 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 428 | | | 429 | 24 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 430 | 24 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 431 | | | 432 | 24 | DCHECK(!(left_is_const && right_is_const)); | 433 | | | 434 | 24 | if (!left_is_const && !right_is_const) { | 435 | 0 | auto col_res = ColumnUInt8::create(); | 436 | |
| 437 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 438 | 0 | vec_res.resize(col_left->get_data().size()); | 439 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 440 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 441 | 0 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 442 | 0 | vec_res); | 443 | |
| 444 | 0 | block.replace_by_position(result, std::move(col_res)); | 445 | 24 | } else if (!left_is_const && right_is_const) { | 446 | 24 | auto col_res = ColumnUInt8::create(); | 447 | | | 448 | 24 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 449 | 24 | vec_res.resize(col_left->size()); | 450 | 24 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 451 | 24 | typename PrimitiveTypeTraits<PT>::CppType, | 452 | 24 | Op<PT>>::vector_constant(col_left->get_data(), | 453 | 24 | col_right->get_element(0), vec_res); | 454 | | | 455 | 24 | block.replace_by_position(result, std::move(col_res)); | 456 | 24 | } else if (left_is_const && !right_is_const) { | 457 | 0 | auto col_res = ColumnUInt8::create(); | 458 | |
| 459 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 460 | 0 | vec_res.resize(col_right->size()); | 461 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 462 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 463 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 464 | 0 | col_right->get_data(), vec_res); | 465 | |
| 466 | 0 | block.replace_by_position(result, std::move(col_res)); | 467 | 0 | } | 468 | 24 | return Status::OK(); | 469 | 24 | } |
_ZNK5doris18FunctionComparisonINS_14LessOrEqualsOpENS_16NameLessOrEqualsEE16execute_num_typeILNS_13PrimitiveTypeE25EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 425 | 572 | const ColumnPtr& col_right_ptr) const { | 426 | 572 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 427 | 572 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 428 | | | 429 | 572 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 430 | 572 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 431 | | | 432 | 572 | DCHECK(!(left_is_const && right_is_const)); | 433 | | | 434 | 572 | if (!left_is_const && !right_is_const) { | 435 | 415 | auto col_res = ColumnUInt8::create(); | 436 | | | 437 | 415 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 438 | 415 | vec_res.resize(col_left->get_data().size()); | 439 | 415 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 440 | 415 | typename PrimitiveTypeTraits<PT>::CppType, | 441 | 415 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 442 | 415 | vec_res); | 443 | | | 444 | 415 | block.replace_by_position(result, std::move(col_res)); | 445 | 415 | } else if (!left_is_const && right_is_const) { | 446 | 152 | auto col_res = ColumnUInt8::create(); | 447 | | | 448 | 152 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 449 | 152 | vec_res.resize(col_left->size()); | 450 | 152 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 451 | 152 | typename PrimitiveTypeTraits<PT>::CppType, | 452 | 152 | Op<PT>>::vector_constant(col_left->get_data(), | 453 | 152 | col_right->get_element(0), vec_res); | 454 | | | 455 | 152 | block.replace_by_position(result, std::move(col_res)); | 456 | 152 | } else if (left_is_const && !right_is_const) { | 457 | 5 | auto col_res = ColumnUInt8::create(); | 458 | | | 459 | 5 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 460 | 5 | vec_res.resize(col_right->size()); | 461 | 5 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 462 | 5 | typename PrimitiveTypeTraits<PT>::CppType, | 463 | 5 | Op<PT>>::constant_vector(col_left->get_element(0), | 464 | 5 | col_right->get_data(), vec_res); | 465 | | | 466 | 5 | block.replace_by_position(result, std::move(col_res)); | 467 | 5 | } | 468 | 572 | return Status::OK(); | 469 | 572 | } |
_ZNK5doris18FunctionComparisonINS_14LessOrEqualsOpENS_16NameLessOrEqualsEE16execute_num_typeILNS_13PrimitiveTypeE26EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 425 | 72 | const ColumnPtr& col_right_ptr) const { | 426 | 72 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 427 | 72 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 428 | | | 429 | 72 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 430 | 72 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 431 | | | 432 | 72 | DCHECK(!(left_is_const && right_is_const)); | 433 | | | 434 | 72 | if (!left_is_const && !right_is_const) { | 435 | 0 | auto col_res = ColumnUInt8::create(); | 436 | |
| 437 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 438 | 0 | vec_res.resize(col_left->get_data().size()); | 439 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 440 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 441 | 0 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 442 | 0 | vec_res); | 443 | |
| 444 | 0 | block.replace_by_position(result, std::move(col_res)); | 445 | 72 | } else if (!left_is_const && right_is_const) { | 446 | 72 | auto col_res = ColumnUInt8::create(); | 447 | | | 448 | 72 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 449 | 72 | vec_res.resize(col_left->size()); | 450 | 72 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 451 | 72 | typename PrimitiveTypeTraits<PT>::CppType, | 452 | 72 | Op<PT>>::vector_constant(col_left->get_data(), | 453 | 72 | col_right->get_element(0), vec_res); | 454 | | | 455 | 72 | block.replace_by_position(result, std::move(col_res)); | 456 | 72 | } else if (left_is_const && !right_is_const) { | 457 | 0 | auto col_res = ColumnUInt8::create(); | 458 | |
| 459 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 460 | 0 | vec_res.resize(col_right->size()); | 461 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 462 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 463 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 464 | 0 | col_right->get_data(), vec_res); | 465 | |
| 466 | 0 | block.replace_by_position(result, std::move(col_res)); | 467 | 0 | } | 468 | 72 | return Status::OK(); | 469 | 72 | } |
_ZNK5doris18FunctionComparisonINS_14LessOrEqualsOpENS_16NameLessOrEqualsEE16execute_num_typeILNS_13PrimitiveTypeE42EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 425 | 1 | const ColumnPtr& col_right_ptr) const { | 426 | 1 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 427 | 1 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 428 | | | 429 | 1 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 430 | 1 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 431 | | | 432 | 1 | DCHECK(!(left_is_const && right_is_const)); | 433 | | | 434 | 1 | if (!left_is_const && !right_is_const) { | 435 | 1 | auto col_res = ColumnUInt8::create(); | 436 | | | 437 | 1 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 438 | 1 | vec_res.resize(col_left->get_data().size()); | 439 | 1 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 440 | 1 | typename PrimitiveTypeTraits<PT>::CppType, | 441 | 1 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 442 | 1 | vec_res); | 443 | | | 444 | 1 | block.replace_by_position(result, std::move(col_res)); | 445 | 1 | } else if (!left_is_const && right_is_const) { | 446 | 0 | auto col_res = ColumnUInt8::create(); | 447 | |
| 448 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 449 | 0 | vec_res.resize(col_left->size()); | 450 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 451 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 452 | 0 | Op<PT>>::vector_constant(col_left->get_data(), | 453 | 0 | col_right->get_element(0), vec_res); | 454 | |
| 455 | 0 | block.replace_by_position(result, std::move(col_res)); | 456 | 0 | } else if (left_is_const && !right_is_const) { | 457 | 0 | auto col_res = ColumnUInt8::create(); | 458 | |
| 459 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 460 | 0 | vec_res.resize(col_right->size()); | 461 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 462 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 463 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 464 | 0 | col_right->get_data(), vec_res); | 465 | |
| 466 | 0 | block.replace_by_position(result, std::move(col_res)); | 467 | 0 | } | 468 | 1 | return Status::OK(); | 469 | 1 | } |
_ZNK5doris18FunctionComparisonINS_14LessOrEqualsOpENS_16NameLessOrEqualsEE16execute_num_typeILNS_13PrimitiveTypeE3EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 425 | 178 | const ColumnPtr& col_right_ptr) const { | 426 | 178 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 427 | 178 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 428 | | | 429 | 178 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 430 | 178 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 431 | | | 432 | 178 | DCHECK(!(left_is_const && right_is_const)); | 433 | | | 434 | 178 | if (!left_is_const && !right_is_const) { | 435 | 1 | auto col_res = ColumnUInt8::create(); | 436 | | | 437 | 1 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 438 | 1 | vec_res.resize(col_left->get_data().size()); | 439 | 1 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 440 | 1 | typename PrimitiveTypeTraits<PT>::CppType, | 441 | 1 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 442 | 1 | vec_res); | 443 | | | 444 | 1 | block.replace_by_position(result, std::move(col_res)); | 445 | 177 | } else if (!left_is_const && right_is_const) { | 446 | 177 | auto col_res = ColumnUInt8::create(); | 447 | | | 448 | 177 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 449 | 177 | vec_res.resize(col_left->size()); | 450 | 177 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 451 | 177 | typename PrimitiveTypeTraits<PT>::CppType, | 452 | 177 | Op<PT>>::vector_constant(col_left->get_data(), | 453 | 177 | col_right->get_element(0), vec_res); | 454 | | | 455 | 177 | block.replace_by_position(result, std::move(col_res)); | 456 | 177 | } else if (left_is_const && !right_is_const) { | 457 | 0 | auto col_res = ColumnUInt8::create(); | 458 | |
| 459 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 460 | 0 | vec_res.resize(col_right->size()); | 461 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 462 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 463 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 464 | 0 | col_right->get_data(), vec_res); | 465 | |
| 466 | 0 | block.replace_by_position(result, std::move(col_res)); | 467 | 0 | } | 468 | 178 | return Status::OK(); | 469 | 178 | } |
_ZNK5doris18FunctionComparisonINS_14LessOrEqualsOpENS_16NameLessOrEqualsEE16execute_num_typeILNS_13PrimitiveTypeE4EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 425 | 218 | const ColumnPtr& col_right_ptr) const { | 426 | 218 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 427 | 218 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 428 | | | 429 | 218 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 430 | 218 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 431 | | | 432 | 218 | DCHECK(!(left_is_const && right_is_const)); | 433 | | | 434 | 218 | if (!left_is_const && !right_is_const) { | 435 | 0 | auto col_res = ColumnUInt8::create(); | 436 | |
| 437 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 438 | 0 | vec_res.resize(col_left->get_data().size()); | 439 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 440 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 441 | 0 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 442 | 0 | vec_res); | 443 | |
| 444 | 0 | block.replace_by_position(result, std::move(col_res)); | 445 | 218 | } else if (!left_is_const && right_is_const) { | 446 | 218 | auto col_res = ColumnUInt8::create(); | 447 | | | 448 | 218 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 449 | 218 | vec_res.resize(col_left->size()); | 450 | 218 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 451 | 218 | typename PrimitiveTypeTraits<PT>::CppType, | 452 | 218 | Op<PT>>::vector_constant(col_left->get_data(), | 453 | 218 | col_right->get_element(0), vec_res); | 454 | | | 455 | 218 | block.replace_by_position(result, std::move(col_res)); | 456 | 218 | } else if (left_is_const && !right_is_const) { | 457 | 0 | auto col_res = ColumnUInt8::create(); | 458 | |
| 459 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 460 | 0 | vec_res.resize(col_right->size()); | 461 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 462 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 463 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 464 | 0 | col_right->get_data(), vec_res); | 465 | |
| 466 | 0 | block.replace_by_position(result, std::move(col_res)); | 467 | 0 | } | 468 | 218 | return Status::OK(); | 469 | 218 | } |
_ZNK5doris18FunctionComparisonINS_14LessOrEqualsOpENS_16NameLessOrEqualsEE16execute_num_typeILNS_13PrimitiveTypeE5EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 425 | 6.53k | const ColumnPtr& col_right_ptr) const { | 426 | 6.53k | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 427 | 6.53k | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 428 | | | 429 | 6.53k | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 430 | 6.53k | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 431 | | | 432 | 6.53k | DCHECK(!(left_is_const && right_is_const)); | 433 | | | 434 | 6.53k | if (!left_is_const && !right_is_const) { | 435 | 23 | auto col_res = ColumnUInt8::create(); | 436 | | | 437 | 23 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 438 | 23 | vec_res.resize(col_left->get_data().size()); | 439 | 23 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 440 | 23 | typename PrimitiveTypeTraits<PT>::CppType, | 441 | 23 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 442 | 23 | vec_res); | 443 | | | 444 | 23 | block.replace_by_position(result, std::move(col_res)); | 445 | 6.50k | } else if (!left_is_const && right_is_const) { | 446 | 6.27k | auto col_res = ColumnUInt8::create(); | 447 | | | 448 | 6.27k | ColumnUInt8::Container& vec_res = col_res->get_data(); | 449 | 6.27k | vec_res.resize(col_left->size()); | 450 | 6.27k | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 451 | 6.27k | typename PrimitiveTypeTraits<PT>::CppType, | 452 | 6.27k | Op<PT>>::vector_constant(col_left->get_data(), | 453 | 6.27k | col_right->get_element(0), vec_res); | 454 | | | 455 | 6.27k | block.replace_by_position(result, std::move(col_res)); | 456 | 6.27k | } else if (left_is_const && !right_is_const) { | 457 | 232 | auto col_res = ColumnUInt8::create(); | 458 | | | 459 | 232 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 460 | 232 | vec_res.resize(col_right->size()); | 461 | 232 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 462 | 232 | typename PrimitiveTypeTraits<PT>::CppType, | 463 | 232 | Op<PT>>::constant_vector(col_left->get_element(0), | 464 | 232 | col_right->get_data(), vec_res); | 465 | | | 466 | 232 | block.replace_by_position(result, std::move(col_res)); | 467 | 232 | } | 468 | 6.53k | return Status::OK(); | 469 | 6.53k | } |
_ZNK5doris18FunctionComparisonINS_14LessOrEqualsOpENS_16NameLessOrEqualsEE16execute_num_typeILNS_13PrimitiveTypeE6EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 425 | 347 | const ColumnPtr& col_right_ptr) const { | 426 | 347 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 427 | 347 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 428 | | | 429 | 347 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 430 | 347 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 431 | | | 432 | 347 | DCHECK(!(left_is_const && right_is_const)); | 433 | | | 434 | 347 | if (!left_is_const && !right_is_const) { | 435 | 31 | auto col_res = ColumnUInt8::create(); | 436 | | | 437 | 31 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 438 | 31 | vec_res.resize(col_left->get_data().size()); | 439 | 31 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 440 | 31 | typename PrimitiveTypeTraits<PT>::CppType, | 441 | 31 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 442 | 31 | vec_res); | 443 | | | 444 | 31 | block.replace_by_position(result, std::move(col_res)); | 445 | 316 | } else if (!left_is_const && right_is_const) { | 446 | 268 | auto col_res = ColumnUInt8::create(); | 447 | | | 448 | 268 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 449 | 268 | vec_res.resize(col_left->size()); | 450 | 268 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 451 | 268 | typename PrimitiveTypeTraits<PT>::CppType, | 452 | 268 | Op<PT>>::vector_constant(col_left->get_data(), | 453 | 268 | col_right->get_element(0), vec_res); | 454 | | | 455 | 268 | block.replace_by_position(result, std::move(col_res)); | 456 | 268 | } else if (left_is_const && !right_is_const) { | 457 | 48 | auto col_res = ColumnUInt8::create(); | 458 | | | 459 | 48 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 460 | 48 | vec_res.resize(col_right->size()); | 461 | 48 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 462 | 48 | typename PrimitiveTypeTraits<PT>::CppType, | 463 | 48 | Op<PT>>::constant_vector(col_left->get_element(0), | 464 | 48 | col_right->get_data(), vec_res); | 465 | | | 466 | 48 | block.replace_by_position(result, std::move(col_res)); | 467 | 48 | } | 468 | 347 | return Status::OK(); | 469 | 347 | } |
_ZNK5doris18FunctionComparisonINS_14LessOrEqualsOpENS_16NameLessOrEqualsEE16execute_num_typeILNS_13PrimitiveTypeE7EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 425 | 26 | const ColumnPtr& col_right_ptr) const { | 426 | 26 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 427 | 26 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 428 | | | 429 | 26 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 430 | 26 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 431 | | | 432 | 26 | DCHECK(!(left_is_const && right_is_const)); | 433 | | | 434 | 26 | if (!left_is_const && !right_is_const) { | 435 | 0 | auto col_res = ColumnUInt8::create(); | 436 | |
| 437 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 438 | 0 | vec_res.resize(col_left->get_data().size()); | 439 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 440 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 441 | 0 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 442 | 0 | vec_res); | 443 | |
| 444 | 0 | block.replace_by_position(result, std::move(col_res)); | 445 | 26 | } else if (!left_is_const && right_is_const) { | 446 | 26 | auto col_res = ColumnUInt8::create(); | 447 | | | 448 | 26 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 449 | 26 | vec_res.resize(col_left->size()); | 450 | 26 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 451 | 26 | typename PrimitiveTypeTraits<PT>::CppType, | 452 | 26 | Op<PT>>::vector_constant(col_left->get_data(), | 453 | 26 | col_right->get_element(0), vec_res); | 454 | | | 455 | 26 | block.replace_by_position(result, std::move(col_res)); | 456 | 26 | } else if (left_is_const && !right_is_const) { | 457 | 0 | auto col_res = ColumnUInt8::create(); | 458 | |
| 459 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 460 | 0 | vec_res.resize(col_right->size()); | 461 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 462 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 463 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 464 | 0 | col_right->get_data(), vec_res); | 465 | |
| 466 | 0 | block.replace_by_position(result, std::move(col_res)); | 467 | 0 | } | 468 | 26 | return Status::OK(); | 469 | 26 | } |
_ZNK5doris18FunctionComparisonINS_14LessOrEqualsOpENS_16NameLessOrEqualsEE16execute_num_typeILNS_13PrimitiveTypeE36EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 425 | 10 | const ColumnPtr& col_right_ptr) const { | 426 | 10 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 427 | 10 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 428 | | | 429 | 10 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 430 | 10 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 431 | | | 432 | 10 | DCHECK(!(left_is_const && right_is_const)); | 433 | | | 434 | 10 | if (!left_is_const && !right_is_const) { | 435 | 0 | auto col_res = ColumnUInt8::create(); | 436 | |
| 437 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 438 | 0 | vec_res.resize(col_left->get_data().size()); | 439 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 440 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 441 | 0 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 442 | 0 | vec_res); | 443 | |
| 444 | 0 | block.replace_by_position(result, std::move(col_res)); | 445 | 10 | } else if (!left_is_const && right_is_const) { | 446 | 10 | auto col_res = ColumnUInt8::create(); | 447 | | | 448 | 10 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 449 | 10 | vec_res.resize(col_left->size()); | 450 | 10 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 451 | 10 | typename PrimitiveTypeTraits<PT>::CppType, | 452 | 10 | Op<PT>>::vector_constant(col_left->get_data(), | 453 | 10 | col_right->get_element(0), vec_res); | 454 | | | 455 | 10 | block.replace_by_position(result, std::move(col_res)); | 456 | 10 | } else if (left_is_const && !right_is_const) { | 457 | 0 | auto col_res = ColumnUInt8::create(); | 458 | |
| 459 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 460 | 0 | vec_res.resize(col_right->size()); | 461 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 462 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 463 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 464 | 0 | col_right->get_data(), vec_res); | 465 | |
| 466 | 0 | block.replace_by_position(result, std::move(col_res)); | 467 | 0 | } | 468 | 10 | return Status::OK(); | 469 | 10 | } |
Unexecuted instantiation: _ZNK5doris18FunctionComparisonINS_14LessOrEqualsOpENS_16NameLessOrEqualsEE16execute_num_typeILNS_13PrimitiveTypeE37EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ _ZNK5doris18FunctionComparisonINS_14LessOrEqualsOpENS_16NameLessOrEqualsEE16execute_num_typeILNS_13PrimitiveTypeE8EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 425 | 20 | const ColumnPtr& col_right_ptr) const { | 426 | 20 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 427 | 20 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 428 | | | 429 | 20 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 430 | 20 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 431 | | | 432 | 20 | DCHECK(!(left_is_const && right_is_const)); | 433 | | | 434 | 20 | if (!left_is_const && !right_is_const) { | 435 | 20 | auto col_res = ColumnUInt8::create(); | 436 | | | 437 | 20 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 438 | 20 | vec_res.resize(col_left->get_data().size()); | 439 | 20 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 440 | 20 | typename PrimitiveTypeTraits<PT>::CppType, | 441 | 20 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 442 | 20 | vec_res); | 443 | | | 444 | 20 | block.replace_by_position(result, std::move(col_res)); | 445 | 20 | } else if (!left_is_const && right_is_const) { | 446 | 0 | auto col_res = ColumnUInt8::create(); | 447 | |
| 448 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 449 | 0 | vec_res.resize(col_left->size()); | 450 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 451 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 452 | 0 | Op<PT>>::vector_constant(col_left->get_data(), | 453 | 0 | col_right->get_element(0), vec_res); | 454 | |
| 455 | 0 | block.replace_by_position(result, std::move(col_res)); | 456 | 0 | } else if (left_is_const && !right_is_const) { | 457 | 0 | auto col_res = ColumnUInt8::create(); | 458 | |
| 459 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 460 | 0 | vec_res.resize(col_right->size()); | 461 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 462 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 463 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 464 | 0 | col_right->get_data(), vec_res); | 465 | |
| 466 | 0 | block.replace_by_position(result, std::move(col_res)); | 467 | 0 | } | 468 | 20 | return Status::OK(); | 469 | 20 | } |
_ZNK5doris18FunctionComparisonINS_14LessOrEqualsOpENS_16NameLessOrEqualsEE16execute_num_typeILNS_13PrimitiveTypeE9EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 425 | 114 | const ColumnPtr& col_right_ptr) const { | 426 | 114 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 427 | 114 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 428 | | | 429 | 114 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 430 | 114 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 431 | | | 432 | 114 | DCHECK(!(left_is_const && right_is_const)); | 433 | | | 434 | 114 | if (!left_is_const && !right_is_const) { | 435 | 20 | auto col_res = ColumnUInt8::create(); | 436 | | | 437 | 20 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 438 | 20 | vec_res.resize(col_left->get_data().size()); | 439 | 20 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 440 | 20 | typename PrimitiveTypeTraits<PT>::CppType, | 441 | 20 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 442 | 20 | vec_res); | 443 | | | 444 | 20 | block.replace_by_position(result, std::move(col_res)); | 445 | 94 | } else if (!left_is_const && right_is_const) { | 446 | 93 | auto col_res = ColumnUInt8::create(); | 447 | | | 448 | 93 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 449 | 93 | vec_res.resize(col_left->size()); | 450 | 93 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 451 | 93 | typename PrimitiveTypeTraits<PT>::CppType, | 452 | 93 | Op<PT>>::vector_constant(col_left->get_data(), | 453 | 93 | col_right->get_element(0), vec_res); | 454 | | | 455 | 93 | block.replace_by_position(result, std::move(col_res)); | 456 | 93 | } else if (left_is_const && !right_is_const) { | 457 | 1 | auto col_res = ColumnUInt8::create(); | 458 | | | 459 | 1 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 460 | 1 | vec_res.resize(col_right->size()); | 461 | 1 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 462 | 1 | typename PrimitiveTypeTraits<PT>::CppType, | 463 | 1 | Op<PT>>::constant_vector(col_left->get_element(0), | 464 | 1 | col_right->get_data(), vec_res); | 465 | | | 466 | 1 | block.replace_by_position(result, std::move(col_res)); | 467 | 1 | } | 468 | 114 | return Status::OK(); | 469 | 114 | } |
Unexecuted instantiation: _ZNK5doris18FunctionComparisonINS_14LessOrEqualsOpENS_16NameLessOrEqualsEE16execute_num_typeILNS_13PrimitiveTypeE27EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ |
470 | | |
471 | | Status execute_decimal(Block& block, uint32_t result, const ColumnWithTypeAndName& col_left, |
472 | 3.17k | const ColumnWithTypeAndName& col_right) const { |
473 | 3.17k | auto call = [&](const auto& type) -> bool { |
474 | 3.17k | using DispatchType = std::decay_t<decltype(type)>; |
475 | 3.17k | DecimalComparison<DispatchType::PType, DispatchType::PType, Op, false>( |
476 | 3.17k | block, result, col_left, col_right); |
477 | 3.17k | return true; |
478 | 3.17k | }; _ZZNK5doris18FunctionComparisonINS_8EqualsOpENS_10NameEqualsEE15execute_decimalERNS_5BlockEjRKNS_21ColumnWithTypeAndNameES8_ENKUlRKT_E_clINS_16DispatchDataTypeILNS_13PrimitiveTypeE28EEEEEbSB_ Line | Count | Source | 473 | 162 | auto call = [&](const auto& type) -> bool { | 474 | 162 | using DispatchType = std::decay_t<decltype(type)>; | 475 | 162 | DecimalComparison<DispatchType::PType, DispatchType::PType, Op, false>( | 476 | 162 | block, result, col_left, col_right); | 477 | 162 | return true; | 478 | 162 | }; |
_ZZNK5doris18FunctionComparisonINS_8EqualsOpENS_10NameEqualsEE15execute_decimalERNS_5BlockEjRKNS_21ColumnWithTypeAndNameES8_ENKUlRKT_E_clINS_16DispatchDataTypeILNS_13PrimitiveTypeE29EEEEEbSB_ Line | Count | Source | 473 | 172 | auto call = [&](const auto& type) -> bool { | 474 | 172 | using DispatchType = std::decay_t<decltype(type)>; | 475 | 172 | DecimalComparison<DispatchType::PType, DispatchType::PType, Op, false>( | 476 | 172 | block, result, col_left, col_right); | 477 | 172 | return true; | 478 | 172 | }; |
Unexecuted instantiation: _ZZNK5doris18FunctionComparisonINS_8EqualsOpENS_10NameEqualsEE15execute_decimalERNS_5BlockEjRKNS_21ColumnWithTypeAndNameES8_ENKUlRKT_E_clINS_16DispatchDataTypeILNS_13PrimitiveTypeE20EEEEEbSB_ _ZZNK5doris18FunctionComparisonINS_8EqualsOpENS_10NameEqualsEE15execute_decimalERNS_5BlockEjRKNS_21ColumnWithTypeAndNameES8_ENKUlRKT_E_clINS_16DispatchDataTypeILNS_13PrimitiveTypeE30EEEEEbSB_ Line | Count | Source | 473 | 932 | auto call = [&](const auto& type) -> bool { | 474 | 932 | using DispatchType = std::decay_t<decltype(type)>; | 475 | 932 | DecimalComparison<DispatchType::PType, DispatchType::PType, Op, false>( | 476 | 932 | block, result, col_left, col_right); | 477 | 932 | return true; | 478 | 932 | }; |
_ZZNK5doris18FunctionComparisonINS_8EqualsOpENS_10NameEqualsEE15execute_decimalERNS_5BlockEjRKNS_21ColumnWithTypeAndNameES8_ENKUlRKT_E_clINS_16DispatchDataTypeILNS_13PrimitiveTypeE35EEEEEbSB_ Line | Count | Source | 473 | 34 | auto call = [&](const auto& type) -> bool { | 474 | 34 | using DispatchType = std::decay_t<decltype(type)>; | 475 | 34 | DecimalComparison<DispatchType::PType, DispatchType::PType, Op, false>( | 476 | 34 | block, result, col_left, col_right); | 477 | 34 | return true; | 478 | 34 | }; |
Unexecuted instantiation: _ZZNK5doris18FunctionComparisonINS_11NotEqualsOpENS_13NameNotEqualsEE15execute_decimalERNS_5BlockEjRKNS_21ColumnWithTypeAndNameES8_ENKUlRKT_E_clINS_16DispatchDataTypeILNS_13PrimitiveTypeE28EEEEEbSB_ _ZZNK5doris18FunctionComparisonINS_11NotEqualsOpENS_13NameNotEqualsEE15execute_decimalERNS_5BlockEjRKNS_21ColumnWithTypeAndNameES8_ENKUlRKT_E_clINS_16DispatchDataTypeILNS_13PrimitiveTypeE29EEEEEbSB_ Line | Count | Source | 473 | 73 | auto call = [&](const auto& type) -> bool { | 474 | 73 | using DispatchType = std::decay_t<decltype(type)>; | 475 | 73 | DecimalComparison<DispatchType::PType, DispatchType::PType, Op, false>( | 476 | 73 | block, result, col_left, col_right); | 477 | 73 | return true; | 478 | 73 | }; |
Unexecuted instantiation: _ZZNK5doris18FunctionComparisonINS_11NotEqualsOpENS_13NameNotEqualsEE15execute_decimalERNS_5BlockEjRKNS_21ColumnWithTypeAndNameES8_ENKUlRKT_E_clINS_16DispatchDataTypeILNS_13PrimitiveTypeE20EEEEEbSB_ _ZZNK5doris18FunctionComparisonINS_11NotEqualsOpENS_13NameNotEqualsEE15execute_decimalERNS_5BlockEjRKNS_21ColumnWithTypeAndNameES8_ENKUlRKT_E_clINS_16DispatchDataTypeILNS_13PrimitiveTypeE30EEEEEbSB_ Line | Count | Source | 473 | 28 | auto call = [&](const auto& type) -> bool { | 474 | 28 | using DispatchType = std::decay_t<decltype(type)>; | 475 | 28 | DecimalComparison<DispatchType::PType, DispatchType::PType, Op, false>( | 476 | 28 | block, result, col_left, col_right); | 477 | 28 | return true; | 478 | 28 | }; |
_ZZNK5doris18FunctionComparisonINS_11NotEqualsOpENS_13NameNotEqualsEE15execute_decimalERNS_5BlockEjRKNS_21ColumnWithTypeAndNameES8_ENKUlRKT_E_clINS_16DispatchDataTypeILNS_13PrimitiveTypeE35EEEEEbSB_ Line | Count | Source | 473 | 30 | auto call = [&](const auto& type) -> bool { | 474 | 30 | using DispatchType = std::decay_t<decltype(type)>; | 475 | 30 | DecimalComparison<DispatchType::PType, DispatchType::PType, Op, false>( | 476 | 30 | block, result, col_left, col_right); | 477 | 30 | return true; | 478 | 30 | }; |
_ZZNK5doris18FunctionComparisonINS_9GreaterOpENS_11NameGreaterEE15execute_decimalERNS_5BlockEjRKNS_21ColumnWithTypeAndNameES8_ENKUlRKT_E_clINS_16DispatchDataTypeILNS_13PrimitiveTypeE28EEEEEbSB_ Line | Count | Source | 473 | 8 | auto call = [&](const auto& type) -> bool { | 474 | 8 | using DispatchType = std::decay_t<decltype(type)>; | 475 | 8 | DecimalComparison<DispatchType::PType, DispatchType::PType, Op, false>( | 476 | 8 | block, result, col_left, col_right); | 477 | 8 | return true; | 478 | 8 | }; |
_ZZNK5doris18FunctionComparisonINS_9GreaterOpENS_11NameGreaterEE15execute_decimalERNS_5BlockEjRKNS_21ColumnWithTypeAndNameES8_ENKUlRKT_E_clINS_16DispatchDataTypeILNS_13PrimitiveTypeE29EEEEEbSB_ Line | Count | Source | 473 | 66 | auto call = [&](const auto& type) -> bool { | 474 | 66 | using DispatchType = std::decay_t<decltype(type)>; | 475 | 66 | DecimalComparison<DispatchType::PType, DispatchType::PType, Op, false>( | 476 | 66 | block, result, col_left, col_right); | 477 | 66 | return true; | 478 | 66 | }; |
Unexecuted instantiation: _ZZNK5doris18FunctionComparisonINS_9GreaterOpENS_11NameGreaterEE15execute_decimalERNS_5BlockEjRKNS_21ColumnWithTypeAndNameES8_ENKUlRKT_E_clINS_16DispatchDataTypeILNS_13PrimitiveTypeE20EEEEEbSB_ _ZZNK5doris18FunctionComparisonINS_9GreaterOpENS_11NameGreaterEE15execute_decimalERNS_5BlockEjRKNS_21ColumnWithTypeAndNameES8_ENKUlRKT_E_clINS_16DispatchDataTypeILNS_13PrimitiveTypeE30EEEEEbSB_ Line | Count | Source | 473 | 620 | auto call = [&](const auto& type) -> bool { | 474 | 620 | using DispatchType = std::decay_t<decltype(type)>; | 475 | 620 | DecimalComparison<DispatchType::PType, DispatchType::PType, Op, false>( | 476 | 620 | block, result, col_left, col_right); | 477 | 620 | return true; | 478 | 620 | }; |
_ZZNK5doris18FunctionComparisonINS_9GreaterOpENS_11NameGreaterEE15execute_decimalERNS_5BlockEjRKNS_21ColumnWithTypeAndNameES8_ENKUlRKT_E_clINS_16DispatchDataTypeILNS_13PrimitiveTypeE35EEEEEbSB_ Line | Count | Source | 473 | 2 | auto call = [&](const auto& type) -> bool { | 474 | 2 | using DispatchType = std::decay_t<decltype(type)>; | 475 | 2 | DecimalComparison<DispatchType::PType, DispatchType::PType, Op, false>( | 476 | 2 | block, result, col_left, col_right); | 477 | 2 | return true; | 478 | 2 | }; |
_ZZNK5doris18FunctionComparisonINS_17GreaterOrEqualsOpENS_19NameGreaterOrEqualsEE15execute_decimalERNS_5BlockEjRKNS_21ColumnWithTypeAndNameES8_ENKUlRKT_E_clINS_16DispatchDataTypeILNS_13PrimitiveTypeE28EEEEEbSB_ Line | Count | Source | 473 | 1 | auto call = [&](const auto& type) -> bool { | 474 | 1 | using DispatchType = std::decay_t<decltype(type)>; | 475 | 1 | DecimalComparison<DispatchType::PType, DispatchType::PType, Op, false>( | 476 | 1 | block, result, col_left, col_right); | 477 | 1 | return true; | 478 | 1 | }; |
_ZZNK5doris18FunctionComparisonINS_17GreaterOrEqualsOpENS_19NameGreaterOrEqualsEE15execute_decimalERNS_5BlockEjRKNS_21ColumnWithTypeAndNameES8_ENKUlRKT_E_clINS_16DispatchDataTypeILNS_13PrimitiveTypeE29EEEEEbSB_ Line | Count | Source | 473 | 52 | auto call = [&](const auto& type) -> bool { | 474 | 52 | using DispatchType = std::decay_t<decltype(type)>; | 475 | 52 | DecimalComparison<DispatchType::PType, DispatchType::PType, Op, false>( | 476 | 52 | block, result, col_left, col_right); | 477 | 52 | return true; | 478 | 52 | }; |
Unexecuted instantiation: _ZZNK5doris18FunctionComparisonINS_17GreaterOrEqualsOpENS_19NameGreaterOrEqualsEE15execute_decimalERNS_5BlockEjRKNS_21ColumnWithTypeAndNameES8_ENKUlRKT_E_clINS_16DispatchDataTypeILNS_13PrimitiveTypeE20EEEEEbSB_ _ZZNK5doris18FunctionComparisonINS_17GreaterOrEqualsOpENS_19NameGreaterOrEqualsEE15execute_decimalERNS_5BlockEjRKNS_21ColumnWithTypeAndNameES8_ENKUlRKT_E_clINS_16DispatchDataTypeILNS_13PrimitiveTypeE30EEEEEbSB_ Line | Count | Source | 473 | 72 | auto call = [&](const auto& type) -> bool { | 474 | 72 | using DispatchType = std::decay_t<decltype(type)>; | 475 | 72 | DecimalComparison<DispatchType::PType, DispatchType::PType, Op, false>( | 476 | 72 | block, result, col_left, col_right); | 477 | 72 | return true; | 478 | 72 | }; |
_ZZNK5doris18FunctionComparisonINS_17GreaterOrEqualsOpENS_19NameGreaterOrEqualsEE15execute_decimalERNS_5BlockEjRKNS_21ColumnWithTypeAndNameES8_ENKUlRKT_E_clINS_16DispatchDataTypeILNS_13PrimitiveTypeE35EEEEEbSB_ Line | Count | Source | 473 | 21 | auto call = [&](const auto& type) -> bool { | 474 | 21 | using DispatchType = std::decay_t<decltype(type)>; | 475 | 21 | DecimalComparison<DispatchType::PType, DispatchType::PType, Op, false>( | 476 | 21 | block, result, col_left, col_right); | 477 | 21 | return true; | 478 | 21 | }; |
_ZZNK5doris18FunctionComparisonINS_6LessOpENS_8NameLessEE15execute_decimalERNS_5BlockEjRKNS_21ColumnWithTypeAndNameES8_ENKUlRKT_E_clINS_16DispatchDataTypeILNS_13PrimitiveTypeE28EEEEEbSB_ Line | Count | Source | 473 | 201 | auto call = [&](const auto& type) -> bool { | 474 | 201 | using DispatchType = std::decay_t<decltype(type)>; | 475 | 201 | DecimalComparison<DispatchType::PType, DispatchType::PType, Op, false>( | 476 | 201 | block, result, col_left, col_right); | 477 | 201 | return true; | 478 | 201 | }; |
_ZZNK5doris18FunctionComparisonINS_6LessOpENS_8NameLessEE15execute_decimalERNS_5BlockEjRKNS_21ColumnWithTypeAndNameES8_ENKUlRKT_E_clINS_16DispatchDataTypeILNS_13PrimitiveTypeE29EEEEEbSB_ Line | Count | Source | 473 | 212 | auto call = [&](const auto& type) -> bool { | 474 | 212 | using DispatchType = std::decay_t<decltype(type)>; | 475 | 212 | DecimalComparison<DispatchType::PType, DispatchType::PType, Op, false>( | 476 | 212 | block, result, col_left, col_right); | 477 | 212 | return true; | 478 | 212 | }; |
Unexecuted instantiation: _ZZNK5doris18FunctionComparisonINS_6LessOpENS_8NameLessEE15execute_decimalERNS_5BlockEjRKNS_21ColumnWithTypeAndNameES8_ENKUlRKT_E_clINS_16DispatchDataTypeILNS_13PrimitiveTypeE20EEEEEbSB_ _ZZNK5doris18FunctionComparisonINS_6LessOpENS_8NameLessEE15execute_decimalERNS_5BlockEjRKNS_21ColumnWithTypeAndNameES8_ENKUlRKT_E_clINS_16DispatchDataTypeILNS_13PrimitiveTypeE30EEEEEbSB_ Line | Count | Source | 473 | 298 | auto call = [&](const auto& type) -> bool { | 474 | 298 | using DispatchType = std::decay_t<decltype(type)>; | 475 | 298 | DecimalComparison<DispatchType::PType, DispatchType::PType, Op, false>( | 476 | 298 | block, result, col_left, col_right); | 477 | 298 | return true; | 478 | 298 | }; |
_ZZNK5doris18FunctionComparisonINS_6LessOpENS_8NameLessEE15execute_decimalERNS_5BlockEjRKNS_21ColumnWithTypeAndNameES8_ENKUlRKT_E_clINS_16DispatchDataTypeILNS_13PrimitiveTypeE35EEEEEbSB_ Line | Count | Source | 473 | 1 | auto call = [&](const auto& type) -> bool { | 474 | 1 | using DispatchType = std::decay_t<decltype(type)>; | 475 | 1 | DecimalComparison<DispatchType::PType, DispatchType::PType, Op, false>( | 476 | 1 | block, result, col_left, col_right); | 477 | 1 | return true; | 478 | 1 | }; |
_ZZNK5doris18FunctionComparisonINS_14LessOrEqualsOpENS_16NameLessOrEqualsEE15execute_decimalERNS_5BlockEjRKNS_21ColumnWithTypeAndNameES8_ENKUlRKT_E_clINS_16DispatchDataTypeILNS_13PrimitiveTypeE28EEEEEbSB_ Line | Count | Source | 473 | 7 | auto call = [&](const auto& type) -> bool { | 474 | 7 | using DispatchType = std::decay_t<decltype(type)>; | 475 | 7 | DecimalComparison<DispatchType::PType, DispatchType::PType, Op, false>( | 476 | 7 | block, result, col_left, col_right); | 477 | 7 | return true; | 478 | 7 | }; |
_ZZNK5doris18FunctionComparisonINS_14LessOrEqualsOpENS_16NameLessOrEqualsEE15execute_decimalERNS_5BlockEjRKNS_21ColumnWithTypeAndNameES8_ENKUlRKT_E_clINS_16DispatchDataTypeILNS_13PrimitiveTypeE29EEEEEbSB_ Line | Count | Source | 473 | 66 | auto call = [&](const auto& type) -> bool { | 474 | 66 | using DispatchType = std::decay_t<decltype(type)>; | 475 | 66 | DecimalComparison<DispatchType::PType, DispatchType::PType, Op, false>( | 476 | 66 | block, result, col_left, col_right); | 477 | 66 | return true; | 478 | 66 | }; |
Unexecuted instantiation: _ZZNK5doris18FunctionComparisonINS_14LessOrEqualsOpENS_16NameLessOrEqualsEE15execute_decimalERNS_5BlockEjRKNS_21ColumnWithTypeAndNameES8_ENKUlRKT_E_clINS_16DispatchDataTypeILNS_13PrimitiveTypeE20EEEEEbSB_ _ZZNK5doris18FunctionComparisonINS_14LessOrEqualsOpENS_16NameLessOrEqualsEE15execute_decimalERNS_5BlockEjRKNS_21ColumnWithTypeAndNameES8_ENKUlRKT_E_clINS_16DispatchDataTypeILNS_13PrimitiveTypeE30EEEEEbSB_ Line | Count | Source | 473 | 94 | auto call = [&](const auto& type) -> bool { | 474 | 94 | using DispatchType = std::decay_t<decltype(type)>; | 475 | 94 | DecimalComparison<DispatchType::PType, DispatchType::PType, Op, false>( | 476 | 94 | block, result, col_left, col_right); | 477 | 94 | return true; | 478 | 94 | }; |
_ZZNK5doris18FunctionComparisonINS_14LessOrEqualsOpENS_16NameLessOrEqualsEE15execute_decimalERNS_5BlockEjRKNS_21ColumnWithTypeAndNameES8_ENKUlRKT_E_clINS_16DispatchDataTypeILNS_13PrimitiveTypeE35EEEEEbSB_ Line | Count | Source | 473 | 24 | auto call = [&](const auto& type) -> bool { | 474 | 24 | using DispatchType = std::decay_t<decltype(type)>; | 475 | 24 | DecimalComparison<DispatchType::PType, DispatchType::PType, Op, false>( | 476 | 24 | block, result, col_left, col_right); | 477 | 24 | return true; | 478 | 24 | }; |
|
479 | | |
480 | 3.17k | if (col_left.type->get_primitive_type() != col_right.type->get_primitive_type()) { |
481 | 0 | return Status::RuntimeError( |
482 | 0 | "type of left column {} is not equal to type of right column {}", |
483 | 0 | col_left.type->get_name(), col_right.type->get_name()); |
484 | 0 | } |
485 | | |
486 | 3.17k | if (!dispatch_switch_decimal(col_right.type->get_primitive_type(), call)) { |
487 | 0 | return Status::RuntimeError("Wrong call for {} with {} and {}", get_name(), |
488 | 0 | col_left.type->get_name(), col_right.type->get_name()); |
489 | 0 | } |
490 | 3.17k | return Status::OK(); |
491 | 3.17k | } _ZNK5doris18FunctionComparisonINS_8EqualsOpENS_10NameEqualsEE15execute_decimalERNS_5BlockEjRKNS_21ColumnWithTypeAndNameES8_ Line | Count | Source | 472 | 1.30k | const ColumnWithTypeAndName& col_right) const { | 473 | 1.30k | auto call = [&](const auto& type) -> bool { | 474 | 1.30k | using DispatchType = std::decay_t<decltype(type)>; | 475 | 1.30k | DecimalComparison<DispatchType::PType, DispatchType::PType, Op, false>( | 476 | 1.30k | block, result, col_left, col_right); | 477 | 1.30k | return true; | 478 | 1.30k | }; | 479 | | | 480 | 1.30k | if (col_left.type->get_primitive_type() != col_right.type->get_primitive_type()) { | 481 | 0 | return Status::RuntimeError( | 482 | 0 | "type of left column {} is not equal to type of right column {}", | 483 | 0 | col_left.type->get_name(), col_right.type->get_name()); | 484 | 0 | } | 485 | | | 486 | 1.30k | if (!dispatch_switch_decimal(col_right.type->get_primitive_type(), call)) { | 487 | 0 | return Status::RuntimeError("Wrong call for {} with {} and {}", get_name(), | 488 | 0 | col_left.type->get_name(), col_right.type->get_name()); | 489 | 0 | } | 490 | 1.30k | return Status::OK(); | 491 | 1.30k | } |
_ZNK5doris18FunctionComparisonINS_11NotEqualsOpENS_13NameNotEqualsEE15execute_decimalERNS_5BlockEjRKNS_21ColumnWithTypeAndNameES8_ Line | Count | Source | 472 | 131 | const ColumnWithTypeAndName& col_right) const { | 473 | 131 | auto call = [&](const auto& type) -> bool { | 474 | 131 | using DispatchType = std::decay_t<decltype(type)>; | 475 | 131 | DecimalComparison<DispatchType::PType, DispatchType::PType, Op, false>( | 476 | 131 | block, result, col_left, col_right); | 477 | 131 | return true; | 478 | 131 | }; | 479 | | | 480 | 131 | if (col_left.type->get_primitive_type() != col_right.type->get_primitive_type()) { | 481 | 0 | return Status::RuntimeError( | 482 | 0 | "type of left column {} is not equal to type of right column {}", | 483 | 0 | col_left.type->get_name(), col_right.type->get_name()); | 484 | 0 | } | 485 | | | 486 | 131 | if (!dispatch_switch_decimal(col_right.type->get_primitive_type(), call)) { | 487 | 0 | return Status::RuntimeError("Wrong call for {} with {} and {}", get_name(), | 488 | 0 | col_left.type->get_name(), col_right.type->get_name()); | 489 | 0 | } | 490 | 131 | return Status::OK(); | 491 | 131 | } |
_ZNK5doris18FunctionComparisonINS_9GreaterOpENS_11NameGreaterEE15execute_decimalERNS_5BlockEjRKNS_21ColumnWithTypeAndNameES8_ Line | Count | Source | 472 | 696 | const ColumnWithTypeAndName& col_right) const { | 473 | 696 | auto call = [&](const auto& type) -> bool { | 474 | 696 | using DispatchType = std::decay_t<decltype(type)>; | 475 | 696 | DecimalComparison<DispatchType::PType, DispatchType::PType, Op, false>( | 476 | 696 | block, result, col_left, col_right); | 477 | 696 | return true; | 478 | 696 | }; | 479 | | | 480 | 696 | if (col_left.type->get_primitive_type() != col_right.type->get_primitive_type()) { | 481 | 0 | return Status::RuntimeError( | 482 | 0 | "type of left column {} is not equal to type of right column {}", | 483 | 0 | col_left.type->get_name(), col_right.type->get_name()); | 484 | 0 | } | 485 | | | 486 | 696 | if (!dispatch_switch_decimal(col_right.type->get_primitive_type(), call)) { | 487 | 0 | return Status::RuntimeError("Wrong call for {} with {} and {}", get_name(), | 488 | 0 | col_left.type->get_name(), col_right.type->get_name()); | 489 | 0 | } | 490 | 696 | return Status::OK(); | 491 | 696 | } |
_ZNK5doris18FunctionComparisonINS_17GreaterOrEqualsOpENS_19NameGreaterOrEqualsEE15execute_decimalERNS_5BlockEjRKNS_21ColumnWithTypeAndNameES8_ Line | Count | Source | 472 | 146 | const ColumnWithTypeAndName& col_right) const { | 473 | 146 | auto call = [&](const auto& type) -> bool { | 474 | 146 | using DispatchType = std::decay_t<decltype(type)>; | 475 | 146 | DecimalComparison<DispatchType::PType, DispatchType::PType, Op, false>( | 476 | 146 | block, result, col_left, col_right); | 477 | 146 | return true; | 478 | 146 | }; | 479 | | | 480 | 146 | if (col_left.type->get_primitive_type() != col_right.type->get_primitive_type()) { | 481 | 0 | return Status::RuntimeError( | 482 | 0 | "type of left column {} is not equal to type of right column {}", | 483 | 0 | col_left.type->get_name(), col_right.type->get_name()); | 484 | 0 | } | 485 | | | 486 | 146 | if (!dispatch_switch_decimal(col_right.type->get_primitive_type(), call)) { | 487 | 0 | return Status::RuntimeError("Wrong call for {} with {} and {}", get_name(), | 488 | 0 | col_left.type->get_name(), col_right.type->get_name()); | 489 | 0 | } | 490 | 146 | return Status::OK(); | 491 | 146 | } |
_ZNK5doris18FunctionComparisonINS_6LessOpENS_8NameLessEE15execute_decimalERNS_5BlockEjRKNS_21ColumnWithTypeAndNameES8_ Line | Count | Source | 472 | 712 | const ColumnWithTypeAndName& col_right) const { | 473 | 712 | auto call = [&](const auto& type) -> bool { | 474 | 712 | using DispatchType = std::decay_t<decltype(type)>; | 475 | 712 | DecimalComparison<DispatchType::PType, DispatchType::PType, Op, false>( | 476 | 712 | block, result, col_left, col_right); | 477 | 712 | return true; | 478 | 712 | }; | 479 | | | 480 | 712 | if (col_left.type->get_primitive_type() != col_right.type->get_primitive_type()) { | 481 | 0 | return Status::RuntimeError( | 482 | 0 | "type of left column {} is not equal to type of right column {}", | 483 | 0 | col_left.type->get_name(), col_right.type->get_name()); | 484 | 0 | } | 485 | | | 486 | 712 | if (!dispatch_switch_decimal(col_right.type->get_primitive_type(), call)) { | 487 | 0 | return Status::RuntimeError("Wrong call for {} with {} and {}", get_name(), | 488 | 0 | col_left.type->get_name(), col_right.type->get_name()); | 489 | 0 | } | 490 | 712 | return Status::OK(); | 491 | 712 | } |
_ZNK5doris18FunctionComparisonINS_14LessOrEqualsOpENS_16NameLessOrEqualsEE15execute_decimalERNS_5BlockEjRKNS_21ColumnWithTypeAndNameES8_ Line | Count | Source | 472 | 191 | const ColumnWithTypeAndName& col_right) const { | 473 | 191 | auto call = [&](const auto& type) -> bool { | 474 | 191 | using DispatchType = std::decay_t<decltype(type)>; | 475 | 191 | DecimalComparison<DispatchType::PType, DispatchType::PType, Op, false>( | 476 | 191 | block, result, col_left, col_right); | 477 | 191 | return true; | 478 | 191 | }; | 479 | | | 480 | 191 | if (col_left.type->get_primitive_type() != col_right.type->get_primitive_type()) { | 481 | 0 | return Status::RuntimeError( | 482 | 0 | "type of left column {} is not equal to type of right column {}", | 483 | 0 | col_left.type->get_name(), col_right.type->get_name()); | 484 | 0 | } | 485 | | | 486 | 191 | if (!dispatch_switch_decimal(col_right.type->get_primitive_type(), call)) { | 487 | 0 | return Status::RuntimeError("Wrong call for {} with {} and {}", get_name(), | 488 | 0 | col_left.type->get_name(), col_right.type->get_name()); | 489 | 0 | } | 490 | 191 | return Status::OK(); | 491 | 191 | } |
|
492 | | |
493 | | Status execute_string(Block& block, uint32_t result, const IColumn* c0, |
494 | 11.9k | const IColumn* c1) const { |
495 | 11.9k | const ColumnString* c0_string = check_and_get_column<ColumnString>(c0); |
496 | 11.9k | const ColumnString* c1_string = check_and_get_column<ColumnString>(c1); |
497 | 11.9k | const ColumnConst* c0_const = check_and_get_column_const_string_or_fixedstring(c0); |
498 | 11.9k | const ColumnConst* c1_const = check_and_get_column_const_string_or_fixedstring(c1); |
499 | 11.9k | if (!((c0_string || c0_const) && (c1_string || c1_const))) { |
500 | 0 | return Status::NotSupported("Illegal columns {}, {} of argument of function {}", |
501 | 0 | c0->get_name(), c1->get_name(), name); |
502 | 0 | } |
503 | 11.9k | DCHECK(!(c0_const && c1_const)); |
504 | 11.9k | const ColumnString::Chars* c0_const_chars = nullptr; |
505 | 11.9k | const ColumnString::Chars* c1_const_chars = nullptr; |
506 | 11.9k | ColumnString::Offset c0_const_size = 0; |
507 | 11.9k | ColumnString::Offset c1_const_size = 0; |
508 | | |
509 | 11.9k | if (c0_const) { |
510 | 6 | const ColumnString* c0_const_string = |
511 | 6 | check_and_get_column<ColumnString>(&c0_const->get_data_column()); |
512 | | |
513 | 6 | if (c0_const_string) { |
514 | 6 | c0_const_chars = &c0_const_string->get_chars(); |
515 | 6 | c0_const_size = c0_const_string->get_offsets()[0]; |
516 | 6 | } else { |
517 | 0 | return Status::NotSupported("Illegal columns {}, of argument of function {}", |
518 | 0 | c0->get_name(), name); |
519 | 0 | } |
520 | 6 | } |
521 | | |
522 | 11.9k | if (c1_const) { |
523 | 10.8k | const ColumnString* c1_const_string = |
524 | 10.8k | check_and_get_column<ColumnString>(&c1_const->get_data_column()); |
525 | | |
526 | 10.8k | if (c1_const_string) { |
527 | 10.8k | c1_const_chars = &c1_const_string->get_chars(); |
528 | 10.8k | c1_const_size = c1_const_string->get_offsets()[0]; |
529 | 10.8k | } else { |
530 | 0 | return Status::NotSupported("Illegal columns {}, of argument of function {}", |
531 | 0 | c1->get_name(), name); |
532 | 0 | } |
533 | 10.8k | } |
534 | | |
535 | 11.9k | using StringImpl = StringComparisonImpl<Op<TYPE_INT>>; |
536 | | |
537 | 11.9k | auto c_res = ColumnUInt8::create(); |
538 | 11.9k | ColumnUInt8::Container& vec_res = c_res->get_data(); |
539 | 11.9k | vec_res.resize(c0->size()); |
540 | | |
541 | 11.9k | if (c0_string && c1_string) { |
542 | 1.02k | StringImpl::string_vector_string_vector( |
543 | 1.02k | c0_string->get_chars(), c0_string->get_offsets(), c1_string->get_chars(), |
544 | 1.02k | c1_string->get_offsets(), vec_res); |
545 | 10.8k | } else if (c0_string && c1_const) { |
546 | 10.8k | StringImpl::string_vector_constant(c0_string->get_chars(), c0_string->get_offsets(), |
547 | 10.8k | *c1_const_chars, c1_const_size, vec_res); |
548 | 10.8k | } else if (c0_const && c1_string) { |
549 | 6 | StringImpl::constant_string_vector(*c0_const_chars, c0_const_size, |
550 | 6 | c1_string->get_chars(), c1_string->get_offsets(), |
551 | 6 | vec_res); |
552 | 6 | } else { |
553 | 0 | return Status::NotSupported("Illegal columns {}, {} of argument of function {}", |
554 | 0 | c0->get_name(), c1->get_name(), name); |
555 | 0 | } |
556 | 11.9k | block.replace_by_position(result, std::move(c_res)); |
557 | 11.9k | return Status::OK(); |
558 | 11.9k | } _ZNK5doris18FunctionComparisonINS_8EqualsOpENS_10NameEqualsEE14execute_stringERNS_5BlockEjPKNS_7IColumnES8_ Line | Count | Source | 494 | 10.5k | const IColumn* c1) const { | 495 | 10.5k | const ColumnString* c0_string = check_and_get_column<ColumnString>(c0); | 496 | 10.5k | const ColumnString* c1_string = check_and_get_column<ColumnString>(c1); | 497 | 10.5k | const ColumnConst* c0_const = check_and_get_column_const_string_or_fixedstring(c0); | 498 | 10.5k | const ColumnConst* c1_const = check_and_get_column_const_string_or_fixedstring(c1); | 499 | 10.5k | if (!((c0_string || c0_const) && (c1_string || c1_const))) { | 500 | 0 | return Status::NotSupported("Illegal columns {}, {} of argument of function {}", | 501 | 0 | c0->get_name(), c1->get_name(), name); | 502 | 0 | } | 503 | 10.5k | DCHECK(!(c0_const && c1_const)); | 504 | 10.5k | const ColumnString::Chars* c0_const_chars = nullptr; | 505 | 10.5k | const ColumnString::Chars* c1_const_chars = nullptr; | 506 | 10.5k | ColumnString::Offset c0_const_size = 0; | 507 | 10.5k | ColumnString::Offset c1_const_size = 0; | 508 | | | 509 | 10.5k | if (c0_const) { | 510 | 0 | const ColumnString* c0_const_string = | 511 | 0 | check_and_get_column<ColumnString>(&c0_const->get_data_column()); | 512 | |
| 513 | 0 | if (c0_const_string) { | 514 | 0 | c0_const_chars = &c0_const_string->get_chars(); | 515 | 0 | c0_const_size = c0_const_string->get_offsets()[0]; | 516 | 0 | } else { | 517 | 0 | return Status::NotSupported("Illegal columns {}, of argument of function {}", | 518 | 0 | c0->get_name(), name); | 519 | 0 | } | 520 | 0 | } | 521 | | | 522 | 10.5k | if (c1_const) { | 523 | 9.97k | const ColumnString* c1_const_string = | 524 | 9.97k | check_and_get_column<ColumnString>(&c1_const->get_data_column()); | 525 | | | 526 | 9.97k | if (c1_const_string) { | 527 | 9.97k | c1_const_chars = &c1_const_string->get_chars(); | 528 | 9.97k | c1_const_size = c1_const_string->get_offsets()[0]; | 529 | 9.97k | } else { | 530 | 0 | return Status::NotSupported("Illegal columns {}, of argument of function {}", | 531 | 0 | c1->get_name(), name); | 532 | 0 | } | 533 | 9.97k | } | 534 | | | 535 | 10.5k | using StringImpl = StringComparisonImpl<Op<TYPE_INT>>; | 536 | | | 537 | 10.5k | auto c_res = ColumnUInt8::create(); | 538 | 10.5k | ColumnUInt8::Container& vec_res = c_res->get_data(); | 539 | 10.5k | vec_res.resize(c0->size()); | 540 | | | 541 | 10.5k | if (c0_string && c1_string) { | 542 | 529 | StringImpl::string_vector_string_vector( | 543 | 529 | c0_string->get_chars(), c0_string->get_offsets(), c1_string->get_chars(), | 544 | 529 | c1_string->get_offsets(), vec_res); | 545 | 9.97k | } else if (c0_string && c1_const) { | 546 | 9.97k | StringImpl::string_vector_constant(c0_string->get_chars(), c0_string->get_offsets(), | 547 | 9.97k | *c1_const_chars, c1_const_size, vec_res); | 548 | 9.97k | } else if (c0_const && c1_string) { | 549 | 0 | StringImpl::constant_string_vector(*c0_const_chars, c0_const_size, | 550 | 0 | c1_string->get_chars(), c1_string->get_offsets(), | 551 | 0 | vec_res); | 552 | 0 | } else { | 553 | 0 | return Status::NotSupported("Illegal columns {}, {} of argument of function {}", | 554 | 0 | c0->get_name(), c1->get_name(), name); | 555 | 0 | } | 556 | 10.5k | block.replace_by_position(result, std::move(c_res)); | 557 | 10.5k | return Status::OK(); | 558 | 10.5k | } |
_ZNK5doris18FunctionComparisonINS_11NotEqualsOpENS_13NameNotEqualsEE14execute_stringERNS_5BlockEjPKNS_7IColumnES8_ Line | Count | Source | 494 | 90 | const IColumn* c1) const { | 495 | 90 | const ColumnString* c0_string = check_and_get_column<ColumnString>(c0); | 496 | 90 | const ColumnString* c1_string = check_and_get_column<ColumnString>(c1); | 497 | 90 | const ColumnConst* c0_const = check_and_get_column_const_string_or_fixedstring(c0); | 498 | 90 | const ColumnConst* c1_const = check_and_get_column_const_string_or_fixedstring(c1); | 499 | 90 | if (!((c0_string || c0_const) && (c1_string || c1_const))) { | 500 | 0 | return Status::NotSupported("Illegal columns {}, {} of argument of function {}", | 501 | 0 | c0->get_name(), c1->get_name(), name); | 502 | 0 | } | 503 | 90 | DCHECK(!(c0_const && c1_const)); | 504 | 90 | const ColumnString::Chars* c0_const_chars = nullptr; | 505 | 90 | const ColumnString::Chars* c1_const_chars = nullptr; | 506 | 90 | ColumnString::Offset c0_const_size = 0; | 507 | 90 | ColumnString::Offset c1_const_size = 0; | 508 | | | 509 | 90 | if (c0_const) { | 510 | 0 | const ColumnString* c0_const_string = | 511 | 0 | check_and_get_column<ColumnString>(&c0_const->get_data_column()); | 512 | |
| 513 | 0 | if (c0_const_string) { | 514 | 0 | c0_const_chars = &c0_const_string->get_chars(); | 515 | 0 | c0_const_size = c0_const_string->get_offsets()[0]; | 516 | 0 | } else { | 517 | 0 | return Status::NotSupported("Illegal columns {}, of argument of function {}", | 518 | 0 | c0->get_name(), name); | 519 | 0 | } | 520 | 0 | } | 521 | | | 522 | 90 | if (c1_const) { | 523 | 89 | const ColumnString* c1_const_string = | 524 | 89 | check_and_get_column<ColumnString>(&c1_const->get_data_column()); | 525 | | | 526 | 89 | if (c1_const_string) { | 527 | 89 | c1_const_chars = &c1_const_string->get_chars(); | 528 | 89 | c1_const_size = c1_const_string->get_offsets()[0]; | 529 | 89 | } else { | 530 | 0 | return Status::NotSupported("Illegal columns {}, of argument of function {}", | 531 | 0 | c1->get_name(), name); | 532 | 0 | } | 533 | 89 | } | 534 | | | 535 | 90 | using StringImpl = StringComparisonImpl<Op<TYPE_INT>>; | 536 | | | 537 | 90 | auto c_res = ColumnUInt8::create(); | 538 | 90 | ColumnUInt8::Container& vec_res = c_res->get_data(); | 539 | 90 | vec_res.resize(c0->size()); | 540 | | | 541 | 90 | if (c0_string && c1_string) { | 542 | 1 | StringImpl::string_vector_string_vector( | 543 | 1 | c0_string->get_chars(), c0_string->get_offsets(), c1_string->get_chars(), | 544 | 1 | c1_string->get_offsets(), vec_res); | 545 | 89 | } else if (c0_string && c1_const) { | 546 | 89 | StringImpl::string_vector_constant(c0_string->get_chars(), c0_string->get_offsets(), | 547 | 89 | *c1_const_chars, c1_const_size, vec_res); | 548 | 89 | } else if (c0_const && c1_string) { | 549 | 0 | StringImpl::constant_string_vector(*c0_const_chars, c0_const_size, | 550 | 0 | c1_string->get_chars(), c1_string->get_offsets(), | 551 | 0 | vec_res); | 552 | 0 | } else { | 553 | 0 | return Status::NotSupported("Illegal columns {}, {} of argument of function {}", | 554 | 0 | c0->get_name(), c1->get_name(), name); | 555 | 0 | } | 556 | 90 | block.replace_by_position(result, std::move(c_res)); | 557 | 90 | return Status::OK(); | 558 | 90 | } |
_ZNK5doris18FunctionComparisonINS_9GreaterOpENS_11NameGreaterEE14execute_stringERNS_5BlockEjPKNS_7IColumnES8_ Line | Count | Source | 494 | 202 | const IColumn* c1) const { | 495 | 202 | const ColumnString* c0_string = check_and_get_column<ColumnString>(c0); | 496 | 202 | const ColumnString* c1_string = check_and_get_column<ColumnString>(c1); | 497 | 202 | const ColumnConst* c0_const = check_and_get_column_const_string_or_fixedstring(c0); | 498 | 202 | const ColumnConst* c1_const = check_and_get_column_const_string_or_fixedstring(c1); | 499 | 202 | if (!((c0_string || c0_const) && (c1_string || c1_const))) { | 500 | 0 | return Status::NotSupported("Illegal columns {}, {} of argument of function {}", | 501 | 0 | c0->get_name(), c1->get_name(), name); | 502 | 0 | } | 503 | 202 | DCHECK(!(c0_const && c1_const)); | 504 | 202 | const ColumnString::Chars* c0_const_chars = nullptr; | 505 | 202 | const ColumnString::Chars* c1_const_chars = nullptr; | 506 | 202 | ColumnString::Offset c0_const_size = 0; | 507 | 202 | ColumnString::Offset c1_const_size = 0; | 508 | | | 509 | 202 | if (c0_const) { | 510 | 0 | const ColumnString* c0_const_string = | 511 | 0 | check_and_get_column<ColumnString>(&c0_const->get_data_column()); | 512 | |
| 513 | 0 | if (c0_const_string) { | 514 | 0 | c0_const_chars = &c0_const_string->get_chars(); | 515 | 0 | c0_const_size = c0_const_string->get_offsets()[0]; | 516 | 0 | } else { | 517 | 0 | return Status::NotSupported("Illegal columns {}, of argument of function {}", | 518 | 0 | c0->get_name(), name); | 519 | 0 | } | 520 | 0 | } | 521 | | | 522 | 202 | if (c1_const) { | 523 | 200 | const ColumnString* c1_const_string = | 524 | 200 | check_and_get_column<ColumnString>(&c1_const->get_data_column()); | 525 | | | 526 | 200 | if (c1_const_string) { | 527 | 200 | c1_const_chars = &c1_const_string->get_chars(); | 528 | 200 | c1_const_size = c1_const_string->get_offsets()[0]; | 529 | 200 | } else { | 530 | 0 | return Status::NotSupported("Illegal columns {}, of argument of function {}", | 531 | 0 | c1->get_name(), name); | 532 | 0 | } | 533 | 200 | } | 534 | | | 535 | 202 | using StringImpl = StringComparisonImpl<Op<TYPE_INT>>; | 536 | | | 537 | 202 | auto c_res = ColumnUInt8::create(); | 538 | 202 | ColumnUInt8::Container& vec_res = c_res->get_data(); | 539 | 202 | vec_res.resize(c0->size()); | 540 | | | 541 | 202 | if (c0_string && c1_string) { | 542 | 2 | StringImpl::string_vector_string_vector( | 543 | 2 | c0_string->get_chars(), c0_string->get_offsets(), c1_string->get_chars(), | 544 | 2 | c1_string->get_offsets(), vec_res); | 545 | 200 | } else if (c0_string && c1_const) { | 546 | 200 | StringImpl::string_vector_constant(c0_string->get_chars(), c0_string->get_offsets(), | 547 | 200 | *c1_const_chars, c1_const_size, vec_res); | 548 | 200 | } else if (c0_const && c1_string) { | 549 | 0 | StringImpl::constant_string_vector(*c0_const_chars, c0_const_size, | 550 | 0 | c1_string->get_chars(), c1_string->get_offsets(), | 551 | 0 | vec_res); | 552 | 0 | } else { | 553 | 0 | return Status::NotSupported("Illegal columns {}, {} of argument of function {}", | 554 | 0 | c0->get_name(), c1->get_name(), name); | 555 | 0 | } | 556 | 202 | block.replace_by_position(result, std::move(c_res)); | 557 | 202 | return Status::OK(); | 558 | 202 | } |
_ZNK5doris18FunctionComparisonINS_17GreaterOrEqualsOpENS_19NameGreaterOrEqualsEE14execute_stringERNS_5BlockEjPKNS_7IColumnES8_ Line | Count | Source | 494 | 301 | const IColumn* c1) const { | 495 | 301 | const ColumnString* c0_string = check_and_get_column<ColumnString>(c0); | 496 | 301 | const ColumnString* c1_string = check_and_get_column<ColumnString>(c1); | 497 | 301 | const ColumnConst* c0_const = check_and_get_column_const_string_or_fixedstring(c0); | 498 | 301 | const ColumnConst* c1_const = check_and_get_column_const_string_or_fixedstring(c1); | 499 | 301 | if (!((c0_string || c0_const) && (c1_string || c1_const))) { | 500 | 0 | return Status::NotSupported("Illegal columns {}, {} of argument of function {}", | 501 | 0 | c0->get_name(), c1->get_name(), name); | 502 | 0 | } | 503 | 301 | DCHECK(!(c0_const && c1_const)); | 504 | 301 | const ColumnString::Chars* c0_const_chars = nullptr; | 505 | 301 | const ColumnString::Chars* c1_const_chars = nullptr; | 506 | 301 | ColumnString::Offset c0_const_size = 0; | 507 | 301 | ColumnString::Offset c1_const_size = 0; | 508 | | | 509 | 301 | if (c0_const) { | 510 | 0 | const ColumnString* c0_const_string = | 511 | 0 | check_and_get_column<ColumnString>(&c0_const->get_data_column()); | 512 | |
| 513 | 0 | if (c0_const_string) { | 514 | 0 | c0_const_chars = &c0_const_string->get_chars(); | 515 | 0 | c0_const_size = c0_const_string->get_offsets()[0]; | 516 | 0 | } else { | 517 | 0 | return Status::NotSupported("Illegal columns {}, of argument of function {}", | 518 | 0 | c0->get_name(), name); | 519 | 0 | } | 520 | 0 | } | 521 | | | 522 | 301 | if (c1_const) { | 523 | 265 | const ColumnString* c1_const_string = | 524 | 265 | check_and_get_column<ColumnString>(&c1_const->get_data_column()); | 525 | | | 526 | 265 | if (c1_const_string) { | 527 | 265 | c1_const_chars = &c1_const_string->get_chars(); | 528 | 265 | c1_const_size = c1_const_string->get_offsets()[0]; | 529 | 265 | } else { | 530 | 0 | return Status::NotSupported("Illegal columns {}, of argument of function {}", | 531 | 0 | c1->get_name(), name); | 532 | 0 | } | 533 | 265 | } | 534 | | | 535 | 301 | using StringImpl = StringComparisonImpl<Op<TYPE_INT>>; | 536 | | | 537 | 301 | auto c_res = ColumnUInt8::create(); | 538 | 301 | ColumnUInt8::Container& vec_res = c_res->get_data(); | 539 | 301 | vec_res.resize(c0->size()); | 540 | | | 541 | 301 | if (c0_string && c1_string) { | 542 | 36 | StringImpl::string_vector_string_vector( | 543 | 36 | c0_string->get_chars(), c0_string->get_offsets(), c1_string->get_chars(), | 544 | 36 | c1_string->get_offsets(), vec_res); | 545 | 265 | } else if (c0_string && c1_const) { | 546 | 265 | StringImpl::string_vector_constant(c0_string->get_chars(), c0_string->get_offsets(), | 547 | 265 | *c1_const_chars, c1_const_size, vec_res); | 548 | 265 | } else if (c0_const && c1_string) { | 549 | 0 | StringImpl::constant_string_vector(*c0_const_chars, c0_const_size, | 550 | 0 | c1_string->get_chars(), c1_string->get_offsets(), | 551 | 0 | vec_res); | 552 | 0 | } else { | 553 | 0 | return Status::NotSupported("Illegal columns {}, {} of argument of function {}", | 554 | 0 | c0->get_name(), c1->get_name(), name); | 555 | 0 | } | 556 | 301 | block.replace_by_position(result, std::move(c_res)); | 557 | 301 | return Status::OK(); | 558 | 301 | } |
_ZNK5doris18FunctionComparisonINS_6LessOpENS_8NameLessEE14execute_stringERNS_5BlockEjPKNS_7IColumnES8_ Line | Count | Source | 494 | 572 | const IColumn* c1) const { | 495 | 572 | const ColumnString* c0_string = check_and_get_column<ColumnString>(c0); | 496 | 572 | const ColumnString* c1_string = check_and_get_column<ColumnString>(c1); | 497 | 572 | const ColumnConst* c0_const = check_and_get_column_const_string_or_fixedstring(c0); | 498 | 572 | const ColumnConst* c1_const = check_and_get_column_const_string_or_fixedstring(c1); | 499 | 572 | if (!((c0_string || c0_const) && (c1_string || c1_const))) { | 500 | 0 | return Status::NotSupported("Illegal columns {}, {} of argument of function {}", | 501 | 0 | c0->get_name(), c1->get_name(), name); | 502 | 0 | } | 503 | 572 | DCHECK(!(c0_const && c1_const)); | 504 | 572 | const ColumnString::Chars* c0_const_chars = nullptr; | 505 | 572 | const ColumnString::Chars* c1_const_chars = nullptr; | 506 | 572 | ColumnString::Offset c0_const_size = 0; | 507 | 572 | ColumnString::Offset c1_const_size = 0; | 508 | | | 509 | 572 | if (c0_const) { | 510 | 6 | const ColumnString* c0_const_string = | 511 | 6 | check_and_get_column<ColumnString>(&c0_const->get_data_column()); | 512 | | | 513 | 6 | if (c0_const_string) { | 514 | 6 | c0_const_chars = &c0_const_string->get_chars(); | 515 | 6 | c0_const_size = c0_const_string->get_offsets()[0]; | 516 | 6 | } else { | 517 | 0 | return Status::NotSupported("Illegal columns {}, of argument of function {}", | 518 | 0 | c0->get_name(), name); | 519 | 0 | } | 520 | 6 | } | 521 | | | 522 | 572 | if (c1_const) { | 523 | 106 | const ColumnString* c1_const_string = | 524 | 106 | check_and_get_column<ColumnString>(&c1_const->get_data_column()); | 525 | | | 526 | 106 | if (c1_const_string) { | 527 | 106 | c1_const_chars = &c1_const_string->get_chars(); | 528 | 106 | c1_const_size = c1_const_string->get_offsets()[0]; | 529 | 106 | } else { | 530 | 0 | return Status::NotSupported("Illegal columns {}, of argument of function {}", | 531 | 0 | c1->get_name(), name); | 532 | 0 | } | 533 | 106 | } | 534 | | | 535 | 572 | using StringImpl = StringComparisonImpl<Op<TYPE_INT>>; | 536 | | | 537 | 572 | auto c_res = ColumnUInt8::create(); | 538 | 572 | ColumnUInt8::Container& vec_res = c_res->get_data(); | 539 | 572 | vec_res.resize(c0->size()); | 540 | | | 541 | 572 | if (c0_string && c1_string) { | 542 | 460 | StringImpl::string_vector_string_vector( | 543 | 460 | c0_string->get_chars(), c0_string->get_offsets(), c1_string->get_chars(), | 544 | 460 | c1_string->get_offsets(), vec_res); | 545 | 460 | } else if (c0_string && c1_const) { | 546 | 106 | StringImpl::string_vector_constant(c0_string->get_chars(), c0_string->get_offsets(), | 547 | 106 | *c1_const_chars, c1_const_size, vec_res); | 548 | 106 | } else if (c0_const && c1_string) { | 549 | 6 | StringImpl::constant_string_vector(*c0_const_chars, c0_const_size, | 550 | 6 | c1_string->get_chars(), c1_string->get_offsets(), | 551 | 6 | vec_res); | 552 | 6 | } else { | 553 | 0 | return Status::NotSupported("Illegal columns {}, {} of argument of function {}", | 554 | 0 | c0->get_name(), c1->get_name(), name); | 555 | 0 | } | 556 | 572 | block.replace_by_position(result, std::move(c_res)); | 557 | 572 | return Status::OK(); | 558 | 572 | } |
_ZNK5doris18FunctionComparisonINS_14LessOrEqualsOpENS_16NameLessOrEqualsEE14execute_stringERNS_5BlockEjPKNS_7IColumnES8_ Line | Count | Source | 494 | 243 | const IColumn* c1) const { | 495 | 243 | const ColumnString* c0_string = check_and_get_column<ColumnString>(c0); | 496 | 243 | const ColumnString* c1_string = check_and_get_column<ColumnString>(c1); | 497 | 243 | const ColumnConst* c0_const = check_and_get_column_const_string_or_fixedstring(c0); | 498 | 243 | const ColumnConst* c1_const = check_and_get_column_const_string_or_fixedstring(c1); | 499 | 243 | if (!((c0_string || c0_const) && (c1_string || c1_const))) { | 500 | 0 | return Status::NotSupported("Illegal columns {}, {} of argument of function {}", | 501 | 0 | c0->get_name(), c1->get_name(), name); | 502 | 0 | } | 503 | 243 | DCHECK(!(c0_const && c1_const)); | 504 | 243 | const ColumnString::Chars* c0_const_chars = nullptr; | 505 | 243 | const ColumnString::Chars* c1_const_chars = nullptr; | 506 | 243 | ColumnString::Offset c0_const_size = 0; | 507 | 243 | ColumnString::Offset c1_const_size = 0; | 508 | | | 509 | 243 | if (c0_const) { | 510 | 0 | const ColumnString* c0_const_string = | 511 | 0 | check_and_get_column<ColumnString>(&c0_const->get_data_column()); | 512 | |
| 513 | 0 | if (c0_const_string) { | 514 | 0 | c0_const_chars = &c0_const_string->get_chars(); | 515 | 0 | c0_const_size = c0_const_string->get_offsets()[0]; | 516 | 0 | } else { | 517 | 0 | return Status::NotSupported("Illegal columns {}, of argument of function {}", | 518 | 0 | c0->get_name(), name); | 519 | 0 | } | 520 | 0 | } | 521 | | | 522 | 243 | if (c1_const) { | 523 | 243 | const ColumnString* c1_const_string = | 524 | 243 | check_and_get_column<ColumnString>(&c1_const->get_data_column()); | 525 | | | 526 | 243 | if (c1_const_string) { | 527 | 243 | c1_const_chars = &c1_const_string->get_chars(); | 528 | 243 | c1_const_size = c1_const_string->get_offsets()[0]; | 529 | 243 | } else { | 530 | 0 | return Status::NotSupported("Illegal columns {}, of argument of function {}", | 531 | 0 | c1->get_name(), name); | 532 | 0 | } | 533 | 243 | } | 534 | | | 535 | 243 | using StringImpl = StringComparisonImpl<Op<TYPE_INT>>; | 536 | | | 537 | 243 | auto c_res = ColumnUInt8::create(); | 538 | 243 | ColumnUInt8::Container& vec_res = c_res->get_data(); | 539 | 243 | vec_res.resize(c0->size()); | 540 | | | 541 | 243 | if (c0_string && c1_string) { | 542 | 0 | StringImpl::string_vector_string_vector( | 543 | 0 | c0_string->get_chars(), c0_string->get_offsets(), c1_string->get_chars(), | 544 | 0 | c1_string->get_offsets(), vec_res); | 545 | 243 | } else if (c0_string && c1_const) { | 546 | 243 | StringImpl::string_vector_constant(c0_string->get_chars(), c0_string->get_offsets(), | 547 | 243 | *c1_const_chars, c1_const_size, vec_res); | 548 | 243 | } else if (c0_const && c1_string) { | 549 | 0 | StringImpl::constant_string_vector(*c0_const_chars, c0_const_size, | 550 | 0 | c1_string->get_chars(), c1_string->get_offsets(), | 551 | 0 | vec_res); | 552 | 0 | } else { | 553 | 0 | return Status::NotSupported("Illegal columns {}, {} of argument of function {}", | 554 | 0 | c0->get_name(), c1->get_name(), name); | 555 | 0 | } | 556 | 243 | block.replace_by_position(result, std::move(c_res)); | 557 | 243 | return Status::OK(); | 558 | 243 | } |
|
559 | | |
560 | | void execute_generic_identical_types(Block& block, uint32_t result, const IColumn* c0, |
561 | 152 | const IColumn* c1) const { |
562 | 152 | bool c0_const = is_column_const(*c0); |
563 | 152 | bool c1_const = is_column_const(*c1); |
564 | | |
565 | 152 | DCHECK(!(c0_const && c1_const)); |
566 | | |
567 | 152 | auto c_res = ColumnUInt8::create(); |
568 | 152 | ColumnUInt8::Container& vec_res = c_res->get_data(); |
569 | 152 | vec_res.resize(c0->size()); |
570 | | |
571 | 152 | if (c0_const) { |
572 | 0 | GenericComparisonImpl<Op<TYPE_INT>>::constant_vector(*c0, *c1, vec_res); |
573 | 152 | } else if (c1_const) { |
574 | 143 | GenericComparisonImpl<Op<TYPE_INT>>::vector_constant(*c0, *c1, vec_res); |
575 | 143 | } else { |
576 | 9 | GenericComparisonImpl<Op<TYPE_INT>>::vector_vector(*c0, *c1, vec_res); |
577 | 9 | } |
578 | | |
579 | 152 | block.replace_by_position(result, std::move(c_res)); |
580 | 152 | } _ZNK5doris18FunctionComparisonINS_8EqualsOpENS_10NameEqualsEE31execute_generic_identical_typesERNS_5BlockEjPKNS_7IColumnES8_ Line | Count | Source | 561 | 17 | const IColumn* c1) const { | 562 | 17 | bool c0_const = is_column_const(*c0); | 563 | 17 | bool c1_const = is_column_const(*c1); | 564 | | | 565 | 17 | DCHECK(!(c0_const && c1_const)); | 566 | | | 567 | 17 | auto c_res = ColumnUInt8::create(); | 568 | 17 | ColumnUInt8::Container& vec_res = c_res->get_data(); | 569 | 17 | vec_res.resize(c0->size()); | 570 | | | 571 | 17 | if (c0_const) { | 572 | 0 | GenericComparisonImpl<Op<TYPE_INT>>::constant_vector(*c0, *c1, vec_res); | 573 | 17 | } else if (c1_const) { | 574 | 13 | GenericComparisonImpl<Op<TYPE_INT>>::vector_constant(*c0, *c1, vec_res); | 575 | 13 | } else { | 576 | 4 | GenericComparisonImpl<Op<TYPE_INT>>::vector_vector(*c0, *c1, vec_res); | 577 | 4 | } | 578 | | | 579 | 17 | block.replace_by_position(result, std::move(c_res)); | 580 | 17 | } |
_ZNK5doris18FunctionComparisonINS_11NotEqualsOpENS_13NameNotEqualsEE31execute_generic_identical_typesERNS_5BlockEjPKNS_7IColumnES8_ Line | Count | Source | 561 | 8 | const IColumn* c1) const { | 562 | 8 | bool c0_const = is_column_const(*c0); | 563 | 8 | bool c1_const = is_column_const(*c1); | 564 | | | 565 | 8 | DCHECK(!(c0_const && c1_const)); | 566 | | | 567 | 8 | auto c_res = ColumnUInt8::create(); | 568 | 8 | ColumnUInt8::Container& vec_res = c_res->get_data(); | 569 | 8 | vec_res.resize(c0->size()); | 570 | | | 571 | 8 | if (c0_const) { | 572 | 0 | GenericComparisonImpl<Op<TYPE_INT>>::constant_vector(*c0, *c1, vec_res); | 573 | 8 | } else if (c1_const) { | 574 | 8 | GenericComparisonImpl<Op<TYPE_INT>>::vector_constant(*c0, *c1, vec_res); | 575 | 8 | } else { | 576 | 0 | GenericComparisonImpl<Op<TYPE_INT>>::vector_vector(*c0, *c1, vec_res); | 577 | 0 | } | 578 | | | 579 | 8 | block.replace_by_position(result, std::move(c_res)); | 580 | 8 | } |
_ZNK5doris18FunctionComparisonINS_9GreaterOpENS_11NameGreaterEE31execute_generic_identical_typesERNS_5BlockEjPKNS_7IColumnES8_ Line | Count | Source | 561 | 9 | const IColumn* c1) const { | 562 | 9 | bool c0_const = is_column_const(*c0); | 563 | 9 | bool c1_const = is_column_const(*c1); | 564 | | | 565 | 9 | DCHECK(!(c0_const && c1_const)); | 566 | | | 567 | 9 | auto c_res = ColumnUInt8::create(); | 568 | 9 | ColumnUInt8::Container& vec_res = c_res->get_data(); | 569 | 9 | vec_res.resize(c0->size()); | 570 | | | 571 | 9 | if (c0_const) { | 572 | 0 | GenericComparisonImpl<Op<TYPE_INT>>::constant_vector(*c0, *c1, vec_res); | 573 | 9 | } else if (c1_const) { | 574 | 8 | GenericComparisonImpl<Op<TYPE_INT>>::vector_constant(*c0, *c1, vec_res); | 575 | 8 | } else { | 576 | 1 | GenericComparisonImpl<Op<TYPE_INT>>::vector_vector(*c0, *c1, vec_res); | 577 | 1 | } | 578 | | | 579 | 9 | block.replace_by_position(result, std::move(c_res)); | 580 | 9 | } |
_ZNK5doris18FunctionComparisonINS_17GreaterOrEqualsOpENS_19NameGreaterOrEqualsEE31execute_generic_identical_typesERNS_5BlockEjPKNS_7IColumnES8_ Line | Count | Source | 561 | 60 | const IColumn* c1) const { | 562 | 60 | bool c0_const = is_column_const(*c0); | 563 | 60 | bool c1_const = is_column_const(*c1); | 564 | | | 565 | 60 | DCHECK(!(c0_const && c1_const)); | 566 | | | 567 | 60 | auto c_res = ColumnUInt8::create(); | 568 | 60 | ColumnUInt8::Container& vec_res = c_res->get_data(); | 569 | 60 | vec_res.resize(c0->size()); | 570 | | | 571 | 60 | if (c0_const) { | 572 | 0 | GenericComparisonImpl<Op<TYPE_INT>>::constant_vector(*c0, *c1, vec_res); | 573 | 60 | } else if (c1_const) { | 574 | 59 | GenericComparisonImpl<Op<TYPE_INT>>::vector_constant(*c0, *c1, vec_res); | 575 | 59 | } else { | 576 | 1 | GenericComparisonImpl<Op<TYPE_INT>>::vector_vector(*c0, *c1, vec_res); | 577 | 1 | } | 578 | | | 579 | 60 | block.replace_by_position(result, std::move(c_res)); | 580 | 60 | } |
_ZNK5doris18FunctionComparisonINS_6LessOpENS_8NameLessEE31execute_generic_identical_typesERNS_5BlockEjPKNS_7IColumnES8_ Line | Count | Source | 561 | 11 | const IColumn* c1) const { | 562 | 11 | bool c0_const = is_column_const(*c0); | 563 | 11 | bool c1_const = is_column_const(*c1); | 564 | | | 565 | 11 | DCHECK(!(c0_const && c1_const)); | 566 | | | 567 | 11 | auto c_res = ColumnUInt8::create(); | 568 | 11 | ColumnUInt8::Container& vec_res = c_res->get_data(); | 569 | 11 | vec_res.resize(c0->size()); | 570 | | | 571 | 11 | if (c0_const) { | 572 | 0 | GenericComparisonImpl<Op<TYPE_INT>>::constant_vector(*c0, *c1, vec_res); | 573 | 11 | } else if (c1_const) { | 574 | 8 | GenericComparisonImpl<Op<TYPE_INT>>::vector_constant(*c0, *c1, vec_res); | 575 | 8 | } else { | 576 | 3 | GenericComparisonImpl<Op<TYPE_INT>>::vector_vector(*c0, *c1, vec_res); | 577 | 3 | } | 578 | | | 579 | 11 | block.replace_by_position(result, std::move(c_res)); | 580 | 11 | } |
_ZNK5doris18FunctionComparisonINS_14LessOrEqualsOpENS_16NameLessOrEqualsEE31execute_generic_identical_typesERNS_5BlockEjPKNS_7IColumnES8_ Line | Count | Source | 561 | 47 | const IColumn* c1) const { | 562 | 47 | bool c0_const = is_column_const(*c0); | 563 | 47 | bool c1_const = is_column_const(*c1); | 564 | | | 565 | 47 | DCHECK(!(c0_const && c1_const)); | 566 | | | 567 | 47 | auto c_res = ColumnUInt8::create(); | 568 | 47 | ColumnUInt8::Container& vec_res = c_res->get_data(); | 569 | 47 | vec_res.resize(c0->size()); | 570 | | | 571 | 47 | if (c0_const) { | 572 | 0 | GenericComparisonImpl<Op<TYPE_INT>>::constant_vector(*c0, *c1, vec_res); | 573 | 47 | } else if (c1_const) { | 574 | 47 | GenericComparisonImpl<Op<TYPE_INT>>::vector_constant(*c0, *c1, vec_res); | 575 | 47 | } else { | 576 | 0 | GenericComparisonImpl<Op<TYPE_INT>>::vector_vector(*c0, *c1, vec_res); | 577 | 0 | } | 578 | | | 579 | 47 | block.replace_by_position(result, std::move(c_res)); | 580 | 47 | } |
|
581 | | |
582 | | Status execute_generic(Block& block, uint32_t result, const ColumnWithTypeAndName& c0, |
583 | 152 | const ColumnWithTypeAndName& c1) const { |
584 | 152 | execute_generic_identical_types(block, result, c0.column.get(), c1.column.get()); |
585 | 152 | return Status::OK(); |
586 | 152 | } _ZNK5doris18FunctionComparisonINS_8EqualsOpENS_10NameEqualsEE15execute_genericERNS_5BlockEjRKNS_21ColumnWithTypeAndNameES8_ Line | Count | Source | 583 | 17 | const ColumnWithTypeAndName& c1) const { | 584 | 17 | execute_generic_identical_types(block, result, c0.column.get(), c1.column.get()); | 585 | 17 | return Status::OK(); | 586 | 17 | } |
_ZNK5doris18FunctionComparisonINS_11NotEqualsOpENS_13NameNotEqualsEE15execute_genericERNS_5BlockEjRKNS_21ColumnWithTypeAndNameES8_ Line | Count | Source | 583 | 8 | const ColumnWithTypeAndName& c1) const { | 584 | 8 | execute_generic_identical_types(block, result, c0.column.get(), c1.column.get()); | 585 | 8 | return Status::OK(); | 586 | 8 | } |
_ZNK5doris18FunctionComparisonINS_9GreaterOpENS_11NameGreaterEE15execute_genericERNS_5BlockEjRKNS_21ColumnWithTypeAndNameES8_ Line | Count | Source | 583 | 9 | const ColumnWithTypeAndName& c1) const { | 584 | 9 | execute_generic_identical_types(block, result, c0.column.get(), c1.column.get()); | 585 | 9 | return Status::OK(); | 586 | 9 | } |
_ZNK5doris18FunctionComparisonINS_17GreaterOrEqualsOpENS_19NameGreaterOrEqualsEE15execute_genericERNS_5BlockEjRKNS_21ColumnWithTypeAndNameES8_ Line | Count | Source | 583 | 60 | const ColumnWithTypeAndName& c1) const { | 584 | 60 | execute_generic_identical_types(block, result, c0.column.get(), c1.column.get()); | 585 | 60 | return Status::OK(); | 586 | 60 | } |
_ZNK5doris18FunctionComparisonINS_6LessOpENS_8NameLessEE15execute_genericERNS_5BlockEjRKNS_21ColumnWithTypeAndNameES8_ Line | Count | Source | 583 | 11 | const ColumnWithTypeAndName& c1) const { | 584 | 11 | execute_generic_identical_types(block, result, c0.column.get(), c1.column.get()); | 585 | 11 | return Status::OK(); | 586 | 11 | } |
_ZNK5doris18FunctionComparisonINS_14LessOrEqualsOpENS_16NameLessOrEqualsEE15execute_genericERNS_5BlockEjRKNS_21ColumnWithTypeAndNameES8_ Line | Count | Source | 583 | 47 | const ColumnWithTypeAndName& c1) const { | 584 | 47 | execute_generic_identical_types(block, result, c0.column.get(), c1.column.get()); | 585 | 47 | return Status::OK(); | 586 | 47 | } |
|
587 | | |
588 | | public: |
589 | 221 | String get_name() const override { return name; }_ZNK5doris18FunctionComparisonINS_8EqualsOpENS_10NameEqualsEE8get_nameB5cxx11Ev Line | Count | Source | 589 | 63 | String get_name() const override { return name; } |
_ZNK5doris18FunctionComparisonINS_11NotEqualsOpENS_13NameNotEqualsEE8get_nameB5cxx11Ev Line | Count | Source | 589 | 37 | String get_name() const override { return name; } |
_ZNK5doris18FunctionComparisonINS_9GreaterOpENS_11NameGreaterEE8get_nameB5cxx11Ev Line | Count | Source | 589 | 39 | String get_name() const override { return name; } |
_ZNK5doris18FunctionComparisonINS_17GreaterOrEqualsOpENS_19NameGreaterOrEqualsEE8get_nameB5cxx11Ev Line | Count | Source | 589 | 80 | String get_name() const override { return name; } |
_ZNK5doris18FunctionComparisonINS_6LessOpENS_8NameLessEE8get_nameB5cxx11Ev Line | Count | Source | 589 | 1 | String get_name() const override { return name; } |
_ZNK5doris18FunctionComparisonINS_14LessOrEqualsOpENS_16NameLessOrEqualsEE8get_nameB5cxx11Ev Line | Count | Source | 589 | 1 | String get_name() const override { return name; } |
|
590 | | |
591 | 265k | size_t get_number_of_arguments() const override { return 2; }_ZNK5doris18FunctionComparisonINS_8EqualsOpENS_10NameEqualsEE23get_number_of_argumentsEv Line | Count | Source | 591 | 240k | size_t get_number_of_arguments() const override { return 2; } |
_ZNK5doris18FunctionComparisonINS_11NotEqualsOpENS_13NameNotEqualsEE23get_number_of_argumentsEv Line | Count | Source | 591 | 1.14k | size_t get_number_of_arguments() const override { return 2; } |
_ZNK5doris18FunctionComparisonINS_9GreaterOpENS_11NameGreaterEE23get_number_of_argumentsEv Line | Count | Source | 591 | 4.87k | size_t get_number_of_arguments() const override { return 2; } |
_ZNK5doris18FunctionComparisonINS_17GreaterOrEqualsOpENS_19NameGreaterOrEqualsEE23get_number_of_argumentsEv Line | Count | Source | 591 | 6.62k | size_t get_number_of_arguments() const override { return 2; } |
_ZNK5doris18FunctionComparisonINS_6LessOpENS_8NameLessEE23get_number_of_argumentsEv Line | Count | Source | 591 | 2.96k | size_t get_number_of_arguments() const override { return 2; } |
_ZNK5doris18FunctionComparisonINS_14LessOrEqualsOpENS_16NameLessOrEqualsEE23get_number_of_argumentsEv Line | Count | Source | 591 | 9.27k | size_t get_number_of_arguments() const override { return 2; } |
|
592 | | |
593 | | ZoneMapFilterResult evaluate_zonemap_filter(const ZoneMapEvalContext& ctx, |
594 | 2.69k | const VExprSPtrs& arguments) const override { |
595 | 2.69k | auto op = comparison_zonemap_detail::op_from_name(name); |
596 | 2.69k | DORIS_CHECK(op.has_value()); |
597 | 2.69k | return comparison_zonemap_detail::evaluate(ctx, arguments, *op); |
598 | 2.69k | } _ZNK5doris18FunctionComparisonINS_8EqualsOpENS_10NameEqualsEE23evaluate_zonemap_filterERKNS_18ZoneMapEvalContextERKSt6vectorISt10shared_ptrINS_5VExprEESaISA_EE Line | Count | Source | 594 | 1.63k | const VExprSPtrs& arguments) const override { | 595 | 1.63k | auto op = comparison_zonemap_detail::op_from_name(name); | 596 | 1.63k | DORIS_CHECK(op.has_value()); | 597 | 1.63k | return comparison_zonemap_detail::evaluate(ctx, arguments, *op); | 598 | 1.63k | } |
_ZNK5doris18FunctionComparisonINS_11NotEqualsOpENS_13NameNotEqualsEE23evaluate_zonemap_filterERKNS_18ZoneMapEvalContextERKSt6vectorISt10shared_ptrINS_5VExprEESaISA_EE Line | Count | Source | 594 | 138 | const VExprSPtrs& arguments) const override { | 595 | 138 | auto op = comparison_zonemap_detail::op_from_name(name); | 596 | 138 | DORIS_CHECK(op.has_value()); | 597 | 138 | return comparison_zonemap_detail::evaluate(ctx, arguments, *op); | 598 | 138 | } |
_ZNK5doris18FunctionComparisonINS_9GreaterOpENS_11NameGreaterEE23evaluate_zonemap_filterERKNS_18ZoneMapEvalContextERKSt6vectorISt10shared_ptrINS_5VExprEESaISA_EE Line | Count | Source | 594 | 220 | const VExprSPtrs& arguments) const override { | 595 | 220 | auto op = comparison_zonemap_detail::op_from_name(name); | 596 | 220 | DORIS_CHECK(op.has_value()); | 597 | 220 | return comparison_zonemap_detail::evaluate(ctx, arguments, *op); | 598 | 220 | } |
_ZNK5doris18FunctionComparisonINS_17GreaterOrEqualsOpENS_19NameGreaterOrEqualsEE23evaluate_zonemap_filterERKNS_18ZoneMapEvalContextERKSt6vectorISt10shared_ptrINS_5VExprEESaISA_EE Line | Count | Source | 594 | 247 | const VExprSPtrs& arguments) const override { | 595 | 247 | auto op = comparison_zonemap_detail::op_from_name(name); | 596 | 247 | DORIS_CHECK(op.has_value()); | 597 | 247 | return comparison_zonemap_detail::evaluate(ctx, arguments, *op); | 598 | 247 | } |
_ZNK5doris18FunctionComparisonINS_6LessOpENS_8NameLessEE23evaluate_zonemap_filterERKNS_18ZoneMapEvalContextERKSt6vectorISt10shared_ptrINS_5VExprEESaISA_EE Line | Count | Source | 594 | 263 | const VExprSPtrs& arguments) const override { | 595 | 263 | auto op = comparison_zonemap_detail::op_from_name(name); | 596 | 263 | DORIS_CHECK(op.has_value()); | 597 | 263 | return comparison_zonemap_detail::evaluate(ctx, arguments, *op); | 598 | 263 | } |
_ZNK5doris18FunctionComparisonINS_14LessOrEqualsOpENS_16NameLessOrEqualsEE23evaluate_zonemap_filterERKNS_18ZoneMapEvalContextERKSt6vectorISt10shared_ptrINS_5VExprEESaISA_EE Line | Count | Source | 594 | 193 | const VExprSPtrs& arguments) const override { | 595 | 193 | auto op = comparison_zonemap_detail::op_from_name(name); | 596 | 193 | DORIS_CHECK(op.has_value()); | 597 | 193 | return comparison_zonemap_detail::evaluate(ctx, arguments, *op); | 598 | 193 | } |
|
599 | | |
600 | 28.6k | bool can_evaluate_zonemap_filter(const VExprSPtrs& arguments) const override { |
601 | 28.6k | return comparison_zonemap_detail::op_from_name(name).has_value() && |
602 | 28.6k | comparison_zonemap_detail::can_evaluate(arguments); |
603 | 28.6k | } _ZNK5doris18FunctionComparisonINS_8EqualsOpENS_10NameEqualsEE27can_evaluate_zonemap_filterERKSt6vectorISt10shared_ptrINS_5VExprEESaIS7_EE Line | Count | Source | 600 | 14.4k | bool can_evaluate_zonemap_filter(const VExprSPtrs& arguments) const override { | 601 | 14.4k | return comparison_zonemap_detail::op_from_name(name).has_value() && | 602 | 14.4k | comparison_zonemap_detail::can_evaluate(arguments); | 603 | 14.4k | } |
_ZNK5doris18FunctionComparisonINS_11NotEqualsOpENS_13NameNotEqualsEE27can_evaluate_zonemap_filterERKSt6vectorISt10shared_ptrINS_5VExprEESaIS7_EE Line | Count | Source | 600 | 1.25k | bool can_evaluate_zonemap_filter(const VExprSPtrs& arguments) const override { | 601 | 1.25k | return comparison_zonemap_detail::op_from_name(name).has_value() && | 602 | 1.25k | comparison_zonemap_detail::can_evaluate(arguments); | 603 | 1.25k | } |
_ZNK5doris18FunctionComparisonINS_9GreaterOpENS_11NameGreaterEE27can_evaluate_zonemap_filterERKSt6vectorISt10shared_ptrINS_5VExprEESaIS7_EE Line | Count | Source | 600 | 4.74k | bool can_evaluate_zonemap_filter(const VExprSPtrs& arguments) const override { | 601 | 4.74k | return comparison_zonemap_detail::op_from_name(name).has_value() && | 602 | 4.75k | comparison_zonemap_detail::can_evaluate(arguments); | 603 | 4.74k | } |
_ZNK5doris18FunctionComparisonINS_17GreaterOrEqualsOpENS_19NameGreaterOrEqualsEE27can_evaluate_zonemap_filterERKSt6vectorISt10shared_ptrINS_5VExprEESaIS7_EE Line | Count | Source | 600 | 3.54k | bool can_evaluate_zonemap_filter(const VExprSPtrs& arguments) const override { | 601 | 3.54k | return comparison_zonemap_detail::op_from_name(name).has_value() && | 602 | 3.54k | comparison_zonemap_detail::can_evaluate(arguments); | 603 | 3.54k | } |
_ZNK5doris18FunctionComparisonINS_6LessOpENS_8NameLessEE27can_evaluate_zonemap_filterERKSt6vectorISt10shared_ptrINS_5VExprEESaIS7_EE Line | Count | Source | 600 | 2.99k | bool can_evaluate_zonemap_filter(const VExprSPtrs& arguments) const override { | 601 | 2.99k | return comparison_zonemap_detail::op_from_name(name).has_value() && | 602 | 2.99k | comparison_zonemap_detail::can_evaluate(arguments); | 603 | 2.99k | } |
_ZNK5doris18FunctionComparisonINS_14LessOrEqualsOpENS_16NameLessOrEqualsEE27can_evaluate_zonemap_filterERKSt6vectorISt10shared_ptrINS_5VExprEESaIS7_EE Line | Count | Source | 600 | 1.66k | bool can_evaluate_zonemap_filter(const VExprSPtrs& arguments) const override { | 601 | 1.66k | return comparison_zonemap_detail::op_from_name(name).has_value() && | 602 | 1.66k | comparison_zonemap_detail::can_evaluate(arguments); | 603 | 1.66k | } |
|
604 | | |
605 | | ZoneMapFilterResult evaluate_dictionary_filter(const DictionaryEvalContext& ctx, |
606 | 4 | const VExprSPtrs& arguments) const override { |
607 | 4 | auto op = comparison_zonemap_detail::op_from_name(name); |
608 | 4 | DORIS_CHECK(op.has_value()); |
609 | 4 | return comparison_zonemap_detail::evaluate_dictionary(ctx, arguments, *op); |
610 | 4 | } _ZNK5doris18FunctionComparisonINS_8EqualsOpENS_10NameEqualsEE26evaluate_dictionary_filterERKNS_12expr_zonemap21DictionaryEvalContextERKSt6vectorISt10shared_ptrINS_5VExprEESaISB_EE Line | Count | Source | 606 | 4 | const VExprSPtrs& arguments) const override { | 607 | 4 | auto op = comparison_zonemap_detail::op_from_name(name); | 608 | 4 | DORIS_CHECK(op.has_value()); | 609 | 4 | return comparison_zonemap_detail::evaluate_dictionary(ctx, arguments, *op); | 610 | 4 | } |
Unexecuted instantiation: _ZNK5doris18FunctionComparisonINS_11NotEqualsOpENS_13NameNotEqualsEE26evaluate_dictionary_filterERKNS_12expr_zonemap21DictionaryEvalContextERKSt6vectorISt10shared_ptrINS_5VExprEESaISB_EE Unexecuted instantiation: _ZNK5doris18FunctionComparisonINS_9GreaterOpENS_11NameGreaterEE26evaluate_dictionary_filterERKNS_12expr_zonemap21DictionaryEvalContextERKSt6vectorISt10shared_ptrINS_5VExprEESaISB_EE Unexecuted instantiation: _ZNK5doris18FunctionComparisonINS_17GreaterOrEqualsOpENS_19NameGreaterOrEqualsEE26evaluate_dictionary_filterERKNS_12expr_zonemap21DictionaryEvalContextERKSt6vectorISt10shared_ptrINS_5VExprEESaISB_EE Unexecuted instantiation: _ZNK5doris18FunctionComparisonINS_6LessOpENS_8NameLessEE26evaluate_dictionary_filterERKNS_12expr_zonemap21DictionaryEvalContextERKSt6vectorISt10shared_ptrINS_5VExprEESaISB_EE Unexecuted instantiation: _ZNK5doris18FunctionComparisonINS_14LessOrEqualsOpENS_16NameLessOrEqualsEE26evaluate_dictionary_filterERKNS_12expr_zonemap21DictionaryEvalContextERKSt6vectorISt10shared_ptrINS_5VExprEESaISB_EE |
611 | | |
612 | 18 | bool can_evaluate_dictionary_filter(const VExprSPtrs& arguments) const override { |
613 | 18 | auto op = comparison_zonemap_detail::op_from_name(name); |
614 | 18 | return op.has_value() && comparison_zonemap_detail::can_evaluate_equality(arguments, *op); |
615 | 18 | } _ZNK5doris18FunctionComparisonINS_8EqualsOpENS_10NameEqualsEE30can_evaluate_dictionary_filterERKSt6vectorISt10shared_ptrINS_5VExprEESaIS7_EE Line | Count | Source | 612 | 3 | bool can_evaluate_dictionary_filter(const VExprSPtrs& arguments) const override { | 613 | 3 | auto op = comparison_zonemap_detail::op_from_name(name); | 614 | 3 | return op.has_value() && comparison_zonemap_detail::can_evaluate_equality(arguments, *op); | 615 | 3 | } |
_ZNK5doris18FunctionComparisonINS_11NotEqualsOpENS_13NameNotEqualsEE30can_evaluate_dictionary_filterERKSt6vectorISt10shared_ptrINS_5VExprEESaIS7_EE Line | Count | Source | 612 | 1 | bool can_evaluate_dictionary_filter(const VExprSPtrs& arguments) const override { | 613 | 1 | auto op = comparison_zonemap_detail::op_from_name(name); | 614 | 1 | return op.has_value() && comparison_zonemap_detail::can_evaluate_equality(arguments, *op); | 615 | 1 | } |
_ZNK5doris18FunctionComparisonINS_9GreaterOpENS_11NameGreaterEE30can_evaluate_dictionary_filterERKSt6vectorISt10shared_ptrINS_5VExprEESaIS7_EE Line | Count | Source | 612 | 14 | bool can_evaluate_dictionary_filter(const VExprSPtrs& arguments) const override { | 613 | 14 | auto op = comparison_zonemap_detail::op_from_name(name); | 614 | 14 | return op.has_value() && comparison_zonemap_detail::can_evaluate_equality(arguments, *op); | 615 | 14 | } |
Unexecuted instantiation: _ZNK5doris18FunctionComparisonINS_17GreaterOrEqualsOpENS_19NameGreaterOrEqualsEE30can_evaluate_dictionary_filterERKSt6vectorISt10shared_ptrINS_5VExprEESaIS7_EE Unexecuted instantiation: _ZNK5doris18FunctionComparisonINS_6LessOpENS_8NameLessEE30can_evaluate_dictionary_filterERKSt6vectorISt10shared_ptrINS_5VExprEESaIS7_EE Unexecuted instantiation: _ZNK5doris18FunctionComparisonINS_14LessOrEqualsOpENS_16NameLessOrEqualsEE30can_evaluate_dictionary_filterERKSt6vectorISt10shared_ptrINS_5VExprEESaIS7_EE |
616 | | |
617 | | ZoneMapFilterResult evaluate_bloom_filter(const BloomFilterEvalContext& ctx, |
618 | 4 | const VExprSPtrs& arguments) const override { |
619 | 4 | auto op = comparison_zonemap_detail::op_from_name(name); |
620 | 4 | DORIS_CHECK(op.has_value()); |
621 | 4 | return comparison_zonemap_detail::evaluate_bloom_filter(ctx, arguments, *op); |
622 | 4 | } _ZNK5doris18FunctionComparisonINS_8EqualsOpENS_10NameEqualsEE21evaluate_bloom_filterERKNS_12expr_zonemap22BloomFilterEvalContextERKSt6vectorISt10shared_ptrINS_5VExprEESaISB_EE Line | Count | Source | 618 | 4 | const VExprSPtrs& arguments) const override { | 619 | 4 | auto op = comparison_zonemap_detail::op_from_name(name); | 620 | 4 | DORIS_CHECK(op.has_value()); | 621 | 4 | return comparison_zonemap_detail::evaluate_bloom_filter(ctx, arguments, *op); | 622 | 4 | } |
Unexecuted instantiation: _ZNK5doris18FunctionComparisonINS_11NotEqualsOpENS_13NameNotEqualsEE21evaluate_bloom_filterERKNS_12expr_zonemap22BloomFilterEvalContextERKSt6vectorISt10shared_ptrINS_5VExprEESaISB_EE Unexecuted instantiation: _ZNK5doris18FunctionComparisonINS_9GreaterOpENS_11NameGreaterEE21evaluate_bloom_filterERKNS_12expr_zonemap22BloomFilterEvalContextERKSt6vectorISt10shared_ptrINS_5VExprEESaISB_EE Unexecuted instantiation: _ZNK5doris18FunctionComparisonINS_17GreaterOrEqualsOpENS_19NameGreaterOrEqualsEE21evaluate_bloom_filterERKNS_12expr_zonemap22BloomFilterEvalContextERKSt6vectorISt10shared_ptrINS_5VExprEESaISB_EE Unexecuted instantiation: _ZNK5doris18FunctionComparisonINS_6LessOpENS_8NameLessEE21evaluate_bloom_filterERKNS_12expr_zonemap22BloomFilterEvalContextERKSt6vectorISt10shared_ptrINS_5VExprEESaISB_EE Unexecuted instantiation: _ZNK5doris18FunctionComparisonINS_14LessOrEqualsOpENS_16NameLessOrEqualsEE21evaluate_bloom_filterERKNS_12expr_zonemap22BloomFilterEvalContextERKSt6vectorISt10shared_ptrINS_5VExprEESaISB_EE |
623 | | |
624 | 18 | bool can_evaluate_bloom_filter(const VExprSPtrs& arguments) const override { |
625 | 18 | auto op = comparison_zonemap_detail::op_from_name(name); |
626 | 18 | return op.has_value() && comparison_zonemap_detail::can_evaluate_equality(arguments, *op); |
627 | 18 | } _ZNK5doris18FunctionComparisonINS_8EqualsOpENS_10NameEqualsEE25can_evaluate_bloom_filterERKSt6vectorISt10shared_ptrINS_5VExprEESaIS7_EE Line | Count | Source | 624 | 3 | bool can_evaluate_bloom_filter(const VExprSPtrs& arguments) const override { | 625 | 3 | auto op = comparison_zonemap_detail::op_from_name(name); | 626 | 3 | return op.has_value() && comparison_zonemap_detail::can_evaluate_equality(arguments, *op); | 627 | 3 | } |
_ZNK5doris18FunctionComparisonINS_11NotEqualsOpENS_13NameNotEqualsEE25can_evaluate_bloom_filterERKSt6vectorISt10shared_ptrINS_5VExprEESaIS7_EE Line | Count | Source | 624 | 1 | bool can_evaluate_bloom_filter(const VExprSPtrs& arguments) const override { | 625 | 1 | auto op = comparison_zonemap_detail::op_from_name(name); | 626 | 1 | return op.has_value() && comparison_zonemap_detail::can_evaluate_equality(arguments, *op); | 627 | 1 | } |
_ZNK5doris18FunctionComparisonINS_9GreaterOpENS_11NameGreaterEE25can_evaluate_bloom_filterERKSt6vectorISt10shared_ptrINS_5VExprEESaIS7_EE Line | Count | Source | 624 | 14 | bool can_evaluate_bloom_filter(const VExprSPtrs& arguments) const override { | 625 | 14 | auto op = comparison_zonemap_detail::op_from_name(name); | 626 | 14 | return op.has_value() && comparison_zonemap_detail::can_evaluate_equality(arguments, *op); | 627 | 14 | } |
Unexecuted instantiation: _ZNK5doris18FunctionComparisonINS_17GreaterOrEqualsOpENS_19NameGreaterOrEqualsEE25can_evaluate_bloom_filterERKSt6vectorISt10shared_ptrINS_5VExprEESaIS7_EE Unexecuted instantiation: _ZNK5doris18FunctionComparisonINS_6LessOpENS_8NameLessEE25can_evaluate_bloom_filterERKSt6vectorISt10shared_ptrINS_5VExprEESaIS7_EE Unexecuted instantiation: _ZNK5doris18FunctionComparisonINS_14LessOrEqualsOpENS_16NameLessOrEqualsEE25can_evaluate_bloom_filterERKSt6vectorISt10shared_ptrINS_5VExprEESaIS7_EE |
628 | | |
629 | | /// Get result types by argument types. If the function does not apply to these arguments, throw an exception. |
630 | 265k | DataTypePtr get_return_type_impl(const DataTypes& arguments) const override { |
631 | 265k | return std::make_shared<DataTypeUInt8>(); |
632 | 265k | } _ZNK5doris18FunctionComparisonINS_8EqualsOpENS_10NameEqualsEE20get_return_type_implERKSt6vectorISt10shared_ptrIKNS_9IDataTypeEESaIS8_EE Line | Count | Source | 630 | 240k | DataTypePtr get_return_type_impl(const DataTypes& arguments) const override { | 631 | 240k | return std::make_shared<DataTypeUInt8>(); | 632 | 240k | } |
_ZNK5doris18FunctionComparisonINS_11NotEqualsOpENS_13NameNotEqualsEE20get_return_type_implERKSt6vectorISt10shared_ptrIKNS_9IDataTypeEESaIS8_EE Line | Count | Source | 630 | 1.14k | DataTypePtr get_return_type_impl(const DataTypes& arguments) const override { | 631 | 1.14k | return std::make_shared<DataTypeUInt8>(); | 632 | 1.14k | } |
_ZNK5doris18FunctionComparisonINS_9GreaterOpENS_11NameGreaterEE20get_return_type_implERKSt6vectorISt10shared_ptrIKNS_9IDataTypeEESaIS8_EE Line | Count | Source | 630 | 4.87k | DataTypePtr get_return_type_impl(const DataTypes& arguments) const override { | 631 | 4.87k | return std::make_shared<DataTypeUInt8>(); | 632 | 4.87k | } |
_ZNK5doris18FunctionComparisonINS_17GreaterOrEqualsOpENS_19NameGreaterOrEqualsEE20get_return_type_implERKSt6vectorISt10shared_ptrIKNS_9IDataTypeEESaIS8_EE Line | Count | Source | 630 | 6.62k | DataTypePtr get_return_type_impl(const DataTypes& arguments) const override { | 631 | 6.62k | return std::make_shared<DataTypeUInt8>(); | 632 | 6.62k | } |
_ZNK5doris18FunctionComparisonINS_6LessOpENS_8NameLessEE20get_return_type_implERKSt6vectorISt10shared_ptrIKNS_9IDataTypeEESaIS8_EE Line | Count | Source | 630 | 2.96k | DataTypePtr get_return_type_impl(const DataTypes& arguments) const override { | 631 | 2.96k | return std::make_shared<DataTypeUInt8>(); | 632 | 2.96k | } |
_ZNK5doris18FunctionComparisonINS_14LessOrEqualsOpENS_16NameLessOrEqualsEE20get_return_type_implERKSt6vectorISt10shared_ptrIKNS_9IDataTypeEESaIS8_EE Line | Count | Source | 630 | 9.29k | DataTypePtr get_return_type_impl(const DataTypes& arguments) const override { | 631 | 9.29k | return std::make_shared<DataTypeUInt8>(); | 632 | 9.29k | } |
|
633 | | |
634 | | Status evaluate_inverted_index( |
635 | | const ColumnsWithTypeAndName& arguments, |
636 | | const std::vector<IndexFieldNameAndTypePair>& data_type_with_names, |
637 | | std::vector<segment_v2::IndexIterator*> iterators, uint32_t num_rows, |
638 | | const InvertedIndexAnalyzerCtx* analyzer_ctx, |
639 | 1.34k | segment_v2::InvertedIndexResultBitmap& bitmap_result) const override { |
640 | 1.34k | DCHECK(arguments.size() == 1); |
641 | 1.34k | DCHECK(data_type_with_names.size() == 1); |
642 | 1.34k | DCHECK(iterators.size() == 1); |
643 | 1.34k | auto* iter = iterators[0]; |
644 | 1.34k | auto data_type_with_name = data_type_with_names[0]; |
645 | 1.34k | if (iter == nullptr) { |
646 | 0 | return Status::OK(); |
647 | 0 | } |
648 | 1.34k | if (!segment_v2::IndexReaderHelper::has_string_or_bkd_index(iter)) { |
649 | 310 | return Status::OK(); |
650 | 310 | } |
651 | 1.03k | segment_v2::InvertedIndexQueryType query_type; |
652 | 1.03k | std::string_view name_view(name); |
653 | 1.03k | if (name_view == NameEquals::name || name_view == NameNotEquals::name) { |
654 | 713 | query_type = segment_v2::InvertedIndexQueryType::EQUAL_QUERY; |
655 | 713 | } else if (name_view == NameLess::name) { |
656 | 78 | query_type = segment_v2::InvertedIndexQueryType::LESS_THAN_QUERY; |
657 | 248 | } else if (name_view == NameLessOrEquals::name) { |
658 | 81 | query_type = segment_v2::InvertedIndexQueryType::LESS_EQUAL_QUERY; |
659 | 167 | } else if (name_view == NameGreater::name) { |
660 | 73 | query_type = segment_v2::InvertedIndexQueryType::GREATER_THAN_QUERY; |
661 | 95 | } else if (name_view == NameGreaterOrEquals::name) { |
662 | 95 | query_type = segment_v2::InvertedIndexQueryType::GREATER_EQUAL_QUERY; |
663 | 18.4E | } else { |
664 | 18.4E | return Status::InvalidArgument("invalid comparison op type {}", Name::name); |
665 | 18.4E | } |
666 | | |
667 | 1.04k | if (segment_v2::is_range_query(query_type) && |
668 | 1.04k | iter->get_reader(segment_v2::InvertedIndexReaderType::STRING_TYPE)) { |
669 | | // untokenized strings exceed ignore_above, they are written as null, causing range query errors |
670 | 133 | return Status::OK(); |
671 | 133 | } |
672 | 907 | Field param_value; |
673 | 907 | arguments[0].column->get(0, param_value); |
674 | 907 | if (param_value.is_null()) { |
675 | 2 | return Status::OK(); |
676 | 2 | } |
677 | 905 | segment_v2::InvertedIndexParam param; |
678 | 905 | param.column_name = data_type_with_name.first; |
679 | 905 | param.column_type = data_type_with_name.second; |
680 | 905 | param.query_value = param_value; |
681 | 905 | param.query_type = query_type; |
682 | 905 | param.num_rows = num_rows; |
683 | 905 | param.roaring = std::make_shared<roaring::Roaring>(); |
684 | 905 | param.analyzer_ctx = analyzer_ctx; |
685 | 905 | RETURN_IF_ERROR(iter->read_from_index(segment_v2::IndexParam {¶m})); |
686 | 754 | std::shared_ptr<roaring::Roaring> null_bitmap = std::make_shared<roaring::Roaring>(); |
687 | 754 | if (iter->has_null()) { |
688 | 753 | segment_v2::InvertedIndexQueryCacheHandle null_bitmap_cache_handle; |
689 | 753 | RETURN_IF_ERROR(iter->read_null_bitmap(&null_bitmap_cache_handle)); |
690 | 753 | null_bitmap = null_bitmap_cache_handle.get_bitmap(); |
691 | 753 | } |
692 | 754 | segment_v2::InvertedIndexResultBitmap result(param.roaring, null_bitmap); |
693 | 754 | bitmap_result = result; |
694 | 754 | bitmap_result.mask_out_null(); |
695 | | |
696 | 754 | if (name_view == NameNotEquals::name) { |
697 | 59 | roaring::Roaring full_result; |
698 | 59 | full_result.addRange(0, num_rows); |
699 | 59 | bitmap_result.op_not(&full_result); |
700 | 59 | } |
701 | | |
702 | 754 | return Status::OK(); |
703 | 754 | } _ZNK5doris18FunctionComparisonINS_8EqualsOpENS_10NameEqualsEE23evaluate_inverted_indexERKSt6vectorINS_21ColumnWithTypeAndNameESaIS5_EERKS4_ISt4pairINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt10shared_ptrIKNS_9IDataTypeEEESaISL_EES4_IPNS_10segment_v213IndexIteratorESaISS_EEjPKNS_24InvertedIndexAnalyzerCtxERNSQ_25InvertedIndexResultBitmapE Line | Count | Source | 639 | 689 | segment_v2::InvertedIndexResultBitmap& bitmap_result) const override { | 640 | 689 | DCHECK(arguments.size() == 1); | 641 | 689 | DCHECK(data_type_with_names.size() == 1); | 642 | 689 | DCHECK(iterators.size() == 1); | 643 | 689 | auto* iter = iterators[0]; | 644 | 689 | auto data_type_with_name = data_type_with_names[0]; | 645 | 689 | if (iter == nullptr) { | 646 | 0 | return Status::OK(); | 647 | 0 | } | 648 | 689 | if (!segment_v2::IndexReaderHelper::has_string_or_bkd_index(iter)) { | 649 | 42 | return Status::OK(); | 650 | 42 | } | 651 | 647 | segment_v2::InvertedIndexQueryType query_type; | 652 | 647 | std::string_view name_view(name); | 653 | 647 | if (name_view == NameEquals::name || name_view == NameNotEquals::name) { | 654 | 647 | query_type = segment_v2::InvertedIndexQueryType::EQUAL_QUERY; | 655 | 647 | } else if (name_view == NameLess::name) { | 656 | 0 | query_type = segment_v2::InvertedIndexQueryType::LESS_THAN_QUERY; | 657 | 0 | } else if (name_view == NameLessOrEquals::name) { | 658 | 0 | query_type = segment_v2::InvertedIndexQueryType::LESS_EQUAL_QUERY; | 659 | 0 | } else if (name_view == NameGreater::name) { | 660 | 0 | query_type = segment_v2::InvertedIndexQueryType::GREATER_THAN_QUERY; | 661 | 0 | } else if (name_view == NameGreaterOrEquals::name) { | 662 | 0 | query_type = segment_v2::InvertedIndexQueryType::GREATER_EQUAL_QUERY; | 663 | 0 | } else { | 664 | 0 | return Status::InvalidArgument("invalid comparison op type {}", Name::name); | 665 | 0 | } | 666 | | | 667 | 647 | if (segment_v2::is_range_query(query_type) && | 668 | 647 | iter->get_reader(segment_v2::InvertedIndexReaderType::STRING_TYPE)) { | 669 | | // untokenized strings exceed ignore_above, they are written as null, causing range query errors | 670 | 0 | return Status::OK(); | 671 | 0 | } | 672 | 647 | Field param_value; | 673 | 647 | arguments[0].column->get(0, param_value); | 674 | 647 | if (param_value.is_null()) { | 675 | 2 | return Status::OK(); | 676 | 2 | } | 677 | 645 | segment_v2::InvertedIndexParam param; | 678 | 645 | param.column_name = data_type_with_name.first; | 679 | 645 | param.column_type = data_type_with_name.second; | 680 | 645 | param.query_value = param_value; | 681 | 645 | param.query_type = query_type; | 682 | 645 | param.num_rows = num_rows; | 683 | 645 | param.roaring = std::make_shared<roaring::Roaring>(); | 684 | 645 | param.analyzer_ctx = analyzer_ctx; | 685 | 645 | RETURN_IF_ERROR(iter->read_from_index(segment_v2::IndexParam {¶m})); | 686 | 602 | std::shared_ptr<roaring::Roaring> null_bitmap = std::make_shared<roaring::Roaring>(); | 687 | 602 | if (iter->has_null()) { | 688 | 602 | segment_v2::InvertedIndexQueryCacheHandle null_bitmap_cache_handle; | 689 | 602 | RETURN_IF_ERROR(iter->read_null_bitmap(&null_bitmap_cache_handle)); | 690 | 602 | null_bitmap = null_bitmap_cache_handle.get_bitmap(); | 691 | 602 | } | 692 | 602 | segment_v2::InvertedIndexResultBitmap result(param.roaring, null_bitmap); | 693 | 602 | bitmap_result = result; | 694 | 602 | bitmap_result.mask_out_null(); | 695 | | | 696 | 602 | if (name_view == NameNotEquals::name) { | 697 | 0 | roaring::Roaring full_result; | 698 | 0 | full_result.addRange(0, num_rows); | 699 | 0 | bitmap_result.op_not(&full_result); | 700 | 0 | } | 701 | | | 702 | 602 | return Status::OK(); | 703 | 602 | } |
_ZNK5doris18FunctionComparisonINS_11NotEqualsOpENS_13NameNotEqualsEE23evaluate_inverted_indexERKSt6vectorINS_21ColumnWithTypeAndNameESaIS5_EERKS4_ISt4pairINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt10shared_ptrIKNS_9IDataTypeEEESaISL_EES4_IPNS_10segment_v213IndexIteratorESaISS_EEjPKNS_24InvertedIndexAnalyzerCtxERNSQ_25InvertedIndexResultBitmapE Line | Count | Source | 639 | 72 | segment_v2::InvertedIndexResultBitmap& bitmap_result) const override { | 640 | 72 | DCHECK(arguments.size() == 1); | 641 | 72 | DCHECK(data_type_with_names.size() == 1); | 642 | 72 | DCHECK(iterators.size() == 1); | 643 | 72 | auto* iter = iterators[0]; | 644 | 72 | auto data_type_with_name = data_type_with_names[0]; | 645 | 72 | if (iter == nullptr) { | 646 | 0 | return Status::OK(); | 647 | 0 | } | 648 | 72 | if (!segment_v2::IndexReaderHelper::has_string_or_bkd_index(iter)) { | 649 | 6 | return Status::OK(); | 650 | 6 | } | 651 | 66 | segment_v2::InvertedIndexQueryType query_type; | 652 | 66 | std::string_view name_view(name); | 653 | 66 | if (name_view == NameEquals::name || name_view == NameNotEquals::name) { | 654 | 66 | query_type = segment_v2::InvertedIndexQueryType::EQUAL_QUERY; | 655 | 66 | } else if (name_view == NameLess::name) { | 656 | 0 | query_type = segment_v2::InvertedIndexQueryType::LESS_THAN_QUERY; | 657 | 0 | } else if (name_view == NameLessOrEquals::name) { | 658 | 0 | query_type = segment_v2::InvertedIndexQueryType::LESS_EQUAL_QUERY; | 659 | 0 | } else if (name_view == NameGreater::name) { | 660 | 0 | query_type = segment_v2::InvertedIndexQueryType::GREATER_THAN_QUERY; | 661 | 0 | } else if (name_view == NameGreaterOrEquals::name) { | 662 | 0 | query_type = segment_v2::InvertedIndexQueryType::GREATER_EQUAL_QUERY; | 663 | 0 | } else { | 664 | 0 | return Status::InvalidArgument("invalid comparison op type {}", Name::name); | 665 | 0 | } | 666 | | | 667 | 66 | if (segment_v2::is_range_query(query_type) && | 668 | 66 | iter->get_reader(segment_v2::InvertedIndexReaderType::STRING_TYPE)) { | 669 | | // untokenized strings exceed ignore_above, they are written as null, causing range query errors | 670 | 0 | return Status::OK(); | 671 | 0 | } | 672 | 66 | Field param_value; | 673 | 66 | arguments[0].column->get(0, param_value); | 674 | 66 | if (param_value.is_null()) { | 675 | 0 | return Status::OK(); | 676 | 0 | } | 677 | 66 | segment_v2::InvertedIndexParam param; | 678 | 66 | param.column_name = data_type_with_name.first; | 679 | 66 | param.column_type = data_type_with_name.second; | 680 | 66 | param.query_value = param_value; | 681 | 66 | param.query_type = query_type; | 682 | 66 | param.num_rows = num_rows; | 683 | 66 | param.roaring = std::make_shared<roaring::Roaring>(); | 684 | 66 | param.analyzer_ctx = analyzer_ctx; | 685 | 66 | RETURN_IF_ERROR(iter->read_from_index(segment_v2::IndexParam {¶m})); | 686 | 59 | std::shared_ptr<roaring::Roaring> null_bitmap = std::make_shared<roaring::Roaring>(); | 687 | 59 | if (iter->has_null()) { | 688 | 59 | segment_v2::InvertedIndexQueryCacheHandle null_bitmap_cache_handle; | 689 | 59 | RETURN_IF_ERROR(iter->read_null_bitmap(&null_bitmap_cache_handle)); | 690 | 59 | null_bitmap = null_bitmap_cache_handle.get_bitmap(); | 691 | 59 | } | 692 | 59 | segment_v2::InvertedIndexResultBitmap result(param.roaring, null_bitmap); | 693 | 59 | bitmap_result = result; | 694 | 59 | bitmap_result.mask_out_null(); | 695 | | | 696 | 59 | if (name_view == NameNotEquals::name) { | 697 | 59 | roaring::Roaring full_result; | 698 | 59 | full_result.addRange(0, num_rows); | 699 | 59 | bitmap_result.op_not(&full_result); | 700 | 59 | } | 701 | | | 702 | 59 | return Status::OK(); | 703 | 59 | } |
_ZNK5doris18FunctionComparisonINS_9GreaterOpENS_11NameGreaterEE23evaluate_inverted_indexERKSt6vectorINS_21ColumnWithTypeAndNameESaIS5_EERKS4_ISt4pairINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt10shared_ptrIKNS_9IDataTypeEEESaISL_EES4_IPNS_10segment_v213IndexIteratorESaISS_EEjPKNS_24InvertedIndexAnalyzerCtxERNSQ_25InvertedIndexResultBitmapE Line | Count | Source | 639 | 112 | segment_v2::InvertedIndexResultBitmap& bitmap_result) const override { | 640 | 112 | DCHECK(arguments.size() == 1); | 641 | 112 | DCHECK(data_type_with_names.size() == 1); | 642 | 112 | DCHECK(iterators.size() == 1); | 643 | 112 | auto* iter = iterators[0]; | 644 | 112 | auto data_type_with_name = data_type_with_names[0]; | 645 | 112 | if (iter == nullptr) { | 646 | 0 | return Status::OK(); | 647 | 0 | } | 648 | 112 | if (!segment_v2::IndexReaderHelper::has_string_or_bkd_index(iter)) { | 649 | 39 | return Status::OK(); | 650 | 39 | } | 651 | 73 | segment_v2::InvertedIndexQueryType query_type; | 652 | 73 | std::string_view name_view(name); | 653 | 73 | if (name_view == NameEquals::name || name_view == NameNotEquals::name) { | 654 | 0 | query_type = segment_v2::InvertedIndexQueryType::EQUAL_QUERY; | 655 | 73 | } else if (name_view == NameLess::name) { | 656 | 0 | query_type = segment_v2::InvertedIndexQueryType::LESS_THAN_QUERY; | 657 | 73 | } else if (name_view == NameLessOrEquals::name) { | 658 | 0 | query_type = segment_v2::InvertedIndexQueryType::LESS_EQUAL_QUERY; | 659 | 73 | } else if (name_view == NameGreater::name) { | 660 | 73 | query_type = segment_v2::InvertedIndexQueryType::GREATER_THAN_QUERY; | 661 | 73 | } else if (name_view == NameGreaterOrEquals::name) { | 662 | 0 | query_type = segment_v2::InvertedIndexQueryType::GREATER_EQUAL_QUERY; | 663 | 0 | } else { | 664 | 0 | return Status::InvalidArgument("invalid comparison op type {}", Name::name); | 665 | 0 | } | 666 | | | 667 | 73 | if (segment_v2::is_range_query(query_type) && | 668 | 73 | iter->get_reader(segment_v2::InvertedIndexReaderType::STRING_TYPE)) { | 669 | | // untokenized strings exceed ignore_above, they are written as null, causing range query errors | 670 | 17 | return Status::OK(); | 671 | 17 | } | 672 | 56 | Field param_value; | 673 | 56 | arguments[0].column->get(0, param_value); | 674 | 56 | if (param_value.is_null()) { | 675 | 0 | return Status::OK(); | 676 | 0 | } | 677 | 56 | segment_v2::InvertedIndexParam param; | 678 | 56 | param.column_name = data_type_with_name.first; | 679 | 56 | param.column_type = data_type_with_name.second; | 680 | 56 | param.query_value = param_value; | 681 | 56 | param.query_type = query_type; | 682 | 56 | param.num_rows = num_rows; | 683 | 56 | param.roaring = std::make_shared<roaring::Roaring>(); | 684 | 56 | param.analyzer_ctx = analyzer_ctx; | 685 | 56 | RETURN_IF_ERROR(iter->read_from_index(segment_v2::IndexParam {¶m})); | 686 | 37 | std::shared_ptr<roaring::Roaring> null_bitmap = std::make_shared<roaring::Roaring>(); | 687 | 37 | if (iter->has_null()) { | 688 | 37 | segment_v2::InvertedIndexQueryCacheHandle null_bitmap_cache_handle; | 689 | 37 | RETURN_IF_ERROR(iter->read_null_bitmap(&null_bitmap_cache_handle)); | 690 | 37 | null_bitmap = null_bitmap_cache_handle.get_bitmap(); | 691 | 37 | } | 692 | 37 | segment_v2::InvertedIndexResultBitmap result(param.roaring, null_bitmap); | 693 | 37 | bitmap_result = result; | 694 | 37 | bitmap_result.mask_out_null(); | 695 | | | 696 | 37 | if (name_view == NameNotEquals::name) { | 697 | 0 | roaring::Roaring full_result; | 698 | 0 | full_result.addRange(0, num_rows); | 699 | 0 | bitmap_result.op_not(&full_result); | 700 | 0 | } | 701 | | | 702 | 37 | return Status::OK(); | 703 | 37 | } |
_ZNK5doris18FunctionComparisonINS_17GreaterOrEqualsOpENS_19NameGreaterOrEqualsEE23evaluate_inverted_indexERKSt6vectorINS_21ColumnWithTypeAndNameESaIS5_EERKS4_ISt4pairINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt10shared_ptrIKNS_9IDataTypeEEESaISL_EES4_IPNS_10segment_v213IndexIteratorESaISS_EEjPKNS_24InvertedIndexAnalyzerCtxERNSQ_25InvertedIndexResultBitmapE Line | Count | Source | 639 | 181 | segment_v2::InvertedIndexResultBitmap& bitmap_result) const override { | 640 | 181 | DCHECK(arguments.size() == 1); | 641 | 181 | DCHECK(data_type_with_names.size() == 1); | 642 | 181 | DCHECK(iterators.size() == 1); | 643 | 181 | auto* iter = iterators[0]; | 644 | 181 | auto data_type_with_name = data_type_with_names[0]; | 645 | 181 | if (iter == nullptr) { | 646 | 0 | return Status::OK(); | 647 | 0 | } | 648 | 181 | if (!segment_v2::IndexReaderHelper::has_string_or_bkd_index(iter)) { | 649 | 86 | return Status::OK(); | 650 | 86 | } | 651 | 95 | segment_v2::InvertedIndexQueryType query_type; | 652 | 95 | std::string_view name_view(name); | 653 | 95 | if (name_view == NameEquals::name || name_view == NameNotEquals::name) { | 654 | 0 | query_type = segment_v2::InvertedIndexQueryType::EQUAL_QUERY; | 655 | 95 | } else if (name_view == NameLess::name) { | 656 | 0 | query_type = segment_v2::InvertedIndexQueryType::LESS_THAN_QUERY; | 657 | 95 | } else if (name_view == NameLessOrEquals::name) { | 658 | 0 | query_type = segment_v2::InvertedIndexQueryType::LESS_EQUAL_QUERY; | 659 | 95 | } else if (name_view == NameGreater::name) { | 660 | 0 | query_type = segment_v2::InvertedIndexQueryType::GREATER_THAN_QUERY; | 661 | 95 | } else if (name_view == NameGreaterOrEquals::name) { | 662 | 95 | query_type = segment_v2::InvertedIndexQueryType::GREATER_EQUAL_QUERY; | 663 | 95 | } else { | 664 | 0 | return Status::InvalidArgument("invalid comparison op type {}", Name::name); | 665 | 0 | } | 666 | | | 667 | 95 | if (segment_v2::is_range_query(query_type) && | 668 | 95 | iter->get_reader(segment_v2::InvertedIndexReaderType::STRING_TYPE)) { | 669 | | // untokenized strings exceed ignore_above, they are written as null, causing range query errors | 670 | 47 | return Status::OK(); | 671 | 47 | } | 672 | 48 | Field param_value; | 673 | 48 | arguments[0].column->get(0, param_value); | 674 | 48 | if (param_value.is_null()) { | 675 | 0 | return Status::OK(); | 676 | 0 | } | 677 | 48 | segment_v2::InvertedIndexParam param; | 678 | 48 | param.column_name = data_type_with_name.first; | 679 | 48 | param.column_type = data_type_with_name.second; | 680 | 48 | param.query_value = param_value; | 681 | 48 | param.query_type = query_type; | 682 | 48 | param.num_rows = num_rows; | 683 | 48 | param.roaring = std::make_shared<roaring::Roaring>(); | 684 | 48 | param.analyzer_ctx = analyzer_ctx; | 685 | 48 | RETURN_IF_ERROR(iter->read_from_index(segment_v2::IndexParam {¶m})); | 686 | 7 | std::shared_ptr<roaring::Roaring> null_bitmap = std::make_shared<roaring::Roaring>(); | 687 | 7 | if (iter->has_null()) { | 688 | 7 | segment_v2::InvertedIndexQueryCacheHandle null_bitmap_cache_handle; | 689 | 7 | RETURN_IF_ERROR(iter->read_null_bitmap(&null_bitmap_cache_handle)); | 690 | 7 | null_bitmap = null_bitmap_cache_handle.get_bitmap(); | 691 | 7 | } | 692 | 7 | segment_v2::InvertedIndexResultBitmap result(param.roaring, null_bitmap); | 693 | 7 | bitmap_result = result; | 694 | 7 | bitmap_result.mask_out_null(); | 695 | | | 696 | 7 | if (name_view == NameNotEquals::name) { | 697 | 0 | roaring::Roaring full_result; | 698 | 0 | full_result.addRange(0, num_rows); | 699 | 0 | bitmap_result.op_not(&full_result); | 700 | 0 | } | 701 | | | 702 | 7 | return Status::OK(); | 703 | 7 | } |
_ZNK5doris18FunctionComparisonINS_6LessOpENS_8NameLessEE23evaluate_inverted_indexERKSt6vectorINS_21ColumnWithTypeAndNameESaIS5_EERKS4_ISt4pairINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt10shared_ptrIKNS_9IDataTypeEEESaISL_EES4_IPNS_10segment_v213IndexIteratorESaISS_EEjPKNS_24InvertedIndexAnalyzerCtxERNSQ_25InvertedIndexResultBitmapE Line | Count | Source | 639 | 120 | segment_v2::InvertedIndexResultBitmap& bitmap_result) const override { | 640 | 120 | DCHECK(arguments.size() == 1); | 641 | 120 | DCHECK(data_type_with_names.size() == 1); | 642 | 120 | DCHECK(iterators.size() == 1); | 643 | 120 | auto* iter = iterators[0]; | 644 | 120 | auto data_type_with_name = data_type_with_names[0]; | 645 | 120 | if (iter == nullptr) { | 646 | 0 | return Status::OK(); | 647 | 0 | } | 648 | 120 | if (!segment_v2::IndexReaderHelper::has_string_or_bkd_index(iter)) { | 649 | 43 | return Status::OK(); | 650 | 43 | } | 651 | 77 | segment_v2::InvertedIndexQueryType query_type; | 652 | 77 | std::string_view name_view(name); | 653 | 78 | if (name_view == NameEquals::name || name_view == NameNotEquals::name) { | 654 | 0 | query_type = segment_v2::InvertedIndexQueryType::EQUAL_QUERY; | 655 | 78 | } else if (name_view == NameLess::name) { | 656 | 78 | query_type = segment_v2::InvertedIndexQueryType::LESS_THAN_QUERY; | 657 | 18.4E | } else if (name_view == NameLessOrEquals::name) { | 658 | 0 | query_type = segment_v2::InvertedIndexQueryType::LESS_EQUAL_QUERY; | 659 | 18.4E | } else if (name_view == NameGreater::name) { | 660 | 0 | query_type = segment_v2::InvertedIndexQueryType::GREATER_THAN_QUERY; | 661 | 18.4E | } else if (name_view == NameGreaterOrEquals::name) { | 662 | 0 | query_type = segment_v2::InvertedIndexQueryType::GREATER_EQUAL_QUERY; | 663 | 18.4E | } else { | 664 | 18.4E | return Status::InvalidArgument("invalid comparison op type {}", Name::name); | 665 | 18.4E | } | 666 | | | 667 | 78 | if (segment_v2::is_range_query(query_type) && | 668 | 78 | iter->get_reader(segment_v2::InvertedIndexReaderType::STRING_TYPE)) { | 669 | | // untokenized strings exceed ignore_above, they are written as null, causing range query errors | 670 | 18 | return Status::OK(); | 671 | 18 | } | 672 | 60 | Field param_value; | 673 | 60 | arguments[0].column->get(0, param_value); | 674 | 60 | if (param_value.is_null()) { | 675 | 0 | return Status::OK(); | 676 | 0 | } | 677 | 60 | segment_v2::InvertedIndexParam param; | 678 | 60 | param.column_name = data_type_with_name.first; | 679 | 60 | param.column_type = data_type_with_name.second; | 680 | 60 | param.query_value = param_value; | 681 | 60 | param.query_type = query_type; | 682 | 60 | param.num_rows = num_rows; | 683 | 60 | param.roaring = std::make_shared<roaring::Roaring>(); | 684 | 60 | param.analyzer_ctx = analyzer_ctx; | 685 | 60 | RETURN_IF_ERROR(iter->read_from_index(segment_v2::IndexParam {¶m})); | 686 | 39 | std::shared_ptr<roaring::Roaring> null_bitmap = std::make_shared<roaring::Roaring>(); | 687 | 39 | if (iter->has_null()) { | 688 | 39 | segment_v2::InvertedIndexQueryCacheHandle null_bitmap_cache_handle; | 689 | 39 | RETURN_IF_ERROR(iter->read_null_bitmap(&null_bitmap_cache_handle)); | 690 | 39 | null_bitmap = null_bitmap_cache_handle.get_bitmap(); | 691 | 39 | } | 692 | 39 | segment_v2::InvertedIndexResultBitmap result(param.roaring, null_bitmap); | 693 | 39 | bitmap_result = result; | 694 | 39 | bitmap_result.mask_out_null(); | 695 | | | 696 | 39 | if (name_view == NameNotEquals::name) { | 697 | 0 | roaring::Roaring full_result; | 698 | 0 | full_result.addRange(0, num_rows); | 699 | 0 | bitmap_result.op_not(&full_result); | 700 | 0 | } | 701 | | | 702 | 39 | return Status::OK(); | 703 | 39 | } |
_ZNK5doris18FunctionComparisonINS_14LessOrEqualsOpENS_16NameLessOrEqualsEE23evaluate_inverted_indexERKSt6vectorINS_21ColumnWithTypeAndNameESaIS5_EERKS4_ISt4pairINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt10shared_ptrIKNS_9IDataTypeEEESaISL_EES4_IPNS_10segment_v213IndexIteratorESaISS_EEjPKNS_24InvertedIndexAnalyzerCtxERNSQ_25InvertedIndexResultBitmapE Line | Count | Source | 639 | 175 | segment_v2::InvertedIndexResultBitmap& bitmap_result) const override { | 640 | 175 | DCHECK(arguments.size() == 1); | 641 | 175 | DCHECK(data_type_with_names.size() == 1); | 642 | 175 | DCHECK(iterators.size() == 1); | 643 | 175 | auto* iter = iterators[0]; | 644 | 175 | auto data_type_with_name = data_type_with_names[0]; | 645 | 175 | if (iter == nullptr) { | 646 | 0 | return Status::OK(); | 647 | 0 | } | 648 | 175 | if (!segment_v2::IndexReaderHelper::has_string_or_bkd_index(iter)) { | 649 | 94 | return Status::OK(); | 650 | 94 | } | 651 | 81 | segment_v2::InvertedIndexQueryType query_type; | 652 | 81 | std::string_view name_view(name); | 653 | 81 | if (name_view == NameEquals::name || name_view == NameNotEquals::name) { | 654 | 0 | query_type = segment_v2::InvertedIndexQueryType::EQUAL_QUERY; | 655 | 81 | } else if (name_view == NameLess::name) { | 656 | 0 | query_type = segment_v2::InvertedIndexQueryType::LESS_THAN_QUERY; | 657 | 81 | } else if (name_view == NameLessOrEquals::name) { | 658 | 81 | query_type = segment_v2::InvertedIndexQueryType::LESS_EQUAL_QUERY; | 659 | 81 | } else if (name_view == NameGreater::name) { | 660 | 0 | query_type = segment_v2::InvertedIndexQueryType::GREATER_THAN_QUERY; | 661 | 0 | } else if (name_view == NameGreaterOrEquals::name) { | 662 | 0 | query_type = segment_v2::InvertedIndexQueryType::GREATER_EQUAL_QUERY; | 663 | 0 | } else { | 664 | 0 | return Status::InvalidArgument("invalid comparison op type {}", Name::name); | 665 | 0 | } | 666 | | | 667 | 81 | if (segment_v2::is_range_query(query_type) && | 668 | 81 | iter->get_reader(segment_v2::InvertedIndexReaderType::STRING_TYPE)) { | 669 | | // untokenized strings exceed ignore_above, they are written as null, causing range query errors | 670 | 51 | return Status::OK(); | 671 | 51 | } | 672 | 30 | Field param_value; | 673 | 30 | arguments[0].column->get(0, param_value); | 674 | 30 | if (param_value.is_null()) { | 675 | 0 | return Status::OK(); | 676 | 0 | } | 677 | 30 | segment_v2::InvertedIndexParam param; | 678 | 30 | param.column_name = data_type_with_name.first; | 679 | 30 | param.column_type = data_type_with_name.second; | 680 | 30 | param.query_value = param_value; | 681 | 30 | param.query_type = query_type; | 682 | 30 | param.num_rows = num_rows; | 683 | 30 | param.roaring = std::make_shared<roaring::Roaring>(); | 684 | 30 | param.analyzer_ctx = analyzer_ctx; | 685 | 30 | RETURN_IF_ERROR(iter->read_from_index(segment_v2::IndexParam {¶m})); | 686 | 10 | std::shared_ptr<roaring::Roaring> null_bitmap = std::make_shared<roaring::Roaring>(); | 687 | 10 | if (iter->has_null()) { | 688 | 9 | segment_v2::InvertedIndexQueryCacheHandle null_bitmap_cache_handle; | 689 | 9 | RETURN_IF_ERROR(iter->read_null_bitmap(&null_bitmap_cache_handle)); | 690 | 9 | null_bitmap = null_bitmap_cache_handle.get_bitmap(); | 691 | 9 | } | 692 | 10 | segment_v2::InvertedIndexResultBitmap result(param.roaring, null_bitmap); | 693 | 10 | bitmap_result = result; | 694 | 10 | bitmap_result.mask_out_null(); | 695 | | | 696 | 10 | if (name_view == NameNotEquals::name) { | 697 | 0 | roaring::Roaring full_result; | 698 | 0 | full_result.addRange(0, num_rows); | 699 | 0 | bitmap_result.op_not(&full_result); | 700 | 0 | } | 701 | | | 702 | 10 | return Status::OK(); | 703 | 10 | } |
|
704 | | |
705 | | Status execute_impl(FunctionContext* context, Block& block, const ColumnNumbers& arguments, |
706 | 68.2k | uint32_t result, size_t input_rows_count) const override { |
707 | 68.2k | const auto& col_with_type_and_name_left = block.get_by_position(arguments[0]); |
708 | 68.2k | const auto& col_with_type_and_name_right = block.get_by_position(arguments[1]); |
709 | | |
710 | 68.2k | const auto& col_left_ptr = col_with_type_and_name_left.column; |
711 | 68.2k | const auto& col_right_ptr = col_with_type_and_name_right.column; |
712 | 68.2k | const IColumn* col_left_untyped = col_with_type_and_name_left.column.get(); |
713 | 68.2k | const IColumn* col_right_untyped = col_with_type_and_name_right.column.get(); |
714 | | |
715 | 68.2k | const DataTypePtr& left_type = col_with_type_and_name_left.type; |
716 | 68.2k | const DataTypePtr& right_type = col_with_type_and_name_right.type; |
717 | | |
718 | | /// The case when arguments are the same (tautological comparison). Return constant. |
719 | | /// NOTE: Nullable types are special case. (BTW, this function use default implementation for Nullable, so Nullable types cannot be here. Check just in case.) |
720 | | /// NOTE: We consider NaN comparison to be implementation specific (and in our implementation NaNs are sometimes equal sometimes not). |
721 | 68.2k | if (left_type->equals(*right_type) && !left_type->is_nullable() && |
722 | 68.2k | col_left_untyped == col_right_untyped) { |
723 | | /// Always true: =, <=, >= |
724 | | // TODO: Return const column in the future. But seems so far to do. We need a unified approach for passing const column. |
725 | | if constexpr (std::is_same_v<Op<TYPE_INT>, EqualsOp<TYPE_INT>> || |
726 | | std::is_same_v<Op<TYPE_INT>, LessOrEqualsOp<TYPE_INT>> || |
727 | 0 | std::is_same_v<Op<TYPE_INT>, GreaterOrEqualsOp<TYPE_INT>>) { |
728 | 0 | block.get_by_position(result).column = |
729 | 0 | DataTypeUInt8() |
730 | 0 | .create_column_const(input_rows_count, |
731 | 0 | Field::create_field<TYPE_BOOLEAN>(1)) |
732 | 0 | ->convert_to_full_column_if_const(); |
733 | 0 | return Status::OK(); |
734 | 0 | } else { |
735 | 0 | block.get_by_position(result).column = |
736 | 0 | DataTypeUInt8() |
737 | 0 | .create_column_const(input_rows_count, |
738 | 0 | Field::create_field<TYPE_BOOLEAN>(0)) |
739 | 0 | ->convert_to_full_column_if_const(); |
740 | 0 | return Status::OK(); |
741 | 0 | } |
742 | 0 | } |
743 | | |
744 | 121k | auto can_compare = [](PrimitiveType t) -> bool { |
745 | 121k | return is_int_or_bool(t) || is_float_or_double(t) || is_ip(t) || is_date_type(t); |
746 | 121k | }; _ZZNK5doris18FunctionComparisonINS_8EqualsOpENS_10NameEqualsEE12execute_implEPNS_15FunctionContextERNS_5BlockERKSt6vectorIjSaIjEEjmENKUlNS_13PrimitiveTypeEE_clESD_ Line | Count | Source | 744 | 37.4k | auto can_compare = [](PrimitiveType t) -> bool { | 745 | 37.4k | return is_int_or_bool(t) || is_float_or_double(t) || is_ip(t) || is_date_type(t); | 746 | 37.4k | }; |
_ZZNK5doris18FunctionComparisonINS_11NotEqualsOpENS_13NameNotEqualsEE12execute_implEPNS_15FunctionContextERNS_5BlockERKSt6vectorIjSaIjEEjmENKUlNS_13PrimitiveTypeEE_clESD_ Line | Count | Source | 744 | 5.70k | auto can_compare = [](PrimitiveType t) -> bool { | 745 | 5.70k | return is_int_or_bool(t) || is_float_or_double(t) || is_ip(t) || is_date_type(t); | 746 | 5.70k | }; |
_ZZNK5doris18FunctionComparisonINS_9GreaterOpENS_11NameGreaterEE12execute_implEPNS_15FunctionContextERNS_5BlockERKSt6vectorIjSaIjEEjmENKUlNS_13PrimitiveTypeEE_clESD_ Line | Count | Source | 744 | 40.2k | auto can_compare = [](PrimitiveType t) -> bool { | 745 | 40.2k | return is_int_or_bool(t) || is_float_or_double(t) || is_ip(t) || is_date_type(t); | 746 | 40.2k | }; |
_ZZNK5doris18FunctionComparisonINS_17GreaterOrEqualsOpENS_19NameGreaterOrEqualsEE12execute_implEPNS_15FunctionContextERNS_5BlockERKSt6vectorIjSaIjEEjmENKUlNS_13PrimitiveTypeEE_clESD_ Line | Count | Source | 744 | 4.94k | auto can_compare = [](PrimitiveType t) -> bool { | 745 | 4.94k | return is_int_or_bool(t) || is_float_or_double(t) || is_ip(t) || is_date_type(t); | 746 | 4.94k | }; |
_ZZNK5doris18FunctionComparisonINS_6LessOpENS_8NameLessEE12execute_implEPNS_15FunctionContextERNS_5BlockERKSt6vectorIjSaIjEEjmENKUlNS_13PrimitiveTypeEE_clESD_ Line | Count | Source | 744 | 16.2k | auto can_compare = [](PrimitiveType t) -> bool { | 745 | 16.2k | return is_int_or_bool(t) || is_float_or_double(t) || is_ip(t) || is_date_type(t); | 746 | 16.2k | }; |
_ZZNK5doris18FunctionComparisonINS_14LessOrEqualsOpENS_16NameLessOrEqualsEE12execute_implEPNS_15FunctionContextERNS_5BlockERKSt6vectorIjSaIjEEjmENKUlNS_13PrimitiveTypeEE_clESD_ Line | Count | Source | 744 | 16.7k | auto can_compare = [](PrimitiveType t) -> bool { | 745 | 16.7k | return is_int_or_bool(t) || is_float_or_double(t) || is_ip(t) || is_date_type(t); | 746 | 16.7k | }; |
|
747 | | |
748 | 68.2k | if (can_compare(left_type->get_primitive_type()) && |
749 | 68.2k | can_compare(right_type->get_primitive_type())) { |
750 | | // check left type equals right type TODO: remove this after FE is aware of scales difference |
751 | 53.0k | if (!left_type->equals_ignore_precision(*right_type)) { |
752 | 0 | return Status::RuntimeError("not same type in function {} , left : {} , right : {}", |
753 | 0 | get_name(), left_type->get_name(), |
754 | 0 | right_type->get_name()); |
755 | 0 | } |
756 | 53.0k | } |
757 | | |
758 | 68.2k | auto compare_type = left_type->get_primitive_type(); |
759 | 68.2k | switch (compare_type) { |
760 | 220 | case TYPE_BOOLEAN: |
761 | 220 | return execute_num_type<TYPE_BOOLEAN>(block, result, col_left_ptr, col_right_ptr); |
762 | 4.84k | case TYPE_DATEV2: |
763 | 4.84k | return execute_num_type<TYPE_DATEV2>(block, result, col_left_ptr, col_right_ptr); |
764 | 979 | case TYPE_DATETIMEV2: |
765 | 979 | return execute_num_type<TYPE_DATETIMEV2>(block, result, col_left_ptr, col_right_ptr); |
766 | 7 | case TYPE_TIMESTAMPTZ: |
767 | 7 | return execute_num_type<TYPE_TIMESTAMPTZ>(block, result, col_left_ptr, col_right_ptr); |
768 | 8.60k | case TYPE_TINYINT: |
769 | 8.60k | return execute_num_type<TYPE_TINYINT>(block, result, col_left_ptr, col_right_ptr); |
770 | 2.72k | case TYPE_SMALLINT: |
771 | 2.72k | return execute_num_type<TYPE_SMALLINT>(block, result, col_left_ptr, col_right_ptr); |
772 | 25.0k | case TYPE_INT: |
773 | 25.0k | return execute_num_type<TYPE_INT>(block, result, col_left_ptr, col_right_ptr); |
774 | 7.25k | case TYPE_BIGINT: |
775 | 7.25k | return execute_num_type<TYPE_BIGINT>(block, result, col_left_ptr, col_right_ptr); |
776 | 700 | case TYPE_LARGEINT: |
777 | 700 | return execute_num_type<TYPE_LARGEINT>(block, result, col_left_ptr, col_right_ptr); |
778 | 72 | case TYPE_IPV4: |
779 | 72 | return execute_num_type<TYPE_IPV4>(block, result, col_left_ptr, col_right_ptr); |
780 | 48 | case TYPE_IPV6: |
781 | 48 | return execute_num_type<TYPE_IPV6>(block, result, col_left_ptr, col_right_ptr); |
782 | 572 | case TYPE_FLOAT: |
783 | 572 | return execute_num_type<TYPE_FLOAT>(block, result, col_left_ptr, col_right_ptr); |
784 | 1.91k | case TYPE_DOUBLE: |
785 | 1.91k | return execute_num_type<TYPE_DOUBLE>(block, result, col_left_ptr, col_right_ptr); |
786 | 4 | case TYPE_TIMEV2: |
787 | 4 | return execute_num_type<TYPE_TIMEV2>(block, result, col_left_ptr, col_right_ptr); |
788 | 0 | case TYPE_DECIMALV2: |
789 | 379 | case TYPE_DECIMAL32: |
790 | 1.02k | case TYPE_DECIMAL64: |
791 | 3.06k | case TYPE_DECIMAL128I: |
792 | 3.17k | case TYPE_DECIMAL256: |
793 | 3.17k | return execute_decimal(block, result, col_with_type_and_name_left, |
794 | 3.17k | col_with_type_and_name_right); |
795 | 761 | case TYPE_CHAR: |
796 | 6.71k | case TYPE_VARCHAR: |
797 | 11.9k | case TYPE_STRING: |
798 | 11.9k | return execute_string(block, result, col_left_untyped, col_right_untyped); |
799 | 152 | default: |
800 | 152 | return execute_generic(block, result, col_with_type_and_name_left, |
801 | 152 | col_with_type_and_name_right); |
802 | 68.2k | } |
803 | 0 | return Status::OK(); |
804 | 68.2k | } _ZNK5doris18FunctionComparisonINS_8EqualsOpENS_10NameEqualsEE12execute_implEPNS_15FunctionContextERNS_5BlockERKSt6vectorIjSaIjEEjm Line | Count | Source | 706 | 24.6k | uint32_t result, size_t input_rows_count) const override { | 707 | 24.6k | const auto& col_with_type_and_name_left = block.get_by_position(arguments[0]); | 708 | 24.6k | const auto& col_with_type_and_name_right = block.get_by_position(arguments[1]); | 709 | | | 710 | 24.6k | const auto& col_left_ptr = col_with_type_and_name_left.column; | 711 | 24.6k | const auto& col_right_ptr = col_with_type_and_name_right.column; | 712 | 24.6k | const IColumn* col_left_untyped = col_with_type_and_name_left.column.get(); | 713 | 24.6k | const IColumn* col_right_untyped = col_with_type_and_name_right.column.get(); | 714 | | | 715 | 24.6k | const DataTypePtr& left_type = col_with_type_and_name_left.type; | 716 | 24.6k | const DataTypePtr& right_type = col_with_type_and_name_right.type; | 717 | | | 718 | | /// The case when arguments are the same (tautological comparison). Return constant. | 719 | | /// NOTE: Nullable types are special case. (BTW, this function use default implementation for Nullable, so Nullable types cannot be here. Check just in case.) | 720 | | /// NOTE: We consider NaN comparison to be implementation specific (and in our implementation NaNs are sometimes equal sometimes not). | 721 | 24.6k | if (left_type->equals(*right_type) && !left_type->is_nullable() && | 722 | 24.6k | col_left_untyped == col_right_untyped) { | 723 | | /// Always true: =, <=, >= | 724 | | // TODO: Return const column in the future. But seems so far to do. We need a unified approach for passing const column. | 725 | | if constexpr (std::is_same_v<Op<TYPE_INT>, EqualsOp<TYPE_INT>> || | 726 | | std::is_same_v<Op<TYPE_INT>, LessOrEqualsOp<TYPE_INT>> || | 727 | 0 | std::is_same_v<Op<TYPE_INT>, GreaterOrEqualsOp<TYPE_INT>>) { | 728 | 0 | block.get_by_position(result).column = | 729 | 0 | DataTypeUInt8() | 730 | 0 | .create_column_const(input_rows_count, | 731 | 0 | Field::create_field<TYPE_BOOLEAN>(1)) | 732 | 0 | ->convert_to_full_column_if_const(); | 733 | 0 | return Status::OK(); | 734 | | } else { | 735 | | block.get_by_position(result).column = | 736 | | DataTypeUInt8() | 737 | | .create_column_const(input_rows_count, | 738 | | Field::create_field<TYPE_BOOLEAN>(0)) | 739 | | ->convert_to_full_column_if_const(); | 740 | | return Status::OK(); | 741 | | } | 742 | 0 | } | 743 | | | 744 | 0 | auto can_compare = [](PrimitiveType t) -> bool { | 745 | 24.6k | return is_int_or_bool(t) || is_float_or_double(t) || is_ip(t) || is_date_type(t); | 746 | 24.6k | }; | 747 | | | 748 | 24.6k | if (can_compare(left_type->get_primitive_type()) && | 749 | 24.6k | can_compare(right_type->get_primitive_type())) { | 750 | | // check left type equals right type TODO: remove this after FE is aware of scales difference | 751 | 12.7k | if (!left_type->equals_ignore_precision(*right_type)) { | 752 | 0 | return Status::RuntimeError("not same type in function {} , left : {} , right : {}", | 753 | 0 | get_name(), left_type->get_name(), | 754 | 0 | right_type->get_name()); | 755 | 0 | } | 756 | 12.7k | } | 757 | | | 758 | 24.6k | auto compare_type = left_type->get_primitive_type(); | 759 | 24.6k | switch (compare_type) { | 760 | 91 | case TYPE_BOOLEAN: | 761 | 91 | return execute_num_type<TYPE_BOOLEAN>(block, result, col_left_ptr, col_right_ptr); | 762 | 797 | case TYPE_DATEV2: | 763 | 797 | return execute_num_type<TYPE_DATEV2>(block, result, col_left_ptr, col_right_ptr); | 764 | 445 | case TYPE_DATETIMEV2: | 765 | 445 | return execute_num_type<TYPE_DATETIMEV2>(block, result, col_left_ptr, col_right_ptr); | 766 | 2 | case TYPE_TIMESTAMPTZ: | 767 | 2 | return execute_num_type<TYPE_TIMESTAMPTZ>(block, result, col_left_ptr, col_right_ptr); | 768 | 5.03k | case TYPE_TINYINT: | 769 | 5.03k | return execute_num_type<TYPE_TINYINT>(block, result, col_left_ptr, col_right_ptr); | 770 | 412 | case TYPE_SMALLINT: | 771 | 412 | return execute_num_type<TYPE_SMALLINT>(block, result, col_left_ptr, col_right_ptr); | 772 | 1.99k | case TYPE_INT: | 773 | 1.99k | return execute_num_type<TYPE_INT>(block, result, col_left_ptr, col_right_ptr); | 774 | 2.99k | case TYPE_BIGINT: | 775 | 2.99k | return execute_num_type<TYPE_BIGINT>(block, result, col_left_ptr, col_right_ptr); | 776 | 128 | case TYPE_LARGEINT: | 777 | 128 | return execute_num_type<TYPE_LARGEINT>(block, result, col_left_ptr, col_right_ptr); | 778 | 29 | case TYPE_IPV4: | 779 | 29 | return execute_num_type<TYPE_IPV4>(block, result, col_left_ptr, col_right_ptr); | 780 | 30 | case TYPE_IPV6: | 781 | 30 | return execute_num_type<TYPE_IPV6>(block, result, col_left_ptr, col_right_ptr); | 782 | 112 | case TYPE_FLOAT: | 783 | 112 | return execute_num_type<TYPE_FLOAT>(block, result, col_left_ptr, col_right_ptr); | 784 | 725 | case TYPE_DOUBLE: | 785 | 725 | return execute_num_type<TYPE_DOUBLE>(block, result, col_left_ptr, col_right_ptr); | 786 | 4 | case TYPE_TIMEV2: | 787 | 4 | return execute_num_type<TYPE_TIMEV2>(block, result, col_left_ptr, col_right_ptr); | 788 | 0 | case TYPE_DECIMALV2: | 789 | 162 | case TYPE_DECIMAL32: | 790 | 334 | case TYPE_DECIMAL64: | 791 | 1.26k | case TYPE_DECIMAL128I: | 792 | 1.30k | case TYPE_DECIMAL256: | 793 | 1.30k | return execute_decimal(block, result, col_with_type_and_name_left, | 794 | 1.30k | col_with_type_and_name_right); | 795 | 476 | case TYPE_CHAR: | 796 | 5.81k | case TYPE_VARCHAR: | 797 | 10.5k | case TYPE_STRING: | 798 | 10.5k | return execute_string(block, result, col_left_untyped, col_right_untyped); | 799 | 17 | default: | 800 | 17 | return execute_generic(block, result, col_with_type_and_name_left, | 801 | 17 | col_with_type_and_name_right); | 802 | 24.6k | } | 803 | 0 | return Status::OK(); | 804 | 24.6k | } |
_ZNK5doris18FunctionComparisonINS_11NotEqualsOpENS_13NameNotEqualsEE12execute_implEPNS_15FunctionContextERNS_5BlockERKSt6vectorIjSaIjEEjm Line | Count | Source | 706 | 2.96k | uint32_t result, size_t input_rows_count) const override { | 707 | 2.96k | const auto& col_with_type_and_name_left = block.get_by_position(arguments[0]); | 708 | 2.96k | const auto& col_with_type_and_name_right = block.get_by_position(arguments[1]); | 709 | | | 710 | 2.96k | const auto& col_left_ptr = col_with_type_and_name_left.column; | 711 | 2.96k | const auto& col_right_ptr = col_with_type_and_name_right.column; | 712 | 2.96k | const IColumn* col_left_untyped = col_with_type_and_name_left.column.get(); | 713 | 2.96k | const IColumn* col_right_untyped = col_with_type_and_name_right.column.get(); | 714 | | | 715 | 2.96k | const DataTypePtr& left_type = col_with_type_and_name_left.type; | 716 | 2.96k | const DataTypePtr& right_type = col_with_type_and_name_right.type; | 717 | | | 718 | | /// The case when arguments are the same (tautological comparison). Return constant. | 719 | | /// NOTE: Nullable types are special case. (BTW, this function use default implementation for Nullable, so Nullable types cannot be here. Check just in case.) | 720 | | /// NOTE: We consider NaN comparison to be implementation specific (and in our implementation NaNs are sometimes equal sometimes not). | 721 | 2.96k | if (left_type->equals(*right_type) && !left_type->is_nullable() && | 722 | 2.96k | col_left_untyped == col_right_untyped) { | 723 | | /// Always true: =, <=, >= | 724 | | // TODO: Return const column in the future. But seems so far to do. We need a unified approach for passing const column. | 725 | | if constexpr (std::is_same_v<Op<TYPE_INT>, EqualsOp<TYPE_INT>> || | 726 | | std::is_same_v<Op<TYPE_INT>, LessOrEqualsOp<TYPE_INT>> || | 727 | | std::is_same_v<Op<TYPE_INT>, GreaterOrEqualsOp<TYPE_INT>>) { | 728 | | block.get_by_position(result).column = | 729 | | DataTypeUInt8() | 730 | | .create_column_const(input_rows_count, | 731 | | Field::create_field<TYPE_BOOLEAN>(1)) | 732 | | ->convert_to_full_column_if_const(); | 733 | | return Status::OK(); | 734 | 0 | } else { | 735 | 0 | block.get_by_position(result).column = | 736 | 0 | DataTypeUInt8() | 737 | 0 | .create_column_const(input_rows_count, | 738 | 0 | Field::create_field<TYPE_BOOLEAN>(0)) | 739 | 0 | ->convert_to_full_column_if_const(); | 740 | 0 | return Status::OK(); | 741 | 0 | } | 742 | 0 | } | 743 | | | 744 | 0 | auto can_compare = [](PrimitiveType t) -> bool { | 745 | 2.96k | return is_int_or_bool(t) || is_float_or_double(t) || is_ip(t) || is_date_type(t); | 746 | 2.96k | }; | 747 | | | 748 | 2.96k | if (can_compare(left_type->get_primitive_type()) && | 749 | 2.96k | can_compare(right_type->get_primitive_type())) { | 750 | | // check left type equals right type TODO: remove this after FE is aware of scales difference | 751 | 2.73k | if (!left_type->equals_ignore_precision(*right_type)) { | 752 | 0 | return Status::RuntimeError("not same type in function {} , left : {} , right : {}", | 753 | 0 | get_name(), left_type->get_name(), | 754 | 0 | right_type->get_name()); | 755 | 0 | } | 756 | 2.73k | } | 757 | | | 758 | 2.96k | auto compare_type = left_type->get_primitive_type(); | 759 | 2.96k | switch (compare_type) { | 760 | 0 | case TYPE_BOOLEAN: | 761 | 0 | return execute_num_type<TYPE_BOOLEAN>(block, result, col_left_ptr, col_right_ptr); | 762 | 70 | case TYPE_DATEV2: | 763 | 70 | return execute_num_type<TYPE_DATEV2>(block, result, col_left_ptr, col_right_ptr); | 764 | 0 | case TYPE_DATETIMEV2: | 765 | 0 | return execute_num_type<TYPE_DATETIMEV2>(block, result, col_left_ptr, col_right_ptr); | 766 | 0 | case TYPE_TIMESTAMPTZ: | 767 | 0 | return execute_num_type<TYPE_TIMESTAMPTZ>(block, result, col_left_ptr, col_right_ptr); | 768 | 84 | case TYPE_TINYINT: | 769 | 84 | return execute_num_type<TYPE_TINYINT>(block, result, col_left_ptr, col_right_ptr); | 770 | 0 | case TYPE_SMALLINT: | 771 | 0 | return execute_num_type<TYPE_SMALLINT>(block, result, col_left_ptr, col_right_ptr); | 772 | 1.44k | case TYPE_INT: | 773 | 1.44k | return execute_num_type<TYPE_INT>(block, result, col_left_ptr, col_right_ptr); | 774 | 1.02k | case TYPE_BIGINT: | 775 | 1.02k | return execute_num_type<TYPE_BIGINT>(block, result, col_left_ptr, col_right_ptr); | 776 | 0 | case TYPE_LARGEINT: | 777 | 0 | return execute_num_type<TYPE_LARGEINT>(block, result, col_left_ptr, col_right_ptr); | 778 | 0 | case TYPE_IPV4: | 779 | 0 | return execute_num_type<TYPE_IPV4>(block, result, col_left_ptr, col_right_ptr); | 780 | 0 | case TYPE_IPV6: | 781 | 0 | return execute_num_type<TYPE_IPV6>(block, result, col_left_ptr, col_right_ptr); | 782 | 48 | case TYPE_FLOAT: | 783 | 48 | return execute_num_type<TYPE_FLOAT>(block, result, col_left_ptr, col_right_ptr); | 784 | 60 | case TYPE_DOUBLE: | 785 | 60 | return execute_num_type<TYPE_DOUBLE>(block, result, col_left_ptr, col_right_ptr); | 786 | 0 | case TYPE_TIMEV2: | 787 | 0 | return execute_num_type<TYPE_TIMEV2>(block, result, col_left_ptr, col_right_ptr); | 788 | 0 | case TYPE_DECIMALV2: | 789 | 0 | case TYPE_DECIMAL32: | 790 | 73 | case TYPE_DECIMAL64: | 791 | 101 | case TYPE_DECIMAL128I: | 792 | 131 | case TYPE_DECIMAL256: | 793 | 131 | return execute_decimal(block, result, col_with_type_and_name_left, | 794 | 131 | col_with_type_and_name_right); | 795 | 1 | case TYPE_CHAR: | 796 | 26 | case TYPE_VARCHAR: | 797 | 90 | case TYPE_STRING: | 798 | 90 | return execute_string(block, result, col_left_untyped, col_right_untyped); | 799 | 8 | default: | 800 | 8 | return execute_generic(block, result, col_with_type_and_name_left, | 801 | 8 | col_with_type_and_name_right); | 802 | 2.96k | } | 803 | 0 | return Status::OK(); | 804 | 2.96k | } |
_ZNK5doris18FunctionComparisonINS_9GreaterOpENS_11NameGreaterEE12execute_implEPNS_15FunctionContextERNS_5BlockERKSt6vectorIjSaIjEEjm Line | Count | Source | 706 | 20.5k | uint32_t result, size_t input_rows_count) const override { | 707 | 20.5k | const auto& col_with_type_and_name_left = block.get_by_position(arguments[0]); | 708 | 20.5k | const auto& col_with_type_and_name_right = block.get_by_position(arguments[1]); | 709 | | | 710 | 20.5k | const auto& col_left_ptr = col_with_type_and_name_left.column; | 711 | 20.5k | const auto& col_right_ptr = col_with_type_and_name_right.column; | 712 | 20.5k | const IColumn* col_left_untyped = col_with_type_and_name_left.column.get(); | 713 | 20.5k | const IColumn* col_right_untyped = col_with_type_and_name_right.column.get(); | 714 | | | 715 | 20.5k | const DataTypePtr& left_type = col_with_type_and_name_left.type; | 716 | 20.5k | const DataTypePtr& right_type = col_with_type_and_name_right.type; | 717 | | | 718 | | /// The case when arguments are the same (tautological comparison). Return constant. | 719 | | /// NOTE: Nullable types are special case. (BTW, this function use default implementation for Nullable, so Nullable types cannot be here. Check just in case.) | 720 | | /// NOTE: We consider NaN comparison to be implementation specific (and in our implementation NaNs are sometimes equal sometimes not). | 721 | 20.5k | if (left_type->equals(*right_type) && !left_type->is_nullable() && | 722 | 20.5k | col_left_untyped == col_right_untyped) { | 723 | | /// Always true: =, <=, >= | 724 | | // TODO: Return const column in the future. But seems so far to do. We need a unified approach for passing const column. | 725 | | if constexpr (std::is_same_v<Op<TYPE_INT>, EqualsOp<TYPE_INT>> || | 726 | | std::is_same_v<Op<TYPE_INT>, LessOrEqualsOp<TYPE_INT>> || | 727 | | std::is_same_v<Op<TYPE_INT>, GreaterOrEqualsOp<TYPE_INT>>) { | 728 | | block.get_by_position(result).column = | 729 | | DataTypeUInt8() | 730 | | .create_column_const(input_rows_count, | 731 | | Field::create_field<TYPE_BOOLEAN>(1)) | 732 | | ->convert_to_full_column_if_const(); | 733 | | return Status::OK(); | 734 | 0 | } else { | 735 | 0 | block.get_by_position(result).column = | 736 | 0 | DataTypeUInt8() | 737 | 0 | .create_column_const(input_rows_count, | 738 | 0 | Field::create_field<TYPE_BOOLEAN>(0)) | 739 | 0 | ->convert_to_full_column_if_const(); | 740 | 0 | return Status::OK(); | 741 | 0 | } | 742 | 0 | } | 743 | | | 744 | 0 | auto can_compare = [](PrimitiveType t) -> bool { | 745 | 20.5k | return is_int_or_bool(t) || is_float_or_double(t) || is_ip(t) || is_date_type(t); | 746 | 20.5k | }; | 747 | | | 748 | 20.5k | if (can_compare(left_type->get_primitive_type()) && | 749 | 20.5k | can_compare(right_type->get_primitive_type())) { | 750 | | // check left type equals right type TODO: remove this after FE is aware of scales difference | 751 | 19.6k | if (!left_type->equals_ignore_precision(*right_type)) { | 752 | 0 | return Status::RuntimeError("not same type in function {} , left : {} , right : {}", | 753 | 0 | get_name(), left_type->get_name(), | 754 | 0 | right_type->get_name()); | 755 | 0 | } | 756 | 19.6k | } | 757 | | | 758 | 20.5k | auto compare_type = left_type->get_primitive_type(); | 759 | 20.5k | switch (compare_type) { | 760 | 0 | case TYPE_BOOLEAN: | 761 | 0 | return execute_num_type<TYPE_BOOLEAN>(block, result, col_left_ptr, col_right_ptr); | 762 | 994 | case TYPE_DATEV2: | 763 | 994 | return execute_num_type<TYPE_DATEV2>(block, result, col_left_ptr, col_right_ptr); | 764 | 2 | case TYPE_DATETIMEV2: | 765 | 2 | return execute_num_type<TYPE_DATETIMEV2>(block, result, col_left_ptr, col_right_ptr); | 766 | 1 | case TYPE_TIMESTAMPTZ: | 767 | 1 | return execute_num_type<TYPE_TIMESTAMPTZ>(block, result, col_left_ptr, col_right_ptr); | 768 | 1.04k | case TYPE_TINYINT: | 769 | 1.04k | return execute_num_type<TYPE_TINYINT>(block, result, col_left_ptr, col_right_ptr); | 770 | 1.81k | case TYPE_SMALLINT: | 771 | 1.81k | return execute_num_type<TYPE_SMALLINT>(block, result, col_left_ptr, col_right_ptr); | 772 | 12.9k | case TYPE_INT: | 773 | 12.9k | return execute_num_type<TYPE_INT>(block, result, col_left_ptr, col_right_ptr); | 774 | 1.86k | case TYPE_BIGINT: | 775 | 1.86k | return execute_num_type<TYPE_BIGINT>(block, result, col_left_ptr, col_right_ptr); | 776 | 234 | case TYPE_LARGEINT: | 777 | 234 | return execute_num_type<TYPE_LARGEINT>(block, result, col_left_ptr, col_right_ptr); | 778 | 4 | case TYPE_IPV4: | 779 | 4 | return execute_num_type<TYPE_IPV4>(block, result, col_left_ptr, col_right_ptr); | 780 | 1 | case TYPE_IPV6: | 781 | 1 | return execute_num_type<TYPE_IPV6>(block, result, col_left_ptr, col_right_ptr); | 782 | 220 | case TYPE_FLOAT: | 783 | 220 | return execute_num_type<TYPE_FLOAT>(block, result, col_left_ptr, col_right_ptr); | 784 | 532 | case TYPE_DOUBLE: | 785 | 532 | return execute_num_type<TYPE_DOUBLE>(block, result, col_left_ptr, col_right_ptr); | 786 | 0 | case TYPE_TIMEV2: | 787 | 0 | return execute_num_type<TYPE_TIMEV2>(block, result, col_left_ptr, col_right_ptr); | 788 | 0 | case TYPE_DECIMALV2: | 789 | 8 | case TYPE_DECIMAL32: | 790 | 74 | case TYPE_DECIMAL64: | 791 | 694 | case TYPE_DECIMAL128I: | 792 | 696 | case TYPE_DECIMAL256: | 793 | 696 | return execute_decimal(block, result, col_with_type_and_name_left, | 794 | 696 | col_with_type_and_name_right); | 795 | 14 | case TYPE_CHAR: | 796 | 76 | case TYPE_VARCHAR: | 797 | 202 | case TYPE_STRING: | 798 | 202 | return execute_string(block, result, col_left_untyped, col_right_untyped); | 799 | 9 | default: | 800 | 9 | return execute_generic(block, result, col_with_type_and_name_left, | 801 | 9 | col_with_type_and_name_right); | 802 | 20.5k | } | 803 | 0 | return Status::OK(); | 804 | 20.5k | } |
_ZNK5doris18FunctionComparisonINS_17GreaterOrEqualsOpENS_19NameGreaterOrEqualsEE12execute_implEPNS_15FunctionContextERNS_5BlockERKSt6vectorIjSaIjEEjm Line | Count | Source | 706 | 2.69k | uint32_t result, size_t input_rows_count) const override { | 707 | 2.69k | const auto& col_with_type_and_name_left = block.get_by_position(arguments[0]); | 708 | 2.69k | const auto& col_with_type_and_name_right = block.get_by_position(arguments[1]); | 709 | | | 710 | 2.69k | const auto& col_left_ptr = col_with_type_and_name_left.column; | 711 | 2.69k | const auto& col_right_ptr = col_with_type_and_name_right.column; | 712 | 2.69k | const IColumn* col_left_untyped = col_with_type_and_name_left.column.get(); | 713 | 2.69k | const IColumn* col_right_untyped = col_with_type_and_name_right.column.get(); | 714 | | | 715 | 2.69k | const DataTypePtr& left_type = col_with_type_and_name_left.type; | 716 | 2.69k | const DataTypePtr& right_type = col_with_type_and_name_right.type; | 717 | | | 718 | | /// The case when arguments are the same (tautological comparison). Return constant. | 719 | | /// NOTE: Nullable types are special case. (BTW, this function use default implementation for Nullable, so Nullable types cannot be here. Check just in case.) | 720 | | /// NOTE: We consider NaN comparison to be implementation specific (and in our implementation NaNs are sometimes equal sometimes not). | 721 | 2.69k | if (left_type->equals(*right_type) && !left_type->is_nullable() && | 722 | 2.69k | col_left_untyped == col_right_untyped) { | 723 | | /// Always true: =, <=, >= | 724 | | // TODO: Return const column in the future. But seems so far to do. We need a unified approach for passing const column. | 725 | | if constexpr (std::is_same_v<Op<TYPE_INT>, EqualsOp<TYPE_INT>> || | 726 | | std::is_same_v<Op<TYPE_INT>, LessOrEqualsOp<TYPE_INT>> || | 727 | 0 | std::is_same_v<Op<TYPE_INT>, GreaterOrEqualsOp<TYPE_INT>>) { | 728 | 0 | block.get_by_position(result).column = | 729 | 0 | DataTypeUInt8() | 730 | 0 | .create_column_const(input_rows_count, | 731 | 0 | Field::create_field<TYPE_BOOLEAN>(1)) | 732 | 0 | ->convert_to_full_column_if_const(); | 733 | 0 | return Status::OK(); | 734 | | } else { | 735 | | block.get_by_position(result).column = | 736 | | DataTypeUInt8() | 737 | | .create_column_const(input_rows_count, | 738 | | Field::create_field<TYPE_BOOLEAN>(0)) | 739 | | ->convert_to_full_column_if_const(); | 740 | | return Status::OK(); | 741 | | } | 742 | 0 | } | 743 | | | 744 | 0 | auto can_compare = [](PrimitiveType t) -> bool { | 745 | 2.69k | return is_int_or_bool(t) || is_float_or_double(t) || is_ip(t) || is_date_type(t); | 746 | 2.69k | }; | 747 | | | 748 | 2.69k | if (can_compare(left_type->get_primitive_type()) && | 749 | 2.69k | can_compare(right_type->get_primitive_type())) { | 750 | | // check left type equals right type TODO: remove this after FE is aware of scales difference | 751 | 2.24k | if (!left_type->equals_ignore_precision(*right_type)) { | 752 | 0 | return Status::RuntimeError("not same type in function {} , left : {} , right : {}", | 753 | 0 | get_name(), left_type->get_name(), | 754 | 0 | right_type->get_name()); | 755 | 0 | } | 756 | 2.24k | } | 757 | | | 758 | 2.69k | auto compare_type = left_type->get_primitive_type(); | 759 | 2.69k | switch (compare_type) { | 760 | 14 | case TYPE_BOOLEAN: | 761 | 14 | return execute_num_type<TYPE_BOOLEAN>(block, result, col_left_ptr, col_right_ptr); | 762 | 450 | case TYPE_DATEV2: | 763 | 450 | return execute_num_type<TYPE_DATEV2>(block, result, col_left_ptr, col_right_ptr); | 764 | 143 | case TYPE_DATETIMEV2: | 765 | 143 | return execute_num_type<TYPE_DATETIMEV2>(block, result, col_left_ptr, col_right_ptr); | 766 | 1 | case TYPE_TIMESTAMPTZ: | 767 | 1 | return execute_num_type<TYPE_TIMESTAMPTZ>(block, result, col_left_ptr, col_right_ptr); | 768 | 106 | case TYPE_TINYINT: | 769 | 106 | return execute_num_type<TYPE_TINYINT>(block, result, col_left_ptr, col_right_ptr); | 770 | 127 | case TYPE_SMALLINT: | 771 | 127 | return execute_num_type<TYPE_SMALLINT>(block, result, col_left_ptr, col_right_ptr); | 772 | 994 | case TYPE_INT: | 773 | 994 | return execute_num_type<TYPE_INT>(block, result, col_left_ptr, col_right_ptr); | 774 | 164 | case TYPE_BIGINT: | 775 | 164 | return execute_num_type<TYPE_BIGINT>(block, result, col_left_ptr, col_right_ptr); | 776 | 17 | case TYPE_LARGEINT: | 777 | 17 | return execute_num_type<TYPE_LARGEINT>(block, result, col_left_ptr, col_right_ptr); | 778 | 11 | case TYPE_IPV4: | 779 | 11 | return execute_num_type<TYPE_IPV4>(block, result, col_left_ptr, col_right_ptr); | 780 | 1 | case TYPE_IPV6: | 781 | 1 | return execute_num_type<TYPE_IPV6>(block, result, col_left_ptr, col_right_ptr); | 782 | 24 | case TYPE_FLOAT: | 783 | 24 | return execute_num_type<TYPE_FLOAT>(block, result, col_left_ptr, col_right_ptr); | 784 | 136 | case TYPE_DOUBLE: | 785 | 136 | return execute_num_type<TYPE_DOUBLE>(block, result, col_left_ptr, col_right_ptr); | 786 | 0 | case TYPE_TIMEV2: | 787 | 0 | return execute_num_type<TYPE_TIMEV2>(block, result, col_left_ptr, col_right_ptr); | 788 | 0 | case TYPE_DECIMALV2: | 789 | 1 | case TYPE_DECIMAL32: | 790 | 53 | case TYPE_DECIMAL64: | 791 | 125 | case TYPE_DECIMAL128I: | 792 | 146 | case TYPE_DECIMAL256: | 793 | 146 | return execute_decimal(block, result, col_with_type_and_name_left, | 794 | 146 | col_with_type_and_name_right); | 795 | 38 | case TYPE_CHAR: | 796 | 239 | case TYPE_VARCHAR: | 797 | 301 | case TYPE_STRING: | 798 | 301 | return execute_string(block, result, col_left_untyped, col_right_untyped); | 799 | 60 | default: | 800 | 60 | return execute_generic(block, result, col_with_type_and_name_left, | 801 | 60 | col_with_type_and_name_right); | 802 | 2.69k | } | 803 | 0 | return Status::OK(); | 804 | 2.69k | } |
_ZNK5doris18FunctionComparisonINS_6LessOpENS_8NameLessEE12execute_implEPNS_15FunctionContextERNS_5BlockERKSt6vectorIjSaIjEEjm Line | Count | Source | 706 | 8.77k | uint32_t result, size_t input_rows_count) const override { | 707 | 8.77k | const auto& col_with_type_and_name_left = block.get_by_position(arguments[0]); | 708 | 8.77k | const auto& col_with_type_and_name_right = block.get_by_position(arguments[1]); | 709 | | | 710 | 8.77k | const auto& col_left_ptr = col_with_type_and_name_left.column; | 711 | 8.77k | const auto& col_right_ptr = col_with_type_and_name_right.column; | 712 | 8.77k | const IColumn* col_left_untyped = col_with_type_and_name_left.column.get(); | 713 | 8.77k | const IColumn* col_right_untyped = col_with_type_and_name_right.column.get(); | 714 | | | 715 | 8.77k | const DataTypePtr& left_type = col_with_type_and_name_left.type; | 716 | 8.77k | const DataTypePtr& right_type = col_with_type_and_name_right.type; | 717 | | | 718 | | /// The case when arguments are the same (tautological comparison). Return constant. | 719 | | /// NOTE: Nullable types are special case. (BTW, this function use default implementation for Nullable, so Nullable types cannot be here. Check just in case.) | 720 | | /// NOTE: We consider NaN comparison to be implementation specific (and in our implementation NaNs are sometimes equal sometimes not). | 721 | 8.77k | if (left_type->equals(*right_type) && !left_type->is_nullable() && | 722 | 8.77k | col_left_untyped == col_right_untyped) { | 723 | | /// Always true: =, <=, >= | 724 | | // TODO: Return const column in the future. But seems so far to do. We need a unified approach for passing const column. | 725 | | if constexpr (std::is_same_v<Op<TYPE_INT>, EqualsOp<TYPE_INT>> || | 726 | | std::is_same_v<Op<TYPE_INT>, LessOrEqualsOp<TYPE_INT>> || | 727 | | std::is_same_v<Op<TYPE_INT>, GreaterOrEqualsOp<TYPE_INT>>) { | 728 | | block.get_by_position(result).column = | 729 | | DataTypeUInt8() | 730 | | .create_column_const(input_rows_count, | 731 | | Field::create_field<TYPE_BOOLEAN>(1)) | 732 | | ->convert_to_full_column_if_const(); | 733 | | return Status::OK(); | 734 | 0 | } else { | 735 | 0 | block.get_by_position(result).column = | 736 | 0 | DataTypeUInt8() | 737 | 0 | .create_column_const(input_rows_count, | 738 | 0 | Field::create_field<TYPE_BOOLEAN>(0)) | 739 | 0 | ->convert_to_full_column_if_const(); | 740 | 0 | return Status::OK(); | 741 | 0 | } | 742 | 0 | } | 743 | | | 744 | 0 | auto can_compare = [](PrimitiveType t) -> bool { | 745 | 8.77k | return is_int_or_bool(t) || is_float_or_double(t) || is_ip(t) || is_date_type(t); | 746 | 8.77k | }; | 747 | | | 748 | 8.77k | if (can_compare(left_type->get_primitive_type()) && | 749 | 8.77k | can_compare(right_type->get_primitive_type())) { | 750 | | // check left type equals right type TODO: remove this after FE is aware of scales difference | 751 | 7.47k | if (!left_type->equals_ignore_precision(*right_type)) { | 752 | 0 | return Status::RuntimeError("not same type in function {} , left : {} , right : {}", | 753 | 0 | get_name(), left_type->get_name(), | 754 | 0 | right_type->get_name()); | 755 | 0 | } | 756 | 7.47k | } | 757 | | | 758 | 8.77k | auto compare_type = left_type->get_primitive_type(); | 759 | 8.77k | switch (compare_type) { | 760 | 91 | case TYPE_BOOLEAN: | 761 | 91 | return execute_num_type<TYPE_BOOLEAN>(block, result, col_left_ptr, col_right_ptr); | 762 | 1.96k | case TYPE_DATEV2: | 763 | 1.96k | return execute_num_type<TYPE_DATEV2>(block, result, col_left_ptr, col_right_ptr); | 764 | 317 | case TYPE_DATETIMEV2: | 765 | 317 | return execute_num_type<TYPE_DATETIMEV2>(block, result, col_left_ptr, col_right_ptr); | 766 | 2 | case TYPE_TIMESTAMPTZ: | 767 | 2 | return execute_num_type<TYPE_TIMESTAMPTZ>(block, result, col_left_ptr, col_right_ptr); | 768 | 2.16k | case TYPE_TINYINT: | 769 | 2.16k | return execute_num_type<TYPE_TINYINT>(block, result, col_left_ptr, col_right_ptr); | 770 | 154 | case TYPE_SMALLINT: | 771 | 154 | return execute_num_type<TYPE_SMALLINT>(block, result, col_left_ptr, col_right_ptr); | 772 | 1.10k | case TYPE_INT: | 773 | 1.10k | return execute_num_type<TYPE_INT>(block, result, col_left_ptr, col_right_ptr); | 774 | 852 | case TYPE_BIGINT: | 775 | 852 | return execute_num_type<TYPE_BIGINT>(block, result, col_left_ptr, col_right_ptr); | 776 | 295 | case TYPE_LARGEINT: | 777 | 295 | return execute_num_type<TYPE_LARGEINT>(block, result, col_left_ptr, col_right_ptr); | 778 | 18 | case TYPE_IPV4: | 779 | 18 | return execute_num_type<TYPE_IPV4>(block, result, col_left_ptr, col_right_ptr); | 780 | 16 | case TYPE_IPV6: | 781 | 16 | return execute_num_type<TYPE_IPV6>(block, result, col_left_ptr, col_right_ptr); | 782 | 148 | case TYPE_FLOAT: | 783 | 148 | return execute_num_type<TYPE_FLOAT>(block, result, col_left_ptr, col_right_ptr); | 784 | 351 | case TYPE_DOUBLE: | 785 | 351 | return execute_num_type<TYPE_DOUBLE>(block, result, col_left_ptr, col_right_ptr); | 786 | 0 | case TYPE_TIMEV2: | 787 | 0 | return execute_num_type<TYPE_TIMEV2>(block, result, col_left_ptr, col_right_ptr); | 788 | 0 | case TYPE_DECIMALV2: | 789 | 201 | case TYPE_DECIMAL32: | 790 | 413 | case TYPE_DECIMAL64: | 791 | 711 | case TYPE_DECIMAL128I: | 792 | 712 | case TYPE_DECIMAL256: | 793 | 712 | return execute_decimal(block, result, col_with_type_and_name_left, | 794 | 712 | col_with_type_and_name_right); | 795 | 190 | case TYPE_CHAR: | 796 | 375 | case TYPE_VARCHAR: | 797 | 572 | case TYPE_STRING: | 798 | 572 | return execute_string(block, result, col_left_untyped, col_right_untyped); | 799 | 11 | default: | 800 | 11 | return execute_generic(block, result, col_with_type_and_name_left, | 801 | 11 | col_with_type_and_name_right); | 802 | 8.77k | } | 803 | 0 | return Status::OK(); | 804 | 8.77k | } |
_ZNK5doris18FunctionComparisonINS_14LessOrEqualsOpENS_16NameLessOrEqualsEE12execute_implEPNS_15FunctionContextERNS_5BlockERKSt6vectorIjSaIjEEjm Line | Count | Source | 706 | 8.59k | uint32_t result, size_t input_rows_count) const override { | 707 | 8.59k | const auto& col_with_type_and_name_left = block.get_by_position(arguments[0]); | 708 | 8.59k | const auto& col_with_type_and_name_right = block.get_by_position(arguments[1]); | 709 | | | 710 | 8.59k | const auto& col_left_ptr = col_with_type_and_name_left.column; | 711 | 8.59k | const auto& col_right_ptr = col_with_type_and_name_right.column; | 712 | 8.59k | const IColumn* col_left_untyped = col_with_type_and_name_left.column.get(); | 713 | 8.59k | const IColumn* col_right_untyped = col_with_type_and_name_right.column.get(); | 714 | | | 715 | 8.59k | const DataTypePtr& left_type = col_with_type_and_name_left.type; | 716 | 8.59k | const DataTypePtr& right_type = col_with_type_and_name_right.type; | 717 | | | 718 | | /// The case when arguments are the same (tautological comparison). Return constant. | 719 | | /// NOTE: Nullable types are special case. (BTW, this function use default implementation for Nullable, so Nullable types cannot be here. Check just in case.) | 720 | | /// NOTE: We consider NaN comparison to be implementation specific (and in our implementation NaNs are sometimes equal sometimes not). | 721 | 8.59k | if (left_type->equals(*right_type) && !left_type->is_nullable() && | 722 | 8.59k | col_left_untyped == col_right_untyped) { | 723 | | /// Always true: =, <=, >= | 724 | | // TODO: Return const column in the future. But seems so far to do. We need a unified approach for passing const column. | 725 | | if constexpr (std::is_same_v<Op<TYPE_INT>, EqualsOp<TYPE_INT>> || | 726 | | std::is_same_v<Op<TYPE_INT>, LessOrEqualsOp<TYPE_INT>> || | 727 | 0 | std::is_same_v<Op<TYPE_INT>, GreaterOrEqualsOp<TYPE_INT>>) { | 728 | 0 | block.get_by_position(result).column = | 729 | 0 | DataTypeUInt8() | 730 | 0 | .create_column_const(input_rows_count, | 731 | 0 | Field::create_field<TYPE_BOOLEAN>(1)) | 732 | 0 | ->convert_to_full_column_if_const(); | 733 | 0 | return Status::OK(); | 734 | | } else { | 735 | | block.get_by_position(result).column = | 736 | | DataTypeUInt8() | 737 | | .create_column_const(input_rows_count, | 738 | | Field::create_field<TYPE_BOOLEAN>(0)) | 739 | | ->convert_to_full_column_if_const(); | 740 | | return Status::OK(); | 741 | | } | 742 | 0 | } | 743 | | | 744 | 0 | auto can_compare = [](PrimitiveType t) -> bool { | 745 | 8.59k | return is_int_or_bool(t) || is_float_or_double(t) || is_ip(t) || is_date_type(t); | 746 | 8.59k | }; | 747 | | | 748 | 8.59k | if (can_compare(left_type->get_primitive_type()) && | 749 | 8.59k | can_compare(right_type->get_primitive_type())) { | 750 | | // check left type equals right type TODO: remove this after FE is aware of scales difference | 751 | 8.15k | if (!left_type->equals_ignore_precision(*right_type)) { | 752 | 0 | return Status::RuntimeError("not same type in function {} , left : {} , right : {}", | 753 | 0 | get_name(), left_type->get_name(), | 754 | 0 | right_type->get_name()); | 755 | 0 | } | 756 | 8.15k | } | 757 | | | 758 | 8.59k | auto compare_type = left_type->get_primitive_type(); | 759 | 8.59k | switch (compare_type) { | 760 | 24 | case TYPE_BOOLEAN: | 761 | 24 | return execute_num_type<TYPE_BOOLEAN>(block, result, col_left_ptr, col_right_ptr); | 762 | 572 | case TYPE_DATEV2: | 763 | 572 | return execute_num_type<TYPE_DATEV2>(block, result, col_left_ptr, col_right_ptr); | 764 | 72 | case TYPE_DATETIMEV2: | 765 | 72 | return execute_num_type<TYPE_DATETIMEV2>(block, result, col_left_ptr, col_right_ptr); | 766 | 1 | case TYPE_TIMESTAMPTZ: | 767 | 1 | return execute_num_type<TYPE_TIMESTAMPTZ>(block, result, col_left_ptr, col_right_ptr); | 768 | 178 | case TYPE_TINYINT: | 769 | 178 | return execute_num_type<TYPE_TINYINT>(block, result, col_left_ptr, col_right_ptr); | 770 | 218 | case TYPE_SMALLINT: | 771 | 218 | return execute_num_type<TYPE_SMALLINT>(block, result, col_left_ptr, col_right_ptr); | 772 | 6.53k | case TYPE_INT: | 773 | 6.53k | return execute_num_type<TYPE_INT>(block, result, col_left_ptr, col_right_ptr); | 774 | 347 | case TYPE_BIGINT: | 775 | 347 | return execute_num_type<TYPE_BIGINT>(block, result, col_left_ptr, col_right_ptr); | 776 | 26 | case TYPE_LARGEINT: | 777 | 26 | return execute_num_type<TYPE_LARGEINT>(block, result, col_left_ptr, col_right_ptr); | 778 | 10 | case TYPE_IPV4: | 779 | 10 | return execute_num_type<TYPE_IPV4>(block, result, col_left_ptr, col_right_ptr); | 780 | 0 | case TYPE_IPV6: | 781 | 0 | return execute_num_type<TYPE_IPV6>(block, result, col_left_ptr, col_right_ptr); | 782 | 20 | case TYPE_FLOAT: | 783 | 20 | return execute_num_type<TYPE_FLOAT>(block, result, col_left_ptr, col_right_ptr); | 784 | 114 | case TYPE_DOUBLE: | 785 | 114 | return execute_num_type<TYPE_DOUBLE>(block, result, col_left_ptr, col_right_ptr); | 786 | 0 | case TYPE_TIMEV2: | 787 | 0 | return execute_num_type<TYPE_TIMEV2>(block, result, col_left_ptr, col_right_ptr); | 788 | 0 | case TYPE_DECIMALV2: | 789 | 7 | case TYPE_DECIMAL32: | 790 | 73 | case TYPE_DECIMAL64: | 791 | 167 | case TYPE_DECIMAL128I: | 792 | 191 | case TYPE_DECIMAL256: | 793 | 191 | return execute_decimal(block, result, col_with_type_and_name_left, | 794 | 191 | col_with_type_and_name_right); | 795 | 42 | case TYPE_CHAR: | 796 | 177 | case TYPE_VARCHAR: | 797 | 243 | case TYPE_STRING: | 798 | 243 | return execute_string(block, result, col_left_untyped, col_right_untyped); | 799 | 47 | default: | 800 | 47 | return execute_generic(block, result, col_with_type_and_name_left, | 801 | 47 | col_with_type_and_name_right); | 802 | 8.59k | } | 803 | 0 | return Status::OK(); | 804 | 8.59k | } |
|
805 | | }; |
806 | | |
807 | | } // namespace doris |