be/src/exprs/function/functions_comparison.h
Line | Count | Source |
1 | | // Licensed to the Apache Software Foundation (ASF) under one |
2 | | // or more contributor license agreements. See the NOTICE file |
3 | | // distributed with this work for additional information |
4 | | // regarding copyright ownership. The ASF licenses this file |
5 | | // to you under the Apache License, Version 2.0 (the |
6 | | // "License"); you may not use this file except in compliance |
7 | | // with the License. You may obtain a copy of the License at |
8 | | // |
9 | | // http://www.apache.org/licenses/LICENSE-2.0 |
10 | | // |
11 | | // Unless required by applicable law or agreed to in writing, |
12 | | // software distributed under the License is distributed on an |
13 | | // "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY |
14 | | // KIND, either express or implied. See the License for the |
15 | | // specific language governing permissions and limitations |
16 | | // under the License. |
17 | | // This file is copied from |
18 | | // https://github.com/ClickHouse/ClickHouse/blob/master/src/Functions/FunctionsComparison.h |
19 | | // and modified by Doris |
20 | | |
21 | | #pragma once |
22 | | |
23 | | #include <compare> |
24 | | #include <limits> |
25 | | #include <optional> |
26 | | #include <string_view> |
27 | | #include <type_traits> |
28 | | |
29 | | #include "common/check.h" |
30 | | #include "common/logging.h" |
31 | | #include "core/accurate_comparison.h" |
32 | | #include "core/assert_cast.h" |
33 | | #include "core/column/column_const.h" |
34 | | #include "core/column/column_decimal.h" |
35 | | #include "core/column/column_nullable.h" |
36 | | #include "core/column/column_string.h" |
37 | | #include "core/data_type/data_type_nullable.h" |
38 | | #include "core/data_type/data_type_number.h" |
39 | | #include "core/data_type/data_type_string.h" |
40 | | #include "core/data_type/define_primitive_type.h" |
41 | | #include "core/decimal_comparison.h" |
42 | | #include "core/field.h" |
43 | | #include "core/memcmp_small.h" |
44 | | #include "core/value/vdatetime_value.h" |
45 | | #include "exprs/expr_zonemap_filter.h" |
46 | | #include "exprs/function/function.h" |
47 | | #include "exprs/function/function_helpers.h" |
48 | | #include "exprs/function/functions_logical.h" |
49 | | #include "exprs/vexpr.h" |
50 | | #include "storage/index/index_reader_helper.h" |
51 | | #include "storage/index/inverted/inverted_index_iterator.h" |
52 | | |
53 | | namespace doris { |
54 | | /** Comparison functions: ==, !=, <, >, <=, >=. |
55 | | * The comparison functions always return 0 or 1 (UInt8). |
56 | | * |
57 | | * You can compare the following types: |
58 | | * - numbers and decimals; |
59 | | * - strings and fixed strings; |
60 | | * - dates; |
61 | | * - datetimes; |
62 | | * within each group, but not from different groups; |
63 | | * - tuples (lexicographic comparison). |
64 | | * |
65 | | * Exception: You can compare the date and datetime with a constant string. Example: EventDate = '2015-01-01'. |
66 | | */ |
67 | | |
68 | | template <typename A, typename B, typename Op> |
69 | | struct NumComparisonImpl { |
70 | | /// If you don't specify NO_INLINE, the compiler will inline this function, but we don't need this as this function contains tight loop inside. |
71 | | static void NO_INLINE vector_vector(const PaddedPODArray<A>& a, const PaddedPODArray<B>& b, |
72 | 9.11k | PaddedPODArray<UInt8>& c) { |
73 | 9.11k | size_t size = a.size(); |
74 | 9.11k | const A* __restrict a_pos = a.data(); |
75 | 9.11k | const B* __restrict b_pos = b.data(); |
76 | 9.11k | UInt8* __restrict c_pos = c.data(); |
77 | 9.11k | const A* __restrict a_end = a_pos + size; |
78 | | |
79 | 8.85M | while (a_pos < a_end) { |
80 | 8.84M | *c_pos = Op::apply(*a_pos, *b_pos); |
81 | 8.84M | ++a_pos; |
82 | 8.84M | ++b_pos; |
83 | 8.84M | ++c_pos; |
84 | 8.84M | } |
85 | 9.11k | } _ZN5doris17NumComparisonImplIhhNS_8EqualsOpILNS_13PrimitiveTypeE2EEEE13vector_vectorERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RS9_ Line | Count | Source | 72 | 67 | PaddedPODArray<UInt8>& c) { | 73 | 67 | size_t size = a.size(); | 74 | 67 | const A* __restrict a_pos = a.data(); | 75 | 67 | const B* __restrict b_pos = b.data(); | 76 | 67 | UInt8* __restrict c_pos = c.data(); | 77 | 67 | const A* __restrict a_end = a_pos + size; | 78 | | | 79 | 134 | while (a_pos < a_end) { | 80 | 67 | *c_pos = Op::apply(*a_pos, *b_pos); | 81 | 67 | ++a_pos; | 82 | 67 | ++b_pos; | 83 | 67 | ++c_pos; | 84 | 67 | } | 85 | 67 | } |
_ZN5doris17NumComparisonImplINS_11DateV2ValueINS_15DateV2ValueTypeEEES3_NS_8EqualsOpILNS_13PrimitiveTypeE25EEEE13vector_vectorERKNS_8PODArrayIS3_Lm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESE_RNS8_IhLm4096ESB_Lm16ELm15EEE Line | Count | Source | 72 | 206 | PaddedPODArray<UInt8>& c) { | 73 | 206 | size_t size = a.size(); | 74 | 206 | const A* __restrict a_pos = a.data(); | 75 | 206 | const B* __restrict b_pos = b.data(); | 76 | 206 | UInt8* __restrict c_pos = c.data(); | 77 | 206 | const A* __restrict a_end = a_pos + size; | 78 | | | 79 | 418 | while (a_pos < a_end) { | 80 | 212 | *c_pos = Op::apply(*a_pos, *b_pos); | 81 | 212 | ++a_pos; | 82 | 212 | ++b_pos; | 83 | 212 | ++c_pos; | 84 | 212 | } | 85 | 206 | } |
_ZN5doris17NumComparisonImplINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEES3_NS_8EqualsOpILNS_13PrimitiveTypeE26EEEE13vector_vectorERKNS_8PODArrayIS3_Lm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESE_RNS8_IhLm4096ESB_Lm16ELm15EEE Line | Count | Source | 72 | 237 | PaddedPODArray<UInt8>& c) { | 73 | 237 | size_t size = a.size(); | 74 | 237 | const A* __restrict a_pos = a.data(); | 75 | 237 | const B* __restrict b_pos = b.data(); | 76 | 237 | UInt8* __restrict c_pos = c.data(); | 77 | 237 | const A* __restrict a_end = a_pos + size; | 78 | | | 79 | 492 | while (a_pos < a_end) { | 80 | 255 | *c_pos = Op::apply(*a_pos, *b_pos); | 81 | 255 | ++a_pos; | 82 | 255 | ++b_pos; | 83 | 255 | ++c_pos; | 84 | 255 | } | 85 | 237 | } |
_ZN5doris17NumComparisonImplINS_16TimestampTzValueES1_NS_8EqualsOpILNS_13PrimitiveTypeE42EEEE13vector_vectorERKNS_8PODArrayIS1_Lm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESC_RNS6_IhLm4096ES9_Lm16ELm15EEE Line | Count | Source | 72 | 2 | PaddedPODArray<UInt8>& c) { | 73 | 2 | size_t size = a.size(); | 74 | 2 | const A* __restrict a_pos = a.data(); | 75 | 2 | const B* __restrict b_pos = b.data(); | 76 | 2 | UInt8* __restrict c_pos = c.data(); | 77 | 2 | const A* __restrict a_end = a_pos + size; | 78 | | | 79 | 12 | while (a_pos < a_end) { | 80 | 10 | *c_pos = Op::apply(*a_pos, *b_pos); | 81 | 10 | ++a_pos; | 82 | 10 | ++b_pos; | 83 | 10 | ++c_pos; | 84 | 10 | } | 85 | 2 | } |
_ZN5doris17NumComparisonImplIaaNS_8EqualsOpILNS_13PrimitiveTypeE3EEEE13vector_vectorERKNS_8PODArrayIaLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 72 | 139 | PaddedPODArray<UInt8>& c) { | 73 | 139 | size_t size = a.size(); | 74 | 139 | const A* __restrict a_pos = a.data(); | 75 | 139 | const B* __restrict b_pos = b.data(); | 76 | 139 | UInt8* __restrict c_pos = c.data(); | 77 | 139 | const A* __restrict a_end = a_pos + size; | 78 | | | 79 | 420 | while (a_pos < a_end) { | 80 | 281 | *c_pos = Op::apply(*a_pos, *b_pos); | 81 | 281 | ++a_pos; | 82 | 281 | ++b_pos; | 83 | 281 | ++c_pos; | 84 | 281 | } | 85 | 139 | } |
_ZN5doris17NumComparisonImplIssNS_8EqualsOpILNS_13PrimitiveTypeE4EEEE13vector_vectorERKNS_8PODArrayIsLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 72 | 71 | PaddedPODArray<UInt8>& c) { | 73 | 71 | size_t size = a.size(); | 74 | 71 | const A* __restrict a_pos = a.data(); | 75 | 71 | const B* __restrict b_pos = b.data(); | 76 | 71 | UInt8* __restrict c_pos = c.data(); | 77 | 71 | const A* __restrict a_end = a_pos + size; | 78 | | | 79 | 142 | while (a_pos < a_end) { | 80 | 71 | *c_pos = Op::apply(*a_pos, *b_pos); | 81 | 71 | ++a_pos; | 82 | 71 | ++b_pos; | 83 | 71 | ++c_pos; | 84 | 71 | } | 85 | 71 | } |
_ZN5doris17NumComparisonImplIiiNS_8EqualsOpILNS_13PrimitiveTypeE5EEEE13vector_vectorERKNS_8PODArrayIiLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 72 | 311 | PaddedPODArray<UInt8>& c) { | 73 | 311 | size_t size = a.size(); | 74 | 311 | const A* __restrict a_pos = a.data(); | 75 | 311 | const B* __restrict b_pos = b.data(); | 76 | 311 | UInt8* __restrict c_pos = c.data(); | 77 | 311 | const A* __restrict a_end = a_pos + size; | 78 | | | 79 | 2.04k | while (a_pos < a_end) { | 80 | 1.73k | *c_pos = Op::apply(*a_pos, *b_pos); | 81 | 1.73k | ++a_pos; | 82 | 1.73k | ++b_pos; | 83 | 1.73k | ++c_pos; | 84 | 1.73k | } | 85 | 311 | } |
_ZN5doris17NumComparisonImplIllNS_8EqualsOpILNS_13PrimitiveTypeE6EEEE13vector_vectorERKNS_8PODArrayIlLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 72 | 138 | PaddedPODArray<UInt8>& c) { | 73 | 138 | size_t size = a.size(); | 74 | 138 | const A* __restrict a_pos = a.data(); | 75 | 138 | const B* __restrict b_pos = b.data(); | 76 | 138 | UInt8* __restrict c_pos = c.data(); | 77 | 138 | const A* __restrict a_end = a_pos + size; | 78 | | | 79 | 1.38k | while (a_pos < a_end) { | 80 | 1.25k | *c_pos = Op::apply(*a_pos, *b_pos); | 81 | 1.25k | ++a_pos; | 82 | 1.25k | ++b_pos; | 83 | 1.25k | ++c_pos; | 84 | 1.25k | } | 85 | 138 | } |
_ZN5doris17NumComparisonImplInnNS_8EqualsOpILNS_13PrimitiveTypeE7EEEE13vector_vectorERKNS_8PODArrayInLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 72 | 74 | PaddedPODArray<UInt8>& c) { | 73 | 74 | size_t size = a.size(); | 74 | 74 | const A* __restrict a_pos = a.data(); | 75 | 74 | const B* __restrict b_pos = b.data(); | 76 | 74 | UInt8* __restrict c_pos = c.data(); | 77 | 74 | const A* __restrict a_end = a_pos + size; | 78 | | | 79 | 148 | while (a_pos < a_end) { | 80 | 74 | *c_pos = Op::apply(*a_pos, *b_pos); | 81 | 74 | ++a_pos; | 82 | 74 | ++b_pos; | 83 | 74 | ++c_pos; | 84 | 74 | } | 85 | 74 | } |
_ZN5doris17NumComparisonImplIjjNS_8EqualsOpILNS_13PrimitiveTypeE36EEEE13vector_vectorERKNS_8PODArrayIjLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 72 | 5 | PaddedPODArray<UInt8>& c) { | 73 | 5 | size_t size = a.size(); | 74 | 5 | const A* __restrict a_pos = a.data(); | 75 | 5 | const B* __restrict b_pos = b.data(); | 76 | 5 | UInt8* __restrict c_pos = c.data(); | 77 | 5 | const A* __restrict a_end = a_pos + size; | 78 | | | 79 | 10 | while (a_pos < a_end) { | 80 | 5 | *c_pos = Op::apply(*a_pos, *b_pos); | 81 | 5 | ++a_pos; | 82 | 5 | ++b_pos; | 83 | 5 | ++c_pos; | 84 | 5 | } | 85 | 5 | } |
_ZN5doris17NumComparisonImplIooNS_8EqualsOpILNS_13PrimitiveTypeE37EEEE13vector_vectorERKNS_8PODArrayIoLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 72 | 13 | PaddedPODArray<UInt8>& c) { | 73 | 13 | size_t size = a.size(); | 74 | 13 | const A* __restrict a_pos = a.data(); | 75 | 13 | const B* __restrict b_pos = b.data(); | 76 | 13 | UInt8* __restrict c_pos = c.data(); | 77 | 13 | const A* __restrict a_end = a_pos + size; | 78 | | | 79 | 26 | while (a_pos < a_end) { | 80 | 13 | *c_pos = Op::apply(*a_pos, *b_pos); | 81 | 13 | ++a_pos; | 82 | 13 | ++b_pos; | 83 | 13 | ++c_pos; | 84 | 13 | } | 85 | 13 | } |
_ZN5doris17NumComparisonImplIffNS_8EqualsOpILNS_13PrimitiveTypeE8EEEE13vector_vectorERKNS_8PODArrayIfLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 72 | 88 | PaddedPODArray<UInt8>& c) { | 73 | 88 | size_t size = a.size(); | 74 | 88 | const A* __restrict a_pos = a.data(); | 75 | 88 | const B* __restrict b_pos = b.data(); | 76 | 88 | UInt8* __restrict c_pos = c.data(); | 77 | 88 | const A* __restrict a_end = a_pos + size; | 78 | | | 79 | 195 | while (a_pos < a_end) { | 80 | 107 | *c_pos = Op::apply(*a_pos, *b_pos); | 81 | 107 | ++a_pos; | 82 | 107 | ++b_pos; | 83 | 107 | ++c_pos; | 84 | 107 | } | 85 | 88 | } |
_ZN5doris17NumComparisonImplIddNS_8EqualsOpILNS_13PrimitiveTypeE9EEEE13vector_vectorERKNS_8PODArrayIdLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 72 | 95 | PaddedPODArray<UInt8>& c) { | 73 | 95 | size_t size = a.size(); | 74 | 95 | const A* __restrict a_pos = a.data(); | 75 | 95 | const B* __restrict b_pos = b.data(); | 76 | 95 | UInt8* __restrict c_pos = c.data(); | 77 | 95 | const A* __restrict a_end = a_pos + size; | 78 | | | 79 | 211 | while (a_pos < a_end) { | 80 | 116 | *c_pos = Op::apply(*a_pos, *b_pos); | 81 | 116 | ++a_pos; | 82 | 116 | ++b_pos; | 83 | 116 | ++c_pos; | 84 | 116 | } | 85 | 95 | } |
_ZN5doris17NumComparisonImplIddNS_8EqualsOpILNS_13PrimitiveTypeE27EEEE13vector_vectorERKNS_8PODArrayIdLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 72 | 4 | PaddedPODArray<UInt8>& c) { | 73 | 4 | size_t size = a.size(); | 74 | 4 | const A* __restrict a_pos = a.data(); | 75 | 4 | const B* __restrict b_pos = b.data(); | 76 | 4 | UInt8* __restrict c_pos = c.data(); | 77 | 4 | const A* __restrict a_end = a_pos + size; | 78 | | | 79 | 8 | while (a_pos < a_end) { | 80 | 4 | *c_pos = Op::apply(*a_pos, *b_pos); | 81 | 4 | ++a_pos; | 82 | 4 | ++b_pos; | 83 | 4 | ++c_pos; | 84 | 4 | } | 85 | 4 | } |
Unexecuted instantiation: _ZN5doris17NumComparisonImplIhhNS_11NotEqualsOpILNS_13PrimitiveTypeE2EEEE13vector_vectorERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RS9_ _ZN5doris17NumComparisonImplINS_11DateV2ValueINS_15DateV2ValueTypeEEES3_NS_11NotEqualsOpILNS_13PrimitiveTypeE25EEEE13vector_vectorERKNS_8PODArrayIS3_Lm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESE_RNS8_IhLm4096ESB_Lm16ELm15EEE Line | Count | Source | 72 | 39 | PaddedPODArray<UInt8>& c) { | 73 | 39 | size_t size = a.size(); | 74 | 39 | const A* __restrict a_pos = a.data(); | 75 | 39 | const B* __restrict b_pos = b.data(); | 76 | 39 | UInt8* __restrict c_pos = c.data(); | 77 | 39 | const A* __restrict a_end = a_pos + size; | 78 | | | 79 | 108 | while (a_pos < a_end) { | 80 | 69 | *c_pos = Op::apply(*a_pos, *b_pos); | 81 | 69 | ++a_pos; | 82 | 69 | ++b_pos; | 83 | 69 | ++c_pos; | 84 | 69 | } | 85 | 39 | } |
Unexecuted instantiation: _ZN5doris17NumComparisonImplINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEES3_NS_11NotEqualsOpILNS_13PrimitiveTypeE26EEEE13vector_vectorERKNS_8PODArrayIS3_Lm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESE_RNS8_IhLm4096ESB_Lm16ELm15EEE Unexecuted instantiation: _ZN5doris17NumComparisonImplINS_16TimestampTzValueES1_NS_11NotEqualsOpILNS_13PrimitiveTypeE42EEEE13vector_vectorERKNS_8PODArrayIS1_Lm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESC_RNS6_IhLm4096ES9_Lm16ELm15EEE _ZN5doris17NumComparisonImplIaaNS_11NotEqualsOpILNS_13PrimitiveTypeE3EEEE13vector_vectorERKNS_8PODArrayIaLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 72 | 56 | PaddedPODArray<UInt8>& c) { | 73 | 56 | size_t size = a.size(); | 74 | 56 | const A* __restrict a_pos = a.data(); | 75 | 56 | const B* __restrict b_pos = b.data(); | 76 | 56 | UInt8* __restrict c_pos = c.data(); | 77 | 56 | const A* __restrict a_end = a_pos + size; | 78 | | | 79 | 252 | while (a_pos < a_end) { | 80 | 196 | *c_pos = Op::apply(*a_pos, *b_pos); | 81 | 196 | ++a_pos; | 82 | 196 | ++b_pos; | 83 | 196 | ++c_pos; | 84 | 196 | } | 85 | 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 | 72 | 1.77k | PaddedPODArray<UInt8>& c) { | 73 | 1.77k | size_t size = a.size(); | 74 | 1.77k | const A* __restrict a_pos = a.data(); | 75 | 1.77k | const B* __restrict b_pos = b.data(); | 76 | 1.77k | UInt8* __restrict c_pos = c.data(); | 77 | 1.77k | const A* __restrict a_end = a_pos + size; | 78 | | | 79 | 1.60M | while (a_pos < a_end) { | 80 | 1.60M | *c_pos = Op::apply(*a_pos, *b_pos); | 81 | 1.60M | ++a_pos; | 82 | 1.60M | ++b_pos; | 83 | 1.60M | ++c_pos; | 84 | 1.60M | } | 85 | 1.77k | } |
_ZN5doris17NumComparisonImplIllNS_11NotEqualsOpILNS_13PrimitiveTypeE6EEEE13vector_vectorERKNS_8PODArrayIlLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 72 | 351 | PaddedPODArray<UInt8>& c) { | 73 | 351 | size_t size = a.size(); | 74 | 351 | const A* __restrict a_pos = a.data(); | 75 | 351 | const B* __restrict b_pos = b.data(); | 76 | 351 | UInt8* __restrict c_pos = c.data(); | 77 | 351 | const A* __restrict a_end = a_pos + size; | 78 | | | 79 | 6.53k | while (a_pos < a_end) { | 80 | 6.18k | *c_pos = Op::apply(*a_pos, *b_pos); | 81 | 6.18k | ++a_pos; | 82 | 6.18k | ++b_pos; | 83 | 6.18k | ++c_pos; | 84 | 6.18k | } | 85 | 351 | } |
Unexecuted instantiation: _ZN5doris17NumComparisonImplInnNS_11NotEqualsOpILNS_13PrimitiveTypeE7EEEE13vector_vectorERKNS_8PODArrayInLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Unexecuted instantiation: _ZN5doris17NumComparisonImplIjjNS_11NotEqualsOpILNS_13PrimitiveTypeE36EEEE13vector_vectorERKNS_8PODArrayIjLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Unexecuted instantiation: _ZN5doris17NumComparisonImplIooNS_11NotEqualsOpILNS_13PrimitiveTypeE37EEEE13vector_vectorERKNS_8PODArrayIoLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE _ZN5doris17NumComparisonImplIffNS_11NotEqualsOpILNS_13PrimitiveTypeE8EEEE13vector_vectorERKNS_8PODArrayIfLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 72 | 20 | PaddedPODArray<UInt8>& c) { | 73 | 20 | size_t size = a.size(); | 74 | 20 | const A* __restrict a_pos = a.data(); | 75 | 20 | const B* __restrict b_pos = b.data(); | 76 | 20 | UInt8* __restrict c_pos = c.data(); | 77 | 20 | const A* __restrict a_end = a_pos + size; | 78 | | | 79 | 59 | while (a_pos < a_end) { | 80 | 39 | *c_pos = Op::apply(*a_pos, *b_pos); | 81 | 39 | ++a_pos; | 82 | 39 | ++b_pos; | 83 | 39 | ++c_pos; | 84 | 39 | } | 85 | 20 | } |
_ZN5doris17NumComparisonImplIddNS_11NotEqualsOpILNS_13PrimitiveTypeE9EEEE13vector_vectorERKNS_8PODArrayIdLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 72 | 20 | PaddedPODArray<UInt8>& c) { | 73 | 20 | size_t size = a.size(); | 74 | 20 | const A* __restrict a_pos = a.data(); | 75 | 20 | const B* __restrict b_pos = b.data(); | 76 | 20 | UInt8* __restrict c_pos = c.data(); | 77 | 20 | const A* __restrict a_end = a_pos + size; | 78 | | | 79 | 59 | while (a_pos < a_end) { | 80 | 39 | *c_pos = Op::apply(*a_pos, *b_pos); | 81 | 39 | ++a_pos; | 82 | 39 | ++b_pos; | 83 | 39 | ++c_pos; | 84 | 39 | } | 85 | 20 | } |
Unexecuted instantiation: _ZN5doris17NumComparisonImplIddNS_11NotEqualsOpILNS_13PrimitiveTypeE27EEEE13vector_vectorERKNS_8PODArrayIdLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Unexecuted instantiation: _ZN5doris17NumComparisonImplIhhNS_9GreaterOpILNS_13PrimitiveTypeE2EEEE13vector_vectorERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RS9_ _ZN5doris17NumComparisonImplINS_11DateV2ValueINS_15DateV2ValueTypeEEES3_NS_9GreaterOpILNS_13PrimitiveTypeE25EEEE13vector_vectorERKNS_8PODArrayIS3_Lm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESE_RNS8_IhLm4096ESB_Lm16ELm15EEE Line | Count | Source | 72 | 1.25k | PaddedPODArray<UInt8>& c) { | 73 | 1.25k | size_t size = a.size(); | 74 | 1.25k | const A* __restrict a_pos = a.data(); | 75 | 1.25k | const B* __restrict b_pos = b.data(); | 76 | 1.25k | UInt8* __restrict c_pos = c.data(); | 77 | 1.25k | const A* __restrict a_end = a_pos + size; | 78 | | | 79 | 5.98M | while (a_pos < a_end) { | 80 | 5.98M | *c_pos = Op::apply(*a_pos, *b_pos); | 81 | 5.98M | ++a_pos; | 82 | 5.98M | ++b_pos; | 83 | 5.98M | ++c_pos; | 84 | 5.98M | } | 85 | 1.25k | } |
Unexecuted instantiation: _ZN5doris17NumComparisonImplINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEES3_NS_9GreaterOpILNS_13PrimitiveTypeE26EEEE13vector_vectorERKNS_8PODArrayIS3_Lm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESE_RNS8_IhLm4096ESB_Lm16ELm15EEE _ZN5doris17NumComparisonImplINS_16TimestampTzValueES1_NS_9GreaterOpILNS_13PrimitiveTypeE42EEEE13vector_vectorERKNS_8PODArrayIS1_Lm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESC_RNS6_IhLm4096ES9_Lm16ELm15EEE Line | Count | Source | 72 | 1 | PaddedPODArray<UInt8>& c) { | 73 | 1 | size_t size = a.size(); | 74 | 1 | const A* __restrict a_pos = a.data(); | 75 | 1 | const B* __restrict b_pos = b.data(); | 76 | 1 | UInt8* __restrict c_pos = c.data(); | 77 | 1 | const A* __restrict a_end = a_pos + size; | 78 | | | 79 | 10 | while (a_pos < a_end) { | 80 | 9 | *c_pos = Op::apply(*a_pos, *b_pos); | 81 | 9 | ++a_pos; | 82 | 9 | ++b_pos; | 83 | 9 | ++c_pos; | 84 | 9 | } | 85 | 1 | } |
_ZN5doris17NumComparisonImplIaaNS_9GreaterOpILNS_13PrimitiveTypeE3EEEE13vector_vectorERKNS_8PODArrayIaLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 72 | 40 | PaddedPODArray<UInt8>& c) { | 73 | 40 | size_t size = a.size(); | 74 | 40 | const A* __restrict a_pos = a.data(); | 75 | 40 | const B* __restrict b_pos = b.data(); | 76 | 40 | UInt8* __restrict c_pos = c.data(); | 77 | 40 | const A* __restrict a_end = a_pos + size; | 78 | | | 79 | 324 | while (a_pos < a_end) { | 80 | 284 | *c_pos = Op::apply(*a_pos, *b_pos); | 81 | 284 | ++a_pos; | 82 | 284 | ++b_pos; | 83 | 284 | ++c_pos; | 84 | 284 | } | 85 | 40 | } |
_ZN5doris17NumComparisonImplIssNS_9GreaterOpILNS_13PrimitiveTypeE4EEEE13vector_vectorERKNS_8PODArrayIsLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 72 | 112 | PaddedPODArray<UInt8>& c) { | 73 | 112 | size_t size = a.size(); | 74 | 112 | const A* __restrict a_pos = a.data(); | 75 | 112 | const B* __restrict b_pos = b.data(); | 76 | 112 | UInt8* __restrict c_pos = c.data(); | 77 | 112 | const A* __restrict a_end = a_pos + size; | 78 | | | 79 | 376 | while (a_pos < a_end) { | 80 | 264 | *c_pos = Op::apply(*a_pos, *b_pos); | 81 | 264 | ++a_pos; | 82 | 264 | ++b_pos; | 83 | 264 | ++c_pos; | 84 | 264 | } | 85 | 112 | } |
_ZN5doris17NumComparisonImplIiiNS_9GreaterOpILNS_13PrimitiveTypeE5EEEE13vector_vectorERKNS_8PODArrayIiLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 72 | 31 | PaddedPODArray<UInt8>& c) { | 73 | 31 | size_t size = a.size(); | 74 | 31 | const A* __restrict a_pos = a.data(); | 75 | 31 | const B* __restrict b_pos = b.data(); | 76 | 31 | UInt8* __restrict c_pos = c.data(); | 77 | 31 | const A* __restrict a_end = a_pos + size; | 78 | | | 79 | 257 | while (a_pos < a_end) { | 80 | 226 | *c_pos = Op::apply(*a_pos, *b_pos); | 81 | 226 | ++a_pos; | 82 | 226 | ++b_pos; | 83 | 226 | ++c_pos; | 84 | 226 | } | 85 | 31 | } |
_ZN5doris17NumComparisonImplIllNS_9GreaterOpILNS_13PrimitiveTypeE6EEEE13vector_vectorERKNS_8PODArrayIlLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 72 | 64 | PaddedPODArray<UInt8>& c) { | 73 | 64 | size_t size = a.size(); | 74 | 64 | const A* __restrict a_pos = a.data(); | 75 | 64 | const B* __restrict b_pos = b.data(); | 76 | 64 | UInt8* __restrict c_pos = c.data(); | 77 | 64 | const A* __restrict a_end = a_pos + size; | 78 | | | 79 | 583 | while (a_pos < a_end) { | 80 | 519 | *c_pos = Op::apply(*a_pos, *b_pos); | 81 | 519 | ++a_pos; | 82 | 519 | ++b_pos; | 83 | 519 | ++c_pos; | 84 | 519 | } | 85 | 64 | } |
_ZN5doris17NumComparisonImplInnNS_9GreaterOpILNS_13PrimitiveTypeE7EEEE13vector_vectorERKNS_8PODArrayInLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 72 | 2 | PaddedPODArray<UInt8>& c) { | 73 | 2 | size_t size = a.size(); | 74 | 2 | const A* __restrict a_pos = a.data(); | 75 | 2 | const B* __restrict b_pos = b.data(); | 76 | 2 | UInt8* __restrict c_pos = c.data(); | 77 | 2 | const A* __restrict a_end = a_pos + size; | 78 | | | 79 | 6 | while (a_pos < a_end) { | 80 | 4 | *c_pos = Op::apply(*a_pos, *b_pos); | 81 | 4 | ++a_pos; | 82 | 4 | ++b_pos; | 83 | 4 | ++c_pos; | 84 | 4 | } | 85 | 2 | } |
_ZN5doris17NumComparisonImplIjjNS_9GreaterOpILNS_13PrimitiveTypeE36EEEE13vector_vectorERKNS_8PODArrayIjLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 72 | 1 | PaddedPODArray<UInt8>& c) { | 73 | 1 | size_t size = a.size(); | 74 | 1 | const A* __restrict a_pos = a.data(); | 75 | 1 | const B* __restrict b_pos = b.data(); | 76 | 1 | UInt8* __restrict c_pos = c.data(); | 77 | 1 | const A* __restrict a_end = a_pos + size; | 78 | | | 79 | 2 | while (a_pos < a_end) { | 80 | 1 | *c_pos = Op::apply(*a_pos, *b_pos); | 81 | 1 | ++a_pos; | 82 | 1 | ++b_pos; | 83 | 1 | ++c_pos; | 84 | 1 | } | 85 | 1 | } |
_ZN5doris17NumComparisonImplIooNS_9GreaterOpILNS_13PrimitiveTypeE37EEEE13vector_vectorERKNS_8PODArrayIoLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 72 | 1 | PaddedPODArray<UInt8>& c) { | 73 | 1 | size_t size = a.size(); | 74 | 1 | const A* __restrict a_pos = a.data(); | 75 | 1 | const B* __restrict b_pos = b.data(); | 76 | 1 | UInt8* __restrict c_pos = c.data(); | 77 | 1 | const A* __restrict a_end = a_pos + size; | 78 | | | 79 | 2 | while (a_pos < a_end) { | 80 | 1 | *c_pos = Op::apply(*a_pos, *b_pos); | 81 | 1 | ++a_pos; | 82 | 1 | ++b_pos; | 83 | 1 | ++c_pos; | 84 | 1 | } | 85 | 1 | } |
_ZN5doris17NumComparisonImplIffNS_9GreaterOpILNS_13PrimitiveTypeE8EEEE13vector_vectorERKNS_8PODArrayIfLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 72 | 20 | PaddedPODArray<UInt8>& c) { | 73 | 20 | size_t size = a.size(); | 74 | 20 | const A* __restrict a_pos = a.data(); | 75 | 20 | const B* __restrict b_pos = b.data(); | 76 | 20 | UInt8* __restrict c_pos = c.data(); | 77 | 20 | const A* __restrict a_end = a_pos + size; | 78 | | | 79 | 59 | while (a_pos < a_end) { | 80 | 39 | *c_pos = Op::apply(*a_pos, *b_pos); | 81 | 39 | ++a_pos; | 82 | 39 | ++b_pos; | 83 | 39 | ++c_pos; | 84 | 39 | } | 85 | 20 | } |
_ZN5doris17NumComparisonImplIddNS_9GreaterOpILNS_13PrimitiveTypeE9EEEE13vector_vectorERKNS_8PODArrayIdLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 72 | 30 | PaddedPODArray<UInt8>& c) { | 73 | 30 | size_t size = a.size(); | 74 | 30 | const A* __restrict a_pos = a.data(); | 75 | 30 | const B* __restrict b_pos = b.data(); | 76 | 30 | UInt8* __restrict c_pos = c.data(); | 77 | 30 | const A* __restrict a_end = a_pos + size; | 78 | | | 79 | 100 | while (a_pos < a_end) { | 80 | 70 | *c_pos = Op::apply(*a_pos, *b_pos); | 81 | 70 | ++a_pos; | 82 | 70 | ++b_pos; | 83 | 70 | ++c_pos; | 84 | 70 | } | 85 | 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 | 72 | 1 | PaddedPODArray<UInt8>& c) { | 73 | 1 | size_t size = a.size(); | 74 | 1 | const A* __restrict a_pos = a.data(); | 75 | 1 | const B* __restrict b_pos = b.data(); | 76 | 1 | UInt8* __restrict c_pos = c.data(); | 77 | 1 | const A* __restrict a_end = a_pos + size; | 78 | | | 79 | 2 | while (a_pos < a_end) { | 80 | 1 | *c_pos = Op::apply(*a_pos, *b_pos); | 81 | 1 | ++a_pos; | 82 | 1 | ++b_pos; | 83 | 1 | ++c_pos; | 84 | 1 | } | 85 | 1 | } |
_ZN5doris17NumComparisonImplINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEES3_NS_17GreaterOrEqualsOpILNS_13PrimitiveTypeE26EEEE13vector_vectorERKNS_8PODArrayIS3_Lm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESE_RNS8_IhLm4096ESB_Lm16ELm15EEE Line | Count | Source | 72 | 6 | PaddedPODArray<UInt8>& c) { | 73 | 6 | size_t size = a.size(); | 74 | 6 | const A* __restrict a_pos = a.data(); | 75 | 6 | const B* __restrict b_pos = b.data(); | 76 | 6 | UInt8* __restrict c_pos = c.data(); | 77 | 6 | const A* __restrict a_end = a_pos + size; | 78 | | | 79 | 70 | while (a_pos < a_end) { | 80 | 64 | *c_pos = Op::apply(*a_pos, *b_pos); | 81 | 64 | ++a_pos; | 82 | 64 | ++b_pos; | 83 | 64 | ++c_pos; | 84 | 64 | } | 85 | 6 | } |
_ZN5doris17NumComparisonImplINS_16TimestampTzValueES1_NS_17GreaterOrEqualsOpILNS_13PrimitiveTypeE42EEEE13vector_vectorERKNS_8PODArrayIS1_Lm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESC_RNS6_IhLm4096ES9_Lm16ELm15EEE Line | Count | Source | 72 | 1 | PaddedPODArray<UInt8>& c) { | 73 | 1 | size_t size = a.size(); | 74 | 1 | const A* __restrict a_pos = a.data(); | 75 | 1 | const B* __restrict b_pos = b.data(); | 76 | 1 | UInt8* __restrict c_pos = c.data(); | 77 | 1 | const A* __restrict a_end = a_pos + size; | 78 | | | 79 | 10 | while (a_pos < a_end) { | 80 | 9 | *c_pos = Op::apply(*a_pos, *b_pos); | 81 | 9 | ++a_pos; | 82 | 9 | ++b_pos; | 83 | 9 | ++c_pos; | 84 | 9 | } | 85 | 1 | } |
Unexecuted instantiation: _ZN5doris17NumComparisonImplIaaNS_17GreaterOrEqualsOpILNS_13PrimitiveTypeE3EEEE13vector_vectorERKNS_8PODArrayIaLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Unexecuted instantiation: _ZN5doris17NumComparisonImplIssNS_17GreaterOrEqualsOpILNS_13PrimitiveTypeE4EEEE13vector_vectorERKNS_8PODArrayIsLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE _ZN5doris17NumComparisonImplIiiNS_17GreaterOrEqualsOpILNS_13PrimitiveTypeE5EEEE13vector_vectorERKNS_8PODArrayIiLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 72 | 3 | PaddedPODArray<UInt8>& c) { | 73 | 3 | size_t size = a.size(); | 74 | 3 | const A* __restrict a_pos = a.data(); | 75 | 3 | const B* __restrict b_pos = b.data(); | 76 | 3 | UInt8* __restrict c_pos = c.data(); | 77 | 3 | const A* __restrict a_end = a_pos + size; | 78 | | | 79 | 7 | while (a_pos < a_end) { | 80 | 4 | *c_pos = Op::apply(*a_pos, *b_pos); | 81 | 4 | ++a_pos; | 82 | 4 | ++b_pos; | 83 | 4 | ++c_pos; | 84 | 4 | } | 85 | 3 | } |
_ZN5doris17NumComparisonImplIllNS_17GreaterOrEqualsOpILNS_13PrimitiveTypeE6EEEE13vector_vectorERKNS_8PODArrayIlLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 72 | 9 | PaddedPODArray<UInt8>& c) { | 73 | 9 | size_t size = a.size(); | 74 | 9 | const A* __restrict a_pos = a.data(); | 75 | 9 | const B* __restrict b_pos = b.data(); | 76 | 9 | UInt8* __restrict c_pos = c.data(); | 77 | 9 | const A* __restrict a_end = a_pos + size; | 78 | | | 79 | 64 | while (a_pos < a_end) { | 80 | 55 | *c_pos = Op::apply(*a_pos, *b_pos); | 81 | 55 | ++a_pos; | 82 | 55 | ++b_pos; | 83 | 55 | ++c_pos; | 84 | 55 | } | 85 | 9 | } |
Unexecuted instantiation: _ZN5doris17NumComparisonImplInnNS_17GreaterOrEqualsOpILNS_13PrimitiveTypeE7EEEE13vector_vectorERKNS_8PODArrayInLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE _ZN5doris17NumComparisonImplIjjNS_17GreaterOrEqualsOpILNS_13PrimitiveTypeE36EEEE13vector_vectorERKNS_8PODArrayIjLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 72 | 1 | PaddedPODArray<UInt8>& c) { | 73 | 1 | size_t size = a.size(); | 74 | 1 | const A* __restrict a_pos = a.data(); | 75 | 1 | const B* __restrict b_pos = b.data(); | 76 | 1 | UInt8* __restrict c_pos = c.data(); | 77 | 1 | const A* __restrict a_end = a_pos + size; | 78 | | | 79 | 2 | while (a_pos < a_end) { | 80 | 1 | *c_pos = Op::apply(*a_pos, *b_pos); | 81 | 1 | ++a_pos; | 82 | 1 | ++b_pos; | 83 | 1 | ++c_pos; | 84 | 1 | } | 85 | 1 | } |
_ZN5doris17NumComparisonImplIooNS_17GreaterOrEqualsOpILNS_13PrimitiveTypeE37EEEE13vector_vectorERKNS_8PODArrayIoLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 72 | 1 | PaddedPODArray<UInt8>& c) { | 73 | 1 | size_t size = a.size(); | 74 | 1 | const A* __restrict a_pos = a.data(); | 75 | 1 | const B* __restrict b_pos = b.data(); | 76 | 1 | UInt8* __restrict c_pos = c.data(); | 77 | 1 | const A* __restrict a_end = a_pos + size; | 78 | | | 79 | 2 | while (a_pos < a_end) { | 80 | 1 | *c_pos = Op::apply(*a_pos, *b_pos); | 81 | 1 | ++a_pos; | 82 | 1 | ++b_pos; | 83 | 1 | ++c_pos; | 84 | 1 | } | 85 | 1 | } |
_ZN5doris17NumComparisonImplIffNS_17GreaterOrEqualsOpILNS_13PrimitiveTypeE8EEEE13vector_vectorERKNS_8PODArrayIfLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 72 | 20 | PaddedPODArray<UInt8>& c) { | 73 | 20 | size_t size = a.size(); | 74 | 20 | const A* __restrict a_pos = a.data(); | 75 | 20 | const B* __restrict b_pos = b.data(); | 76 | 20 | UInt8* __restrict c_pos = c.data(); | 77 | 20 | const A* __restrict a_end = a_pos + size; | 78 | | | 79 | 59 | while (a_pos < a_end) { | 80 | 39 | *c_pos = Op::apply(*a_pos, *b_pos); | 81 | 39 | ++a_pos; | 82 | 39 | ++b_pos; | 83 | 39 | ++c_pos; | 84 | 39 | } | 85 | 20 | } |
_ZN5doris17NumComparisonImplIddNS_17GreaterOrEqualsOpILNS_13PrimitiveTypeE9EEEE13vector_vectorERKNS_8PODArrayIdLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 72 | 23 | PaddedPODArray<UInt8>& c) { | 73 | 23 | size_t size = a.size(); | 74 | 23 | const A* __restrict a_pos = a.data(); | 75 | 23 | const B* __restrict b_pos = b.data(); | 76 | 23 | UInt8* __restrict c_pos = c.data(); | 77 | 23 | const A* __restrict a_end = a_pos + size; | 78 | | | 79 | 67 | while (a_pos < a_end) { | 80 | 44 | *c_pos = Op::apply(*a_pos, *b_pos); | 81 | 44 | ++a_pos; | 82 | 44 | ++b_pos; | 83 | 44 | ++c_pos; | 84 | 44 | } | 85 | 23 | } |
Unexecuted instantiation: _ZN5doris17NumComparisonImplIddNS_17GreaterOrEqualsOpILNS_13PrimitiveTypeE27EEEE13vector_vectorERKNS_8PODArrayIdLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE _ZN5doris17NumComparisonImplIhhNS_6LessOpILNS_13PrimitiveTypeE2EEEE13vector_vectorERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RS9_ Line | Count | Source | 72 | 95 | PaddedPODArray<UInt8>& c) { | 73 | 95 | size_t size = a.size(); | 74 | 95 | const A* __restrict a_pos = a.data(); | 75 | 95 | const B* __restrict b_pos = b.data(); | 76 | 95 | UInt8* __restrict c_pos = c.data(); | 77 | 95 | const A* __restrict a_end = a_pos + size; | 78 | | | 79 | 364 | while (a_pos < a_end) { | 80 | 269 | *c_pos = Op::apply(*a_pos, *b_pos); | 81 | 269 | ++a_pos; | 82 | 269 | ++b_pos; | 83 | 269 | ++c_pos; | 84 | 269 | } | 85 | 95 | } |
_ZN5doris17NumComparisonImplINS_11DateV2ValueINS_15DateV2ValueTypeEEES3_NS_6LessOpILNS_13PrimitiveTypeE25EEEE13vector_vectorERKNS_8PODArrayIS3_Lm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESE_RNS8_IhLm4096ESB_Lm16ELm15EEE Line | Count | Source | 72 | 1.70k | PaddedPODArray<UInt8>& c) { | 73 | 1.70k | size_t size = a.size(); | 74 | 1.70k | const A* __restrict a_pos = a.data(); | 75 | 1.70k | const B* __restrict b_pos = b.data(); | 76 | 1.70k | UInt8* __restrict c_pos = c.data(); | 77 | 1.70k | const A* __restrict a_end = a_pos + size; | 78 | | | 79 | 1.22M | while (a_pos < a_end) { | 80 | 1.22M | *c_pos = Op::apply(*a_pos, *b_pos); | 81 | 1.22M | ++a_pos; | 82 | 1.22M | ++b_pos; | 83 | 1.22M | ++c_pos; | 84 | 1.22M | } | 85 | 1.70k | } |
_ZN5doris17NumComparisonImplINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEES3_NS_6LessOpILNS_13PrimitiveTypeE26EEEE13vector_vectorERKNS_8PODArrayIS3_Lm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESE_RNS8_IhLm4096ESB_Lm16ELm15EEE Line | Count | Source | 72 | 284 | PaddedPODArray<UInt8>& c) { | 73 | 284 | size_t size = a.size(); | 74 | 284 | const A* __restrict a_pos = a.data(); | 75 | 284 | const B* __restrict b_pos = b.data(); | 76 | 284 | UInt8* __restrict c_pos = c.data(); | 77 | 284 | const A* __restrict a_end = a_pos + size; | 78 | | | 79 | 916 | while (a_pos < a_end) { | 80 | 632 | *c_pos = Op::apply(*a_pos, *b_pos); | 81 | 632 | ++a_pos; | 82 | 632 | ++b_pos; | 83 | 632 | ++c_pos; | 84 | 632 | } | 85 | 284 | } |
_ZN5doris17NumComparisonImplINS_16TimestampTzValueES1_NS_6LessOpILNS_13PrimitiveTypeE42EEEE13vector_vectorERKNS_8PODArrayIS1_Lm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESC_RNS6_IhLm4096ES9_Lm16ELm15EEE Line | Count | Source | 72 | 1 | PaddedPODArray<UInt8>& c) { | 73 | 1 | size_t size = a.size(); | 74 | 1 | const A* __restrict a_pos = a.data(); | 75 | 1 | const B* __restrict b_pos = b.data(); | 76 | 1 | UInt8* __restrict c_pos = c.data(); | 77 | 1 | const A* __restrict a_end = a_pos + size; | 78 | | | 79 | 10 | while (a_pos < a_end) { | 80 | 9 | *c_pos = Op::apply(*a_pos, *b_pos); | 81 | 9 | ++a_pos; | 82 | 9 | ++b_pos; | 83 | 9 | ++c_pos; | 84 | 9 | } | 85 | 1 | } |
_ZN5doris17NumComparisonImplIaaNS_6LessOpILNS_13PrimitiveTypeE3EEEE13vector_vectorERKNS_8PODArrayIaLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 72 | 152 | PaddedPODArray<UInt8>& c) { | 73 | 152 | size_t size = a.size(); | 74 | 152 | const A* __restrict a_pos = a.data(); | 75 | 152 | const B* __restrict b_pos = b.data(); | 76 | 152 | UInt8* __restrict c_pos = c.data(); | 77 | 152 | const A* __restrict a_end = a_pos + size; | 78 | | | 79 | 478 | while (a_pos < a_end) { | 80 | 326 | *c_pos = Op::apply(*a_pos, *b_pos); | 81 | 326 | ++a_pos; | 82 | 326 | ++b_pos; | 83 | 326 | ++c_pos; | 84 | 326 | } | 85 | 152 | } |
_ZN5doris17NumComparisonImplIssNS_6LessOpILNS_13PrimitiveTypeE4EEEE13vector_vectorERKNS_8PODArrayIsLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 72 | 137 | PaddedPODArray<UInt8>& c) { | 73 | 137 | size_t size = a.size(); | 74 | 137 | const A* __restrict a_pos = a.data(); | 75 | 137 | const B* __restrict b_pos = b.data(); | 76 | 137 | UInt8* __restrict c_pos = c.data(); | 77 | 137 | const A* __restrict a_end = a_pos + size; | 78 | | | 79 | 450 | while (a_pos < a_end) { | 80 | 313 | *c_pos = Op::apply(*a_pos, *b_pos); | 81 | 313 | ++a_pos; | 82 | 313 | ++b_pos; | 83 | 313 | ++c_pos; | 84 | 313 | } | 85 | 137 | } |
_ZN5doris17NumComparisonImplIiiNS_6LessOpILNS_13PrimitiveTypeE5EEEE13vector_vectorERKNS_8PODArrayIiLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 72 | 176 | PaddedPODArray<UInt8>& c) { | 73 | 176 | size_t size = a.size(); | 74 | 176 | const A* __restrict a_pos = a.data(); | 75 | 176 | const B* __restrict b_pos = b.data(); | 76 | 176 | UInt8* __restrict c_pos = c.data(); | 77 | 176 | const A* __restrict a_end = a_pos + size; | 78 | | | 79 | 1.04k | while (a_pos < a_end) { | 80 | 869 | *c_pos = Op::apply(*a_pos, *b_pos); | 81 | 869 | ++a_pos; | 82 | 869 | ++b_pos; | 83 | 869 | ++c_pos; | 84 | 869 | } | 85 | 176 | } |
_ZN5doris17NumComparisonImplIllNS_6LessOpILNS_13PrimitiveTypeE6EEEE13vector_vectorERKNS_8PODArrayIlLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 72 | 210 | PaddedPODArray<UInt8>& c) { | 73 | 210 | size_t size = a.size(); | 74 | 210 | const A* __restrict a_pos = a.data(); | 75 | 210 | const B* __restrict b_pos = b.data(); | 76 | 210 | UInt8* __restrict c_pos = c.data(); | 77 | 210 | const A* __restrict a_end = a_pos + size; | 78 | | | 79 | 5.41k | while (a_pos < a_end) { | 80 | 5.20k | *c_pos = Op::apply(*a_pos, *b_pos); | 81 | 5.20k | ++a_pos; | 82 | 5.20k | ++b_pos; | 83 | 5.20k | ++c_pos; | 84 | 5.20k | } | 85 | 210 | } |
_ZN5doris17NumComparisonImplInnNS_6LessOpILNS_13PrimitiveTypeE7EEEE13vector_vectorERKNS_8PODArrayInLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 72 | 162 | PaddedPODArray<UInt8>& c) { | 73 | 162 | size_t size = a.size(); | 74 | 162 | const A* __restrict a_pos = a.data(); | 75 | 162 | const B* __restrict b_pos = b.data(); | 76 | 162 | UInt8* __restrict c_pos = c.data(); | 77 | 162 | const A* __restrict a_end = a_pos + size; | 78 | | | 79 | 498 | while (a_pos < a_end) { | 80 | 336 | *c_pos = Op::apply(*a_pos, *b_pos); | 81 | 336 | ++a_pos; | 82 | 336 | ++b_pos; | 83 | 336 | ++c_pos; | 84 | 336 | } | 85 | 162 | } |
_ZN5doris17NumComparisonImplIjjNS_6LessOpILNS_13PrimitiveTypeE36EEEE13vector_vectorERKNS_8PODArrayIjLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 72 | 16 | PaddedPODArray<UInt8>& c) { | 73 | 16 | size_t size = a.size(); | 74 | 16 | const A* __restrict a_pos = a.data(); | 75 | 16 | const B* __restrict b_pos = b.data(); | 76 | 16 | UInt8* __restrict c_pos = c.data(); | 77 | 16 | const A* __restrict a_end = a_pos + size; | 78 | | | 79 | 32 | while (a_pos < a_end) { | 80 | 16 | *c_pos = Op::apply(*a_pos, *b_pos); | 81 | 16 | ++a_pos; | 82 | 16 | ++b_pos; | 83 | 16 | ++c_pos; | 84 | 16 | } | 85 | 16 | } |
_ZN5doris17NumComparisonImplIooNS_6LessOpILNS_13PrimitiveTypeE37EEEE13vector_vectorERKNS_8PODArrayIoLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 72 | 16 | PaddedPODArray<UInt8>& c) { | 73 | 16 | size_t size = a.size(); | 74 | 16 | const A* __restrict a_pos = a.data(); | 75 | 16 | const B* __restrict b_pos = b.data(); | 76 | 16 | UInt8* __restrict c_pos = c.data(); | 77 | 16 | const A* __restrict a_end = a_pos + size; | 78 | | | 79 | 32 | while (a_pos < a_end) { | 80 | 16 | *c_pos = Op::apply(*a_pos, *b_pos); | 81 | 16 | ++a_pos; | 82 | 16 | ++b_pos; | 83 | 16 | ++c_pos; | 84 | 16 | } | 85 | 16 | } |
_ZN5doris17NumComparisonImplIffNS_6LessOpILNS_13PrimitiveTypeE8EEEE13vector_vectorERKNS_8PODArrayIfLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 72 | 148 | PaddedPODArray<UInt8>& c) { | 73 | 148 | size_t size = a.size(); | 74 | 148 | const A* __restrict a_pos = a.data(); | 75 | 148 | const B* __restrict b_pos = b.data(); | 76 | 148 | UInt8* __restrict c_pos = c.data(); | 77 | 148 | const A* __restrict a_end = a_pos + size; | 78 | | | 79 | 489 | while (a_pos < a_end) { | 80 | 341 | *c_pos = Op::apply(*a_pos, *b_pos); | 81 | 341 | ++a_pos; | 82 | 341 | ++b_pos; | 83 | 341 | ++c_pos; | 84 | 341 | } | 85 | 148 | } |
_ZN5doris17NumComparisonImplIddNS_6LessOpILNS_13PrimitiveTypeE9EEEE13vector_vectorERKNS_8PODArrayIdLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 72 | 161 | PaddedPODArray<UInt8>& c) { | 73 | 161 | size_t size = a.size(); | 74 | 161 | const A* __restrict a_pos = a.data(); | 75 | 161 | const B* __restrict b_pos = b.data(); | 76 | 161 | UInt8* __restrict c_pos = c.data(); | 77 | 161 | const A* __restrict a_end = a_pos + size; | 78 | | | 79 | 522 | while (a_pos < a_end) { | 80 | 361 | *c_pos = Op::apply(*a_pos, *b_pos); | 81 | 361 | ++a_pos; | 82 | 361 | ++b_pos; | 83 | 361 | ++c_pos; | 84 | 361 | } | 85 | 161 | } |
Unexecuted instantiation: _ZN5doris17NumComparisonImplIddNS_6LessOpILNS_13PrimitiveTypeE27EEEE13vector_vectorERKNS_8PODArrayIdLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Unexecuted instantiation: _ZN5doris17NumComparisonImplIhhNS_14LessOrEqualsOpILNS_13PrimitiveTypeE2EEEE13vector_vectorERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RS9_ _ZN5doris17NumComparisonImplINS_11DateV2ValueINS_15DateV2ValueTypeEEES3_NS_14LessOrEqualsOpILNS_13PrimitiveTypeE25EEEE13vector_vectorERKNS_8PODArrayIS3_Lm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESE_RNS8_IhLm4096ESB_Lm16ELm15EEE Line | Count | Source | 72 | 429 | PaddedPODArray<UInt8>& c) { | 73 | 429 | size_t size = a.size(); | 74 | 429 | const A* __restrict a_pos = a.data(); | 75 | 429 | const B* __restrict b_pos = b.data(); | 76 | 429 | UInt8* __restrict c_pos = c.data(); | 77 | 429 | const A* __restrict a_end = a_pos + size; | 78 | | | 79 | 6.86k | while (a_pos < a_end) { | 80 | 6.43k | *c_pos = Op::apply(*a_pos, *b_pos); | 81 | 6.43k | ++a_pos; | 82 | 6.43k | ++b_pos; | 83 | 6.43k | ++c_pos; | 84 | 6.43k | } | 85 | 429 | } |
Unexecuted instantiation: _ZN5doris17NumComparisonImplINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEES3_NS_14LessOrEqualsOpILNS_13PrimitiveTypeE26EEEE13vector_vectorERKNS_8PODArrayIS3_Lm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESE_RNS8_IhLm4096ESB_Lm16ELm15EEE _ZN5doris17NumComparisonImplINS_16TimestampTzValueES1_NS_14LessOrEqualsOpILNS_13PrimitiveTypeE42EEEE13vector_vectorERKNS_8PODArrayIS1_Lm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESC_RNS6_IhLm4096ES9_Lm16ELm15EEE Line | Count | Source | 72 | 1 | PaddedPODArray<UInt8>& c) { | 73 | 1 | size_t size = a.size(); | 74 | 1 | const A* __restrict a_pos = a.data(); | 75 | 1 | const B* __restrict b_pos = b.data(); | 76 | 1 | UInt8* __restrict c_pos = c.data(); | 77 | 1 | const A* __restrict a_end = a_pos + size; | 78 | | | 79 | 10 | while (a_pos < a_end) { | 80 | 9 | *c_pos = Op::apply(*a_pos, *b_pos); | 81 | 9 | ++a_pos; | 82 | 9 | ++b_pos; | 83 | 9 | ++c_pos; | 84 | 9 | } | 85 | 1 | } |
_ZN5doris17NumComparisonImplIaaNS_14LessOrEqualsOpILNS_13PrimitiveTypeE3EEEE13vector_vectorERKNS_8PODArrayIaLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 72 | 1 | PaddedPODArray<UInt8>& c) { | 73 | 1 | size_t size = a.size(); | 74 | 1 | const A* __restrict a_pos = a.data(); | 75 | 1 | const B* __restrict b_pos = b.data(); | 76 | 1 | UInt8* __restrict c_pos = c.data(); | 77 | 1 | const A* __restrict a_end = a_pos + size; | 78 | | | 79 | 5 | while (a_pos < a_end) { | 80 | 4 | *c_pos = Op::apply(*a_pos, *b_pos); | 81 | 4 | ++a_pos; | 82 | 4 | ++b_pos; | 83 | 4 | ++c_pos; | 84 | 4 | } | 85 | 1 | } |
Unexecuted instantiation: _ZN5doris17NumComparisonImplIssNS_14LessOrEqualsOpILNS_13PrimitiveTypeE4EEEE13vector_vectorERKNS_8PODArrayIsLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE _ZN5doris17NumComparisonImplIiiNS_14LessOrEqualsOpILNS_13PrimitiveTypeE5EEEE13vector_vectorERKNS_8PODArrayIiLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 72 | 23 | PaddedPODArray<UInt8>& c) { | 73 | 23 | size_t size = a.size(); | 74 | 23 | const A* __restrict a_pos = a.data(); | 75 | 23 | const B* __restrict b_pos = b.data(); | 76 | 23 | UInt8* __restrict c_pos = c.data(); | 77 | 23 | const A* __restrict a_end = a_pos + size; | 78 | | | 79 | 105 | while (a_pos < a_end) { | 80 | 82 | *c_pos = Op::apply(*a_pos, *b_pos); | 81 | 82 | ++a_pos; | 82 | 82 | ++b_pos; | 83 | 82 | ++c_pos; | 84 | 82 | } | 85 | 23 | } |
_ZN5doris17NumComparisonImplIllNS_14LessOrEqualsOpILNS_13PrimitiveTypeE6EEEE13vector_vectorERKNS_8PODArrayIlLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 72 | 31 | PaddedPODArray<UInt8>& c) { | 73 | 31 | size_t size = a.size(); | 74 | 31 | const A* __restrict a_pos = a.data(); | 75 | 31 | const B* __restrict b_pos = b.data(); | 76 | 31 | UInt8* __restrict c_pos = c.data(); | 77 | 31 | const A* __restrict a_end = a_pos + size; | 78 | | | 79 | 69 | while (a_pos < a_end) { | 80 | 38 | *c_pos = Op::apply(*a_pos, *b_pos); | 81 | 38 | ++a_pos; | 82 | 38 | ++b_pos; | 83 | 38 | ++c_pos; | 84 | 38 | } | 85 | 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 | 72 | 20 | PaddedPODArray<UInt8>& c) { | 73 | 20 | size_t size = a.size(); | 74 | 20 | const A* __restrict a_pos = a.data(); | 75 | 20 | const B* __restrict b_pos = b.data(); | 76 | 20 | UInt8* __restrict c_pos = c.data(); | 77 | 20 | const A* __restrict a_end = a_pos + size; | 78 | | | 79 | 59 | while (a_pos < a_end) { | 80 | 39 | *c_pos = Op::apply(*a_pos, *b_pos); | 81 | 39 | ++a_pos; | 82 | 39 | ++b_pos; | 83 | 39 | ++c_pos; | 84 | 39 | } | 85 | 20 | } |
_ZN5doris17NumComparisonImplIddNS_14LessOrEqualsOpILNS_13PrimitiveTypeE9EEEE13vector_vectorERKNS_8PODArrayIdLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 72 | 20 | PaddedPODArray<UInt8>& c) { | 73 | 20 | size_t size = a.size(); | 74 | 20 | const A* __restrict a_pos = a.data(); | 75 | 20 | const B* __restrict b_pos = b.data(); | 76 | 20 | UInt8* __restrict c_pos = c.data(); | 77 | 20 | const A* __restrict a_end = a_pos + size; | 78 | | | 79 | 59 | while (a_pos < a_end) { | 80 | 39 | *c_pos = Op::apply(*a_pos, *b_pos); | 81 | 39 | ++a_pos; | 82 | 39 | ++b_pos; | 83 | 39 | ++c_pos; | 84 | 39 | } | 85 | 20 | } |
Unexecuted instantiation: _ZN5doris17NumComparisonImplIddNS_14LessOrEqualsOpILNS_13PrimitiveTypeE27EEEE13vector_vectorERKNS_8PODArrayIdLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE |
86 | | |
87 | | static void NO_INLINE vector_constant(const PaddedPODArray<A>& a, B b, |
88 | 99.0k | PaddedPODArray<UInt8>& c) { |
89 | 99.0k | size_t size = a.size(); |
90 | 99.0k | const A* __restrict a_pos = a.data(); |
91 | 99.0k | UInt8* __restrict c_pos = c.data(); |
92 | 99.0k | const A* __restrict a_end = a_pos + size; |
93 | | |
94 | 35.6M | while (a_pos < a_end) { |
95 | 35.5M | *c_pos = Op::apply(*a_pos, b); |
96 | 35.5M | ++a_pos; |
97 | 35.5M | ++c_pos; |
98 | 35.5M | } |
99 | 99.0k | } _ZN5doris17NumComparisonImplIhhNS_8EqualsOpILNS_13PrimitiveTypeE2EEEE15vector_constantERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEhRS9_ Line | Count | Source | 88 | 24 | PaddedPODArray<UInt8>& c) { | 89 | 24 | size_t size = a.size(); | 90 | 24 | const A* __restrict a_pos = a.data(); | 91 | 24 | UInt8* __restrict c_pos = c.data(); | 92 | 24 | const A* __restrict a_end = a_pos + size; | 93 | | | 94 | 170 | while (a_pos < a_end) { | 95 | 146 | *c_pos = Op::apply(*a_pos, b); | 96 | 146 | ++a_pos; | 97 | 146 | ++c_pos; | 98 | 146 | } | 99 | 24 | } |
_ZN5doris17NumComparisonImplINS_11DateV2ValueINS_15DateV2ValueTypeEEES3_NS_8EqualsOpILNS_13PrimitiveTypeE25EEEE15vector_constantERKNS_8PODArrayIS3_Lm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEES3_RNS8_IhLm4096ESB_Lm16ELm15EEE Line | Count | Source | 88 | 466 | PaddedPODArray<UInt8>& c) { | 89 | 466 | size_t size = a.size(); | 90 | 466 | const A* __restrict a_pos = a.data(); | 91 | 466 | UInt8* __restrict c_pos = c.data(); | 92 | 466 | const A* __restrict a_end = a_pos + size; | 93 | | | 94 | 202k | while (a_pos < a_end) { | 95 | 202k | *c_pos = Op::apply(*a_pos, b); | 96 | 202k | ++a_pos; | 97 | 202k | ++c_pos; | 98 | 202k | } | 99 | 466 | } |
_ZN5doris17NumComparisonImplINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEES3_NS_8EqualsOpILNS_13PrimitiveTypeE26EEEE15vector_constantERKNS_8PODArrayIS3_Lm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEES3_RNS8_IhLm4096ESB_Lm16ELm15EEE Line | Count | Source | 88 | 157 | PaddedPODArray<UInt8>& c) { | 89 | 157 | size_t size = a.size(); | 90 | 157 | const A* __restrict a_pos = a.data(); | 91 | 157 | UInt8* __restrict c_pos = c.data(); | 92 | 157 | const A* __restrict a_end = a_pos + size; | 93 | | | 94 | 100k | while (a_pos < a_end) { | 95 | 100k | *c_pos = Op::apply(*a_pos, b); | 96 | 100k | ++a_pos; | 97 | 100k | ++c_pos; | 98 | 100k | } | 99 | 157 | } |
Unexecuted instantiation: _ZN5doris17NumComparisonImplINS_16TimestampTzValueES1_NS_8EqualsOpILNS_13PrimitiveTypeE42EEEE15vector_constantERKNS_8PODArrayIS1_Lm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEES1_RNS6_IhLm4096ES9_Lm16ELm15EEE _ZN5doris17NumComparisonImplIaaNS_8EqualsOpILNS_13PrimitiveTypeE3EEEE15vector_constantERKNS_8PODArrayIaLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEaRNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 88 | 4.92k | PaddedPODArray<UInt8>& c) { | 89 | 4.92k | size_t size = a.size(); | 90 | 4.92k | const A* __restrict a_pos = a.data(); | 91 | 4.92k | UInt8* __restrict c_pos = c.data(); | 92 | 4.92k | const A* __restrict a_end = a_pos + size; | 93 | | | 94 | 8.98M | while (a_pos < a_end) { | 95 | 8.97M | *c_pos = Op::apply(*a_pos, b); | 96 | 8.97M | ++a_pos; | 97 | 8.97M | ++c_pos; | 98 | 8.97M | } | 99 | 4.92k | } |
_ZN5doris17NumComparisonImplIssNS_8EqualsOpILNS_13PrimitiveTypeE4EEEE15vector_constantERKNS_8PODArrayIsLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEsRNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 88 | 317 | PaddedPODArray<UInt8>& c) { | 89 | 317 | size_t size = a.size(); | 90 | 317 | const A* __restrict a_pos = a.data(); | 91 | 317 | UInt8* __restrict c_pos = c.data(); | 92 | 317 | const A* __restrict a_end = a_pos + size; | 93 | | | 94 | 101k | while (a_pos < a_end) { | 95 | 100k | *c_pos = Op::apply(*a_pos, b); | 96 | 100k | ++a_pos; | 97 | 100k | ++c_pos; | 98 | 100k | } | 99 | 317 | } |
_ZN5doris17NumComparisonImplIiiNS_8EqualsOpILNS_13PrimitiveTypeE5EEEE15vector_constantERKNS_8PODArrayIiLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEiRNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 88 | 1.77k | PaddedPODArray<UInt8>& c) { | 89 | 1.77k | size_t size = a.size(); | 90 | 1.77k | const A* __restrict a_pos = a.data(); | 91 | 1.77k | UInt8* __restrict c_pos = c.data(); | 92 | 1.77k | const A* __restrict a_end = a_pos + size; | 93 | | | 94 | 176k | while (a_pos < a_end) { | 95 | 174k | *c_pos = Op::apply(*a_pos, b); | 96 | 174k | ++a_pos; | 97 | 174k | ++c_pos; | 98 | 174k | } | 99 | 1.77k | } |
_ZN5doris17NumComparisonImplIllNS_8EqualsOpILNS_13PrimitiveTypeE6EEEE15vector_constantERKNS_8PODArrayIlLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEElRNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 88 | 2.68k | PaddedPODArray<UInt8>& c) { | 89 | 2.68k | size_t size = a.size(); | 90 | 2.68k | const A* __restrict a_pos = a.data(); | 91 | 2.68k | UInt8* __restrict c_pos = c.data(); | 92 | 2.68k | const A* __restrict a_end = a_pos + size; | 93 | | | 94 | 861k | while (a_pos < a_end) { | 95 | 859k | *c_pos = Op::apply(*a_pos, b); | 96 | 859k | ++a_pos; | 97 | 859k | ++c_pos; | 98 | 859k | } | 99 | 2.68k | } |
_ZN5doris17NumComparisonImplInnNS_8EqualsOpILNS_13PrimitiveTypeE7EEEE15vector_constantERKNS_8PODArrayInLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEnRNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 88 | 43 | PaddedPODArray<UInt8>& c) { | 89 | 43 | size_t size = a.size(); | 90 | 43 | const A* __restrict a_pos = a.data(); | 91 | 43 | UInt8* __restrict c_pos = c.data(); | 92 | 43 | const A* __restrict a_end = a_pos + size; | 93 | | | 94 | 100k | while (a_pos < a_end) { | 95 | 100k | *c_pos = Op::apply(*a_pos, b); | 96 | 100k | ++a_pos; | 97 | 100k | ++c_pos; | 98 | 100k | } | 99 | 43 | } |
_ZN5doris17NumComparisonImplIjjNS_8EqualsOpILNS_13PrimitiveTypeE36EEEE15vector_constantERKNS_8PODArrayIjLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEjRNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 88 | 7 | PaddedPODArray<UInt8>& c) { | 89 | 7 | size_t size = a.size(); | 90 | 7 | const A* __restrict a_pos = a.data(); | 91 | 7 | UInt8* __restrict c_pos = c.data(); | 92 | 7 | const A* __restrict a_end = a_pos + size; | 93 | | | 94 | 21 | while (a_pos < a_end) { | 95 | 14 | *c_pos = Op::apply(*a_pos, b); | 96 | 14 | ++a_pos; | 97 | 14 | ++c_pos; | 98 | 14 | } | 99 | 7 | } |
_ZN5doris17NumComparisonImplIooNS_8EqualsOpILNS_13PrimitiveTypeE37EEEE15vector_constantERKNS_8PODArrayIoLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEoRNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 88 | 4 | PaddedPODArray<UInt8>& c) { | 89 | 4 | size_t size = a.size(); | 90 | 4 | const A* __restrict a_pos = a.data(); | 91 | 4 | UInt8* __restrict c_pos = c.data(); | 92 | 4 | const A* __restrict a_end = a_pos + size; | 93 | | | 94 | 8 | while (a_pos < a_end) { | 95 | 4 | *c_pos = Op::apply(*a_pos, b); | 96 | 4 | ++a_pos; | 97 | 4 | ++c_pos; | 98 | 4 | } | 99 | 4 | } |
Unexecuted instantiation: _ZN5doris17NumComparisonImplIffNS_8EqualsOpILNS_13PrimitiveTypeE8EEEE15vector_constantERKNS_8PODArrayIfLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEfRNS5_IhLm4096ES8_Lm16ELm15EEE _ZN5doris17NumComparisonImplIddNS_8EqualsOpILNS_13PrimitiveTypeE9EEEE15vector_constantERKNS_8PODArrayIdLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEdRNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 88 | 778 | PaddedPODArray<UInt8>& c) { | 89 | 778 | size_t size = a.size(); | 90 | 778 | const A* __restrict a_pos = a.data(); | 91 | 778 | UInt8* __restrict c_pos = c.data(); | 92 | 778 | const A* __restrict a_end = a_pos + size; | 93 | | | 94 | 719k | while (a_pos < a_end) { | 95 | 718k | *c_pos = Op::apply(*a_pos, b); | 96 | 718k | ++a_pos; | 97 | 718k | ++c_pos; | 98 | 718k | } | 99 | 778 | } |
Unexecuted instantiation: _ZN5doris17NumComparisonImplIddNS_8EqualsOpILNS_13PrimitiveTypeE27EEEE15vector_constantERKNS_8PODArrayIdLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEdRNS5_IhLm4096ES8_Lm16ELm15EEE Unexecuted instantiation: _ZN5doris17NumComparisonImplIhhNS_11NotEqualsOpILNS_13PrimitiveTypeE2EEEE15vector_constantERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEhRS9_ _ZN5doris17NumComparisonImplINS_11DateV2ValueINS_15DateV2ValueTypeEEES3_NS_11NotEqualsOpILNS_13PrimitiveTypeE25EEEE15vector_constantERKNS_8PODArrayIS3_Lm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEES3_RNS8_IhLm4096ESB_Lm16ELm15EEE Line | Count | Source | 88 | 31 | PaddedPODArray<UInt8>& c) { | 89 | 31 | size_t size = a.size(); | 90 | 31 | const A* __restrict a_pos = a.data(); | 91 | 31 | UInt8* __restrict c_pos = c.data(); | 92 | 31 | const A* __restrict a_end = a_pos + size; | 93 | | | 94 | 82 | while (a_pos < a_end) { | 95 | 51 | *c_pos = Op::apply(*a_pos, b); | 96 | 51 | ++a_pos; | 97 | 51 | ++c_pos; | 98 | 51 | } | 99 | 31 | } |
Unexecuted instantiation: _ZN5doris17NumComparisonImplINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEES3_NS_11NotEqualsOpILNS_13PrimitiveTypeE26EEEE15vector_constantERKNS_8PODArrayIS3_Lm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEES3_RNS8_IhLm4096ESB_Lm16ELm15EEE Unexecuted instantiation: _ZN5doris17NumComparisonImplINS_16TimestampTzValueES1_NS_11NotEqualsOpILNS_13PrimitiveTypeE42EEEE15vector_constantERKNS_8PODArrayIS1_Lm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEES1_RNS6_IhLm4096ES9_Lm16ELm15EEE _ZN5doris17NumComparisonImplIaaNS_11NotEqualsOpILNS_13PrimitiveTypeE3EEEE15vector_constantERKNS_8PODArrayIaLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEaRNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 88 | 28 | PaddedPODArray<UInt8>& c) { | 89 | 28 | size_t size = a.size(); | 90 | 28 | const A* __restrict a_pos = a.data(); | 91 | 28 | UInt8* __restrict c_pos = c.data(); | 92 | 28 | const A* __restrict a_end = a_pos + size; | 93 | | | 94 | 78 | while (a_pos < a_end) { | 95 | 50 | *c_pos = Op::apply(*a_pos, b); | 96 | 50 | ++a_pos; | 97 | 50 | ++c_pos; | 98 | 50 | } | 99 | 28 | } |
Unexecuted instantiation: _ZN5doris17NumComparisonImplIssNS_11NotEqualsOpILNS_13PrimitiveTypeE4EEEE15vector_constantERKNS_8PODArrayIsLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEsRNS5_IhLm4096ES8_Lm16ELm15EEE _ZN5doris17NumComparisonImplIiiNS_11NotEqualsOpILNS_13PrimitiveTypeE5EEEE15vector_constantERKNS_8PODArrayIiLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEiRNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 88 | 255 | PaddedPODArray<UInt8>& c) { | 89 | 255 | size_t size = a.size(); | 90 | 255 | const A* __restrict a_pos = a.data(); | 91 | 255 | UInt8* __restrict c_pos = c.data(); | 92 | 255 | const A* __restrict a_end = a_pos + size; | 93 | | | 94 | 1.83k | while (a_pos < a_end) { | 95 | 1.58k | *c_pos = Op::apply(*a_pos, b); | 96 | 1.58k | ++a_pos; | 97 | 1.58k | ++c_pos; | 98 | 1.58k | } | 99 | 255 | } |
_ZN5doris17NumComparisonImplIllNS_11NotEqualsOpILNS_13PrimitiveTypeE6EEEE15vector_constantERKNS_8PODArrayIlLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEElRNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 88 | 159 | PaddedPODArray<UInt8>& c) { | 89 | 159 | size_t size = a.size(); | 90 | 159 | const A* __restrict a_pos = a.data(); | 91 | 159 | UInt8* __restrict c_pos = c.data(); | 92 | 159 | const A* __restrict a_end = a_pos + size; | 93 | | | 94 | 3.42k | while (a_pos < a_end) { | 95 | 3.26k | *c_pos = Op::apply(*a_pos, b); | 96 | 3.26k | ++a_pos; | 97 | 3.26k | ++c_pos; | 98 | 3.26k | } | 99 | 159 | } |
Unexecuted instantiation: _ZN5doris17NumComparisonImplInnNS_11NotEqualsOpILNS_13PrimitiveTypeE7EEEE15vector_constantERKNS_8PODArrayInLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEnRNS5_IhLm4096ES8_Lm16ELm15EEE Unexecuted instantiation: _ZN5doris17NumComparisonImplIjjNS_11NotEqualsOpILNS_13PrimitiveTypeE36EEEE15vector_constantERKNS_8PODArrayIjLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEjRNS5_IhLm4096ES8_Lm16ELm15EEE Unexecuted instantiation: _ZN5doris17NumComparisonImplIooNS_11NotEqualsOpILNS_13PrimitiveTypeE37EEEE15vector_constantERKNS_8PODArrayIoLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEoRNS5_IhLm4096ES8_Lm16ELm15EEE _ZN5doris17NumComparisonImplIffNS_11NotEqualsOpILNS_13PrimitiveTypeE8EEEE15vector_constantERKNS_8PODArrayIfLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEfRNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 88 | 28 | PaddedPODArray<UInt8>& c) { | 89 | 28 | size_t size = a.size(); | 90 | 28 | const A* __restrict a_pos = a.data(); | 91 | 28 | UInt8* __restrict c_pos = c.data(); | 92 | 28 | const A* __restrict a_end = a_pos + size; | 93 | | | 94 | 70 | while (a_pos < a_end) { | 95 | 42 | *c_pos = Op::apply(*a_pos, b); | 96 | 42 | ++a_pos; | 97 | 42 | ++c_pos; | 98 | 42 | } | 99 | 28 | } |
_ZN5doris17NumComparisonImplIddNS_11NotEqualsOpILNS_13PrimitiveTypeE9EEEE15vector_constantERKNS_8PODArrayIdLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEdRNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 88 | 40 | PaddedPODArray<UInt8>& c) { | 89 | 40 | size_t size = a.size(); | 90 | 40 | const A* __restrict a_pos = a.data(); | 91 | 40 | UInt8* __restrict c_pos = c.data(); | 92 | 40 | const A* __restrict a_end = a_pos + size; | 93 | | | 94 | 282 | while (a_pos < a_end) { | 95 | 242 | *c_pos = Op::apply(*a_pos, b); | 96 | 242 | ++a_pos; | 97 | 242 | ++c_pos; | 98 | 242 | } | 99 | 40 | } |
Unexecuted instantiation: _ZN5doris17NumComparisonImplIddNS_11NotEqualsOpILNS_13PrimitiveTypeE27EEEE15vector_constantERKNS_8PODArrayIdLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEdRNS5_IhLm4096ES8_Lm16ELm15EEE Unexecuted instantiation: _ZN5doris17NumComparisonImplIhhNS_9GreaterOpILNS_13PrimitiveTypeE2EEEE15vector_constantERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEhRS9_ Unexecuted instantiation: _ZN5doris17NumComparisonImplIhhNS_6LessOpILNS_13PrimitiveTypeE2EEEE15vector_constantERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEhRS9_ _ZN5doris17NumComparisonImplINS_11DateV2ValueINS_15DateV2ValueTypeEEES3_NS_9GreaterOpILNS_13PrimitiveTypeE25EEEE15vector_constantERKNS_8PODArrayIS3_Lm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEES3_RNS8_IhLm4096ESB_Lm16ELm15EEE Line | Count | Source | 88 | 41 | PaddedPODArray<UInt8>& c) { | 89 | 41 | size_t size = a.size(); | 90 | 41 | const A* __restrict a_pos = a.data(); | 91 | 41 | UInt8* __restrict c_pos = c.data(); | 92 | 41 | const A* __restrict a_end = a_pos + size; | 93 | | | 94 | 149 | while (a_pos < a_end) { | 95 | 108 | *c_pos = Op::apply(*a_pos, b); | 96 | 108 | ++a_pos; | 97 | 108 | ++c_pos; | 98 | 108 | } | 99 | 41 | } |
_ZN5doris17NumComparisonImplINS_11DateV2ValueINS_15DateV2ValueTypeEEES3_NS_6LessOpILNS_13PrimitiveTypeE25EEEE15vector_constantERKNS_8PODArrayIS3_Lm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEES3_RNS8_IhLm4096ESB_Lm16ELm15EEE Line | Count | Source | 88 | 376 | PaddedPODArray<UInt8>& c) { | 89 | 376 | size_t size = a.size(); | 90 | 376 | const A* __restrict a_pos = a.data(); | 91 | 376 | UInt8* __restrict c_pos = c.data(); | 92 | 376 | const A* __restrict a_end = a_pos + size; | 93 | | | 94 | 1.34M | while (a_pos < a_end) { | 95 | 1.34M | *c_pos = Op::apply(*a_pos, b); | 96 | 1.34M | ++a_pos; | 97 | 1.34M | ++c_pos; | 98 | 1.34M | } | 99 | 376 | } |
_ZN5doris17NumComparisonImplINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEES3_NS_9GreaterOpILNS_13PrimitiveTypeE26EEEE15vector_constantERKNS_8PODArrayIS3_Lm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEES3_RNS8_IhLm4096ESB_Lm16ELm15EEE Line | Count | Source | 88 | 2 | PaddedPODArray<UInt8>& c) { | 89 | 2 | size_t size = a.size(); | 90 | 2 | const A* __restrict a_pos = a.data(); | 91 | 2 | UInt8* __restrict c_pos = c.data(); | 92 | 2 | const A* __restrict a_end = a_pos + size; | 93 | | | 94 | 6 | while (a_pos < a_end) { | 95 | 4 | *c_pos = Op::apply(*a_pos, b); | 96 | 4 | ++a_pos; | 97 | 4 | ++c_pos; | 98 | 4 | } | 99 | 2 | } |
_ZN5doris17NumComparisonImplINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEES3_NS_6LessOpILNS_13PrimitiveTypeE26EEEE15vector_constantERKNS_8PODArrayIS3_Lm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEES3_RNS8_IhLm4096ESB_Lm16ELm15EEE Line | Count | Source | 88 | 59 | PaddedPODArray<UInt8>& c) { | 89 | 59 | size_t size = a.size(); | 90 | 59 | const A* __restrict a_pos = a.data(); | 91 | 59 | UInt8* __restrict c_pos = c.data(); | 92 | 59 | const A* __restrict a_end = a_pos + size; | 93 | | | 94 | 269 | while (a_pos < a_end) { | 95 | 210 | *c_pos = Op::apply(*a_pos, b); | 96 | 210 | ++a_pos; | 97 | 210 | ++c_pos; | 98 | 210 | } | 99 | 59 | } |
Unexecuted instantiation: _ZN5doris17NumComparisonImplINS_16TimestampTzValueES1_NS_9GreaterOpILNS_13PrimitiveTypeE42EEEE15vector_constantERKNS_8PODArrayIS1_Lm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEES1_RNS6_IhLm4096ES9_Lm16ELm15EEE _ZN5doris17NumComparisonImplINS_16TimestampTzValueES1_NS_6LessOpILNS_13PrimitiveTypeE42EEEE15vector_constantERKNS_8PODArrayIS1_Lm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEES1_RNS6_IhLm4096ES9_Lm16ELm15EEE Line | Count | Source | 88 | 1 | PaddedPODArray<UInt8>& c) { | 89 | 1 | size_t size = a.size(); | 90 | 1 | const A* __restrict a_pos = a.data(); | 91 | 1 | UInt8* __restrict c_pos = c.data(); | 92 | 1 | const A* __restrict a_end = a_pos + size; | 93 | | | 94 | 8 | while (a_pos < a_end) { | 95 | 7 | *c_pos = Op::apply(*a_pos, b); | 96 | 7 | ++a_pos; | 97 | 7 | ++c_pos; | 98 | 7 | } | 99 | 1 | } |
_ZN5doris17NumComparisonImplIaaNS_9GreaterOpILNS_13PrimitiveTypeE3EEEE15vector_constantERKNS_8PODArrayIaLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEaRNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 88 | 1.15k | PaddedPODArray<UInt8>& c) { | 89 | 1.15k | size_t size = a.size(); | 90 | 1.15k | const A* __restrict a_pos = a.data(); | 91 | 1.15k | UInt8* __restrict c_pos = c.data(); | 92 | 1.15k | const A* __restrict a_end = a_pos + size; | 93 | | | 94 | 6.63k | while (a_pos < a_end) { | 95 | 5.47k | *c_pos = Op::apply(*a_pos, b); | 96 | 5.47k | ++a_pos; | 97 | 5.47k | ++c_pos; | 98 | 5.47k | } | 99 | 1.15k | } |
_ZN5doris17NumComparisonImplIaaNS_6LessOpILNS_13PrimitiveTypeE3EEEE15vector_constantERKNS_8PODArrayIaLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEaRNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 88 | 2.03k | PaddedPODArray<UInt8>& c) { | 89 | 2.03k | size_t size = a.size(); | 90 | 2.03k | const A* __restrict a_pos = a.data(); | 91 | 2.03k | UInt8* __restrict c_pos = c.data(); | 92 | 2.03k | const A* __restrict a_end = a_pos + size; | 93 | | | 94 | 5.58k | while (a_pos < a_end) { | 95 | 3.55k | *c_pos = Op::apply(*a_pos, b); | 96 | 3.55k | ++a_pos; | 97 | 3.55k | ++c_pos; | 98 | 3.55k | } | 99 | 2.03k | } |
_ZN5doris17NumComparisonImplIssNS_9GreaterOpILNS_13PrimitiveTypeE4EEEE15vector_constantERKNS_8PODArrayIsLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEsRNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 88 | 1.45k | PaddedPODArray<UInt8>& c) { | 89 | 1.45k | size_t size = a.size(); | 90 | 1.45k | const A* __restrict a_pos = a.data(); | 91 | 1.45k | UInt8* __restrict c_pos = c.data(); | 92 | 1.45k | const A* __restrict a_end = a_pos + size; | 93 | | | 94 | 6.26k | while (a_pos < a_end) { | 95 | 4.81k | *c_pos = Op::apply(*a_pos, b); | 96 | 4.81k | ++a_pos; | 97 | 4.81k | ++c_pos; | 98 | 4.81k | } | 99 | 1.45k | } |
_ZN5doris17NumComparisonImplIssNS_6LessOpILNS_13PrimitiveTypeE4EEEE15vector_constantERKNS_8PODArrayIsLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEsRNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 88 | 266 | PaddedPODArray<UInt8>& c) { | 89 | 266 | size_t size = a.size(); | 90 | 266 | const A* __restrict a_pos = a.data(); | 91 | 266 | UInt8* __restrict c_pos = c.data(); | 92 | 266 | const A* __restrict a_end = a_pos + size; | 93 | | | 94 | 1.18k | while (a_pos < a_end) { | 95 | 916 | *c_pos = Op::apply(*a_pos, b); | 96 | 916 | ++a_pos; | 97 | 916 | ++c_pos; | 98 | 916 | } | 99 | 266 | } |
_ZN5doris17NumComparisonImplIiiNS_9GreaterOpILNS_13PrimitiveTypeE5EEEE15vector_constantERKNS_8PODArrayIiLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEiRNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 88 | 4.66k | PaddedPODArray<UInt8>& c) { | 89 | 4.66k | size_t size = a.size(); | 90 | 4.66k | const A* __restrict a_pos = a.data(); | 91 | 4.66k | UInt8* __restrict c_pos = c.data(); | 92 | 4.66k | const A* __restrict a_end = a_pos + size; | 93 | | | 94 | 959k | while (a_pos < a_end) { | 95 | 954k | *c_pos = Op::apply(*a_pos, b); | 96 | 954k | ++a_pos; | 97 | 954k | ++c_pos; | 98 | 954k | } | 99 | 4.66k | } |
_ZN5doris17NumComparisonImplIiiNS_6LessOpILNS_13PrimitiveTypeE5EEEE15vector_constantERKNS_8PODArrayIiLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEiRNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 88 | 63.0k | PaddedPODArray<UInt8>& c) { | 89 | 63.0k | size_t size = a.size(); | 90 | 63.0k | const A* __restrict a_pos = a.data(); | 91 | 63.0k | UInt8* __restrict c_pos = c.data(); | 92 | 63.0k | const A* __restrict a_end = a_pos + size; | 93 | | | 94 | 5.32M | while (a_pos < a_end) { | 95 | 5.25M | *c_pos = Op::apply(*a_pos, b); | 96 | 5.25M | ++a_pos; | 97 | 5.25M | ++c_pos; | 98 | 5.25M | } | 99 | 63.0k | } |
_ZN5doris17NumComparisonImplIllNS_9GreaterOpILNS_13PrimitiveTypeE6EEEE15vector_constantERKNS_8PODArrayIlLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEElRNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 88 | 1.22k | PaddedPODArray<UInt8>& c) { | 89 | 1.22k | size_t size = a.size(); | 90 | 1.22k | const A* __restrict a_pos = a.data(); | 91 | 1.22k | UInt8* __restrict c_pos = c.data(); | 92 | 1.22k | const A* __restrict a_end = a_pos + size; | 93 | | | 94 | 98.0k | while (a_pos < a_end) { | 95 | 96.8k | *c_pos = Op::apply(*a_pos, b); | 96 | 96.8k | ++a_pos; | 97 | 96.8k | ++c_pos; | 98 | 96.8k | } | 99 | 1.22k | } |
_ZN5doris17NumComparisonImplIllNS_6LessOpILNS_13PrimitiveTypeE6EEEE15vector_constantERKNS_8PODArrayIlLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEElRNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 88 | 1.01k | PaddedPODArray<UInt8>& c) { | 89 | 1.01k | size_t size = a.size(); | 90 | 1.01k | const A* __restrict a_pos = a.data(); | 91 | 1.01k | UInt8* __restrict c_pos = c.data(); | 92 | 1.01k | const A* __restrict a_end = a_pos + size; | 93 | | | 94 | 11.6k | while (a_pos < a_end) { | 95 | 10.6k | *c_pos = Op::apply(*a_pos, b); | 96 | 10.6k | ++a_pos; | 97 | 10.6k | ++c_pos; | 98 | 10.6k | } | 99 | 1.01k | } |
_ZN5doris17NumComparisonImplInnNS_9GreaterOpILNS_13PrimitiveTypeE7EEEE15vector_constantERKNS_8PODArrayInLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEnRNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 88 | 249 | PaddedPODArray<UInt8>& c) { | 89 | 249 | size_t size = a.size(); | 90 | 249 | const A* __restrict a_pos = a.data(); | 91 | 249 | UInt8* __restrict c_pos = c.data(); | 92 | 249 | const A* __restrict a_end = a_pos + size; | 93 | | | 94 | 1.89k | while (a_pos < a_end) { | 95 | 1.64k | *c_pos = Op::apply(*a_pos, b); | 96 | 1.64k | ++a_pos; | 97 | 1.64k | ++c_pos; | 98 | 1.64k | } | 99 | 249 | } |
_ZN5doris17NumComparisonImplInnNS_6LessOpILNS_13PrimitiveTypeE7EEEE15vector_constantERKNS_8PODArrayInLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEnRNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 88 | 83 | PaddedPODArray<UInt8>& c) { | 89 | 83 | size_t size = a.size(); | 90 | 83 | const A* __restrict a_pos = a.data(); | 91 | 83 | UInt8* __restrict c_pos = c.data(); | 92 | 83 | const A* __restrict a_end = a_pos + size; | 93 | | | 94 | 86.2k | while (a_pos < a_end) { | 95 | 86.1k | *c_pos = Op::apply(*a_pos, b); | 96 | 86.1k | ++a_pos; | 97 | 86.1k | ++c_pos; | 98 | 86.1k | } | 99 | 83 | } |
_ZN5doris17NumComparisonImplIjjNS_9GreaterOpILNS_13PrimitiveTypeE36EEEE15vector_constantERKNS_8PODArrayIjLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEjRNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 88 | 3 | PaddedPODArray<UInt8>& c) { | 89 | 3 | size_t size = a.size(); | 90 | 3 | const A* __restrict a_pos = a.data(); | 91 | 3 | UInt8* __restrict c_pos = c.data(); | 92 | 3 | const A* __restrict a_end = a_pos + size; | 93 | | | 94 | 31 | while (a_pos < a_end) { | 95 | 28 | *c_pos = Op::apply(*a_pos, b); | 96 | 28 | ++a_pos; | 97 | 28 | ++c_pos; | 98 | 28 | } | 99 | 3 | } |
_ZN5doris17NumComparisonImplIjjNS_6LessOpILNS_13PrimitiveTypeE36EEEE15vector_constantERKNS_8PODArrayIjLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEjRNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 88 | 2 | PaddedPODArray<UInt8>& c) { | 89 | 2 | size_t size = a.size(); | 90 | 2 | const A* __restrict a_pos = a.data(); | 91 | 2 | UInt8* __restrict c_pos = c.data(); | 92 | 2 | const A* __restrict a_end = a_pos + size; | 93 | | | 94 | 22 | while (a_pos < a_end) { | 95 | 20 | *c_pos = Op::apply(*a_pos, b); | 96 | 20 | ++a_pos; | 97 | 20 | ++c_pos; | 98 | 20 | } | 99 | 2 | } |
Unexecuted instantiation: _ZN5doris17NumComparisonImplIooNS_9GreaterOpILNS_13PrimitiveTypeE37EEEE15vector_constantERKNS_8PODArrayIoLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEoRNS5_IhLm4096ES8_Lm16ELm15EEE Unexecuted instantiation: _ZN5doris17NumComparisonImplIooNS_6LessOpILNS_13PrimitiveTypeE37EEEE15vector_constantERKNS_8PODArrayIoLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEoRNS5_IhLm4096ES8_Lm16ELm15EEE _ZN5doris17NumComparisonImplIffNS_9GreaterOpILNS_13PrimitiveTypeE8EEEE15vector_constantERKNS_8PODArrayIfLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEfRNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 88 | 200 | PaddedPODArray<UInt8>& c) { | 89 | 200 | size_t size = a.size(); | 90 | 200 | const A* __restrict a_pos = a.data(); | 91 | 200 | UInt8* __restrict c_pos = c.data(); | 92 | 200 | const A* __restrict a_end = a_pos + size; | 93 | | | 94 | 2.61k | while (a_pos < a_end) { | 95 | 2.41k | *c_pos = Op::apply(*a_pos, b); | 96 | 2.41k | ++a_pos; | 97 | 2.41k | ++c_pos; | 98 | 2.41k | } | 99 | 200 | } |
Unexecuted instantiation: _ZN5doris17NumComparisonImplIffNS_6LessOpILNS_13PrimitiveTypeE8EEEE15vector_constantERKNS_8PODArrayIfLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEfRNS5_IhLm4096ES8_Lm16ELm15EEE _ZN5doris17NumComparisonImplIddNS_9GreaterOpILNS_13PrimitiveTypeE9EEEE15vector_constantERKNS_8PODArrayIdLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEdRNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 88 | 505 | PaddedPODArray<UInt8>& c) { | 89 | 505 | size_t size = a.size(); | 90 | 505 | const A* __restrict a_pos = a.data(); | 91 | 505 | UInt8* __restrict c_pos = c.data(); | 92 | 505 | const A* __restrict a_end = a_pos + size; | 93 | | | 94 | 7.44k | while (a_pos < a_end) { | 95 | 6.94k | *c_pos = Op::apply(*a_pos, b); | 96 | 6.94k | ++a_pos; | 97 | 6.94k | ++c_pos; | 98 | 6.94k | } | 99 | 505 | } |
_ZN5doris17NumComparisonImplIddNS_6LessOpILNS_13PrimitiveTypeE9EEEE15vector_constantERKNS_8PODArrayIdLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEdRNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 88 | 199 | PaddedPODArray<UInt8>& c) { | 89 | 199 | size_t size = a.size(); | 90 | 199 | const A* __restrict a_pos = a.data(); | 91 | 199 | UInt8* __restrict c_pos = c.data(); | 92 | 199 | const A* __restrict a_end = a_pos + size; | 93 | | | 94 | 282k | while (a_pos < a_end) { | 95 | 282k | *c_pos = Op::apply(*a_pos, b); | 96 | 282k | ++a_pos; | 97 | 282k | ++c_pos; | 98 | 282k | } | 99 | 199 | } |
Unexecuted instantiation: _ZN5doris17NumComparisonImplIddNS_9GreaterOpILNS_13PrimitiveTypeE27EEEE15vector_constantERKNS_8PODArrayIdLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEdRNS5_IhLm4096ES8_Lm16ELm15EEE Unexecuted instantiation: _ZN5doris17NumComparisonImplIddNS_6LessOpILNS_13PrimitiveTypeE27EEEE15vector_constantERKNS_8PODArrayIdLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEdRNS5_IhLm4096ES8_Lm16ELm15EEE _ZN5doris17NumComparisonImplIhhNS_17GreaterOrEqualsOpILNS_13PrimitiveTypeE2EEEE15vector_constantERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEhRS9_ Line | Count | Source | 88 | 27 | PaddedPODArray<UInt8>& c) { | 89 | 27 | size_t size = a.size(); | 90 | 27 | const A* __restrict a_pos = a.data(); | 91 | 27 | UInt8* __restrict c_pos = c.data(); | 92 | 27 | const A* __restrict a_end = a_pos + size; | 93 | | | 94 | 132k | while (a_pos < a_end) { | 95 | 132k | *c_pos = Op::apply(*a_pos, b); | 96 | 132k | ++a_pos; | 97 | 132k | ++c_pos; | 98 | 132k | } | 99 | 27 | } |
_ZN5doris17NumComparisonImplIhhNS_14LessOrEqualsOpILNS_13PrimitiveTypeE2EEEE15vector_constantERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEhRS9_ Line | Count | Source | 88 | 16 | PaddedPODArray<UInt8>& c) { | 89 | 16 | size_t size = a.size(); | 90 | 16 | const A* __restrict a_pos = a.data(); | 91 | 16 | UInt8* __restrict c_pos = c.data(); | 92 | 16 | const A* __restrict a_end = a_pos + size; | 93 | | | 94 | 80.4k | while (a_pos < a_end) { | 95 | 80.4k | *c_pos = Op::apply(*a_pos, b); | 96 | 80.4k | ++a_pos; | 97 | 80.4k | ++c_pos; | 98 | 80.4k | } | 99 | 16 | } |
_ZN5doris17NumComparisonImplINS_11DateV2ValueINS_15DateV2ValueTypeEEES3_NS_17GreaterOrEqualsOpILNS_13PrimitiveTypeE25EEEE15vector_constantERKNS_8PODArrayIS3_Lm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEES3_RNS8_IhLm4096ESB_Lm16ELm15EEE Line | Count | Source | 88 | 491 | PaddedPODArray<UInt8>& c) { | 89 | 491 | size_t size = a.size(); | 90 | 491 | const A* __restrict a_pos = a.data(); | 91 | 491 | UInt8* __restrict c_pos = c.data(); | 92 | 491 | const A* __restrict a_end = a_pos + size; | 93 | | | 94 | 1.48M | while (a_pos < a_end) { | 95 | 1.48M | *c_pos = Op::apply(*a_pos, b); | 96 | 1.48M | ++a_pos; | 97 | 1.48M | ++c_pos; | 98 | 1.48M | } | 99 | 491 | } |
_ZN5doris17NumComparisonImplINS_11DateV2ValueINS_15DateV2ValueTypeEEES3_NS_14LessOrEqualsOpILNS_13PrimitiveTypeE25EEEE15vector_constantERKNS_8PODArrayIS3_Lm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEES3_RNS8_IhLm4096ESB_Lm16ELm15EEE Line | Count | Source | 88 | 137 | PaddedPODArray<UInt8>& c) { | 89 | 137 | size_t size = a.size(); | 90 | 137 | const A* __restrict a_pos = a.data(); | 91 | 137 | UInt8* __restrict c_pos = c.data(); | 92 | 137 | const A* __restrict a_end = a_pos + size; | 93 | | | 94 | 713k | while (a_pos < a_end) { | 95 | 712k | *c_pos = Op::apply(*a_pos, b); | 96 | 712k | ++a_pos; | 97 | 712k | ++c_pos; | 98 | 712k | } | 99 | 137 | } |
_ZN5doris17NumComparisonImplINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEES3_NS_17GreaterOrEqualsOpILNS_13PrimitiveTypeE26EEEE15vector_constantERKNS_8PODArrayIS3_Lm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEES3_RNS8_IhLm4096ESB_Lm16ELm15EEE Line | Count | Source | 88 | 139 | PaddedPODArray<UInt8>& c) { | 89 | 139 | size_t size = a.size(); | 90 | 139 | const A* __restrict a_pos = a.data(); | 91 | 139 | UInt8* __restrict c_pos = c.data(); | 92 | 139 | const A* __restrict a_end = a_pos + size; | 93 | | | 94 | 521 | while (a_pos < a_end) { | 95 | 382 | *c_pos = Op::apply(*a_pos, b); | 96 | 382 | ++a_pos; | 97 | 382 | ++c_pos; | 98 | 382 | } | 99 | 139 | } |
_ZN5doris17NumComparisonImplINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEES3_NS_14LessOrEqualsOpILNS_13PrimitiveTypeE26EEEE15vector_constantERKNS_8PODArrayIS3_Lm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEES3_RNS8_IhLm4096ESB_Lm16ELm15EEE Line | Count | Source | 88 | 52 | PaddedPODArray<UInt8>& c) { | 89 | 52 | size_t size = a.size(); | 90 | 52 | const A* __restrict a_pos = a.data(); | 91 | 52 | UInt8* __restrict c_pos = c.data(); | 92 | 52 | const A* __restrict a_end = a_pos + size; | 93 | | | 94 | 161 | while (a_pos < a_end) { | 95 | 109 | *c_pos = Op::apply(*a_pos, b); | 96 | 109 | ++a_pos; | 97 | 109 | ++c_pos; | 98 | 109 | } | 99 | 52 | } |
Unexecuted instantiation: _ZN5doris17NumComparisonImplINS_16TimestampTzValueES1_NS_17GreaterOrEqualsOpILNS_13PrimitiveTypeE42EEEE15vector_constantERKNS_8PODArrayIS1_Lm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEES1_RNS6_IhLm4096ES9_Lm16ELm15EEE Unexecuted instantiation: _ZN5doris17NumComparisonImplINS_16TimestampTzValueES1_NS_14LessOrEqualsOpILNS_13PrimitiveTypeE42EEEE15vector_constantERKNS_8PODArrayIS1_Lm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEES1_RNS6_IhLm4096ES9_Lm16ELm15EEE _ZN5doris17NumComparisonImplIaaNS_17GreaterOrEqualsOpILNS_13PrimitiveTypeE3EEEE15vector_constantERKNS_8PODArrayIaLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEaRNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 88 | 67 | PaddedPODArray<UInt8>& c) { | 89 | 67 | size_t size = a.size(); | 90 | 67 | const A* __restrict a_pos = a.data(); | 91 | 67 | UInt8* __restrict c_pos = c.data(); | 92 | 67 | const A* __restrict a_end = a_pos + size; | 93 | | | 94 | 99.4k | while (a_pos < a_end) { | 95 | 99.4k | *c_pos = Op::apply(*a_pos, b); | 96 | 99.4k | ++a_pos; | 97 | 99.4k | ++c_pos; | 98 | 99.4k | } | 99 | 67 | } |
_ZN5doris17NumComparisonImplIaaNS_14LessOrEqualsOpILNS_13PrimitiveTypeE3EEEE15vector_constantERKNS_8PODArrayIaLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEaRNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 88 | 81 | PaddedPODArray<UInt8>& c) { | 89 | 81 | size_t size = a.size(); | 90 | 81 | const A* __restrict a_pos = a.data(); | 91 | 81 | UInt8* __restrict c_pos = c.data(); | 92 | 81 | const A* __restrict a_end = a_pos + size; | 93 | | | 94 | 180k | while (a_pos < a_end) { | 95 | 180k | *c_pos = Op::apply(*a_pos, b); | 96 | 180k | ++a_pos; | 97 | 180k | ++c_pos; | 98 | 180k | } | 99 | 81 | } |
_ZN5doris17NumComparisonImplIssNS_17GreaterOrEqualsOpILNS_13PrimitiveTypeE4EEEE15vector_constantERKNS_8PODArrayIsLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEsRNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 88 | 107 | PaddedPODArray<UInt8>& c) { | 89 | 107 | size_t size = a.size(); | 90 | 107 | const A* __restrict a_pos = a.data(); | 91 | 107 | UInt8* __restrict c_pos = c.data(); | 92 | 107 | const A* __restrict a_end = a_pos + size; | 93 | | | 94 | 130k | while (a_pos < a_end) { | 95 | 130k | *c_pos = Op::apply(*a_pos, b); | 96 | 130k | ++a_pos; | 97 | 130k | ++c_pos; | 98 | 130k | } | 99 | 107 | } |
_ZN5doris17NumComparisonImplIssNS_14LessOrEqualsOpILNS_13PrimitiveTypeE4EEEE15vector_constantERKNS_8PODArrayIsLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEsRNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 88 | 104 | PaddedPODArray<UInt8>& c) { | 89 | 104 | size_t size = a.size(); | 90 | 104 | const A* __restrict a_pos = a.data(); | 91 | 104 | UInt8* __restrict c_pos = c.data(); | 92 | 104 | const A* __restrict a_end = a_pos + size; | 93 | | | 94 | 63.6k | while (a_pos < a_end) { | 95 | 63.5k | *c_pos = Op::apply(*a_pos, b); | 96 | 63.5k | ++a_pos; | 97 | 63.5k | ++c_pos; | 98 | 63.5k | } | 99 | 104 | } |
_ZN5doris17NumComparisonImplIiiNS_17GreaterOrEqualsOpILNS_13PrimitiveTypeE5EEEE15vector_constantERKNS_8PODArrayIiLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEiRNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 88 | 1.91k | PaddedPODArray<UInt8>& c) { | 89 | 1.91k | size_t size = a.size(); | 90 | 1.91k | const A* __restrict a_pos = a.data(); | 91 | 1.91k | UInt8* __restrict c_pos = c.data(); | 92 | 1.91k | const A* __restrict a_end = a_pos + size; | 93 | | | 94 | 4.17M | while (a_pos < a_end) { | 95 | 4.17M | *c_pos = Op::apply(*a_pos, b); | 96 | 4.17M | ++a_pos; | 97 | 4.17M | ++c_pos; | 98 | 4.17M | } | 99 | 1.91k | } |
_ZN5doris17NumComparisonImplIiiNS_14LessOrEqualsOpILNS_13PrimitiveTypeE5EEEE15vector_constantERKNS_8PODArrayIiLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEiRNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 88 | 6.76k | PaddedPODArray<UInt8>& c) { | 89 | 6.76k | size_t size = a.size(); | 90 | 6.76k | const A* __restrict a_pos = a.data(); | 91 | 6.76k | UInt8* __restrict c_pos = c.data(); | 92 | 6.76k | const A* __restrict a_end = a_pos + size; | 93 | | | 94 | 8.25M | while (a_pos < a_end) { | 95 | 8.24M | *c_pos = Op::apply(*a_pos, b); | 96 | 8.24M | ++a_pos; | 97 | 8.24M | ++c_pos; | 98 | 8.24M | } | 99 | 6.76k | } |
_ZN5doris17NumComparisonImplIllNS_17GreaterOrEqualsOpILNS_13PrimitiveTypeE6EEEE15vector_constantERKNS_8PODArrayIlLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEElRNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 88 | 239 | PaddedPODArray<UInt8>& c) { | 89 | 239 | size_t size = a.size(); | 90 | 239 | const A* __restrict a_pos = a.data(); | 91 | 239 | UInt8* __restrict c_pos = c.data(); | 92 | 239 | const A* __restrict a_end = a_pos + size; | 93 | | | 94 | 833 | while (a_pos < a_end) { | 95 | 594 | *c_pos = Op::apply(*a_pos, b); | 96 | 594 | ++a_pos; | 97 | 594 | ++c_pos; | 98 | 594 | } | 99 | 239 | } |
_ZN5doris17NumComparisonImplIllNS_14LessOrEqualsOpILNS_13PrimitiveTypeE6EEEE15vector_constantERKNS_8PODArrayIlLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEElRNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 88 | 302 | PaddedPODArray<UInt8>& c) { | 89 | 302 | size_t size = a.size(); | 90 | 302 | const A* __restrict a_pos = a.data(); | 91 | 302 | UInt8* __restrict c_pos = c.data(); | 92 | 302 | const A* __restrict a_end = a_pos + size; | 93 | | | 94 | 3.64k | while (a_pos < a_end) { | 95 | 3.34k | *c_pos = Op::apply(*a_pos, b); | 96 | 3.34k | ++a_pos; | 97 | 3.34k | ++c_pos; | 98 | 3.34k | } | 99 | 302 | } |
_ZN5doris17NumComparisonImplInnNS_17GreaterOrEqualsOpILNS_13PrimitiveTypeE7EEEE15vector_constantERKNS_8PODArrayInLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEnRNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 88 | 32 | PaddedPODArray<UInt8>& c) { | 89 | 32 | size_t size = a.size(); | 90 | 32 | const A* __restrict a_pos = a.data(); | 91 | 32 | UInt8* __restrict c_pos = c.data(); | 92 | 32 | const A* __restrict a_end = a_pos + size; | 93 | | | 94 | 153k | while (a_pos < a_end) { | 95 | 153k | *c_pos = Op::apply(*a_pos, b); | 96 | 153k | ++a_pos; | 97 | 153k | ++c_pos; | 98 | 153k | } | 99 | 32 | } |
_ZN5doris17NumComparisonImplInnNS_14LessOrEqualsOpILNS_13PrimitiveTypeE7EEEE15vector_constantERKNS_8PODArrayInLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEnRNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 88 | 37 | PaddedPODArray<UInt8>& c) { | 89 | 37 | size_t size = a.size(); | 90 | 37 | const A* __restrict a_pos = a.data(); | 91 | 37 | UInt8* __restrict c_pos = c.data(); | 92 | 37 | const A* __restrict a_end = a_pos + size; | 93 | | | 94 | 163k | while (a_pos < a_end) { | 95 | 163k | *c_pos = Op::apply(*a_pos, b); | 96 | 163k | ++a_pos; | 97 | 163k | ++c_pos; | 98 | 163k | } | 99 | 37 | } |
Unexecuted instantiation: _ZN5doris17NumComparisonImplIjjNS_17GreaterOrEqualsOpILNS_13PrimitiveTypeE36EEEE15vector_constantERKNS_8PODArrayIjLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEjRNS5_IhLm4096ES8_Lm16ELm15EEE Unexecuted instantiation: _ZN5doris17NumComparisonImplIjjNS_14LessOrEqualsOpILNS_13PrimitiveTypeE36EEEE15vector_constantERKNS_8PODArrayIjLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEjRNS5_IhLm4096ES8_Lm16ELm15EEE Unexecuted instantiation: _ZN5doris17NumComparisonImplIooNS_17GreaterOrEqualsOpILNS_13PrimitiveTypeE37EEEE15vector_constantERKNS_8PODArrayIoLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEoRNS5_IhLm4096ES8_Lm16ELm15EEE Unexecuted instantiation: _ZN5doris17NumComparisonImplIooNS_14LessOrEqualsOpILNS_13PrimitiveTypeE37EEEE15vector_constantERKNS_8PODArrayIoLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEoRNS5_IhLm4096ES8_Lm16ELm15EEE _ZN5doris17NumComparisonImplIffNS_17GreaterOrEqualsOpILNS_13PrimitiveTypeE8EEEE15vector_constantERKNS_8PODArrayIfLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEfRNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 88 | 4 | PaddedPODArray<UInt8>& c) { | 89 | 4 | size_t size = a.size(); | 90 | 4 | const A* __restrict a_pos = a.data(); | 91 | 4 | UInt8* __restrict c_pos = c.data(); | 92 | 4 | const A* __restrict a_end = a_pos + size; | 93 | | | 94 | 10 | while (a_pos < a_end) { | 95 | 6 | *c_pos = Op::apply(*a_pos, b); | 96 | 6 | ++a_pos; | 97 | 6 | ++c_pos; | 98 | 6 | } | 99 | 4 | } |
Unexecuted instantiation: _ZN5doris17NumComparisonImplIffNS_14LessOrEqualsOpILNS_13PrimitiveTypeE8EEEE15vector_constantERKNS_8PODArrayIfLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEfRNS5_IhLm4096ES8_Lm16ELm15EEE _ZN5doris17NumComparisonImplIddNS_17GreaterOrEqualsOpILNS_13PrimitiveTypeE9EEEE15vector_constantERKNS_8PODArrayIdLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEdRNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 88 | 126 | PaddedPODArray<UInt8>& c) { | 89 | 126 | size_t size = a.size(); | 90 | 126 | const A* __restrict a_pos = a.data(); | 91 | 126 | UInt8* __restrict c_pos = c.data(); | 92 | 126 | const A* __restrict a_end = a_pos + size; | 93 | | | 94 | 355k | while (a_pos < a_end) { | 95 | 355k | *c_pos = Op::apply(*a_pos, b); | 96 | 355k | ++a_pos; | 97 | 355k | ++c_pos; | 98 | 355k | } | 99 | 126 | } |
_ZN5doris17NumComparisonImplIddNS_14LessOrEqualsOpILNS_13PrimitiveTypeE9EEEE15vector_constantERKNS_8PODArrayIdLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEdRNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 88 | 115 | PaddedPODArray<UInt8>& c) { | 89 | 115 | size_t size = a.size(); | 90 | 115 | const A* __restrict a_pos = a.data(); | 91 | 115 | UInt8* __restrict c_pos = c.data(); | 92 | 115 | const A* __restrict a_end = a_pos + size; | 93 | | | 94 | 275k | while (a_pos < a_end) { | 95 | 275k | *c_pos = Op::apply(*a_pos, b); | 96 | 275k | ++a_pos; | 97 | 275k | ++c_pos; | 98 | 275k | } | 99 | 115 | } |
Unexecuted instantiation: _ZN5doris17NumComparisonImplIddNS_17GreaterOrEqualsOpILNS_13PrimitiveTypeE27EEEE15vector_constantERKNS_8PODArrayIdLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEdRNS5_IhLm4096ES8_Lm16ELm15EEE Unexecuted instantiation: _ZN5doris17NumComparisonImplIddNS_14LessOrEqualsOpILNS_13PrimitiveTypeE27EEEE15vector_constantERKNS_8PODArrayIdLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEdRNS5_IhLm4096ES8_Lm16ELm15EEE |
100 | | |
101 | 66.0k | static void constant_vector(A a, const PaddedPODArray<B>& b, PaddedPODArray<UInt8>& c) { |
102 | 66.0k | NumComparisonImpl<B, A, typename Op::SymmetricOp>::vector_constant(b, a, c); |
103 | 66.0k | } Unexecuted instantiation: _ZN5doris17NumComparisonImplIhhNS_8EqualsOpILNS_13PrimitiveTypeE2EEEE15constant_vectorEhRKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERS9_ Unexecuted instantiation: _ZN5doris17NumComparisonImplINS_11DateV2ValueINS_15DateV2ValueTypeEEES3_NS_8EqualsOpILNS_13PrimitiveTypeE25EEEE15constant_vectorES3_RKNS_8PODArrayIS3_Lm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERNS8_IhLm4096ESB_Lm16ELm15EEE Unexecuted instantiation: _ZN5doris17NumComparisonImplINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEES3_NS_8EqualsOpILNS_13PrimitiveTypeE26EEEE15constant_vectorES3_RKNS_8PODArrayIS3_Lm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERNS8_IhLm4096ESB_Lm16ELm15EEE Unexecuted instantiation: _ZN5doris17NumComparisonImplINS_16TimestampTzValueES1_NS_8EqualsOpILNS_13PrimitiveTypeE42EEEE15constant_vectorES1_RKNS_8PODArrayIS1_Lm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERNS6_IhLm4096ES9_Lm16ELm15EEE _ZN5doris17NumComparisonImplIaaNS_8EqualsOpILNS_13PrimitiveTypeE3EEEE15constant_vectorEaRKNS_8PODArrayIaLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 101 | 336 | static void constant_vector(A a, const PaddedPODArray<B>& b, PaddedPODArray<UInt8>& c) { | 102 | 336 | NumComparisonImpl<B, A, typename Op::SymmetricOp>::vector_constant(b, a, c); | 103 | 336 | } |
_ZN5doris17NumComparisonImplIssNS_8EqualsOpILNS_13PrimitiveTypeE4EEEE15constant_vectorEsRKNS_8PODArrayIsLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 101 | 48 | static void constant_vector(A a, const PaddedPODArray<B>& b, PaddedPODArray<UInt8>& c) { | 102 | 48 | NumComparisonImpl<B, A, typename Op::SymmetricOp>::vector_constant(b, a, c); | 103 | 48 | } |
_ZN5doris17NumComparisonImplIiiNS_8EqualsOpILNS_13PrimitiveTypeE5EEEE15constant_vectorEiRKNS_8PODArrayIiLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 101 | 142 | static void constant_vector(A a, const PaddedPODArray<B>& b, PaddedPODArray<UInt8>& c) { | 102 | 142 | NumComparisonImpl<B, A, typename Op::SymmetricOp>::vector_constant(b, a, c); | 103 | 142 | } |
_ZN5doris17NumComparisonImplIllNS_8EqualsOpILNS_13PrimitiveTypeE6EEEE15constant_vectorElRKNS_8PODArrayIlLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 101 | 994 | static void constant_vector(A a, const PaddedPODArray<B>& b, PaddedPODArray<UInt8>& c) { | 102 | 994 | NumComparisonImpl<B, A, typename Op::SymmetricOp>::vector_constant(b, a, c); | 103 | 994 | } |
_ZN5doris17NumComparisonImplInnNS_8EqualsOpILNS_13PrimitiveTypeE7EEEE15constant_vectorEnRKNS_8PODArrayInLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 101 | 16 | static void constant_vector(A a, const PaddedPODArray<B>& b, PaddedPODArray<UInt8>& c) { | 102 | 16 | NumComparisonImpl<B, A, typename Op::SymmetricOp>::vector_constant(b, a, c); | 103 | 16 | } |
Unexecuted instantiation: _ZN5doris17NumComparisonImplIjjNS_8EqualsOpILNS_13PrimitiveTypeE36EEEE15constant_vectorEjRKNS_8PODArrayIjLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERNS5_IhLm4096ES8_Lm16ELm15EEE Unexecuted instantiation: _ZN5doris17NumComparisonImplIooNS_8EqualsOpILNS_13PrimitiveTypeE37EEEE15constant_vectorEoRKNS_8PODArrayIoLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERNS5_IhLm4096ES8_Lm16ELm15EEE Unexecuted instantiation: _ZN5doris17NumComparisonImplIffNS_8EqualsOpILNS_13PrimitiveTypeE8EEEE15constant_vectorEfRKNS_8PODArrayIfLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERNS5_IhLm4096ES8_Lm16ELm15EEE Unexecuted instantiation: _ZN5doris17NumComparisonImplIddNS_8EqualsOpILNS_13PrimitiveTypeE9EEEE15constant_vectorEdRKNS_8PODArrayIdLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERNS5_IhLm4096ES8_Lm16ELm15EEE Unexecuted instantiation: _ZN5doris17NumComparisonImplIddNS_8EqualsOpILNS_13PrimitiveTypeE27EEEE15constant_vectorEdRKNS_8PODArrayIdLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERNS5_IhLm4096ES8_Lm16ELm15EEE Unexecuted instantiation: _ZN5doris17NumComparisonImplIhhNS_11NotEqualsOpILNS_13PrimitiveTypeE2EEEE15constant_vectorEhRKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERS9_ Unexecuted instantiation: _ZN5doris17NumComparisonImplINS_11DateV2ValueINS_15DateV2ValueTypeEEES3_NS_11NotEqualsOpILNS_13PrimitiveTypeE25EEEE15constant_vectorES3_RKNS_8PODArrayIS3_Lm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERNS8_IhLm4096ESB_Lm16ELm15EEE Unexecuted instantiation: _ZN5doris17NumComparisonImplINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEES3_NS_11NotEqualsOpILNS_13PrimitiveTypeE26EEEE15constant_vectorES3_RKNS_8PODArrayIS3_Lm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERNS8_IhLm4096ESB_Lm16ELm15EEE Unexecuted instantiation: _ZN5doris17NumComparisonImplINS_16TimestampTzValueES1_NS_11NotEqualsOpILNS_13PrimitiveTypeE42EEEE15constant_vectorES1_RKNS_8PODArrayIS1_Lm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERNS6_IhLm4096ES9_Lm16ELm15EEE Unexecuted instantiation: _ZN5doris17NumComparisonImplIaaNS_11NotEqualsOpILNS_13PrimitiveTypeE3EEEE15constant_vectorEaRKNS_8PODArrayIaLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERNS5_IhLm4096ES8_Lm16ELm15EEE Unexecuted instantiation: _ZN5doris17NumComparisonImplIssNS_11NotEqualsOpILNS_13PrimitiveTypeE4EEEE15constant_vectorEsRKNS_8PODArrayIsLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERNS5_IhLm4096ES8_Lm16ELm15EEE Unexecuted instantiation: _ZN5doris17NumComparisonImplIiiNS_11NotEqualsOpILNS_13PrimitiveTypeE5EEEE15constant_vectorEiRKNS_8PODArrayIiLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERNS5_IhLm4096ES8_Lm16ELm15EEE _ZN5doris17NumComparisonImplIllNS_11NotEqualsOpILNS_13PrimitiveTypeE6EEEE15constant_vectorElRKNS_8PODArrayIlLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 101 | 90 | static void constant_vector(A a, const PaddedPODArray<B>& b, PaddedPODArray<UInt8>& c) { | 102 | 90 | NumComparisonImpl<B, A, typename Op::SymmetricOp>::vector_constant(b, a, c); | 103 | 90 | } |
Unexecuted instantiation: _ZN5doris17NumComparisonImplInnNS_11NotEqualsOpILNS_13PrimitiveTypeE7EEEE15constant_vectorEnRKNS_8PODArrayInLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERNS5_IhLm4096ES8_Lm16ELm15EEE Unexecuted instantiation: _ZN5doris17NumComparisonImplIjjNS_11NotEqualsOpILNS_13PrimitiveTypeE36EEEE15constant_vectorEjRKNS_8PODArrayIjLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERNS5_IhLm4096ES8_Lm16ELm15EEE Unexecuted instantiation: _ZN5doris17NumComparisonImplIooNS_11NotEqualsOpILNS_13PrimitiveTypeE37EEEE15constant_vectorEoRKNS_8PODArrayIoLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERNS5_IhLm4096ES8_Lm16ELm15EEE Unexecuted instantiation: _ZN5doris17NumComparisonImplIffNS_11NotEqualsOpILNS_13PrimitiveTypeE8EEEE15constant_vectorEfRKNS_8PODArrayIfLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERNS5_IhLm4096ES8_Lm16ELm15EEE Unexecuted instantiation: _ZN5doris17NumComparisonImplIddNS_11NotEqualsOpILNS_13PrimitiveTypeE9EEEE15constant_vectorEdRKNS_8PODArrayIdLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERNS5_IhLm4096ES8_Lm16ELm15EEE Unexecuted instantiation: _ZN5doris17NumComparisonImplIddNS_11NotEqualsOpILNS_13PrimitiveTypeE27EEEE15constant_vectorEdRKNS_8PODArrayIdLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERNS5_IhLm4096ES8_Lm16ELm15EEE Unexecuted instantiation: _ZN5doris17NumComparisonImplIhhNS_9GreaterOpILNS_13PrimitiveTypeE2EEEE15constant_vectorEhRKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERS9_ Unexecuted instantiation: _ZN5doris17NumComparisonImplINS_11DateV2ValueINS_15DateV2ValueTypeEEES3_NS_9GreaterOpILNS_13PrimitiveTypeE25EEEE15constant_vectorES3_RKNS_8PODArrayIS3_Lm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERNS8_IhLm4096ESB_Lm16ELm15EEE Unexecuted instantiation: _ZN5doris17NumComparisonImplINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEES3_NS_9GreaterOpILNS_13PrimitiveTypeE26EEEE15constant_vectorES3_RKNS_8PODArrayIS3_Lm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERNS8_IhLm4096ESB_Lm16ELm15EEE Unexecuted instantiation: _ZN5doris17NumComparisonImplINS_16TimestampTzValueES1_NS_9GreaterOpILNS_13PrimitiveTypeE42EEEE15constant_vectorES1_RKNS_8PODArrayIS1_Lm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERNS6_IhLm4096ES9_Lm16ELm15EEE _ZN5doris17NumComparisonImplIaaNS_9GreaterOpILNS_13PrimitiveTypeE3EEEE15constant_vectorEaRKNS_8PODArrayIaLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 101 | 264 | static void constant_vector(A a, const PaddedPODArray<B>& b, PaddedPODArray<UInt8>& c) { | 102 | 264 | NumComparisonImpl<B, A, typename Op::SymmetricOp>::vector_constant(b, a, c); | 103 | 264 | } |
_ZN5doris17NumComparisonImplIssNS_9GreaterOpILNS_13PrimitiveTypeE4EEEE15constant_vectorEsRKNS_8PODArrayIsLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 101 | 252 | static void constant_vector(A a, const PaddedPODArray<B>& b, PaddedPODArray<UInt8>& c) { | 102 | 252 | NumComparisonImpl<B, A, typename Op::SymmetricOp>::vector_constant(b, a, c); | 103 | 252 | } |
_ZN5doris17NumComparisonImplIiiNS_9GreaterOpILNS_13PrimitiveTypeE5EEEE15constant_vectorEiRKNS_8PODArrayIiLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 101 | 62.1k | static void constant_vector(A a, const PaddedPODArray<B>& b, PaddedPODArray<UInt8>& c) { | 102 | 62.1k | NumComparisonImpl<B, A, typename Op::SymmetricOp>::vector_constant(b, a, c); | 103 | 62.1k | } |
_ZN5doris17NumComparisonImplIllNS_9GreaterOpILNS_13PrimitiveTypeE6EEEE15constant_vectorElRKNS_8PODArrayIlLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 101 | 514 | static void constant_vector(A a, const PaddedPODArray<B>& b, PaddedPODArray<UInt8>& c) { | 102 | 514 | NumComparisonImpl<B, A, typename Op::SymmetricOp>::vector_constant(b, a, c); | 103 | 514 | } |
_ZN5doris17NumComparisonImplInnNS_9GreaterOpILNS_13PrimitiveTypeE7EEEE15constant_vectorEnRKNS_8PODArrayInLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 101 | 45 | static void constant_vector(A a, const PaddedPODArray<B>& b, PaddedPODArray<UInt8>& c) { | 102 | 45 | NumComparisonImpl<B, A, typename Op::SymmetricOp>::vector_constant(b, a, c); | 103 | 45 | } |
Unexecuted instantiation: _ZN5doris17NumComparisonImplIjjNS_9GreaterOpILNS_13PrimitiveTypeE36EEEE15constant_vectorEjRKNS_8PODArrayIjLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERNS5_IhLm4096ES8_Lm16ELm15EEE Unexecuted instantiation: _ZN5doris17NumComparisonImplIooNS_9GreaterOpILNS_13PrimitiveTypeE37EEEE15constant_vectorEoRKNS_8PODArrayIoLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERNS5_IhLm4096ES8_Lm16ELm15EEE Unexecuted instantiation: _ZN5doris17NumComparisonImplIffNS_9GreaterOpILNS_13PrimitiveTypeE8EEEE15constant_vectorEfRKNS_8PODArrayIfLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERNS5_IhLm4096ES8_Lm16ELm15EEE Unexecuted instantiation: _ZN5doris17NumComparisonImplIddNS_9GreaterOpILNS_13PrimitiveTypeE9EEEE15constant_vectorEdRKNS_8PODArrayIdLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERNS5_IhLm4096ES8_Lm16ELm15EEE Unexecuted instantiation: _ZN5doris17NumComparisonImplIddNS_9GreaterOpILNS_13PrimitiveTypeE27EEEE15constant_vectorEdRKNS_8PODArrayIdLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERNS5_IhLm4096ES8_Lm16ELm15EEE Unexecuted instantiation: _ZN5doris17NumComparisonImplIhhNS_17GreaterOrEqualsOpILNS_13PrimitiveTypeE2EEEE15constant_vectorEhRKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERS9_ _ZN5doris17NumComparisonImplINS_11DateV2ValueINS_15DateV2ValueTypeEEES3_NS_17GreaterOrEqualsOpILNS_13PrimitiveTypeE25EEEE15constant_vectorES3_RKNS_8PODArrayIS3_Lm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERNS8_IhLm4096ESB_Lm16ELm15EEE Line | Count | Source | 101 | 6 | static void constant_vector(A a, const PaddedPODArray<B>& b, PaddedPODArray<UInt8>& c) { | 102 | 6 | NumComparisonImpl<B, A, typename Op::SymmetricOp>::vector_constant(b, a, c); | 103 | 6 | } |
Unexecuted instantiation: _ZN5doris17NumComparisonImplINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEES3_NS_17GreaterOrEqualsOpILNS_13PrimitiveTypeE26EEEE15constant_vectorES3_RKNS_8PODArrayIS3_Lm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERNS8_IhLm4096ESB_Lm16ELm15EEE Unexecuted instantiation: _ZN5doris17NumComparisonImplINS_16TimestampTzValueES1_NS_17GreaterOrEqualsOpILNS_13PrimitiveTypeE42EEEE15constant_vectorES1_RKNS_8PODArrayIS1_Lm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERNS6_IhLm4096ES9_Lm16ELm15EEE Unexecuted instantiation: _ZN5doris17NumComparisonImplIaaNS_17GreaterOrEqualsOpILNS_13PrimitiveTypeE3EEEE15constant_vectorEaRKNS_8PODArrayIaLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERNS5_IhLm4096ES8_Lm16ELm15EEE Unexecuted instantiation: _ZN5doris17NumComparisonImplIssNS_17GreaterOrEqualsOpILNS_13PrimitiveTypeE4EEEE15constant_vectorEsRKNS_8PODArrayIsLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERNS5_IhLm4096ES8_Lm16ELm15EEE Unexecuted instantiation: _ZN5doris17NumComparisonImplIiiNS_17GreaterOrEqualsOpILNS_13PrimitiveTypeE5EEEE15constant_vectorEiRKNS_8PODArrayIiLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERNS5_IhLm4096ES8_Lm16ELm15EEE Unexecuted instantiation: _ZN5doris17NumComparisonImplIllNS_17GreaterOrEqualsOpILNS_13PrimitiveTypeE6EEEE15constant_vectorElRKNS_8PODArrayIlLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERNS5_IhLm4096ES8_Lm16ELm15EEE Unexecuted instantiation: _ZN5doris17NumComparisonImplInnNS_17GreaterOrEqualsOpILNS_13PrimitiveTypeE7EEEE15constant_vectorEnRKNS_8PODArrayInLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERNS5_IhLm4096ES8_Lm16ELm15EEE Unexecuted instantiation: _ZN5doris17NumComparisonImplIjjNS_17GreaterOrEqualsOpILNS_13PrimitiveTypeE36EEEE15constant_vectorEjRKNS_8PODArrayIjLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERNS5_IhLm4096ES8_Lm16ELm15EEE Unexecuted instantiation: _ZN5doris17NumComparisonImplIooNS_17GreaterOrEqualsOpILNS_13PrimitiveTypeE37EEEE15constant_vectorEoRKNS_8PODArrayIoLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERNS5_IhLm4096ES8_Lm16ELm15EEE Unexecuted instantiation: _ZN5doris17NumComparisonImplIffNS_17GreaterOrEqualsOpILNS_13PrimitiveTypeE8EEEE15constant_vectorEfRKNS_8PODArrayIfLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERNS5_IhLm4096ES8_Lm16ELm15EEE Unexecuted instantiation: _ZN5doris17NumComparisonImplIddNS_17GreaterOrEqualsOpILNS_13PrimitiveTypeE9EEEE15constant_vectorEdRKNS_8PODArrayIdLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERNS5_IhLm4096ES8_Lm16ELm15EEE Unexecuted instantiation: _ZN5doris17NumComparisonImplIddNS_17GreaterOrEqualsOpILNS_13PrimitiveTypeE27EEEE15constant_vectorEdRKNS_8PODArrayIdLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERNS5_IhLm4096ES8_Lm16ELm15EEE Unexecuted instantiation: _ZN5doris17NumComparisonImplIhhNS_6LessOpILNS_13PrimitiveTypeE2EEEE15constant_vectorEhRKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERS9_ Unexecuted instantiation: _ZN5doris17NumComparisonImplINS_11DateV2ValueINS_15DateV2ValueTypeEEES3_NS_6LessOpILNS_13PrimitiveTypeE25EEEE15constant_vectorES3_RKNS_8PODArrayIS3_Lm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERNS8_IhLm4096ESB_Lm16ELm15EEE Unexecuted instantiation: _ZN5doris17NumComparisonImplINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEES3_NS_6LessOpILNS_13PrimitiveTypeE26EEEE15constant_vectorES3_RKNS_8PODArrayIS3_Lm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERNS8_IhLm4096ESB_Lm16ELm15EEE Unexecuted instantiation: _ZN5doris17NumComparisonImplINS_16TimestampTzValueES1_NS_6LessOpILNS_13PrimitiveTypeE42EEEE15constant_vectorES1_RKNS_8PODArrayIS1_Lm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERNS6_IhLm4096ES9_Lm16ELm15EEE _ZN5doris17NumComparisonImplIaaNS_6LessOpILNS_13PrimitiveTypeE3EEEE15constant_vectorEaRKNS_8PODArrayIaLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 101 | 288 | static void constant_vector(A a, const PaddedPODArray<B>& b, PaddedPODArray<UInt8>& c) { | 102 | 288 | NumComparisonImpl<B, A, typename Op::SymmetricOp>::vector_constant(b, a, c); | 103 | 288 | } |
Unexecuted instantiation: _ZN5doris17NumComparisonImplIssNS_6LessOpILNS_13PrimitiveTypeE4EEEE15constant_vectorEsRKNS_8PODArrayIsLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERNS5_IhLm4096ES8_Lm16ELm15EEE _ZN5doris17NumComparisonImplIiiNS_6LessOpILNS_13PrimitiveTypeE5EEEE15constant_vectorEiRKNS_8PODArrayIiLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 101 | 121 | static void constant_vector(A a, const PaddedPODArray<B>& b, PaddedPODArray<UInt8>& c) { | 102 | 121 | NumComparisonImpl<B, A, typename Op::SymmetricOp>::vector_constant(b, a, c); | 103 | 121 | } |
_ZN5doris17NumComparisonImplIllNS_6LessOpILNS_13PrimitiveTypeE6EEEE15constant_vectorElRKNS_8PODArrayIlLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 101 | 58 | static void constant_vector(A a, const PaddedPODArray<B>& b, PaddedPODArray<UInt8>& c) { | 102 | 58 | NumComparisonImpl<B, A, typename Op::SymmetricOp>::vector_constant(b, a, c); | 103 | 58 | } |
_ZN5doris17NumComparisonImplInnNS_6LessOpILNS_13PrimitiveTypeE7EEEE15constant_vectorEnRKNS_8PODArrayInLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 101 | 48 | static void constant_vector(A a, const PaddedPODArray<B>& b, PaddedPODArray<UInt8>& c) { | 102 | 48 | NumComparisonImpl<B, A, typename Op::SymmetricOp>::vector_constant(b, a, c); | 103 | 48 | } |
Unexecuted instantiation: _ZN5doris17NumComparisonImplIjjNS_6LessOpILNS_13PrimitiveTypeE36EEEE15constant_vectorEjRKNS_8PODArrayIjLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERNS5_IhLm4096ES8_Lm16ELm15EEE Unexecuted instantiation: _ZN5doris17NumComparisonImplIooNS_6LessOpILNS_13PrimitiveTypeE37EEEE15constant_vectorEoRKNS_8PODArrayIoLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERNS5_IhLm4096ES8_Lm16ELm15EEE Unexecuted instantiation: _ZN5doris17NumComparisonImplIffNS_6LessOpILNS_13PrimitiveTypeE8EEEE15constant_vectorEfRKNS_8PODArrayIfLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERNS5_IhLm4096ES8_Lm16ELm15EEE Unexecuted instantiation: _ZN5doris17NumComparisonImplIddNS_6LessOpILNS_13PrimitiveTypeE9EEEE15constant_vectorEdRKNS_8PODArrayIdLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERNS5_IhLm4096ES8_Lm16ELm15EEE Unexecuted instantiation: _ZN5doris17NumComparisonImplIddNS_6LessOpILNS_13PrimitiveTypeE27EEEE15constant_vectorEdRKNS_8PODArrayIdLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERNS5_IhLm4096ES8_Lm16ELm15EEE Unexecuted instantiation: _ZN5doris17NumComparisonImplIhhNS_14LessOrEqualsOpILNS_13PrimitiveTypeE2EEEE15constant_vectorEhRKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERS9_ _ZN5doris17NumComparisonImplINS_11DateV2ValueINS_15DateV2ValueTypeEEES3_NS_14LessOrEqualsOpILNS_13PrimitiveTypeE25EEEE15constant_vectorES3_RKNS_8PODArrayIS3_Lm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERNS8_IhLm4096ESB_Lm16ELm15EEE Line | Count | Source | 101 | 5 | static void constant_vector(A a, const PaddedPODArray<B>& b, PaddedPODArray<UInt8>& c) { | 102 | 5 | NumComparisonImpl<B, A, typename Op::SymmetricOp>::vector_constant(b, a, c); | 103 | 5 | } |
Unexecuted instantiation: _ZN5doris17NumComparisonImplINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEES3_NS_14LessOrEqualsOpILNS_13PrimitiveTypeE26EEEE15constant_vectorES3_RKNS_8PODArrayIS3_Lm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERNS8_IhLm4096ESB_Lm16ELm15EEE Unexecuted instantiation: _ZN5doris17NumComparisonImplINS_16TimestampTzValueES1_NS_14LessOrEqualsOpILNS_13PrimitiveTypeE42EEEE15constant_vectorES1_RKNS_8PODArrayIS1_Lm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERNS6_IhLm4096ES9_Lm16ELm15EEE Unexecuted instantiation: _ZN5doris17NumComparisonImplIaaNS_14LessOrEqualsOpILNS_13PrimitiveTypeE3EEEE15constant_vectorEaRKNS_8PODArrayIaLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERNS5_IhLm4096ES8_Lm16ELm15EEE Unexecuted instantiation: _ZN5doris17NumComparisonImplIssNS_14LessOrEqualsOpILNS_13PrimitiveTypeE4EEEE15constant_vectorEsRKNS_8PODArrayIsLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERNS5_IhLm4096ES8_Lm16ELm15EEE _ZN5doris17NumComparisonImplIiiNS_14LessOrEqualsOpILNS_13PrimitiveTypeE5EEEE15constant_vectorEiRKNS_8PODArrayIiLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 101 | 574 | static void constant_vector(A a, const PaddedPODArray<B>& b, PaddedPODArray<UInt8>& c) { | 102 | 574 | NumComparisonImpl<B, A, typename Op::SymmetricOp>::vector_constant(b, a, c); | 103 | 574 | } |
_ZN5doris17NumComparisonImplIllNS_14LessOrEqualsOpILNS_13PrimitiveTypeE6EEEE15constant_vectorElRKNS_8PODArrayIlLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 101 | 48 | static void constant_vector(A a, const PaddedPODArray<B>& b, PaddedPODArray<UInt8>& c) { | 102 | 48 | NumComparisonImpl<B, A, typename Op::SymmetricOp>::vector_constant(b, a, c); | 103 | 48 | } |
Unexecuted instantiation: _ZN5doris17NumComparisonImplInnNS_14LessOrEqualsOpILNS_13PrimitiveTypeE7EEEE15constant_vectorEnRKNS_8PODArrayInLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERNS5_IhLm4096ES8_Lm16ELm15EEE Unexecuted instantiation: _ZN5doris17NumComparisonImplIjjNS_14LessOrEqualsOpILNS_13PrimitiveTypeE36EEEE15constant_vectorEjRKNS_8PODArrayIjLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERNS5_IhLm4096ES8_Lm16ELm15EEE Unexecuted instantiation: _ZN5doris17NumComparisonImplIooNS_14LessOrEqualsOpILNS_13PrimitiveTypeE37EEEE15constant_vectorEoRKNS_8PODArrayIoLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERNS5_IhLm4096ES8_Lm16ELm15EEE Unexecuted instantiation: _ZN5doris17NumComparisonImplIffNS_14LessOrEqualsOpILNS_13PrimitiveTypeE8EEEE15constant_vectorEfRKNS_8PODArrayIfLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERNS5_IhLm4096ES8_Lm16ELm15EEE _ZN5doris17NumComparisonImplIddNS_14LessOrEqualsOpILNS_13PrimitiveTypeE9EEEE15constant_vectorEdRKNS_8PODArrayIdLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 101 | 1 | static void constant_vector(A a, const PaddedPODArray<B>& b, PaddedPODArray<UInt8>& c) { | 102 | 1 | NumComparisonImpl<B, A, typename Op::SymmetricOp>::vector_constant(b, a, c); | 103 | 1 | } |
Unexecuted instantiation: _ZN5doris17NumComparisonImplIddNS_14LessOrEqualsOpILNS_13PrimitiveTypeE27EEEE15constant_vectorEdRKNS_8PODArrayIdLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERNS5_IhLm4096ES8_Lm16ELm15EEE |
104 | | }; |
105 | | |
106 | | /// Generic version, implemented for columns of same type. |
107 | | template <typename Op> |
108 | | struct GenericComparisonImpl { |
109 | 9 | static void vector_vector(const IColumn& a, const IColumn& b, PaddedPODArray<UInt8>& c) { |
110 | 20 | for (size_t i = 0, size = a.size(); i < size; ++i) { |
111 | 11 | c[i] = Op::apply(a.compare_at(i, i, b, 1), 0); |
112 | 11 | } |
113 | 9 | } _ZN5doris21GenericComparisonImplINS_8EqualsOpILNS_13PrimitiveTypeE5EEEE13vector_vectorERKNS_7IColumnES7_RNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEE Line | Count | Source | 109 | 4 | static void vector_vector(const IColumn& a, const IColumn& b, PaddedPODArray<UInt8>& c) { | 110 | 10 | for (size_t i = 0, size = a.size(); i < size; ++i) { | 111 | 6 | c[i] = Op::apply(a.compare_at(i, i, b, 1), 0); | 112 | 6 | } | 113 | 4 | } |
Unexecuted instantiation: _ZN5doris21GenericComparisonImplINS_11NotEqualsOpILNS_13PrimitiveTypeE5EEEE13vector_vectorERKNS_7IColumnES7_RNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEE _ZN5doris21GenericComparisonImplINS_9GreaterOpILNS_13PrimitiveTypeE5EEEE13vector_vectorERKNS_7IColumnES7_RNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEE Line | Count | Source | 109 | 1 | static void vector_vector(const IColumn& a, const IColumn& b, PaddedPODArray<UInt8>& c) { | 110 | 2 | for (size_t i = 0, size = a.size(); i < size; ++i) { | 111 | 1 | c[i] = Op::apply(a.compare_at(i, i, b, 1), 0); | 112 | 1 | } | 113 | 1 | } |
_ZN5doris21GenericComparisonImplINS_17GreaterOrEqualsOpILNS_13PrimitiveTypeE5EEEE13vector_vectorERKNS_7IColumnES7_RNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEE Line | Count | Source | 109 | 1 | static void vector_vector(const IColumn& a, const IColumn& b, PaddedPODArray<UInt8>& c) { | 110 | 2 | for (size_t i = 0, size = a.size(); i < size; ++i) { | 111 | 1 | c[i] = Op::apply(a.compare_at(i, i, b, 1), 0); | 112 | 1 | } | 113 | 1 | } |
_ZN5doris21GenericComparisonImplINS_6LessOpILNS_13PrimitiveTypeE5EEEE13vector_vectorERKNS_7IColumnES7_RNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEE Line | Count | Source | 109 | 3 | static void vector_vector(const IColumn& a, const IColumn& b, PaddedPODArray<UInt8>& c) { | 110 | 6 | for (size_t i = 0, size = a.size(); i < size; ++i) { | 111 | 3 | c[i] = Op::apply(a.compare_at(i, i, b, 1), 0); | 112 | 3 | } | 113 | 3 | } |
Unexecuted instantiation: _ZN5doris21GenericComparisonImplINS_14LessOrEqualsOpILNS_13PrimitiveTypeE5EEEE13vector_vectorERKNS_7IColumnES7_RNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEE |
114 | | |
115 | 146 | static void vector_constant(const IColumn& a, const IColumn& b, PaddedPODArray<UInt8>& c) { |
116 | 146 | const auto& col_right = assert_cast<const ColumnConst&>(b).get_data_column(); |
117 | 509k | for (size_t i = 0, size = a.size(); i < size; ++i) { |
118 | 509k | c[i] = Op::apply(a.compare_at(i, 0, col_right, 1), 0); |
119 | 509k | } |
120 | 146 | } _ZN5doris21GenericComparisonImplINS_8EqualsOpILNS_13PrimitiveTypeE5EEEE15vector_constantERKNS_7IColumnES7_RNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEE Line | Count | Source | 115 | 13 | static void vector_constant(const IColumn& a, const IColumn& b, PaddedPODArray<UInt8>& c) { | 116 | 13 | const auto& col_right = assert_cast<const ColumnConst&>(b).get_data_column(); | 117 | 31 | for (size_t i = 0, size = a.size(); i < size; ++i) { | 118 | 18 | c[i] = Op::apply(a.compare_at(i, 0, col_right, 1), 0); | 119 | 18 | } | 120 | 13 | } |
_ZN5doris21GenericComparisonImplINS_11NotEqualsOpILNS_13PrimitiveTypeE5EEEE15vector_constantERKNS_7IColumnES7_RNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEE Line | Count | Source | 115 | 8 | static void vector_constant(const IColumn& a, const IColumn& b, PaddedPODArray<UInt8>& c) { | 116 | 8 | const auto& col_right = assert_cast<const ColumnConst&>(b).get_data_column(); | 117 | 16 | for (size_t i = 0, size = a.size(); i < size; ++i) { | 118 | 8 | c[i] = Op::apply(a.compare_at(i, 0, col_right, 1), 0); | 119 | 8 | } | 120 | 8 | } |
_ZN5doris21GenericComparisonImplINS_6LessOpILNS_13PrimitiveTypeE5EEEE15vector_constantERKNS_7IColumnES7_RNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEE Line | Count | Source | 115 | 8 | static void vector_constant(const IColumn& a, const IColumn& b, PaddedPODArray<UInt8>& c) { | 116 | 8 | const auto& col_right = assert_cast<const ColumnConst&>(b).get_data_column(); | 117 | 16 | for (size_t i = 0, size = a.size(); i < size; ++i) { | 118 | 8 | c[i] = Op::apply(a.compare_at(i, 0, col_right, 1), 0); | 119 | 8 | } | 120 | 8 | } |
_ZN5doris21GenericComparisonImplINS_9GreaterOpILNS_13PrimitiveTypeE5EEEE15vector_constantERKNS_7IColumnES7_RNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEE Line | Count | Source | 115 | 8 | static void vector_constant(const IColumn& a, const IColumn& b, PaddedPODArray<UInt8>& c) { | 116 | 8 | const auto& col_right = assert_cast<const ColumnConst&>(b).get_data_column(); | 117 | 16 | for (size_t i = 0, size = a.size(); i < size; ++i) { | 118 | 8 | c[i] = Op::apply(a.compare_at(i, 0, col_right, 1), 0); | 119 | 8 | } | 120 | 8 | } |
_ZN5doris21GenericComparisonImplINS_14LessOrEqualsOpILNS_13PrimitiveTypeE5EEEE15vector_constantERKNS_7IColumnES7_RNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEE Line | Count | Source | 115 | 49 | static void vector_constant(const IColumn& a, const IColumn& b, PaddedPODArray<UInt8>& c) { | 116 | 49 | const auto& col_right = assert_cast<const ColumnConst&>(b).get_data_column(); | 117 | 228k | for (size_t i = 0, size = a.size(); i < size; ++i) { | 118 | 228k | c[i] = Op::apply(a.compare_at(i, 0, col_right, 1), 0); | 119 | 228k | } | 120 | 49 | } |
_ZN5doris21GenericComparisonImplINS_17GreaterOrEqualsOpILNS_13PrimitiveTypeE5EEEE15vector_constantERKNS_7IColumnES7_RNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEE Line | Count | Source | 115 | 60 | static void vector_constant(const IColumn& a, const IColumn& b, PaddedPODArray<UInt8>& c) { | 116 | 60 | const auto& col_right = assert_cast<const ColumnConst&>(b).get_data_column(); | 117 | 281k | for (size_t i = 0, size = a.size(); i < size; ++i) { | 118 | 281k | c[i] = Op::apply(a.compare_at(i, 0, col_right, 1), 0); | 119 | 281k | } | 120 | 60 | } |
|
121 | | |
122 | 0 | static void constant_vector(const IColumn& a, const IColumn& b, PaddedPODArray<UInt8>& c) { |
123 | 0 | GenericComparisonImpl<typename Op::SymmetricOp>::vector_constant(b, a, c); |
124 | 0 | } Unexecuted instantiation: _ZN5doris21GenericComparisonImplINS_8EqualsOpILNS_13PrimitiveTypeE5EEEE15constant_vectorERKNS_7IColumnES7_RNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEE Unexecuted instantiation: _ZN5doris21GenericComparisonImplINS_11NotEqualsOpILNS_13PrimitiveTypeE5EEEE15constant_vectorERKNS_7IColumnES7_RNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEE Unexecuted instantiation: _ZN5doris21GenericComparisonImplINS_9GreaterOpILNS_13PrimitiveTypeE5EEEE15constant_vectorERKNS_7IColumnES7_RNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEE Unexecuted instantiation: _ZN5doris21GenericComparisonImplINS_17GreaterOrEqualsOpILNS_13PrimitiveTypeE5EEEE15constant_vectorERKNS_7IColumnES7_RNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEE Unexecuted instantiation: _ZN5doris21GenericComparisonImplINS_6LessOpILNS_13PrimitiveTypeE5EEEE15constant_vectorERKNS_7IColumnES7_RNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEE Unexecuted instantiation: _ZN5doris21GenericComparisonImplINS_14LessOrEqualsOpILNS_13PrimitiveTypeE5EEEE15constant_vectorERKNS_7IColumnES7_RNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEE |
125 | | }; |
126 | | |
127 | | template <typename Op> |
128 | | struct StringComparisonImpl { |
129 | | static void NO_INLINE string_vector_string_vector(const ColumnString::Chars& a_data, |
130 | | const ColumnString::Offsets& a_offsets, |
131 | | const ColumnString::Chars& b_data, |
132 | | const ColumnString::Offsets& b_offsets, |
133 | 444 | PaddedPODArray<UInt8>& c) { |
134 | 444 | size_t size = a_offsets.size(); |
135 | 444 | ColumnString::Offset prev_a_offset = 0; |
136 | 444 | ColumnString::Offset prev_b_offset = 0; |
137 | 444 | const auto* a_pos = a_data.data(); |
138 | 444 | const auto* b_pos = b_data.data(); |
139 | | |
140 | 1.61k | for (size_t i = 0; i < size; ++i) { |
141 | 1.16k | c[i] = Op::apply(memcmp_small_allow_overflow15( |
142 | 1.16k | a_pos + prev_a_offset, a_offsets[i] - prev_a_offset, |
143 | 1.16k | b_pos + prev_b_offset, b_offsets[i] - prev_b_offset), |
144 | 1.16k | 0); |
145 | | |
146 | 1.16k | prev_a_offset = a_offsets[i]; |
147 | 1.16k | prev_b_offset = b_offsets[i]; |
148 | 1.16k | } |
149 | 444 | } _ZN5doris20StringComparisonImplINS_9GreaterOpILNS_13PrimitiveTypeE5EEEE27string_vector_string_vectorERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERKNS5_IjLm4096ES8_Lm16ELm15EEESB_SE_RS9_ Line | Count | Source | 133 | 2 | PaddedPODArray<UInt8>& c) { | 134 | 2 | size_t size = a_offsets.size(); | 135 | 2 | ColumnString::Offset prev_a_offset = 0; | 136 | 2 | ColumnString::Offset prev_b_offset = 0; | 137 | 2 | const auto* a_pos = a_data.data(); | 138 | 2 | const auto* b_pos = b_data.data(); | 139 | | | 140 | 49 | for (size_t i = 0; i < size; ++i) { | 141 | 47 | c[i] = Op::apply(memcmp_small_allow_overflow15( | 142 | 47 | a_pos + prev_a_offset, a_offsets[i] - prev_a_offset, | 143 | 47 | b_pos + prev_b_offset, b_offsets[i] - prev_b_offset), | 144 | 47 | 0); | 145 | | | 146 | 47 | prev_a_offset = a_offsets[i]; | 147 | 47 | prev_b_offset = b_offsets[i]; | 148 | 47 | } | 149 | 2 | } |
_ZN5doris20StringComparisonImplINS_17GreaterOrEqualsOpILNS_13PrimitiveTypeE5EEEE27string_vector_string_vectorERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERKNS5_IjLm4096ES8_Lm16ELm15EEESB_SE_RS9_ Line | Count | Source | 133 | 36 | PaddedPODArray<UInt8>& c) { | 134 | 36 | size_t size = a_offsets.size(); | 135 | 36 | ColumnString::Offset prev_a_offset = 0; | 136 | 36 | ColumnString::Offset prev_b_offset = 0; | 137 | 36 | const auto* a_pos = a_data.data(); | 138 | 36 | const auto* b_pos = b_data.data(); | 139 | | | 140 | 230 | for (size_t i = 0; i < size; ++i) { | 141 | 194 | c[i] = Op::apply(memcmp_small_allow_overflow15( | 142 | 194 | a_pos + prev_a_offset, a_offsets[i] - prev_a_offset, | 143 | 194 | b_pos + prev_b_offset, b_offsets[i] - prev_b_offset), | 144 | 194 | 0); | 145 | | | 146 | 194 | prev_a_offset = a_offsets[i]; | 147 | 194 | prev_b_offset = b_offsets[i]; | 148 | 194 | } | 149 | 36 | } |
_ZN5doris20StringComparisonImplINS_6LessOpILNS_13PrimitiveTypeE5EEEE27string_vector_string_vectorERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERKNS5_IjLm4096ES8_Lm16ELm15EEESB_SE_RS9_ Line | Count | Source | 133 | 406 | PaddedPODArray<UInt8>& c) { | 134 | 406 | size_t size = a_offsets.size(); | 135 | 406 | ColumnString::Offset prev_a_offset = 0; | 136 | 406 | ColumnString::Offset prev_b_offset = 0; | 137 | 406 | const auto* a_pos = a_data.data(); | 138 | 406 | const auto* b_pos = b_data.data(); | 139 | | | 140 | 1.33k | for (size_t i = 0; i < size; ++i) { | 141 | 928 | c[i] = Op::apply(memcmp_small_allow_overflow15( | 142 | 928 | a_pos + prev_a_offset, a_offsets[i] - prev_a_offset, | 143 | 928 | b_pos + prev_b_offset, b_offsets[i] - prev_b_offset), | 144 | 928 | 0); | 145 | | | 146 | 928 | prev_a_offset = a_offsets[i]; | 147 | 928 | prev_b_offset = b_offsets[i]; | 148 | 928 | } | 149 | 406 | } |
Unexecuted instantiation: _ZN5doris20StringComparisonImplINS_14LessOrEqualsOpILNS_13PrimitiveTypeE5EEEE27string_vector_string_vectorERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERKNS5_IjLm4096ES8_Lm16ELm15EEESB_SE_RS9_ |
150 | | |
151 | | static void NO_INLINE string_vector_constant(const ColumnString::Chars& a_data, |
152 | | const ColumnString::Offsets& a_offsets, |
153 | | const ColumnString::Chars& b_data, |
154 | | ColumnString::Offset b_size, |
155 | 855 | PaddedPODArray<UInt8>& c) { |
156 | 855 | size_t size = a_offsets.size(); |
157 | 855 | ColumnString::Offset prev_a_offset = 0; |
158 | 855 | const auto* a_pos = a_data.data(); |
159 | 855 | const auto* b_pos = b_data.data(); |
160 | | |
161 | 1.29M | for (size_t i = 0; i < size; ++i) { |
162 | 1.28M | c[i] = Op::apply( |
163 | 1.28M | memcmp_small_allow_overflow15(a_pos + prev_a_offset, |
164 | 1.28M | a_offsets[i] - prev_a_offset, b_pos, b_size), |
165 | 1.28M | 0); |
166 | | |
167 | 1.28M | prev_a_offset = a_offsets[i]; |
168 | 1.28M | } |
169 | 855 | } _ZN5doris20StringComparisonImplINS_9GreaterOpILNS_13PrimitiveTypeE5EEEE22string_vector_constantERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERKNS5_IjLm4096ES8_Lm16ELm15EEESB_jRS9_ Line | Count | Source | 155 | 175 | PaddedPODArray<UInt8>& c) { | 156 | 175 | size_t size = a_offsets.size(); | 157 | 175 | ColumnString::Offset prev_a_offset = 0; | 158 | 175 | const auto* a_pos = a_data.data(); | 159 | 175 | const auto* b_pos = b_data.data(); | 160 | | | 161 | 325k | for (size_t i = 0; i < size; ++i) { | 162 | 325k | c[i] = Op::apply( | 163 | 325k | memcmp_small_allow_overflow15(a_pos + prev_a_offset, | 164 | 325k | a_offsets[i] - prev_a_offset, b_pos, b_size), | 165 | 325k | 0); | 166 | | | 167 | 325k | prev_a_offset = a_offsets[i]; | 168 | 325k | } | 169 | 175 | } |
_ZN5doris20StringComparisonImplINS_6LessOpILNS_13PrimitiveTypeE5EEEE22string_vector_constantERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERKNS5_IjLm4096ES8_Lm16ELm15EEESB_jRS9_ Line | Count | Source | 155 | 94 | PaddedPODArray<UInt8>& c) { | 156 | 94 | size_t size = a_offsets.size(); | 157 | 94 | ColumnString::Offset prev_a_offset = 0; | 158 | 94 | const auto* a_pos = a_data.data(); | 159 | 94 | const auto* b_pos = b_data.data(); | 160 | | | 161 | 72.8k | for (size_t i = 0; i < size; ++i) { | 162 | 72.7k | c[i] = Op::apply( | 163 | 72.7k | memcmp_small_allow_overflow15(a_pos + prev_a_offset, | 164 | 72.7k | a_offsets[i] - prev_a_offset, b_pos, b_size), | 165 | 72.7k | 0); | 166 | | | 167 | 72.7k | prev_a_offset = a_offsets[i]; | 168 | 72.7k | } | 169 | 94 | } |
_ZN5doris20StringComparisonImplINS_17GreaterOrEqualsOpILNS_13PrimitiveTypeE5EEEE22string_vector_constantERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERKNS5_IjLm4096ES8_Lm16ELm15EEESB_jRS9_ Line | Count | Source | 155 | 242 | PaddedPODArray<UInt8>& c) { | 156 | 242 | size_t size = a_offsets.size(); | 157 | 242 | ColumnString::Offset prev_a_offset = 0; | 158 | 242 | const auto* a_pos = a_data.data(); | 159 | 242 | const auto* b_pos = b_data.data(); | 160 | | | 161 | 374k | for (size_t i = 0; i < size; ++i) { | 162 | 374k | c[i] = Op::apply( | 163 | 374k | memcmp_small_allow_overflow15(a_pos + prev_a_offset, | 164 | 374k | a_offsets[i] - prev_a_offset, b_pos, b_size), | 165 | 374k | 0); | 166 | | | 167 | 374k | prev_a_offset = a_offsets[i]; | 168 | 374k | } | 169 | 242 | } |
_ZN5doris20StringComparisonImplINS_14LessOrEqualsOpILNS_13PrimitiveTypeE5EEEE22string_vector_constantERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERKNS5_IjLm4096ES8_Lm16ELm15EEESB_jRS9_ Line | Count | Source | 155 | 344 | PaddedPODArray<UInt8>& c) { | 156 | 344 | size_t size = a_offsets.size(); | 157 | 344 | ColumnString::Offset prev_a_offset = 0; | 158 | 344 | const auto* a_pos = a_data.data(); | 159 | 344 | const auto* b_pos = b_data.data(); | 160 | | | 161 | 517k | for (size_t i = 0; i < size; ++i) { | 162 | 517k | c[i] = Op::apply( | 163 | 517k | memcmp_small_allow_overflow15(a_pos + prev_a_offset, | 164 | 517k | a_offsets[i] - prev_a_offset, b_pos, b_size), | 165 | 517k | 0); | 166 | | | 167 | 517k | prev_a_offset = a_offsets[i]; | 168 | 517k | } | 169 | 344 | } |
|
170 | | |
171 | | static void constant_string_vector(const ColumnString::Chars& a_data, |
172 | | ColumnString::Offset a_size, |
173 | | const ColumnString::Chars& b_data, |
174 | | const ColumnString::Offsets& b_offsets, |
175 | 62 | PaddedPODArray<UInt8>& c) { |
176 | 62 | StringComparisonImpl<typename Op::SymmetricOp>::string_vector_constant(b_data, b_offsets, |
177 | 62 | a_data, a_size, c); |
178 | 62 | } Unexecuted instantiation: _ZN5doris20StringComparisonImplINS_9GreaterOpILNS_13PrimitiveTypeE5EEEE22constant_string_vectorERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEjSB_RKNS5_IjLm4096ES8_Lm16ELm15EEERS9_ _ZN5doris20StringComparisonImplINS_17GreaterOrEqualsOpILNS_13PrimitiveTypeE5EEEE22constant_string_vectorERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEjSB_RKNS5_IjLm4096ES8_Lm16ELm15EEERS9_ Line | Count | Source | 175 | 56 | PaddedPODArray<UInt8>& c) { | 176 | 56 | StringComparisonImpl<typename Op::SymmetricOp>::string_vector_constant(b_data, b_offsets, | 177 | 56 | a_data, a_size, c); | 178 | 56 | } |
_ZN5doris20StringComparisonImplINS_6LessOpILNS_13PrimitiveTypeE5EEEE22constant_string_vectorERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEjSB_RKNS5_IjLm4096ES8_Lm16ELm15EEERS9_ Line | Count | Source | 175 | 6 | PaddedPODArray<UInt8>& c) { | 176 | 6 | StringComparisonImpl<typename Op::SymmetricOp>::string_vector_constant(b_data, b_offsets, | 177 | 6 | a_data, a_size, c); | 178 | 6 | } |
Unexecuted instantiation: _ZN5doris20StringComparisonImplINS_14LessOrEqualsOpILNS_13PrimitiveTypeE5EEEE22constant_string_vectorERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEjSB_RKNS5_IjLm4096ES8_Lm16ELm15EEERS9_ |
179 | | }; |
180 | | |
181 | | template <bool positive> |
182 | | struct StringEqualsImpl { |
183 | | static void NO_INLINE string_vector_string_vector(const ColumnString::Chars& a_data, |
184 | | const ColumnString::Offsets& a_offsets, |
185 | | const ColumnString::Chars& b_data, |
186 | | const ColumnString::Offsets& b_offsets, |
187 | 417 | PaddedPODArray<UInt8>& c) { |
188 | 417 | size_t size = a_offsets.size(); |
189 | 417 | ColumnString::Offset prev_a_offset = 0; |
190 | 417 | ColumnString::Offset prev_b_offset = 0; |
191 | 417 | const auto* a_pos = a_data.data(); |
192 | 417 | const auto* b_pos = b_data.data(); |
193 | | |
194 | 1.33k | for (size_t i = 0; i < size; ++i) { |
195 | 915 | auto a_size = a_offsets[i] - prev_a_offset; |
196 | 915 | auto b_size = b_offsets[i] - prev_b_offset; |
197 | | |
198 | 915 | c[i] = positive == memequal_small_allow_overflow15(a_pos + prev_a_offset, a_size, |
199 | 915 | b_pos + prev_b_offset, b_size); |
200 | | |
201 | 915 | prev_a_offset = a_offsets[i]; |
202 | 915 | prev_b_offset = b_offsets[i]; |
203 | 915 | } |
204 | 417 | } _ZN5doris16StringEqualsImplILb1EE27string_vector_string_vectorERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERKNS2_IjLm4096ES5_Lm16ELm15EEES8_SB_RS6_ Line | Count | Source | 187 | 413 | PaddedPODArray<UInt8>& c) { | 188 | 413 | size_t size = a_offsets.size(); | 189 | 413 | ColumnString::Offset prev_a_offset = 0; | 190 | 413 | ColumnString::Offset prev_b_offset = 0; | 191 | 413 | const auto* a_pos = a_data.data(); | 192 | 413 | const auto* b_pos = b_data.data(); | 193 | | | 194 | 1.31k | for (size_t i = 0; i < size; ++i) { | 195 | 902 | auto a_size = a_offsets[i] - prev_a_offset; | 196 | 902 | auto b_size = b_offsets[i] - prev_b_offset; | 197 | | | 198 | 902 | c[i] = positive == memequal_small_allow_overflow15(a_pos + prev_a_offset, a_size, | 199 | 902 | b_pos + prev_b_offset, b_size); | 200 | | | 201 | 902 | prev_a_offset = a_offsets[i]; | 202 | 902 | prev_b_offset = b_offsets[i]; | 203 | 902 | } | 204 | 413 | } |
_ZN5doris16StringEqualsImplILb0EE27string_vector_string_vectorERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERKNS2_IjLm4096ES5_Lm16ELm15EEES8_SB_RS6_ Line | Count | Source | 187 | 4 | PaddedPODArray<UInt8>& c) { | 188 | 4 | size_t size = a_offsets.size(); | 189 | 4 | ColumnString::Offset prev_a_offset = 0; | 190 | 4 | ColumnString::Offset prev_b_offset = 0; | 191 | 4 | const auto* a_pos = a_data.data(); | 192 | 4 | const auto* b_pos = b_data.data(); | 193 | | | 194 | 17 | for (size_t i = 0; i < size; ++i) { | 195 | 13 | auto a_size = a_offsets[i] - prev_a_offset; | 196 | 13 | auto b_size = b_offsets[i] - prev_b_offset; | 197 | | | 198 | 13 | c[i] = positive == memequal_small_allow_overflow15(a_pos + prev_a_offset, a_size, | 199 | 13 | b_pos + prev_b_offset, b_size); | 200 | | | 201 | 13 | prev_a_offset = a_offsets[i]; | 202 | 13 | prev_b_offset = b_offsets[i]; | 203 | 13 | } | 204 | 4 | } |
|
205 | | |
206 | | static void NO_INLINE string_vector_constant(const ColumnString::Chars& a_data, |
207 | | const ColumnString::Offsets& a_offsets, |
208 | | const ColumnString::Chars& b_data, |
209 | | ColumnString::Offset b_size, |
210 | 10.7k | PaddedPODArray<UInt8>& c) { |
211 | 10.7k | size_t size = a_offsets.size(); |
212 | 10.7k | if (b_size == 0) { |
213 | 3 | auto* __restrict data = c.data(); |
214 | 3 | auto* __restrict offsets = a_offsets.data(); |
215 | | |
216 | 3 | ColumnString::Offset prev_a_offset = 0; |
217 | 13 | for (size_t i = 0; i < size; ++i) { |
218 | 10 | data[i] = positive ? (offsets[i] == prev_a_offset) : (offsets[i] != prev_a_offset); |
219 | 10 | prev_a_offset = offsets[i]; |
220 | 10 | } |
221 | 10.7k | } else { |
222 | 10.7k | ColumnString::Offset prev_a_offset = 0; |
223 | 10.7k | const auto* a_pos = a_data.data(); |
224 | 10.7k | const auto* b_pos = b_data.data(); |
225 | 1.50M | for (size_t i = 0; i < size; ++i) { |
226 | 1.49M | auto a_size = a_offsets[i] - prev_a_offset; |
227 | 1.49M | c[i] = positive == memequal_small_allow_overflow15(a_pos + prev_a_offset, a_size, |
228 | 1.49M | b_pos, b_size); |
229 | 1.49M | prev_a_offset = a_offsets[i]; |
230 | 1.49M | } |
231 | 10.7k | } |
232 | 10.7k | } _ZN5doris16StringEqualsImplILb1EE22string_vector_constantERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERKNS2_IjLm4096ES5_Lm16ELm15EEES8_jRS6_ Line | Count | Source | 210 | 10.6k | PaddedPODArray<UInt8>& c) { | 211 | 10.6k | size_t size = a_offsets.size(); | 212 | 10.6k | if (b_size == 0) { | 213 | 1 | auto* __restrict data = c.data(); | 214 | 1 | auto* __restrict offsets = a_offsets.data(); | 215 | | | 216 | 1 | ColumnString::Offset prev_a_offset = 0; | 217 | 3 | for (size_t i = 0; i < size; ++i) { | 218 | 2 | data[i] = positive ? (offsets[i] == prev_a_offset) : (offsets[i] != prev_a_offset); | 219 | 2 | prev_a_offset = offsets[i]; | 220 | 2 | } | 221 | 10.6k | } else { | 222 | 10.6k | ColumnString::Offset prev_a_offset = 0; | 223 | 10.6k | const auto* a_pos = a_data.data(); | 224 | 10.6k | const auto* b_pos = b_data.data(); | 225 | 1.46M | for (size_t i = 0; i < size; ++i) { | 226 | 1.45M | auto a_size = a_offsets[i] - prev_a_offset; | 227 | 1.45M | c[i] = positive == memequal_small_allow_overflow15(a_pos + prev_a_offset, a_size, | 228 | 1.45M | b_pos, b_size); | 229 | 1.45M | prev_a_offset = a_offsets[i]; | 230 | 1.45M | } | 231 | 10.6k | } | 232 | 10.6k | } |
_ZN5doris16StringEqualsImplILb0EE22string_vector_constantERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERKNS2_IjLm4096ES5_Lm16ELm15EEES8_jRS6_ Line | Count | Source | 210 | 147 | PaddedPODArray<UInt8>& c) { | 211 | 147 | size_t size = a_offsets.size(); | 212 | 147 | if (b_size == 0) { | 213 | 2 | auto* __restrict data = c.data(); | 214 | 2 | auto* __restrict offsets = a_offsets.data(); | 215 | | | 216 | 2 | ColumnString::Offset prev_a_offset = 0; | 217 | 10 | for (size_t i = 0; i < size; ++i) { | 218 | 8 | data[i] = positive ? (offsets[i] == prev_a_offset) : (offsets[i] != prev_a_offset); | 219 | 8 | prev_a_offset = offsets[i]; | 220 | 8 | } | 221 | 145 | } else { | 222 | 145 | ColumnString::Offset prev_a_offset = 0; | 223 | 145 | const auto* a_pos = a_data.data(); | 224 | 145 | const auto* b_pos = b_data.data(); | 225 | 45.1k | for (size_t i = 0; i < size; ++i) { | 226 | 45.0k | auto a_size = a_offsets[i] - prev_a_offset; | 227 | 45.0k | c[i] = positive == memequal_small_allow_overflow15(a_pos + prev_a_offset, a_size, | 228 | 45.0k | b_pos, b_size); | 229 | 45.0k | prev_a_offset = a_offsets[i]; | 230 | 45.0k | } | 231 | 145 | } | 232 | 147 | } |
|
233 | | |
234 | | static void NO_INLINE constant_string_vector(const ColumnString::Chars& a_data, |
235 | | ColumnString::Offset a_size, |
236 | | const ColumnString::Chars& b_data, |
237 | | const ColumnString::Offsets& b_offsets, |
238 | 16 | PaddedPODArray<UInt8>& c) { |
239 | 16 | string_vector_constant(b_data, b_offsets, a_data, a_size, c); |
240 | 16 | } _ZN5doris16StringEqualsImplILb1EE22constant_string_vectorERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEjS8_RKNS2_IjLm4096ES5_Lm16ELm15EEERS6_ Line | Count | Source | 238 | 16 | PaddedPODArray<UInt8>& c) { | 239 | 16 | string_vector_constant(b_data, b_offsets, a_data, a_size, c); | 240 | 16 | } |
Unexecuted instantiation: _ZN5doris16StringEqualsImplILb0EE22constant_string_vectorERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEjS8_RKNS2_IjLm4096ES5_Lm16ELm15EEERS6_ |
241 | | }; |
242 | | |
243 | | template <PrimitiveType PT> |
244 | | struct StringComparisonImpl<EqualsOp<PT>> : StringEqualsImpl<true> {}; |
245 | | |
246 | | template <PrimitiveType PT> |
247 | | struct StringComparisonImpl<NotEqualsOp<PT>> : StringEqualsImpl<false> {}; |
248 | | |
249 | | struct NameEquals { |
250 | | static constexpr auto name = "eq"; |
251 | | }; |
252 | | struct NameNotEquals { |
253 | | static constexpr auto name = "ne"; |
254 | | }; |
255 | | struct NameLess { |
256 | | static constexpr auto name = "lt"; |
257 | | }; |
258 | | struct NameGreater { |
259 | | static constexpr auto name = "gt"; |
260 | | }; |
261 | | struct NameLessOrEquals { |
262 | | static constexpr auto name = "le"; |
263 | | }; |
264 | | struct NameGreaterOrEquals { |
265 | | static constexpr auto name = "ge"; |
266 | | }; |
267 | | |
268 | | namespace comparison_zonemap_detail { |
269 | | enum class Op { |
270 | | EQ, |
271 | | NE, |
272 | | LT, |
273 | | LE, |
274 | | GT, |
275 | | GE, |
276 | | }; |
277 | | |
278 | 19 | inline Op symmetric_op(Op op) { |
279 | 19 | switch (op) { |
280 | 0 | case Op::EQ: |
281 | 0 | case Op::NE: |
282 | 0 | return op; |
283 | 11 | case Op::LT: |
284 | 11 | return Op::GT; |
285 | 6 | case Op::LE: |
286 | 6 | return Op::GE; |
287 | 0 | case Op::GT: |
288 | 0 | return Op::LT; |
289 | 2 | case Op::GE: |
290 | 2 | return Op::LE; |
291 | 19 | } |
292 | 0 | __builtin_unreachable(); |
293 | 19 | } |
294 | | |
295 | | inline ZoneMapFilterResult evaluate(const ZoneMapEvalContext& ctx, const VExprSPtrs& arguments, |
296 | 2.76k | Op op) { |
297 | 2.76k | auto slot_literal = expr_zonemap::extract_slot_and_literal(arguments); |
298 | | |
299 | 2.76k | auto slot_type = expr_zonemap::fetch_compatible_slot_type(ctx, slot_literal->slot_index, |
300 | 2.76k | slot_literal->slot_type); |
301 | 2.76k | if (slot_type == nullptr) { |
302 | 1 | return unsupported_zonemap_filter(ctx); |
303 | 1 | } |
304 | 2.76k | auto zone_map_ptr = ctx.zone_map(slot_literal->slot_index); |
305 | 2.76k | if (zone_map_ptr == nullptr) { |
306 | 46 | return unsupported_zonemap_filter(ctx); |
307 | 46 | } |
308 | 2.72k | const auto& zone_map = *zone_map_ptr; |
309 | 2.72k | if (!zone_map.has_not_null) { |
310 | 50 | return ZoneMapFilterResult::kNoMatch; |
311 | 50 | } |
312 | 2.67k | if (!expr_zonemap::range_stats_usable_for_zonemap(zone_map, slot_type)) { |
313 | 104 | return unsupported_zonemap_filter(ctx); |
314 | 104 | } |
315 | | |
316 | 2.56k | const auto effective_op = slot_literal->literal_on_left ? symmetric_op(op) : op; |
317 | 2.56k | const auto& literal = slot_literal->literal; |
318 | 2.56k | const bool literal_is_nan = literal.is_nan(); |
319 | 2.56k | const bool hidden_nan_can_match = (effective_op == Op::EQ && literal_is_nan) || |
320 | 2.56k | (effective_op == Op::NE && !literal_is_nan) || |
321 | 2.56k | (effective_op == Op::GT && !literal_is_nan) || |
322 | 2.56k | effective_op == Op::GE; |
323 | 2.56k | if (ctx.floating_nan_count_unknown(slot_literal->slot_index) && hidden_nan_can_match) { |
324 | | // Parquet bounds omit NaNs, so only operators that cannot match a hidden NaN may prune. |
325 | 52 | return unsupported_zonemap_filter(ctx); |
326 | 52 | } |
327 | 2.51k | switch (effective_op) { |
328 | 1.53k | case Op::EQ: |
329 | 1.53k | return literal < zone_map.min_value || zone_map.max_value < literal |
330 | 1.53k | ? ZoneMapFilterResult::kNoMatch |
331 | 1.53k | : ZoneMapFilterResult::kMayMatch; |
332 | 95 | case Op::NE: |
333 | 95 | return zone_map.min_value == literal && zone_map.max_value == literal |
334 | 95 | ? ZoneMapFilterResult::kNoMatch |
335 | 95 | : ZoneMapFilterResult::kMayMatch; |
336 | 232 | case Op::LT: |
337 | 232 | return zone_map.min_value >= literal ? ZoneMapFilterResult::kNoMatch |
338 | 232 | : ZoneMapFilterResult::kMayMatch; |
339 | 221 | case Op::LE: |
340 | 221 | return zone_map.min_value > literal ? ZoneMapFilterResult::kNoMatch |
341 | 221 | : ZoneMapFilterResult::kMayMatch; |
342 | 237 | case Op::GT: |
343 | 237 | return zone_map.max_value <= literal ? ZoneMapFilterResult::kNoMatch |
344 | 237 | : ZoneMapFilterResult::kMayMatch; |
345 | 212 | case Op::GE: |
346 | 212 | return zone_map.max_value < literal ? ZoneMapFilterResult::kNoMatch |
347 | 212 | : ZoneMapFilterResult::kMayMatch; |
348 | 2.51k | } |
349 | | |
350 | | // keep this to avoid compile failure with g++. |
351 | 0 | __builtin_unreachable(); |
352 | 2.51k | } |
353 | | |
354 | 31.7k | inline bool can_evaluate(const VExprSPtrs& arguments) { |
355 | 31.7k | auto slot_literal = expr_zonemap::extract_slot_and_literal(arguments); |
356 | 31.7k | if (!slot_literal.has_value()) { |
357 | 20.6k | return false; |
358 | 20.6k | } |
359 | | |
360 | | // A NULL literal makes the comparison evaluate to NULL instead of a byte range predicate on |
361 | | // the slot. This zonemap evaluator only derives bounds from non-NULL literals, so reject this |
362 | | // shape here before evaluate_zonemap_filter is called. |
363 | 11.0k | if (slot_literal->literal.is_null()) { |
364 | 4 | return false; |
365 | 4 | } |
366 | | |
367 | 11.0k | DORIS_CHECK(slot_literal->slot_type != nullptr); |
368 | 11.0k | DORIS_CHECK(slot_literal->literal_type != nullptr); |
369 | 11.0k | if (!expr_zonemap::data_types_compatible(slot_literal->slot_type, slot_literal->literal_type)) { |
370 | | // The optimizer may generate a bare slot/literal comparison whose logical types differ |
371 | | // only by attributes such as DATETIMEV2 scale. Expr zonemap evaluates stored Field |
372 | | // values without running expression casts, so conservatively skip this optimization. |
373 | 1 | return false; |
374 | 1 | } |
375 | | |
376 | 11.0k | return true; |
377 | 11.0k | } |
378 | | |
379 | 0 | inline bool can_evaluate_equality(const VExprSPtrs& arguments, Op op) { |
380 | 0 | if (op != Op::EQ || !can_evaluate(arguments)) { |
381 | 0 | return false; |
382 | 0 | } |
383 | 0 | const auto slot_literal = expr_zonemap::extract_slot_and_literal(arguments); |
384 | 0 | DORIS_CHECK(slot_literal.has_value()); |
385 | 0 | // Bloom membership cannot disprove Doris NaN equality across different physical encodings. |
386 | 0 | return !slot_literal->literal.is_nan(); |
387 | 0 | } |
388 | | |
389 | 27 | inline bool dictionary_value_matches(const Field& value, const Field& literal, Op op) { |
390 | 27 | switch (op) { |
391 | 8 | case Op::EQ: |
392 | 8 | return value == literal; |
393 | 0 | case Op::NE: |
394 | 0 | return value != literal; |
395 | 5 | case Op::LT: |
396 | 5 | return value < literal; |
397 | 0 | case Op::LE: |
398 | 0 | return value <= literal; |
399 | 14 | case Op::GT: |
400 | 14 | return value > literal; |
401 | 0 | case Op::GE: |
402 | 0 | return value >= literal; |
403 | 27 | } |
404 | 0 | __builtin_unreachable(); |
405 | 27 | } |
406 | | |
407 | | inline ZoneMapFilterResult evaluate_dictionary(const DictionaryEvalContext& ctx, |
408 | 14 | const VExprSPtrs& arguments, Op op) { |
409 | 14 | auto slot_literal = expr_zonemap::extract_slot_and_literal(arguments); |
410 | 14 | DORIS_CHECK(slot_literal.has_value()); |
411 | 14 | const auto* dictionary = ctx.slot(slot_literal->slot_index); |
412 | 14 | if (dictionary == nullptr || dictionary->data_type == nullptr) { |
413 | 0 | return ZoneMapFilterResult::kUnsupported; |
414 | 0 | } |
415 | 14 | DORIS_CHECK( |
416 | 14 | expr_zonemap::data_types_compatible(dictionary->data_type, slot_literal->slot_type)); |
417 | 14 | if (slot_literal->literal.is_null()) { |
418 | 0 | return ZoneMapFilterResult::kUnsupported; |
419 | 0 | } |
420 | 14 | const auto effective_op = slot_literal->literal_on_left ? symmetric_op(op) : op; |
421 | | // Compare typed Fields so dictionary filtering preserves the regular expression semantics for |
422 | | // strings, dates, decimals, floating-point edge cases, and every other supported logical type. |
423 | 14 | return std::ranges::any_of(dictionary->values, |
424 | 27 | [&](const Field& value) { |
425 | 27 | return dictionary_value_matches(value, slot_literal->literal, |
426 | 27 | effective_op); |
427 | 27 | }) |
428 | 14 | ? ZoneMapFilterResult::kMayMatch |
429 | 14 | : ZoneMapFilterResult::kNoMatch; |
430 | 14 | } |
431 | | |
432 | | inline ZoneMapFilterResult evaluate_bloom_filter(const BloomFilterEvalContext& ctx, |
433 | 19 | const VExprSPtrs& arguments, Op op) { |
434 | 19 | DORIS_CHECK(op == Op::EQ); |
435 | 19 | auto slot_literal = expr_zonemap::extract_bloom_filter_slot_and_literal(arguments); |
436 | 19 | DORIS_CHECK(slot_literal.has_value()); |
437 | 19 | return expr_zonemap::eval_eq_bloom_filter(ctx, *slot_literal); |
438 | 19 | } |
439 | | |
440 | 34.6k | inline std::optional<Op> op_from_name(std::string_view name) { |
441 | 34.6k | if (name == NameEquals::name) { |
442 | 16.5k | return Op::EQ; |
443 | 16.5k | } |
444 | 18.0k | if (name == NameNotEquals::name) { |
445 | 1.66k | return Op::NE; |
446 | 1.66k | } |
447 | 16.3k | if (name == NameLess::name) { |
448 | 3.79k | return Op::LT; |
449 | 3.79k | } |
450 | 12.5k | if (name == NameLessOrEquals::name) { |
451 | 2.05k | return Op::LE; |
452 | 2.05k | } |
453 | 10.5k | if (name == NameGreater::name) { |
454 | 6.49k | return Op::GT; |
455 | 6.49k | } |
456 | 4.08k | if (name == NameGreaterOrEquals::name) { |
457 | 4.08k | return Op::GE; |
458 | 4.08k | } |
459 | 18.4E | return std::nullopt; |
460 | 4.01k | } |
461 | | } // namespace comparison_zonemap_detail |
462 | | |
463 | | template <template <PrimitiveType> class Op, typename Name> |
464 | | class FunctionComparison : public IFunction { |
465 | | public: |
466 | | static constexpr auto name = Name::name; |
467 | 269k | static FunctionPtr create() { return std::make_shared<FunctionComparison>(); }_ZN5doris18FunctionComparisonINS_8EqualsOpENS_10NameEqualsEE6createEv Line | Count | Source | 467 | 242k | static FunctionPtr create() { return std::make_shared<FunctionComparison>(); } |
_ZN5doris18FunctionComparisonINS_11NotEqualsOpENS_13NameNotEqualsEE6createEv Line | Count | Source | 467 | 1.16k | static FunctionPtr create() { return std::make_shared<FunctionComparison>(); } |
_ZN5doris18FunctionComparisonINS_9GreaterOpENS_11NameGreaterEE6createEv Line | Count | Source | 467 | 5.01k | static FunctionPtr create() { return std::make_shared<FunctionComparison>(); } |
_ZN5doris18FunctionComparisonINS_17GreaterOrEqualsOpENS_19NameGreaterOrEqualsEE6createEv Line | Count | Source | 467 | 8.04k | static FunctionPtr create() { return std::make_shared<FunctionComparison>(); } |
_ZN5doris18FunctionComparisonINS_6LessOpENS_8NameLessEE6createEv Line | Count | Source | 467 | 3.00k | static FunctionPtr create() { return std::make_shared<FunctionComparison>(); } |
_ZN5doris18FunctionComparisonINS_14LessOrEqualsOpENS_16NameLessOrEqualsEE6createEv Line | Count | Source | 467 | 9.71k | static FunctionPtr create() { return std::make_shared<FunctionComparison>(); } |
|
468 | | |
469 | 269k | FunctionComparison() = default; _ZN5doris18FunctionComparisonINS_8EqualsOpENS_10NameEqualsEEC2Ev Line | Count | Source | 469 | 242k | FunctionComparison() = default; |
_ZN5doris18FunctionComparisonINS_11NotEqualsOpENS_13NameNotEqualsEEC2Ev Line | Count | Source | 469 | 1.16k | FunctionComparison() = default; |
_ZN5doris18FunctionComparisonINS_9GreaterOpENS_11NameGreaterEEC2Ev Line | Count | Source | 469 | 5.01k | FunctionComparison() = default; |
_ZN5doris18FunctionComparisonINS_17GreaterOrEqualsOpENS_19NameGreaterOrEqualsEEC2Ev Line | Count | Source | 469 | 8.03k | FunctionComparison() = default; |
_ZN5doris18FunctionComparisonINS_6LessOpENS_8NameLessEEC2Ev Line | Count | Source | 469 | 3.00k | FunctionComparison() = default; |
_ZN5doris18FunctionComparisonINS_14LessOrEqualsOpENS_16NameLessOrEqualsEEC2Ev Line | Count | Source | 469 | 9.71k | FunctionComparison() = default; |
|
470 | | |
471 | 651k | double execute_cost() const override { return 0.5; }_ZNK5doris18FunctionComparisonINS_8EqualsOpENS_10NameEqualsEE12execute_costEv Line | Count | Source | 471 | 644k | double execute_cost() const override { return 0.5; } |
_ZNK5doris18FunctionComparisonINS_11NotEqualsOpENS_13NameNotEqualsEE12execute_costEv Line | Count | Source | 471 | 608 | double execute_cost() const override { return 0.5; } |
_ZNK5doris18FunctionComparisonINS_9GreaterOpENS_11NameGreaterEE12execute_costEv Line | Count | Source | 471 | 1.95k | double execute_cost() const override { return 0.5; } |
_ZNK5doris18FunctionComparisonINS_17GreaterOrEqualsOpENS_19NameGreaterOrEqualsEE12execute_costEv Line | Count | Source | 471 | 1.86k | double execute_cost() const override { return 0.5; } |
_ZNK5doris18FunctionComparisonINS_6LessOpENS_8NameLessEE12execute_costEv Line | Count | Source | 471 | 1.14k | double execute_cost() const override { return 0.5; } |
_ZNK5doris18FunctionComparisonINS_14LessOrEqualsOpENS_16NameLessOrEqualsEE12execute_costEv Line | Count | Source | 471 | 948 | double execute_cost() const override { return 0.5; } |
|
472 | | |
473 | | private: |
474 | | template <PrimitiveType PT> |
475 | | Status execute_num_type(Block& block, uint32_t result, const ColumnPtr& col_left_ptr, |
476 | 108k | const ColumnPtr& col_right_ptr) const { |
477 | 108k | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); |
478 | 108k | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); |
479 | | |
480 | 108k | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); |
481 | 108k | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); |
482 | | |
483 | 108k | DCHECK(!(left_is_const && right_is_const)); |
484 | | |
485 | 108k | if (!left_is_const && !right_is_const) { |
486 | 9.11k | auto col_res = ColumnUInt8::create(); |
487 | | |
488 | 9.11k | ColumnUInt8::Container& vec_res = col_res->get_data(); |
489 | 9.11k | vec_res.resize(col_left->get_data().size()); |
490 | 9.11k | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, |
491 | 9.11k | typename PrimitiveTypeTraits<PT>::CppType, |
492 | 9.11k | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), |
493 | 9.11k | vec_res); |
494 | | |
495 | 9.11k | block.replace_by_position(result, std::move(col_res)); |
496 | 99.0k | } else if (!left_is_const && right_is_const) { |
497 | 33.0k | auto col_res = ColumnUInt8::create(); |
498 | | |
499 | 33.0k | ColumnUInt8::Container& vec_res = col_res->get_data(); |
500 | 33.0k | vec_res.resize(col_left->size()); |
501 | 33.0k | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, |
502 | 33.0k | typename PrimitiveTypeTraits<PT>::CppType, |
503 | 33.0k | Op<PT>>::vector_constant(col_left->get_data(), |
504 | 33.0k | col_right->get_element(0), vec_res); |
505 | | |
506 | 33.0k | block.replace_by_position(result, std::move(col_res)); |
507 | 66.0k | } else if (left_is_const && !right_is_const) { |
508 | 66.0k | auto col_res = ColumnUInt8::create(); |
509 | | |
510 | 66.0k | ColumnUInt8::Container& vec_res = col_res->get_data(); |
511 | 66.0k | vec_res.resize(col_right->size()); |
512 | 66.0k | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, |
513 | 66.0k | typename PrimitiveTypeTraits<PT>::CppType, |
514 | 66.0k | Op<PT>>::constant_vector(col_left->get_element(0), |
515 | 66.0k | col_right->get_data(), vec_res); |
516 | | |
517 | 66.0k | block.replace_by_position(result, std::move(col_res)); |
518 | 66.0k | } |
519 | 108k | return Status::OK(); |
520 | 108k | } _ZNK5doris18FunctionComparisonINS_8EqualsOpENS_10NameEqualsEE16execute_num_typeILNS_13PrimitiveTypeE2EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 476 | 91 | const ColumnPtr& col_right_ptr) const { | 477 | 91 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 478 | 91 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 479 | | | 480 | 91 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 481 | 91 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 482 | | | 483 | 91 | DCHECK(!(left_is_const && right_is_const)); | 484 | | | 485 | 91 | if (!left_is_const && !right_is_const) { | 486 | 67 | auto col_res = ColumnUInt8::create(); | 487 | | | 488 | 67 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 489 | 67 | vec_res.resize(col_left->get_data().size()); | 490 | 67 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 491 | 67 | typename PrimitiveTypeTraits<PT>::CppType, | 492 | 67 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 493 | 67 | vec_res); | 494 | | | 495 | 67 | block.replace_by_position(result, std::move(col_res)); | 496 | 67 | } else if (!left_is_const && right_is_const) { | 497 | 24 | auto col_res = ColumnUInt8::create(); | 498 | | | 499 | 24 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 500 | 24 | vec_res.resize(col_left->size()); | 501 | 24 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 502 | 24 | typename PrimitiveTypeTraits<PT>::CppType, | 503 | 24 | Op<PT>>::vector_constant(col_left->get_data(), | 504 | 24 | col_right->get_element(0), vec_res); | 505 | | | 506 | 24 | block.replace_by_position(result, std::move(col_res)); | 507 | 24 | } else if (left_is_const && !right_is_const) { | 508 | 0 | auto col_res = ColumnUInt8::create(); | 509 | |
| 510 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 511 | 0 | vec_res.resize(col_right->size()); | 512 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 513 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 514 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 515 | 0 | col_right->get_data(), vec_res); | 516 | |
| 517 | 0 | block.replace_by_position(result, std::move(col_res)); | 518 | 0 | } | 519 | 91 | return Status::OK(); | 520 | 91 | } |
_ZNK5doris18FunctionComparisonINS_8EqualsOpENS_10NameEqualsEE16execute_num_typeILNS_13PrimitiveTypeE25EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 476 | 672 | const ColumnPtr& col_right_ptr) const { | 477 | 672 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 478 | 672 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 479 | | | 480 | 672 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 481 | 672 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 482 | | | 483 | 672 | DCHECK(!(left_is_const && right_is_const)); | 484 | | | 485 | 672 | if (!left_is_const && !right_is_const) { | 486 | 206 | auto col_res = ColumnUInt8::create(); | 487 | | | 488 | 206 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 489 | 206 | vec_res.resize(col_left->get_data().size()); | 490 | 206 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 491 | 206 | typename PrimitiveTypeTraits<PT>::CppType, | 492 | 206 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 493 | 206 | vec_res); | 494 | | | 495 | 206 | block.replace_by_position(result, std::move(col_res)); | 496 | 466 | } else if (!left_is_const && right_is_const) { | 497 | 466 | auto col_res = ColumnUInt8::create(); | 498 | | | 499 | 466 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 500 | 466 | vec_res.resize(col_left->size()); | 501 | 466 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 502 | 466 | typename PrimitiveTypeTraits<PT>::CppType, | 503 | 466 | Op<PT>>::vector_constant(col_left->get_data(), | 504 | 466 | col_right->get_element(0), vec_res); | 505 | | | 506 | 466 | block.replace_by_position(result, std::move(col_res)); | 507 | 466 | } else if (left_is_const && !right_is_const) { | 508 | 0 | auto col_res = ColumnUInt8::create(); | 509 | |
| 510 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 511 | 0 | vec_res.resize(col_right->size()); | 512 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 513 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 514 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 515 | 0 | col_right->get_data(), vec_res); | 516 | |
| 517 | 0 | block.replace_by_position(result, std::move(col_res)); | 518 | 0 | } | 519 | 672 | return Status::OK(); | 520 | 672 | } |
_ZNK5doris18FunctionComparisonINS_8EqualsOpENS_10NameEqualsEE16execute_num_typeILNS_13PrimitiveTypeE26EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 476 | 394 | const ColumnPtr& col_right_ptr) const { | 477 | 394 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 478 | 394 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 479 | | | 480 | 394 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 481 | 394 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 482 | | | 483 | 394 | DCHECK(!(left_is_const && right_is_const)); | 484 | | | 485 | 394 | if (!left_is_const && !right_is_const) { | 486 | 237 | auto col_res = ColumnUInt8::create(); | 487 | | | 488 | 237 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 489 | 237 | vec_res.resize(col_left->get_data().size()); | 490 | 237 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 491 | 237 | typename PrimitiveTypeTraits<PT>::CppType, | 492 | 237 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 493 | 237 | vec_res); | 494 | | | 495 | 237 | block.replace_by_position(result, std::move(col_res)); | 496 | 237 | } else if (!left_is_const && right_is_const) { | 497 | 157 | auto col_res = ColumnUInt8::create(); | 498 | | | 499 | 157 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 500 | 157 | vec_res.resize(col_left->size()); | 501 | 157 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 502 | 157 | typename PrimitiveTypeTraits<PT>::CppType, | 503 | 157 | Op<PT>>::vector_constant(col_left->get_data(), | 504 | 157 | col_right->get_element(0), vec_res); | 505 | | | 506 | 157 | block.replace_by_position(result, std::move(col_res)); | 507 | 157 | } else if (left_is_const && !right_is_const) { | 508 | 0 | auto col_res = ColumnUInt8::create(); | 509 | |
| 510 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 511 | 0 | vec_res.resize(col_right->size()); | 512 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 513 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 514 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 515 | 0 | col_right->get_data(), vec_res); | 516 | |
| 517 | 0 | block.replace_by_position(result, std::move(col_res)); | 518 | 0 | } | 519 | 394 | return Status::OK(); | 520 | 394 | } |
_ZNK5doris18FunctionComparisonINS_8EqualsOpENS_10NameEqualsEE16execute_num_typeILNS_13PrimitiveTypeE42EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 476 | 2 | const ColumnPtr& col_right_ptr) const { | 477 | 2 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 478 | 2 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 479 | | | 480 | 2 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 481 | 2 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 482 | | | 483 | 2 | DCHECK(!(left_is_const && right_is_const)); | 484 | | | 485 | 2 | if (!left_is_const && !right_is_const) { | 486 | 2 | auto col_res = ColumnUInt8::create(); | 487 | | | 488 | 2 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 489 | 2 | vec_res.resize(col_left->get_data().size()); | 490 | 2 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 491 | 2 | typename PrimitiveTypeTraits<PT>::CppType, | 492 | 2 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 493 | 2 | vec_res); | 494 | | | 495 | 2 | block.replace_by_position(result, std::move(col_res)); | 496 | 2 | } else if (!left_is_const && right_is_const) { | 497 | 0 | auto col_res = ColumnUInt8::create(); | 498 | |
| 499 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 500 | 0 | vec_res.resize(col_left->size()); | 501 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 502 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 503 | 0 | Op<PT>>::vector_constant(col_left->get_data(), | 504 | 0 | col_right->get_element(0), vec_res); | 505 | |
| 506 | 0 | block.replace_by_position(result, std::move(col_res)); | 507 | 0 | } else if (left_is_const && !right_is_const) { | 508 | 0 | auto col_res = ColumnUInt8::create(); | 509 | |
| 510 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 511 | 0 | vec_res.resize(col_right->size()); | 512 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 513 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 514 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 515 | 0 | col_right->get_data(), vec_res); | 516 | |
| 517 | 0 | block.replace_by_position(result, std::move(col_res)); | 518 | 0 | } | 519 | 2 | return Status::OK(); | 520 | 2 | } |
_ZNK5doris18FunctionComparisonINS_8EqualsOpENS_10NameEqualsEE16execute_num_typeILNS_13PrimitiveTypeE3EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 476 | 5.06k | const ColumnPtr& col_right_ptr) const { | 477 | 5.06k | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 478 | 5.06k | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 479 | | | 480 | 5.06k | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 481 | 5.06k | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 482 | | | 483 | 5.06k | DCHECK(!(left_is_const && right_is_const)); | 484 | | | 485 | 5.06k | if (!left_is_const && !right_is_const) { | 486 | 139 | auto col_res = ColumnUInt8::create(); | 487 | | | 488 | 139 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 489 | 139 | vec_res.resize(col_left->get_data().size()); | 490 | 139 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 491 | 139 | typename PrimitiveTypeTraits<PT>::CppType, | 492 | 139 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 493 | 139 | vec_res); | 494 | | | 495 | 139 | block.replace_by_position(result, std::move(col_res)); | 496 | 4.92k | } else if (!left_is_const && right_is_const) { | 497 | 4.58k | auto col_res = ColumnUInt8::create(); | 498 | | | 499 | 4.58k | ColumnUInt8::Container& vec_res = col_res->get_data(); | 500 | 4.58k | vec_res.resize(col_left->size()); | 501 | 4.58k | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 502 | 4.58k | typename PrimitiveTypeTraits<PT>::CppType, | 503 | 4.58k | Op<PT>>::vector_constant(col_left->get_data(), | 504 | 4.58k | col_right->get_element(0), vec_res); | 505 | | | 506 | 4.58k | block.replace_by_position(result, std::move(col_res)); | 507 | 4.58k | } else if (left_is_const && !right_is_const) { | 508 | 336 | auto col_res = ColumnUInt8::create(); | 509 | | | 510 | 336 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 511 | 336 | vec_res.resize(col_right->size()); | 512 | 336 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 513 | 336 | typename PrimitiveTypeTraits<PT>::CppType, | 514 | 336 | Op<PT>>::constant_vector(col_left->get_element(0), | 515 | 336 | col_right->get_data(), vec_res); | 516 | | | 517 | 336 | block.replace_by_position(result, std::move(col_res)); | 518 | 336 | } | 519 | 5.06k | return Status::OK(); | 520 | 5.06k | } |
_ZNK5doris18FunctionComparisonINS_8EqualsOpENS_10NameEqualsEE16execute_num_typeILNS_13PrimitiveTypeE4EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 476 | 388 | const ColumnPtr& col_right_ptr) const { | 477 | 388 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 478 | 388 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 479 | | | 480 | 388 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 481 | 388 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 482 | | | 483 | 388 | DCHECK(!(left_is_const && right_is_const)); | 484 | | | 485 | 388 | if (!left_is_const && !right_is_const) { | 486 | 71 | auto col_res = ColumnUInt8::create(); | 487 | | | 488 | 71 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 489 | 71 | vec_res.resize(col_left->get_data().size()); | 490 | 71 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 491 | 71 | typename PrimitiveTypeTraits<PT>::CppType, | 492 | 71 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 493 | 71 | vec_res); | 494 | | | 495 | 71 | block.replace_by_position(result, std::move(col_res)); | 496 | 317 | } else if (!left_is_const && right_is_const) { | 497 | 269 | auto col_res = ColumnUInt8::create(); | 498 | | | 499 | 269 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 500 | 269 | vec_res.resize(col_left->size()); | 501 | 269 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 502 | 269 | typename PrimitiveTypeTraits<PT>::CppType, | 503 | 269 | Op<PT>>::vector_constant(col_left->get_data(), | 504 | 269 | col_right->get_element(0), vec_res); | 505 | | | 506 | 269 | block.replace_by_position(result, std::move(col_res)); | 507 | 269 | } else if (left_is_const && !right_is_const) { | 508 | 48 | auto col_res = ColumnUInt8::create(); | 509 | | | 510 | 48 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 511 | 48 | vec_res.resize(col_right->size()); | 512 | 48 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 513 | 48 | typename PrimitiveTypeTraits<PT>::CppType, | 514 | 48 | Op<PT>>::constant_vector(col_left->get_element(0), | 515 | 48 | col_right->get_data(), vec_res); | 516 | | | 517 | 48 | block.replace_by_position(result, std::move(col_res)); | 518 | 48 | } | 519 | 388 | return Status::OK(); | 520 | 388 | } |
_ZNK5doris18FunctionComparisonINS_8EqualsOpENS_10NameEqualsEE16execute_num_typeILNS_13PrimitiveTypeE5EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 476 | 2.08k | const ColumnPtr& col_right_ptr) const { | 477 | 2.08k | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 478 | 2.08k | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 479 | | | 480 | 2.08k | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 481 | 2.08k | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 482 | | | 483 | 2.08k | DCHECK(!(left_is_const && right_is_const)); | 484 | | | 485 | 2.08k | if (!left_is_const && !right_is_const) { | 486 | 310 | auto col_res = ColumnUInt8::create(); | 487 | | | 488 | 310 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 489 | 310 | vec_res.resize(col_left->get_data().size()); | 490 | 310 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 491 | 310 | typename PrimitiveTypeTraits<PT>::CppType, | 492 | 310 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 493 | 310 | vec_res); | 494 | | | 495 | 310 | block.replace_by_position(result, std::move(col_res)); | 496 | 1.77k | } else if (!left_is_const && right_is_const) { | 497 | 1.63k | auto col_res = ColumnUInt8::create(); | 498 | | | 499 | 1.63k | ColumnUInt8::Container& vec_res = col_res->get_data(); | 500 | 1.63k | vec_res.resize(col_left->size()); | 501 | 1.63k | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 502 | 1.63k | typename PrimitiveTypeTraits<PT>::CppType, | 503 | 1.63k | Op<PT>>::vector_constant(col_left->get_data(), | 504 | 1.63k | col_right->get_element(0), vec_res); | 505 | | | 506 | 1.63k | block.replace_by_position(result, std::move(col_res)); | 507 | 1.63k | } else if (left_is_const && !right_is_const) { | 508 | 142 | auto col_res = ColumnUInt8::create(); | 509 | | | 510 | 142 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 511 | 142 | vec_res.resize(col_right->size()); | 512 | 142 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 513 | 142 | typename PrimitiveTypeTraits<PT>::CppType, | 514 | 142 | Op<PT>>::constant_vector(col_left->get_element(0), | 515 | 142 | col_right->get_data(), vec_res); | 516 | | | 517 | 142 | block.replace_by_position(result, std::move(col_res)); | 518 | 142 | } | 519 | 2.08k | return Status::OK(); | 520 | 2.08k | } |
_ZNK5doris18FunctionComparisonINS_8EqualsOpENS_10NameEqualsEE16execute_num_typeILNS_13PrimitiveTypeE6EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 476 | 2.82k | const ColumnPtr& col_right_ptr) const { | 477 | 2.82k | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 478 | 2.82k | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 479 | | | 480 | 2.82k | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 481 | 2.82k | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 482 | | | 483 | 2.82k | DCHECK(!(left_is_const && right_is_const)); | 484 | | | 485 | 2.82k | if (!left_is_const && !right_is_const) { | 486 | 138 | auto col_res = ColumnUInt8::create(); | 487 | | | 488 | 138 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 489 | 138 | vec_res.resize(col_left->get_data().size()); | 490 | 138 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 491 | 138 | typename PrimitiveTypeTraits<PT>::CppType, | 492 | 138 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 493 | 138 | vec_res); | 494 | | | 495 | 138 | block.replace_by_position(result, std::move(col_res)); | 496 | 2.68k | } else if (!left_is_const && right_is_const) { | 497 | 1.69k | auto col_res = ColumnUInt8::create(); | 498 | | | 499 | 1.69k | ColumnUInt8::Container& vec_res = col_res->get_data(); | 500 | 1.69k | vec_res.resize(col_left->size()); | 501 | 1.69k | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 502 | 1.69k | typename PrimitiveTypeTraits<PT>::CppType, | 503 | 1.69k | Op<PT>>::vector_constant(col_left->get_data(), | 504 | 1.69k | col_right->get_element(0), vec_res); | 505 | | | 506 | 1.69k | block.replace_by_position(result, std::move(col_res)); | 507 | 1.69k | } else if (left_is_const && !right_is_const) { | 508 | 994 | auto col_res = ColumnUInt8::create(); | 509 | | | 510 | 994 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 511 | 994 | vec_res.resize(col_right->size()); | 512 | 994 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 513 | 994 | typename PrimitiveTypeTraits<PT>::CppType, | 514 | 994 | Op<PT>>::constant_vector(col_left->get_element(0), | 515 | 994 | col_right->get_data(), vec_res); | 516 | | | 517 | 994 | block.replace_by_position(result, std::move(col_res)); | 518 | 994 | } | 519 | 2.82k | return Status::OK(); | 520 | 2.82k | } |
_ZNK5doris18FunctionComparisonINS_8EqualsOpENS_10NameEqualsEE16execute_num_typeILNS_13PrimitiveTypeE7EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 476 | 117 | const ColumnPtr& col_right_ptr) const { | 477 | 117 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 478 | 117 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 479 | | | 480 | 117 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 481 | 117 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 482 | | | 483 | 117 | DCHECK(!(left_is_const && right_is_const)); | 484 | | | 485 | 117 | if (!left_is_const && !right_is_const) { | 486 | 74 | auto col_res = ColumnUInt8::create(); | 487 | | | 488 | 74 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 489 | 74 | vec_res.resize(col_left->get_data().size()); | 490 | 74 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 491 | 74 | typename PrimitiveTypeTraits<PT>::CppType, | 492 | 74 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 493 | 74 | vec_res); | 494 | | | 495 | 74 | block.replace_by_position(result, std::move(col_res)); | 496 | 74 | } else if (!left_is_const && right_is_const) { | 497 | 27 | auto col_res = ColumnUInt8::create(); | 498 | | | 499 | 27 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 500 | 27 | vec_res.resize(col_left->size()); | 501 | 27 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 502 | 27 | typename PrimitiveTypeTraits<PT>::CppType, | 503 | 27 | Op<PT>>::vector_constant(col_left->get_data(), | 504 | 27 | col_right->get_element(0), vec_res); | 505 | | | 506 | 27 | block.replace_by_position(result, std::move(col_res)); | 507 | 27 | } else if (left_is_const && !right_is_const) { | 508 | 16 | auto col_res = ColumnUInt8::create(); | 509 | | | 510 | 16 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 511 | 16 | vec_res.resize(col_right->size()); | 512 | 16 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 513 | 16 | typename PrimitiveTypeTraits<PT>::CppType, | 514 | 16 | Op<PT>>::constant_vector(col_left->get_element(0), | 515 | 16 | col_right->get_data(), vec_res); | 516 | | | 517 | 16 | block.replace_by_position(result, std::move(col_res)); | 518 | 16 | } | 519 | 117 | return Status::OK(); | 520 | 117 | } |
_ZNK5doris18FunctionComparisonINS_8EqualsOpENS_10NameEqualsEE16execute_num_typeILNS_13PrimitiveTypeE36EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 476 | 12 | const ColumnPtr& col_right_ptr) const { | 477 | 12 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 478 | 12 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 479 | | | 480 | 12 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 481 | 12 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 482 | | | 483 | 12 | DCHECK(!(left_is_const && right_is_const)); | 484 | | | 485 | 12 | if (!left_is_const && !right_is_const) { | 486 | 5 | auto col_res = ColumnUInt8::create(); | 487 | | | 488 | 5 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 489 | 5 | vec_res.resize(col_left->get_data().size()); | 490 | 5 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 491 | 5 | typename PrimitiveTypeTraits<PT>::CppType, | 492 | 5 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 493 | 5 | vec_res); | 494 | | | 495 | 5 | block.replace_by_position(result, std::move(col_res)); | 496 | 7 | } else if (!left_is_const && right_is_const) { | 497 | 7 | auto col_res = ColumnUInt8::create(); | 498 | | | 499 | 7 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 500 | 7 | vec_res.resize(col_left->size()); | 501 | 7 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 502 | 7 | typename PrimitiveTypeTraits<PT>::CppType, | 503 | 7 | Op<PT>>::vector_constant(col_left->get_data(), | 504 | 7 | col_right->get_element(0), vec_res); | 505 | | | 506 | 7 | block.replace_by_position(result, std::move(col_res)); | 507 | 7 | } else if (left_is_const && !right_is_const) { | 508 | 0 | auto col_res = ColumnUInt8::create(); | 509 | |
| 510 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 511 | 0 | vec_res.resize(col_right->size()); | 512 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 513 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 514 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 515 | 0 | col_right->get_data(), vec_res); | 516 | |
| 517 | 0 | block.replace_by_position(result, std::move(col_res)); | 518 | 0 | } | 519 | 12 | return Status::OK(); | 520 | 12 | } |
_ZNK5doris18FunctionComparisonINS_8EqualsOpENS_10NameEqualsEE16execute_num_typeILNS_13PrimitiveTypeE37EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 476 | 17 | const ColumnPtr& col_right_ptr) const { | 477 | 17 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 478 | 17 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 479 | | | 480 | 17 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 481 | 17 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 482 | | | 483 | 17 | DCHECK(!(left_is_const && right_is_const)); | 484 | | | 485 | 17 | if (!left_is_const && !right_is_const) { | 486 | 13 | auto col_res = ColumnUInt8::create(); | 487 | | | 488 | 13 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 489 | 13 | vec_res.resize(col_left->get_data().size()); | 490 | 13 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 491 | 13 | typename PrimitiveTypeTraits<PT>::CppType, | 492 | 13 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 493 | 13 | vec_res); | 494 | | | 495 | 13 | block.replace_by_position(result, std::move(col_res)); | 496 | 13 | } else if (!left_is_const && right_is_const) { | 497 | 4 | auto col_res = ColumnUInt8::create(); | 498 | | | 499 | 4 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 500 | 4 | vec_res.resize(col_left->size()); | 501 | 4 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 502 | 4 | typename PrimitiveTypeTraits<PT>::CppType, | 503 | 4 | Op<PT>>::vector_constant(col_left->get_data(), | 504 | 4 | col_right->get_element(0), vec_res); | 505 | | | 506 | 4 | block.replace_by_position(result, std::move(col_res)); | 507 | 4 | } else if (left_is_const && !right_is_const) { | 508 | 0 | auto col_res = ColumnUInt8::create(); | 509 | |
| 510 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 511 | 0 | vec_res.resize(col_right->size()); | 512 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 513 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 514 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 515 | 0 | col_right->get_data(), vec_res); | 516 | |
| 517 | 0 | block.replace_by_position(result, std::move(col_res)); | 518 | 0 | } | 519 | 17 | return Status::OK(); | 520 | 17 | } |
_ZNK5doris18FunctionComparisonINS_8EqualsOpENS_10NameEqualsEE16execute_num_typeILNS_13PrimitiveTypeE8EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 476 | 88 | const ColumnPtr& col_right_ptr) const { | 477 | 88 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 478 | 88 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 479 | | | 480 | 88 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 481 | 88 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 482 | | | 483 | 88 | DCHECK(!(left_is_const && right_is_const)); | 484 | | | 485 | 88 | if (!left_is_const && !right_is_const) { | 486 | 88 | auto col_res = ColumnUInt8::create(); | 487 | | | 488 | 88 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 489 | 88 | vec_res.resize(col_left->get_data().size()); | 490 | 88 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 491 | 88 | typename PrimitiveTypeTraits<PT>::CppType, | 492 | 88 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 493 | 88 | vec_res); | 494 | | | 495 | 88 | block.replace_by_position(result, std::move(col_res)); | 496 | 88 | } else if (!left_is_const && right_is_const) { | 497 | 0 | auto col_res = ColumnUInt8::create(); | 498 | |
| 499 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 500 | 0 | vec_res.resize(col_left->size()); | 501 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 502 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 503 | 0 | Op<PT>>::vector_constant(col_left->get_data(), | 504 | 0 | col_right->get_element(0), vec_res); | 505 | |
| 506 | 0 | block.replace_by_position(result, std::move(col_res)); | 507 | 0 | } else if (left_is_const && !right_is_const) { | 508 | 0 | auto col_res = ColumnUInt8::create(); | 509 | |
| 510 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 511 | 0 | vec_res.resize(col_right->size()); | 512 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 513 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 514 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 515 | 0 | col_right->get_data(), vec_res); | 516 | |
| 517 | 0 | block.replace_by_position(result, std::move(col_res)); | 518 | 0 | } | 519 | 88 | return Status::OK(); | 520 | 88 | } |
_ZNK5doris18FunctionComparisonINS_8EqualsOpENS_10NameEqualsEE16execute_num_typeILNS_13PrimitiveTypeE9EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 476 | 873 | const ColumnPtr& col_right_ptr) const { | 477 | 873 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 478 | 873 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 479 | | | 480 | 873 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 481 | 873 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 482 | | | 483 | 873 | DCHECK(!(left_is_const && right_is_const)); | 484 | | | 485 | 873 | if (!left_is_const && !right_is_const) { | 486 | 95 | auto col_res = ColumnUInt8::create(); | 487 | | | 488 | 95 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 489 | 95 | vec_res.resize(col_left->get_data().size()); | 490 | 95 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 491 | 95 | typename PrimitiveTypeTraits<PT>::CppType, | 492 | 95 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 493 | 95 | vec_res); | 494 | | | 495 | 95 | block.replace_by_position(result, std::move(col_res)); | 496 | 778 | } else if (!left_is_const && right_is_const) { | 497 | 778 | auto col_res = ColumnUInt8::create(); | 498 | | | 499 | 778 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 500 | 778 | vec_res.resize(col_left->size()); | 501 | 778 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 502 | 778 | typename PrimitiveTypeTraits<PT>::CppType, | 503 | 778 | Op<PT>>::vector_constant(col_left->get_data(), | 504 | 778 | col_right->get_element(0), vec_res); | 505 | | | 506 | 778 | block.replace_by_position(result, std::move(col_res)); | 507 | 778 | } else if (left_is_const && !right_is_const) { | 508 | 0 | auto col_res = ColumnUInt8::create(); | 509 | |
| 510 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 511 | 0 | vec_res.resize(col_right->size()); | 512 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 513 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 514 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 515 | 0 | col_right->get_data(), vec_res); | 516 | |
| 517 | 0 | block.replace_by_position(result, std::move(col_res)); | 518 | 0 | } | 519 | 873 | return Status::OK(); | 520 | 873 | } |
_ZNK5doris18FunctionComparisonINS_8EqualsOpENS_10NameEqualsEE16execute_num_typeILNS_13PrimitiveTypeE27EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 476 | 4 | const ColumnPtr& col_right_ptr) const { | 477 | 4 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 478 | 4 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 479 | | | 480 | 4 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 481 | 4 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 482 | | | 483 | 4 | DCHECK(!(left_is_const && right_is_const)); | 484 | | | 485 | 4 | if (!left_is_const && !right_is_const) { | 486 | 4 | auto col_res = ColumnUInt8::create(); | 487 | | | 488 | 4 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 489 | 4 | vec_res.resize(col_left->get_data().size()); | 490 | 4 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 491 | 4 | typename PrimitiveTypeTraits<PT>::CppType, | 492 | 4 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 493 | 4 | vec_res); | 494 | | | 495 | 4 | block.replace_by_position(result, std::move(col_res)); | 496 | 4 | } else if (!left_is_const && right_is_const) { | 497 | 0 | auto col_res = ColumnUInt8::create(); | 498 | |
| 499 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 500 | 0 | vec_res.resize(col_left->size()); | 501 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 502 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 503 | 0 | Op<PT>>::vector_constant(col_left->get_data(), | 504 | 0 | col_right->get_element(0), vec_res); | 505 | |
| 506 | 0 | block.replace_by_position(result, std::move(col_res)); | 507 | 0 | } else if (left_is_const && !right_is_const) { | 508 | 0 | auto col_res = ColumnUInt8::create(); | 509 | |
| 510 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 511 | 0 | vec_res.resize(col_right->size()); | 512 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 513 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 514 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 515 | 0 | col_right->get_data(), vec_res); | 516 | |
| 517 | 0 | block.replace_by_position(result, std::move(col_res)); | 518 | 0 | } | 519 | 4 | return Status::OK(); | 520 | 4 | } |
Unexecuted instantiation: _ZNK5doris18FunctionComparisonINS_11NotEqualsOpENS_13NameNotEqualsEE16execute_num_typeILNS_13PrimitiveTypeE2EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ _ZNK5doris18FunctionComparisonINS_11NotEqualsOpENS_13NameNotEqualsEE16execute_num_typeILNS_13PrimitiveTypeE25EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 476 | 69 | const ColumnPtr& col_right_ptr) const { | 477 | 69 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 478 | 69 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 479 | | | 480 | 69 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 481 | 69 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 482 | | | 483 | 69 | DCHECK(!(left_is_const && right_is_const)); | 484 | | | 485 | 70 | if (!left_is_const && !right_is_const) { | 486 | 39 | auto col_res = ColumnUInt8::create(); | 487 | | | 488 | 39 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 489 | 39 | vec_res.resize(col_left->get_data().size()); | 490 | 39 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 491 | 39 | typename PrimitiveTypeTraits<PT>::CppType, | 492 | 39 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 493 | 39 | vec_res); | 494 | | | 495 | 39 | block.replace_by_position(result, std::move(col_res)); | 496 | 39 | } else if (!left_is_const && right_is_const) { | 497 | 31 | auto col_res = ColumnUInt8::create(); | 498 | | | 499 | 31 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 500 | 31 | vec_res.resize(col_left->size()); | 501 | 31 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 502 | 31 | typename PrimitiveTypeTraits<PT>::CppType, | 503 | 31 | Op<PT>>::vector_constant(col_left->get_data(), | 504 | 31 | col_right->get_element(0), vec_res); | 505 | | | 506 | 31 | block.replace_by_position(result, std::move(col_res)); | 507 | 18.4E | } else if (left_is_const && !right_is_const) { | 508 | 0 | auto col_res = ColumnUInt8::create(); | 509 | |
| 510 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 511 | 0 | vec_res.resize(col_right->size()); | 512 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 513 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 514 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 515 | 0 | col_right->get_data(), vec_res); | 516 | |
| 517 | 0 | block.replace_by_position(result, std::move(col_res)); | 518 | 0 | } | 519 | 69 | return Status::OK(); | 520 | 69 | } |
Unexecuted instantiation: _ZNK5doris18FunctionComparisonINS_11NotEqualsOpENS_13NameNotEqualsEE16execute_num_typeILNS_13PrimitiveTypeE26EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Unexecuted instantiation: _ZNK5doris18FunctionComparisonINS_11NotEqualsOpENS_13NameNotEqualsEE16execute_num_typeILNS_13PrimitiveTypeE42EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ _ZNK5doris18FunctionComparisonINS_11NotEqualsOpENS_13NameNotEqualsEE16execute_num_typeILNS_13PrimitiveTypeE3EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 476 | 84 | const ColumnPtr& col_right_ptr) const { | 477 | 84 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 478 | 84 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 479 | | | 480 | 84 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 481 | 84 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 482 | | | 483 | 84 | DCHECK(!(left_is_const && right_is_const)); | 484 | | | 485 | 84 | if (!left_is_const && !right_is_const) { | 486 | 56 | auto col_res = ColumnUInt8::create(); | 487 | | | 488 | 56 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 489 | 56 | vec_res.resize(col_left->get_data().size()); | 490 | 56 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 491 | 56 | typename PrimitiveTypeTraits<PT>::CppType, | 492 | 56 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 493 | 56 | vec_res); | 494 | | | 495 | 56 | block.replace_by_position(result, std::move(col_res)); | 496 | 56 | } else if (!left_is_const && right_is_const) { | 497 | 28 | auto col_res = ColumnUInt8::create(); | 498 | | | 499 | 28 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 500 | 28 | vec_res.resize(col_left->size()); | 501 | 28 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 502 | 28 | typename PrimitiveTypeTraits<PT>::CppType, | 503 | 28 | Op<PT>>::vector_constant(col_left->get_data(), | 504 | 28 | col_right->get_element(0), vec_res); | 505 | | | 506 | 28 | block.replace_by_position(result, std::move(col_res)); | 507 | 28 | } else if (left_is_const && !right_is_const) { | 508 | 0 | auto col_res = ColumnUInt8::create(); | 509 | |
| 510 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 511 | 0 | vec_res.resize(col_right->size()); | 512 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 513 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 514 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 515 | 0 | col_right->get_data(), vec_res); | 516 | |
| 517 | 0 | block.replace_by_position(result, std::move(col_res)); | 518 | 0 | } | 519 | 84 | return Status::OK(); | 520 | 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 | 476 | 2.02k | const ColumnPtr& col_right_ptr) const { | 477 | 2.02k | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 478 | 2.02k | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 479 | | | 480 | 2.02k | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 481 | 2.02k | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 482 | | | 483 | 2.02k | DCHECK(!(left_is_const && right_is_const)); | 484 | | | 485 | 2.02k | if (!left_is_const && !right_is_const) { | 486 | 1.77k | auto col_res = ColumnUInt8::create(); | 487 | | | 488 | 1.77k | ColumnUInt8::Container& vec_res = col_res->get_data(); | 489 | 1.77k | vec_res.resize(col_left->get_data().size()); | 490 | 1.77k | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 491 | 1.77k | typename PrimitiveTypeTraits<PT>::CppType, | 492 | 1.77k | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 493 | 1.77k | vec_res); | 494 | | | 495 | 1.77k | block.replace_by_position(result, std::move(col_res)); | 496 | 1.77k | } else if (!left_is_const && right_is_const) { | 497 | 255 | auto col_res = ColumnUInt8::create(); | 498 | | | 499 | 255 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 500 | 255 | vec_res.resize(col_left->size()); | 501 | 255 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 502 | 255 | typename PrimitiveTypeTraits<PT>::CppType, | 503 | 255 | Op<PT>>::vector_constant(col_left->get_data(), | 504 | 255 | col_right->get_element(0), vec_res); | 505 | | | 506 | 255 | block.replace_by_position(result, std::move(col_res)); | 507 | 255 | } else if (left_is_const && !right_is_const) { | 508 | 0 | auto col_res = ColumnUInt8::create(); | 509 | |
| 510 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 511 | 0 | vec_res.resize(col_right->size()); | 512 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 513 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 514 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 515 | 0 | col_right->get_data(), vec_res); | 516 | |
| 517 | 0 | block.replace_by_position(result, std::move(col_res)); | 518 | 0 | } | 519 | 2.02k | return Status::OK(); | 520 | 2.02k | } |
_ZNK5doris18FunctionComparisonINS_11NotEqualsOpENS_13NameNotEqualsEE16execute_num_typeILNS_13PrimitiveTypeE6EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 476 | 508 | const ColumnPtr& col_right_ptr) const { | 477 | 508 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 478 | 508 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 479 | | | 480 | 508 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 481 | 508 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 482 | | | 483 | 508 | DCHECK(!(left_is_const && right_is_const)); | 484 | | | 485 | 508 | if (!left_is_const && !right_is_const) { | 486 | 350 | auto col_res = ColumnUInt8::create(); | 487 | | | 488 | 350 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 489 | 350 | vec_res.resize(col_left->get_data().size()); | 490 | 350 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 491 | 350 | typename PrimitiveTypeTraits<PT>::CppType, | 492 | 350 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 493 | 350 | vec_res); | 494 | | | 495 | 350 | block.replace_by_position(result, std::move(col_res)); | 496 | 350 | } else if (!left_is_const && right_is_const) { | 497 | 69 | auto col_res = ColumnUInt8::create(); | 498 | | | 499 | 69 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 500 | 69 | vec_res.resize(col_left->size()); | 501 | 69 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 502 | 69 | typename PrimitiveTypeTraits<PT>::CppType, | 503 | 69 | Op<PT>>::vector_constant(col_left->get_data(), | 504 | 69 | col_right->get_element(0), vec_res); | 505 | | | 506 | 69 | block.replace_by_position(result, std::move(col_res)); | 507 | 90 | } else if (left_is_const && !right_is_const) { | 508 | 90 | auto col_res = ColumnUInt8::create(); | 509 | | | 510 | 90 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 511 | 90 | vec_res.resize(col_right->size()); | 512 | 90 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 513 | 90 | typename PrimitiveTypeTraits<PT>::CppType, | 514 | 90 | Op<PT>>::constant_vector(col_left->get_element(0), | 515 | 90 | col_right->get_data(), vec_res); | 516 | | | 517 | 90 | block.replace_by_position(result, std::move(col_res)); | 518 | 90 | } | 519 | 508 | return Status::OK(); | 520 | 508 | } |
Unexecuted instantiation: _ZNK5doris18FunctionComparisonINS_11NotEqualsOpENS_13NameNotEqualsEE16execute_num_typeILNS_13PrimitiveTypeE7EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Unexecuted instantiation: _ZNK5doris18FunctionComparisonINS_11NotEqualsOpENS_13NameNotEqualsEE16execute_num_typeILNS_13PrimitiveTypeE36EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Unexecuted instantiation: _ZNK5doris18FunctionComparisonINS_11NotEqualsOpENS_13NameNotEqualsEE16execute_num_typeILNS_13PrimitiveTypeE37EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ _ZNK5doris18FunctionComparisonINS_11NotEqualsOpENS_13NameNotEqualsEE16execute_num_typeILNS_13PrimitiveTypeE8EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 476 | 48 | const ColumnPtr& col_right_ptr) const { | 477 | 48 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 478 | 48 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 479 | | | 480 | 48 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 481 | 48 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 482 | | | 483 | 48 | DCHECK(!(left_is_const && right_is_const)); | 484 | | | 485 | 48 | if (!left_is_const && !right_is_const) { | 486 | 20 | auto col_res = ColumnUInt8::create(); | 487 | | | 488 | 20 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 489 | 20 | vec_res.resize(col_left->get_data().size()); | 490 | 20 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 491 | 20 | typename PrimitiveTypeTraits<PT>::CppType, | 492 | 20 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 493 | 20 | vec_res); | 494 | | | 495 | 20 | block.replace_by_position(result, std::move(col_res)); | 496 | 28 | } else if (!left_is_const && right_is_const) { | 497 | 28 | auto col_res = ColumnUInt8::create(); | 498 | | | 499 | 28 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 500 | 28 | vec_res.resize(col_left->size()); | 501 | 28 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 502 | 28 | typename PrimitiveTypeTraits<PT>::CppType, | 503 | 28 | Op<PT>>::vector_constant(col_left->get_data(), | 504 | 28 | col_right->get_element(0), vec_res); | 505 | | | 506 | 28 | block.replace_by_position(result, std::move(col_res)); | 507 | 28 | } else if (left_is_const && !right_is_const) { | 508 | 0 | auto col_res = ColumnUInt8::create(); | 509 | |
| 510 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 511 | 0 | vec_res.resize(col_right->size()); | 512 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 513 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 514 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 515 | 0 | col_right->get_data(), vec_res); | 516 | |
| 517 | 0 | block.replace_by_position(result, std::move(col_res)); | 518 | 0 | } | 519 | 48 | return Status::OK(); | 520 | 48 | } |
_ZNK5doris18FunctionComparisonINS_11NotEqualsOpENS_13NameNotEqualsEE16execute_num_typeILNS_13PrimitiveTypeE9EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 476 | 60 | const ColumnPtr& col_right_ptr) const { | 477 | 60 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 478 | 60 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 479 | | | 480 | 60 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 481 | 60 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 482 | | | 483 | 60 | DCHECK(!(left_is_const && right_is_const)); | 484 | | | 485 | 60 | if (!left_is_const && !right_is_const) { | 486 | 20 | auto col_res = ColumnUInt8::create(); | 487 | | | 488 | 20 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 489 | 20 | vec_res.resize(col_left->get_data().size()); | 490 | 20 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 491 | 20 | typename PrimitiveTypeTraits<PT>::CppType, | 492 | 20 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 493 | 20 | vec_res); | 494 | | | 495 | 20 | block.replace_by_position(result, std::move(col_res)); | 496 | 40 | } else if (!left_is_const && right_is_const) { | 497 | 40 | auto col_res = ColumnUInt8::create(); | 498 | | | 499 | 40 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 500 | 40 | vec_res.resize(col_left->size()); | 501 | 40 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 502 | 40 | typename PrimitiveTypeTraits<PT>::CppType, | 503 | 40 | Op<PT>>::vector_constant(col_left->get_data(), | 504 | 40 | col_right->get_element(0), vec_res); | 505 | | | 506 | 40 | block.replace_by_position(result, std::move(col_res)); | 507 | 40 | } else if (left_is_const && !right_is_const) { | 508 | 0 | auto col_res = ColumnUInt8::create(); | 509 | |
| 510 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 511 | 0 | vec_res.resize(col_right->size()); | 512 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 513 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 514 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 515 | 0 | col_right->get_data(), vec_res); | 516 | |
| 517 | 0 | block.replace_by_position(result, std::move(col_res)); | 518 | 0 | } | 519 | 60 | return Status::OK(); | 520 | 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 | 476 | 1.29k | const ColumnPtr& col_right_ptr) const { | 477 | 1.29k | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 478 | 1.29k | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 479 | | | 480 | 1.29k | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 481 | 1.29k | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 482 | | | 483 | 1.29k | DCHECK(!(left_is_const && right_is_const)); | 484 | | | 485 | 1.29k | if (!left_is_const && !right_is_const) { | 486 | 1.25k | auto col_res = ColumnUInt8::create(); | 487 | | | 488 | 1.25k | ColumnUInt8::Container& vec_res = col_res->get_data(); | 489 | 1.25k | vec_res.resize(col_left->get_data().size()); | 490 | 1.25k | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 491 | 1.25k | typename PrimitiveTypeTraits<PT>::CppType, | 492 | 1.25k | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 493 | 1.25k | vec_res); | 494 | | | 495 | 1.25k | block.replace_by_position(result, std::move(col_res)); | 496 | 1.25k | } else if (!left_is_const && right_is_const) { | 497 | 41 | auto col_res = ColumnUInt8::create(); | 498 | | | 499 | 41 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 500 | 41 | vec_res.resize(col_left->size()); | 501 | 41 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 502 | 41 | typename PrimitiveTypeTraits<PT>::CppType, | 503 | 41 | Op<PT>>::vector_constant(col_left->get_data(), | 504 | 41 | col_right->get_element(0), vec_res); | 505 | | | 506 | 41 | block.replace_by_position(result, std::move(col_res)); | 507 | 41 | } else if (left_is_const && !right_is_const) { | 508 | 0 | auto col_res = ColumnUInt8::create(); | 509 | |
| 510 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 511 | 0 | vec_res.resize(col_right->size()); | 512 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 513 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 514 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 515 | 0 | col_right->get_data(), vec_res); | 516 | |
| 517 | 0 | block.replace_by_position(result, std::move(col_res)); | 518 | 0 | } | 519 | 1.29k | return Status::OK(); | 520 | 1.29k | } |
_ZNK5doris18FunctionComparisonINS_9GreaterOpENS_11NameGreaterEE16execute_num_typeILNS_13PrimitiveTypeE26EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 476 | 2 | const ColumnPtr& col_right_ptr) const { | 477 | 2 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 478 | 2 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 479 | | | 480 | 2 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 481 | 2 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 482 | | | 483 | 2 | DCHECK(!(left_is_const && right_is_const)); | 484 | | | 485 | 2 | if (!left_is_const && !right_is_const) { | 486 | 0 | auto col_res = ColumnUInt8::create(); | 487 | |
| 488 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 489 | 0 | vec_res.resize(col_left->get_data().size()); | 490 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 491 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 492 | 0 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 493 | 0 | vec_res); | 494 | |
| 495 | 0 | block.replace_by_position(result, std::move(col_res)); | 496 | 2 | } else if (!left_is_const && right_is_const) { | 497 | 2 | auto col_res = ColumnUInt8::create(); | 498 | | | 499 | 2 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 500 | 2 | vec_res.resize(col_left->size()); | 501 | 2 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 502 | 2 | typename PrimitiveTypeTraits<PT>::CppType, | 503 | 2 | Op<PT>>::vector_constant(col_left->get_data(), | 504 | 2 | col_right->get_element(0), vec_res); | 505 | | | 506 | 2 | block.replace_by_position(result, std::move(col_res)); | 507 | 2 | } else if (left_is_const && !right_is_const) { | 508 | 0 | auto col_res = ColumnUInt8::create(); | 509 | |
| 510 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 511 | 0 | vec_res.resize(col_right->size()); | 512 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 513 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 514 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 515 | 0 | col_right->get_data(), vec_res); | 516 | |
| 517 | 0 | block.replace_by_position(result, std::move(col_res)); | 518 | 0 | } | 519 | 2 | return Status::OK(); | 520 | 2 | } |
_ZNK5doris18FunctionComparisonINS_9GreaterOpENS_11NameGreaterEE16execute_num_typeILNS_13PrimitiveTypeE42EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 476 | 1 | const ColumnPtr& col_right_ptr) const { | 477 | 1 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 478 | 1 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 479 | | | 480 | 1 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 481 | 1 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 482 | | | 483 | 1 | DCHECK(!(left_is_const && right_is_const)); | 484 | | | 485 | 1 | if (!left_is_const && !right_is_const) { | 486 | 1 | auto col_res = ColumnUInt8::create(); | 487 | | | 488 | 1 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 489 | 1 | vec_res.resize(col_left->get_data().size()); | 490 | 1 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 491 | 1 | typename PrimitiveTypeTraits<PT>::CppType, | 492 | 1 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 493 | 1 | vec_res); | 494 | | | 495 | 1 | block.replace_by_position(result, std::move(col_res)); | 496 | 1 | } else if (!left_is_const && right_is_const) { | 497 | 0 | auto col_res = ColumnUInt8::create(); | 498 | |
| 499 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 500 | 0 | vec_res.resize(col_left->size()); | 501 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 502 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 503 | 0 | Op<PT>>::vector_constant(col_left->get_data(), | 504 | 0 | col_right->get_element(0), vec_res); | 505 | |
| 506 | 0 | block.replace_by_position(result, std::move(col_res)); | 507 | 0 | } else if (left_is_const && !right_is_const) { | 508 | 0 | auto col_res = ColumnUInt8::create(); | 509 | |
| 510 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 511 | 0 | vec_res.resize(col_right->size()); | 512 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 513 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 514 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 515 | 0 | col_right->get_data(), vec_res); | 516 | |
| 517 | 0 | block.replace_by_position(result, std::move(col_res)); | 518 | 0 | } | 519 | 1 | return Status::OK(); | 520 | 1 | } |
_ZNK5doris18FunctionComparisonINS_9GreaterOpENS_11NameGreaterEE16execute_num_typeILNS_13PrimitiveTypeE3EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 476 | 1.17k | const ColumnPtr& col_right_ptr) const { | 477 | 1.17k | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 478 | 1.17k | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 479 | | | 480 | 1.17k | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 481 | 1.17k | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 482 | | | 483 | 1.17k | DCHECK(!(left_is_const && right_is_const)); | 484 | | | 485 | 1.17k | if (!left_is_const && !right_is_const) { | 486 | 40 | auto col_res = ColumnUInt8::create(); | 487 | | | 488 | 40 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 489 | 40 | vec_res.resize(col_left->get_data().size()); | 490 | 40 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 491 | 40 | typename PrimitiveTypeTraits<PT>::CppType, | 492 | 40 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 493 | 40 | vec_res); | 494 | | | 495 | 40 | block.replace_by_position(result, std::move(col_res)); | 496 | 1.13k | } else if (!left_is_const && right_is_const) { | 497 | 870 | auto col_res = ColumnUInt8::create(); | 498 | | | 499 | 870 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 500 | 870 | vec_res.resize(col_left->size()); | 501 | 870 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 502 | 870 | typename PrimitiveTypeTraits<PT>::CppType, | 503 | 870 | Op<PT>>::vector_constant(col_left->get_data(), | 504 | 870 | col_right->get_element(0), vec_res); | 505 | | | 506 | 870 | block.replace_by_position(result, std::move(col_res)); | 507 | 870 | } else if (left_is_const && !right_is_const) { | 508 | 264 | auto col_res = ColumnUInt8::create(); | 509 | | | 510 | 264 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 511 | 264 | vec_res.resize(col_right->size()); | 512 | 264 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 513 | 264 | typename PrimitiveTypeTraits<PT>::CppType, | 514 | 264 | Op<PT>>::constant_vector(col_left->get_element(0), | 515 | 264 | col_right->get_data(), vec_res); | 516 | | | 517 | 264 | block.replace_by_position(result, std::move(col_res)); | 518 | 264 | } | 519 | 1.17k | return Status::OK(); | 520 | 1.17k | } |
_ZNK5doris18FunctionComparisonINS_9GreaterOpENS_11NameGreaterEE16execute_num_typeILNS_13PrimitiveTypeE4EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 476 | 1.81k | const ColumnPtr& col_right_ptr) const { | 477 | 1.81k | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 478 | 1.81k | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 479 | | | 480 | 1.81k | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 481 | 1.81k | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 482 | | | 483 | 1.81k | DCHECK(!(left_is_const && right_is_const)); | 484 | | | 485 | 1.81k | if (!left_is_const && !right_is_const) { | 486 | 112 | auto col_res = ColumnUInt8::create(); | 487 | | | 488 | 112 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 489 | 112 | vec_res.resize(col_left->get_data().size()); | 490 | 112 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 491 | 112 | typename PrimitiveTypeTraits<PT>::CppType, | 492 | 112 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 493 | 112 | vec_res); | 494 | | | 495 | 112 | block.replace_by_position(result, std::move(col_res)); | 496 | 1.70k | } else if (!left_is_const && right_is_const) { | 497 | 1.45k | auto col_res = ColumnUInt8::create(); | 498 | | | 499 | 1.45k | ColumnUInt8::Container& vec_res = col_res->get_data(); | 500 | 1.45k | vec_res.resize(col_left->size()); | 501 | 1.45k | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 502 | 1.45k | typename PrimitiveTypeTraits<PT>::CppType, | 503 | 1.45k | Op<PT>>::vector_constant(col_left->get_data(), | 504 | 1.45k | col_right->get_element(0), vec_res); | 505 | | | 506 | 1.45k | block.replace_by_position(result, std::move(col_res)); | 507 | 1.45k | } else if (left_is_const && !right_is_const) { | 508 | 251 | auto col_res = ColumnUInt8::create(); | 509 | | | 510 | 251 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 511 | 251 | vec_res.resize(col_right->size()); | 512 | 251 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 513 | 251 | typename PrimitiveTypeTraits<PT>::CppType, | 514 | 251 | Op<PT>>::constant_vector(col_left->get_element(0), | 515 | 251 | col_right->get_data(), vec_res); | 516 | | | 517 | 251 | block.replace_by_position(result, std::move(col_res)); | 518 | 251 | } | 519 | 1.81k | return Status::OK(); | 520 | 1.81k | } |
_ZNK5doris18FunctionComparisonINS_9GreaterOpENS_11NameGreaterEE16execute_num_typeILNS_13PrimitiveTypeE5EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 476 | 66.7k | const ColumnPtr& col_right_ptr) const { | 477 | 66.7k | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 478 | 66.7k | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 479 | | | 480 | 66.7k | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 481 | 66.7k | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 482 | | | 483 | 66.7k | DCHECK(!(left_is_const && right_is_const)); | 484 | | | 485 | 66.7k | if (!left_is_const && !right_is_const) { | 486 | 31 | auto col_res = ColumnUInt8::create(); | 487 | | | 488 | 31 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 489 | 31 | vec_res.resize(col_left->get_data().size()); | 490 | 31 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 491 | 31 | typename PrimitiveTypeTraits<PT>::CppType, | 492 | 31 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 493 | 31 | vec_res); | 494 | | | 495 | 31 | block.replace_by_position(result, std::move(col_res)); | 496 | 66.7k | } else if (!left_is_const && right_is_const) { | 497 | 4.54k | auto col_res = ColumnUInt8::create(); | 498 | | | 499 | 4.54k | ColumnUInt8::Container& vec_res = col_res->get_data(); | 500 | 4.54k | vec_res.resize(col_left->size()); | 501 | 4.54k | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 502 | 4.54k | typename PrimitiveTypeTraits<PT>::CppType, | 503 | 4.54k | Op<PT>>::vector_constant(col_left->get_data(), | 504 | 4.54k | col_right->get_element(0), vec_res); | 505 | | | 506 | 4.54k | block.replace_by_position(result, std::move(col_res)); | 507 | 62.1k | } else if (left_is_const && !right_is_const) { | 508 | 62.1k | auto col_res = ColumnUInt8::create(); | 509 | | | 510 | 62.1k | ColumnUInt8::Container& vec_res = col_res->get_data(); | 511 | 62.1k | vec_res.resize(col_right->size()); | 512 | 62.1k | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 513 | 62.1k | typename PrimitiveTypeTraits<PT>::CppType, | 514 | 62.1k | Op<PT>>::constant_vector(col_left->get_element(0), | 515 | 62.1k | col_right->get_data(), vec_res); | 516 | | | 517 | 62.1k | block.replace_by_position(result, std::move(col_res)); | 518 | 62.1k | } | 519 | 66.7k | return Status::OK(); | 520 | 66.7k | } |
_ZNK5doris18FunctionComparisonINS_9GreaterOpENS_11NameGreaterEE16execute_num_typeILNS_13PrimitiveTypeE6EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 476 | 1.74k | const ColumnPtr& col_right_ptr) const { | 477 | 1.74k | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 478 | 1.74k | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 479 | | | 480 | 1.74k | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 481 | 1.74k | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 482 | | | 483 | 1.74k | DCHECK(!(left_is_const && right_is_const)); | 484 | | | 485 | 1.74k | if (!left_is_const && !right_is_const) { | 486 | 62 | auto col_res = ColumnUInt8::create(); | 487 | | | 488 | 62 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 489 | 62 | vec_res.resize(col_left->get_data().size()); | 490 | 62 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 491 | 62 | typename PrimitiveTypeTraits<PT>::CppType, | 492 | 62 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 493 | 62 | vec_res); | 494 | | | 495 | 62 | block.replace_by_position(result, std::move(col_res)); | 496 | 1.68k | } else if (!left_is_const && right_is_const) { | 497 | 1.16k | auto col_res = ColumnUInt8::create(); | 498 | | | 499 | 1.16k | ColumnUInt8::Container& vec_res = col_res->get_data(); | 500 | 1.16k | vec_res.resize(col_left->size()); | 501 | 1.16k | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 502 | 1.16k | typename PrimitiveTypeTraits<PT>::CppType, | 503 | 1.16k | Op<PT>>::vector_constant(col_left->get_data(), | 504 | 1.16k | col_right->get_element(0), vec_res); | 505 | | | 506 | 1.16k | block.replace_by_position(result, std::move(col_res)); | 507 | 1.16k | } else if (left_is_const && !right_is_const) { | 508 | 514 | auto col_res = ColumnUInt8::create(); | 509 | | | 510 | 514 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 511 | 514 | vec_res.resize(col_right->size()); | 512 | 514 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 513 | 514 | typename PrimitiveTypeTraits<PT>::CppType, | 514 | 514 | Op<PT>>::constant_vector(col_left->get_element(0), | 515 | 514 | col_right->get_data(), vec_res); | 516 | | | 517 | 514 | block.replace_by_position(result, std::move(col_res)); | 518 | 514 | } | 519 | 1.74k | return Status::OK(); | 520 | 1.74k | } |
_ZNK5doris18FunctionComparisonINS_9GreaterOpENS_11NameGreaterEE16execute_num_typeILNS_13PrimitiveTypeE7EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 476 | 248 | const ColumnPtr& col_right_ptr) const { | 477 | 248 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 478 | 248 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 479 | | | 480 | 248 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 481 | 248 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 482 | | | 483 | 248 | DCHECK(!(left_is_const && right_is_const)); | 484 | | | 485 | 248 | if (!left_is_const && !right_is_const) { | 486 | 2 | auto col_res = ColumnUInt8::create(); | 487 | | | 488 | 2 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 489 | 2 | vec_res.resize(col_left->get_data().size()); | 490 | 2 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 491 | 2 | typename PrimitiveTypeTraits<PT>::CppType, | 492 | 2 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 493 | 2 | vec_res); | 494 | | | 495 | 2 | block.replace_by_position(result, std::move(col_res)); | 496 | 246 | } else if (!left_is_const && right_is_const) { | 497 | 201 | auto col_res = ColumnUInt8::create(); | 498 | | | 499 | 201 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 500 | 201 | vec_res.resize(col_left->size()); | 501 | 201 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 502 | 201 | typename PrimitiveTypeTraits<PT>::CppType, | 503 | 201 | Op<PT>>::vector_constant(col_left->get_data(), | 504 | 201 | col_right->get_element(0), vec_res); | 505 | | | 506 | 201 | block.replace_by_position(result, std::move(col_res)); | 507 | 201 | } else if (left_is_const && !right_is_const) { | 508 | 45 | auto col_res = ColumnUInt8::create(); | 509 | | | 510 | 45 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 511 | 45 | vec_res.resize(col_right->size()); | 512 | 45 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 513 | 45 | typename PrimitiveTypeTraits<PT>::CppType, | 514 | 45 | Op<PT>>::constant_vector(col_left->get_element(0), | 515 | 45 | col_right->get_data(), vec_res); | 516 | | | 517 | 45 | block.replace_by_position(result, std::move(col_res)); | 518 | 45 | } | 519 | 248 | return Status::OK(); | 520 | 248 | } |
_ZNK5doris18FunctionComparisonINS_9GreaterOpENS_11NameGreaterEE16execute_num_typeILNS_13PrimitiveTypeE36EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 476 | 4 | const ColumnPtr& col_right_ptr) const { | 477 | 4 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 478 | 4 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 479 | | | 480 | 4 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 481 | 4 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 482 | | | 483 | 4 | DCHECK(!(left_is_const && right_is_const)); | 484 | | | 485 | 4 | if (!left_is_const && !right_is_const) { | 486 | 1 | auto col_res = ColumnUInt8::create(); | 487 | | | 488 | 1 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 489 | 1 | vec_res.resize(col_left->get_data().size()); | 490 | 1 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 491 | 1 | typename PrimitiveTypeTraits<PT>::CppType, | 492 | 1 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 493 | 1 | vec_res); | 494 | | | 495 | 1 | block.replace_by_position(result, std::move(col_res)); | 496 | 3 | } else if (!left_is_const && right_is_const) { | 497 | 3 | auto col_res = ColumnUInt8::create(); | 498 | | | 499 | 3 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 500 | 3 | vec_res.resize(col_left->size()); | 501 | 3 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 502 | 3 | typename PrimitiveTypeTraits<PT>::CppType, | 503 | 3 | Op<PT>>::vector_constant(col_left->get_data(), | 504 | 3 | col_right->get_element(0), vec_res); | 505 | | | 506 | 3 | block.replace_by_position(result, std::move(col_res)); | 507 | 3 | } else if (left_is_const && !right_is_const) { | 508 | 0 | auto col_res = ColumnUInt8::create(); | 509 | |
| 510 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 511 | 0 | vec_res.resize(col_right->size()); | 512 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 513 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 514 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 515 | 0 | col_right->get_data(), vec_res); | 516 | |
| 517 | 0 | block.replace_by_position(result, std::move(col_res)); | 518 | 0 | } | 519 | 4 | return Status::OK(); | 520 | 4 | } |
_ZNK5doris18FunctionComparisonINS_9GreaterOpENS_11NameGreaterEE16execute_num_typeILNS_13PrimitiveTypeE37EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 476 | 1 | const ColumnPtr& col_right_ptr) const { | 477 | 1 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 478 | 1 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 479 | | | 480 | 1 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 481 | 1 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 482 | | | 483 | 1 | DCHECK(!(left_is_const && right_is_const)); | 484 | | | 485 | 1 | if (!left_is_const && !right_is_const) { | 486 | 1 | auto col_res = ColumnUInt8::create(); | 487 | | | 488 | 1 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 489 | 1 | vec_res.resize(col_left->get_data().size()); | 490 | 1 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 491 | 1 | typename PrimitiveTypeTraits<PT>::CppType, | 492 | 1 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 493 | 1 | vec_res); | 494 | | | 495 | 1 | block.replace_by_position(result, std::move(col_res)); | 496 | 1 | } else if (!left_is_const && right_is_const) { | 497 | 0 | auto col_res = ColumnUInt8::create(); | 498 | |
| 499 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 500 | 0 | vec_res.resize(col_left->size()); | 501 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 502 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 503 | 0 | Op<PT>>::vector_constant(col_left->get_data(), | 504 | 0 | col_right->get_element(0), vec_res); | 505 | |
| 506 | 0 | block.replace_by_position(result, std::move(col_res)); | 507 | 0 | } else if (left_is_const && !right_is_const) { | 508 | 0 | auto col_res = ColumnUInt8::create(); | 509 | |
| 510 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 511 | 0 | vec_res.resize(col_right->size()); | 512 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 513 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 514 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 515 | 0 | col_right->get_data(), vec_res); | 516 | |
| 517 | 0 | block.replace_by_position(result, std::move(col_res)); | 518 | 0 | } | 519 | 1 | return Status::OK(); | 520 | 1 | } |
_ZNK5doris18FunctionComparisonINS_9GreaterOpENS_11NameGreaterEE16execute_num_typeILNS_13PrimitiveTypeE8EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 476 | 220 | const ColumnPtr& col_right_ptr) const { | 477 | 220 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 478 | 220 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 479 | | | 480 | 220 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 481 | 220 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 482 | | | 483 | 220 | DCHECK(!(left_is_const && right_is_const)); | 484 | | | 485 | 220 | if (!left_is_const && !right_is_const) { | 486 | 20 | auto col_res = ColumnUInt8::create(); | 487 | | | 488 | 20 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 489 | 20 | vec_res.resize(col_left->get_data().size()); | 490 | 20 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 491 | 20 | typename PrimitiveTypeTraits<PT>::CppType, | 492 | 20 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 493 | 20 | vec_res); | 494 | | | 495 | 20 | block.replace_by_position(result, std::move(col_res)); | 496 | 200 | } else if (!left_is_const && right_is_const) { | 497 | 200 | auto col_res = ColumnUInt8::create(); | 498 | | | 499 | 200 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 500 | 200 | vec_res.resize(col_left->size()); | 501 | 200 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 502 | 200 | typename PrimitiveTypeTraits<PT>::CppType, | 503 | 200 | Op<PT>>::vector_constant(col_left->get_data(), | 504 | 200 | col_right->get_element(0), vec_res); | 505 | | | 506 | 200 | block.replace_by_position(result, std::move(col_res)); | 507 | 200 | } else if (left_is_const && !right_is_const) { | 508 | 0 | auto col_res = ColumnUInt8::create(); | 509 | |
| 510 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 511 | 0 | vec_res.resize(col_right->size()); | 512 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 513 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 514 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 515 | 0 | col_right->get_data(), vec_res); | 516 | |
| 517 | 0 | block.replace_by_position(result, std::move(col_res)); | 518 | 0 | } | 519 | 220 | return Status::OK(); | 520 | 220 | } |
_ZNK5doris18FunctionComparisonINS_9GreaterOpENS_11NameGreaterEE16execute_num_typeILNS_13PrimitiveTypeE9EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 476 | 534 | const ColumnPtr& col_right_ptr) const { | 477 | 534 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 478 | 534 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 479 | | | 480 | 534 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 481 | 534 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 482 | | | 483 | 534 | DCHECK(!(left_is_const && right_is_const)); | 484 | | | 485 | 535 | if (!left_is_const && !right_is_const) { | 486 | 30 | auto col_res = ColumnUInt8::create(); | 487 | | | 488 | 30 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 489 | 30 | vec_res.resize(col_left->get_data().size()); | 490 | 30 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 491 | 30 | typename PrimitiveTypeTraits<PT>::CppType, | 492 | 30 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 493 | 30 | vec_res); | 494 | | | 495 | 30 | block.replace_by_position(result, std::move(col_res)); | 496 | 504 | } else if (!left_is_const && right_is_const) { | 497 | 504 | auto col_res = ColumnUInt8::create(); | 498 | | | 499 | 504 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 500 | 504 | vec_res.resize(col_left->size()); | 501 | 504 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 502 | 504 | typename PrimitiveTypeTraits<PT>::CppType, | 503 | 504 | Op<PT>>::vector_constant(col_left->get_data(), | 504 | 504 | col_right->get_element(0), vec_res); | 505 | | | 506 | 504 | block.replace_by_position(result, std::move(col_res)); | 507 | 504 | } else if (left_is_const && !right_is_const) { | 508 | 0 | auto col_res = ColumnUInt8::create(); | 509 | |
| 510 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 511 | 0 | vec_res.resize(col_right->size()); | 512 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 513 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 514 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 515 | 0 | col_right->get_data(), vec_res); | 516 | |
| 517 | 0 | block.replace_by_position(result, std::move(col_res)); | 518 | 0 | } | 519 | 534 | return Status::OK(); | 520 | 534 | } |
Unexecuted instantiation: _ZNK5doris18FunctionComparisonINS_9GreaterOpENS_11NameGreaterEE16execute_num_typeILNS_13PrimitiveTypeE27EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ _ZNK5doris18FunctionComparisonINS_17GreaterOrEqualsOpENS_19NameGreaterOrEqualsEE16execute_num_typeILNS_13PrimitiveTypeE2EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 476 | 27 | const ColumnPtr& col_right_ptr) const { | 477 | 27 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 478 | 27 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 479 | | | 480 | 27 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 481 | 27 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 482 | | | 483 | 27 | DCHECK(!(left_is_const && right_is_const)); | 484 | | | 485 | 27 | if (!left_is_const && !right_is_const) { | 486 | 0 | auto col_res = ColumnUInt8::create(); | 487 | |
| 488 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 489 | 0 | vec_res.resize(col_left->get_data().size()); | 490 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 491 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 492 | 0 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 493 | 0 | vec_res); | 494 | |
| 495 | 0 | block.replace_by_position(result, std::move(col_res)); | 496 | 27 | } else if (!left_is_const && right_is_const) { | 497 | 27 | auto col_res = ColumnUInt8::create(); | 498 | | | 499 | 27 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 500 | 27 | vec_res.resize(col_left->size()); | 501 | 27 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 502 | 27 | typename PrimitiveTypeTraits<PT>::CppType, | 503 | 27 | Op<PT>>::vector_constant(col_left->get_data(), | 504 | 27 | col_right->get_element(0), vec_res); | 505 | | | 506 | 27 | block.replace_by_position(result, std::move(col_res)); | 507 | 27 | } else if (left_is_const && !right_is_const) { | 508 | 0 | auto col_res = ColumnUInt8::create(); | 509 | |
| 510 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 511 | 0 | vec_res.resize(col_right->size()); | 512 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 513 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 514 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 515 | 0 | col_right->get_data(), vec_res); | 516 | |
| 517 | 0 | block.replace_by_position(result, std::move(col_res)); | 518 | 0 | } | 519 | 27 | return Status::OK(); | 520 | 27 | } |
_ZNK5doris18FunctionComparisonINS_17GreaterOrEqualsOpENS_19NameGreaterOrEqualsEE16execute_num_typeILNS_13PrimitiveTypeE25EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 476 | 493 | const ColumnPtr& col_right_ptr) const { | 477 | 493 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 478 | 493 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 479 | | | 480 | 493 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 481 | 493 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 482 | | | 483 | 493 | DCHECK(!(left_is_const && right_is_const)); | 484 | | | 485 | 493 | if (!left_is_const && !right_is_const) { | 486 | 1 | auto col_res = ColumnUInt8::create(); | 487 | | | 488 | 1 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 489 | 1 | vec_res.resize(col_left->get_data().size()); | 490 | 1 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 491 | 1 | typename PrimitiveTypeTraits<PT>::CppType, | 492 | 1 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 493 | 1 | vec_res); | 494 | | | 495 | 1 | block.replace_by_position(result, std::move(col_res)); | 496 | 492 | } else if (!left_is_const && right_is_const) { | 497 | 486 | auto col_res = ColumnUInt8::create(); | 498 | | | 499 | 486 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 500 | 486 | vec_res.resize(col_left->size()); | 501 | 486 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 502 | 486 | typename PrimitiveTypeTraits<PT>::CppType, | 503 | 486 | Op<PT>>::vector_constant(col_left->get_data(), | 504 | 486 | col_right->get_element(0), vec_res); | 505 | | | 506 | 486 | block.replace_by_position(result, std::move(col_res)); | 507 | 486 | } else if (left_is_const && !right_is_const) { | 508 | 6 | auto col_res = ColumnUInt8::create(); | 509 | | | 510 | 6 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 511 | 6 | vec_res.resize(col_right->size()); | 512 | 6 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 513 | 6 | typename PrimitiveTypeTraits<PT>::CppType, | 514 | 6 | Op<PT>>::constant_vector(col_left->get_element(0), | 515 | 6 | col_right->get_data(), vec_res); | 516 | | | 517 | 6 | block.replace_by_position(result, std::move(col_res)); | 518 | 6 | } | 519 | 493 | return Status::OK(); | 520 | 493 | } |
_ZNK5doris18FunctionComparisonINS_17GreaterOrEqualsOpENS_19NameGreaterOrEqualsEE16execute_num_typeILNS_13PrimitiveTypeE26EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 476 | 145 | const ColumnPtr& col_right_ptr) const { | 477 | 145 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 478 | 145 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 479 | | | 480 | 145 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 481 | 145 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 482 | | | 483 | 145 | DCHECK(!(left_is_const && right_is_const)); | 484 | | | 485 | 145 | if (!left_is_const && !right_is_const) { | 486 | 6 | auto col_res = ColumnUInt8::create(); | 487 | | | 488 | 6 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 489 | 6 | vec_res.resize(col_left->get_data().size()); | 490 | 6 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 491 | 6 | typename PrimitiveTypeTraits<PT>::CppType, | 492 | 6 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 493 | 6 | vec_res); | 494 | | | 495 | 6 | block.replace_by_position(result, std::move(col_res)); | 496 | 139 | } else if (!left_is_const && right_is_const) { | 497 | 139 | auto col_res = ColumnUInt8::create(); | 498 | | | 499 | 139 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 500 | 139 | vec_res.resize(col_left->size()); | 501 | 139 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 502 | 139 | typename PrimitiveTypeTraits<PT>::CppType, | 503 | 139 | Op<PT>>::vector_constant(col_left->get_data(), | 504 | 139 | col_right->get_element(0), vec_res); | 505 | | | 506 | 139 | block.replace_by_position(result, std::move(col_res)); | 507 | 139 | } else if (left_is_const && !right_is_const) { | 508 | 0 | auto col_res = ColumnUInt8::create(); | 509 | |
| 510 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 511 | 0 | vec_res.resize(col_right->size()); | 512 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 513 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 514 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 515 | 0 | col_right->get_data(), vec_res); | 516 | |
| 517 | 0 | block.replace_by_position(result, std::move(col_res)); | 518 | 0 | } | 519 | 145 | return Status::OK(); | 520 | 145 | } |
_ZNK5doris18FunctionComparisonINS_17GreaterOrEqualsOpENS_19NameGreaterOrEqualsEE16execute_num_typeILNS_13PrimitiveTypeE42EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 476 | 1 | const ColumnPtr& col_right_ptr) const { | 477 | 1 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 478 | 1 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 479 | | | 480 | 1 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 481 | 1 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 482 | | | 483 | 1 | DCHECK(!(left_is_const && right_is_const)); | 484 | | | 485 | 1 | if (!left_is_const && !right_is_const) { | 486 | 1 | auto col_res = ColumnUInt8::create(); | 487 | | | 488 | 1 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 489 | 1 | vec_res.resize(col_left->get_data().size()); | 490 | 1 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 491 | 1 | typename PrimitiveTypeTraits<PT>::CppType, | 492 | 1 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 493 | 1 | vec_res); | 494 | | | 495 | 1 | block.replace_by_position(result, std::move(col_res)); | 496 | 1 | } else if (!left_is_const && right_is_const) { | 497 | 0 | auto col_res = ColumnUInt8::create(); | 498 | |
| 499 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 500 | 0 | vec_res.resize(col_left->size()); | 501 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 502 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 503 | 0 | Op<PT>>::vector_constant(col_left->get_data(), | 504 | 0 | col_right->get_element(0), vec_res); | 505 | |
| 506 | 0 | block.replace_by_position(result, std::move(col_res)); | 507 | 0 | } else if (left_is_const && !right_is_const) { | 508 | 0 | auto col_res = ColumnUInt8::create(); | 509 | |
| 510 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 511 | 0 | vec_res.resize(col_right->size()); | 512 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 513 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 514 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 515 | 0 | col_right->get_data(), vec_res); | 516 | |
| 517 | 0 | block.replace_by_position(result, std::move(col_res)); | 518 | 0 | } | 519 | 1 | return Status::OK(); | 520 | 1 | } |
_ZNK5doris18FunctionComparisonINS_17GreaterOrEqualsOpENS_19NameGreaterOrEqualsEE16execute_num_typeILNS_13PrimitiveTypeE3EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 476 | 67 | const ColumnPtr& col_right_ptr) const { | 477 | 67 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 478 | 67 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 479 | | | 480 | 67 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 481 | 67 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 482 | | | 483 | 67 | DCHECK(!(left_is_const && right_is_const)); | 484 | | | 485 | 67 | if (!left_is_const && !right_is_const) { | 486 | 0 | auto col_res = ColumnUInt8::create(); | 487 | |
| 488 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 489 | 0 | vec_res.resize(col_left->get_data().size()); | 490 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 491 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 492 | 0 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 493 | 0 | vec_res); | 494 | |
| 495 | 0 | block.replace_by_position(result, std::move(col_res)); | 496 | 67 | } else if (!left_is_const && right_is_const) { | 497 | 67 | auto col_res = ColumnUInt8::create(); | 498 | | | 499 | 67 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 500 | 67 | vec_res.resize(col_left->size()); | 501 | 67 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 502 | 67 | typename PrimitiveTypeTraits<PT>::CppType, | 503 | 67 | Op<PT>>::vector_constant(col_left->get_data(), | 504 | 67 | col_right->get_element(0), vec_res); | 505 | | | 506 | 67 | block.replace_by_position(result, std::move(col_res)); | 507 | 67 | } else if (left_is_const && !right_is_const) { | 508 | 0 | auto col_res = ColumnUInt8::create(); | 509 | |
| 510 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 511 | 0 | vec_res.resize(col_right->size()); | 512 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 513 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 514 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 515 | 0 | col_right->get_data(), vec_res); | 516 | |
| 517 | 0 | block.replace_by_position(result, std::move(col_res)); | 518 | 0 | } | 519 | 67 | return Status::OK(); | 520 | 67 | } |
_ZNK5doris18FunctionComparisonINS_17GreaterOrEqualsOpENS_19NameGreaterOrEqualsEE16execute_num_typeILNS_13PrimitiveTypeE4EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 476 | 107 | const ColumnPtr& col_right_ptr) const { | 477 | 107 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 478 | 107 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 479 | | | 480 | 107 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 481 | 107 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 482 | | | 483 | 107 | DCHECK(!(left_is_const && right_is_const)); | 484 | | | 485 | 107 | if (!left_is_const && !right_is_const) { | 486 | 0 | auto col_res = ColumnUInt8::create(); | 487 | |
| 488 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 489 | 0 | vec_res.resize(col_left->get_data().size()); | 490 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 491 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 492 | 0 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 493 | 0 | vec_res); | 494 | |
| 495 | 0 | block.replace_by_position(result, std::move(col_res)); | 496 | 107 | } else if (!left_is_const && right_is_const) { | 497 | 107 | auto col_res = ColumnUInt8::create(); | 498 | | | 499 | 107 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 500 | 107 | vec_res.resize(col_left->size()); | 501 | 107 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 502 | 107 | typename PrimitiveTypeTraits<PT>::CppType, | 503 | 107 | Op<PT>>::vector_constant(col_left->get_data(), | 504 | 107 | col_right->get_element(0), vec_res); | 505 | | | 506 | 107 | block.replace_by_position(result, std::move(col_res)); | 507 | 107 | } else if (left_is_const && !right_is_const) { | 508 | 0 | auto col_res = ColumnUInt8::create(); | 509 | |
| 510 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 511 | 0 | vec_res.resize(col_right->size()); | 512 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 513 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 514 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 515 | 0 | col_right->get_data(), vec_res); | 516 | |
| 517 | 0 | block.replace_by_position(result, std::move(col_res)); | 518 | 0 | } | 519 | 107 | return Status::OK(); | 520 | 107 | } |
_ZNK5doris18FunctionComparisonINS_17GreaterOrEqualsOpENS_19NameGreaterOrEqualsEE16execute_num_typeILNS_13PrimitiveTypeE5EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 476 | 1.34k | const ColumnPtr& col_right_ptr) const { | 477 | 1.34k | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 478 | 1.34k | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 479 | | | 480 | 1.34k | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 481 | 1.34k | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 482 | | | 483 | 1.34k | DCHECK(!(left_is_const && right_is_const)); | 484 | | | 485 | 1.34k | if (!left_is_const && !right_is_const) { | 486 | 3 | auto col_res = ColumnUInt8::create(); | 487 | | | 488 | 3 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 489 | 3 | vec_res.resize(col_left->get_data().size()); | 490 | 3 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 491 | 3 | typename PrimitiveTypeTraits<PT>::CppType, | 492 | 3 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 493 | 3 | vec_res); | 494 | | | 495 | 3 | block.replace_by_position(result, std::move(col_res)); | 496 | 1.34k | } else if (!left_is_const && right_is_const) { | 497 | 1.34k | auto col_res = ColumnUInt8::create(); | 498 | | | 499 | 1.34k | ColumnUInt8::Container& vec_res = col_res->get_data(); | 500 | 1.34k | vec_res.resize(col_left->size()); | 501 | 1.34k | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 502 | 1.34k | typename PrimitiveTypeTraits<PT>::CppType, | 503 | 1.34k | Op<PT>>::vector_constant(col_left->get_data(), | 504 | 1.34k | col_right->get_element(0), vec_res); | 505 | | | 506 | 1.34k | block.replace_by_position(result, std::move(col_res)); | 507 | 1.34k | } else if (left_is_const && !right_is_const) { | 508 | 0 | auto col_res = ColumnUInt8::create(); | 509 | |
| 510 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 511 | 0 | vec_res.resize(col_right->size()); | 512 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 513 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 514 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 515 | 0 | col_right->get_data(), vec_res); | 516 | |
| 517 | 0 | block.replace_by_position(result, std::move(col_res)); | 518 | 0 | } | 519 | 1.34k | return Status::OK(); | 520 | 1.34k | } |
_ZNK5doris18FunctionComparisonINS_17GreaterOrEqualsOpENS_19NameGreaterOrEqualsEE16execute_num_typeILNS_13PrimitiveTypeE6EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 476 | 200 | const ColumnPtr& col_right_ptr) const { | 477 | 200 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 478 | 200 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 479 | | | 480 | 200 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 481 | 200 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 482 | | | 483 | 200 | DCHECK(!(left_is_const && right_is_const)); | 484 | | | 485 | 200 | if (!left_is_const && !right_is_const) { | 486 | 9 | auto col_res = ColumnUInt8::create(); | 487 | | | 488 | 9 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 489 | 9 | vec_res.resize(col_left->get_data().size()); | 490 | 9 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 491 | 9 | typename PrimitiveTypeTraits<PT>::CppType, | 492 | 9 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 493 | 9 | vec_res); | 494 | | | 495 | 9 | block.replace_by_position(result, std::move(col_res)); | 496 | 191 | } else if (!left_is_const && right_is_const) { | 497 | 191 | auto col_res = ColumnUInt8::create(); | 498 | | | 499 | 191 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 500 | 191 | vec_res.resize(col_left->size()); | 501 | 191 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 502 | 191 | typename PrimitiveTypeTraits<PT>::CppType, | 503 | 191 | Op<PT>>::vector_constant(col_left->get_data(), | 504 | 191 | col_right->get_element(0), vec_res); | 505 | | | 506 | 191 | block.replace_by_position(result, std::move(col_res)); | 507 | 191 | } else if (left_is_const && !right_is_const) { | 508 | 0 | auto col_res = ColumnUInt8::create(); | 509 | |
| 510 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 511 | 0 | vec_res.resize(col_right->size()); | 512 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 513 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 514 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 515 | 0 | col_right->get_data(), vec_res); | 516 | |
| 517 | 0 | block.replace_by_position(result, std::move(col_res)); | 518 | 0 | } | 519 | 200 | return Status::OK(); | 520 | 200 | } |
_ZNK5doris18FunctionComparisonINS_17GreaterOrEqualsOpENS_19NameGreaterOrEqualsEE16execute_num_typeILNS_13PrimitiveTypeE7EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 476 | 32 | const ColumnPtr& col_right_ptr) const { | 477 | 32 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 478 | 32 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 479 | | | 480 | 32 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 481 | 32 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 482 | | | 483 | 32 | DCHECK(!(left_is_const && right_is_const)); | 484 | | | 485 | 32 | if (!left_is_const && !right_is_const) { | 486 | 0 | auto col_res = ColumnUInt8::create(); | 487 | |
| 488 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 489 | 0 | vec_res.resize(col_left->get_data().size()); | 490 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 491 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 492 | 0 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 493 | 0 | vec_res); | 494 | |
| 495 | 0 | block.replace_by_position(result, std::move(col_res)); | 496 | 32 | } else if (!left_is_const && right_is_const) { | 497 | 32 | auto col_res = ColumnUInt8::create(); | 498 | | | 499 | 32 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 500 | 32 | vec_res.resize(col_left->size()); | 501 | 32 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 502 | 32 | typename PrimitiveTypeTraits<PT>::CppType, | 503 | 32 | Op<PT>>::vector_constant(col_left->get_data(), | 504 | 32 | col_right->get_element(0), vec_res); | 505 | | | 506 | 32 | block.replace_by_position(result, std::move(col_res)); | 507 | 32 | } else if (left_is_const && !right_is_const) { | 508 | 0 | auto col_res = ColumnUInt8::create(); | 509 | |
| 510 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 511 | 0 | vec_res.resize(col_right->size()); | 512 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 513 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 514 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 515 | 0 | col_right->get_data(), vec_res); | 516 | |
| 517 | 0 | block.replace_by_position(result, std::move(col_res)); | 518 | 0 | } | 519 | 32 | return Status::OK(); | 520 | 32 | } |
_ZNK5doris18FunctionComparisonINS_17GreaterOrEqualsOpENS_19NameGreaterOrEqualsEE16execute_num_typeILNS_13PrimitiveTypeE36EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 476 | 1 | const ColumnPtr& col_right_ptr) const { | 477 | 1 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 478 | 1 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 479 | | | 480 | 1 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 481 | 1 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 482 | | | 483 | 1 | DCHECK(!(left_is_const && right_is_const)); | 484 | | | 485 | 1 | if (!left_is_const && !right_is_const) { | 486 | 1 | auto col_res = ColumnUInt8::create(); | 487 | | | 488 | 1 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 489 | 1 | vec_res.resize(col_left->get_data().size()); | 490 | 1 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 491 | 1 | typename PrimitiveTypeTraits<PT>::CppType, | 492 | 1 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 493 | 1 | vec_res); | 494 | | | 495 | 1 | block.replace_by_position(result, std::move(col_res)); | 496 | 1 | } else if (!left_is_const && right_is_const) { | 497 | 0 | auto col_res = ColumnUInt8::create(); | 498 | |
| 499 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 500 | 0 | vec_res.resize(col_left->size()); | 501 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 502 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 503 | 0 | Op<PT>>::vector_constant(col_left->get_data(), | 504 | 0 | col_right->get_element(0), vec_res); | 505 | |
| 506 | 0 | block.replace_by_position(result, std::move(col_res)); | 507 | 0 | } else if (left_is_const && !right_is_const) { | 508 | 0 | auto col_res = ColumnUInt8::create(); | 509 | |
| 510 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 511 | 0 | vec_res.resize(col_right->size()); | 512 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 513 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 514 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 515 | 0 | col_right->get_data(), vec_res); | 516 | |
| 517 | 0 | block.replace_by_position(result, std::move(col_res)); | 518 | 0 | } | 519 | 1 | return Status::OK(); | 520 | 1 | } |
_ZNK5doris18FunctionComparisonINS_17GreaterOrEqualsOpENS_19NameGreaterOrEqualsEE16execute_num_typeILNS_13PrimitiveTypeE37EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 476 | 1 | const ColumnPtr& col_right_ptr) const { | 477 | 1 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 478 | 1 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 479 | | | 480 | 1 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 481 | 1 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 482 | | | 483 | 1 | DCHECK(!(left_is_const && right_is_const)); | 484 | | | 485 | 1 | if (!left_is_const && !right_is_const) { | 486 | 1 | auto col_res = ColumnUInt8::create(); | 487 | | | 488 | 1 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 489 | 1 | vec_res.resize(col_left->get_data().size()); | 490 | 1 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 491 | 1 | typename PrimitiveTypeTraits<PT>::CppType, | 492 | 1 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 493 | 1 | vec_res); | 494 | | | 495 | 1 | block.replace_by_position(result, std::move(col_res)); | 496 | 1 | } else if (!left_is_const && right_is_const) { | 497 | 0 | auto col_res = ColumnUInt8::create(); | 498 | |
| 499 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 500 | 0 | vec_res.resize(col_left->size()); | 501 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 502 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 503 | 0 | Op<PT>>::vector_constant(col_left->get_data(), | 504 | 0 | col_right->get_element(0), vec_res); | 505 | |
| 506 | 0 | block.replace_by_position(result, std::move(col_res)); | 507 | 0 | } else if (left_is_const && !right_is_const) { | 508 | 0 | auto col_res = ColumnUInt8::create(); | 509 | |
| 510 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 511 | 0 | vec_res.resize(col_right->size()); | 512 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 513 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 514 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 515 | 0 | col_right->get_data(), vec_res); | 516 | |
| 517 | 0 | block.replace_by_position(result, std::move(col_res)); | 518 | 0 | } | 519 | 1 | return Status::OK(); | 520 | 1 | } |
_ZNK5doris18FunctionComparisonINS_17GreaterOrEqualsOpENS_19NameGreaterOrEqualsEE16execute_num_typeILNS_13PrimitiveTypeE8EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 476 | 24 | const ColumnPtr& col_right_ptr) const { | 477 | 24 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 478 | 24 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 479 | | | 480 | 24 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 481 | 24 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 482 | | | 483 | 24 | DCHECK(!(left_is_const && right_is_const)); | 484 | | | 485 | 24 | if (!left_is_const && !right_is_const) { | 486 | 20 | auto col_res = ColumnUInt8::create(); | 487 | | | 488 | 20 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 489 | 20 | vec_res.resize(col_left->get_data().size()); | 490 | 20 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 491 | 20 | typename PrimitiveTypeTraits<PT>::CppType, | 492 | 20 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 493 | 20 | vec_res); | 494 | | | 495 | 20 | block.replace_by_position(result, std::move(col_res)); | 496 | 20 | } else if (!left_is_const && right_is_const) { | 497 | 4 | auto col_res = ColumnUInt8::create(); | 498 | | | 499 | 4 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 500 | 4 | vec_res.resize(col_left->size()); | 501 | 4 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 502 | 4 | typename PrimitiveTypeTraits<PT>::CppType, | 503 | 4 | Op<PT>>::vector_constant(col_left->get_data(), | 504 | 4 | col_right->get_element(0), vec_res); | 505 | | | 506 | 4 | block.replace_by_position(result, std::move(col_res)); | 507 | 4 | } else if (left_is_const && !right_is_const) { | 508 | 0 | auto col_res = ColumnUInt8::create(); | 509 | |
| 510 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 511 | 0 | vec_res.resize(col_right->size()); | 512 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 513 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 514 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 515 | 0 | col_right->get_data(), vec_res); | 516 | |
| 517 | 0 | block.replace_by_position(result, std::move(col_res)); | 518 | 0 | } | 519 | 24 | return Status::OK(); | 520 | 24 | } |
_ZNK5doris18FunctionComparisonINS_17GreaterOrEqualsOpENS_19NameGreaterOrEqualsEE16execute_num_typeILNS_13PrimitiveTypeE9EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 476 | 148 | const ColumnPtr& col_right_ptr) const { | 477 | 148 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 478 | 148 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 479 | | | 480 | 148 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 481 | 148 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 482 | | | 483 | 148 | DCHECK(!(left_is_const && right_is_const)); | 484 | | | 485 | 148 | if (!left_is_const && !right_is_const) { | 486 | 23 | auto col_res = ColumnUInt8::create(); | 487 | | | 488 | 23 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 489 | 23 | vec_res.resize(col_left->get_data().size()); | 490 | 23 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 491 | 23 | typename PrimitiveTypeTraits<PT>::CppType, | 492 | 23 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 493 | 23 | vec_res); | 494 | | | 495 | 23 | block.replace_by_position(result, std::move(col_res)); | 496 | 125 | } else if (!left_is_const && right_is_const) { | 497 | 125 | auto col_res = ColumnUInt8::create(); | 498 | | | 499 | 125 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 500 | 125 | vec_res.resize(col_left->size()); | 501 | 125 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 502 | 125 | typename PrimitiveTypeTraits<PT>::CppType, | 503 | 125 | Op<PT>>::vector_constant(col_left->get_data(), | 504 | 125 | col_right->get_element(0), vec_res); | 505 | | | 506 | 125 | block.replace_by_position(result, std::move(col_res)); | 507 | 125 | } else if (left_is_const && !right_is_const) { | 508 | 0 | auto col_res = ColumnUInt8::create(); | 509 | |
| 510 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 511 | 0 | vec_res.resize(col_right->size()); | 512 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 513 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 514 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 515 | 0 | col_right->get_data(), vec_res); | 516 | |
| 517 | 0 | block.replace_by_position(result, std::move(col_res)); | 518 | 0 | } | 519 | 148 | return Status::OK(); | 520 | 148 | } |
Unexecuted instantiation: _ZNK5doris18FunctionComparisonINS_17GreaterOrEqualsOpENS_19NameGreaterOrEqualsEE16execute_num_typeILNS_13PrimitiveTypeE27EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ _ZNK5doris18FunctionComparisonINS_6LessOpENS_8NameLessEE16execute_num_typeILNS_13PrimitiveTypeE2EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 476 | 95 | const ColumnPtr& col_right_ptr) const { | 477 | 95 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 478 | 95 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 479 | | | 480 | 95 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 481 | 95 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 482 | | | 483 | 95 | DCHECK(!(left_is_const && right_is_const)); | 484 | | | 485 | 95 | if (!left_is_const && !right_is_const) { | 486 | 95 | auto col_res = ColumnUInt8::create(); | 487 | | | 488 | 95 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 489 | 95 | vec_res.resize(col_left->get_data().size()); | 490 | 95 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 491 | 95 | typename PrimitiveTypeTraits<PT>::CppType, | 492 | 95 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 493 | 95 | vec_res); | 494 | | | 495 | 95 | block.replace_by_position(result, std::move(col_res)); | 496 | 95 | } else if (!left_is_const && right_is_const) { | 497 | 0 | auto col_res = ColumnUInt8::create(); | 498 | |
| 499 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 500 | 0 | vec_res.resize(col_left->size()); | 501 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 502 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 503 | 0 | Op<PT>>::vector_constant(col_left->get_data(), | 504 | 0 | col_right->get_element(0), vec_res); | 505 | |
| 506 | 0 | block.replace_by_position(result, std::move(col_res)); | 507 | 0 | } else if (left_is_const && !right_is_const) { | 508 | 0 | auto col_res = ColumnUInt8::create(); | 509 | |
| 510 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 511 | 0 | vec_res.resize(col_right->size()); | 512 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 513 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 514 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 515 | 0 | col_right->get_data(), vec_res); | 516 | |
| 517 | 0 | block.replace_by_position(result, std::move(col_res)); | 518 | 0 | } | 519 | 95 | return Status::OK(); | 520 | 95 | } |
_ZNK5doris18FunctionComparisonINS_6LessOpENS_8NameLessEE16execute_num_typeILNS_13PrimitiveTypeE25EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 476 | 2.08k | const ColumnPtr& col_right_ptr) const { | 477 | 2.08k | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 478 | 2.08k | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 479 | | | 480 | 2.08k | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 481 | 2.08k | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 482 | | | 483 | 2.08k | DCHECK(!(left_is_const && right_is_const)); | 484 | | | 485 | 2.08k | if (!left_is_const && !right_is_const) { | 486 | 1.70k | auto col_res = ColumnUInt8::create(); | 487 | | | 488 | 1.70k | ColumnUInt8::Container& vec_res = col_res->get_data(); | 489 | 1.70k | vec_res.resize(col_left->get_data().size()); | 490 | 1.70k | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 491 | 1.70k | typename PrimitiveTypeTraits<PT>::CppType, | 492 | 1.70k | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 493 | 1.70k | vec_res); | 494 | | | 495 | 1.70k | block.replace_by_position(result, std::move(col_res)); | 496 | 1.70k | } else if (!left_is_const && right_is_const) { | 497 | 376 | auto col_res = ColumnUInt8::create(); | 498 | | | 499 | 376 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 500 | 376 | vec_res.resize(col_left->size()); | 501 | 376 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 502 | 376 | typename PrimitiveTypeTraits<PT>::CppType, | 503 | 376 | Op<PT>>::vector_constant(col_left->get_data(), | 504 | 376 | col_right->get_element(0), vec_res); | 505 | | | 506 | 376 | block.replace_by_position(result, std::move(col_res)); | 507 | 18.4E | } else if (left_is_const && !right_is_const) { | 508 | 0 | auto col_res = ColumnUInt8::create(); | 509 | |
| 510 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 511 | 0 | vec_res.resize(col_right->size()); | 512 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 513 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 514 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 515 | 0 | col_right->get_data(), vec_res); | 516 | |
| 517 | 0 | block.replace_by_position(result, std::move(col_res)); | 518 | 0 | } | 519 | 2.08k | return Status::OK(); | 520 | 2.08k | } |
_ZNK5doris18FunctionComparisonINS_6LessOpENS_8NameLessEE16execute_num_typeILNS_13PrimitiveTypeE26EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 476 | 343 | const ColumnPtr& col_right_ptr) const { | 477 | 343 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 478 | 343 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 479 | | | 480 | 343 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 481 | 343 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 482 | | | 483 | 343 | DCHECK(!(left_is_const && right_is_const)); | 484 | | | 485 | 343 | if (!left_is_const && !right_is_const) { | 486 | 284 | auto col_res = ColumnUInt8::create(); | 487 | | | 488 | 284 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 489 | 284 | vec_res.resize(col_left->get_data().size()); | 490 | 284 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 491 | 284 | typename PrimitiveTypeTraits<PT>::CppType, | 492 | 284 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 493 | 284 | vec_res); | 494 | | | 495 | 284 | block.replace_by_position(result, std::move(col_res)); | 496 | 284 | } else if (!left_is_const && right_is_const) { | 497 | 59 | auto col_res = ColumnUInt8::create(); | 498 | | | 499 | 59 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 500 | 59 | vec_res.resize(col_left->size()); | 501 | 59 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 502 | 59 | typename PrimitiveTypeTraits<PT>::CppType, | 503 | 59 | Op<PT>>::vector_constant(col_left->get_data(), | 504 | 59 | col_right->get_element(0), vec_res); | 505 | | | 506 | 59 | block.replace_by_position(result, std::move(col_res)); | 507 | 59 | } else if (left_is_const && !right_is_const) { | 508 | 0 | auto col_res = ColumnUInt8::create(); | 509 | |
| 510 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 511 | 0 | vec_res.resize(col_right->size()); | 512 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 513 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 514 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 515 | 0 | col_right->get_data(), vec_res); | 516 | |
| 517 | 0 | block.replace_by_position(result, std::move(col_res)); | 518 | 0 | } | 519 | 343 | return Status::OK(); | 520 | 343 | } |
_ZNK5doris18FunctionComparisonINS_6LessOpENS_8NameLessEE16execute_num_typeILNS_13PrimitiveTypeE42EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 476 | 2 | const ColumnPtr& col_right_ptr) const { | 477 | 2 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 478 | 2 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 479 | | | 480 | 2 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 481 | 2 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 482 | | | 483 | 2 | DCHECK(!(left_is_const && right_is_const)); | 484 | | | 485 | 2 | if (!left_is_const && !right_is_const) { | 486 | 1 | auto col_res = ColumnUInt8::create(); | 487 | | | 488 | 1 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 489 | 1 | vec_res.resize(col_left->get_data().size()); | 490 | 1 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 491 | 1 | typename PrimitiveTypeTraits<PT>::CppType, | 492 | 1 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 493 | 1 | vec_res); | 494 | | | 495 | 1 | block.replace_by_position(result, std::move(col_res)); | 496 | 1 | } else if (!left_is_const && right_is_const) { | 497 | 1 | auto col_res = ColumnUInt8::create(); | 498 | | | 499 | 1 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 500 | 1 | vec_res.resize(col_left->size()); | 501 | 1 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 502 | 1 | typename PrimitiveTypeTraits<PT>::CppType, | 503 | 1 | Op<PT>>::vector_constant(col_left->get_data(), | 504 | 1 | col_right->get_element(0), vec_res); | 505 | | | 506 | 1 | block.replace_by_position(result, std::move(col_res)); | 507 | 1 | } else if (left_is_const && !right_is_const) { | 508 | 0 | auto col_res = ColumnUInt8::create(); | 509 | |
| 510 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 511 | 0 | vec_res.resize(col_right->size()); | 512 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 513 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 514 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 515 | 0 | col_right->get_data(), vec_res); | 516 | |
| 517 | 0 | block.replace_by_position(result, std::move(col_res)); | 518 | 0 | } | 519 | 2 | return Status::OK(); | 520 | 2 | } |
_ZNK5doris18FunctionComparisonINS_6LessOpENS_8NameLessEE16execute_num_typeILNS_13PrimitiveTypeE3EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 476 | 2.20k | const ColumnPtr& col_right_ptr) const { | 477 | 2.20k | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 478 | 2.20k | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 479 | | | 480 | 2.20k | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 481 | 2.20k | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 482 | | | 483 | 2.20k | DCHECK(!(left_is_const && right_is_const)); | 484 | | | 485 | 2.20k | if (!left_is_const && !right_is_const) { | 486 | 152 | auto col_res = ColumnUInt8::create(); | 487 | | | 488 | 152 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 489 | 152 | vec_res.resize(col_left->get_data().size()); | 490 | 152 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 491 | 152 | typename PrimitiveTypeTraits<PT>::CppType, | 492 | 152 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 493 | 152 | vec_res); | 494 | | | 495 | 152 | block.replace_by_position(result, std::move(col_res)); | 496 | 2.05k | } else if (!left_is_const && right_is_const) { | 497 | 1.76k | auto col_res = ColumnUInt8::create(); | 498 | | | 499 | 1.76k | ColumnUInt8::Container& vec_res = col_res->get_data(); | 500 | 1.76k | vec_res.resize(col_left->size()); | 501 | 1.76k | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 502 | 1.76k | typename PrimitiveTypeTraits<PT>::CppType, | 503 | 1.76k | Op<PT>>::vector_constant(col_left->get_data(), | 504 | 1.76k | col_right->get_element(0), vec_res); | 505 | | | 506 | 1.76k | block.replace_by_position(result, std::move(col_res)); | 507 | 1.76k | } else if (left_is_const && !right_is_const) { | 508 | 288 | auto col_res = ColumnUInt8::create(); | 509 | | | 510 | 288 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 511 | 288 | vec_res.resize(col_right->size()); | 512 | 288 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 513 | 288 | typename PrimitiveTypeTraits<PT>::CppType, | 514 | 288 | Op<PT>>::constant_vector(col_left->get_element(0), | 515 | 288 | col_right->get_data(), vec_res); | 516 | | | 517 | 288 | block.replace_by_position(result, std::move(col_res)); | 518 | 288 | } | 519 | 2.20k | return Status::OK(); | 520 | 2.20k | } |
_ZNK5doris18FunctionComparisonINS_6LessOpENS_8NameLessEE16execute_num_typeILNS_13PrimitiveTypeE4EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 476 | 151 | const ColumnPtr& col_right_ptr) const { | 477 | 151 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 478 | 151 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 479 | | | 480 | 151 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 481 | 151 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 482 | | | 483 | 151 | DCHECK(!(left_is_const && right_is_const)); | 484 | | | 485 | 151 | if (!left_is_const && !right_is_const) { | 486 | 137 | auto col_res = ColumnUInt8::create(); | 487 | | | 488 | 137 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 489 | 137 | vec_res.resize(col_left->get_data().size()); | 490 | 137 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 491 | 137 | typename PrimitiveTypeTraits<PT>::CppType, | 492 | 137 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 493 | 137 | vec_res); | 494 | | | 495 | 137 | block.replace_by_position(result, std::move(col_res)); | 496 | 137 | } else if (!left_is_const && right_is_const) { | 497 | 14 | auto col_res = ColumnUInt8::create(); | 498 | | | 499 | 14 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 500 | 14 | vec_res.resize(col_left->size()); | 501 | 14 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 502 | 14 | typename PrimitiveTypeTraits<PT>::CppType, | 503 | 14 | Op<PT>>::vector_constant(col_left->get_data(), | 504 | 14 | col_right->get_element(0), vec_res); | 505 | | | 506 | 14 | block.replace_by_position(result, std::move(col_res)); | 507 | 14 | } else if (left_is_const && !right_is_const) { | 508 | 0 | auto col_res = ColumnUInt8::create(); | 509 | |
| 510 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 511 | 0 | vec_res.resize(col_right->size()); | 512 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 513 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 514 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 515 | 0 | col_right->get_data(), vec_res); | 516 | |
| 517 | 0 | block.replace_by_position(result, std::move(col_res)); | 518 | 0 | } | 519 | 151 | return Status::OK(); | 520 | 151 | } |
_ZNK5doris18FunctionComparisonINS_6LessOpENS_8NameLessEE16execute_num_typeILNS_13PrimitiveTypeE5EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 476 | 1.14k | const ColumnPtr& col_right_ptr) const { | 477 | 1.14k | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 478 | 1.14k | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 479 | | | 480 | 1.14k | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 481 | 1.14k | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 482 | | | 483 | 1.14k | DCHECK(!(left_is_const && right_is_const)); | 484 | | | 485 | 1.14k | if (!left_is_const && !right_is_const) { | 486 | 176 | auto col_res = ColumnUInt8::create(); | 487 | | | 488 | 176 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 489 | 176 | vec_res.resize(col_left->get_data().size()); | 490 | 176 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 491 | 176 | typename PrimitiveTypeTraits<PT>::CppType, | 492 | 176 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 493 | 176 | vec_res); | 494 | | | 495 | 176 | block.replace_by_position(result, std::move(col_res)); | 496 | 971 | } else if (!left_is_const && right_is_const) { | 497 | 850 | auto col_res = ColumnUInt8::create(); | 498 | | | 499 | 850 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 500 | 850 | vec_res.resize(col_left->size()); | 501 | 850 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 502 | 850 | typename PrimitiveTypeTraits<PT>::CppType, | 503 | 850 | Op<PT>>::vector_constant(col_left->get_data(), | 504 | 850 | col_right->get_element(0), vec_res); | 505 | | | 506 | 850 | block.replace_by_position(result, std::move(col_res)); | 507 | 850 | } else if (left_is_const && !right_is_const) { | 508 | 121 | auto col_res = ColumnUInt8::create(); | 509 | | | 510 | 121 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 511 | 121 | vec_res.resize(col_right->size()); | 512 | 121 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 513 | 121 | typename PrimitiveTypeTraits<PT>::CppType, | 514 | 121 | Op<PT>>::constant_vector(col_left->get_element(0), | 515 | 121 | col_right->get_data(), vec_res); | 516 | | | 517 | 121 | block.replace_by_position(result, std::move(col_res)); | 518 | 121 | } | 519 | 1.14k | return Status::OK(); | 520 | 1.14k | } |
_ZNK5doris18FunctionComparisonINS_6LessOpENS_8NameLessEE16execute_num_typeILNS_13PrimitiveTypeE6EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 476 | 766 | const ColumnPtr& col_right_ptr) const { | 477 | 766 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 478 | 766 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 479 | | | 480 | 766 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 481 | 766 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 482 | | | 483 | 766 | DCHECK(!(left_is_const && right_is_const)); | 484 | | | 485 | 766 | if (!left_is_const && !right_is_const) { | 486 | 210 | auto col_res = ColumnUInt8::create(); | 487 | | | 488 | 210 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 489 | 210 | vec_res.resize(col_left->get_data().size()); | 490 | 210 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 491 | 210 | typename PrimitiveTypeTraits<PT>::CppType, | 492 | 210 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 493 | 210 | vec_res); | 494 | | | 495 | 210 | block.replace_by_position(result, std::move(col_res)); | 496 | 556 | } else if (!left_is_const && right_is_const) { | 497 | 498 | auto col_res = ColumnUInt8::create(); | 498 | | | 499 | 498 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 500 | 498 | vec_res.resize(col_left->size()); | 501 | 498 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 502 | 498 | typename PrimitiveTypeTraits<PT>::CppType, | 503 | 498 | Op<PT>>::vector_constant(col_left->get_data(), | 504 | 498 | col_right->get_element(0), vec_res); | 505 | | | 506 | 498 | block.replace_by_position(result, std::move(col_res)); | 507 | 498 | } else if (left_is_const && !right_is_const) { | 508 | 58 | auto col_res = ColumnUInt8::create(); | 509 | | | 510 | 58 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 511 | 58 | vec_res.resize(col_right->size()); | 512 | 58 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 513 | 58 | typename PrimitiveTypeTraits<PT>::CppType, | 514 | 58 | Op<PT>>::constant_vector(col_left->get_element(0), | 515 | 58 | col_right->get_data(), vec_res); | 516 | | | 517 | 58 | block.replace_by_position(result, std::move(col_res)); | 518 | 58 | } | 519 | 766 | return Status::OK(); | 520 | 766 | } |
_ZNK5doris18FunctionComparisonINS_6LessOpENS_8NameLessEE16execute_num_typeILNS_13PrimitiveTypeE7EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 476 | 248 | const ColumnPtr& col_right_ptr) const { | 477 | 248 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 478 | 248 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 479 | | | 480 | 248 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 481 | 248 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 482 | | | 483 | 248 | DCHECK(!(left_is_const && right_is_const)); | 484 | | | 485 | 248 | if (!left_is_const && !right_is_const) { | 486 | 162 | auto col_res = ColumnUInt8::create(); | 487 | | | 488 | 162 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 489 | 162 | vec_res.resize(col_left->get_data().size()); | 490 | 162 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 491 | 162 | typename PrimitiveTypeTraits<PT>::CppType, | 492 | 162 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 493 | 162 | vec_res); | 494 | | | 495 | 162 | block.replace_by_position(result, std::move(col_res)); | 496 | 162 | } else if (!left_is_const && right_is_const) { | 497 | 38 | auto col_res = ColumnUInt8::create(); | 498 | | | 499 | 38 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 500 | 38 | vec_res.resize(col_left->size()); | 501 | 38 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 502 | 38 | typename PrimitiveTypeTraits<PT>::CppType, | 503 | 38 | Op<PT>>::vector_constant(col_left->get_data(), | 504 | 38 | col_right->get_element(0), vec_res); | 505 | | | 506 | 38 | block.replace_by_position(result, std::move(col_res)); | 507 | 48 | } else if (left_is_const && !right_is_const) { | 508 | 48 | auto col_res = ColumnUInt8::create(); | 509 | | | 510 | 48 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 511 | 48 | vec_res.resize(col_right->size()); | 512 | 48 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 513 | 48 | typename PrimitiveTypeTraits<PT>::CppType, | 514 | 48 | Op<PT>>::constant_vector(col_left->get_element(0), | 515 | 48 | col_right->get_data(), vec_res); | 516 | | | 517 | 48 | block.replace_by_position(result, std::move(col_res)); | 518 | 48 | } | 519 | 248 | return Status::OK(); | 520 | 248 | } |
_ZNK5doris18FunctionComparisonINS_6LessOpENS_8NameLessEE16execute_num_typeILNS_13PrimitiveTypeE36EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 476 | 18 | const ColumnPtr& col_right_ptr) const { | 477 | 18 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 478 | 18 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 479 | | | 480 | 18 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 481 | 18 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 482 | | | 483 | 18 | DCHECK(!(left_is_const && right_is_const)); | 484 | | | 485 | 18 | if (!left_is_const && !right_is_const) { | 486 | 16 | auto col_res = ColumnUInt8::create(); | 487 | | | 488 | 16 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 489 | 16 | vec_res.resize(col_left->get_data().size()); | 490 | 16 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 491 | 16 | typename PrimitiveTypeTraits<PT>::CppType, | 492 | 16 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 493 | 16 | vec_res); | 494 | | | 495 | 16 | block.replace_by_position(result, std::move(col_res)); | 496 | 16 | } else if (!left_is_const && right_is_const) { | 497 | 2 | auto col_res = ColumnUInt8::create(); | 498 | | | 499 | 2 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 500 | 2 | vec_res.resize(col_left->size()); | 501 | 2 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 502 | 2 | typename PrimitiveTypeTraits<PT>::CppType, | 503 | 2 | Op<PT>>::vector_constant(col_left->get_data(), | 504 | 2 | col_right->get_element(0), vec_res); | 505 | | | 506 | 2 | block.replace_by_position(result, std::move(col_res)); | 507 | 2 | } else if (left_is_const && !right_is_const) { | 508 | 0 | auto col_res = ColumnUInt8::create(); | 509 | |
| 510 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 511 | 0 | vec_res.resize(col_right->size()); | 512 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 513 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 514 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 515 | 0 | col_right->get_data(), vec_res); | 516 | |
| 517 | 0 | block.replace_by_position(result, std::move(col_res)); | 518 | 0 | } | 519 | 18 | return Status::OK(); | 520 | 18 | } |
_ZNK5doris18FunctionComparisonINS_6LessOpENS_8NameLessEE16execute_num_typeILNS_13PrimitiveTypeE37EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 476 | 16 | const ColumnPtr& col_right_ptr) const { | 477 | 16 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 478 | 16 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 479 | | | 480 | 16 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 481 | 16 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 482 | | | 483 | 16 | DCHECK(!(left_is_const && right_is_const)); | 484 | | | 485 | 16 | if (!left_is_const && !right_is_const) { | 486 | 16 | auto col_res = ColumnUInt8::create(); | 487 | | | 488 | 16 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 489 | 16 | vec_res.resize(col_left->get_data().size()); | 490 | 16 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 491 | 16 | typename PrimitiveTypeTraits<PT>::CppType, | 492 | 16 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 493 | 16 | vec_res); | 494 | | | 495 | 16 | block.replace_by_position(result, std::move(col_res)); | 496 | 16 | } else if (!left_is_const && right_is_const) { | 497 | 0 | auto col_res = ColumnUInt8::create(); | 498 | |
| 499 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 500 | 0 | vec_res.resize(col_left->size()); | 501 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 502 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 503 | 0 | Op<PT>>::vector_constant(col_left->get_data(), | 504 | 0 | col_right->get_element(0), vec_res); | 505 | |
| 506 | 0 | block.replace_by_position(result, std::move(col_res)); | 507 | 0 | } else if (left_is_const && !right_is_const) { | 508 | 0 | auto col_res = ColumnUInt8::create(); | 509 | |
| 510 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 511 | 0 | vec_res.resize(col_right->size()); | 512 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 513 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 514 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 515 | 0 | col_right->get_data(), vec_res); | 516 | |
| 517 | 0 | block.replace_by_position(result, std::move(col_res)); | 518 | 0 | } | 519 | 16 | return Status::OK(); | 520 | 16 | } |
_ZNK5doris18FunctionComparisonINS_6LessOpENS_8NameLessEE16execute_num_typeILNS_13PrimitiveTypeE8EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 476 | 148 | const ColumnPtr& col_right_ptr) const { | 477 | 148 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 478 | 148 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 479 | | | 480 | 148 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 481 | 148 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 482 | | | 483 | 148 | DCHECK(!(left_is_const && right_is_const)); | 484 | | | 485 | 148 | if (!left_is_const && !right_is_const) { | 486 | 148 | auto col_res = ColumnUInt8::create(); | 487 | | | 488 | 148 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 489 | 148 | vec_res.resize(col_left->get_data().size()); | 490 | 148 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 491 | 148 | typename PrimitiveTypeTraits<PT>::CppType, | 492 | 148 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 493 | 148 | vec_res); | 494 | | | 495 | 148 | block.replace_by_position(result, std::move(col_res)); | 496 | 148 | } else if (!left_is_const && right_is_const) { | 497 | 0 | auto col_res = ColumnUInt8::create(); | 498 | |
| 499 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 500 | 0 | vec_res.resize(col_left->size()); | 501 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 502 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 503 | 0 | Op<PT>>::vector_constant(col_left->get_data(), | 504 | 0 | col_right->get_element(0), vec_res); | 505 | |
| 506 | 0 | block.replace_by_position(result, std::move(col_res)); | 507 | 0 | } else if (left_is_const && !right_is_const) { | 508 | 0 | auto col_res = ColumnUInt8::create(); | 509 | |
| 510 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 511 | 0 | vec_res.resize(col_right->size()); | 512 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 513 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 514 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 515 | 0 | col_right->get_data(), vec_res); | 516 | |
| 517 | 0 | block.replace_by_position(result, std::move(col_res)); | 518 | 0 | } | 519 | 148 | return Status::OK(); | 520 | 148 | } |
_ZNK5doris18FunctionComparisonINS_6LessOpENS_8NameLessEE16execute_num_typeILNS_13PrimitiveTypeE9EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 476 | 360 | const ColumnPtr& col_right_ptr) const { | 477 | 360 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 478 | 360 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 479 | | | 480 | 360 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 481 | 360 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 482 | | | 483 | 360 | DCHECK(!(left_is_const && right_is_const)); | 484 | | | 485 | 360 | if (!left_is_const && !right_is_const) { | 486 | 161 | auto col_res = ColumnUInt8::create(); | 487 | | | 488 | 161 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 489 | 161 | vec_res.resize(col_left->get_data().size()); | 490 | 161 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 491 | 161 | typename PrimitiveTypeTraits<PT>::CppType, | 492 | 161 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 493 | 161 | vec_res); | 494 | | | 495 | 161 | block.replace_by_position(result, std::move(col_res)); | 496 | 199 | } else if (!left_is_const && right_is_const) { | 497 | 199 | auto col_res = ColumnUInt8::create(); | 498 | | | 499 | 199 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 500 | 199 | vec_res.resize(col_left->size()); | 501 | 199 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 502 | 199 | typename PrimitiveTypeTraits<PT>::CppType, | 503 | 199 | Op<PT>>::vector_constant(col_left->get_data(), | 504 | 199 | col_right->get_element(0), vec_res); | 505 | | | 506 | 199 | block.replace_by_position(result, std::move(col_res)); | 507 | 199 | } else if (left_is_const && !right_is_const) { | 508 | 0 | auto col_res = ColumnUInt8::create(); | 509 | |
| 510 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 511 | 0 | vec_res.resize(col_right->size()); | 512 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 513 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 514 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 515 | 0 | col_right->get_data(), vec_res); | 516 | |
| 517 | 0 | block.replace_by_position(result, std::move(col_res)); | 518 | 0 | } | 519 | 360 | return Status::OK(); | 520 | 360 | } |
Unexecuted instantiation: _ZNK5doris18FunctionComparisonINS_6LessOpENS_8NameLessEE16execute_num_typeILNS_13PrimitiveTypeE27EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ _ZNK5doris18FunctionComparisonINS_14LessOrEqualsOpENS_16NameLessOrEqualsEE16execute_num_typeILNS_13PrimitiveTypeE2EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 476 | 16 | const ColumnPtr& col_right_ptr) const { | 477 | 16 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 478 | 16 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 479 | | | 480 | 16 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 481 | 16 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 482 | | | 483 | 16 | DCHECK(!(left_is_const && right_is_const)); | 484 | | | 485 | 16 | if (!left_is_const && !right_is_const) { | 486 | 0 | auto col_res = ColumnUInt8::create(); | 487 | |
| 488 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 489 | 0 | vec_res.resize(col_left->get_data().size()); | 490 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 491 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 492 | 0 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 493 | 0 | vec_res); | 494 | |
| 495 | 0 | block.replace_by_position(result, std::move(col_res)); | 496 | 16 | } else if (!left_is_const && right_is_const) { | 497 | 16 | auto col_res = ColumnUInt8::create(); | 498 | | | 499 | 16 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 500 | 16 | vec_res.resize(col_left->size()); | 501 | 16 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 502 | 16 | typename PrimitiveTypeTraits<PT>::CppType, | 503 | 16 | Op<PT>>::vector_constant(col_left->get_data(), | 504 | 16 | col_right->get_element(0), vec_res); | 505 | | | 506 | 16 | block.replace_by_position(result, std::move(col_res)); | 507 | 16 | } else if (left_is_const && !right_is_const) { | 508 | 0 | auto col_res = ColumnUInt8::create(); | 509 | |
| 510 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 511 | 0 | vec_res.resize(col_right->size()); | 512 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 513 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 514 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 515 | 0 | col_right->get_data(), vec_res); | 516 | |
| 517 | 0 | block.replace_by_position(result, std::move(col_res)); | 518 | 0 | } | 519 | 16 | return Status::OK(); | 520 | 16 | } |
_ZNK5doris18FunctionComparisonINS_14LessOrEqualsOpENS_16NameLessOrEqualsEE16execute_num_typeILNS_13PrimitiveTypeE25EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 476 | 561 | const ColumnPtr& col_right_ptr) const { | 477 | 561 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 478 | 561 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 479 | | | 480 | 561 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 481 | 561 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 482 | | | 483 | 561 | DCHECK(!(left_is_const && right_is_const)); | 484 | | | 485 | 561 | if (!left_is_const && !right_is_const) { | 486 | 425 | auto col_res = ColumnUInt8::create(); | 487 | | | 488 | 425 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 489 | 425 | vec_res.resize(col_left->get_data().size()); | 490 | 425 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 491 | 425 | typename PrimitiveTypeTraits<PT>::CppType, | 492 | 425 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 493 | 425 | vec_res); | 494 | | | 495 | 425 | block.replace_by_position(result, std::move(col_res)); | 496 | 425 | } else if (!left_is_const && right_is_const) { | 497 | 131 | auto col_res = ColumnUInt8::create(); | 498 | | | 499 | 131 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 500 | 131 | vec_res.resize(col_left->size()); | 501 | 131 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 502 | 131 | typename PrimitiveTypeTraits<PT>::CppType, | 503 | 131 | Op<PT>>::vector_constant(col_left->get_data(), | 504 | 131 | col_right->get_element(0), vec_res); | 505 | | | 506 | 131 | block.replace_by_position(result, std::move(col_res)); | 507 | 131 | } else if (left_is_const && !right_is_const) { | 508 | 5 | auto col_res = ColumnUInt8::create(); | 509 | | | 510 | 5 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 511 | 5 | vec_res.resize(col_right->size()); | 512 | 5 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 513 | 5 | typename PrimitiveTypeTraits<PT>::CppType, | 514 | 5 | Op<PT>>::constant_vector(col_left->get_element(0), | 515 | 5 | col_right->get_data(), vec_res); | 516 | | | 517 | 5 | block.replace_by_position(result, std::move(col_res)); | 518 | 5 | } | 519 | 561 | return Status::OK(); | 520 | 561 | } |
_ZNK5doris18FunctionComparisonINS_14LessOrEqualsOpENS_16NameLessOrEqualsEE16execute_num_typeILNS_13PrimitiveTypeE26EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 476 | 52 | const ColumnPtr& col_right_ptr) const { | 477 | 52 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 478 | 52 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 479 | | | 480 | 52 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 481 | 52 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 482 | | | 483 | 52 | DCHECK(!(left_is_const && right_is_const)); | 484 | | | 485 | 52 | if (!left_is_const && !right_is_const) { | 486 | 0 | auto col_res = ColumnUInt8::create(); | 487 | |
| 488 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 489 | 0 | vec_res.resize(col_left->get_data().size()); | 490 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 491 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 492 | 0 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 493 | 0 | vec_res); | 494 | |
| 495 | 0 | block.replace_by_position(result, std::move(col_res)); | 496 | 52 | } else if (!left_is_const && right_is_const) { | 497 | 52 | auto col_res = ColumnUInt8::create(); | 498 | | | 499 | 52 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 500 | 52 | vec_res.resize(col_left->size()); | 501 | 52 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 502 | 52 | typename PrimitiveTypeTraits<PT>::CppType, | 503 | 52 | Op<PT>>::vector_constant(col_left->get_data(), | 504 | 52 | col_right->get_element(0), vec_res); | 505 | | | 506 | 52 | block.replace_by_position(result, std::move(col_res)); | 507 | 52 | } else if (left_is_const && !right_is_const) { | 508 | 0 | auto col_res = ColumnUInt8::create(); | 509 | |
| 510 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 511 | 0 | vec_res.resize(col_right->size()); | 512 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 513 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 514 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 515 | 0 | col_right->get_data(), vec_res); | 516 | |
| 517 | 0 | block.replace_by_position(result, std::move(col_res)); | 518 | 0 | } | 519 | 52 | return Status::OK(); | 520 | 52 | } |
_ZNK5doris18FunctionComparisonINS_14LessOrEqualsOpENS_16NameLessOrEqualsEE16execute_num_typeILNS_13PrimitiveTypeE42EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 476 | 1 | const ColumnPtr& col_right_ptr) const { | 477 | 1 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 478 | 1 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 479 | | | 480 | 1 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 481 | 1 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 482 | | | 483 | 1 | DCHECK(!(left_is_const && right_is_const)); | 484 | | | 485 | 1 | if (!left_is_const && !right_is_const) { | 486 | 1 | auto col_res = ColumnUInt8::create(); | 487 | | | 488 | 1 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 489 | 1 | vec_res.resize(col_left->get_data().size()); | 490 | 1 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 491 | 1 | typename PrimitiveTypeTraits<PT>::CppType, | 492 | 1 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 493 | 1 | vec_res); | 494 | | | 495 | 1 | block.replace_by_position(result, std::move(col_res)); | 496 | 1 | } else if (!left_is_const && right_is_const) { | 497 | 0 | auto col_res = ColumnUInt8::create(); | 498 | |
| 499 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 500 | 0 | vec_res.resize(col_left->size()); | 501 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 502 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 503 | 0 | Op<PT>>::vector_constant(col_left->get_data(), | 504 | 0 | col_right->get_element(0), vec_res); | 505 | |
| 506 | 0 | block.replace_by_position(result, std::move(col_res)); | 507 | 0 | } else if (left_is_const && !right_is_const) { | 508 | 0 | auto col_res = ColumnUInt8::create(); | 509 | |
| 510 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 511 | 0 | vec_res.resize(col_right->size()); | 512 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 513 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 514 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 515 | 0 | col_right->get_data(), vec_res); | 516 | |
| 517 | 0 | block.replace_by_position(result, std::move(col_res)); | 518 | 0 | } | 519 | 1 | return Status::OK(); | 520 | 1 | } |
_ZNK5doris18FunctionComparisonINS_14LessOrEqualsOpENS_16NameLessOrEqualsEE16execute_num_typeILNS_13PrimitiveTypeE3EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 476 | 82 | const ColumnPtr& col_right_ptr) const { | 477 | 82 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 478 | 82 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 479 | | | 480 | 82 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 481 | 82 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 482 | | | 483 | 82 | DCHECK(!(left_is_const && right_is_const)); | 484 | | | 485 | 82 | if (!left_is_const && !right_is_const) { | 486 | 1 | auto col_res = ColumnUInt8::create(); | 487 | | | 488 | 1 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 489 | 1 | vec_res.resize(col_left->get_data().size()); | 490 | 1 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 491 | 1 | typename PrimitiveTypeTraits<PT>::CppType, | 492 | 1 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 493 | 1 | vec_res); | 494 | | | 495 | 1 | block.replace_by_position(result, std::move(col_res)); | 496 | 81 | } else if (!left_is_const && right_is_const) { | 497 | 81 | auto col_res = ColumnUInt8::create(); | 498 | | | 499 | 81 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 500 | 81 | vec_res.resize(col_left->size()); | 501 | 81 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 502 | 81 | typename PrimitiveTypeTraits<PT>::CppType, | 503 | 81 | Op<PT>>::vector_constant(col_left->get_data(), | 504 | 81 | col_right->get_element(0), vec_res); | 505 | | | 506 | 81 | block.replace_by_position(result, std::move(col_res)); | 507 | 81 | } else if (left_is_const && !right_is_const) { | 508 | 0 | auto col_res = ColumnUInt8::create(); | 509 | |
| 510 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 511 | 0 | vec_res.resize(col_right->size()); | 512 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 513 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 514 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 515 | 0 | col_right->get_data(), vec_res); | 516 | |
| 517 | 0 | block.replace_by_position(result, std::move(col_res)); | 518 | 0 | } | 519 | 82 | return Status::OK(); | 520 | 82 | } |
_ZNK5doris18FunctionComparisonINS_14LessOrEqualsOpENS_16NameLessOrEqualsEE16execute_num_typeILNS_13PrimitiveTypeE4EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 476 | 104 | const ColumnPtr& col_right_ptr) const { | 477 | 104 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 478 | 104 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 479 | | | 480 | 104 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 481 | 104 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 482 | | | 483 | 104 | DCHECK(!(left_is_const && right_is_const)); | 484 | | | 485 | 104 | if (!left_is_const && !right_is_const) { | 486 | 0 | auto col_res = ColumnUInt8::create(); | 487 | |
| 488 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 489 | 0 | vec_res.resize(col_left->get_data().size()); | 490 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 491 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 492 | 0 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 493 | 0 | vec_res); | 494 | |
| 495 | 0 | block.replace_by_position(result, std::move(col_res)); | 496 | 104 | } else if (!left_is_const && right_is_const) { | 497 | 104 | auto col_res = ColumnUInt8::create(); | 498 | | | 499 | 104 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 500 | 104 | vec_res.resize(col_left->size()); | 501 | 104 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 502 | 104 | typename PrimitiveTypeTraits<PT>::CppType, | 503 | 104 | Op<PT>>::vector_constant(col_left->get_data(), | 504 | 104 | col_right->get_element(0), vec_res); | 505 | | | 506 | 104 | block.replace_by_position(result, std::move(col_res)); | 507 | 104 | } else if (left_is_const && !right_is_const) { | 508 | 0 | auto col_res = ColumnUInt8::create(); | 509 | |
| 510 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 511 | 0 | vec_res.resize(col_right->size()); | 512 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 513 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 514 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 515 | 0 | col_right->get_data(), vec_res); | 516 | |
| 517 | 0 | block.replace_by_position(result, std::move(col_res)); | 518 | 0 | } | 519 | 104 | return Status::OK(); | 520 | 104 | } |
_ZNK5doris18FunctionComparisonINS_14LessOrEqualsOpENS_16NameLessOrEqualsEE16execute_num_typeILNS_13PrimitiveTypeE5EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 476 | 7.36k | const ColumnPtr& col_right_ptr) const { | 477 | 7.36k | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 478 | 7.36k | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 479 | | | 480 | 7.36k | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 481 | 7.36k | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 482 | | | 483 | 7.36k | DCHECK(!(left_is_const && right_is_const)); | 484 | | | 485 | 7.36k | if (!left_is_const && !right_is_const) { | 486 | 23 | auto col_res = ColumnUInt8::create(); | 487 | | | 488 | 23 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 489 | 23 | vec_res.resize(col_left->get_data().size()); | 490 | 23 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 491 | 23 | typename PrimitiveTypeTraits<PT>::CppType, | 492 | 23 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 493 | 23 | vec_res); | 494 | | | 495 | 23 | block.replace_by_position(result, std::move(col_res)); | 496 | 7.34k | } else if (!left_is_const && right_is_const) { | 497 | 6.76k | auto col_res = ColumnUInt8::create(); | 498 | | | 499 | 6.76k | ColumnUInt8::Container& vec_res = col_res->get_data(); | 500 | 6.76k | vec_res.resize(col_left->size()); | 501 | 6.76k | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 502 | 6.76k | typename PrimitiveTypeTraits<PT>::CppType, | 503 | 6.76k | Op<PT>>::vector_constant(col_left->get_data(), | 504 | 6.76k | col_right->get_element(0), vec_res); | 505 | | | 506 | 6.76k | block.replace_by_position(result, std::move(col_res)); | 507 | 6.76k | } else if (left_is_const && !right_is_const) { | 508 | 574 | auto col_res = ColumnUInt8::create(); | 509 | | | 510 | 574 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 511 | 574 | vec_res.resize(col_right->size()); | 512 | 574 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 513 | 574 | typename PrimitiveTypeTraits<PT>::CppType, | 514 | 574 | Op<PT>>::constant_vector(col_left->get_element(0), | 515 | 574 | col_right->get_data(), vec_res); | 516 | | | 517 | 574 | block.replace_by_position(result, std::move(col_res)); | 518 | 574 | } | 519 | 7.36k | return Status::OK(); | 520 | 7.36k | } |
_ZNK5doris18FunctionComparisonINS_14LessOrEqualsOpENS_16NameLessOrEqualsEE16execute_num_typeILNS_13PrimitiveTypeE6EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 476 | 381 | const ColumnPtr& col_right_ptr) const { | 477 | 381 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 478 | 381 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 479 | | | 480 | 381 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 481 | 381 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 482 | | | 483 | 381 | DCHECK(!(left_is_const && right_is_const)); | 484 | | | 485 | 381 | if (!left_is_const && !right_is_const) { | 486 | 31 | auto col_res = ColumnUInt8::create(); | 487 | | | 488 | 31 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 489 | 31 | vec_res.resize(col_left->get_data().size()); | 490 | 31 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 491 | 31 | typename PrimitiveTypeTraits<PT>::CppType, | 492 | 31 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 493 | 31 | vec_res); | 494 | | | 495 | 31 | block.replace_by_position(result, std::move(col_res)); | 496 | 350 | } else if (!left_is_const && right_is_const) { | 497 | 302 | auto col_res = ColumnUInt8::create(); | 498 | | | 499 | 302 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 500 | 302 | vec_res.resize(col_left->size()); | 501 | 302 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 502 | 302 | typename PrimitiveTypeTraits<PT>::CppType, | 503 | 302 | Op<PT>>::vector_constant(col_left->get_data(), | 504 | 302 | col_right->get_element(0), vec_res); | 505 | | | 506 | 302 | block.replace_by_position(result, std::move(col_res)); | 507 | 302 | } else if (left_is_const && !right_is_const) { | 508 | 48 | auto col_res = ColumnUInt8::create(); | 509 | | | 510 | 48 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 511 | 48 | vec_res.resize(col_right->size()); | 512 | 48 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 513 | 48 | typename PrimitiveTypeTraits<PT>::CppType, | 514 | 48 | Op<PT>>::constant_vector(col_left->get_element(0), | 515 | 48 | col_right->get_data(), vec_res); | 516 | | | 517 | 48 | block.replace_by_position(result, std::move(col_res)); | 518 | 48 | } | 519 | 381 | return Status::OK(); | 520 | 381 | } |
_ZNK5doris18FunctionComparisonINS_14LessOrEqualsOpENS_16NameLessOrEqualsEE16execute_num_typeILNS_13PrimitiveTypeE7EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 476 | 37 | const ColumnPtr& col_right_ptr) const { | 477 | 37 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 478 | 37 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 479 | | | 480 | 37 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 481 | 37 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 482 | | | 483 | 37 | DCHECK(!(left_is_const && right_is_const)); | 484 | | | 485 | 37 | if (!left_is_const && !right_is_const) { | 486 | 0 | auto col_res = ColumnUInt8::create(); | 487 | |
| 488 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 489 | 0 | vec_res.resize(col_left->get_data().size()); | 490 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 491 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 492 | 0 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 493 | 0 | vec_res); | 494 | |
| 495 | 0 | block.replace_by_position(result, std::move(col_res)); | 496 | 37 | } else if (!left_is_const && right_is_const) { | 497 | 37 | auto col_res = ColumnUInt8::create(); | 498 | | | 499 | 37 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 500 | 37 | vec_res.resize(col_left->size()); | 501 | 37 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 502 | 37 | typename PrimitiveTypeTraits<PT>::CppType, | 503 | 37 | Op<PT>>::vector_constant(col_left->get_data(), | 504 | 37 | col_right->get_element(0), vec_res); | 505 | | | 506 | 37 | block.replace_by_position(result, std::move(col_res)); | 507 | 37 | } else if (left_is_const && !right_is_const) { | 508 | 0 | auto col_res = ColumnUInt8::create(); | 509 | |
| 510 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 511 | 0 | vec_res.resize(col_right->size()); | 512 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 513 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 514 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 515 | 0 | col_right->get_data(), vec_res); | 516 | |
| 517 | 0 | block.replace_by_position(result, std::move(col_res)); | 518 | 0 | } | 519 | 37 | return Status::OK(); | 520 | 37 | } |
Unexecuted instantiation: _ZNK5doris18FunctionComparisonINS_14LessOrEqualsOpENS_16NameLessOrEqualsEE16execute_num_typeILNS_13PrimitiveTypeE36EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Unexecuted instantiation: _ZNK5doris18FunctionComparisonINS_14LessOrEqualsOpENS_16NameLessOrEqualsEE16execute_num_typeILNS_13PrimitiveTypeE37EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ _ZNK5doris18FunctionComparisonINS_14LessOrEqualsOpENS_16NameLessOrEqualsEE16execute_num_typeILNS_13PrimitiveTypeE8EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 476 | 20 | const ColumnPtr& col_right_ptr) const { | 477 | 20 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 478 | 20 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 479 | | | 480 | 20 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 481 | 20 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 482 | | | 483 | 20 | DCHECK(!(left_is_const && right_is_const)); | 484 | | | 485 | 20 | if (!left_is_const && !right_is_const) { | 486 | 20 | auto col_res = ColumnUInt8::create(); | 487 | | | 488 | 20 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 489 | 20 | vec_res.resize(col_left->get_data().size()); | 490 | 20 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 491 | 20 | typename PrimitiveTypeTraits<PT>::CppType, | 492 | 20 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 493 | 20 | vec_res); | 494 | | | 495 | 20 | block.replace_by_position(result, std::move(col_res)); | 496 | 20 | } else if (!left_is_const && right_is_const) { | 497 | 0 | auto col_res = ColumnUInt8::create(); | 498 | |
| 499 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 500 | 0 | vec_res.resize(col_left->size()); | 501 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 502 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 503 | 0 | Op<PT>>::vector_constant(col_left->get_data(), | 504 | 0 | col_right->get_element(0), vec_res); | 505 | |
| 506 | 0 | block.replace_by_position(result, std::move(col_res)); | 507 | 0 | } else if (left_is_const && !right_is_const) { | 508 | 0 | auto col_res = ColumnUInt8::create(); | 509 | |
| 510 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 511 | 0 | vec_res.resize(col_right->size()); | 512 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 513 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 514 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 515 | 0 | col_right->get_data(), vec_res); | 516 | |
| 517 | 0 | block.replace_by_position(result, std::move(col_res)); | 518 | 0 | } | 519 | 20 | return Status::OK(); | 520 | 20 | } |
_ZNK5doris18FunctionComparisonINS_14LessOrEqualsOpENS_16NameLessOrEqualsEE16execute_num_typeILNS_13PrimitiveTypeE9EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 476 | 136 | const ColumnPtr& col_right_ptr) const { | 477 | 136 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 478 | 136 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 479 | | | 480 | 136 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 481 | 136 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 482 | | | 483 | 136 | DCHECK(!(left_is_const && right_is_const)); | 484 | | | 485 | 136 | if (!left_is_const && !right_is_const) { | 486 | 20 | auto col_res = ColumnUInt8::create(); | 487 | | | 488 | 20 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 489 | 20 | vec_res.resize(col_left->get_data().size()); | 490 | 20 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 491 | 20 | typename PrimitiveTypeTraits<PT>::CppType, | 492 | 20 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 493 | 20 | vec_res); | 494 | | | 495 | 20 | block.replace_by_position(result, std::move(col_res)); | 496 | 116 | } else if (!left_is_const && right_is_const) { | 497 | 115 | auto col_res = ColumnUInt8::create(); | 498 | | | 499 | 115 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 500 | 115 | vec_res.resize(col_left->size()); | 501 | 115 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 502 | 115 | typename PrimitiveTypeTraits<PT>::CppType, | 503 | 115 | Op<PT>>::vector_constant(col_left->get_data(), | 504 | 115 | col_right->get_element(0), vec_res); | 505 | | | 506 | 115 | block.replace_by_position(result, std::move(col_res)); | 507 | 115 | } else if (left_is_const && !right_is_const) { | 508 | 1 | auto col_res = ColumnUInt8::create(); | 509 | | | 510 | 1 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 511 | 1 | vec_res.resize(col_right->size()); | 512 | 1 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 513 | 1 | typename PrimitiveTypeTraits<PT>::CppType, | 514 | 1 | Op<PT>>::constant_vector(col_left->get_element(0), | 515 | 1 | col_right->get_data(), vec_res); | 516 | | | 517 | 1 | block.replace_by_position(result, std::move(col_res)); | 518 | 1 | } | 519 | 136 | return Status::OK(); | 520 | 136 | } |
Unexecuted instantiation: _ZNK5doris18FunctionComparisonINS_14LessOrEqualsOpENS_16NameLessOrEqualsEE16execute_num_typeILNS_13PrimitiveTypeE27EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ |
521 | | |
522 | | Status execute_decimal(Block& block, uint32_t result, const ColumnWithTypeAndName& col_left, |
523 | 3.09k | const ColumnWithTypeAndName& col_right) const { |
524 | 3.09k | auto call = [&](const auto& type) -> bool { |
525 | 3.09k | using DispatchType = std::decay_t<decltype(type)>; |
526 | 3.09k | DecimalComparison<DispatchType::PType, DispatchType::PType, Op, false>( |
527 | 3.09k | block, result, col_left, col_right); |
528 | 3.09k | return true; |
529 | 3.09k | }; _ZZNK5doris18FunctionComparisonINS_8EqualsOpENS_10NameEqualsEE15execute_decimalERNS_5BlockEjRKNS_21ColumnWithTypeAndNameES8_ENKUlRKT_E_clINS_16DispatchDataTypeILNS_13PrimitiveTypeE28EEEEEbSB_ Line | Count | Source | 524 | 140 | auto call = [&](const auto& type) -> bool { | 525 | 140 | using DispatchType = std::decay_t<decltype(type)>; | 526 | 140 | DecimalComparison<DispatchType::PType, DispatchType::PType, Op, false>( | 527 | 140 | block, result, col_left, col_right); | 528 | 140 | return true; | 529 | 140 | }; |
_ZZNK5doris18FunctionComparisonINS_8EqualsOpENS_10NameEqualsEE15execute_decimalERNS_5BlockEjRKNS_21ColumnWithTypeAndNameES8_ENKUlRKT_E_clINS_16DispatchDataTypeILNS_13PrimitiveTypeE29EEEEEbSB_ Line | Count | Source | 524 | 153 | auto call = [&](const auto& type) -> bool { | 525 | 153 | using DispatchType = std::decay_t<decltype(type)>; | 526 | 153 | DecimalComparison<DispatchType::PType, DispatchType::PType, Op, false>( | 527 | 153 | block, result, col_left, col_right); | 528 | 153 | return true; | 529 | 153 | }; |
Unexecuted instantiation: _ZZNK5doris18FunctionComparisonINS_8EqualsOpENS_10NameEqualsEE15execute_decimalERNS_5BlockEjRKNS_21ColumnWithTypeAndNameES8_ENKUlRKT_E_clINS_16DispatchDataTypeILNS_13PrimitiveTypeE20EEEEEbSB_ _ZZNK5doris18FunctionComparisonINS_8EqualsOpENS_10NameEqualsEE15execute_decimalERNS_5BlockEjRKNS_21ColumnWithTypeAndNameES8_ENKUlRKT_E_clINS_16DispatchDataTypeILNS_13PrimitiveTypeE30EEEEEbSB_ Line | Count | Source | 524 | 850 | auto call = [&](const auto& type) -> bool { | 525 | 850 | using DispatchType = std::decay_t<decltype(type)>; | 526 | 850 | DecimalComparison<DispatchType::PType, DispatchType::PType, Op, false>( | 527 | 850 | block, result, col_left, col_right); | 528 | 850 | return true; | 529 | 850 | }; |
_ZZNK5doris18FunctionComparisonINS_8EqualsOpENS_10NameEqualsEE15execute_decimalERNS_5BlockEjRKNS_21ColumnWithTypeAndNameES8_ENKUlRKT_E_clINS_16DispatchDataTypeILNS_13PrimitiveTypeE35EEEEEbSB_ Line | Count | Source | 524 | 29 | auto call = [&](const auto& type) -> bool { | 525 | 29 | using DispatchType = std::decay_t<decltype(type)>; | 526 | 29 | DecimalComparison<DispatchType::PType, DispatchType::PType, Op, false>( | 527 | 29 | block, result, col_left, col_right); | 528 | 29 | return true; | 529 | 29 | }; |
Unexecuted instantiation: _ZZNK5doris18FunctionComparisonINS_11NotEqualsOpENS_13NameNotEqualsEE15execute_decimalERNS_5BlockEjRKNS_21ColumnWithTypeAndNameES8_ENKUlRKT_E_clINS_16DispatchDataTypeILNS_13PrimitiveTypeE28EEEEEbSB_ _ZZNK5doris18FunctionComparisonINS_11NotEqualsOpENS_13NameNotEqualsEE15execute_decimalERNS_5BlockEjRKNS_21ColumnWithTypeAndNameES8_ENKUlRKT_E_clINS_16DispatchDataTypeILNS_13PrimitiveTypeE29EEEEEbSB_ Line | Count | Source | 524 | 67 | auto call = [&](const auto& type) -> bool { | 525 | 67 | using DispatchType = std::decay_t<decltype(type)>; | 526 | 67 | DecimalComparison<DispatchType::PType, DispatchType::PType, Op, false>( | 527 | 67 | block, result, col_left, col_right); | 528 | 67 | return true; | 529 | 67 | }; |
Unexecuted instantiation: _ZZNK5doris18FunctionComparisonINS_11NotEqualsOpENS_13NameNotEqualsEE15execute_decimalERNS_5BlockEjRKNS_21ColumnWithTypeAndNameES8_ENKUlRKT_E_clINS_16DispatchDataTypeILNS_13PrimitiveTypeE20EEEEEbSB_ _ZZNK5doris18FunctionComparisonINS_11NotEqualsOpENS_13NameNotEqualsEE15execute_decimalERNS_5BlockEjRKNS_21ColumnWithTypeAndNameES8_ENKUlRKT_E_clINS_16DispatchDataTypeILNS_13PrimitiveTypeE30EEEEEbSB_ Line | Count | Source | 524 | 28 | auto call = [&](const auto& type) -> bool { | 525 | 28 | using DispatchType = std::decay_t<decltype(type)>; | 526 | 28 | DecimalComparison<DispatchType::PType, DispatchType::PType, Op, false>( | 527 | 28 | block, result, col_left, col_right); | 528 | 28 | return true; | 529 | 28 | }; |
_ZZNK5doris18FunctionComparisonINS_11NotEqualsOpENS_13NameNotEqualsEE15execute_decimalERNS_5BlockEjRKNS_21ColumnWithTypeAndNameES8_ENKUlRKT_E_clINS_16DispatchDataTypeILNS_13PrimitiveTypeE35EEEEEbSB_ Line | Count | Source | 524 | 30 | auto call = [&](const auto& type) -> bool { | 525 | 30 | using DispatchType = std::decay_t<decltype(type)>; | 526 | 30 | DecimalComparison<DispatchType::PType, DispatchType::PType, Op, false>( | 527 | 30 | block, result, col_left, col_right); | 528 | 30 | return true; | 529 | 30 | }; |
_ZZNK5doris18FunctionComparisonINS_9GreaterOpENS_11NameGreaterEE15execute_decimalERNS_5BlockEjRKNS_21ColumnWithTypeAndNameES8_ENKUlRKT_E_clINS_16DispatchDataTypeILNS_13PrimitiveTypeE28EEEEEbSB_ Line | Count | Source | 524 | 8 | auto call = [&](const auto& type) -> bool { | 525 | 8 | using DispatchType = std::decay_t<decltype(type)>; | 526 | 8 | DecimalComparison<DispatchType::PType, DispatchType::PType, Op, false>( | 527 | 8 | block, result, col_left, col_right); | 528 | 8 | return true; | 529 | 8 | }; |
_ZZNK5doris18FunctionComparisonINS_9GreaterOpENS_11NameGreaterEE15execute_decimalERNS_5BlockEjRKNS_21ColumnWithTypeAndNameES8_ENKUlRKT_E_clINS_16DispatchDataTypeILNS_13PrimitiveTypeE29EEEEEbSB_ Line | Count | Source | 524 | 66 | auto call = [&](const auto& type) -> bool { | 525 | 66 | using DispatchType = std::decay_t<decltype(type)>; | 526 | 66 | DecimalComparison<DispatchType::PType, DispatchType::PType, Op, false>( | 527 | 66 | block, result, col_left, col_right); | 528 | 66 | return true; | 529 | 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 | 524 | 659 | auto call = [&](const auto& type) -> bool { | 525 | 659 | using DispatchType = std::decay_t<decltype(type)>; | 526 | 659 | DecimalComparison<DispatchType::PType, DispatchType::PType, Op, false>( | 527 | 659 | block, result, col_left, col_right); | 528 | 659 | return true; | 529 | 659 | }; |
_ZZNK5doris18FunctionComparisonINS_9GreaterOpENS_11NameGreaterEE15execute_decimalERNS_5BlockEjRKNS_21ColumnWithTypeAndNameES8_ENKUlRKT_E_clINS_16DispatchDataTypeILNS_13PrimitiveTypeE35EEEEEbSB_ Line | Count | Source | 524 | 2 | auto call = [&](const auto& type) -> bool { | 525 | 2 | using DispatchType = std::decay_t<decltype(type)>; | 526 | 2 | DecimalComparison<DispatchType::PType, DispatchType::PType, Op, false>( | 527 | 2 | block, result, col_left, col_right); | 528 | 2 | return true; | 529 | 2 | }; |
_ZZNK5doris18FunctionComparisonINS_17GreaterOrEqualsOpENS_19NameGreaterOrEqualsEE15execute_decimalERNS_5BlockEjRKNS_21ColumnWithTypeAndNameES8_ENKUlRKT_E_clINS_16DispatchDataTypeILNS_13PrimitiveTypeE28EEEEEbSB_ Line | Count | Source | 524 | 1 | auto call = [&](const auto& type) -> bool { | 525 | 1 | using DispatchType = std::decay_t<decltype(type)>; | 526 | 1 | DecimalComparison<DispatchType::PType, DispatchType::PType, Op, false>( | 527 | 1 | block, result, col_left, col_right); | 528 | 1 | return true; | 529 | 1 | }; |
_ZZNK5doris18FunctionComparisonINS_17GreaterOrEqualsOpENS_19NameGreaterOrEqualsEE15execute_decimalERNS_5BlockEjRKNS_21ColumnWithTypeAndNameES8_ENKUlRKT_E_clINS_16DispatchDataTypeILNS_13PrimitiveTypeE29EEEEEbSB_ Line | Count | Source | 524 | 75 | auto call = [&](const auto& type) -> bool { | 525 | 75 | using DispatchType = std::decay_t<decltype(type)>; | 526 | 75 | DecimalComparison<DispatchType::PType, DispatchType::PType, Op, false>( | 527 | 75 | block, result, col_left, col_right); | 528 | 75 | return true; | 529 | 75 | }; |
Unexecuted instantiation: _ZZNK5doris18FunctionComparisonINS_17GreaterOrEqualsOpENS_19NameGreaterOrEqualsEE15execute_decimalERNS_5BlockEjRKNS_21ColumnWithTypeAndNameES8_ENKUlRKT_E_clINS_16DispatchDataTypeILNS_13PrimitiveTypeE20EEEEEbSB_ _ZZNK5doris18FunctionComparisonINS_17GreaterOrEqualsOpENS_19NameGreaterOrEqualsEE15execute_decimalERNS_5BlockEjRKNS_21ColumnWithTypeAndNameES8_ENKUlRKT_E_clINS_16DispatchDataTypeILNS_13PrimitiveTypeE30EEEEEbSB_ Line | Count | Source | 524 | 62 | auto call = [&](const auto& type) -> bool { | 525 | 62 | using DispatchType = std::decay_t<decltype(type)>; | 526 | 62 | DecimalComparison<DispatchType::PType, DispatchType::PType, Op, false>( | 527 | 62 | block, result, col_left, col_right); | 528 | 62 | return true; | 529 | 62 | }; |
_ZZNK5doris18FunctionComparisonINS_17GreaterOrEqualsOpENS_19NameGreaterOrEqualsEE15execute_decimalERNS_5BlockEjRKNS_21ColumnWithTypeAndNameES8_ENKUlRKT_E_clINS_16DispatchDataTypeILNS_13PrimitiveTypeE35EEEEEbSB_ Line | Count | Source | 524 | 11 | auto call = [&](const auto& type) -> bool { | 525 | 11 | using DispatchType = std::decay_t<decltype(type)>; | 526 | 11 | DecimalComparison<DispatchType::PType, DispatchType::PType, Op, false>( | 527 | 11 | block, result, col_left, col_right); | 528 | 11 | return true; | 529 | 11 | }; |
_ZZNK5doris18FunctionComparisonINS_6LessOpENS_8NameLessEE15execute_decimalERNS_5BlockEjRKNS_21ColumnWithTypeAndNameES8_ENKUlRKT_E_clINS_16DispatchDataTypeILNS_13PrimitiveTypeE28EEEEEbSB_ Line | Count | Source | 524 | 203 | auto call = [&](const auto& type) -> bool { | 525 | 203 | using DispatchType = std::decay_t<decltype(type)>; | 526 | 203 | DecimalComparison<DispatchType::PType, DispatchType::PType, Op, false>( | 527 | 203 | block, result, col_left, col_right); | 528 | 203 | return true; | 529 | 203 | }; |
_ZZNK5doris18FunctionComparisonINS_6LessOpENS_8NameLessEE15execute_decimalERNS_5BlockEjRKNS_21ColumnWithTypeAndNameES8_ENKUlRKT_E_clINS_16DispatchDataTypeILNS_13PrimitiveTypeE29EEEEEbSB_ Line | Count | Source | 524 | 228 | auto call = [&](const auto& type) -> bool { | 525 | 228 | using DispatchType = std::decay_t<decltype(type)>; | 526 | 228 | DecimalComparison<DispatchType::PType, DispatchType::PType, Op, false>( | 527 | 228 | block, result, col_left, col_right); | 528 | 228 | return true; | 529 | 228 | }; |
Unexecuted instantiation: _ZZNK5doris18FunctionComparisonINS_6LessOpENS_8NameLessEE15execute_decimalERNS_5BlockEjRKNS_21ColumnWithTypeAndNameES8_ENKUlRKT_E_clINS_16DispatchDataTypeILNS_13PrimitiveTypeE20EEEEEbSB_ _ZZNK5doris18FunctionComparisonINS_6LessOpENS_8NameLessEE15execute_decimalERNS_5BlockEjRKNS_21ColumnWithTypeAndNameES8_ENKUlRKT_E_clINS_16DispatchDataTypeILNS_13PrimitiveTypeE30EEEEEbSB_ Line | Count | Source | 524 | 308 | auto call = [&](const auto& type) -> bool { | 525 | 308 | using DispatchType = std::decay_t<decltype(type)>; | 526 | 308 | DecimalComparison<DispatchType::PType, DispatchType::PType, Op, false>( | 527 | 308 | block, result, col_left, col_right); | 528 | 308 | return true; | 529 | 308 | }; |
_ZZNK5doris18FunctionComparisonINS_6LessOpENS_8NameLessEE15execute_decimalERNS_5BlockEjRKNS_21ColumnWithTypeAndNameES8_ENKUlRKT_E_clINS_16DispatchDataTypeILNS_13PrimitiveTypeE35EEEEEbSB_ Line | Count | Source | 524 | 1 | auto call = [&](const auto& type) -> bool { | 525 | 1 | using DispatchType = std::decay_t<decltype(type)>; | 526 | 1 | DecimalComparison<DispatchType::PType, DispatchType::PType, Op, false>( | 527 | 1 | block, result, col_left, col_right); | 528 | 1 | return true; | 529 | 1 | }; |
_ZZNK5doris18FunctionComparisonINS_14LessOrEqualsOpENS_16NameLessOrEqualsEE15execute_decimalERNS_5BlockEjRKNS_21ColumnWithTypeAndNameES8_ENKUlRKT_E_clINS_16DispatchDataTypeILNS_13PrimitiveTypeE28EEEEEbSB_ Line | Count | Source | 524 | 5 | auto call = [&](const auto& type) -> bool { | 525 | 5 | using DispatchType = std::decay_t<decltype(type)>; | 526 | 5 | DecimalComparison<DispatchType::PType, DispatchType::PType, Op, false>( | 527 | 5 | block, result, col_left, col_right); | 528 | 5 | return true; | 529 | 5 | }; |
_ZZNK5doris18FunctionComparisonINS_14LessOrEqualsOpENS_16NameLessOrEqualsEE15execute_decimalERNS_5BlockEjRKNS_21ColumnWithTypeAndNameES8_ENKUlRKT_E_clINS_16DispatchDataTypeILNS_13PrimitiveTypeE29EEEEEbSB_ Line | Count | Source | 524 | 98 | auto call = [&](const auto& type) -> bool { | 525 | 98 | using DispatchType = std::decay_t<decltype(type)>; | 526 | 98 | DecimalComparison<DispatchType::PType, DispatchType::PType, Op, false>( | 527 | 98 | block, result, col_left, col_right); | 528 | 98 | return true; | 529 | 98 | }; |
Unexecuted instantiation: _ZZNK5doris18FunctionComparisonINS_14LessOrEqualsOpENS_16NameLessOrEqualsEE15execute_decimalERNS_5BlockEjRKNS_21ColumnWithTypeAndNameES8_ENKUlRKT_E_clINS_16DispatchDataTypeILNS_13PrimitiveTypeE20EEEEEbSB_ _ZZNK5doris18FunctionComparisonINS_14LessOrEqualsOpENS_16NameLessOrEqualsEE15execute_decimalERNS_5BlockEjRKNS_21ColumnWithTypeAndNameES8_ENKUlRKT_E_clINS_16DispatchDataTypeILNS_13PrimitiveTypeE30EEEEEbSB_ Line | Count | Source | 524 | 62 | auto call = [&](const auto& type) -> bool { | 525 | 62 | using DispatchType = std::decay_t<decltype(type)>; | 526 | 62 | DecimalComparison<DispatchType::PType, DispatchType::PType, Op, false>( | 527 | 62 | block, result, col_left, col_right); | 528 | 62 | return true; | 529 | 62 | }; |
_ZZNK5doris18FunctionComparisonINS_14LessOrEqualsOpENS_16NameLessOrEqualsEE15execute_decimalERNS_5BlockEjRKNS_21ColumnWithTypeAndNameES8_ENKUlRKT_E_clINS_16DispatchDataTypeILNS_13PrimitiveTypeE35EEEEEbSB_ Line | Count | Source | 524 | 6 | auto call = [&](const auto& type) -> bool { | 525 | 6 | using DispatchType = std::decay_t<decltype(type)>; | 526 | 6 | DecimalComparison<DispatchType::PType, DispatchType::PType, Op, false>( | 527 | 6 | block, result, col_left, col_right); | 528 | 6 | return true; | 529 | 6 | }; |
|
530 | | |
531 | 3.09k | if (col_left.type->get_primitive_type() != col_right.type->get_primitive_type()) { |
532 | 0 | return Status::RuntimeError( |
533 | 0 | "type of left column {} is not equal to type of right column {}", |
534 | 0 | col_left.type->get_name(), col_right.type->get_name()); |
535 | 0 | } |
536 | | |
537 | 3.09k | if (!dispatch_switch_decimal(col_right.type->get_primitive_type(), call)) { |
538 | 0 | return Status::RuntimeError("Wrong call for {} with {} and {}", get_name(), |
539 | 0 | col_left.type->get_name(), col_right.type->get_name()); |
540 | 0 | } |
541 | 3.09k | return Status::OK(); |
542 | 3.09k | } _ZNK5doris18FunctionComparisonINS_8EqualsOpENS_10NameEqualsEE15execute_decimalERNS_5BlockEjRKNS_21ColumnWithTypeAndNameES8_ Line | Count | Source | 523 | 1.17k | const ColumnWithTypeAndName& col_right) const { | 524 | 1.17k | auto call = [&](const auto& type) -> bool { | 525 | 1.17k | using DispatchType = std::decay_t<decltype(type)>; | 526 | 1.17k | DecimalComparison<DispatchType::PType, DispatchType::PType, Op, false>( | 527 | 1.17k | block, result, col_left, col_right); | 528 | 1.17k | return true; | 529 | 1.17k | }; | 530 | | | 531 | 1.17k | if (col_left.type->get_primitive_type() != col_right.type->get_primitive_type()) { | 532 | 0 | return Status::RuntimeError( | 533 | 0 | "type of left column {} is not equal to type of right column {}", | 534 | 0 | col_left.type->get_name(), col_right.type->get_name()); | 535 | 0 | } | 536 | | | 537 | 1.17k | if (!dispatch_switch_decimal(col_right.type->get_primitive_type(), call)) { | 538 | 0 | return Status::RuntimeError("Wrong call for {} with {} and {}", get_name(), | 539 | 0 | col_left.type->get_name(), col_right.type->get_name()); | 540 | 0 | } | 541 | 1.17k | return Status::OK(); | 542 | 1.17k | } |
_ZNK5doris18FunctionComparisonINS_11NotEqualsOpENS_13NameNotEqualsEE15execute_decimalERNS_5BlockEjRKNS_21ColumnWithTypeAndNameES8_ Line | Count | Source | 523 | 125 | const ColumnWithTypeAndName& col_right) const { | 524 | 125 | auto call = [&](const auto& type) -> bool { | 525 | 125 | using DispatchType = std::decay_t<decltype(type)>; | 526 | 125 | DecimalComparison<DispatchType::PType, DispatchType::PType, Op, false>( | 527 | 125 | block, result, col_left, col_right); | 528 | 125 | return true; | 529 | 125 | }; | 530 | | | 531 | 125 | if (col_left.type->get_primitive_type() != col_right.type->get_primitive_type()) { | 532 | 0 | return Status::RuntimeError( | 533 | 0 | "type of left column {} is not equal to type of right column {}", | 534 | 0 | col_left.type->get_name(), col_right.type->get_name()); | 535 | 0 | } | 536 | | | 537 | 125 | if (!dispatch_switch_decimal(col_right.type->get_primitive_type(), call)) { | 538 | 0 | return Status::RuntimeError("Wrong call for {} with {} and {}", get_name(), | 539 | 0 | col_left.type->get_name(), col_right.type->get_name()); | 540 | 0 | } | 541 | 125 | return Status::OK(); | 542 | 125 | } |
_ZNK5doris18FunctionComparisonINS_9GreaterOpENS_11NameGreaterEE15execute_decimalERNS_5BlockEjRKNS_21ColumnWithTypeAndNameES8_ Line | Count | Source | 523 | 735 | const ColumnWithTypeAndName& col_right) const { | 524 | 735 | auto call = [&](const auto& type) -> bool { | 525 | 735 | using DispatchType = std::decay_t<decltype(type)>; | 526 | 735 | DecimalComparison<DispatchType::PType, DispatchType::PType, Op, false>( | 527 | 735 | block, result, col_left, col_right); | 528 | 735 | return true; | 529 | 735 | }; | 530 | | | 531 | 735 | if (col_left.type->get_primitive_type() != col_right.type->get_primitive_type()) { | 532 | 0 | return Status::RuntimeError( | 533 | 0 | "type of left column {} is not equal to type of right column {}", | 534 | 0 | col_left.type->get_name(), col_right.type->get_name()); | 535 | 0 | } | 536 | | | 537 | 735 | if (!dispatch_switch_decimal(col_right.type->get_primitive_type(), call)) { | 538 | 0 | return Status::RuntimeError("Wrong call for {} with {} and {}", get_name(), | 539 | 0 | col_left.type->get_name(), col_right.type->get_name()); | 540 | 0 | } | 541 | 735 | return Status::OK(); | 542 | 735 | } |
_ZNK5doris18FunctionComparisonINS_17GreaterOrEqualsOpENS_19NameGreaterOrEqualsEE15execute_decimalERNS_5BlockEjRKNS_21ColumnWithTypeAndNameES8_ Line | Count | Source | 523 | 149 | const ColumnWithTypeAndName& col_right) const { | 524 | 149 | auto call = [&](const auto& type) -> bool { | 525 | 149 | using DispatchType = std::decay_t<decltype(type)>; | 526 | 149 | DecimalComparison<DispatchType::PType, DispatchType::PType, Op, false>( | 527 | 149 | block, result, col_left, col_right); | 528 | 149 | return true; | 529 | 149 | }; | 530 | | | 531 | 149 | if (col_left.type->get_primitive_type() != col_right.type->get_primitive_type()) { | 532 | 0 | return Status::RuntimeError( | 533 | 0 | "type of left column {} is not equal to type of right column {}", | 534 | 0 | col_left.type->get_name(), col_right.type->get_name()); | 535 | 0 | } | 536 | | | 537 | 149 | if (!dispatch_switch_decimal(col_right.type->get_primitive_type(), call)) { | 538 | 0 | return Status::RuntimeError("Wrong call for {} with {} and {}", get_name(), | 539 | 0 | col_left.type->get_name(), col_right.type->get_name()); | 540 | 0 | } | 541 | 149 | return Status::OK(); | 542 | 149 | } |
_ZNK5doris18FunctionComparisonINS_6LessOpENS_8NameLessEE15execute_decimalERNS_5BlockEjRKNS_21ColumnWithTypeAndNameES8_ Line | Count | Source | 523 | 740 | const ColumnWithTypeAndName& col_right) const { | 524 | 740 | auto call = [&](const auto& type) -> bool { | 525 | 740 | using DispatchType = std::decay_t<decltype(type)>; | 526 | 740 | DecimalComparison<DispatchType::PType, DispatchType::PType, Op, false>( | 527 | 740 | block, result, col_left, col_right); | 528 | 740 | return true; | 529 | 740 | }; | 530 | | | 531 | 740 | if (col_left.type->get_primitive_type() != col_right.type->get_primitive_type()) { | 532 | 0 | return Status::RuntimeError( | 533 | 0 | "type of left column {} is not equal to type of right column {}", | 534 | 0 | col_left.type->get_name(), col_right.type->get_name()); | 535 | 0 | } | 536 | | | 537 | 740 | if (!dispatch_switch_decimal(col_right.type->get_primitive_type(), call)) { | 538 | 0 | return Status::RuntimeError("Wrong call for {} with {} and {}", get_name(), | 539 | 0 | col_left.type->get_name(), col_right.type->get_name()); | 540 | 0 | } | 541 | 740 | return Status::OK(); | 542 | 740 | } |
_ZNK5doris18FunctionComparisonINS_14LessOrEqualsOpENS_16NameLessOrEqualsEE15execute_decimalERNS_5BlockEjRKNS_21ColumnWithTypeAndNameES8_ Line | Count | Source | 523 | 171 | const ColumnWithTypeAndName& col_right) const { | 524 | 171 | auto call = [&](const auto& type) -> bool { | 525 | 171 | using DispatchType = std::decay_t<decltype(type)>; | 526 | 171 | DecimalComparison<DispatchType::PType, DispatchType::PType, Op, false>( | 527 | 171 | block, result, col_left, col_right); | 528 | 171 | return true; | 529 | 171 | }; | 530 | | | 531 | 171 | if (col_left.type->get_primitive_type() != col_right.type->get_primitive_type()) { | 532 | 0 | return Status::RuntimeError( | 533 | 0 | "type of left column {} is not equal to type of right column {}", | 534 | 0 | col_left.type->get_name(), col_right.type->get_name()); | 535 | 0 | } | 536 | | | 537 | 171 | if (!dispatch_switch_decimal(col_right.type->get_primitive_type(), call)) { | 538 | 0 | return Status::RuntimeError("Wrong call for {} with {} and {}", get_name(), | 539 | 0 | col_left.type->get_name(), col_right.type->get_name()); | 540 | 0 | } | 541 | 171 | return Status::OK(); | 542 | 171 | } |
|
543 | | |
544 | | Status execute_string(Block& block, uint32_t result, const IColumn* c0, |
545 | 12.4k | const IColumn* c1) const { |
546 | 12.4k | const ColumnString* c0_string = check_and_get_column<ColumnString>(c0); |
547 | 12.4k | const ColumnString* c1_string = check_and_get_column<ColumnString>(c1); |
548 | 12.4k | const ColumnConst* c0_const = check_and_get_column_const_string_or_fixedstring(c0); |
549 | 12.4k | const ColumnConst* c1_const = check_and_get_column_const_string_or_fixedstring(c1); |
550 | 12.4k | if (!((c0_string || c0_const) && (c1_string || c1_const))) { |
551 | 0 | return Status::NotSupported("Illegal columns {}, {} of argument of function {}", |
552 | 0 | c0->get_name(), c1->get_name(), name); |
553 | 0 | } |
554 | 12.4k | DCHECK(!(c0_const && c1_const)); |
555 | 12.4k | const ColumnString::Chars* c0_const_chars = nullptr; |
556 | 12.4k | const ColumnString::Chars* c1_const_chars = nullptr; |
557 | 12.4k | ColumnString::Offset c0_const_size = 0; |
558 | 12.4k | ColumnString::Offset c1_const_size = 0; |
559 | | |
560 | 12.4k | if (c0_const) { |
561 | 78 | const ColumnString* c0_const_string = |
562 | 78 | check_and_get_column<ColumnString>(&c0_const->get_data_column()); |
563 | | |
564 | 78 | if (c0_const_string) { |
565 | 78 | c0_const_chars = &c0_const_string->get_chars(); |
566 | 78 | c0_const_size = c0_const_string->get_offsets()[0]; |
567 | 78 | } else { |
568 | 0 | return Status::NotSupported("Illegal columns {}, of argument of function {}", |
569 | 0 | c0->get_name(), name); |
570 | 0 | } |
571 | 78 | } |
572 | | |
573 | 12.4k | if (c1_const) { |
574 | 11.5k | const ColumnString* c1_const_string = |
575 | 11.5k | check_and_get_column<ColumnString>(&c1_const->get_data_column()); |
576 | | |
577 | 11.5k | if (c1_const_string) { |
578 | 11.5k | c1_const_chars = &c1_const_string->get_chars(); |
579 | 11.5k | c1_const_size = c1_const_string->get_offsets()[0]; |
580 | 11.5k | } else { |
581 | 0 | return Status::NotSupported("Illegal columns {}, of argument of function {}", |
582 | 0 | c1->get_name(), name); |
583 | 0 | } |
584 | 11.5k | } |
585 | | |
586 | 12.4k | using StringImpl = StringComparisonImpl<Op<TYPE_INT>>; |
587 | | |
588 | 12.4k | auto c_res = ColumnUInt8::create(); |
589 | 12.4k | ColumnUInt8::Container& vec_res = c_res->get_data(); |
590 | 12.4k | vec_res.resize(c0->size()); |
591 | | |
592 | 12.4k | if (c0_string && c1_string) { |
593 | 861 | StringImpl::string_vector_string_vector( |
594 | 861 | c0_string->get_chars(), c0_string->get_offsets(), c1_string->get_chars(), |
595 | 861 | c1_string->get_offsets(), vec_res); |
596 | 11.6k | } else if (c0_string && c1_const) { |
597 | 11.5k | StringImpl::string_vector_constant(c0_string->get_chars(), c0_string->get_offsets(), |
598 | 11.5k | *c1_const_chars, c1_const_size, vec_res); |
599 | 11.5k | } else if (c0_const && c1_string) { |
600 | 78 | StringImpl::constant_string_vector(*c0_const_chars, c0_const_size, |
601 | 78 | c1_string->get_chars(), c1_string->get_offsets(), |
602 | 78 | vec_res); |
603 | 78 | } else { |
604 | 0 | return Status::NotSupported("Illegal columns {}, {} of argument of function {}", |
605 | 0 | c0->get_name(), c1->get_name(), name); |
606 | 0 | } |
607 | 12.4k | block.replace_by_position(result, std::move(c_res)); |
608 | 12.4k | return Status::OK(); |
609 | 12.4k | } _ZNK5doris18FunctionComparisonINS_8EqualsOpENS_10NameEqualsEE14execute_stringERNS_5BlockEjPKNS_7IColumnES8_ Line | Count | Source | 545 | 11.0k | const IColumn* c1) const { | 546 | 11.0k | const ColumnString* c0_string = check_and_get_column<ColumnString>(c0); | 547 | 11.0k | const ColumnString* c1_string = check_and_get_column<ColumnString>(c1); | 548 | 11.0k | const ColumnConst* c0_const = check_and_get_column_const_string_or_fixedstring(c0); | 549 | 11.0k | const ColumnConst* c1_const = check_and_get_column_const_string_or_fixedstring(c1); | 550 | 11.0k | if (!((c0_string || c0_const) && (c1_string || c1_const))) { | 551 | 0 | return Status::NotSupported("Illegal columns {}, {} of argument of function {}", | 552 | 0 | c0->get_name(), c1->get_name(), name); | 553 | 0 | } | 554 | 11.0k | DCHECK(!(c0_const && c1_const)); | 555 | 11.0k | const ColumnString::Chars* c0_const_chars = nullptr; | 556 | 11.0k | const ColumnString::Chars* c1_const_chars = nullptr; | 557 | 11.0k | ColumnString::Offset c0_const_size = 0; | 558 | 11.0k | ColumnString::Offset c1_const_size = 0; | 559 | | | 560 | 11.0k | if (c0_const) { | 561 | 16 | const ColumnString* c0_const_string = | 562 | 16 | check_and_get_column<ColumnString>(&c0_const->get_data_column()); | 563 | | | 564 | 16 | if (c0_const_string) { | 565 | 16 | c0_const_chars = &c0_const_string->get_chars(); | 566 | 16 | c0_const_size = c0_const_string->get_offsets()[0]; | 567 | 16 | } else { | 568 | 0 | return Status::NotSupported("Illegal columns {}, of argument of function {}", | 569 | 0 | c0->get_name(), name); | 570 | 0 | } | 571 | 16 | } | 572 | | | 573 | 11.0k | if (c1_const) { | 574 | 10.6k | const ColumnString* c1_const_string = | 575 | 10.6k | check_and_get_column<ColumnString>(&c1_const->get_data_column()); | 576 | | | 577 | 10.6k | if (c1_const_string) { | 578 | 10.6k | c1_const_chars = &c1_const_string->get_chars(); | 579 | 10.6k | c1_const_size = c1_const_string->get_offsets()[0]; | 580 | 10.6k | } else { | 581 | 0 | return Status::NotSupported("Illegal columns {}, of argument of function {}", | 582 | 0 | c1->get_name(), name); | 583 | 0 | } | 584 | 10.6k | } | 585 | | | 586 | 11.0k | using StringImpl = StringComparisonImpl<Op<TYPE_INT>>; | 587 | | | 588 | 11.0k | auto c_res = ColumnUInt8::create(); | 589 | 11.0k | ColumnUInt8::Container& vec_res = c_res->get_data(); | 590 | 11.0k | vec_res.resize(c0->size()); | 591 | | | 592 | 11.0k | if (c0_string && c1_string) { | 593 | 413 | StringImpl::string_vector_string_vector( | 594 | 413 | c0_string->get_chars(), c0_string->get_offsets(), c1_string->get_chars(), | 595 | 413 | c1_string->get_offsets(), vec_res); | 596 | 10.6k | } else if (c0_string && c1_const) { | 597 | 10.6k | StringImpl::string_vector_constant(c0_string->get_chars(), c0_string->get_offsets(), | 598 | 10.6k | *c1_const_chars, c1_const_size, vec_res); | 599 | 10.6k | } else if (c0_const && c1_string) { | 600 | 16 | StringImpl::constant_string_vector(*c0_const_chars, c0_const_size, | 601 | 16 | c1_string->get_chars(), c1_string->get_offsets(), | 602 | 16 | vec_res); | 603 | 16 | } else { | 604 | 0 | return Status::NotSupported("Illegal columns {}, {} of argument of function {}", | 605 | 0 | c0->get_name(), c1->get_name(), name); | 606 | 0 | } | 607 | 11.0k | block.replace_by_position(result, std::move(c_res)); | 608 | 11.0k | return Status::OK(); | 609 | 11.0k | } |
_ZNK5doris18FunctionComparisonINS_11NotEqualsOpENS_13NameNotEqualsEE14execute_stringERNS_5BlockEjPKNS_7IColumnES8_ Line | Count | Source | 545 | 151 | const IColumn* c1) const { | 546 | 151 | const ColumnString* c0_string = check_and_get_column<ColumnString>(c0); | 547 | 151 | const ColumnString* c1_string = check_and_get_column<ColumnString>(c1); | 548 | 151 | const ColumnConst* c0_const = check_and_get_column_const_string_or_fixedstring(c0); | 549 | 151 | const ColumnConst* c1_const = check_and_get_column_const_string_or_fixedstring(c1); | 550 | 151 | if (!((c0_string || c0_const) && (c1_string || c1_const))) { | 551 | 0 | return Status::NotSupported("Illegal columns {}, {} of argument of function {}", | 552 | 0 | c0->get_name(), c1->get_name(), name); | 553 | 0 | } | 554 | 151 | DCHECK(!(c0_const && c1_const)); | 555 | 151 | const ColumnString::Chars* c0_const_chars = nullptr; | 556 | 151 | const ColumnString::Chars* c1_const_chars = nullptr; | 557 | 151 | ColumnString::Offset c0_const_size = 0; | 558 | 151 | ColumnString::Offset c1_const_size = 0; | 559 | | | 560 | 151 | if (c0_const) { | 561 | 0 | const ColumnString* c0_const_string = | 562 | 0 | check_and_get_column<ColumnString>(&c0_const->get_data_column()); | 563 | |
| 564 | 0 | if (c0_const_string) { | 565 | 0 | c0_const_chars = &c0_const_string->get_chars(); | 566 | 0 | c0_const_size = c0_const_string->get_offsets()[0]; | 567 | 0 | } else { | 568 | 0 | return Status::NotSupported("Illegal columns {}, of argument of function {}", | 569 | 0 | c0->get_name(), name); | 570 | 0 | } | 571 | 0 | } | 572 | | | 573 | 151 | if (c1_const) { | 574 | 147 | const ColumnString* c1_const_string = | 575 | 147 | check_and_get_column<ColumnString>(&c1_const->get_data_column()); | 576 | | | 577 | 147 | if (c1_const_string) { | 578 | 147 | c1_const_chars = &c1_const_string->get_chars(); | 579 | 147 | c1_const_size = c1_const_string->get_offsets()[0]; | 580 | 147 | } else { | 581 | 0 | return Status::NotSupported("Illegal columns {}, of argument of function {}", | 582 | 0 | c1->get_name(), name); | 583 | 0 | } | 584 | 147 | } | 585 | | | 586 | 151 | using StringImpl = StringComparisonImpl<Op<TYPE_INT>>; | 587 | | | 588 | 151 | auto c_res = ColumnUInt8::create(); | 589 | 151 | ColumnUInt8::Container& vec_res = c_res->get_data(); | 590 | 151 | vec_res.resize(c0->size()); | 591 | | | 592 | 151 | if (c0_string && c1_string) { | 593 | 4 | StringImpl::string_vector_string_vector( | 594 | 4 | c0_string->get_chars(), c0_string->get_offsets(), c1_string->get_chars(), | 595 | 4 | c1_string->get_offsets(), vec_res); | 596 | 147 | } else if (c0_string && c1_const) { | 597 | 147 | StringImpl::string_vector_constant(c0_string->get_chars(), c0_string->get_offsets(), | 598 | 147 | *c1_const_chars, c1_const_size, vec_res); | 599 | 147 | } else if (c0_const && c1_string) { | 600 | 0 | StringImpl::constant_string_vector(*c0_const_chars, c0_const_size, | 601 | 0 | c1_string->get_chars(), c1_string->get_offsets(), | 602 | 0 | vec_res); | 603 | 0 | } else { | 604 | 0 | return Status::NotSupported("Illegal columns {}, {} of argument of function {}", | 605 | 0 | c0->get_name(), c1->get_name(), name); | 606 | 0 | } | 607 | 151 | block.replace_by_position(result, std::move(c_res)); | 608 | 151 | return Status::OK(); | 609 | 151 | } |
_ZNK5doris18FunctionComparisonINS_9GreaterOpENS_11NameGreaterEE14execute_stringERNS_5BlockEjPKNS_7IColumnES8_ Line | Count | Source | 545 | 171 | const IColumn* c1) const { | 546 | 171 | const ColumnString* c0_string = check_and_get_column<ColumnString>(c0); | 547 | 171 | const ColumnString* c1_string = check_and_get_column<ColumnString>(c1); | 548 | 171 | const ColumnConst* c0_const = check_and_get_column_const_string_or_fixedstring(c0); | 549 | 171 | const ColumnConst* c1_const = check_and_get_column_const_string_or_fixedstring(c1); | 550 | 171 | if (!((c0_string || c0_const) && (c1_string || c1_const))) { | 551 | 0 | return Status::NotSupported("Illegal columns {}, {} of argument of function {}", | 552 | 0 | c0->get_name(), c1->get_name(), name); | 553 | 0 | } | 554 | 171 | DCHECK(!(c0_const && c1_const)); | 555 | 171 | const ColumnString::Chars* c0_const_chars = nullptr; | 556 | 171 | const ColumnString::Chars* c1_const_chars = nullptr; | 557 | 171 | ColumnString::Offset c0_const_size = 0; | 558 | 171 | ColumnString::Offset c1_const_size = 0; | 559 | | | 560 | 171 | if (c0_const) { | 561 | 0 | const ColumnString* c0_const_string = | 562 | 0 | check_and_get_column<ColumnString>(&c0_const->get_data_column()); | 563 | |
| 564 | 0 | if (c0_const_string) { | 565 | 0 | c0_const_chars = &c0_const_string->get_chars(); | 566 | 0 | c0_const_size = c0_const_string->get_offsets()[0]; | 567 | 0 | } else { | 568 | 0 | return Status::NotSupported("Illegal columns {}, of argument of function {}", | 569 | 0 | c0->get_name(), name); | 570 | 0 | } | 571 | 0 | } | 572 | | | 573 | 171 | if (c1_const) { | 574 | 169 | const ColumnString* c1_const_string = | 575 | 169 | check_and_get_column<ColumnString>(&c1_const->get_data_column()); | 576 | | | 577 | 169 | if (c1_const_string) { | 578 | 169 | c1_const_chars = &c1_const_string->get_chars(); | 579 | 169 | c1_const_size = c1_const_string->get_offsets()[0]; | 580 | 169 | } else { | 581 | 0 | return Status::NotSupported("Illegal columns {}, of argument of function {}", | 582 | 0 | c1->get_name(), name); | 583 | 0 | } | 584 | 169 | } | 585 | | | 586 | 171 | using StringImpl = StringComparisonImpl<Op<TYPE_INT>>; | 587 | | | 588 | 171 | auto c_res = ColumnUInt8::create(); | 589 | 171 | ColumnUInt8::Container& vec_res = c_res->get_data(); | 590 | 171 | vec_res.resize(c0->size()); | 591 | | | 592 | 171 | if (c0_string && c1_string) { | 593 | 2 | StringImpl::string_vector_string_vector( | 594 | 2 | c0_string->get_chars(), c0_string->get_offsets(), c1_string->get_chars(), | 595 | 2 | c1_string->get_offsets(), vec_res); | 596 | 169 | } else if (c0_string && c1_const) { | 597 | 169 | StringImpl::string_vector_constant(c0_string->get_chars(), c0_string->get_offsets(), | 598 | 169 | *c1_const_chars, c1_const_size, vec_res); | 599 | 169 | } else if (c0_const && c1_string) { | 600 | 0 | StringImpl::constant_string_vector(*c0_const_chars, c0_const_size, | 601 | 0 | c1_string->get_chars(), c1_string->get_offsets(), | 602 | 0 | vec_res); | 603 | 0 | } else { | 604 | 0 | return Status::NotSupported("Illegal columns {}, {} of argument of function {}", | 605 | 0 | c0->get_name(), c1->get_name(), name); | 606 | 0 | } | 607 | 171 | block.replace_by_position(result, std::move(c_res)); | 608 | 171 | return Status::OK(); | 609 | 171 | } |
_ZNK5doris18FunctionComparisonINS_17GreaterOrEqualsOpENS_19NameGreaterOrEqualsEE14execute_stringERNS_5BlockEjPKNS_7IColumnES8_ Line | Count | Source | 545 | 334 | const IColumn* c1) const { | 546 | 334 | const ColumnString* c0_string = check_and_get_column<ColumnString>(c0); | 547 | 334 | const ColumnString* c1_string = check_and_get_column<ColumnString>(c1); | 548 | 334 | const ColumnConst* c0_const = check_and_get_column_const_string_or_fixedstring(c0); | 549 | 334 | const ColumnConst* c1_const = check_and_get_column_const_string_or_fixedstring(c1); | 550 | 334 | if (!((c0_string || c0_const) && (c1_string || c1_const))) { | 551 | 0 | return Status::NotSupported("Illegal columns {}, {} of argument of function {}", | 552 | 0 | c0->get_name(), c1->get_name(), name); | 553 | 0 | } | 554 | 334 | DCHECK(!(c0_const && c1_const)); | 555 | 334 | const ColumnString::Chars* c0_const_chars = nullptr; | 556 | 334 | const ColumnString::Chars* c1_const_chars = nullptr; | 557 | 334 | ColumnString::Offset c0_const_size = 0; | 558 | 334 | ColumnString::Offset c1_const_size = 0; | 559 | | | 560 | 334 | if (c0_const) { | 561 | 56 | const ColumnString* c0_const_string = | 562 | 56 | check_and_get_column<ColumnString>(&c0_const->get_data_column()); | 563 | | | 564 | 56 | if (c0_const_string) { | 565 | 56 | c0_const_chars = &c0_const_string->get_chars(); | 566 | 56 | c0_const_size = c0_const_string->get_offsets()[0]; | 567 | 56 | } else { | 568 | 0 | return Status::NotSupported("Illegal columns {}, of argument of function {}", | 569 | 0 | c0->get_name(), name); | 570 | 0 | } | 571 | 56 | } | 572 | | | 573 | 334 | if (c1_const) { | 574 | 242 | const ColumnString* c1_const_string = | 575 | 242 | check_and_get_column<ColumnString>(&c1_const->get_data_column()); | 576 | | | 577 | 242 | if (c1_const_string) { | 578 | 242 | c1_const_chars = &c1_const_string->get_chars(); | 579 | 242 | c1_const_size = c1_const_string->get_offsets()[0]; | 580 | 242 | } else { | 581 | 0 | return Status::NotSupported("Illegal columns {}, of argument of function {}", | 582 | 0 | c1->get_name(), name); | 583 | 0 | } | 584 | 242 | } | 585 | | | 586 | 334 | using StringImpl = StringComparisonImpl<Op<TYPE_INT>>; | 587 | | | 588 | 334 | auto c_res = ColumnUInt8::create(); | 589 | 334 | ColumnUInt8::Container& vec_res = c_res->get_data(); | 590 | 334 | vec_res.resize(c0->size()); | 591 | | | 592 | 334 | if (c0_string && c1_string) { | 593 | 36 | StringImpl::string_vector_string_vector( | 594 | 36 | c0_string->get_chars(), c0_string->get_offsets(), c1_string->get_chars(), | 595 | 36 | c1_string->get_offsets(), vec_res); | 596 | 298 | } else if (c0_string && c1_const) { | 597 | 242 | StringImpl::string_vector_constant(c0_string->get_chars(), c0_string->get_offsets(), | 598 | 242 | *c1_const_chars, c1_const_size, vec_res); | 599 | 242 | } else if (c0_const && c1_string) { | 600 | 56 | StringImpl::constant_string_vector(*c0_const_chars, c0_const_size, | 601 | 56 | c1_string->get_chars(), c1_string->get_offsets(), | 602 | 56 | vec_res); | 603 | 56 | } else { | 604 | 0 | return Status::NotSupported("Illegal columns {}, {} of argument of function {}", | 605 | 0 | c0->get_name(), c1->get_name(), name); | 606 | 0 | } | 607 | 334 | block.replace_by_position(result, std::move(c_res)); | 608 | 334 | return Status::OK(); | 609 | 334 | } |
_ZNK5doris18FunctionComparisonINS_6LessOpENS_8NameLessEE14execute_stringERNS_5BlockEjPKNS_7IColumnES8_ Line | Count | Source | 545 | 506 | const IColumn* c1) const { | 546 | 506 | const ColumnString* c0_string = check_and_get_column<ColumnString>(c0); | 547 | 506 | const ColumnString* c1_string = check_and_get_column<ColumnString>(c1); | 548 | 506 | const ColumnConst* c0_const = check_and_get_column_const_string_or_fixedstring(c0); | 549 | 506 | const ColumnConst* c1_const = check_and_get_column_const_string_or_fixedstring(c1); | 550 | 506 | if (!((c0_string || c0_const) && (c1_string || c1_const))) { | 551 | 0 | return Status::NotSupported("Illegal columns {}, {} of argument of function {}", | 552 | 0 | c0->get_name(), c1->get_name(), name); | 553 | 0 | } | 554 | 506 | DCHECK(!(c0_const && c1_const)); | 555 | 506 | const ColumnString::Chars* c0_const_chars = nullptr; | 556 | 506 | const ColumnString::Chars* c1_const_chars = nullptr; | 557 | 506 | ColumnString::Offset c0_const_size = 0; | 558 | 506 | ColumnString::Offset c1_const_size = 0; | 559 | | | 560 | 506 | if (c0_const) { | 561 | 6 | const ColumnString* c0_const_string = | 562 | 6 | check_and_get_column<ColumnString>(&c0_const->get_data_column()); | 563 | | | 564 | 6 | if (c0_const_string) { | 565 | 6 | c0_const_chars = &c0_const_string->get_chars(); | 566 | 6 | c0_const_size = c0_const_string->get_offsets()[0]; | 567 | 6 | } else { | 568 | 0 | return Status::NotSupported("Illegal columns {}, of argument of function {}", | 569 | 0 | c0->get_name(), name); | 570 | 0 | } | 571 | 6 | } | 572 | | | 573 | 506 | if (c1_const) { | 574 | 94 | const ColumnString* c1_const_string = | 575 | 94 | check_and_get_column<ColumnString>(&c1_const->get_data_column()); | 576 | | | 577 | 94 | if (c1_const_string) { | 578 | 94 | c1_const_chars = &c1_const_string->get_chars(); | 579 | 94 | c1_const_size = c1_const_string->get_offsets()[0]; | 580 | 94 | } else { | 581 | 0 | return Status::NotSupported("Illegal columns {}, of argument of function {}", | 582 | 0 | c1->get_name(), name); | 583 | 0 | } | 584 | 94 | } | 585 | | | 586 | 506 | using StringImpl = StringComparisonImpl<Op<TYPE_INT>>; | 587 | | | 588 | 506 | auto c_res = ColumnUInt8::create(); | 589 | 506 | ColumnUInt8::Container& vec_res = c_res->get_data(); | 590 | 506 | vec_res.resize(c0->size()); | 591 | | | 592 | 506 | if (c0_string && c1_string) { | 593 | 406 | StringImpl::string_vector_string_vector( | 594 | 406 | c0_string->get_chars(), c0_string->get_offsets(), c1_string->get_chars(), | 595 | 406 | c1_string->get_offsets(), vec_res); | 596 | 406 | } else if (c0_string && c1_const) { | 597 | 94 | StringImpl::string_vector_constant(c0_string->get_chars(), c0_string->get_offsets(), | 598 | 94 | *c1_const_chars, c1_const_size, vec_res); | 599 | 94 | } else if (c0_const && c1_string) { | 600 | 6 | StringImpl::constant_string_vector(*c0_const_chars, c0_const_size, | 601 | 6 | c1_string->get_chars(), c1_string->get_offsets(), | 602 | 6 | vec_res); | 603 | 6 | } else { | 604 | 0 | return Status::NotSupported("Illegal columns {}, {} of argument of function {}", | 605 | 0 | c0->get_name(), c1->get_name(), name); | 606 | 0 | } | 607 | 506 | block.replace_by_position(result, std::move(c_res)); | 608 | 506 | return Status::OK(); | 609 | 506 | } |
_ZNK5doris18FunctionComparisonINS_14LessOrEqualsOpENS_16NameLessOrEqualsEE14execute_stringERNS_5BlockEjPKNS_7IColumnES8_ Line | Count | Source | 545 | 288 | const IColumn* c1) const { | 546 | 288 | const ColumnString* c0_string = check_and_get_column<ColumnString>(c0); | 547 | 288 | const ColumnString* c1_string = check_and_get_column<ColumnString>(c1); | 548 | 288 | const ColumnConst* c0_const = check_and_get_column_const_string_or_fixedstring(c0); | 549 | 288 | const ColumnConst* c1_const = check_and_get_column_const_string_or_fixedstring(c1); | 550 | 288 | if (!((c0_string || c0_const) && (c1_string || c1_const))) { | 551 | 0 | return Status::NotSupported("Illegal columns {}, {} of argument of function {}", | 552 | 0 | c0->get_name(), c1->get_name(), name); | 553 | 0 | } | 554 | 288 | DCHECK(!(c0_const && c1_const)); | 555 | 288 | const ColumnString::Chars* c0_const_chars = nullptr; | 556 | 288 | const ColumnString::Chars* c1_const_chars = nullptr; | 557 | 288 | ColumnString::Offset c0_const_size = 0; | 558 | 288 | ColumnString::Offset c1_const_size = 0; | 559 | | | 560 | 288 | if (c0_const) { | 561 | 0 | const ColumnString* c0_const_string = | 562 | 0 | check_and_get_column<ColumnString>(&c0_const->get_data_column()); | 563 | |
| 564 | 0 | if (c0_const_string) { | 565 | 0 | c0_const_chars = &c0_const_string->get_chars(); | 566 | 0 | c0_const_size = c0_const_string->get_offsets()[0]; | 567 | 0 | } else { | 568 | 0 | return Status::NotSupported("Illegal columns {}, of argument of function {}", | 569 | 0 | c0->get_name(), name); | 570 | 0 | } | 571 | 0 | } | 572 | | | 573 | 288 | if (c1_const) { | 574 | 288 | const ColumnString* c1_const_string = | 575 | 288 | check_and_get_column<ColumnString>(&c1_const->get_data_column()); | 576 | | | 577 | 288 | if (c1_const_string) { | 578 | 288 | c1_const_chars = &c1_const_string->get_chars(); | 579 | 288 | c1_const_size = c1_const_string->get_offsets()[0]; | 580 | 288 | } else { | 581 | 0 | return Status::NotSupported("Illegal columns {}, of argument of function {}", | 582 | 0 | c1->get_name(), name); | 583 | 0 | } | 584 | 288 | } | 585 | | | 586 | 288 | using StringImpl = StringComparisonImpl<Op<TYPE_INT>>; | 587 | | | 588 | 288 | auto c_res = ColumnUInt8::create(); | 589 | 288 | ColumnUInt8::Container& vec_res = c_res->get_data(); | 590 | 288 | vec_res.resize(c0->size()); | 591 | | | 592 | 288 | if (c0_string && c1_string) { | 593 | 0 | StringImpl::string_vector_string_vector( | 594 | 0 | c0_string->get_chars(), c0_string->get_offsets(), c1_string->get_chars(), | 595 | 0 | c1_string->get_offsets(), vec_res); | 596 | 288 | } else if (c0_string && c1_const) { | 597 | 288 | StringImpl::string_vector_constant(c0_string->get_chars(), c0_string->get_offsets(), | 598 | 288 | *c1_const_chars, c1_const_size, vec_res); | 599 | 288 | } else if (c0_const && c1_string) { | 600 | 0 | StringImpl::constant_string_vector(*c0_const_chars, c0_const_size, | 601 | 0 | c1_string->get_chars(), c1_string->get_offsets(), | 602 | 0 | vec_res); | 603 | 0 | } else { | 604 | 0 | return Status::NotSupported("Illegal columns {}, {} of argument of function {}", | 605 | 0 | c0->get_name(), c1->get_name(), name); | 606 | 0 | } | 607 | 288 | block.replace_by_position(result, std::move(c_res)); | 608 | 288 | return Status::OK(); | 609 | 288 | } |
|
610 | | |
611 | | void execute_generic_identical_types(Block& block, uint32_t result, const IColumn* c0, |
612 | 155 | const IColumn* c1) const { |
613 | 155 | bool c0_const = is_column_const(*c0); |
614 | 155 | bool c1_const = is_column_const(*c1); |
615 | | |
616 | 155 | DCHECK(!(c0_const && c1_const)); |
617 | | |
618 | 155 | auto c_res = ColumnUInt8::create(); |
619 | 155 | ColumnUInt8::Container& vec_res = c_res->get_data(); |
620 | 155 | vec_res.resize(c0->size()); |
621 | | |
622 | 155 | if (c0_const) { |
623 | 0 | GenericComparisonImpl<Op<TYPE_INT>>::constant_vector(*c0, *c1, vec_res); |
624 | 155 | } else if (c1_const) { |
625 | 146 | GenericComparisonImpl<Op<TYPE_INT>>::vector_constant(*c0, *c1, vec_res); |
626 | 146 | } else { |
627 | 9 | GenericComparisonImpl<Op<TYPE_INT>>::vector_vector(*c0, *c1, vec_res); |
628 | 9 | } |
629 | | |
630 | 155 | block.replace_by_position(result, std::move(c_res)); |
631 | 155 | } _ZNK5doris18FunctionComparisonINS_8EqualsOpENS_10NameEqualsEE31execute_generic_identical_typesERNS_5BlockEjPKNS_7IColumnES8_ Line | Count | Source | 612 | 17 | const IColumn* c1) const { | 613 | 17 | bool c0_const = is_column_const(*c0); | 614 | 17 | bool c1_const = is_column_const(*c1); | 615 | | | 616 | 17 | DCHECK(!(c0_const && c1_const)); | 617 | | | 618 | 17 | auto c_res = ColumnUInt8::create(); | 619 | 17 | ColumnUInt8::Container& vec_res = c_res->get_data(); | 620 | 17 | vec_res.resize(c0->size()); | 621 | | | 622 | 17 | if (c0_const) { | 623 | 0 | GenericComparisonImpl<Op<TYPE_INT>>::constant_vector(*c0, *c1, vec_res); | 624 | 17 | } else if (c1_const) { | 625 | 13 | GenericComparisonImpl<Op<TYPE_INT>>::vector_constant(*c0, *c1, vec_res); | 626 | 13 | } else { | 627 | 4 | GenericComparisonImpl<Op<TYPE_INT>>::vector_vector(*c0, *c1, vec_res); | 628 | 4 | } | 629 | | | 630 | 17 | block.replace_by_position(result, std::move(c_res)); | 631 | 17 | } |
_ZNK5doris18FunctionComparisonINS_11NotEqualsOpENS_13NameNotEqualsEE31execute_generic_identical_typesERNS_5BlockEjPKNS_7IColumnES8_ Line | Count | Source | 612 | 8 | const IColumn* c1) const { | 613 | 8 | bool c0_const = is_column_const(*c0); | 614 | 8 | bool c1_const = is_column_const(*c1); | 615 | | | 616 | 8 | DCHECK(!(c0_const && c1_const)); | 617 | | | 618 | 8 | auto c_res = ColumnUInt8::create(); | 619 | 8 | ColumnUInt8::Container& vec_res = c_res->get_data(); | 620 | 8 | vec_res.resize(c0->size()); | 621 | | | 622 | 8 | if (c0_const) { | 623 | 0 | GenericComparisonImpl<Op<TYPE_INT>>::constant_vector(*c0, *c1, vec_res); | 624 | 8 | } else if (c1_const) { | 625 | 8 | GenericComparisonImpl<Op<TYPE_INT>>::vector_constant(*c0, *c1, vec_res); | 626 | 8 | } else { | 627 | 0 | GenericComparisonImpl<Op<TYPE_INT>>::vector_vector(*c0, *c1, vec_res); | 628 | 0 | } | 629 | | | 630 | 8 | block.replace_by_position(result, std::move(c_res)); | 631 | 8 | } |
_ZNK5doris18FunctionComparisonINS_9GreaterOpENS_11NameGreaterEE31execute_generic_identical_typesERNS_5BlockEjPKNS_7IColumnES8_ Line | Count | Source | 612 | 9 | const IColumn* c1) const { | 613 | 9 | bool c0_const = is_column_const(*c0); | 614 | 9 | bool c1_const = is_column_const(*c1); | 615 | | | 616 | 9 | DCHECK(!(c0_const && c1_const)); | 617 | | | 618 | 9 | auto c_res = ColumnUInt8::create(); | 619 | 9 | ColumnUInt8::Container& vec_res = c_res->get_data(); | 620 | 9 | vec_res.resize(c0->size()); | 621 | | | 622 | 9 | if (c0_const) { | 623 | 0 | GenericComparisonImpl<Op<TYPE_INT>>::constant_vector(*c0, *c1, vec_res); | 624 | 9 | } else if (c1_const) { | 625 | 8 | GenericComparisonImpl<Op<TYPE_INT>>::vector_constant(*c0, *c1, vec_res); | 626 | 8 | } else { | 627 | 1 | GenericComparisonImpl<Op<TYPE_INT>>::vector_vector(*c0, *c1, vec_res); | 628 | 1 | } | 629 | | | 630 | 9 | block.replace_by_position(result, std::move(c_res)); | 631 | 9 | } |
_ZNK5doris18FunctionComparisonINS_17GreaterOrEqualsOpENS_19NameGreaterOrEqualsEE31execute_generic_identical_typesERNS_5BlockEjPKNS_7IColumnES8_ Line | Count | Source | 612 | 61 | const IColumn* c1) const { | 613 | 61 | bool c0_const = is_column_const(*c0); | 614 | 61 | bool c1_const = is_column_const(*c1); | 615 | | | 616 | 61 | DCHECK(!(c0_const && c1_const)); | 617 | | | 618 | 61 | auto c_res = ColumnUInt8::create(); | 619 | 61 | ColumnUInt8::Container& vec_res = c_res->get_data(); | 620 | 61 | vec_res.resize(c0->size()); | 621 | | | 622 | 61 | if (c0_const) { | 623 | 0 | GenericComparisonImpl<Op<TYPE_INT>>::constant_vector(*c0, *c1, vec_res); | 624 | 61 | } else if (c1_const) { | 625 | 60 | GenericComparisonImpl<Op<TYPE_INT>>::vector_constant(*c0, *c1, vec_res); | 626 | 60 | } else { | 627 | 1 | GenericComparisonImpl<Op<TYPE_INT>>::vector_vector(*c0, *c1, vec_res); | 628 | 1 | } | 629 | | | 630 | 61 | block.replace_by_position(result, std::move(c_res)); | 631 | 61 | } |
_ZNK5doris18FunctionComparisonINS_6LessOpENS_8NameLessEE31execute_generic_identical_typesERNS_5BlockEjPKNS_7IColumnES8_ Line | Count | Source | 612 | 11 | const IColumn* c1) const { | 613 | 11 | bool c0_const = is_column_const(*c0); | 614 | 11 | bool c1_const = is_column_const(*c1); | 615 | | | 616 | 11 | DCHECK(!(c0_const && c1_const)); | 617 | | | 618 | 11 | auto c_res = ColumnUInt8::create(); | 619 | 11 | ColumnUInt8::Container& vec_res = c_res->get_data(); | 620 | 11 | vec_res.resize(c0->size()); | 621 | | | 622 | 11 | if (c0_const) { | 623 | 0 | GenericComparisonImpl<Op<TYPE_INT>>::constant_vector(*c0, *c1, vec_res); | 624 | 11 | } else if (c1_const) { | 625 | 8 | GenericComparisonImpl<Op<TYPE_INT>>::vector_constant(*c0, *c1, vec_res); | 626 | 8 | } else { | 627 | 3 | GenericComparisonImpl<Op<TYPE_INT>>::vector_vector(*c0, *c1, vec_res); | 628 | 3 | } | 629 | | | 630 | 11 | block.replace_by_position(result, std::move(c_res)); | 631 | 11 | } |
_ZNK5doris18FunctionComparisonINS_14LessOrEqualsOpENS_16NameLessOrEqualsEE31execute_generic_identical_typesERNS_5BlockEjPKNS_7IColumnES8_ Line | Count | Source | 612 | 49 | const IColumn* c1) const { | 613 | 49 | bool c0_const = is_column_const(*c0); | 614 | 49 | bool c1_const = is_column_const(*c1); | 615 | | | 616 | 49 | DCHECK(!(c0_const && c1_const)); | 617 | | | 618 | 49 | auto c_res = ColumnUInt8::create(); | 619 | 49 | ColumnUInt8::Container& vec_res = c_res->get_data(); | 620 | 49 | vec_res.resize(c0->size()); | 621 | | | 622 | 49 | if (c0_const) { | 623 | 0 | GenericComparisonImpl<Op<TYPE_INT>>::constant_vector(*c0, *c1, vec_res); | 624 | 49 | } else if (c1_const) { | 625 | 49 | GenericComparisonImpl<Op<TYPE_INT>>::vector_constant(*c0, *c1, vec_res); | 626 | 49 | } else { | 627 | 0 | GenericComparisonImpl<Op<TYPE_INT>>::vector_vector(*c0, *c1, vec_res); | 628 | 0 | } | 629 | | | 630 | 49 | block.replace_by_position(result, std::move(c_res)); | 631 | 49 | } |
|
632 | | |
633 | | Status execute_generic(Block& block, uint32_t result, const ColumnWithTypeAndName& c0, |
634 | 155 | const ColumnWithTypeAndName& c1) const { |
635 | 155 | execute_generic_identical_types(block, result, c0.column.get(), c1.column.get()); |
636 | 155 | return Status::OK(); |
637 | 155 | } _ZNK5doris18FunctionComparisonINS_8EqualsOpENS_10NameEqualsEE15execute_genericERNS_5BlockEjRKNS_21ColumnWithTypeAndNameES8_ Line | Count | Source | 634 | 17 | const ColumnWithTypeAndName& c1) const { | 635 | 17 | execute_generic_identical_types(block, result, c0.column.get(), c1.column.get()); | 636 | 17 | return Status::OK(); | 637 | 17 | } |
_ZNK5doris18FunctionComparisonINS_11NotEqualsOpENS_13NameNotEqualsEE15execute_genericERNS_5BlockEjRKNS_21ColumnWithTypeAndNameES8_ Line | Count | Source | 634 | 8 | const ColumnWithTypeAndName& c1) const { | 635 | 8 | execute_generic_identical_types(block, result, c0.column.get(), c1.column.get()); | 636 | 8 | return Status::OK(); | 637 | 8 | } |
_ZNK5doris18FunctionComparisonINS_9GreaterOpENS_11NameGreaterEE15execute_genericERNS_5BlockEjRKNS_21ColumnWithTypeAndNameES8_ Line | Count | Source | 634 | 9 | const ColumnWithTypeAndName& c1) const { | 635 | 9 | execute_generic_identical_types(block, result, c0.column.get(), c1.column.get()); | 636 | 9 | return Status::OK(); | 637 | 9 | } |
_ZNK5doris18FunctionComparisonINS_17GreaterOrEqualsOpENS_19NameGreaterOrEqualsEE15execute_genericERNS_5BlockEjRKNS_21ColumnWithTypeAndNameES8_ Line | Count | Source | 634 | 61 | const ColumnWithTypeAndName& c1) const { | 635 | 61 | execute_generic_identical_types(block, result, c0.column.get(), c1.column.get()); | 636 | 61 | return Status::OK(); | 637 | 61 | } |
_ZNK5doris18FunctionComparisonINS_6LessOpENS_8NameLessEE15execute_genericERNS_5BlockEjRKNS_21ColumnWithTypeAndNameES8_ Line | Count | Source | 634 | 11 | const ColumnWithTypeAndName& c1) const { | 635 | 11 | execute_generic_identical_types(block, result, c0.column.get(), c1.column.get()); | 636 | 11 | return Status::OK(); | 637 | 11 | } |
_ZNK5doris18FunctionComparisonINS_14LessOrEqualsOpENS_16NameLessOrEqualsEE15execute_genericERNS_5BlockEjRKNS_21ColumnWithTypeAndNameES8_ Line | Count | Source | 634 | 49 | const ColumnWithTypeAndName& c1) const { | 635 | 49 | execute_generic_identical_types(block, result, c0.column.get(), c1.column.get()); | 636 | 49 | return Status::OK(); | 637 | 49 | } |
|
638 | | |
639 | | public: |
640 | 222 | String get_name() const override { return name; }_ZNK5doris18FunctionComparisonINS_8EqualsOpENS_10NameEqualsEE8get_nameB5cxx11Ev Line | Count | Source | 640 | 63 | String get_name() const override { return name; } |
_ZNK5doris18FunctionComparisonINS_11NotEqualsOpENS_13NameNotEqualsEE8get_nameB5cxx11Ev Line | Count | Source | 640 | 37 | String get_name() const override { return name; } |
_ZNK5doris18FunctionComparisonINS_9GreaterOpENS_11NameGreaterEE8get_nameB5cxx11Ev Line | Count | Source | 640 | 39 | String get_name() const override { return name; } |
_ZNK5doris18FunctionComparisonINS_17GreaterOrEqualsOpENS_19NameGreaterOrEqualsEE8get_nameB5cxx11Ev Line | Count | Source | 640 | 81 | String get_name() const override { return name; } |
_ZNK5doris18FunctionComparisonINS_6LessOpENS_8NameLessEE8get_nameB5cxx11Ev Line | Count | Source | 640 | 1 | String get_name() const override { return name; } |
_ZNK5doris18FunctionComparisonINS_14LessOrEqualsOpENS_16NameLessOrEqualsEE8get_nameB5cxx11Ev Line | Count | Source | 640 | 1 | String get_name() const override { return name; } |
|
641 | | |
642 | 269k | size_t get_number_of_arguments() const override { return 2; }_ZNK5doris18FunctionComparisonINS_8EqualsOpENS_10NameEqualsEE23get_number_of_argumentsEv Line | Count | Source | 642 | 242k | size_t get_number_of_arguments() const override { return 2; } |
_ZNK5doris18FunctionComparisonINS_11NotEqualsOpENS_13NameNotEqualsEE23get_number_of_argumentsEv Line | Count | Source | 642 | 1.15k | size_t get_number_of_arguments() const override { return 2; } |
_ZNK5doris18FunctionComparisonINS_9GreaterOpENS_11NameGreaterEE23get_number_of_argumentsEv Line | Count | Source | 642 | 5.00k | size_t get_number_of_arguments() const override { return 2; } |
_ZNK5doris18FunctionComparisonINS_17GreaterOrEqualsOpENS_19NameGreaterOrEqualsEE23get_number_of_argumentsEv Line | Count | Source | 642 | 8.01k | size_t get_number_of_arguments() const override { return 2; } |
_ZNK5doris18FunctionComparisonINS_6LessOpENS_8NameLessEE23get_number_of_argumentsEv Line | Count | Source | 642 | 2.99k | size_t get_number_of_arguments() const override { return 2; } |
_ZNK5doris18FunctionComparisonINS_14LessOrEqualsOpENS_16NameLessOrEqualsEE23get_number_of_argumentsEv Line | Count | Source | 642 | 9.67k | size_t get_number_of_arguments() const override { return 2; } |
|
643 | | |
644 | | ZoneMapFilterResult evaluate_zonemap_filter(const ZoneMapEvalContext& ctx, |
645 | 2.74k | const VExprSPtrs& arguments) const override { |
646 | 2.74k | auto op = comparison_zonemap_detail::op_from_name(name); |
647 | 2.74k | DORIS_CHECK(op.has_value()); |
648 | 2.74k | return comparison_zonemap_detail::evaluate(ctx, arguments, *op); |
649 | 2.74k | } _ZNK5doris18FunctionComparisonINS_8EqualsOpENS_10NameEqualsEE23evaluate_zonemap_filterERKNS_18ZoneMapEvalContextERKSt6vectorISt10shared_ptrINS_5VExprEESaISA_EE Line | Count | Source | 645 | 1.58k | const VExprSPtrs& arguments) const override { | 646 | 1.58k | auto op = comparison_zonemap_detail::op_from_name(name); | 647 | 1.58k | DORIS_CHECK(op.has_value()); | 648 | 1.58k | return comparison_zonemap_detail::evaluate(ctx, arguments, *op); | 649 | 1.58k | } |
_ZNK5doris18FunctionComparisonINS_11NotEqualsOpENS_13NameNotEqualsEE23evaluate_zonemap_filterERKNS_18ZoneMapEvalContextERKSt6vectorISt10shared_ptrINS_5VExprEESaISA_EE Line | Count | Source | 645 | 131 | const VExprSPtrs& arguments) const override { | 646 | 131 | auto op = comparison_zonemap_detail::op_from_name(name); | 647 | 131 | DORIS_CHECK(op.has_value()); | 648 | 131 | return comparison_zonemap_detail::evaluate(ctx, arguments, *op); | 649 | 131 | } |
_ZNK5doris18FunctionComparisonINS_9GreaterOpENS_11NameGreaterEE23evaluate_zonemap_filterERKNS_18ZoneMapEvalContextERKSt6vectorISt10shared_ptrINS_5VExprEESaISA_EE Line | Count | Source | 645 | 259 | const VExprSPtrs& arguments) const override { | 646 | 259 | auto op = comparison_zonemap_detail::op_from_name(name); | 647 | 259 | DORIS_CHECK(op.has_value()); | 648 | 259 | return comparison_zonemap_detail::evaluate(ctx, arguments, *op); | 649 | 259 | } |
_ZNK5doris18FunctionComparisonINS_17GreaterOrEqualsOpENS_19NameGreaterOrEqualsEE23evaluate_zonemap_filterERKNS_18ZoneMapEvalContextERKSt6vectorISt10shared_ptrINS_5VExprEESaISA_EE Line | Count | Source | 645 | 240 | const VExprSPtrs& arguments) const override { | 646 | 240 | auto op = comparison_zonemap_detail::op_from_name(name); | 647 | 240 | DORIS_CHECK(op.has_value()); | 648 | 240 | return comparison_zonemap_detail::evaluate(ctx, arguments, *op); | 649 | 240 | } |
_ZNK5doris18FunctionComparisonINS_6LessOpENS_8NameLessEE23evaluate_zonemap_filterERKNS_18ZoneMapEvalContextERKSt6vectorISt10shared_ptrINS_5VExprEESaISA_EE Line | Count | Source | 645 | 306 | const VExprSPtrs& arguments) const override { | 646 | 306 | auto op = comparison_zonemap_detail::op_from_name(name); | 647 | 306 | DORIS_CHECK(op.has_value()); | 648 | 306 | return comparison_zonemap_detail::evaluate(ctx, arguments, *op); | 649 | 306 | } |
_ZNK5doris18FunctionComparisonINS_14LessOrEqualsOpENS_16NameLessOrEqualsEE23evaluate_zonemap_filterERKNS_18ZoneMapEvalContextERKSt6vectorISt10shared_ptrINS_5VExprEESaISA_EE Line | Count | Source | 645 | 226 | const VExprSPtrs& arguments) const override { | 646 | 226 | auto op = comparison_zonemap_detail::op_from_name(name); | 647 | 226 | DORIS_CHECK(op.has_value()); | 648 | 226 | return comparison_zonemap_detail::evaluate(ctx, arguments, *op); | 649 | 226 | } |
|
650 | | |
651 | 31.6k | bool can_evaluate_zonemap_filter(const VExprSPtrs& arguments) const override { |
652 | 31.6k | return comparison_zonemap_detail::op_from_name(name).has_value() && |
653 | 31.6k | comparison_zonemap_detail::can_evaluate(arguments); |
654 | 31.6k | } _ZNK5doris18FunctionComparisonINS_8EqualsOpENS_10NameEqualsEE27can_evaluate_zonemap_filterERKSt6vectorISt10shared_ptrINS_5VExprEESaIS7_EE Line | Count | Source | 651 | 14.9k | bool can_evaluate_zonemap_filter(const VExprSPtrs& arguments) const override { | 652 | 14.9k | return comparison_zonemap_detail::op_from_name(name).has_value() && | 653 | 14.9k | comparison_zonemap_detail::can_evaluate(arguments); | 654 | 14.9k | } |
_ZNK5doris18FunctionComparisonINS_11NotEqualsOpENS_13NameNotEqualsEE27can_evaluate_zonemap_filterERKSt6vectorISt10shared_ptrINS_5VExprEESaIS7_EE Line | Count | Source | 651 | 1.52k | bool can_evaluate_zonemap_filter(const VExprSPtrs& arguments) const override { | 652 | 1.52k | return comparison_zonemap_detail::op_from_name(name).has_value() && | 653 | 1.52k | comparison_zonemap_detail::can_evaluate(arguments); | 654 | 1.52k | } |
_ZNK5doris18FunctionComparisonINS_9GreaterOpENS_11NameGreaterEE27can_evaluate_zonemap_filterERKSt6vectorISt10shared_ptrINS_5VExprEESaIS7_EE Line | Count | Source | 651 | 6.10k | bool can_evaluate_zonemap_filter(const VExprSPtrs& arguments) const override { | 652 | 6.10k | return comparison_zonemap_detail::op_from_name(name).has_value() && | 653 | 6.10k | comparison_zonemap_detail::can_evaluate(arguments); | 654 | 6.10k | } |
_ZNK5doris18FunctionComparisonINS_17GreaterOrEqualsOpENS_19NameGreaterOrEqualsEE27can_evaluate_zonemap_filterERKSt6vectorISt10shared_ptrINS_5VExprEESaIS7_EE Line | Count | Source | 651 | 3.83k | bool can_evaluate_zonemap_filter(const VExprSPtrs& arguments) const override { | 652 | 3.83k | return comparison_zonemap_detail::op_from_name(name).has_value() && | 653 | 3.84k | comparison_zonemap_detail::can_evaluate(arguments); | 654 | 3.83k | } |
_ZNK5doris18FunctionComparisonINS_6LessOpENS_8NameLessEE27can_evaluate_zonemap_filterERKSt6vectorISt10shared_ptrINS_5VExprEESaIS7_EE Line | Count | Source | 651 | 3.44k | bool can_evaluate_zonemap_filter(const VExprSPtrs& arguments) const override { | 652 | 3.44k | return comparison_zonemap_detail::op_from_name(name).has_value() && | 653 | 3.45k | comparison_zonemap_detail::can_evaluate(arguments); | 654 | 3.44k | } |
_ZNK5doris18FunctionComparisonINS_14LessOrEqualsOpENS_16NameLessOrEqualsEE27can_evaluate_zonemap_filterERKSt6vectorISt10shared_ptrINS_5VExprEESaIS7_EE Line | Count | Source | 651 | 1.81k | bool can_evaluate_zonemap_filter(const VExprSPtrs& arguments) const override { | 652 | 1.81k | return comparison_zonemap_detail::op_from_name(name).has_value() && | 653 | 1.82k | comparison_zonemap_detail::can_evaluate(arguments); | 654 | 1.81k | } |
|
655 | | |
656 | | ZoneMapFilterResult evaluate_dictionary_filter(const DictionaryEvalContext& ctx, |
657 | 14 | const VExprSPtrs& arguments) const override { |
658 | 14 | auto op = comparison_zonemap_detail::op_from_name(name); |
659 | 14 | DORIS_CHECK(op.has_value()); |
660 | 14 | return comparison_zonemap_detail::evaluate_dictionary(ctx, arguments, *op); |
661 | 14 | } _ZNK5doris18FunctionComparisonINS_8EqualsOpENS_10NameEqualsEE26evaluate_dictionary_filterERKNS_12expr_zonemap21DictionaryEvalContextERKSt6vectorISt10shared_ptrINS_5VExprEESaISB_EE Line | Count | Source | 657 | 4 | const VExprSPtrs& arguments) const override { | 658 | 4 | auto op = comparison_zonemap_detail::op_from_name(name); | 659 | 4 | DORIS_CHECK(op.has_value()); | 660 | 4 | return comparison_zonemap_detail::evaluate_dictionary(ctx, arguments, *op); | 661 | 4 | } |
Unexecuted instantiation: _ZNK5doris18FunctionComparisonINS_11NotEqualsOpENS_13NameNotEqualsEE26evaluate_dictionary_filterERKNS_12expr_zonemap21DictionaryEvalContextERKSt6vectorISt10shared_ptrINS_5VExprEESaISB_EE _ZNK5doris18FunctionComparisonINS_9GreaterOpENS_11NameGreaterEE26evaluate_dictionary_filterERKNS_12expr_zonemap21DictionaryEvalContextERKSt6vectorISt10shared_ptrINS_5VExprEESaISB_EE Line | Count | Source | 657 | 3 | const VExprSPtrs& arguments) const override { | 658 | 3 | auto op = comparison_zonemap_detail::op_from_name(name); | 659 | 3 | DORIS_CHECK(op.has_value()); | 660 | 3 | return comparison_zonemap_detail::evaluate_dictionary(ctx, arguments, *op); | 661 | 3 | } |
Unexecuted instantiation: _ZNK5doris18FunctionComparisonINS_17GreaterOrEqualsOpENS_19NameGreaterOrEqualsEE26evaluate_dictionary_filterERKNS_12expr_zonemap21DictionaryEvalContextERKSt6vectorISt10shared_ptrINS_5VExprEESaISB_EE _ZNK5doris18FunctionComparisonINS_6LessOpENS_8NameLessEE26evaluate_dictionary_filterERKNS_12expr_zonemap21DictionaryEvalContextERKSt6vectorISt10shared_ptrINS_5VExprEESaISB_EE Line | Count | Source | 657 | 7 | const VExprSPtrs& arguments) const override { | 658 | 7 | auto op = comparison_zonemap_detail::op_from_name(name); | 659 | 7 | DORIS_CHECK(op.has_value()); | 660 | 7 | return comparison_zonemap_detail::evaluate_dictionary(ctx, arguments, *op); | 661 | 7 | } |
Unexecuted instantiation: _ZNK5doris18FunctionComparisonINS_14LessOrEqualsOpENS_16NameLessOrEqualsEE26evaluate_dictionary_filterERKNS_12expr_zonemap21DictionaryEvalContextERKSt6vectorISt10shared_ptrINS_5VExprEESaISB_EE |
662 | | |
663 | 140 | bool can_evaluate_dictionary_filter(const VExprSPtrs& arguments) const override { |
664 | 140 | auto op = comparison_zonemap_detail::op_from_name(name); |
665 | 140 | return op.has_value() && comparison_zonemap_detail::can_evaluate(arguments); |
666 | 140 | } _ZNK5doris18FunctionComparisonINS_8EqualsOpENS_10NameEqualsEE30can_evaluate_dictionary_filterERKSt6vectorISt10shared_ptrINS_5VExprEESaIS7_EE Line | Count | Source | 663 | 23 | bool can_evaluate_dictionary_filter(const VExprSPtrs& arguments) const override { | 664 | 23 | auto op = comparison_zonemap_detail::op_from_name(name); | 665 | 23 | return op.has_value() && comparison_zonemap_detail::can_evaluate(arguments); | 666 | 23 | } |
_ZNK5doris18FunctionComparisonINS_11NotEqualsOpENS_13NameNotEqualsEE30can_evaluate_dictionary_filterERKSt6vectorISt10shared_ptrINS_5VExprEESaIS7_EE Line | Count | Source | 663 | 1 | bool can_evaluate_dictionary_filter(const VExprSPtrs& arguments) const override { | 664 | 1 | auto op = comparison_zonemap_detail::op_from_name(name); | 665 | 1 | return op.has_value() && comparison_zonemap_detail::can_evaluate(arguments); | 666 | 1 | } |
_ZNK5doris18FunctionComparisonINS_9GreaterOpENS_11NameGreaterEE30can_evaluate_dictionary_filterERKSt6vectorISt10shared_ptrINS_5VExprEESaIS7_EE Line | Count | Source | 663 | 91 | bool can_evaluate_dictionary_filter(const VExprSPtrs& arguments) const override { | 664 | 91 | auto op = comparison_zonemap_detail::op_from_name(name); | 665 | 91 | return op.has_value() && comparison_zonemap_detail::can_evaluate(arguments); | 666 | 91 | } |
_ZNK5doris18FunctionComparisonINS_17GreaterOrEqualsOpENS_19NameGreaterOrEqualsEE30can_evaluate_dictionary_filterERKSt6vectorISt10shared_ptrINS_5VExprEESaIS7_EE Line | Count | Source | 663 | 1 | bool can_evaluate_dictionary_filter(const VExprSPtrs& arguments) const override { | 664 | 1 | auto op = comparison_zonemap_detail::op_from_name(name); | 665 | 1 | return op.has_value() && comparison_zonemap_detail::can_evaluate(arguments); | 666 | 1 | } |
_ZNK5doris18FunctionComparisonINS_6LessOpENS_8NameLessEE30can_evaluate_dictionary_filterERKSt6vectorISt10shared_ptrINS_5VExprEESaIS7_EE Line | Count | Source | 663 | 23 | bool can_evaluate_dictionary_filter(const VExprSPtrs& arguments) const override { | 664 | 23 | auto op = comparison_zonemap_detail::op_from_name(name); | 665 | 23 | return op.has_value() && comparison_zonemap_detail::can_evaluate(arguments); | 666 | 23 | } |
_ZNK5doris18FunctionComparisonINS_14LessOrEqualsOpENS_16NameLessOrEqualsEE30can_evaluate_dictionary_filterERKSt6vectorISt10shared_ptrINS_5VExprEESaIS7_EE Line | Count | Source | 663 | 1 | bool can_evaluate_dictionary_filter(const VExprSPtrs& arguments) const override { | 664 | 1 | auto op = comparison_zonemap_detail::op_from_name(name); | 665 | 1 | return op.has_value() && comparison_zonemap_detail::can_evaluate(arguments); | 666 | 1 | } |
|
667 | | |
668 | | ZoneMapFilterResult evaluate_bloom_filter(const BloomFilterEvalContext& ctx, |
669 | 19 | const VExprSPtrs& arguments) const override { |
670 | 19 | auto op = comparison_zonemap_detail::op_from_name(name); |
671 | 19 | DORIS_CHECK(op.has_value()); |
672 | 19 | return comparison_zonemap_detail::evaluate_bloom_filter(ctx, arguments, *op); |
673 | 19 | } _ZNK5doris18FunctionComparisonINS_8EqualsOpENS_10NameEqualsEE21evaluate_bloom_filterERKNS_12expr_zonemap22BloomFilterEvalContextERKSt6vectorISt10shared_ptrINS_5VExprEESaISB_EE Line | Count | Source | 669 | 19 | const VExprSPtrs& arguments) const override { | 670 | 19 | auto op = comparison_zonemap_detail::op_from_name(name); | 671 | 19 | DORIS_CHECK(op.has_value()); | 672 | 19 | return comparison_zonemap_detail::evaluate_bloom_filter(ctx, arguments, *op); | 673 | 19 | } |
Unexecuted instantiation: _ZNK5doris18FunctionComparisonINS_11NotEqualsOpENS_13NameNotEqualsEE21evaluate_bloom_filterERKNS_12expr_zonemap22BloomFilterEvalContextERKSt6vectorISt10shared_ptrINS_5VExprEESaISB_EE Unexecuted instantiation: _ZNK5doris18FunctionComparisonINS_9GreaterOpENS_11NameGreaterEE21evaluate_bloom_filterERKNS_12expr_zonemap22BloomFilterEvalContextERKSt6vectorISt10shared_ptrINS_5VExprEESaISB_EE Unexecuted instantiation: _ZNK5doris18FunctionComparisonINS_17GreaterOrEqualsOpENS_19NameGreaterOrEqualsEE21evaluate_bloom_filterERKNS_12expr_zonemap22BloomFilterEvalContextERKSt6vectorISt10shared_ptrINS_5VExprEESaISB_EE Unexecuted instantiation: _ZNK5doris18FunctionComparisonINS_6LessOpENS_8NameLessEE21evaluate_bloom_filterERKNS_12expr_zonemap22BloomFilterEvalContextERKSt6vectorISt10shared_ptrINS_5VExprEESaISB_EE Unexecuted instantiation: _ZNK5doris18FunctionComparisonINS_14LessOrEqualsOpENS_16NameLessOrEqualsEE21evaluate_bloom_filterERKNS_12expr_zonemap22BloomFilterEvalContextERKSt6vectorISt10shared_ptrINS_5VExprEESaISB_EE |
674 | | |
675 | 60 | bool can_evaluate_bloom_filter(const VExprSPtrs& arguments) const override { |
676 | 60 | auto op = comparison_zonemap_detail::op_from_name(name); |
677 | 60 | return op == comparison_zonemap_detail::Op::EQ && |
678 | 60 | expr_zonemap::can_evaluate_bloom_filter_equality(arguments); |
679 | 60 | } _ZNK5doris18FunctionComparisonINS_8EqualsOpENS_10NameEqualsEE25can_evaluate_bloom_filterERKSt6vectorISt10shared_ptrINS_5VExprEESaIS7_EE Line | Count | Source | 675 | 26 | bool can_evaluate_bloom_filter(const VExprSPtrs& arguments) const override { | 676 | 26 | auto op = comparison_zonemap_detail::op_from_name(name); | 677 | 26 | return op == comparison_zonemap_detail::Op::EQ && | 678 | 26 | expr_zonemap::can_evaluate_bloom_filter_equality(arguments); | 679 | 26 | } |
_ZNK5doris18FunctionComparisonINS_11NotEqualsOpENS_13NameNotEqualsEE25can_evaluate_bloom_filterERKSt6vectorISt10shared_ptrINS_5VExprEESaIS7_EE Line | Count | Source | 675 | 1 | bool can_evaluate_bloom_filter(const VExprSPtrs& arguments) const override { | 676 | 1 | auto op = comparison_zonemap_detail::op_from_name(name); | 677 | 1 | return op == comparison_zonemap_detail::Op::EQ && | 678 | 1 | expr_zonemap::can_evaluate_bloom_filter_equality(arguments); | 679 | 1 | } |
_ZNK5doris18FunctionComparisonINS_9GreaterOpENS_11NameGreaterEE25can_evaluate_bloom_filterERKSt6vectorISt10shared_ptrINS_5VExprEESaIS7_EE Line | Count | Source | 675 | 27 | bool can_evaluate_bloom_filter(const VExprSPtrs& arguments) const override { | 676 | 27 | auto op = comparison_zonemap_detail::op_from_name(name); | 677 | 27 | return op == comparison_zonemap_detail::Op::EQ && | 678 | 27 | expr_zonemap::can_evaluate_bloom_filter_equality(arguments); | 679 | 27 | } |
Unexecuted instantiation: _ZNK5doris18FunctionComparisonINS_17GreaterOrEqualsOpENS_19NameGreaterOrEqualsEE25can_evaluate_bloom_filterERKSt6vectorISt10shared_ptrINS_5VExprEESaIS7_EE _ZNK5doris18FunctionComparisonINS_6LessOpENS_8NameLessEE25can_evaluate_bloom_filterERKSt6vectorISt10shared_ptrINS_5VExprEESaIS7_EE Line | Count | Source | 675 | 6 | bool can_evaluate_bloom_filter(const VExprSPtrs& arguments) const override { | 676 | 6 | auto op = comparison_zonemap_detail::op_from_name(name); | 677 | 6 | return op == comparison_zonemap_detail::Op::EQ && | 678 | 6 | expr_zonemap::can_evaluate_bloom_filter_equality(arguments); | 679 | 6 | } |
Unexecuted instantiation: _ZNK5doris18FunctionComparisonINS_14LessOrEqualsOpENS_16NameLessOrEqualsEE25can_evaluate_bloom_filterERKSt6vectorISt10shared_ptrINS_5VExprEESaIS7_EE |
680 | | |
681 | | /// Get result types by argument types. If the function does not apply to these arguments, throw an exception. |
682 | 269k | DataTypePtr get_return_type_impl(const DataTypes& arguments) const override { |
683 | 269k | return std::make_shared<DataTypeUInt8>(); |
684 | 269k | } _ZNK5doris18FunctionComparisonINS_8EqualsOpENS_10NameEqualsEE20get_return_type_implERKSt6vectorISt10shared_ptrIKNS_9IDataTypeEESaIS8_EE Line | Count | Source | 682 | 242k | DataTypePtr get_return_type_impl(const DataTypes& arguments) const override { | 683 | 242k | return std::make_shared<DataTypeUInt8>(); | 684 | 242k | } |
_ZNK5doris18FunctionComparisonINS_11NotEqualsOpENS_13NameNotEqualsEE20get_return_type_implERKSt6vectorISt10shared_ptrIKNS_9IDataTypeEESaIS8_EE Line | Count | Source | 682 | 1.14k | DataTypePtr get_return_type_impl(const DataTypes& arguments) const override { | 683 | 1.14k | return std::make_shared<DataTypeUInt8>(); | 684 | 1.14k | } |
_ZNK5doris18FunctionComparisonINS_9GreaterOpENS_11NameGreaterEE20get_return_type_implERKSt6vectorISt10shared_ptrIKNS_9IDataTypeEESaIS8_EE Line | Count | Source | 682 | 5.00k | DataTypePtr get_return_type_impl(const DataTypes& arguments) const override { | 683 | 5.00k | return std::make_shared<DataTypeUInt8>(); | 684 | 5.00k | } |
_ZNK5doris18FunctionComparisonINS_17GreaterOrEqualsOpENS_19NameGreaterOrEqualsEE20get_return_type_implERKSt6vectorISt10shared_ptrIKNS_9IDataTypeEESaIS8_EE Line | Count | Source | 682 | 8.01k | DataTypePtr get_return_type_impl(const DataTypes& arguments) const override { | 683 | 8.01k | return std::make_shared<DataTypeUInt8>(); | 684 | 8.01k | } |
_ZNK5doris18FunctionComparisonINS_6LessOpENS_8NameLessEE20get_return_type_implERKSt6vectorISt10shared_ptrIKNS_9IDataTypeEESaIS8_EE Line | Count | Source | 682 | 2.99k | DataTypePtr get_return_type_impl(const DataTypes& arguments) const override { | 683 | 2.99k | return std::make_shared<DataTypeUInt8>(); | 684 | 2.99k | } |
_ZNK5doris18FunctionComparisonINS_14LessOrEqualsOpENS_16NameLessOrEqualsEE20get_return_type_implERKSt6vectorISt10shared_ptrIKNS_9IDataTypeEESaIS8_EE Line | Count | Source | 682 | 9.67k | DataTypePtr get_return_type_impl(const DataTypes& arguments) const override { | 683 | 9.67k | return std::make_shared<DataTypeUInt8>(); | 684 | 9.67k | } |
|
685 | | |
686 | | Status evaluate_inverted_index( |
687 | | const ColumnsWithTypeAndName& arguments, |
688 | | const std::vector<IndexFieldNameAndTypePair>& data_type_with_names, |
689 | | std::vector<segment_v2::IndexIterator*> iterators, uint32_t num_rows, |
690 | | const InvertedIndexAnalyzerCtx* analyzer_ctx, |
691 | 1.32k | segment_v2::InvertedIndexResultBitmap& bitmap_result) const override { |
692 | 1.32k | DCHECK(arguments.size() == 1); |
693 | 1.32k | DCHECK(data_type_with_names.size() == 1); |
694 | 1.32k | DCHECK(iterators.size() == 1); |
695 | 1.32k | auto* iter = iterators[0]; |
696 | 1.32k | auto data_type_with_name = data_type_with_names[0]; |
697 | 1.32k | if (iter == nullptr) { |
698 | 0 | return Status::OK(); |
699 | 0 | } |
700 | 1.32k | if (!segment_v2::IndexReaderHelper::has_string_or_bkd_index(iter)) { |
701 | 309 | return Status::OK(); |
702 | 309 | } |
703 | 1.01k | segment_v2::InvertedIndexQueryType query_type; |
704 | 1.01k | std::string_view name_view(name); |
705 | 1.01k | if (name_view == NameEquals::name || name_view == NameNotEquals::name) { |
706 | 691 | query_type = segment_v2::InvertedIndexQueryType::EQUAL_QUERY; |
707 | 691 | } else if (name_view == NameLess::name) { |
708 | 75 | query_type = segment_v2::InvertedIndexQueryType::LESS_THAN_QUERY; |
709 | 248 | } else if (name_view == NameLessOrEquals::name) { |
710 | 81 | query_type = segment_v2::InvertedIndexQueryType::LESS_EQUAL_QUERY; |
711 | 167 | } else if (name_view == NameGreater::name) { |
712 | 73 | query_type = segment_v2::InvertedIndexQueryType::GREATER_THAN_QUERY; |
713 | 94 | } else if (name_view == NameGreaterOrEquals::name) { |
714 | 93 | query_type = segment_v2::InvertedIndexQueryType::GREATER_EQUAL_QUERY; |
715 | 93 | } else { |
716 | 1 | return Status::InvalidArgument("invalid comparison op type {}", Name::name); |
717 | 1 | } |
718 | | |
719 | 1.01k | if (segment_v2::is_range_query(query_type) && |
720 | 1.01k | iter->get_reader(segment_v2::InvertedIndexReaderType::STRING_TYPE)) { |
721 | | // untokenized strings exceed ignore_above, they are written as null, causing range query errors |
722 | 133 | return Status::OK(); |
723 | 133 | } |
724 | 880 | Field param_value; |
725 | 880 | arguments[0].column->get(0, param_value); |
726 | 880 | if (param_value.is_null()) { |
727 | 2 | return Status::OK(); |
728 | 2 | } |
729 | 878 | segment_v2::InvertedIndexParam param; |
730 | 878 | param.column_name = data_type_with_name.first; |
731 | 878 | param.column_type = data_type_with_name.second; |
732 | 878 | param.query_value = param_value; |
733 | 878 | param.query_type = query_type; |
734 | 878 | param.num_rows = num_rows; |
735 | 878 | param.roaring = std::make_shared<roaring::Roaring>(); |
736 | 878 | param.analyzer_ctx = analyzer_ctx; |
737 | 878 | RETURN_IF_ERROR(iter->read_from_index(segment_v2::IndexParam {¶m})); |
738 | 736 | std::shared_ptr<roaring::Roaring> null_bitmap = std::make_shared<roaring::Roaring>(); |
739 | 736 | if (iter->has_null()) { |
740 | 736 | segment_v2::InvertedIndexQueryCacheHandle null_bitmap_cache_handle; |
741 | 736 | RETURN_IF_ERROR(iter->read_null_bitmap(&null_bitmap_cache_handle)); |
742 | 736 | null_bitmap = null_bitmap_cache_handle.get_bitmap(); |
743 | 736 | } |
744 | 736 | segment_v2::InvertedIndexResultBitmap result(param.roaring, null_bitmap); |
745 | 736 | bitmap_result = result; |
746 | 736 | bitmap_result.mask_out_null(); |
747 | | |
748 | 736 | if (name_view == NameNotEquals::name) { |
749 | 59 | roaring::Roaring full_result; |
750 | 59 | full_result.addRange(0, num_rows); |
751 | 59 | bitmap_result.op_not(&full_result); |
752 | 59 | } |
753 | | |
754 | 736 | return Status::OK(); |
755 | 736 | } _ZNK5doris18FunctionComparisonINS_8EqualsOpENS_10NameEqualsEE23evaluate_inverted_indexERKSt6vectorINS_21ColumnWithTypeAndNameESaIS5_EERKS4_ISt4pairINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt10shared_ptrIKNS_9IDataTypeEEESaISL_EES4_IPNS_10segment_v213IndexIteratorESaISS_EEjPKNS_24InvertedIndexAnalyzerCtxERNSQ_25InvertedIndexResultBitmapE Line | Count | Source | 691 | 669 | segment_v2::InvertedIndexResultBitmap& bitmap_result) const override { | 692 | 669 | DCHECK(arguments.size() == 1); | 693 | 669 | DCHECK(data_type_with_names.size() == 1); | 694 | 669 | DCHECK(iterators.size() == 1); | 695 | 669 | auto* iter = iterators[0]; | 696 | 669 | auto data_type_with_name = data_type_with_names[0]; | 697 | 669 | if (iter == nullptr) { | 698 | 0 | return Status::OK(); | 699 | 0 | } | 700 | 669 | if (!segment_v2::IndexReaderHelper::has_string_or_bkd_index(iter)) { | 701 | 42 | return Status::OK(); | 702 | 42 | } | 703 | 627 | segment_v2::InvertedIndexQueryType query_type; | 704 | 627 | std::string_view name_view(name); | 705 | 627 | if (name_view == NameEquals::name || name_view == NameNotEquals::name) { | 706 | 625 | query_type = segment_v2::InvertedIndexQueryType::EQUAL_QUERY; | 707 | 625 | } else if (name_view == NameLess::name) { | 708 | 0 | query_type = segment_v2::InvertedIndexQueryType::LESS_THAN_QUERY; | 709 | 2 | } else if (name_view == NameLessOrEquals::name) { | 710 | 0 | query_type = segment_v2::InvertedIndexQueryType::LESS_EQUAL_QUERY; | 711 | 2 | } else if (name_view == NameGreater::name) { | 712 | 0 | query_type = segment_v2::InvertedIndexQueryType::GREATER_THAN_QUERY; | 713 | 2 | } else if (name_view == NameGreaterOrEquals::name) { | 714 | 0 | query_type = segment_v2::InvertedIndexQueryType::GREATER_EQUAL_QUERY; | 715 | 2 | } else { | 716 | 2 | return Status::InvalidArgument("invalid comparison op type {}", Name::name); | 717 | 2 | } | 718 | | | 719 | 625 | if (segment_v2::is_range_query(query_type) && | 720 | 625 | iter->get_reader(segment_v2::InvertedIndexReaderType::STRING_TYPE)) { | 721 | | // untokenized strings exceed ignore_above, they are written as null, causing range query errors | 722 | 0 | return Status::OK(); | 723 | 0 | } | 724 | 625 | Field param_value; | 725 | 625 | arguments[0].column->get(0, param_value); | 726 | 625 | if (param_value.is_null()) { | 727 | 2 | return Status::OK(); | 728 | 2 | } | 729 | 623 | segment_v2::InvertedIndexParam param; | 730 | 623 | param.column_name = data_type_with_name.first; | 731 | 623 | param.column_type = data_type_with_name.second; | 732 | 623 | param.query_value = param_value; | 733 | 623 | param.query_type = query_type; | 734 | 623 | param.num_rows = num_rows; | 735 | 623 | param.roaring = std::make_shared<roaring::Roaring>(); | 736 | 623 | param.analyzer_ctx = analyzer_ctx; | 737 | 623 | RETURN_IF_ERROR(iter->read_from_index(segment_v2::IndexParam {¶m})); | 738 | 587 | std::shared_ptr<roaring::Roaring> null_bitmap = std::make_shared<roaring::Roaring>(); | 739 | 589 | if (iter->has_null()) { | 740 | 589 | segment_v2::InvertedIndexQueryCacheHandle null_bitmap_cache_handle; | 741 | 589 | RETURN_IF_ERROR(iter->read_null_bitmap(&null_bitmap_cache_handle)); | 742 | 589 | null_bitmap = null_bitmap_cache_handle.get_bitmap(); | 743 | 589 | } | 744 | 587 | segment_v2::InvertedIndexResultBitmap result(param.roaring, null_bitmap); | 745 | 587 | bitmap_result = result; | 746 | 587 | bitmap_result.mask_out_null(); | 747 | | | 748 | 587 | if (name_view == NameNotEquals::name) { | 749 | 0 | roaring::Roaring full_result; | 750 | 0 | full_result.addRange(0, num_rows); | 751 | 0 | bitmap_result.op_not(&full_result); | 752 | 0 | } | 753 | | | 754 | 587 | return Status::OK(); | 755 | 587 | } |
_ZNK5doris18FunctionComparisonINS_11NotEqualsOpENS_13NameNotEqualsEE23evaluate_inverted_indexERKSt6vectorINS_21ColumnWithTypeAndNameESaIS5_EERKS4_ISt4pairINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt10shared_ptrIKNS_9IDataTypeEEESaISL_EES4_IPNS_10segment_v213IndexIteratorESaISS_EEjPKNS_24InvertedIndexAnalyzerCtxERNSQ_25InvertedIndexResultBitmapE Line | Count | Source | 691 | 72 | segment_v2::InvertedIndexResultBitmap& bitmap_result) const override { | 692 | 72 | DCHECK(arguments.size() == 1); | 693 | 72 | DCHECK(data_type_with_names.size() == 1); | 694 | 72 | DCHECK(iterators.size() == 1); | 695 | 72 | auto* iter = iterators[0]; | 696 | 72 | auto data_type_with_name = data_type_with_names[0]; | 697 | 72 | if (iter == nullptr) { | 698 | 0 | return Status::OK(); | 699 | 0 | } | 700 | 72 | if (!segment_v2::IndexReaderHelper::has_string_or_bkd_index(iter)) { | 701 | 6 | return Status::OK(); | 702 | 6 | } | 703 | 66 | segment_v2::InvertedIndexQueryType query_type; | 704 | 66 | std::string_view name_view(name); | 705 | 66 | if (name_view == NameEquals::name || name_view == NameNotEquals::name) { | 706 | 66 | query_type = segment_v2::InvertedIndexQueryType::EQUAL_QUERY; | 707 | 66 | } else if (name_view == NameLess::name) { | 708 | 0 | query_type = segment_v2::InvertedIndexQueryType::LESS_THAN_QUERY; | 709 | 0 | } else if (name_view == NameLessOrEquals::name) { | 710 | 0 | query_type = segment_v2::InvertedIndexQueryType::LESS_EQUAL_QUERY; | 711 | 0 | } else if (name_view == NameGreater::name) { | 712 | 0 | query_type = segment_v2::InvertedIndexQueryType::GREATER_THAN_QUERY; | 713 | 0 | } else if (name_view == NameGreaterOrEquals::name) { | 714 | 0 | query_type = segment_v2::InvertedIndexQueryType::GREATER_EQUAL_QUERY; | 715 | 0 | } else { | 716 | 0 | return Status::InvalidArgument("invalid comparison op type {}", Name::name); | 717 | 0 | } | 718 | | | 719 | 66 | if (segment_v2::is_range_query(query_type) && | 720 | 66 | iter->get_reader(segment_v2::InvertedIndexReaderType::STRING_TYPE)) { | 721 | | // untokenized strings exceed ignore_above, they are written as null, causing range query errors | 722 | 0 | return Status::OK(); | 723 | 0 | } | 724 | 66 | Field param_value; | 725 | 66 | arguments[0].column->get(0, param_value); | 726 | 66 | if (param_value.is_null()) { | 727 | 0 | return Status::OK(); | 728 | 0 | } | 729 | 66 | segment_v2::InvertedIndexParam param; | 730 | 66 | param.column_name = data_type_with_name.first; | 731 | 66 | param.column_type = data_type_with_name.second; | 732 | 66 | param.query_value = param_value; | 733 | 66 | param.query_type = query_type; | 734 | 66 | param.num_rows = num_rows; | 735 | 66 | param.roaring = std::make_shared<roaring::Roaring>(); | 736 | 66 | param.analyzer_ctx = analyzer_ctx; | 737 | 66 | RETURN_IF_ERROR(iter->read_from_index(segment_v2::IndexParam {¶m})); | 738 | 59 | std::shared_ptr<roaring::Roaring> null_bitmap = std::make_shared<roaring::Roaring>(); | 739 | 59 | if (iter->has_null()) { | 740 | 58 | segment_v2::InvertedIndexQueryCacheHandle null_bitmap_cache_handle; | 741 | 58 | RETURN_IF_ERROR(iter->read_null_bitmap(&null_bitmap_cache_handle)); | 742 | 58 | null_bitmap = null_bitmap_cache_handle.get_bitmap(); | 743 | 58 | } | 744 | 59 | segment_v2::InvertedIndexResultBitmap result(param.roaring, null_bitmap); | 745 | 59 | bitmap_result = result; | 746 | 59 | bitmap_result.mask_out_null(); | 747 | | | 748 | 59 | if (name_view == NameNotEquals::name) { | 749 | 59 | roaring::Roaring full_result; | 750 | 59 | full_result.addRange(0, num_rows); | 751 | 59 | bitmap_result.op_not(&full_result); | 752 | 59 | } | 753 | | | 754 | 59 | return Status::OK(); | 755 | 59 | } |
_ZNK5doris18FunctionComparisonINS_9GreaterOpENS_11NameGreaterEE23evaluate_inverted_indexERKSt6vectorINS_21ColumnWithTypeAndNameESaIS5_EERKS4_ISt4pairINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt10shared_ptrIKNS_9IDataTypeEEESaISL_EES4_IPNS_10segment_v213IndexIteratorESaISS_EEjPKNS_24InvertedIndexAnalyzerCtxERNSQ_25InvertedIndexResultBitmapE Line | Count | Source | 691 | 111 | segment_v2::InvertedIndexResultBitmap& bitmap_result) const override { | 692 | 111 | DCHECK(arguments.size() == 1); | 693 | 111 | DCHECK(data_type_with_names.size() == 1); | 694 | 111 | DCHECK(iterators.size() == 1); | 695 | 111 | auto* iter = iterators[0]; | 696 | 111 | auto data_type_with_name = data_type_with_names[0]; | 697 | 111 | if (iter == nullptr) { | 698 | 0 | return Status::OK(); | 699 | 0 | } | 700 | 111 | if (!segment_v2::IndexReaderHelper::has_string_or_bkd_index(iter)) { | 701 | 39 | return Status::OK(); | 702 | 39 | } | 703 | 72 | segment_v2::InvertedIndexQueryType query_type; | 704 | 72 | std::string_view name_view(name); | 705 | 73 | if (name_view == NameEquals::name || name_view == NameNotEquals::name) { | 706 | 0 | query_type = segment_v2::InvertedIndexQueryType::EQUAL_QUERY; | 707 | 72 | } else if (name_view == NameLess::name) { | 708 | 0 | query_type = segment_v2::InvertedIndexQueryType::LESS_THAN_QUERY; | 709 | 72 | } else if (name_view == NameLessOrEquals::name) { | 710 | 0 | query_type = segment_v2::InvertedIndexQueryType::LESS_EQUAL_QUERY; | 711 | 73 | } else if (name_view == NameGreater::name) { | 712 | 73 | query_type = segment_v2::InvertedIndexQueryType::GREATER_THAN_QUERY; | 713 | 18.4E | } else if (name_view == NameGreaterOrEquals::name) { | 714 | 0 | query_type = segment_v2::InvertedIndexQueryType::GREATER_EQUAL_QUERY; | 715 | 18.4E | } else { | 716 | 18.4E | return Status::InvalidArgument("invalid comparison op type {}", Name::name); | 717 | 18.4E | } | 718 | | | 719 | 73 | if (segment_v2::is_range_query(query_type) && | 720 | 73 | iter->get_reader(segment_v2::InvertedIndexReaderType::STRING_TYPE)) { | 721 | | // untokenized strings exceed ignore_above, they are written as null, causing range query errors | 722 | 17 | return Status::OK(); | 723 | 17 | } | 724 | 56 | Field param_value; | 725 | 56 | arguments[0].column->get(0, param_value); | 726 | 56 | if (param_value.is_null()) { | 727 | 0 | return Status::OK(); | 728 | 0 | } | 729 | 56 | segment_v2::InvertedIndexParam param; | 730 | 56 | param.column_name = data_type_with_name.first; | 731 | 56 | param.column_type = data_type_with_name.second; | 732 | 56 | param.query_value = param_value; | 733 | 56 | param.query_type = query_type; | 734 | 56 | param.num_rows = num_rows; | 735 | 56 | param.roaring = std::make_shared<roaring::Roaring>(); | 736 | 56 | param.analyzer_ctx = analyzer_ctx; | 737 | 56 | RETURN_IF_ERROR(iter->read_from_index(segment_v2::IndexParam {¶m})); | 738 | 37 | std::shared_ptr<roaring::Roaring> null_bitmap = std::make_shared<roaring::Roaring>(); | 739 | 37 | if (iter->has_null()) { | 740 | 37 | segment_v2::InvertedIndexQueryCacheHandle null_bitmap_cache_handle; | 741 | 37 | RETURN_IF_ERROR(iter->read_null_bitmap(&null_bitmap_cache_handle)); | 742 | 37 | null_bitmap = null_bitmap_cache_handle.get_bitmap(); | 743 | 37 | } | 744 | 37 | segment_v2::InvertedIndexResultBitmap result(param.roaring, null_bitmap); | 745 | 37 | bitmap_result = result; | 746 | 37 | bitmap_result.mask_out_null(); | 747 | | | 748 | 37 | if (name_view == NameNotEquals::name) { | 749 | 0 | roaring::Roaring full_result; | 750 | 0 | full_result.addRange(0, num_rows); | 751 | 0 | bitmap_result.op_not(&full_result); | 752 | 0 | } | 753 | | | 754 | 37 | return Status::OK(); | 755 | 37 | } |
_ZNK5doris18FunctionComparisonINS_17GreaterOrEqualsOpENS_19NameGreaterOrEqualsEE23evaluate_inverted_indexERKSt6vectorINS_21ColumnWithTypeAndNameESaIS5_EERKS4_ISt4pairINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt10shared_ptrIKNS_9IDataTypeEEESaISL_EES4_IPNS_10segment_v213IndexIteratorESaISS_EEjPKNS_24InvertedIndexAnalyzerCtxERNSQ_25InvertedIndexResultBitmapE Line | Count | Source | 691 | 179 | segment_v2::InvertedIndexResultBitmap& bitmap_result) const override { | 692 | 179 | DCHECK(arguments.size() == 1); | 693 | 179 | DCHECK(data_type_with_names.size() == 1); | 694 | 179 | DCHECK(iterators.size() == 1); | 695 | 179 | auto* iter = iterators[0]; | 696 | 179 | auto data_type_with_name = data_type_with_names[0]; | 697 | 179 | if (iter == nullptr) { | 698 | 0 | return Status::OK(); | 699 | 0 | } | 700 | 179 | if (!segment_v2::IndexReaderHelper::has_string_or_bkd_index(iter)) { | 701 | 86 | return Status::OK(); | 702 | 86 | } | 703 | 93 | segment_v2::InvertedIndexQueryType query_type; | 704 | 93 | std::string_view name_view(name); | 705 | 93 | if (name_view == NameEquals::name || name_view == NameNotEquals::name) { | 706 | 0 | query_type = segment_v2::InvertedIndexQueryType::EQUAL_QUERY; | 707 | 93 | } else if (name_view == NameLess::name) { | 708 | 0 | query_type = segment_v2::InvertedIndexQueryType::LESS_THAN_QUERY; | 709 | 93 | } else if (name_view == NameLessOrEquals::name) { | 710 | 0 | query_type = segment_v2::InvertedIndexQueryType::LESS_EQUAL_QUERY; | 711 | 93 | } else if (name_view == NameGreater::name) { | 712 | 0 | query_type = segment_v2::InvertedIndexQueryType::GREATER_THAN_QUERY; | 713 | 93 | } else if (name_view == NameGreaterOrEquals::name) { | 714 | 93 | query_type = segment_v2::InvertedIndexQueryType::GREATER_EQUAL_QUERY; | 715 | 93 | } else { | 716 | 0 | return Status::InvalidArgument("invalid comparison op type {}", Name::name); | 717 | 0 | } | 718 | | | 719 | 93 | if (segment_v2::is_range_query(query_type) && | 720 | 93 | iter->get_reader(segment_v2::InvertedIndexReaderType::STRING_TYPE)) { | 721 | | // untokenized strings exceed ignore_above, they are written as null, causing range query errors | 722 | 47 | return Status::OK(); | 723 | 47 | } | 724 | 46 | Field param_value; | 725 | 46 | arguments[0].column->get(0, param_value); | 726 | 46 | if (param_value.is_null()) { | 727 | 0 | return Status::OK(); | 728 | 0 | } | 729 | 46 | segment_v2::InvertedIndexParam param; | 730 | 46 | param.column_name = data_type_with_name.first; | 731 | 46 | param.column_type = data_type_with_name.second; | 732 | 46 | param.query_value = param_value; | 733 | 46 | param.query_type = query_type; | 734 | 46 | param.num_rows = num_rows; | 735 | 46 | param.roaring = std::make_shared<roaring::Roaring>(); | 736 | 46 | param.analyzer_ctx = analyzer_ctx; | 737 | 46 | RETURN_IF_ERROR(iter->read_from_index(segment_v2::IndexParam {¶m})); | 738 | 5 | std::shared_ptr<roaring::Roaring> null_bitmap = std::make_shared<roaring::Roaring>(); | 739 | 5 | if (iter->has_null()) { | 740 | 5 | segment_v2::InvertedIndexQueryCacheHandle null_bitmap_cache_handle; | 741 | 5 | RETURN_IF_ERROR(iter->read_null_bitmap(&null_bitmap_cache_handle)); | 742 | 5 | null_bitmap = null_bitmap_cache_handle.get_bitmap(); | 743 | 5 | } | 744 | 5 | segment_v2::InvertedIndexResultBitmap result(param.roaring, null_bitmap); | 745 | 5 | bitmap_result = result; | 746 | 5 | bitmap_result.mask_out_null(); | 747 | | | 748 | 5 | if (name_view == NameNotEquals::name) { | 749 | 0 | roaring::Roaring full_result; | 750 | 0 | full_result.addRange(0, num_rows); | 751 | 0 | bitmap_result.op_not(&full_result); | 752 | 0 | } | 753 | | | 754 | 5 | return Status::OK(); | 755 | 5 | } |
_ZNK5doris18FunctionComparisonINS_6LessOpENS_8NameLessEE23evaluate_inverted_indexERKSt6vectorINS_21ColumnWithTypeAndNameESaIS5_EERKS4_ISt4pairINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt10shared_ptrIKNS_9IDataTypeEEESaISL_EES4_IPNS_10segment_v213IndexIteratorESaISS_EEjPKNS_24InvertedIndexAnalyzerCtxERNSQ_25InvertedIndexResultBitmapE Line | Count | Source | 691 | 118 | segment_v2::InvertedIndexResultBitmap& bitmap_result) const override { | 692 | 118 | DCHECK(arguments.size() == 1); | 693 | 118 | DCHECK(data_type_with_names.size() == 1); | 694 | 118 | DCHECK(iterators.size() == 1); | 695 | 118 | auto* iter = iterators[0]; | 696 | 118 | auto data_type_with_name = data_type_with_names[0]; | 697 | 118 | if (iter == nullptr) { | 698 | 0 | return Status::OK(); | 699 | 0 | } | 700 | 118 | if (!segment_v2::IndexReaderHelper::has_string_or_bkd_index(iter)) { | 701 | 42 | return Status::OK(); | 702 | 42 | } | 703 | 76 | segment_v2::InvertedIndexQueryType query_type; | 704 | 76 | std::string_view name_view(name); | 705 | 76 | if (name_view == NameEquals::name || name_view == NameNotEquals::name) { | 706 | 0 | query_type = segment_v2::InvertedIndexQueryType::EQUAL_QUERY; | 707 | 76 | } else if (name_view == NameLess::name) { | 708 | 75 | query_type = segment_v2::InvertedIndexQueryType::LESS_THAN_QUERY; | 709 | 75 | } else if (name_view == NameLessOrEquals::name) { | 710 | 0 | query_type = segment_v2::InvertedIndexQueryType::LESS_EQUAL_QUERY; | 711 | 1 | } else if (name_view == NameGreater::name) { | 712 | 0 | query_type = segment_v2::InvertedIndexQueryType::GREATER_THAN_QUERY; | 713 | 1 | } else if (name_view == NameGreaterOrEquals::name) { | 714 | 0 | query_type = segment_v2::InvertedIndexQueryType::GREATER_EQUAL_QUERY; | 715 | 1 | } else { | 716 | 1 | return Status::InvalidArgument("invalid comparison op type {}", Name::name); | 717 | 1 | } | 718 | | | 719 | 75 | if (segment_v2::is_range_query(query_type) && | 720 | 75 | iter->get_reader(segment_v2::InvertedIndexReaderType::STRING_TYPE)) { | 721 | | // untokenized strings exceed ignore_above, they are written as null, causing range query errors | 722 | 18 | return Status::OK(); | 723 | 18 | } | 724 | 57 | Field param_value; | 725 | 57 | arguments[0].column->get(0, param_value); | 726 | 57 | if (param_value.is_null()) { | 727 | 0 | return Status::OK(); | 728 | 0 | } | 729 | 57 | segment_v2::InvertedIndexParam param; | 730 | 57 | param.column_name = data_type_with_name.first; | 731 | 57 | param.column_type = data_type_with_name.second; | 732 | 57 | param.query_value = param_value; | 733 | 57 | param.query_type = query_type; | 734 | 57 | param.num_rows = num_rows; | 735 | 57 | param.roaring = std::make_shared<roaring::Roaring>(); | 736 | 57 | param.analyzer_ctx = analyzer_ctx; | 737 | 57 | RETURN_IF_ERROR(iter->read_from_index(segment_v2::IndexParam {¶m})); | 738 | 38 | std::shared_ptr<roaring::Roaring> null_bitmap = std::make_shared<roaring::Roaring>(); | 739 | 38 | if (iter->has_null()) { | 740 | 38 | segment_v2::InvertedIndexQueryCacheHandle null_bitmap_cache_handle; | 741 | 38 | RETURN_IF_ERROR(iter->read_null_bitmap(&null_bitmap_cache_handle)); | 742 | 38 | null_bitmap = null_bitmap_cache_handle.get_bitmap(); | 743 | 38 | } | 744 | 38 | segment_v2::InvertedIndexResultBitmap result(param.roaring, null_bitmap); | 745 | 38 | bitmap_result = result; | 746 | 38 | bitmap_result.mask_out_null(); | 747 | | | 748 | 38 | if (name_view == NameNotEquals::name) { | 749 | 0 | roaring::Roaring full_result; | 750 | 0 | full_result.addRange(0, num_rows); | 751 | 0 | bitmap_result.op_not(&full_result); | 752 | 0 | } | 753 | | | 754 | 38 | return Status::OK(); | 755 | 38 | } |
_ZNK5doris18FunctionComparisonINS_14LessOrEqualsOpENS_16NameLessOrEqualsEE23evaluate_inverted_indexERKSt6vectorINS_21ColumnWithTypeAndNameESaIS5_EERKS4_ISt4pairINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt10shared_ptrIKNS_9IDataTypeEEESaISL_EES4_IPNS_10segment_v213IndexIteratorESaISS_EEjPKNS_24InvertedIndexAnalyzerCtxERNSQ_25InvertedIndexResultBitmapE Line | Count | Source | 691 | 174 | segment_v2::InvertedIndexResultBitmap& bitmap_result) const override { | 692 | 174 | DCHECK(arguments.size() == 1); | 693 | 174 | DCHECK(data_type_with_names.size() == 1); | 694 | 174 | DCHECK(iterators.size() == 1); | 695 | 174 | auto* iter = iterators[0]; | 696 | 174 | auto data_type_with_name = data_type_with_names[0]; | 697 | 174 | if (iter == nullptr) { | 698 | 0 | return Status::OK(); | 699 | 0 | } | 700 | 174 | if (!segment_v2::IndexReaderHelper::has_string_or_bkd_index(iter)) { | 701 | 94 | return Status::OK(); | 702 | 94 | } | 703 | 80 | segment_v2::InvertedIndexQueryType query_type; | 704 | 80 | std::string_view name_view(name); | 705 | 81 | if (name_view == NameEquals::name || name_view == NameNotEquals::name) { | 706 | 0 | query_type = segment_v2::InvertedIndexQueryType::EQUAL_QUERY; | 707 | 80 | } else if (name_view == NameLess::name) { | 708 | 0 | query_type = segment_v2::InvertedIndexQueryType::LESS_THAN_QUERY; | 709 | 81 | } else if (name_view == NameLessOrEquals::name) { | 710 | 81 | query_type = segment_v2::InvertedIndexQueryType::LESS_EQUAL_QUERY; | 711 | 18.4E | } else if (name_view == NameGreater::name) { | 712 | 0 | query_type = segment_v2::InvertedIndexQueryType::GREATER_THAN_QUERY; | 713 | 18.4E | } else if (name_view == NameGreaterOrEquals::name) { | 714 | 0 | query_type = segment_v2::InvertedIndexQueryType::GREATER_EQUAL_QUERY; | 715 | 18.4E | } else { | 716 | 18.4E | return Status::InvalidArgument("invalid comparison op type {}", Name::name); | 717 | 18.4E | } | 718 | | | 719 | 81 | if (segment_v2::is_range_query(query_type) && | 720 | 81 | iter->get_reader(segment_v2::InvertedIndexReaderType::STRING_TYPE)) { | 721 | | // untokenized strings exceed ignore_above, they are written as null, causing range query errors | 722 | 51 | return Status::OK(); | 723 | 51 | } | 724 | 30 | Field param_value; | 725 | 30 | arguments[0].column->get(0, param_value); | 726 | 30 | if (param_value.is_null()) { | 727 | 0 | return Status::OK(); | 728 | 0 | } | 729 | 30 | segment_v2::InvertedIndexParam param; | 730 | 30 | param.column_name = data_type_with_name.first; | 731 | 30 | param.column_type = data_type_with_name.second; | 732 | 30 | param.query_value = param_value; | 733 | 30 | param.query_type = query_type; | 734 | 30 | param.num_rows = num_rows; | 735 | 30 | param.roaring = std::make_shared<roaring::Roaring>(); | 736 | 30 | param.analyzer_ctx = analyzer_ctx; | 737 | 30 | RETURN_IF_ERROR(iter->read_from_index(segment_v2::IndexParam {¶m})); | 738 | 10 | std::shared_ptr<roaring::Roaring> null_bitmap = std::make_shared<roaring::Roaring>(); | 739 | 10 | if (iter->has_null()) { | 740 | 9 | segment_v2::InvertedIndexQueryCacheHandle null_bitmap_cache_handle; | 741 | 9 | RETURN_IF_ERROR(iter->read_null_bitmap(&null_bitmap_cache_handle)); | 742 | 9 | null_bitmap = null_bitmap_cache_handle.get_bitmap(); | 743 | 9 | } | 744 | 10 | segment_v2::InvertedIndexResultBitmap result(param.roaring, null_bitmap); | 745 | 10 | bitmap_result = result; | 746 | 10 | bitmap_result.mask_out_null(); | 747 | | | 748 | 10 | if (name_view == NameNotEquals::name) { | 749 | 0 | roaring::Roaring full_result; | 750 | 0 | full_result.addRange(0, num_rows); | 751 | 0 | bitmap_result.op_not(&full_result); | 752 | 0 | } | 753 | | | 754 | 10 | return Status::OK(); | 755 | 10 | } |
|
756 | | |
757 | | Status execute_impl(FunctionContext* context, Block& block, const ColumnNumbers& arguments, |
758 | 123k | uint32_t result, size_t input_rows_count) const override { |
759 | 123k | const auto& col_with_type_and_name_left = block.get_by_position(arguments[0]); |
760 | 123k | const auto& col_with_type_and_name_right = block.get_by_position(arguments[1]); |
761 | | |
762 | 123k | const auto& col_left_ptr = col_with_type_and_name_left.column; |
763 | 123k | const auto& col_right_ptr = col_with_type_and_name_right.column; |
764 | 123k | const IColumn* col_left_untyped = col_with_type_and_name_left.column.get(); |
765 | 123k | const IColumn* col_right_untyped = col_with_type_and_name_right.column.get(); |
766 | | |
767 | 123k | const DataTypePtr& left_type = col_with_type_and_name_left.type; |
768 | 123k | const DataTypePtr& right_type = col_with_type_and_name_right.type; |
769 | | |
770 | | /// The case when arguments are the same (tautological comparison). Return constant. |
771 | | /// NOTE: Nullable types are special case. (BTW, this function use default implementation for Nullable, so Nullable types cannot be here. Check just in case.) |
772 | | /// NOTE: We consider NaN comparison to be implementation specific (and in our implementation NaNs are sometimes equal sometimes not). |
773 | 123k | if (left_type->equals(*right_type) && !left_type->is_nullable() && |
774 | 123k | col_left_untyped == col_right_untyped) { |
775 | | /// Always true: =, <=, >= |
776 | | // TODO: Return const column in the future. But seems so far to do. We need a unified approach for passing const column. |
777 | | if constexpr (std::is_same_v<Op<TYPE_INT>, EqualsOp<TYPE_INT>> || |
778 | | std::is_same_v<Op<TYPE_INT>, LessOrEqualsOp<TYPE_INT>> || |
779 | 0 | std::is_same_v<Op<TYPE_INT>, GreaterOrEqualsOp<TYPE_INT>>) { |
780 | 0 | block.get_by_position(result).column = |
781 | 0 | DataTypeUInt8() |
782 | 0 | .create_column_const(input_rows_count, |
783 | 0 | Field::create_field<TYPE_BOOLEAN>(1)) |
784 | 0 | ->convert_to_full_column_if_const(); |
785 | 0 | return Status::OK(); |
786 | 0 | } else { |
787 | 0 | block.get_by_position(result).column = |
788 | 0 | DataTypeUInt8() |
789 | 0 | .create_column_const(input_rows_count, |
790 | 0 | Field::create_field<TYPE_BOOLEAN>(0)) |
791 | 0 | ->convert_to_full_column_if_const(); |
792 | 0 | return Status::OK(); |
793 | 0 | } |
794 | 0 | } |
795 | | |
796 | 232k | auto can_compare = [](PrimitiveType t) -> bool { |
797 | 232k | return is_int_or_bool(t) || is_float_or_double(t) || is_ip(t) || is_date_type(t); |
798 | 232k | }; _ZZNK5doris18FunctionComparisonINS_8EqualsOpENS_10NameEqualsEE12execute_implEPNS_15FunctionContextERNS_5BlockERKSt6vectorIjSaIjEEjmENKUlNS_13PrimitiveTypeEE_clESD_ Line | Count | Source | 796 | 37.4k | auto can_compare = [](PrimitiveType t) -> bool { | 797 | 37.4k | return is_int_or_bool(t) || is_float_or_double(t) || is_ip(t) || is_date_type(t); | 798 | 37.4k | }; |
_ZZNK5doris18FunctionComparisonINS_11NotEqualsOpENS_13NameNotEqualsEE12execute_implEPNS_15FunctionContextERNS_5BlockERKSt6vectorIjSaIjEEjmENKUlNS_13PrimitiveTypeEE_clESD_ Line | Count | Source | 796 | 5.88k | auto can_compare = [](PrimitiveType t) -> bool { | 797 | 5.88k | return is_int_or_bool(t) || is_float_or_double(t) || is_ip(t) || is_date_type(t); | 798 | 5.88k | }; |
_ZZNK5doris18FunctionComparisonINS_9GreaterOpENS_11NameGreaterEE12execute_implEPNS_15FunctionContextERNS_5BlockERKSt6vectorIjSaIjEEjmENKUlNS_13PrimitiveTypeEE_clESD_ Line | Count | Source | 796 | 148k | auto can_compare = [](PrimitiveType t) -> bool { | 797 | 148k | return is_int_or_bool(t) || is_float_or_double(t) || is_ip(t) || is_date_type(t); | 798 | 148k | }; |
_ZZNK5doris18FunctionComparisonINS_17GreaterOrEqualsOpENS_19NameGreaterOrEqualsEE12execute_implEPNS_15FunctionContextERNS_5BlockERKSt6vectorIjSaIjEEjmENKUlNS_13PrimitiveTypeEE_clESD_ Line | Count | Source | 796 | 5.78k | auto can_compare = [](PrimitiveType t) -> bool { | 797 | 5.78k | return is_int_or_bool(t) || is_float_or_double(t) || is_ip(t) || is_date_type(t); | 798 | 5.78k | }; |
_ZZNK5doris18FunctionComparisonINS_6LessOpENS_8NameLessEE12execute_implEPNS_15FunctionContextERNS_5BlockERKSt6vectorIjSaIjEEjmENKUlNS_13PrimitiveTypeEE_clESD_ Line | Count | Source | 796 | 16.4k | auto can_compare = [](PrimitiveType t) -> bool { | 797 | 16.4k | return is_int_or_bool(t) || is_float_or_double(t) || is_ip(t) || is_date_type(t); | 798 | 16.4k | }; |
_ZZNK5doris18FunctionComparisonINS_14LessOrEqualsOpENS_16NameLessOrEqualsEE12execute_implEPNS_15FunctionContextERNS_5BlockERKSt6vectorIjSaIjEEjmENKUlNS_13PrimitiveTypeEE_clESD_ Line | Count | Source | 796 | 18.0k | auto can_compare = [](PrimitiveType t) -> bool { | 797 | 18.0k | return is_int_or_bool(t) || is_float_or_double(t) || is_ip(t) || is_date_type(t); | 798 | 18.0k | }; |
|
799 | | |
800 | 123k | if (can_compare(left_type->get_primitive_type()) && |
801 | 123k | can_compare(right_type->get_primitive_type())) { |
802 | | // check left type equals right type TODO: remove this after FE is aware of scales difference |
803 | 108k | if (!left_type->equals_ignore_precision(*right_type)) { |
804 | 0 | return Status::RuntimeError("not same type in function {} , left : {} , right : {}", |
805 | 0 | get_name(), left_type->get_name(), |
806 | 0 | right_type->get_name()); |
807 | 0 | } |
808 | 108k | } |
809 | | |
810 | 123k | auto compare_type = left_type->get_primitive_type(); |
811 | 123k | switch (compare_type) { |
812 | 229 | case TYPE_BOOLEAN: |
813 | 229 | return execute_num_type<TYPE_BOOLEAN>(block, result, col_left_ptr, col_right_ptr); |
814 | 5.17k | case TYPE_DATEV2: |
815 | 5.17k | return execute_num_type<TYPE_DATEV2>(block, result, col_left_ptr, col_right_ptr); |
816 | 936 | case TYPE_DATETIMEV2: |
817 | 936 | return execute_num_type<TYPE_DATETIMEV2>(block, result, col_left_ptr, col_right_ptr); |
818 | 7 | case TYPE_TIMESTAMPTZ: |
819 | 7 | return execute_num_type<TYPE_TIMESTAMPTZ>(block, result, col_left_ptr, col_right_ptr); |
820 | 8.67k | case TYPE_TINYINT: |
821 | 8.67k | return execute_num_type<TYPE_TINYINT>(block, result, col_left_ptr, col_right_ptr); |
822 | 2.56k | case TYPE_SMALLINT: |
823 | 2.56k | return execute_num_type<TYPE_SMALLINT>(block, result, col_left_ptr, col_right_ptr); |
824 | 80.7k | case TYPE_INT: |
825 | 80.7k | return execute_num_type<TYPE_INT>(block, result, col_left_ptr, col_right_ptr); |
826 | 6.42k | case TYPE_BIGINT: |
827 | 6.42k | return execute_num_type<TYPE_BIGINT>(block, result, col_left_ptr, col_right_ptr); |
828 | 682 | case TYPE_LARGEINT: |
829 | 682 | return execute_num_type<TYPE_LARGEINT>(block, result, col_left_ptr, col_right_ptr); |
830 | 35 | case TYPE_IPV4: |
831 | 35 | return execute_num_type<TYPE_IPV4>(block, result, col_left_ptr, col_right_ptr); |
832 | 35 | case TYPE_IPV6: |
833 | 35 | return execute_num_type<TYPE_IPV6>(block, result, col_left_ptr, col_right_ptr); |
834 | 548 | case TYPE_FLOAT: |
835 | 548 | return execute_num_type<TYPE_FLOAT>(block, result, col_left_ptr, col_right_ptr); |
836 | 2.11k | case TYPE_DOUBLE: |
837 | 2.11k | return execute_num_type<TYPE_DOUBLE>(block, result, col_left_ptr, col_right_ptr); |
838 | 4 | case TYPE_TIMEV2: |
839 | 4 | return execute_num_type<TYPE_TIMEV2>(block, result, col_left_ptr, col_right_ptr); |
840 | 0 | case TYPE_DECIMALV2: |
841 | 357 | case TYPE_DECIMAL32: |
842 | 1.04k | case TYPE_DECIMAL64: |
843 | 3.01k | case TYPE_DECIMAL128I: |
844 | 3.09k | case TYPE_DECIMAL256: |
845 | 3.09k | return execute_decimal(block, result, col_with_type_and_name_left, |
846 | 3.09k | col_with_type_and_name_right); |
847 | 1.09k | case TYPE_CHAR: |
848 | 6.19k | case TYPE_VARCHAR: |
849 | 12.4k | case TYPE_STRING: |
850 | 12.4k | return execute_string(block, result, col_left_untyped, col_right_untyped); |
851 | 155 | default: |
852 | 155 | return execute_generic(block, result, col_with_type_and_name_left, |
853 | 155 | col_with_type_and_name_right); |
854 | 123k | } |
855 | 0 | return Status::OK(); |
856 | 123k | } _ZNK5doris18FunctionComparisonINS_8EqualsOpENS_10NameEqualsEE12execute_implEPNS_15FunctionContextERNS_5BlockERKSt6vectorIjSaIjEEjm Line | Count | Source | 758 | 24.8k | uint32_t result, size_t input_rows_count) const override { | 759 | 24.8k | const auto& col_with_type_and_name_left = block.get_by_position(arguments[0]); | 760 | 24.8k | const auto& col_with_type_and_name_right = block.get_by_position(arguments[1]); | 761 | | | 762 | 24.8k | const auto& col_left_ptr = col_with_type_and_name_left.column; | 763 | 24.8k | const auto& col_right_ptr = col_with_type_and_name_right.column; | 764 | 24.8k | const IColumn* col_left_untyped = col_with_type_and_name_left.column.get(); | 765 | 24.8k | const IColumn* col_right_untyped = col_with_type_and_name_right.column.get(); | 766 | | | 767 | 24.8k | const DataTypePtr& left_type = col_with_type_and_name_left.type; | 768 | 24.8k | const DataTypePtr& right_type = col_with_type_and_name_right.type; | 769 | | | 770 | | /// The case when arguments are the same (tautological comparison). Return constant. | 771 | | /// NOTE: Nullable types are special case. (BTW, this function use default implementation for Nullable, so Nullable types cannot be here. Check just in case.) | 772 | | /// NOTE: We consider NaN comparison to be implementation specific (and in our implementation NaNs are sometimes equal sometimes not). | 773 | 24.8k | if (left_type->equals(*right_type) && !left_type->is_nullable() && | 774 | 24.8k | col_left_untyped == col_right_untyped) { | 775 | | /// Always true: =, <=, >= | 776 | | // TODO: Return const column in the future. But seems so far to do. We need a unified approach for passing const column. | 777 | | if constexpr (std::is_same_v<Op<TYPE_INT>, EqualsOp<TYPE_INT>> || | 778 | | std::is_same_v<Op<TYPE_INT>, LessOrEqualsOp<TYPE_INT>> || | 779 | 0 | std::is_same_v<Op<TYPE_INT>, GreaterOrEqualsOp<TYPE_INT>>) { | 780 | 0 | block.get_by_position(result).column = | 781 | 0 | DataTypeUInt8() | 782 | 0 | .create_column_const(input_rows_count, | 783 | 0 | Field::create_field<TYPE_BOOLEAN>(1)) | 784 | 0 | ->convert_to_full_column_if_const(); | 785 | 0 | return Status::OK(); | 786 | | } else { | 787 | | block.get_by_position(result).column = | 788 | | DataTypeUInt8() | 789 | | .create_column_const(input_rows_count, | 790 | | Field::create_field<TYPE_BOOLEAN>(0)) | 791 | | ->convert_to_full_column_if_const(); | 792 | | return Status::OK(); | 793 | | } | 794 | 0 | } | 795 | | | 796 | 0 | auto can_compare = [](PrimitiveType t) -> bool { | 797 | 24.8k | return is_int_or_bool(t) || is_float_or_double(t) || is_ip(t) || is_date_type(t); | 798 | 24.8k | }; | 799 | | | 800 | 24.8k | if (can_compare(left_type->get_primitive_type()) && | 801 | 24.8k | can_compare(right_type->get_primitive_type())) { | 802 | | // check left type equals right type TODO: remove this after FE is aware of scales difference | 803 | 12.6k | if (!left_type->equals_ignore_precision(*right_type)) { | 804 | 0 | return Status::RuntimeError("not same type in function {} , left : {} , right : {}", | 805 | 0 | get_name(), left_type->get_name(), | 806 | 0 | right_type->get_name()); | 807 | 0 | } | 808 | 12.6k | } | 809 | | | 810 | 24.8k | auto compare_type = left_type->get_primitive_type(); | 811 | 24.8k | switch (compare_type) { | 812 | 91 | case TYPE_BOOLEAN: | 813 | 91 | return execute_num_type<TYPE_BOOLEAN>(block, result, col_left_ptr, col_right_ptr); | 814 | 672 | case TYPE_DATEV2: | 815 | 672 | return execute_num_type<TYPE_DATEV2>(block, result, col_left_ptr, col_right_ptr); | 816 | 394 | case TYPE_DATETIMEV2: | 817 | 394 | return execute_num_type<TYPE_DATETIMEV2>(block, result, col_left_ptr, col_right_ptr); | 818 | 2 | case TYPE_TIMESTAMPTZ: | 819 | 2 | return execute_num_type<TYPE_TIMESTAMPTZ>(block, result, col_left_ptr, col_right_ptr); | 820 | 5.06k | case TYPE_TINYINT: | 821 | 5.06k | return execute_num_type<TYPE_TINYINT>(block, result, col_left_ptr, col_right_ptr); | 822 | 388 | case TYPE_SMALLINT: | 823 | 388 | return execute_num_type<TYPE_SMALLINT>(block, result, col_left_ptr, col_right_ptr); | 824 | 2.08k | case TYPE_INT: | 825 | 2.08k | return execute_num_type<TYPE_INT>(block, result, col_left_ptr, col_right_ptr); | 826 | 2.82k | case TYPE_BIGINT: | 827 | 2.82k | return execute_num_type<TYPE_BIGINT>(block, result, col_left_ptr, col_right_ptr); | 828 | 117 | case TYPE_LARGEINT: | 829 | 117 | return execute_num_type<TYPE_LARGEINT>(block, result, col_left_ptr, col_right_ptr); | 830 | 12 | case TYPE_IPV4: | 831 | 12 | return execute_num_type<TYPE_IPV4>(block, result, col_left_ptr, col_right_ptr); | 832 | 17 | case TYPE_IPV6: | 833 | 17 | return execute_num_type<TYPE_IPV6>(block, result, col_left_ptr, col_right_ptr); | 834 | 88 | case TYPE_FLOAT: | 835 | 88 | return execute_num_type<TYPE_FLOAT>(block, result, col_left_ptr, col_right_ptr); | 836 | 873 | case TYPE_DOUBLE: | 837 | 873 | return execute_num_type<TYPE_DOUBLE>(block, result, col_left_ptr, col_right_ptr); | 838 | 4 | case TYPE_TIMEV2: | 839 | 4 | return execute_num_type<TYPE_TIMEV2>(block, result, col_left_ptr, col_right_ptr); | 840 | 0 | case TYPE_DECIMALV2: | 841 | 140 | case TYPE_DECIMAL32: | 842 | 293 | case TYPE_DECIMAL64: | 843 | 1.14k | case TYPE_DECIMAL128I: | 844 | 1.17k | case TYPE_DECIMAL256: | 845 | 1.17k | return execute_decimal(block, result, col_with_type_and_name_left, | 846 | 1.17k | col_with_type_and_name_right); | 847 | 831 | case TYPE_CHAR: | 848 | 5.23k | case TYPE_VARCHAR: | 849 | 11.0k | case TYPE_STRING: | 850 | 11.0k | return execute_string(block, result, col_left_untyped, col_right_untyped); | 851 | 17 | default: | 852 | 17 | return execute_generic(block, result, col_with_type_and_name_left, | 853 | 17 | col_with_type_and_name_right); | 854 | 24.8k | } | 855 | 0 | return Status::OK(); | 856 | 24.8k | } |
_ZNK5doris18FunctionComparisonINS_11NotEqualsOpENS_13NameNotEqualsEE12execute_implEPNS_15FunctionContextERNS_5BlockERKSt6vectorIjSaIjEEjm Line | Count | Source | 758 | 3.08k | uint32_t result, size_t input_rows_count) const override { | 759 | 3.08k | const auto& col_with_type_and_name_left = block.get_by_position(arguments[0]); | 760 | 3.08k | const auto& col_with_type_and_name_right = block.get_by_position(arguments[1]); | 761 | | | 762 | 3.08k | const auto& col_left_ptr = col_with_type_and_name_left.column; | 763 | 3.08k | const auto& col_right_ptr = col_with_type_and_name_right.column; | 764 | 3.08k | const IColumn* col_left_untyped = col_with_type_and_name_left.column.get(); | 765 | 3.08k | const IColumn* col_right_untyped = col_with_type_and_name_right.column.get(); | 766 | | | 767 | 3.08k | const DataTypePtr& left_type = col_with_type_and_name_left.type; | 768 | 3.08k | const DataTypePtr& right_type = col_with_type_and_name_right.type; | 769 | | | 770 | | /// The case when arguments are the same (tautological comparison). Return constant. | 771 | | /// NOTE: Nullable types are special case. (BTW, this function use default implementation for Nullable, so Nullable types cannot be here. Check just in case.) | 772 | | /// NOTE: We consider NaN comparison to be implementation specific (and in our implementation NaNs are sometimes equal sometimes not). | 773 | 3.08k | if (left_type->equals(*right_type) && !left_type->is_nullable() && | 774 | 3.08k | col_left_untyped == col_right_untyped) { | 775 | | /// Always true: =, <=, >= | 776 | | // TODO: Return const column in the future. But seems so far to do. We need a unified approach for passing const column. | 777 | | if constexpr (std::is_same_v<Op<TYPE_INT>, EqualsOp<TYPE_INT>> || | 778 | | std::is_same_v<Op<TYPE_INT>, LessOrEqualsOp<TYPE_INT>> || | 779 | | std::is_same_v<Op<TYPE_INT>, GreaterOrEqualsOp<TYPE_INT>>) { | 780 | | block.get_by_position(result).column = | 781 | | DataTypeUInt8() | 782 | | .create_column_const(input_rows_count, | 783 | | Field::create_field<TYPE_BOOLEAN>(1)) | 784 | | ->convert_to_full_column_if_const(); | 785 | | return Status::OK(); | 786 | 0 | } else { | 787 | 0 | block.get_by_position(result).column = | 788 | 0 | DataTypeUInt8() | 789 | 0 | .create_column_const(input_rows_count, | 790 | 0 | Field::create_field<TYPE_BOOLEAN>(0)) | 791 | 0 | ->convert_to_full_column_if_const(); | 792 | 0 | return Status::OK(); | 793 | 0 | } | 794 | 0 | } | 795 | | | 796 | 0 | auto can_compare = [](PrimitiveType t) -> bool { | 797 | 3.08k | return is_int_or_bool(t) || is_float_or_double(t) || is_ip(t) || is_date_type(t); | 798 | 3.08k | }; | 799 | | | 800 | 3.08k | if (can_compare(left_type->get_primitive_type()) && | 801 | 3.08k | can_compare(right_type->get_primitive_type())) { | 802 | | // check left type equals right type TODO: remove this after FE is aware of scales difference | 803 | 2.80k | if (!left_type->equals_ignore_precision(*right_type)) { | 804 | 0 | return Status::RuntimeError("not same type in function {} , left : {} , right : {}", | 805 | 0 | get_name(), left_type->get_name(), | 806 | 0 | right_type->get_name()); | 807 | 0 | } | 808 | 2.80k | } | 809 | | | 810 | 3.08k | auto compare_type = left_type->get_primitive_type(); | 811 | 3.08k | switch (compare_type) { | 812 | 0 | case TYPE_BOOLEAN: | 813 | 0 | return execute_num_type<TYPE_BOOLEAN>(block, result, col_left_ptr, col_right_ptr); | 814 | 70 | case TYPE_DATEV2: | 815 | 70 | return execute_num_type<TYPE_DATEV2>(block, result, col_left_ptr, col_right_ptr); | 816 | 0 | case TYPE_DATETIMEV2: | 817 | 0 | return execute_num_type<TYPE_DATETIMEV2>(block, result, col_left_ptr, col_right_ptr); | 818 | 0 | case TYPE_TIMESTAMPTZ: | 819 | 0 | return execute_num_type<TYPE_TIMESTAMPTZ>(block, result, col_left_ptr, col_right_ptr); | 820 | 84 | case TYPE_TINYINT: | 821 | 84 | return execute_num_type<TYPE_TINYINT>(block, result, col_left_ptr, col_right_ptr); | 822 | 0 | case TYPE_SMALLINT: | 823 | 0 | return execute_num_type<TYPE_SMALLINT>(block, result, col_left_ptr, col_right_ptr); | 824 | 2.02k | case TYPE_INT: | 825 | 2.02k | return execute_num_type<TYPE_INT>(block, result, col_left_ptr, col_right_ptr); | 826 | 508 | case TYPE_BIGINT: | 827 | 508 | return execute_num_type<TYPE_BIGINT>(block, result, col_left_ptr, col_right_ptr); | 828 | 0 | case TYPE_LARGEINT: | 829 | 0 | return execute_num_type<TYPE_LARGEINT>(block, result, col_left_ptr, col_right_ptr); | 830 | 0 | case TYPE_IPV4: | 831 | 0 | return execute_num_type<TYPE_IPV4>(block, result, col_left_ptr, col_right_ptr); | 832 | 0 | case TYPE_IPV6: | 833 | 0 | return execute_num_type<TYPE_IPV6>(block, result, col_left_ptr, col_right_ptr); | 834 | 48 | case TYPE_FLOAT: | 835 | 48 | return execute_num_type<TYPE_FLOAT>(block, result, col_left_ptr, col_right_ptr); | 836 | 60 | case TYPE_DOUBLE: | 837 | 60 | return execute_num_type<TYPE_DOUBLE>(block, result, col_left_ptr, col_right_ptr); | 838 | 0 | case TYPE_TIMEV2: | 839 | 0 | return execute_num_type<TYPE_TIMEV2>(block, result, col_left_ptr, col_right_ptr); | 840 | 0 | case TYPE_DECIMALV2: | 841 | 0 | case TYPE_DECIMAL32: | 842 | 67 | case TYPE_DECIMAL64: | 843 | 95 | case TYPE_DECIMAL128I: | 844 | 125 | case TYPE_DECIMAL256: | 845 | 125 | return execute_decimal(block, result, col_with_type_and_name_left, | 846 | 125 | col_with_type_and_name_right); | 847 | 1 | case TYPE_CHAR: | 848 | 31 | case TYPE_VARCHAR: | 849 | 151 | case TYPE_STRING: | 850 | 151 | return execute_string(block, result, col_left_untyped, col_right_untyped); | 851 | 8 | default: | 852 | 8 | return execute_generic(block, result, col_with_type_and_name_left, | 853 | 8 | col_with_type_and_name_right); | 854 | 3.08k | } | 855 | 0 | return Status::OK(); | 856 | 3.08k | } |
_ZNK5doris18FunctionComparisonINS_9GreaterOpENS_11NameGreaterEE12execute_implEPNS_15FunctionContextERNS_5BlockERKSt6vectorIjSaIjEEjm Line | Count | Source | 758 | 74.7k | uint32_t result, size_t input_rows_count) const override { | 759 | 74.7k | const auto& col_with_type_and_name_left = block.get_by_position(arguments[0]); | 760 | 74.7k | const auto& col_with_type_and_name_right = block.get_by_position(arguments[1]); | 761 | | | 762 | 74.7k | const auto& col_left_ptr = col_with_type_and_name_left.column; | 763 | 74.7k | const auto& col_right_ptr = col_with_type_and_name_right.column; | 764 | 74.7k | const IColumn* col_left_untyped = col_with_type_and_name_left.column.get(); | 765 | 74.7k | const IColumn* col_right_untyped = col_with_type_and_name_right.column.get(); | 766 | | | 767 | 74.7k | const DataTypePtr& left_type = col_with_type_and_name_left.type; | 768 | 74.7k | const DataTypePtr& right_type = col_with_type_and_name_right.type; | 769 | | | 770 | | /// The case when arguments are the same (tautological comparison). Return constant. | 771 | | /// NOTE: Nullable types are special case. (BTW, this function use default implementation for Nullable, so Nullable types cannot be here. Check just in case.) | 772 | | /// NOTE: We consider NaN comparison to be implementation specific (and in our implementation NaNs are sometimes equal sometimes not). | 773 | 74.7k | if (left_type->equals(*right_type) && !left_type->is_nullable() && | 774 | 74.7k | col_left_untyped == col_right_untyped) { | 775 | | /// Always true: =, <=, >= | 776 | | // TODO: Return const column in the future. But seems so far to do. We need a unified approach for passing const column. | 777 | | if constexpr (std::is_same_v<Op<TYPE_INT>, EqualsOp<TYPE_INT>> || | 778 | | std::is_same_v<Op<TYPE_INT>, LessOrEqualsOp<TYPE_INT>> || | 779 | | std::is_same_v<Op<TYPE_INT>, GreaterOrEqualsOp<TYPE_INT>>) { | 780 | | block.get_by_position(result).column = | 781 | | DataTypeUInt8() | 782 | | .create_column_const(input_rows_count, | 783 | | Field::create_field<TYPE_BOOLEAN>(1)) | 784 | | ->convert_to_full_column_if_const(); | 785 | | return Status::OK(); | 786 | 0 | } else { | 787 | 0 | block.get_by_position(result).column = | 788 | 0 | DataTypeUInt8() | 789 | 0 | .create_column_const(input_rows_count, | 790 | 0 | Field::create_field<TYPE_BOOLEAN>(0)) | 791 | 0 | ->convert_to_full_column_if_const(); | 792 | 0 | return Status::OK(); | 793 | 0 | } | 794 | 0 | } | 795 | | | 796 | 0 | auto can_compare = [](PrimitiveType t) -> bool { | 797 | 74.7k | return is_int_or_bool(t) || is_float_or_double(t) || is_ip(t) || is_date_type(t); | 798 | 74.7k | }; | 799 | | | 800 | 74.7k | if (can_compare(left_type->get_primitive_type()) && | 801 | 74.7k | can_compare(right_type->get_primitive_type())) { | 802 | | // check left type equals right type TODO: remove this after FE is aware of scales difference | 803 | 73.7k | if (!left_type->equals_ignore_precision(*right_type)) { | 804 | 0 | return Status::RuntimeError("not same type in function {} , left : {} , right : {}", | 805 | 0 | get_name(), left_type->get_name(), | 806 | 0 | right_type->get_name()); | 807 | 0 | } | 808 | 73.7k | } | 809 | | | 810 | 74.7k | auto compare_type = left_type->get_primitive_type(); | 811 | 74.7k | switch (compare_type) { | 812 | 0 | case TYPE_BOOLEAN: | 813 | 0 | return execute_num_type<TYPE_BOOLEAN>(block, result, col_left_ptr, col_right_ptr); | 814 | 1.29k | case TYPE_DATEV2: | 815 | 1.29k | return execute_num_type<TYPE_DATEV2>(block, result, col_left_ptr, col_right_ptr); | 816 | 2 | case TYPE_DATETIMEV2: | 817 | 2 | return execute_num_type<TYPE_DATETIMEV2>(block, result, col_left_ptr, col_right_ptr); | 818 | 1 | case TYPE_TIMESTAMPTZ: | 819 | 1 | return execute_num_type<TYPE_TIMESTAMPTZ>(block, result, col_left_ptr, col_right_ptr); | 820 | 1.17k | case TYPE_TINYINT: | 821 | 1.17k | return execute_num_type<TYPE_TINYINT>(block, result, col_left_ptr, col_right_ptr); | 822 | 1.81k | case TYPE_SMALLINT: | 823 | 1.81k | return execute_num_type<TYPE_SMALLINT>(block, result, col_left_ptr, col_right_ptr); | 824 | 66.7k | case TYPE_INT: | 825 | 66.7k | return execute_num_type<TYPE_INT>(block, result, col_left_ptr, col_right_ptr); | 826 | 1.74k | case TYPE_BIGINT: | 827 | 1.74k | return execute_num_type<TYPE_BIGINT>(block, result, col_left_ptr, col_right_ptr); | 828 | 248 | case TYPE_LARGEINT: | 829 | 248 | return execute_num_type<TYPE_LARGEINT>(block, result, col_left_ptr, col_right_ptr); | 830 | 4 | case TYPE_IPV4: | 831 | 4 | return execute_num_type<TYPE_IPV4>(block, result, col_left_ptr, col_right_ptr); | 832 | 1 | case TYPE_IPV6: | 833 | 1 | return execute_num_type<TYPE_IPV6>(block, result, col_left_ptr, col_right_ptr); | 834 | 220 | case TYPE_FLOAT: | 835 | 220 | return execute_num_type<TYPE_FLOAT>(block, result, col_left_ptr, col_right_ptr); | 836 | 534 | case TYPE_DOUBLE: | 837 | 534 | return execute_num_type<TYPE_DOUBLE>(block, result, col_left_ptr, col_right_ptr); | 838 | 0 | case TYPE_TIMEV2: | 839 | 0 | return execute_num_type<TYPE_TIMEV2>(block, result, col_left_ptr, col_right_ptr); | 840 | 0 | case TYPE_DECIMALV2: | 841 | 8 | case TYPE_DECIMAL32: | 842 | 74 | case TYPE_DECIMAL64: | 843 | 733 | case TYPE_DECIMAL128I: | 844 | 735 | case TYPE_DECIMAL256: | 845 | 735 | return execute_decimal(block, result, col_with_type_and_name_left, | 846 | 735 | col_with_type_and_name_right); | 847 | 14 | case TYPE_CHAR: | 848 | 76 | case TYPE_VARCHAR: | 849 | 171 | case TYPE_STRING: | 850 | 171 | return execute_string(block, result, col_left_untyped, col_right_untyped); | 851 | 9 | default: | 852 | 9 | return execute_generic(block, result, col_with_type_and_name_left, | 853 | 9 | col_with_type_and_name_right); | 854 | 74.7k | } | 855 | 0 | return Status::OK(); | 856 | 74.7k | } |
_ZNK5doris18FunctionComparisonINS_17GreaterOrEqualsOpENS_19NameGreaterOrEqualsEE12execute_implEPNS_15FunctionContextERNS_5BlockERKSt6vectorIjSaIjEEjm Line | Count | Source | 758 | 3.13k | uint32_t result, size_t input_rows_count) const override { | 759 | 3.13k | const auto& col_with_type_and_name_left = block.get_by_position(arguments[0]); | 760 | 3.13k | const auto& col_with_type_and_name_right = block.get_by_position(arguments[1]); | 761 | | | 762 | 3.13k | const auto& col_left_ptr = col_with_type_and_name_left.column; | 763 | 3.13k | const auto& col_right_ptr = col_with_type_and_name_right.column; | 764 | 3.13k | const IColumn* col_left_untyped = col_with_type_and_name_left.column.get(); | 765 | 3.13k | const IColumn* col_right_untyped = col_with_type_and_name_right.column.get(); | 766 | | | 767 | 3.13k | const DataTypePtr& left_type = col_with_type_and_name_left.type; | 768 | 3.13k | const DataTypePtr& right_type = col_with_type_and_name_right.type; | 769 | | | 770 | | /// The case when arguments are the same (tautological comparison). Return constant. | 771 | | /// NOTE: Nullable types are special case. (BTW, this function use default implementation for Nullable, so Nullable types cannot be here. Check just in case.) | 772 | | /// NOTE: We consider NaN comparison to be implementation specific (and in our implementation NaNs are sometimes equal sometimes not). | 773 | 3.13k | if (left_type->equals(*right_type) && !left_type->is_nullable() && | 774 | 3.13k | col_left_untyped == col_right_untyped) { | 775 | | /// Always true: =, <=, >= | 776 | | // TODO: Return const column in the future. But seems so far to do. We need a unified approach for passing const column. | 777 | | if constexpr (std::is_same_v<Op<TYPE_INT>, EqualsOp<TYPE_INT>> || | 778 | | std::is_same_v<Op<TYPE_INT>, LessOrEqualsOp<TYPE_INT>> || | 779 | 0 | std::is_same_v<Op<TYPE_INT>, GreaterOrEqualsOp<TYPE_INT>>) { | 780 | 0 | block.get_by_position(result).column = | 781 | 0 | DataTypeUInt8() | 782 | 0 | .create_column_const(input_rows_count, | 783 | 0 | Field::create_field<TYPE_BOOLEAN>(1)) | 784 | 0 | ->convert_to_full_column_if_const(); | 785 | 0 | return Status::OK(); | 786 | | } else { | 787 | | block.get_by_position(result).column = | 788 | | DataTypeUInt8() | 789 | | .create_column_const(input_rows_count, | 790 | | Field::create_field<TYPE_BOOLEAN>(0)) | 791 | | ->convert_to_full_column_if_const(); | 792 | | return Status::OK(); | 793 | | } | 794 | 0 | } | 795 | | | 796 | 0 | auto can_compare = [](PrimitiveType t) -> bool { | 797 | 3.13k | return is_int_or_bool(t) || is_float_or_double(t) || is_ip(t) || is_date_type(t); | 798 | 3.13k | }; | 799 | | | 800 | 3.13k | if (can_compare(left_type->get_primitive_type()) && | 801 | 3.13k | can_compare(right_type->get_primitive_type())) { | 802 | | // check left type equals right type TODO: remove this after FE is aware of scales difference | 803 | 2.65k | if (!left_type->equals_ignore_precision(*right_type)) { | 804 | 0 | return Status::RuntimeError("not same type in function {} , left : {} , right : {}", | 805 | 0 | get_name(), left_type->get_name(), | 806 | 0 | right_type->get_name()); | 807 | 0 | } | 808 | 2.65k | } | 809 | | | 810 | 3.13k | auto compare_type = left_type->get_primitive_type(); | 811 | 3.13k | switch (compare_type) { | 812 | 27 | case TYPE_BOOLEAN: | 813 | 27 | return execute_num_type<TYPE_BOOLEAN>(block, result, col_left_ptr, col_right_ptr); | 814 | 493 | case TYPE_DATEV2: | 815 | 493 | return execute_num_type<TYPE_DATEV2>(block, result, col_left_ptr, col_right_ptr); | 816 | 145 | case TYPE_DATETIMEV2: | 817 | 145 | return execute_num_type<TYPE_DATETIMEV2>(block, result, col_left_ptr, col_right_ptr); | 818 | 1 | case TYPE_TIMESTAMPTZ: | 819 | 1 | return execute_num_type<TYPE_TIMESTAMPTZ>(block, result, col_left_ptr, col_right_ptr); | 820 | 67 | case TYPE_TINYINT: | 821 | 67 | return execute_num_type<TYPE_TINYINT>(block, result, col_left_ptr, col_right_ptr); | 822 | 107 | case TYPE_SMALLINT: | 823 | 107 | return execute_num_type<TYPE_SMALLINT>(block, result, col_left_ptr, col_right_ptr); | 824 | 1.34k | case TYPE_INT: | 825 | 1.34k | return execute_num_type<TYPE_INT>(block, result, col_left_ptr, col_right_ptr); | 826 | 200 | case TYPE_BIGINT: | 827 | 200 | return execute_num_type<TYPE_BIGINT>(block, result, col_left_ptr, col_right_ptr); | 828 | 32 | case TYPE_LARGEINT: | 829 | 32 | return execute_num_type<TYPE_LARGEINT>(block, result, col_left_ptr, col_right_ptr); | 830 | 1 | case TYPE_IPV4: | 831 | 1 | return execute_num_type<TYPE_IPV4>(block, result, col_left_ptr, col_right_ptr); | 832 | 1 | case TYPE_IPV6: | 833 | 1 | return execute_num_type<TYPE_IPV6>(block, result, col_left_ptr, col_right_ptr); | 834 | 24 | case TYPE_FLOAT: | 835 | 24 | return execute_num_type<TYPE_FLOAT>(block, result, col_left_ptr, col_right_ptr); | 836 | 148 | case TYPE_DOUBLE: | 837 | 148 | return execute_num_type<TYPE_DOUBLE>(block, result, col_left_ptr, col_right_ptr); | 838 | 0 | case TYPE_TIMEV2: | 839 | 0 | return execute_num_type<TYPE_TIMEV2>(block, result, col_left_ptr, col_right_ptr); | 840 | 0 | case TYPE_DECIMALV2: | 841 | 1 | case TYPE_DECIMAL32: | 842 | 76 | case TYPE_DECIMAL64: | 843 | 138 | case TYPE_DECIMAL128I: | 844 | 149 | case TYPE_DECIMAL256: | 845 | 149 | return execute_decimal(block, result, col_with_type_and_name_left, | 846 | 149 | col_with_type_and_name_right); | 847 | 31 | case TYPE_CHAR: | 848 | 278 | case TYPE_VARCHAR: | 849 | 334 | case TYPE_STRING: | 850 | 334 | return execute_string(block, result, col_left_untyped, col_right_untyped); | 851 | 61 | default: | 852 | 61 | return execute_generic(block, result, col_with_type_and_name_left, | 853 | 61 | col_with_type_and_name_right); | 854 | 3.13k | } | 855 | 0 | return Status::OK(); | 856 | 3.13k | } |
_ZNK5doris18FunctionComparisonINS_6LessOpENS_8NameLessEE12execute_implEPNS_15FunctionContextERNS_5BlockERKSt6vectorIjSaIjEEjm Line | Count | Source | 758 | 8.83k | uint32_t result, size_t input_rows_count) const override { | 759 | 8.83k | const auto& col_with_type_and_name_left = block.get_by_position(arguments[0]); | 760 | 8.83k | const auto& col_with_type_and_name_right = block.get_by_position(arguments[1]); | 761 | | | 762 | 8.83k | const auto& col_left_ptr = col_with_type_and_name_left.column; | 763 | 8.83k | const auto& col_right_ptr = col_with_type_and_name_right.column; | 764 | 8.83k | const IColumn* col_left_untyped = col_with_type_and_name_left.column.get(); | 765 | 8.83k | const IColumn* col_right_untyped = col_with_type_and_name_right.column.get(); | 766 | | | 767 | 8.83k | const DataTypePtr& left_type = col_with_type_and_name_left.type; | 768 | 8.83k | const DataTypePtr& right_type = col_with_type_and_name_right.type; | 769 | | | 770 | | /// The case when arguments are the same (tautological comparison). Return constant. | 771 | | /// NOTE: Nullable types are special case. (BTW, this function use default implementation for Nullable, so Nullable types cannot be here. Check just in case.) | 772 | | /// NOTE: We consider NaN comparison to be implementation specific (and in our implementation NaNs are sometimes equal sometimes not). | 773 | 8.84k | if (left_type->equals(*right_type) && !left_type->is_nullable() && | 774 | 8.84k | col_left_untyped == col_right_untyped) { | 775 | | /// Always true: =, <=, >= | 776 | | // TODO: Return const column in the future. But seems so far to do. We need a unified approach for passing const column. | 777 | | if constexpr (std::is_same_v<Op<TYPE_INT>, EqualsOp<TYPE_INT>> || | 778 | | std::is_same_v<Op<TYPE_INT>, LessOrEqualsOp<TYPE_INT>> || | 779 | | std::is_same_v<Op<TYPE_INT>, GreaterOrEqualsOp<TYPE_INT>>) { | 780 | | block.get_by_position(result).column = | 781 | | DataTypeUInt8() | 782 | | .create_column_const(input_rows_count, | 783 | | Field::create_field<TYPE_BOOLEAN>(1)) | 784 | | ->convert_to_full_column_if_const(); | 785 | | return Status::OK(); | 786 | 0 | } else { | 787 | 0 | block.get_by_position(result).column = | 788 | 0 | DataTypeUInt8() | 789 | 0 | .create_column_const(input_rows_count, | 790 | 0 | Field::create_field<TYPE_BOOLEAN>(0)) | 791 | 0 | ->convert_to_full_column_if_const(); | 792 | 0 | return Status::OK(); | 793 | 0 | } | 794 | 0 | } | 795 | | | 796 | 0 | auto can_compare = [](PrimitiveType t) -> bool { | 797 | 8.83k | return is_int_or_bool(t) || is_float_or_double(t) || is_ip(t) || is_date_type(t); | 798 | 8.83k | }; | 799 | | | 800 | 8.83k | if (can_compare(left_type->get_primitive_type()) && | 801 | 8.83k | can_compare(right_type->get_primitive_type())) { | 802 | | // check left type equals right type TODO: remove this after FE is aware of scales difference | 803 | 7.58k | if (!left_type->equals_ignore_precision(*right_type)) { | 804 | 0 | return Status::RuntimeError("not same type in function {} , left : {} , right : {}", | 805 | 0 | get_name(), left_type->get_name(), | 806 | 0 | right_type->get_name()); | 807 | 0 | } | 808 | 7.58k | } | 809 | | | 810 | 8.83k | auto compare_type = left_type->get_primitive_type(); | 811 | 8.83k | switch (compare_type) { | 812 | 95 | case TYPE_BOOLEAN: | 813 | 95 | return execute_num_type<TYPE_BOOLEAN>(block, result, col_left_ptr, col_right_ptr); | 814 | 2.08k | case TYPE_DATEV2: | 815 | 2.08k | return execute_num_type<TYPE_DATEV2>(block, result, col_left_ptr, col_right_ptr); | 816 | 343 | case TYPE_DATETIMEV2: | 817 | 343 | return execute_num_type<TYPE_DATETIMEV2>(block, result, col_left_ptr, col_right_ptr); | 818 | 2 | case TYPE_TIMESTAMPTZ: | 819 | 2 | return execute_num_type<TYPE_TIMESTAMPTZ>(block, result, col_left_ptr, col_right_ptr); | 820 | 2.20k | case TYPE_TINYINT: | 821 | 2.20k | return execute_num_type<TYPE_TINYINT>(block, result, col_left_ptr, col_right_ptr); | 822 | 151 | case TYPE_SMALLINT: | 823 | 151 | return execute_num_type<TYPE_SMALLINT>(block, result, col_left_ptr, col_right_ptr); | 824 | 1.14k | case TYPE_INT: | 825 | 1.14k | return execute_num_type<TYPE_INT>(block, result, col_left_ptr, col_right_ptr); | 826 | 766 | case TYPE_BIGINT: | 827 | 766 | return execute_num_type<TYPE_BIGINT>(block, result, col_left_ptr, col_right_ptr); | 828 | 248 | case TYPE_LARGEINT: | 829 | 248 | return execute_num_type<TYPE_LARGEINT>(block, result, col_left_ptr, col_right_ptr); | 830 | 18 | case TYPE_IPV4: | 831 | 18 | return execute_num_type<TYPE_IPV4>(block, result, col_left_ptr, col_right_ptr); | 832 | 16 | case TYPE_IPV6: | 833 | 16 | return execute_num_type<TYPE_IPV6>(block, result, col_left_ptr, col_right_ptr); | 834 | 148 | case TYPE_FLOAT: | 835 | 148 | return execute_num_type<TYPE_FLOAT>(block, result, col_left_ptr, col_right_ptr); | 836 | 360 | case TYPE_DOUBLE: | 837 | 360 | return execute_num_type<TYPE_DOUBLE>(block, result, col_left_ptr, col_right_ptr); | 838 | 0 | case TYPE_TIMEV2: | 839 | 0 | return execute_num_type<TYPE_TIMEV2>(block, result, col_left_ptr, col_right_ptr); | 840 | 0 | case TYPE_DECIMALV2: | 841 | 203 | case TYPE_DECIMAL32: | 842 | 431 | case TYPE_DECIMAL64: | 843 | 739 | case TYPE_DECIMAL128I: | 844 | 740 | case TYPE_DECIMAL256: | 845 | 740 | return execute_decimal(block, result, col_with_type_and_name_left, | 846 | 740 | col_with_type_and_name_right); | 847 | 174 | case TYPE_CHAR: | 848 | 347 | case TYPE_VARCHAR: | 849 | 506 | case TYPE_STRING: | 850 | 506 | return execute_string(block, result, col_left_untyped, col_right_untyped); | 851 | 11 | default: | 852 | 11 | return execute_generic(block, result, col_with_type_and_name_left, | 853 | 11 | col_with_type_and_name_right); | 854 | 8.83k | } | 855 | 0 | return Status::OK(); | 856 | 8.83k | } |
_ZNK5doris18FunctionComparisonINS_14LessOrEqualsOpENS_16NameLessOrEqualsEE12execute_implEPNS_15FunctionContextERNS_5BlockERKSt6vectorIjSaIjEEjm Line | Count | Source | 758 | 9.26k | uint32_t result, size_t input_rows_count) const override { | 759 | 9.26k | const auto& col_with_type_and_name_left = block.get_by_position(arguments[0]); | 760 | 9.26k | const auto& col_with_type_and_name_right = block.get_by_position(arguments[1]); | 761 | | | 762 | 9.26k | const auto& col_left_ptr = col_with_type_and_name_left.column; | 763 | 9.26k | const auto& col_right_ptr = col_with_type_and_name_right.column; | 764 | 9.26k | const IColumn* col_left_untyped = col_with_type_and_name_left.column.get(); | 765 | 9.26k | const IColumn* col_right_untyped = col_with_type_and_name_right.column.get(); | 766 | | | 767 | 9.26k | const DataTypePtr& left_type = col_with_type_and_name_left.type; | 768 | 9.26k | const DataTypePtr& right_type = col_with_type_and_name_right.type; | 769 | | | 770 | | /// The case when arguments are the same (tautological comparison). Return constant. | 771 | | /// NOTE: Nullable types are special case. (BTW, this function use default implementation for Nullable, so Nullable types cannot be here. Check just in case.) | 772 | | /// NOTE: We consider NaN comparison to be implementation specific (and in our implementation NaNs are sometimes equal sometimes not). | 773 | 9.26k | if (left_type->equals(*right_type) && !left_type->is_nullable() && | 774 | 9.26k | col_left_untyped == col_right_untyped) { | 775 | | /// Always true: =, <=, >= | 776 | | // TODO: Return const column in the future. But seems so far to do. We need a unified approach for passing const column. | 777 | | if constexpr (std::is_same_v<Op<TYPE_INT>, EqualsOp<TYPE_INT>> || | 778 | | std::is_same_v<Op<TYPE_INT>, LessOrEqualsOp<TYPE_INT>> || | 779 | 0 | std::is_same_v<Op<TYPE_INT>, GreaterOrEqualsOp<TYPE_INT>>) { | 780 | 0 | block.get_by_position(result).column = | 781 | 0 | DataTypeUInt8() | 782 | 0 | .create_column_const(input_rows_count, | 783 | 0 | Field::create_field<TYPE_BOOLEAN>(1)) | 784 | 0 | ->convert_to_full_column_if_const(); | 785 | 0 | return Status::OK(); | 786 | | } else { | 787 | | block.get_by_position(result).column = | 788 | | DataTypeUInt8() | 789 | | .create_column_const(input_rows_count, | 790 | | Field::create_field<TYPE_BOOLEAN>(0)) | 791 | | ->convert_to_full_column_if_const(); | 792 | | return Status::OK(); | 793 | | } | 794 | 0 | } | 795 | | | 796 | 0 | auto can_compare = [](PrimitiveType t) -> bool { | 797 | 9.26k | return is_int_or_bool(t) || is_float_or_double(t) || is_ip(t) || is_date_type(t); | 798 | 9.26k | }; | 799 | | | 800 | 9.26k | if (can_compare(left_type->get_primitive_type()) && | 801 | 9.26k | can_compare(right_type->get_primitive_type())) { | 802 | | // check left type equals right type TODO: remove this after FE is aware of scales difference | 803 | 8.80k | if (!left_type->equals_ignore_precision(*right_type)) { | 804 | 0 | return Status::RuntimeError("not same type in function {} , left : {} , right : {}", | 805 | 0 | get_name(), left_type->get_name(), | 806 | 0 | right_type->get_name()); | 807 | 0 | } | 808 | 8.80k | } | 809 | | | 810 | 9.26k | auto compare_type = left_type->get_primitive_type(); | 811 | 9.26k | switch (compare_type) { | 812 | 16 | case TYPE_BOOLEAN: | 813 | 16 | return execute_num_type<TYPE_BOOLEAN>(block, result, col_left_ptr, col_right_ptr); | 814 | 561 | case TYPE_DATEV2: | 815 | 561 | return execute_num_type<TYPE_DATEV2>(block, result, col_left_ptr, col_right_ptr); | 816 | 52 | case TYPE_DATETIMEV2: | 817 | 52 | return execute_num_type<TYPE_DATETIMEV2>(block, result, col_left_ptr, col_right_ptr); | 818 | 1 | case TYPE_TIMESTAMPTZ: | 819 | 1 | return execute_num_type<TYPE_TIMESTAMPTZ>(block, result, col_left_ptr, col_right_ptr); | 820 | 82 | case TYPE_TINYINT: | 821 | 82 | return execute_num_type<TYPE_TINYINT>(block, result, col_left_ptr, col_right_ptr); | 822 | 104 | case TYPE_SMALLINT: | 823 | 104 | return execute_num_type<TYPE_SMALLINT>(block, result, col_left_ptr, col_right_ptr); | 824 | 7.36k | case TYPE_INT: | 825 | 7.36k | return execute_num_type<TYPE_INT>(block, result, col_left_ptr, col_right_ptr); | 826 | 381 | case TYPE_BIGINT: | 827 | 381 | return execute_num_type<TYPE_BIGINT>(block, result, col_left_ptr, col_right_ptr); | 828 | 37 | case TYPE_LARGEINT: | 829 | 37 | return execute_num_type<TYPE_LARGEINT>(block, result, col_left_ptr, col_right_ptr); | 830 | 0 | case TYPE_IPV4: | 831 | 0 | return execute_num_type<TYPE_IPV4>(block, result, col_left_ptr, col_right_ptr); | 832 | 0 | case TYPE_IPV6: | 833 | 0 | return execute_num_type<TYPE_IPV6>(block, result, col_left_ptr, col_right_ptr); | 834 | 20 | case TYPE_FLOAT: | 835 | 20 | return execute_num_type<TYPE_FLOAT>(block, result, col_left_ptr, col_right_ptr); | 836 | 136 | case TYPE_DOUBLE: | 837 | 136 | return execute_num_type<TYPE_DOUBLE>(block, result, col_left_ptr, col_right_ptr); | 838 | 0 | case TYPE_TIMEV2: | 839 | 0 | return execute_num_type<TYPE_TIMEV2>(block, result, col_left_ptr, col_right_ptr); | 840 | 0 | case TYPE_DECIMALV2: | 841 | 5 | case TYPE_DECIMAL32: | 842 | 103 | case TYPE_DECIMAL64: | 843 | 165 | case TYPE_DECIMAL128I: | 844 | 171 | case TYPE_DECIMAL256: | 845 | 171 | return execute_decimal(block, result, col_with_type_and_name_left, | 846 | 171 | col_with_type_and_name_right); | 847 | 42 | case TYPE_CHAR: | 848 | 225 | case TYPE_VARCHAR: | 849 | 288 | case TYPE_STRING: | 850 | 288 | return execute_string(block, result, col_left_untyped, col_right_untyped); | 851 | 49 | default: | 852 | 49 | return execute_generic(block, result, col_with_type_and_name_left, | 853 | 49 | col_with_type_and_name_right); | 854 | 9.26k | } | 855 | 0 | return Status::OK(); | 856 | 9.26k | } |
|
857 | | }; |
858 | | |
859 | | } // namespace doris |