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 | 8.14k | PaddedPODArray<UInt8>& c) { |
73 | 8.14k | size_t size = a.size(); |
74 | 8.14k | const A* __restrict a_pos = a.data(); |
75 | 8.14k | const B* __restrict b_pos = b.data(); |
76 | 8.14k | UInt8* __restrict c_pos = c.data(); |
77 | 8.14k | const A* __restrict a_end = a_pos + size; |
78 | | |
79 | 3.62M | while (a_pos < a_end) { |
80 | 3.61M | *c_pos = Op::apply(*a_pos, *b_pos); |
81 | 3.61M | ++a_pos; |
82 | 3.61M | ++b_pos; |
83 | 3.61M | ++c_pos; |
84 | 3.61M | } |
85 | 8.14k | } _ZN5doris17NumComparisonImplIhhNS_8EqualsOpILNS_13PrimitiveTypeE2EEEE13vector_vectorERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RS9_ Line | Count | Source | 72 | 76 | PaddedPODArray<UInt8>& c) { | 73 | 76 | size_t size = a.size(); | 74 | 76 | const A* __restrict a_pos = a.data(); | 75 | 76 | const B* __restrict b_pos = b.data(); | 76 | 76 | UInt8* __restrict c_pos = c.data(); | 77 | 76 | const A* __restrict a_end = a_pos + size; | 78 | | | 79 | 152 | while (a_pos < a_end) { | 80 | 76 | *c_pos = Op::apply(*a_pos, *b_pos); | 81 | 76 | ++a_pos; | 82 | 76 | ++b_pos; | 83 | 76 | ++c_pos; | 84 | 76 | } | 85 | 76 | } |
_ZN5doris17NumComparisonImplINS_11DateV2ValueINS_15DateV2ValueTypeEEES3_NS_8EqualsOpILNS_13PrimitiveTypeE25EEEE13vector_vectorERKNS_8PODArrayIS3_Lm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESE_RNS8_IhLm4096ESB_Lm16ELm15EEE Line | Count | Source | 72 | 258 | PaddedPODArray<UInt8>& c) { | 73 | 258 | size_t size = a.size(); | 74 | 258 | const A* __restrict a_pos = a.data(); | 75 | 258 | const B* __restrict b_pos = b.data(); | 76 | 258 | UInt8* __restrict c_pos = c.data(); | 77 | 258 | const A* __restrict a_end = a_pos + size; | 78 | | | 79 | 522 | 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 | 258 | } |
_ZN5doris17NumComparisonImplINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEES3_NS_8EqualsOpILNS_13PrimitiveTypeE26EEEE13vector_vectorERKNS_8PODArrayIS3_Lm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESE_RNS8_IhLm4096ESB_Lm16ELm15EEE Line | Count | Source | 72 | 287 | PaddedPODArray<UInt8>& c) { | 73 | 287 | size_t size = a.size(); | 74 | 287 | const A* __restrict a_pos = a.data(); | 75 | 287 | const B* __restrict b_pos = b.data(); | 76 | 287 | UInt8* __restrict c_pos = c.data(); | 77 | 287 | const A* __restrict a_end = a_pos + size; | 78 | | | 79 | 592 | while (a_pos < a_end) { | 80 | 305 | *c_pos = Op::apply(*a_pos, *b_pos); | 81 | 305 | ++a_pos; | 82 | 305 | ++b_pos; | 83 | 305 | ++c_pos; | 84 | 305 | } | 85 | 287 | } |
_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 | 169 | PaddedPODArray<UInt8>& c) { | 73 | 169 | size_t size = a.size(); | 74 | 169 | const A* __restrict a_pos = a.data(); | 75 | 169 | const B* __restrict b_pos = b.data(); | 76 | 169 | UInt8* __restrict c_pos = c.data(); | 77 | 169 | const A* __restrict a_end = a_pos + size; | 78 | | | 79 | 480 | while (a_pos < a_end) { | 80 | 311 | *c_pos = Op::apply(*a_pos, *b_pos); | 81 | 311 | ++a_pos; | 82 | 311 | ++b_pos; | 83 | 311 | ++c_pos; | 84 | 311 | } | 85 | 169 | } |
_ZN5doris17NumComparisonImplIssNS_8EqualsOpILNS_13PrimitiveTypeE4EEEE13vector_vectorERKNS_8PODArrayIsLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 72 | 85 | PaddedPODArray<UInt8>& c) { | 73 | 85 | size_t size = a.size(); | 74 | 85 | const A* __restrict a_pos = a.data(); | 75 | 85 | const B* __restrict b_pos = b.data(); | 76 | 85 | UInt8* __restrict c_pos = c.data(); | 77 | 85 | const A* __restrict a_end = a_pos + size; | 78 | | | 79 | 170 | while (a_pos < a_end) { | 80 | 85 | *c_pos = Op::apply(*a_pos, *b_pos); | 81 | 85 | ++a_pos; | 82 | 85 | ++b_pos; | 83 | 85 | ++c_pos; | 84 | 85 | } | 85 | 85 | } |
_ZN5doris17NumComparisonImplIiiNS_8EqualsOpILNS_13PrimitiveTypeE5EEEE13vector_vectorERKNS_8PODArrayIiLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 72 | 278 | PaddedPODArray<UInt8>& c) { | 73 | 278 | size_t size = a.size(); | 74 | 278 | const A* __restrict a_pos = a.data(); | 75 | 278 | const B* __restrict b_pos = b.data(); | 76 | 278 | UInt8* __restrict c_pos = c.data(); | 77 | 278 | const A* __restrict a_end = a_pos + size; | 78 | | | 79 | 1.84k | while (a_pos < a_end) { | 80 | 1.56k | *c_pos = Op::apply(*a_pos, *b_pos); | 81 | 1.56k | ++a_pos; | 82 | 1.56k | ++b_pos; | 83 | 1.56k | ++c_pos; | 84 | 1.56k | } | 85 | 278 | } |
_ZN5doris17NumComparisonImplIllNS_8EqualsOpILNS_13PrimitiveTypeE6EEEE13vector_vectorERKNS_8PODArrayIlLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 72 | 174 | PaddedPODArray<UInt8>& c) { | 73 | 174 | size_t size = a.size(); | 74 | 174 | const A* __restrict a_pos = a.data(); | 75 | 174 | const B* __restrict b_pos = b.data(); | 76 | 174 | UInt8* __restrict c_pos = c.data(); | 77 | 174 | const A* __restrict a_end = a_pos + size; | 78 | | | 79 | 1.44k | while (a_pos < a_end) { | 80 | 1.27k | *c_pos = Op::apply(*a_pos, *b_pos); | 81 | 1.27k | ++a_pos; | 82 | 1.27k | ++b_pos; | 83 | 1.27k | ++c_pos; | 84 | 1.27k | } | 85 | 174 | } |
_ZN5doris17NumComparisonImplInnNS_8EqualsOpILNS_13PrimitiveTypeE7EEEE13vector_vectorERKNS_8PODArrayInLm4096ENS_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 | 176 | while (a_pos < a_end) { | 80 | 88 | *c_pos = Op::apply(*a_pos, *b_pos); | 81 | 88 | ++a_pos; | 82 | 88 | ++b_pos; | 83 | 88 | ++c_pos; | 84 | 88 | } | 85 | 88 | } |
_ZN5doris17NumComparisonImplIjjNS_8EqualsOpILNS_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_8EqualsOpILNS_13PrimitiveTypeE37EEEE13vector_vectorERKNS_8PODArrayIoLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 72 | 24 | PaddedPODArray<UInt8>& c) { | 73 | 24 | size_t size = a.size(); | 74 | 24 | const A* __restrict a_pos = a.data(); | 75 | 24 | const B* __restrict b_pos = b.data(); | 76 | 24 | UInt8* __restrict c_pos = c.data(); | 77 | 24 | const A* __restrict a_end = a_pos + size; | 78 | | | 79 | 48 | while (a_pos < a_end) { | 80 | 24 | *c_pos = Op::apply(*a_pos, *b_pos); | 81 | 24 | ++a_pos; | 82 | 24 | ++b_pos; | 83 | 24 | ++c_pos; | 84 | 24 | } | 85 | 24 | } |
_ZN5doris17NumComparisonImplIffNS_8EqualsOpILNS_13PrimitiveTypeE8EEEE13vector_vectorERKNS_8PODArrayIfLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 72 | 109 | PaddedPODArray<UInt8>& c) { | 73 | 109 | size_t size = a.size(); | 74 | 109 | const A* __restrict a_pos = a.data(); | 75 | 109 | const B* __restrict b_pos = b.data(); | 76 | 109 | UInt8* __restrict c_pos = c.data(); | 77 | 109 | const A* __restrict a_end = a_pos + size; | 78 | | | 79 | 237 | while (a_pos < a_end) { | 80 | 128 | *c_pos = Op::apply(*a_pos, *b_pos); | 81 | 128 | ++a_pos; | 82 | 128 | ++b_pos; | 83 | 128 | ++c_pos; | 84 | 128 | } | 85 | 109 | } |
_ZN5doris17NumComparisonImplIddNS_8EqualsOpILNS_13PrimitiveTypeE9EEEE13vector_vectorERKNS_8PODArrayIdLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 72 | 111 | PaddedPODArray<UInt8>& c) { | 73 | 111 | size_t size = a.size(); | 74 | 111 | const A* __restrict a_pos = a.data(); | 75 | 111 | const B* __restrict b_pos = b.data(); | 76 | 111 | UInt8* __restrict c_pos = c.data(); | 77 | 111 | const A* __restrict a_end = a_pos + size; | 78 | | | 79 | 243 | while (a_pos < a_end) { | 80 | 132 | *c_pos = Op::apply(*a_pos, *b_pos); | 81 | 132 | ++a_pos; | 82 | 132 | ++b_pos; | 83 | 132 | ++c_pos; | 84 | 132 | } | 85 | 111 | } |
_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 | 974 | PaddedPODArray<UInt8>& c) { | 73 | 974 | size_t size = a.size(); | 74 | 974 | const A* __restrict a_pos = a.data(); | 75 | 974 | const B* __restrict b_pos = b.data(); | 76 | 974 | UInt8* __restrict c_pos = c.data(); | 77 | 974 | const A* __restrict a_end = a_pos + size; | 78 | | | 79 | 296k | while (a_pos < a_end) { | 80 | 295k | *c_pos = Op::apply(*a_pos, *b_pos); | 81 | 295k | ++a_pos; | 82 | 295k | ++b_pos; | 83 | 295k | ++c_pos; | 84 | 295k | } | 85 | 974 | } |
_ZN5doris17NumComparisonImplIllNS_11NotEqualsOpILNS_13PrimitiveTypeE6EEEE13vector_vectorERKNS_8PODArrayIlLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 72 | 317 | PaddedPODArray<UInt8>& c) { | 73 | 317 | size_t size = a.size(); | 74 | 317 | const A* __restrict a_pos = a.data(); | 75 | 317 | const B* __restrict b_pos = b.data(); | 76 | 317 | UInt8* __restrict c_pos = c.data(); | 77 | 317 | const A* __restrict a_end = a_pos + size; | 78 | | | 79 | 6.17k | while (a_pos < a_end) { | 80 | 5.85k | *c_pos = Op::apply(*a_pos, *b_pos); | 81 | 5.85k | ++a_pos; | 82 | 5.85k | ++b_pos; | 83 | 5.85k | ++c_pos; | 84 | 5.85k | } | 85 | 317 | } |
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.05k | PaddedPODArray<UInt8>& c) { | 73 | 1.05k | size_t size = a.size(); | 74 | 1.05k | const A* __restrict a_pos = a.data(); | 75 | 1.05k | const B* __restrict b_pos = b.data(); | 76 | 1.05k | UInt8* __restrict c_pos = c.data(); | 77 | 1.05k | const A* __restrict a_end = a_pos + size; | 78 | | | 79 | 1.57M | while (a_pos < a_end) { | 80 | 1.57M | *c_pos = Op::apply(*a_pos, *b_pos); | 81 | 1.57M | ++a_pos; | 82 | 1.57M | ++b_pos; | 83 | 1.57M | ++c_pos; | 84 | 1.57M | } | 85 | 1.05k | } |
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 | 38 | PaddedPODArray<UInt8>& c) { | 73 | 38 | size_t size = a.size(); | 74 | 38 | const A* __restrict a_pos = a.data(); | 75 | 38 | const B* __restrict b_pos = b.data(); | 76 | 38 | UInt8* __restrict c_pos = c.data(); | 77 | 38 | const A* __restrict a_end = a_pos + size; | 78 | | | 79 | 322 | 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 | 38 | } |
_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 | 32 | PaddedPODArray<UInt8>& c) { | 73 | 32 | size_t size = a.size(); | 74 | 32 | const A* __restrict a_pos = a.data(); | 75 | 32 | const B* __restrict b_pos = b.data(); | 76 | 32 | UInt8* __restrict c_pos = c.data(); | 77 | 32 | const A* __restrict a_end = a_pos + size; | 78 | | | 79 | 264 | while (a_pos < a_end) { | 80 | 232 | *c_pos = Op::apply(*a_pos, *b_pos); | 81 | 232 | ++a_pos; | 82 | 232 | ++b_pos; | 83 | 232 | ++c_pos; | 84 | 232 | } | 85 | 32 | } |
_ZN5doris17NumComparisonImplIllNS_9GreaterOpILNS_13PrimitiveTypeE6EEEE13vector_vectorERKNS_8PODArrayIlLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 72 | 57 | PaddedPODArray<UInt8>& c) { | 73 | 57 | size_t size = a.size(); | 74 | 57 | const A* __restrict a_pos = a.data(); | 75 | 57 | const B* __restrict b_pos = b.data(); | 76 | 57 | UInt8* __restrict c_pos = c.data(); | 77 | 57 | const A* __restrict a_end = a_pos + size; | 78 | | | 79 | 564 | while (a_pos < a_end) { | 80 | 507 | *c_pos = Op::apply(*a_pos, *b_pos); | 81 | 507 | ++a_pos; | 82 | 507 | ++b_pos; | 83 | 507 | ++c_pos; | 84 | 507 | } | 85 | 57 | } |
_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 | 32 | PaddedPODArray<UInt8>& c) { | 73 | 32 | size_t size = a.size(); | 74 | 32 | const A* __restrict a_pos = a.data(); | 75 | 32 | const B* __restrict b_pos = b.data(); | 76 | 32 | UInt8* __restrict c_pos = c.data(); | 77 | 32 | const A* __restrict a_end = a_pos + size; | 78 | | | 79 | 102 | 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 | 32 | } |
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 | 8 | PaddedPODArray<UInt8>& c) { | 73 | 8 | size_t size = a.size(); | 74 | 8 | const A* __restrict a_pos = a.data(); | 75 | 8 | const B* __restrict b_pos = b.data(); | 76 | 8 | UInt8* __restrict c_pos = c.data(); | 77 | 8 | const A* __restrict a_end = a_pos + size; | 78 | | | 79 | 62 | while (a_pos < a_end) { | 80 | 54 | *c_pos = Op::apply(*a_pos, *b_pos); | 81 | 54 | ++a_pos; | 82 | 54 | ++b_pos; | 83 | 54 | ++c_pos; | 84 | 54 | } | 85 | 8 | } |
Unexecuted instantiation: _ZN5doris17NumComparisonImplInnNS_17GreaterOrEqualsOpILNS_13PrimitiveTypeE7EEEE13vector_vectorERKNS_8PODArrayInLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE _ZN5doris17NumComparisonImplIjjNS_17GreaterOrEqualsOpILNS_13PrimitiveTypeE36EEEE13vector_vectorERKNS_8PODArrayIjLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 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 | 24 | PaddedPODArray<UInt8>& c) { | 73 | 24 | size_t size = a.size(); | 74 | 24 | const A* __restrict a_pos = a.data(); | 75 | 24 | const B* __restrict b_pos = b.data(); | 76 | 24 | UInt8* __restrict c_pos = c.data(); | 77 | 24 | const A* __restrict a_end = a_pos + size; | 78 | | | 79 | 67 | while (a_pos < a_end) { | 80 | 43 | *c_pos = Op::apply(*a_pos, *b_pos); | 81 | 43 | ++a_pos; | 82 | 43 | ++b_pos; | 83 | 43 | ++c_pos; | 84 | 43 | } | 85 | 24 | } |
Unexecuted instantiation: _ZN5doris17NumComparisonImplIddNS_17GreaterOrEqualsOpILNS_13PrimitiveTypeE27EEEE13vector_vectorERKNS_8PODArrayIdLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE _ZN5doris17NumComparisonImplIhhNS_6LessOpILNS_13PrimitiveTypeE2EEEE13vector_vectorERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RS9_ Line | Count | Source | 72 | 101 | PaddedPODArray<UInt8>& c) { | 73 | 101 | size_t size = a.size(); | 74 | 101 | const A* __restrict a_pos = a.data(); | 75 | 101 | const B* __restrict b_pos = b.data(); | 76 | 101 | UInt8* __restrict c_pos = c.data(); | 77 | 101 | const A* __restrict a_end = a_pos + size; | 78 | | | 79 | 376 | while (a_pos < a_end) { | 80 | 275 | *c_pos = Op::apply(*a_pos, *b_pos); | 81 | 275 | ++a_pos; | 82 | 275 | ++b_pos; | 83 | 275 | ++c_pos; | 84 | 275 | } | 85 | 101 | } |
_ZN5doris17NumComparisonImplINS_11DateV2ValueINS_15DateV2ValueTypeEEES3_NS_6LessOpILNS_13PrimitiveTypeE25EEEE13vector_vectorERKNS_8PODArrayIS3_Lm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESE_RNS8_IhLm4096ESB_Lm16ELm15EEE Line | Count | Source | 72 | 1.63k | PaddedPODArray<UInt8>& c) { | 73 | 1.63k | size_t size = a.size(); | 74 | 1.63k | const A* __restrict a_pos = a.data(); | 75 | 1.63k | const B* __restrict b_pos = b.data(); | 76 | 1.63k | UInt8* __restrict c_pos = c.data(); | 77 | 1.63k | const A* __restrict a_end = a_pos + size; | 78 | | | 79 | 1.72M | while (a_pos < a_end) { | 80 | 1.72M | *c_pos = Op::apply(*a_pos, *b_pos); | 81 | 1.72M | ++a_pos; | 82 | 1.72M | ++b_pos; | 83 | 1.72M | ++c_pos; | 84 | 1.72M | } | 85 | 1.63k | } |
_ZN5doris17NumComparisonImplINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEES3_NS_6LessOpILNS_13PrimitiveTypeE26EEEE13vector_vectorERKNS_8PODArrayIS3_Lm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESE_RNS8_IhLm4096ESB_Lm16ELm15EEE Line | Count | Source | 72 | 267 | PaddedPODArray<UInt8>& c) { | 73 | 267 | size_t size = a.size(); | 74 | 267 | const A* __restrict a_pos = a.data(); | 75 | 267 | const B* __restrict b_pos = b.data(); | 76 | 267 | UInt8* __restrict c_pos = c.data(); | 77 | 267 | const A* __restrict a_end = a_pos + size; | 78 | | | 79 | 882 | while (a_pos < a_end) { | 80 | 615 | *c_pos = Op::apply(*a_pos, *b_pos); | 81 | 615 | ++a_pos; | 82 | 615 | ++b_pos; | 83 | 615 | ++c_pos; | 84 | 615 | } | 85 | 267 | } |
_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 | 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 | 470 | while (a_pos < a_end) { | 80 | 322 | *c_pos = Op::apply(*a_pos, *b_pos); | 81 | 322 | ++a_pos; | 82 | 322 | ++b_pos; | 83 | 322 | ++c_pos; | 84 | 322 | } | 85 | 148 | } |
_ZN5doris17NumComparisonImplIssNS_6LessOpILNS_13PrimitiveTypeE4EEEE13vector_vectorERKNS_8PODArrayIsLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 72 | 123 | PaddedPODArray<UInt8>& c) { | 73 | 123 | size_t size = a.size(); | 74 | 123 | const A* __restrict a_pos = a.data(); | 75 | 123 | const B* __restrict b_pos = b.data(); | 76 | 123 | UInt8* __restrict c_pos = c.data(); | 77 | 123 | const A* __restrict a_end = a_pos + size; | 78 | | | 79 | 422 | while (a_pos < a_end) { | 80 | 299 | *c_pos = Op::apply(*a_pos, *b_pos); | 81 | 299 | ++a_pos; | 82 | 299 | ++b_pos; | 83 | 299 | ++c_pos; | 84 | 299 | } | 85 | 123 | } |
_ZN5doris17NumComparisonImplIiiNS_6LessOpILNS_13PrimitiveTypeE5EEEE13vector_vectorERKNS_8PODArrayIiLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 72 | 181 | PaddedPODArray<UInt8>& c) { | 73 | 181 | size_t size = a.size(); | 74 | 181 | const A* __restrict a_pos = a.data(); | 75 | 181 | const B* __restrict b_pos = b.data(); | 76 | 181 | UInt8* __restrict c_pos = c.data(); | 77 | 181 | const A* __restrict a_end = a_pos + size; | 78 | | | 79 | 1.04k | while (a_pos < a_end) { | 80 | 864 | *c_pos = Op::apply(*a_pos, *b_pos); | 81 | 864 | ++a_pos; | 82 | 864 | ++b_pos; | 83 | 864 | ++c_pos; | 84 | 864 | } | 85 | 181 | } |
_ZN5doris17NumComparisonImplIllNS_6LessOpILNS_13PrimitiveTypeE6EEEE13vector_vectorERKNS_8PODArrayIlLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 72 | 215 | PaddedPODArray<UInt8>& c) { | 73 | 215 | size_t size = a.size(); | 74 | 215 | const A* __restrict a_pos = a.data(); | 75 | 215 | const B* __restrict b_pos = b.data(); | 76 | 215 | UInt8* __restrict c_pos = c.data(); | 77 | 215 | const A* __restrict a_end = a_pos + size; | 78 | | | 79 | 5.39k | while (a_pos < a_end) { | 80 | 5.18k | *c_pos = Op::apply(*a_pos, *b_pos); | 81 | 5.18k | ++a_pos; | 82 | 5.18k | ++b_pos; | 83 | 5.18k | ++c_pos; | 84 | 5.18k | } | 85 | 215 | } |
_ZN5doris17NumComparisonImplInnNS_6LessOpILNS_13PrimitiveTypeE7EEEE13vector_vectorERKNS_8PODArrayInLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 72 | 146 | PaddedPODArray<UInt8>& c) { | 73 | 146 | size_t size = a.size(); | 74 | 146 | const A* __restrict a_pos = a.data(); | 75 | 146 | const B* __restrict b_pos = b.data(); | 76 | 146 | UInt8* __restrict c_pos = c.data(); | 77 | 146 | const A* __restrict a_end = a_pos + size; | 78 | | | 79 | 466 | while (a_pos < a_end) { | 80 | 320 | *c_pos = Op::apply(*a_pos, *b_pos); | 81 | 320 | ++a_pos; | 82 | 320 | ++b_pos; | 83 | 320 | ++c_pos; | 84 | 320 | } | 85 | 146 | } |
_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 | 145 | PaddedPODArray<UInt8>& c) { | 73 | 145 | size_t size = a.size(); | 74 | 145 | const A* __restrict a_pos = a.data(); | 75 | 145 | const B* __restrict b_pos = b.data(); | 76 | 145 | UInt8* __restrict c_pos = c.data(); | 77 | 145 | const A* __restrict a_end = a_pos + size; | 78 | | | 79 | 483 | while (a_pos < a_end) { | 80 | 338 | *c_pos = Op::apply(*a_pos, *b_pos); | 81 | 338 | ++a_pos; | 82 | 338 | ++b_pos; | 83 | 338 | ++c_pos; | 84 | 338 | } | 85 | 145 | } |
_ZN5doris17NumComparisonImplIddNS_6LessOpILNS_13PrimitiveTypeE9EEEE13vector_vectorERKNS_8PODArrayIdLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 72 | 147 | PaddedPODArray<UInt8>& c) { | 73 | 147 | size_t size = a.size(); | 74 | 147 | const A* __restrict a_pos = a.data(); | 75 | 147 | const B* __restrict b_pos = b.data(); | 76 | 147 | UInt8* __restrict c_pos = c.data(); | 77 | 147 | const A* __restrict a_end = a_pos + size; | 78 | | | 79 | 496 | while (a_pos < a_end) { | 80 | 349 | *c_pos = Op::apply(*a_pos, *b_pos); | 81 | 349 | ++a_pos; | 82 | 349 | ++b_pos; | 83 | 349 | ++c_pos; | 84 | 349 | } | 85 | 147 | } |
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 | 405 | PaddedPODArray<UInt8>& c) { | 73 | 405 | size_t size = a.size(); | 74 | 405 | const A* __restrict a_pos = a.data(); | 75 | 405 | const B* __restrict b_pos = b.data(); | 76 | 405 | UInt8* __restrict c_pos = c.data(); | 77 | 405 | const A* __restrict a_end = a_pos + size; | 78 | | | 79 | 6.66k | while (a_pos < a_end) { | 80 | 6.26k | *c_pos = Op::apply(*a_pos, *b_pos); | 81 | 6.26k | ++a_pos; | 82 | 6.26k | ++b_pos; | 83 | 6.26k | ++c_pos; | 84 | 6.26k | } | 85 | 405 | } |
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 | 10 | PaddedPODArray<UInt8>& c) { | 73 | 10 | size_t size = a.size(); | 74 | 10 | const A* __restrict a_pos = a.data(); | 75 | 10 | const B* __restrict b_pos = b.data(); | 76 | 10 | UInt8* __restrict c_pos = c.data(); | 77 | 10 | const A* __restrict a_end = a_pos + size; | 78 | | | 79 | 33 | while (a_pos < a_end) { | 80 | 23 | *c_pos = Op::apply(*a_pos, *b_pos); | 81 | 23 | ++a_pos; | 82 | 23 | ++b_pos; | 83 | 23 | ++c_pos; | 84 | 23 | } | 85 | 10 | } |
_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 | 96.3k | PaddedPODArray<UInt8>& c) { |
89 | 96.3k | size_t size = a.size(); |
90 | 96.3k | const A* __restrict a_pos = a.data(); |
91 | 96.3k | UInt8* __restrict c_pos = c.data(); |
92 | 96.3k | const A* __restrict a_end = a_pos + size; |
93 | | |
94 | 36.5M | while (a_pos < a_end) { |
95 | 36.4M | *c_pos = Op::apply(*a_pos, b); |
96 | 36.4M | ++a_pos; |
97 | 36.4M | ++c_pos; |
98 | 36.4M | } |
99 | 96.3k | } _ZN5doris17NumComparisonImplIhhNS_8EqualsOpILNS_13PrimitiveTypeE2EEEE15vector_constantERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEhRS9_ Line | Count | Source | 88 | 25 | PaddedPODArray<UInt8>& c) { | 89 | 25 | size_t size = a.size(); | 90 | 25 | const A* __restrict a_pos = a.data(); | 91 | 25 | UInt8* __restrict c_pos = c.data(); | 92 | 25 | const A* __restrict a_end = a_pos + size; | 93 | | | 94 | 172 | while (a_pos < a_end) { | 95 | 147 | *c_pos = Op::apply(*a_pos, b); | 96 | 147 | ++a_pos; | 97 | 147 | ++c_pos; | 98 | 147 | } | 99 | 25 | } |
_ZN5doris17NumComparisonImplINS_11DateV2ValueINS_15DateV2ValueTypeEEES3_NS_8EqualsOpILNS_13PrimitiveTypeE25EEEE15vector_constantERKNS_8PODArrayIS3_Lm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEES3_RNS8_IhLm4096ESB_Lm16ELm15EEE Line | Count | Source | 88 | 409 | PaddedPODArray<UInt8>& c) { | 89 | 409 | size_t size = a.size(); | 90 | 409 | const A* __restrict a_pos = a.data(); | 91 | 409 | UInt8* __restrict c_pos = c.data(); | 92 | 409 | 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 | 409 | } |
_ZN5doris17NumComparisonImplINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEES3_NS_8EqualsOpILNS_13PrimitiveTypeE26EEEE15vector_constantERKNS_8PODArrayIS3_Lm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEES3_RNS8_IhLm4096ESB_Lm16ELm15EEE Line | Count | Source | 88 | 176 | PaddedPODArray<UInt8>& c) { | 89 | 176 | size_t size = a.size(); | 90 | 176 | const A* __restrict a_pos = a.data(); | 91 | 176 | UInt8* __restrict c_pos = c.data(); | 92 | 176 | 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 | 176 | } |
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.13k | PaddedPODArray<UInt8>& c) { | 89 | 4.13k | size_t size = a.size(); | 90 | 4.13k | const A* __restrict a_pos = a.data(); | 91 | 4.13k | UInt8* __restrict c_pos = c.data(); | 92 | 4.13k | const A* __restrict a_end = a_pos + size; | 93 | | | 94 | 8.70M | while (a_pos < a_end) { | 95 | 8.70M | *c_pos = Op::apply(*a_pos, b); | 96 | 8.70M | ++a_pos; | 97 | 8.70M | ++c_pos; | 98 | 8.70M | } | 99 | 4.13k | } |
_ZN5doris17NumComparisonImplIssNS_8EqualsOpILNS_13PrimitiveTypeE4EEEE15vector_constantERKNS_8PODArrayIsLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEsRNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 88 | 315 | PaddedPODArray<UInt8>& c) { | 89 | 315 | size_t size = a.size(); | 90 | 315 | const A* __restrict a_pos = a.data(); | 91 | 315 | UInt8* __restrict c_pos = c.data(); | 92 | 315 | const A* __restrict a_end = a_pos + size; | 93 | | | 94 | 101k | while (a_pos < a_end) { | 95 | 101k | *c_pos = Op::apply(*a_pos, b); | 96 | 101k | ++a_pos; | 97 | 101k | ++c_pos; | 98 | 101k | } | 99 | 315 | } |
_ZN5doris17NumComparisonImplIiiNS_8EqualsOpILNS_13PrimitiveTypeE5EEEE15vector_constantERKNS_8PODArrayIiLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEiRNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 88 | 1.80k | PaddedPODArray<UInt8>& c) { | 89 | 1.80k | size_t size = a.size(); | 90 | 1.80k | const A* __restrict a_pos = a.data(); | 91 | 1.80k | UInt8* __restrict c_pos = c.data(); | 92 | 1.80k | const A* __restrict a_end = a_pos + size; | 93 | | | 94 | 182k | 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 | 1.80k | } |
_ZN5doris17NumComparisonImplIllNS_8EqualsOpILNS_13PrimitiveTypeE6EEEE15vector_constantERKNS_8PODArrayIlLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEElRNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 88 | 2.08k | PaddedPODArray<UInt8>& c) { | 89 | 2.08k | size_t size = a.size(); | 90 | 2.08k | const A* __restrict a_pos = a.data(); | 91 | 2.08k | UInt8* __restrict c_pos = c.data(); | 92 | 2.08k | const A* __restrict a_end = a_pos + size; | 93 | | | 94 | 991k | while (a_pos < a_end) { | 95 | 989k | *c_pos = Op::apply(*a_pos, b); | 96 | 989k | ++a_pos; | 97 | 989k | ++c_pos; | 98 | 989k | } | 99 | 2.08k | } |
_ZN5doris17NumComparisonImplInnNS_8EqualsOpILNS_13PrimitiveTypeE7EEEE15vector_constantERKNS_8PODArrayInLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEnRNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 88 | 35 | PaddedPODArray<UInt8>& c) { | 89 | 35 | size_t size = a.size(); | 90 | 35 | const A* __restrict a_pos = a.data(); | 91 | 35 | UInt8* __restrict c_pos = c.data(); | 92 | 35 | 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 | 35 | } |
_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 | 866 | PaddedPODArray<UInt8>& c) { | 89 | 866 | size_t size = a.size(); | 90 | 866 | const A* __restrict a_pos = a.data(); | 91 | 866 | UInt8* __restrict c_pos = c.data(); | 92 | 866 | 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 | 866 | } |
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 | 258 | PaddedPODArray<UInt8>& c) { | 89 | 258 | size_t size = a.size(); | 90 | 258 | const A* __restrict a_pos = a.data(); | 91 | 258 | UInt8* __restrict c_pos = c.data(); | 92 | 258 | const A* __restrict a_end = a_pos + size; | 93 | | | 94 | 1.84k | while (a_pos < a_end) { | 95 | 1.59k | *c_pos = Op::apply(*a_pos, b); | 96 | 1.59k | ++a_pos; | 97 | 1.59k | ++c_pos; | 98 | 1.59k | } | 99 | 258 | } |
_ZN5doris17NumComparisonImplIllNS_11NotEqualsOpILNS_13PrimitiveTypeE6EEEE15vector_constantERKNS_8PODArrayIlLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEElRNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 88 | 792 | PaddedPODArray<UInt8>& c) { | 89 | 792 | size_t size = a.size(); | 90 | 792 | const A* __restrict a_pos = a.data(); | 91 | 792 | UInt8* __restrict c_pos = c.data(); | 92 | 792 | const A* __restrict a_end = a_pos + size; | 93 | | | 94 | 3.92k | while (a_pos < a_end) { | 95 | 3.13k | *c_pos = Op::apply(*a_pos, b); | 96 | 3.13k | ++a_pos; | 97 | 3.13k | ++c_pos; | 98 | 3.13k | } | 99 | 792 | } |
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 | 355 | PaddedPODArray<UInt8>& c) { | 89 | 355 | size_t size = a.size(); | 90 | 355 | const A* __restrict a_pos = a.data(); | 91 | 355 | UInt8* __restrict c_pos = c.data(); | 92 | 355 | const A* __restrict a_end = a_pos + size; | 93 | | | 94 | 1.67M | while (a_pos < a_end) { | 95 | 1.67M | *c_pos = Op::apply(*a_pos, b); | 96 | 1.67M | ++a_pos; | 97 | 1.67M | ++c_pos; | 98 | 1.67M | } | 99 | 355 | } |
_ZN5doris17NumComparisonImplINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEES3_NS_9GreaterOpILNS_13PrimitiveTypeE26EEEE15vector_constantERKNS_8PODArrayIS3_Lm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEES3_RNS8_IhLm4096ESB_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 | 3 | while (a_pos < a_end) { | 95 | 2 | *c_pos = Op::apply(*a_pos, b); | 96 | 2 | ++a_pos; | 97 | 2 | ++c_pos; | 98 | 2 | } | 99 | 1 | } |
_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.07k | PaddedPODArray<UInt8>& c) { | 89 | 1.07k | size_t size = a.size(); | 90 | 1.07k | const A* __restrict a_pos = a.data(); | 91 | 1.07k | UInt8* __restrict c_pos = c.data(); | 92 | 1.07k | const A* __restrict a_end = a_pos + size; | 93 | | | 94 | 7.54k | while (a_pos < a_end) { | 95 | 6.46k | *c_pos = Op::apply(*a_pos, b); | 96 | 6.46k | ++a_pos; | 97 | 6.46k | ++c_pos; | 98 | 6.46k | } | 99 | 1.07k | } |
_ZN5doris17NumComparisonImplIaaNS_6LessOpILNS_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 | 4.02k | while (a_pos < a_end) { | 95 | 2.87k | *c_pos = Op::apply(*a_pos, b); | 96 | 2.87k | ++a_pos; | 97 | 2.87k | ++c_pos; | 98 | 2.87k | } | 99 | 1.15k | } |
_ZN5doris17NumComparisonImplIssNS_9GreaterOpILNS_13PrimitiveTypeE4EEEE15vector_constantERKNS_8PODArrayIsLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEsRNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 88 | 920 | PaddedPODArray<UInt8>& c) { | 89 | 920 | size_t size = a.size(); | 90 | 920 | const A* __restrict a_pos = a.data(); | 91 | 920 | UInt8* __restrict c_pos = c.data(); | 92 | 920 | const A* __restrict a_end = a_pos + size; | 93 | | | 94 | 5.03k | while (a_pos < a_end) { | 95 | 4.11k | *c_pos = Op::apply(*a_pos, b); | 96 | 4.11k | ++a_pos; | 97 | 4.11k | ++c_pos; | 98 | 4.11k | } | 99 | 920 | } |
_ZN5doris17NumComparisonImplIssNS_6LessOpILNS_13PrimitiveTypeE4EEEE15vector_constantERKNS_8PODArrayIsLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEsRNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 88 | 403 | PaddedPODArray<UInt8>& c) { | 89 | 403 | size_t size = a.size(); | 90 | 403 | const A* __restrict a_pos = a.data(); | 91 | 403 | UInt8* __restrict c_pos = c.data(); | 92 | 403 | const A* __restrict a_end = a_pos + size; | 93 | | | 94 | 2.45k | while (a_pos < a_end) { | 95 | 2.05k | *c_pos = Op::apply(*a_pos, b); | 96 | 2.05k | ++a_pos; | 97 | 2.05k | ++c_pos; | 98 | 2.05k | } | 99 | 403 | } |
_ZN5doris17NumComparisonImplIiiNS_9GreaterOpILNS_13PrimitiveTypeE5EEEE15vector_constantERKNS_8PODArrayIiLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEiRNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 88 | 4.79k | PaddedPODArray<UInt8>& c) { | 89 | 4.79k | size_t size = a.size(); | 90 | 4.79k | const A* __restrict a_pos = a.data(); | 91 | 4.79k | UInt8* __restrict c_pos = c.data(); | 92 | 4.79k | 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.79k | } |
_ZN5doris17NumComparisonImplIiiNS_6LessOpILNS_13PrimitiveTypeE5EEEE15vector_constantERKNS_8PODArrayIiLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEiRNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 88 | 63.3k | PaddedPODArray<UInt8>& c) { | 89 | 63.3k | size_t size = a.size(); | 90 | 63.3k | const A* __restrict a_pos = a.data(); | 91 | 63.3k | UInt8* __restrict c_pos = c.data(); | 92 | 63.3k | 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.3k | } |
_ZN5doris17NumComparisonImplIllNS_9GreaterOpILNS_13PrimitiveTypeE6EEEE15vector_constantERKNS_8PODArrayIlLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEElRNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 88 | 1.41k | PaddedPODArray<UInt8>& c) { | 89 | 1.41k | size_t size = a.size(); | 90 | 1.41k | const A* __restrict a_pos = a.data(); | 91 | 1.41k | UInt8* __restrict c_pos = c.data(); | 92 | 1.41k | const A* __restrict a_end = a_pos + size; | 93 | | | 94 | 98.2k | 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.41k | } |
_ZN5doris17NumComparisonImplIllNS_6LessOpILNS_13PrimitiveTypeE6EEEE15vector_constantERKNS_8PODArrayIlLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEElRNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 88 | 1.02k | PaddedPODArray<UInt8>& c) { | 89 | 1.02k | size_t size = a.size(); | 90 | 1.02k | const A* __restrict a_pos = a.data(); | 91 | 1.02k | UInt8* __restrict c_pos = c.data(); | 92 | 1.02k | const A* __restrict a_end = a_pos + size; | 93 | | | 94 | 11.7k | while (a_pos < a_end) { | 95 | 10.7k | *c_pos = Op::apply(*a_pos, b); | 96 | 10.7k | ++a_pos; | 97 | 10.7k | ++c_pos; | 98 | 10.7k | } | 99 | 1.02k | } |
_ZN5doris17NumComparisonImplInnNS_9GreaterOpILNS_13PrimitiveTypeE7EEEE15vector_constantERKNS_8PODArrayInLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEnRNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 88 | 293 | PaddedPODArray<UInt8>& c) { | 89 | 293 | size_t size = a.size(); | 90 | 293 | const A* __restrict a_pos = a.data(); | 91 | 293 | UInt8* __restrict c_pos = c.data(); | 92 | 293 | const A* __restrict a_end = a_pos + size; | 93 | | | 94 | 1.93k | while (a_pos < a_end) { | 95 | 1.63k | *c_pos = Op::apply(*a_pos, b); | 96 | 1.63k | ++a_pos; | 97 | 1.63k | ++c_pos; | 98 | 1.63k | } | 99 | 293 | } |
_ZN5doris17NumComparisonImplInnNS_6LessOpILNS_13PrimitiveTypeE7EEEE15vector_constantERKNS_8PODArrayInLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEnRNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 88 | 90 | PaddedPODArray<UInt8>& c) { | 89 | 90 | size_t size = a.size(); | 90 | 90 | const A* __restrict a_pos = a.data(); | 91 | 90 | UInt8* __restrict c_pos = c.data(); | 92 | 90 | 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 | 90 | } |
_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 | 509 | PaddedPODArray<UInt8>& c) { | 89 | 509 | size_t size = a.size(); | 90 | 509 | const A* __restrict a_pos = a.data(); | 91 | 509 | UInt8* __restrict c_pos = c.data(); | 92 | 509 | const A* __restrict a_end = a_pos + size; | 93 | | | 94 | 7.44k | while (a_pos < a_end) { | 95 | 6.93k | *c_pos = Op::apply(*a_pos, b); | 96 | 6.93k | ++a_pos; | 97 | 6.93k | ++c_pos; | 98 | 6.93k | } | 99 | 509 | } |
_ZN5doris17NumComparisonImplIddNS_6LessOpILNS_13PrimitiveTypeE9EEEE15vector_constantERKNS_8PODArrayIdLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEdRNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 88 | 186 | PaddedPODArray<UInt8>& c) { | 89 | 186 | size_t size = a.size(); | 90 | 186 | const A* __restrict a_pos = a.data(); | 91 | 186 | UInt8* __restrict c_pos = c.data(); | 92 | 186 | const A* __restrict a_end = a_pos + size; | 93 | | | 94 | 607k | while (a_pos < a_end) { | 95 | 607k | *c_pos = Op::apply(*a_pos, b); | 96 | 607k | ++a_pos; | 97 | 607k | ++c_pos; | 98 | 607k | } | 99 | 186 | } |
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 | 23 | PaddedPODArray<UInt8>& c) { | 89 | 23 | size_t size = a.size(); | 90 | 23 | const A* __restrict a_pos = a.data(); | 91 | 23 | UInt8* __restrict c_pos = c.data(); | 92 | 23 | const A* __restrict a_end = a_pos + size; | 93 | | | 94 | 105k | while (a_pos < a_end) { | 95 | 105k | *c_pos = Op::apply(*a_pos, b); | 96 | 105k | ++a_pos; | 97 | 105k | ++c_pos; | 98 | 105k | } | 99 | 23 | } |
_ZN5doris17NumComparisonImplIhhNS_14LessOrEqualsOpILNS_13PrimitiveTypeE2EEEE15vector_constantERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEhRS9_ Line | Count | Source | 88 | 49 | PaddedPODArray<UInt8>& c) { | 89 | 49 | size_t size = a.size(); | 90 | 49 | const A* __restrict a_pos = a.data(); | 91 | 49 | UInt8* __restrict c_pos = c.data(); | 92 | 49 | 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 | 49 | } |
_ZN5doris17NumComparisonImplINS_11DateV2ValueINS_15DateV2ValueTypeEEES3_NS_17GreaterOrEqualsOpILNS_13PrimitiveTypeE25EEEE15vector_constantERKNS_8PODArrayIS3_Lm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEES3_RNS8_IhLm4096ESB_Lm16ELm15EEE Line | Count | Source | 88 | 446 | PaddedPODArray<UInt8>& c) { | 89 | 446 | size_t size = a.size(); | 90 | 446 | const A* __restrict a_pos = a.data(); | 91 | 446 | UInt8* __restrict c_pos = c.data(); | 92 | 446 | const A* __restrict a_end = a_pos + size; | 93 | | | 94 | 1.77M | while (a_pos < a_end) { | 95 | 1.77M | *c_pos = Op::apply(*a_pos, b); | 96 | 1.77M | ++a_pos; | 97 | 1.77M | ++c_pos; | 98 | 1.77M | } | 99 | 446 | } |
_ZN5doris17NumComparisonImplINS_11DateV2ValueINS_15DateV2ValueTypeEEES3_NS_14LessOrEqualsOpILNS_13PrimitiveTypeE25EEEE15vector_constantERKNS_8PODArrayIS3_Lm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEES3_RNS8_IhLm4096ESB_Lm16ELm15EEE Line | Count | Source | 88 | 164 | PaddedPODArray<UInt8>& c) { | 89 | 164 | size_t size = a.size(); | 90 | 164 | const A* __restrict a_pos = a.data(); | 91 | 164 | UInt8* __restrict c_pos = c.data(); | 92 | 164 | const A* __restrict a_end = a_pos + size; | 93 | | | 94 | 724k | while (a_pos < a_end) { | 95 | 724k | *c_pos = Op::apply(*a_pos, b); | 96 | 724k | ++a_pos; | 97 | 724k | ++c_pos; | 98 | 724k | } | 99 | 164 | } |
_ZN5doris17NumComparisonImplINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEES3_NS_17GreaterOrEqualsOpILNS_13PrimitiveTypeE26EEEE15vector_constantERKNS_8PODArrayIS3_Lm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEES3_RNS8_IhLm4096ESB_Lm16ELm15EEE Line | Count | Source | 88 | 140 | PaddedPODArray<UInt8>& c) { | 89 | 140 | size_t size = a.size(); | 90 | 140 | const A* __restrict a_pos = a.data(); | 91 | 140 | UInt8* __restrict c_pos = c.data(); | 92 | 140 | const A* __restrict a_end = a_pos + size; | 93 | | | 94 | 539 | while (a_pos < a_end) { | 95 | 399 | *c_pos = Op::apply(*a_pos, b); | 96 | 399 | ++a_pos; | 97 | 399 | ++c_pos; | 98 | 399 | } | 99 | 140 | } |
_ZN5doris17NumComparisonImplINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEES3_NS_14LessOrEqualsOpILNS_13PrimitiveTypeE26EEEE15vector_constantERKNS_8PODArrayIS3_Lm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEES3_RNS8_IhLm4096ESB_Lm16ELm15EEE Line | Count | Source | 88 | 84 | PaddedPODArray<UInt8>& c) { | 89 | 84 | size_t size = a.size(); | 90 | 84 | const A* __restrict a_pos = a.data(); | 91 | 84 | UInt8* __restrict c_pos = c.data(); | 92 | 84 | const A* __restrict a_end = a_pos + size; | 93 | | | 94 | 458 | while (a_pos < a_end) { | 95 | 374 | *c_pos = Op::apply(*a_pos, b); | 96 | 374 | ++a_pos; | 97 | 374 | ++c_pos; | 98 | 374 | } | 99 | 84 | } |
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 | 72 | PaddedPODArray<UInt8>& c) { | 89 | 72 | size_t size = a.size(); | 90 | 72 | const A* __restrict a_pos = a.data(); | 91 | 72 | UInt8* __restrict c_pos = c.data(); | 92 | 72 | const A* __restrict a_end = a_pos + size; | 93 | | | 94 | 106k | while (a_pos < a_end) { | 95 | 106k | *c_pos = Op::apply(*a_pos, b); | 96 | 106k | ++a_pos; | 97 | 106k | ++c_pos; | 98 | 106k | } | 99 | 72 | } |
_ZN5doris17NumComparisonImplIaaNS_14LessOrEqualsOpILNS_13PrimitiveTypeE3EEEE15vector_constantERKNS_8PODArrayIaLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEaRNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 88 | 108 | PaddedPODArray<UInt8>& c) { | 89 | 108 | size_t size = a.size(); | 90 | 108 | const A* __restrict a_pos = a.data(); | 91 | 108 | UInt8* __restrict c_pos = c.data(); | 92 | 108 | const A* __restrict a_end = a_pos + size; | 93 | | | 94 | 110k | while (a_pos < a_end) { | 95 | 110k | *c_pos = Op::apply(*a_pos, b); | 96 | 110k | ++a_pos; | 97 | 110k | ++c_pos; | 98 | 110k | } | 99 | 108 | } |
_ZN5doris17NumComparisonImplIssNS_17GreaterOrEqualsOpILNS_13PrimitiveTypeE4EEEE15vector_constantERKNS_8PODArrayIsLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEsRNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 88 | 70 | PaddedPODArray<UInt8>& c) { | 89 | 70 | size_t size = a.size(); | 90 | 70 | const A* __restrict a_pos = a.data(); | 91 | 70 | UInt8* __restrict c_pos = c.data(); | 92 | 70 | const A* __restrict a_end = a_pos + size; | 93 | | | 94 | 115k | while (a_pos < a_end) { | 95 | 115k | *c_pos = Op::apply(*a_pos, b); | 96 | 115k | ++a_pos; | 97 | 115k | ++c_pos; | 98 | 115k | } | 99 | 70 | } |
_ZN5doris17NumComparisonImplIssNS_14LessOrEqualsOpILNS_13PrimitiveTypeE4EEEE15vector_constantERKNS_8PODArrayIsLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEsRNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 88 | 120 | PaddedPODArray<UInt8>& c) { | 89 | 120 | size_t size = a.size(); | 90 | 120 | const A* __restrict a_pos = a.data(); | 91 | 120 | UInt8* __restrict c_pos = c.data(); | 92 | 120 | const A* __restrict a_end = a_pos + size; | 93 | | | 94 | 150k | while (a_pos < a_end) { | 95 | 150k | *c_pos = Op::apply(*a_pos, b); | 96 | 150k | ++a_pos; | 97 | 150k | ++c_pos; | 98 | 150k | } | 99 | 120 | } |
_ZN5doris17NumComparisonImplIiiNS_17GreaterOrEqualsOpILNS_13PrimitiveTypeE5EEEE15vector_constantERKNS_8PODArrayIiLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEiRNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 88 | 1.14k | PaddedPODArray<UInt8>& c) { | 89 | 1.14k | size_t size = a.size(); | 90 | 1.14k | const A* __restrict a_pos = a.data(); | 91 | 1.14k | UInt8* __restrict c_pos = c.data(); | 92 | 1.14k | const A* __restrict a_end = a_pos + size; | 93 | | | 94 | 3.92M | while (a_pos < a_end) { | 95 | 3.92M | *c_pos = Op::apply(*a_pos, b); | 96 | 3.92M | ++a_pos; | 97 | 3.92M | ++c_pos; | 98 | 3.92M | } | 99 | 1.14k | } |
_ZN5doris17NumComparisonImplIiiNS_14LessOrEqualsOpILNS_13PrimitiveTypeE5EEEE15vector_constantERKNS_8PODArrayIiLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEiRNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 88 | 6.17k | PaddedPODArray<UInt8>& c) { | 89 | 6.17k | size_t size = a.size(); | 90 | 6.17k | const A* __restrict a_pos = a.data(); | 91 | 6.17k | UInt8* __restrict c_pos = c.data(); | 92 | 6.17k | const A* __restrict a_end = a_pos + size; | 93 | | | 94 | 7.93M | while (a_pos < a_end) { | 95 | 7.92M | *c_pos = Op::apply(*a_pos, b); | 96 | 7.92M | ++a_pos; | 97 | 7.92M | ++c_pos; | 98 | 7.92M | } | 99 | 6.17k | } |
_ZN5doris17NumComparisonImplIllNS_17GreaterOrEqualsOpILNS_13PrimitiveTypeE6EEEE15vector_constantERKNS_8PODArrayIlLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEElRNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 88 | 227 | PaddedPODArray<UInt8>& c) { | 89 | 227 | size_t size = a.size(); | 90 | 227 | const A* __restrict a_pos = a.data(); | 91 | 227 | UInt8* __restrict c_pos = c.data(); | 92 | 227 | const A* __restrict a_end = a_pos + size; | 93 | | | 94 | 748 | while (a_pos < a_end) { | 95 | 521 | *c_pos = Op::apply(*a_pos, b); | 96 | 521 | ++a_pos; | 97 | 521 | ++c_pos; | 98 | 521 | } | 99 | 227 | } |
_ZN5doris17NumComparisonImplIllNS_14LessOrEqualsOpILNS_13PrimitiveTypeE6EEEE15vector_constantERKNS_8PODArrayIlLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEElRNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 88 | 247 | PaddedPODArray<UInt8>& c) { | 89 | 247 | size_t size = a.size(); | 90 | 247 | const A* __restrict a_pos = a.data(); | 91 | 247 | UInt8* __restrict c_pos = c.data(); | 92 | 247 | const A* __restrict a_end = a_pos + size; | 93 | | | 94 | 3.06k | while (a_pos < a_end) { | 95 | 2.81k | *c_pos = Op::apply(*a_pos, b); | 96 | 2.81k | ++a_pos; | 97 | 2.81k | ++c_pos; | 98 | 2.81k | } | 99 | 247 | } |
_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 | 131k | while (a_pos < a_end) { | 95 | 131k | *c_pos = Op::apply(*a_pos, b); | 96 | 131k | ++a_pos; | 97 | 131k | ++c_pos; | 98 | 131k | } | 99 | 32 | } |
_ZN5doris17NumComparisonImplInnNS_14LessOrEqualsOpILNS_13PrimitiveTypeE7EEEE15vector_constantERKNS_8PODArrayInLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEnRNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 88 | 46 | PaddedPODArray<UInt8>& c) { | 89 | 46 | size_t size = a.size(); | 90 | 46 | const A* __restrict a_pos = a.data(); | 91 | 46 | UInt8* __restrict c_pos = c.data(); | 92 | 46 | const A* __restrict a_end = a_pos + size; | 93 | | | 94 | 116k | while (a_pos < a_end) { | 95 | 116k | *c_pos = Op::apply(*a_pos, b); | 96 | 116k | ++a_pos; | 97 | 116k | ++c_pos; | 98 | 116k | } | 99 | 46 | } |
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 | 114 | PaddedPODArray<UInt8>& c) { | 89 | 114 | size_t size = a.size(); | 90 | 114 | const A* __restrict a_pos = a.data(); | 91 | 114 | UInt8* __restrict c_pos = c.data(); | 92 | 114 | const A* __restrict a_end = a_pos + size; | 93 | | | 94 | 680k | while (a_pos < a_end) { | 95 | 680k | *c_pos = Op::apply(*a_pos, b); | 96 | 680k | ++a_pos; | 97 | 680k | ++c_pos; | 98 | 680k | } | 99 | 114 | } |
_ZN5doris17NumComparisonImplIddNS_14LessOrEqualsOpILNS_13PrimitiveTypeE9EEEE15vector_constantERKNS_8PODArrayIdLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEdRNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 88 | 92 | PaddedPODArray<UInt8>& c) { | 89 | 92 | size_t size = a.size(); | 90 | 92 | const A* __restrict a_pos = a.data(); | 91 | 92 | UInt8* __restrict c_pos = c.data(); | 92 | 92 | const A* __restrict a_end = a_pos + size; | 93 | | | 94 | 600k | while (a_pos < a_end) { | 95 | 600k | *c_pos = Op::apply(*a_pos, b); | 96 | 600k | ++a_pos; | 97 | 600k | ++c_pos; | 98 | 600k | } | 99 | 92 | } |
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.8k | static void constant_vector(A a, const PaddedPODArray<B>& b, PaddedPODArray<UInt8>& c) { |
102 | 66.8k | NumComparisonImpl<B, A, typename Op::SymmetricOp>::vector_constant(b, a, c); |
103 | 66.8k | } 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 | 498 | static void constant_vector(A a, const PaddedPODArray<B>& b, PaddedPODArray<UInt8>& c) { | 102 | 498 | NumComparisonImpl<B, A, typename Op::SymmetricOp>::vector_constant(b, a, c); | 103 | 498 | } |
_ZN5doris17NumComparisonImplIssNS_8EqualsOpILNS_13PrimitiveTypeE4EEEE15constant_vectorEsRKNS_8PODArrayIsLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 101 | 30 | static void constant_vector(A a, const PaddedPODArray<B>& b, PaddedPODArray<UInt8>& c) { | 102 | 30 | NumComparisonImpl<B, A, typename Op::SymmetricOp>::vector_constant(b, a, c); | 103 | 30 | } |
_ZN5doris17NumComparisonImplIiiNS_8EqualsOpILNS_13PrimitiveTypeE5EEEE15constant_vectorEiRKNS_8PODArrayIiLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 101 | 115 | static void constant_vector(A a, const PaddedPODArray<B>& b, PaddedPODArray<UInt8>& c) { | 102 | 115 | NumComparisonImpl<B, A, typename Op::SymmetricOp>::vector_constant(b, a, c); | 103 | 115 | } |
_ZN5doris17NumComparisonImplIllNS_8EqualsOpILNS_13PrimitiveTypeE6EEEE15constant_vectorElRKNS_8PODArrayIlLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 101 | 456 | static void constant_vector(A a, const PaddedPODArray<B>& b, PaddedPODArray<UInt8>& c) { | 102 | 456 | NumComparisonImpl<B, A, typename Op::SymmetricOp>::vector_constant(b, a, c); | 103 | 456 | } |
_ZN5doris17NumComparisonImplInnNS_8EqualsOpILNS_13PrimitiveTypeE7EEEE15constant_vectorEnRKNS_8PODArrayInLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 101 | 8 | static void constant_vector(A a, const PaddedPODArray<B>& b, PaddedPODArray<UInt8>& c) { | 102 | 8 | NumComparisonImpl<B, A, typename Op::SymmetricOp>::vector_constant(b, a, c); | 103 | 8 | } |
Unexecuted instantiation: _ZN5doris17NumComparisonImplIjjNS_8EqualsOpILNS_13PrimitiveTypeE36EEEE15constant_vectorEjRKNS_8PODArrayIjLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERNS5_IhLm4096ES8_Lm16ELm15EEE Unexecuted instantiation: _ZN5doris17NumComparisonImplIooNS_8EqualsOpILNS_13PrimitiveTypeE37EEEE15constant_vectorEoRKNS_8PODArrayIoLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERNS5_IhLm4096ES8_Lm16ELm15EEE Unexecuted instantiation: _ZN5doris17NumComparisonImplIffNS_8EqualsOpILNS_13PrimitiveTypeE8EEEE15constant_vectorEfRKNS_8PODArrayIfLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERNS5_IhLm4096ES8_Lm16ELm15EEE Unexecuted instantiation: _ZN5doris17NumComparisonImplIddNS_8EqualsOpILNS_13PrimitiveTypeE9EEEE15constant_vectorEdRKNS_8PODArrayIdLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERNS5_IhLm4096ES8_Lm16ELm15EEE Unexecuted instantiation: _ZN5doris17NumComparisonImplIddNS_8EqualsOpILNS_13PrimitiveTypeE27EEEE15constant_vectorEdRKNS_8PODArrayIdLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERNS5_IhLm4096ES8_Lm16ELm15EEE Unexecuted instantiation: _ZN5doris17NumComparisonImplIhhNS_11NotEqualsOpILNS_13PrimitiveTypeE2EEEE15constant_vectorEhRKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERS9_ Unexecuted instantiation: _ZN5doris17NumComparisonImplINS_11DateV2ValueINS_15DateV2ValueTypeEEES3_NS_11NotEqualsOpILNS_13PrimitiveTypeE25EEEE15constant_vectorES3_RKNS_8PODArrayIS3_Lm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERNS8_IhLm4096ESB_Lm16ELm15EEE Unexecuted instantiation: _ZN5doris17NumComparisonImplINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEES3_NS_11NotEqualsOpILNS_13PrimitiveTypeE26EEEE15constant_vectorES3_RKNS_8PODArrayIS3_Lm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERNS8_IhLm4096ESB_Lm16ELm15EEE Unexecuted instantiation: _ZN5doris17NumComparisonImplINS_16TimestampTzValueES1_NS_11NotEqualsOpILNS_13PrimitiveTypeE42EEEE15constant_vectorES1_RKNS_8PODArrayIS1_Lm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERNS6_IhLm4096ES9_Lm16ELm15EEE Unexecuted instantiation: _ZN5doris17NumComparisonImplIaaNS_11NotEqualsOpILNS_13PrimitiveTypeE3EEEE15constant_vectorEaRKNS_8PODArrayIaLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERNS5_IhLm4096ES8_Lm16ELm15EEE Unexecuted instantiation: _ZN5doris17NumComparisonImplIssNS_11NotEqualsOpILNS_13PrimitiveTypeE4EEEE15constant_vectorEsRKNS_8PODArrayIsLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERNS5_IhLm4096ES8_Lm16ELm15EEE Unexecuted instantiation: _ZN5doris17NumComparisonImplIiiNS_11NotEqualsOpILNS_13PrimitiveTypeE5EEEE15constant_vectorEiRKNS_8PODArrayIiLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERNS5_IhLm4096ES8_Lm16ELm15EEE _ZN5doris17NumComparisonImplIllNS_11NotEqualsOpILNS_13PrimitiveTypeE6EEEE15constant_vectorElRKNS_8PODArrayIlLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 101 | 762 | static void constant_vector(A a, const PaddedPODArray<B>& b, PaddedPODArray<UInt8>& c) { | 102 | 762 | NumComparisonImpl<B, A, typename Op::SymmetricOp>::vector_constant(b, a, c); | 103 | 762 | } |
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 | 273 | static void constant_vector(A a, const PaddedPODArray<B>& b, PaddedPODArray<UInt8>& c) { | 102 | 273 | NumComparisonImpl<B, A, typename Op::SymmetricOp>::vector_constant(b, a, c); | 103 | 273 | } |
_ZN5doris17NumComparisonImplIssNS_9GreaterOpILNS_13PrimitiveTypeE4EEEE15constant_vectorEsRKNS_8PODArrayIsLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 101 | 389 | static void constant_vector(A a, const PaddedPODArray<B>& b, PaddedPODArray<UInt8>& c) { | 102 | 389 | NumComparisonImpl<B, A, typename Op::SymmetricOp>::vector_constant(b, a, c); | 103 | 389 | } |
_ZN5doris17NumComparisonImplIiiNS_9GreaterOpILNS_13PrimitiveTypeE5EEEE15constant_vectorEiRKNS_8PODArrayIiLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 101 | 62.5k | static void constant_vector(A a, const PaddedPODArray<B>& b, PaddedPODArray<UInt8>& c) { | 102 | 62.5k | NumComparisonImpl<B, A, typename Op::SymmetricOp>::vector_constant(b, a, c); | 103 | 62.5k | } |
_ZN5doris17NumComparisonImplIllNS_9GreaterOpILNS_13PrimitiveTypeE6EEEE15constant_vectorElRKNS_8PODArrayIlLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 101 | 529 | static void constant_vector(A a, const PaddedPODArray<B>& b, PaddedPODArray<UInt8>& c) { | 102 | 529 | NumComparisonImpl<B, A, typename Op::SymmetricOp>::vector_constant(b, a, c); | 103 | 529 | } |
_ZN5doris17NumComparisonImplInnNS_9GreaterOpILNS_13PrimitiveTypeE7EEEE15constant_vectorEnRKNS_8PODArrayInLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 101 | 30 | static void constant_vector(A a, const PaddedPODArray<B>& b, PaddedPODArray<UInt8>& c) { | 102 | 30 | NumComparisonImpl<B, A, typename Op::SymmetricOp>::vector_constant(b, a, c); | 103 | 30 | } |
Unexecuted instantiation: _ZN5doris17NumComparisonImplIjjNS_9GreaterOpILNS_13PrimitiveTypeE36EEEE15constant_vectorEjRKNS_8PODArrayIjLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERNS5_IhLm4096ES8_Lm16ELm15EEE Unexecuted instantiation: _ZN5doris17NumComparisonImplIooNS_9GreaterOpILNS_13PrimitiveTypeE37EEEE15constant_vectorEoRKNS_8PODArrayIoLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERNS5_IhLm4096ES8_Lm16ELm15EEE Unexecuted instantiation: _ZN5doris17NumComparisonImplIffNS_9GreaterOpILNS_13PrimitiveTypeE8EEEE15constant_vectorEfRKNS_8PODArrayIfLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERNS5_IhLm4096ES8_Lm16ELm15EEE Unexecuted instantiation: _ZN5doris17NumComparisonImplIddNS_9GreaterOpILNS_13PrimitiveTypeE9EEEE15constant_vectorEdRKNS_8PODArrayIdLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERNS5_IhLm4096ES8_Lm16ELm15EEE Unexecuted instantiation: _ZN5doris17NumComparisonImplIddNS_9GreaterOpILNS_13PrimitiveTypeE27EEEE15constant_vectorEdRKNS_8PODArrayIdLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERNS5_IhLm4096ES8_Lm16ELm15EEE Unexecuted instantiation: _ZN5doris17NumComparisonImplIhhNS_17GreaterOrEqualsOpILNS_13PrimitiveTypeE2EEEE15constant_vectorEhRKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERS9_ _ZN5doris17NumComparisonImplINS_11DateV2ValueINS_15DateV2ValueTypeEEES3_NS_17GreaterOrEqualsOpILNS_13PrimitiveTypeE25EEEE15constant_vectorES3_RKNS_8PODArrayIS3_Lm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERNS8_IhLm4096ESB_Lm16ELm15EEE Line | Count | Source | 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 | 468 | static void constant_vector(A a, const PaddedPODArray<B>& b, PaddedPODArray<UInt8>& c) { | 102 | 468 | NumComparisonImpl<B, A, typename Op::SymmetricOp>::vector_constant(b, a, c); | 103 | 468 | } |
Unexecuted instantiation: _ZN5doris17NumComparisonImplIssNS_6LessOpILNS_13PrimitiveTypeE4EEEE15constant_vectorEsRKNS_8PODArrayIsLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERNS5_IhLm4096ES8_Lm16ELm15EEE _ZN5doris17NumComparisonImplIiiNS_6LessOpILNS_13PrimitiveTypeE5EEEE15constant_vectorEiRKNS_8PODArrayIiLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 101 | 191 | static void constant_vector(A a, const PaddedPODArray<B>& b, PaddedPODArray<UInt8>& c) { | 102 | 191 | NumComparisonImpl<B, A, typename Op::SymmetricOp>::vector_constant(b, a, c); | 103 | 191 | } |
_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 | 92 | static void constant_vector(A a, const PaddedPODArray<B>& b, PaddedPODArray<UInt8>& c) { | 102 | 92 | NumComparisonImpl<B, A, typename Op::SymmetricOp>::vector_constant(b, a, c); | 103 | 92 | } |
Unexecuted instantiation: _ZN5doris17NumComparisonImplIjjNS_6LessOpILNS_13PrimitiveTypeE36EEEE15constant_vectorEjRKNS_8PODArrayIjLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERNS5_IhLm4096ES8_Lm16ELm15EEE Unexecuted instantiation: _ZN5doris17NumComparisonImplIooNS_6LessOpILNS_13PrimitiveTypeE37EEEE15constant_vectorEoRKNS_8PODArrayIoLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERNS5_IhLm4096ES8_Lm16ELm15EEE Unexecuted instantiation: _ZN5doris17NumComparisonImplIffNS_6LessOpILNS_13PrimitiveTypeE8EEEE15constant_vectorEfRKNS_8PODArrayIfLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERNS5_IhLm4096ES8_Lm16ELm15EEE Unexecuted instantiation: _ZN5doris17NumComparisonImplIddNS_6LessOpILNS_13PrimitiveTypeE9EEEE15constant_vectorEdRKNS_8PODArrayIdLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERNS5_IhLm4096ES8_Lm16ELm15EEE Unexecuted instantiation: _ZN5doris17NumComparisonImplIddNS_6LessOpILNS_13PrimitiveTypeE27EEEE15constant_vectorEdRKNS_8PODArrayIdLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERNS5_IhLm4096ES8_Lm16ELm15EEE Unexecuted instantiation: _ZN5doris17NumComparisonImplIhhNS_14LessOrEqualsOpILNS_13PrimitiveTypeE2EEEE15constant_vectorEhRKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERS9_ _ZN5doris17NumComparisonImplINS_11DateV2ValueINS_15DateV2ValueTypeEEES3_NS_14LessOrEqualsOpILNS_13PrimitiveTypeE25EEEE15constant_vectorES3_RKNS_8PODArrayIS3_Lm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERNS8_IhLm4096ESB_Lm16ELm15EEE Line | Count | Source | 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 | 308 | static void constant_vector(A a, const PaddedPODArray<B>& b, PaddedPODArray<UInt8>& c) { | 102 | 308 | NumComparisonImpl<B, A, typename Op::SymmetricOp>::vector_constant(b, a, c); | 103 | 308 | } |
_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 Unexecuted instantiation: _ZN5doris17NumComparisonImplIddNS_14LessOrEqualsOpILNS_13PrimitiveTypeE9EEEE15constant_vectorEdRKNS_8PODArrayIdLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERNS5_IhLm4096ES8_Lm16ELm15EEE 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 | 150 | static void vector_constant(const IColumn& a, const IColumn& b, PaddedPODArray<UInt8>& c) { |
116 | 150 | const auto& col_right = assert_cast<const ColumnConst&>(b).get_data_column(); |
117 | 514k | for (size_t i = 0, size = a.size(); i < size; ++i) { |
118 | 514k | c[i] = Op::apply(a.compare_at(i, 0, col_right, 1), 0); |
119 | 514k | } |
120 | 150 | } _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 | 53 | static void vector_constant(const IColumn& a, const IColumn& b, PaddedPODArray<UInt8>& c) { | 116 | 53 | const auto& col_right = assert_cast<const ColumnConst&>(b).get_data_column(); | 117 | 238k | for (size_t i = 0, size = a.size(); i < size; ++i) { | 118 | 238k | c[i] = Op::apply(a.compare_at(i, 0, col_right, 1), 0); | 119 | 238k | } | 120 | 53 | } |
_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 | 275k | for (size_t i = 0, size = a.size(); i < size; ++i) { | 118 | 275k | c[i] = Op::apply(a.compare_at(i, 0, col_right, 1), 0); | 119 | 275k | } | 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 | 526 | PaddedPODArray<UInt8>& c) { |
134 | 526 | size_t size = a_offsets.size(); |
135 | 526 | ColumnString::Offset prev_a_offset = 0; |
136 | 526 | ColumnString::Offset prev_b_offset = 0; |
137 | 526 | const auto* a_pos = a_data.data(); |
138 | 526 | const auto* b_pos = b_data.data(); |
139 | | |
140 | 1.78k | for (size_t i = 0; i < size; ++i) { |
141 | 1.26k | c[i] = Op::apply(memcmp_small_allow_overflow15( |
142 | 1.26k | a_pos + prev_a_offset, a_offsets[i] - prev_a_offset, |
143 | 1.26k | b_pos + prev_b_offset, b_offsets[i] - prev_b_offset), |
144 | 1.26k | 0); |
145 | | |
146 | 1.26k | prev_a_offset = a_offsets[i]; |
147 | 1.26k | prev_b_offset = b_offsets[i]; |
148 | 1.26k | } |
149 | 526 | } _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 | 488 | PaddedPODArray<UInt8>& c) { | 134 | 488 | size_t size = a_offsets.size(); | 135 | 488 | ColumnString::Offset prev_a_offset = 0; | 136 | 488 | ColumnString::Offset prev_b_offset = 0; | 137 | 488 | const auto* a_pos = a_data.data(); | 138 | 488 | const auto* b_pos = b_data.data(); | 139 | | | 140 | 1.50k | for (size_t i = 0; i < size; ++i) { | 141 | 1.02k | c[i] = Op::apply(memcmp_small_allow_overflow15( | 142 | 1.02k | a_pos + prev_a_offset, a_offsets[i] - prev_a_offset, | 143 | 1.02k | b_pos + prev_b_offset, b_offsets[i] - prev_b_offset), | 144 | 1.02k | 0); | 145 | | | 146 | 1.02k | prev_a_offset = a_offsets[i]; | 147 | 1.02k | prev_b_offset = b_offsets[i]; | 148 | 1.02k | } | 149 | 488 | } |
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 | 785 | PaddedPODArray<UInt8>& c) { |
156 | 785 | size_t size = a_offsets.size(); |
157 | 785 | ColumnString::Offset prev_a_offset = 0; |
158 | 785 | const auto* a_pos = a_data.data(); |
159 | 785 | const auto* b_pos = b_data.data(); |
160 | | |
161 | 1.72M | for (size_t i = 0; i < size; ++i) { |
162 | 1.72M | c[i] = Op::apply( |
163 | 1.72M | memcmp_small_allow_overflow15(a_pos + prev_a_offset, |
164 | 1.72M | a_offsets[i] - prev_a_offset, b_pos, b_size), |
165 | 1.72M | 0); |
166 | | |
167 | 1.72M | prev_a_offset = a_offsets[i]; |
168 | 1.72M | } |
169 | 785 | } _ZN5doris20StringComparisonImplINS_9GreaterOpILNS_13PrimitiveTypeE5EEEE22string_vector_constantERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERKNS5_IjLm4096ES8_Lm16ELm15EEESB_jRS9_ Line | Count | Source | 155 | 201 | PaddedPODArray<UInt8>& c) { | 156 | 201 | size_t size = a_offsets.size(); | 157 | 201 | ColumnString::Offset prev_a_offset = 0; | 158 | 201 | const auto* a_pos = a_data.data(); | 159 | 201 | const auto* b_pos = b_data.data(); | 160 | | | 161 | 590k | for (size_t i = 0; i < size; ++i) { | 162 | 590k | c[i] = Op::apply( | 163 | 590k | memcmp_small_allow_overflow15(a_pos + prev_a_offset, | 164 | 590k | a_offsets[i] - prev_a_offset, b_pos, b_size), | 165 | 590k | 0); | 166 | | | 167 | 590k | prev_a_offset = a_offsets[i]; | 168 | 590k | } | 169 | 201 | } |
_ZN5doris20StringComparisonImplINS_6LessOpILNS_13PrimitiveTypeE5EEEE22string_vector_constantERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERKNS5_IjLm4096ES8_Lm16ELm15EEESB_jRS9_ Line | Count | Source | 155 | 107 | PaddedPODArray<UInt8>& c) { | 156 | 107 | size_t size = a_offsets.size(); | 157 | 107 | ColumnString::Offset prev_a_offset = 0; | 158 | 107 | const auto* a_pos = a_data.data(); | 159 | 107 | const auto* b_pos = b_data.data(); | 160 | | | 161 | 146k | for (size_t i = 0; i < size; ++i) { | 162 | 146k | c[i] = Op::apply( | 163 | 146k | memcmp_small_allow_overflow15(a_pos + prev_a_offset, | 164 | 146k | a_offsets[i] - prev_a_offset, b_pos, b_size), | 165 | 146k | 0); | 166 | | | 167 | 146k | prev_a_offset = a_offsets[i]; | 168 | 146k | } | 169 | 107 | } |
_ZN5doris20StringComparisonImplINS_17GreaterOrEqualsOpILNS_13PrimitiveTypeE5EEEE22string_vector_constantERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERKNS5_IjLm4096ES8_Lm16ELm15EEESB_jRS9_ Line | Count | Source | 155 | 174 | PaddedPODArray<UInt8>& c) { | 156 | 174 | size_t size = a_offsets.size(); | 157 | 174 | ColumnString::Offset prev_a_offset = 0; | 158 | 174 | const auto* a_pos = a_data.data(); | 159 | 174 | const auto* b_pos = b_data.data(); | 160 | | | 161 | 477k | for (size_t i = 0; i < size; ++i) { | 162 | 477k | c[i] = Op::apply( | 163 | 477k | memcmp_small_allow_overflow15(a_pos + prev_a_offset, | 164 | 477k | a_offsets[i] - prev_a_offset, b_pos, b_size), | 165 | 477k | 0); | 166 | | | 167 | 477k | prev_a_offset = a_offsets[i]; | 168 | 477k | } | 169 | 174 | } |
_ZN5doris20StringComparisonImplINS_14LessOrEqualsOpILNS_13PrimitiveTypeE5EEEE22string_vector_constantERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERKNS5_IjLm4096ES8_Lm16ELm15EEESB_jRS9_ Line | Count | Source | 155 | 303 | PaddedPODArray<UInt8>& c) { | 156 | 303 | size_t size = a_offsets.size(); | 157 | 303 | ColumnString::Offset prev_a_offset = 0; | 158 | 303 | const auto* a_pos = a_data.data(); | 159 | 303 | const auto* b_pos = b_data.data(); | 160 | | | 161 | 507k | for (size_t i = 0; i < size; ++i) { | 162 | 507k | c[i] = Op::apply( | 163 | 507k | memcmp_small_allow_overflow15(a_pos + prev_a_offset, | 164 | 507k | a_offsets[i] - prev_a_offset, b_pos, b_size), | 165 | 507k | 0); | 166 | | | 167 | 507k | prev_a_offset = a_offsets[i]; | 168 | 507k | } | 169 | 303 | } |
|
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 | 60 | PaddedPODArray<UInt8>& c) { | 176 | 60 | StringComparisonImpl<typename Op::SymmetricOp>::string_vector_constant(b_data, b_offsets, | 177 | 60 | a_data, a_size, c); | 178 | 60 | } |
_ZN5doris20StringComparisonImplINS_6LessOpILNS_13PrimitiveTypeE5EEEE22constant_string_vectorERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEjSB_RKNS5_IjLm4096ES8_Lm16ELm15EEERS9_ Line | Count | Source | 175 | 2 | PaddedPODArray<UInt8>& c) { | 176 | 2 | StringComparisonImpl<typename Op::SymmetricOp>::string_vector_constant(b_data, b_offsets, | 177 | 2 | a_data, a_size, c); | 178 | 2 | } |
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 | 571 | PaddedPODArray<UInt8>& c) { |
188 | 571 | size_t size = a_offsets.size(); |
189 | 571 | ColumnString::Offset prev_a_offset = 0; |
190 | 571 | ColumnString::Offset prev_b_offset = 0; |
191 | 571 | const auto* a_pos = a_data.data(); |
192 | 571 | const auto* b_pos = b_data.data(); |
193 | | |
194 | 1.62k | for (size_t i = 0; i < size; ++i) { |
195 | 1.04k | auto a_size = a_offsets[i] - prev_a_offset; |
196 | 1.04k | auto b_size = b_offsets[i] - prev_b_offset; |
197 | | |
198 | 1.04k | c[i] = positive == memequal_small_allow_overflow15(a_pos + prev_a_offset, a_size, |
199 | 1.04k | b_pos + prev_b_offset, b_size); |
200 | | |
201 | 1.04k | prev_a_offset = a_offsets[i]; |
202 | 1.04k | prev_b_offset = b_offsets[i]; |
203 | 1.04k | } |
204 | 571 | } _ZN5doris16StringEqualsImplILb1EE27string_vector_string_vectorERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERKNS2_IjLm4096ES5_Lm16ELm15EEES8_SB_RS6_ Line | Count | Source | 187 | 561 | PaddedPODArray<UInt8>& c) { | 188 | 561 | size_t size = a_offsets.size(); | 189 | 561 | ColumnString::Offset prev_a_offset = 0; | 190 | 561 | ColumnString::Offset prev_b_offset = 0; | 191 | 561 | const auto* a_pos = a_data.data(); | 192 | 561 | const auto* b_pos = b_data.data(); | 193 | | | 194 | 1.58k | for (size_t i = 0; i < size; ++i) { | 195 | 1.02k | auto a_size = a_offsets[i] - prev_a_offset; | 196 | 1.02k | auto b_size = b_offsets[i] - prev_b_offset; | 197 | | | 198 | 1.02k | c[i] = positive == memequal_small_allow_overflow15(a_pos + prev_a_offset, a_size, | 199 | 1.02k | b_pos + prev_b_offset, b_size); | 200 | | | 201 | 1.02k | prev_a_offset = a_offsets[i]; | 202 | 1.02k | prev_b_offset = b_offsets[i]; | 203 | 1.02k | } | 204 | 561 | } |
_ZN5doris16StringEqualsImplILb0EE27string_vector_string_vectorERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERKNS2_IjLm4096ES5_Lm16ELm15EEES8_SB_RS6_ Line | Count | Source | 187 | 10 | PaddedPODArray<UInt8>& c) { | 188 | 10 | size_t size = a_offsets.size(); | 189 | 10 | ColumnString::Offset prev_a_offset = 0; | 190 | 10 | ColumnString::Offset prev_b_offset = 0; | 191 | 10 | const auto* a_pos = a_data.data(); | 192 | 10 | const auto* b_pos = b_data.data(); | 193 | | | 194 | 31 | for (size_t i = 0; i < size; ++i) { | 195 | 21 | auto a_size = a_offsets[i] - prev_a_offset; | 196 | 21 | auto b_size = b_offsets[i] - prev_b_offset; | 197 | | | 198 | 21 | c[i] = positive == memequal_small_allow_overflow15(a_pos + prev_a_offset, a_size, | 199 | 21 | b_pos + prev_b_offset, b_size); | 200 | | | 201 | 21 | prev_a_offset = a_offsets[i]; | 202 | 21 | prev_b_offset = b_offsets[i]; | 203 | 21 | } | 204 | 10 | } |
|
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.5k | PaddedPODArray<UInt8>& c) { |
211 | 10.5k | size_t size = a_offsets.size(); |
212 | 10.5k | 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 | 7 | for (size_t i = 0; i < size; ++i) { |
218 | 5 | data[i] = positive ? (offsets[i] == prev_a_offset) : (offsets[i] != prev_a_offset); |
219 | 5 | prev_a_offset = offsets[i]; |
220 | 5 | } |
221 | 10.5k | } else { |
222 | 10.5k | ColumnString::Offset prev_a_offset = 0; |
223 | 10.5k | const auto* a_pos = a_data.data(); |
224 | 10.5k | const auto* b_pos = b_data.data(); |
225 | 1.49M | for (size_t i = 0; i < size; ++i) { |
226 | 1.48M | auto a_size = a_offsets[i] - prev_a_offset; |
227 | 1.48M | c[i] = positive == memequal_small_allow_overflow15(a_pos + prev_a_offset, a_size, |
228 | 1.48M | b_pos, b_size); |
229 | 1.48M | prev_a_offset = a_offsets[i]; |
230 | 1.48M | } |
231 | 10.5k | } |
232 | 10.5k | } _ZN5doris16StringEqualsImplILb1EE22string_vector_constantERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERKNS2_IjLm4096ES5_Lm16ELm15EEES8_jRS6_ Line | Count | Source | 210 | 10.3k | PaddedPODArray<UInt8>& c) { | 211 | 10.3k | size_t size = a_offsets.size(); | 212 | 10.3k | 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.3k | } else { | 222 | 10.3k | ColumnString::Offset prev_a_offset = 0; | 223 | 10.3k | const auto* a_pos = a_data.data(); | 224 | 10.3k | const auto* b_pos = b_data.data(); | 225 | 1.45M | for (size_t i = 0; i < size; ++i) { | 226 | 1.44M | auto a_size = a_offsets[i] - prev_a_offset; | 227 | 1.44M | c[i] = positive == memequal_small_allow_overflow15(a_pos + prev_a_offset, a_size, | 228 | 1.44M | b_pos, b_size); | 229 | 1.44M | prev_a_offset = a_offsets[i]; | 230 | 1.44M | } | 231 | 10.3k | } | 232 | 10.3k | } |
_ZN5doris16StringEqualsImplILb0EE22string_vector_constantERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERKNS2_IjLm4096ES5_Lm16ELm15EEES8_jRS6_ Line | Count | Source | 210 | 139 | PaddedPODArray<UInt8>& c) { | 211 | 139 | size_t size = a_offsets.size(); | 212 | 139 | 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 | 4 | for (size_t i = 0; i < size; ++i) { | 218 | 3 | data[i] = positive ? (offsets[i] == prev_a_offset) : (offsets[i] != prev_a_offset); | 219 | 3 | prev_a_offset = offsets[i]; | 220 | 3 | } | 221 | 138 | } else { | 222 | 138 | ColumnString::Offset prev_a_offset = 0; | 223 | 138 | const auto* a_pos = a_data.data(); | 224 | 138 | const auto* b_pos = b_data.data(); | 225 | 42.1k | for (size_t i = 0; i < size; ++i) { | 226 | 41.9k | auto a_size = a_offsets[i] - prev_a_offset; | 227 | 41.9k | c[i] = positive == memequal_small_allow_overflow15(a_pos + prev_a_offset, a_size, | 228 | 41.9k | b_pos, b_size); | 229 | 41.9k | prev_a_offset = a_offsets[i]; | 230 | 41.9k | } | 231 | 138 | } | 232 | 139 | } |
|
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.77k | Op op) { |
297 | 2.77k | auto slot_literal = expr_zonemap::extract_slot_and_literal(arguments); |
298 | | |
299 | 2.77k | auto slot_type = expr_zonemap::fetch_compatible_slot_type(ctx, slot_literal->slot_index, |
300 | 2.77k | slot_literal->slot_type); |
301 | 2.77k | if (slot_type == nullptr) { |
302 | 1 | return unsupported_zonemap_filter(ctx); |
303 | 1 | } |
304 | 2.77k | auto zone_map_ptr = ctx.zone_map(slot_literal->slot_index); |
305 | 2.77k | 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 | 46 | return ZoneMapFilterResult::kNoMatch; |
311 | 46 | } |
312 | 2.67k | if (!expr_zonemap::range_stats_usable_for_zonemap(zone_map, slot_type)) { |
313 | 92 | return unsupported_zonemap_filter(ctx); |
314 | 92 | } |
315 | | |
316 | 2.58k | const auto effective_op = slot_literal->literal_on_left ? symmetric_op(op) : op; |
317 | 2.58k | const auto& literal = slot_literal->literal; |
318 | 2.58k | const bool literal_is_nan = literal.is_nan(); |
319 | 2.58k | const bool hidden_nan_can_match = (effective_op == Op::EQ && literal_is_nan) || |
320 | 2.58k | (effective_op == Op::NE && !literal_is_nan) || |
321 | 2.58k | (effective_op == Op::GT && !literal_is_nan) || |
322 | 2.58k | effective_op == Op::GE; |
323 | 2.58k | 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.53k | switch (effective_op) { |
328 | 1.54k | case Op::EQ: |
329 | 1.54k | return literal < zone_map.min_value || zone_map.max_value < literal |
330 | 1.54k | ? ZoneMapFilterResult::kNoMatch |
331 | 1.54k | : ZoneMapFilterResult::kMayMatch; |
332 | 99 | case Op::NE: |
333 | 99 | return zone_map.min_value == literal && zone_map.max_value == literal |
334 | 99 | ? ZoneMapFilterResult::kNoMatch |
335 | 99 | : ZoneMapFilterResult::kMayMatch; |
336 | 230 | case Op::LT: |
337 | 230 | return zone_map.min_value >= literal ? ZoneMapFilterResult::kNoMatch |
338 | 230 | : ZoneMapFilterResult::kMayMatch; |
339 | 228 | case Op::LE: |
340 | 228 | return zone_map.min_value > literal ? ZoneMapFilterResult::kNoMatch |
341 | 228 | : ZoneMapFilterResult::kMayMatch; |
342 | 234 | case Op::GT: |
343 | 234 | return zone_map.max_value <= literal ? ZoneMapFilterResult::kNoMatch |
344 | 234 | : ZoneMapFilterResult::kMayMatch; |
345 | 205 | case Op::GE: |
346 | 205 | return zone_map.max_value < literal ? ZoneMapFilterResult::kNoMatch |
347 | 205 | : ZoneMapFilterResult::kMayMatch; |
348 | 2.53k | } |
349 | | |
350 | | // keep this to avoid compile failure with g++. |
351 | 0 | __builtin_unreachable(); |
352 | 2.53k | } |
353 | | |
354 | 30.6k | inline bool can_evaluate(const VExprSPtrs& arguments) { |
355 | 30.6k | auto slot_literal = expr_zonemap::extract_slot_and_literal(arguments); |
356 | 30.6k | if (!slot_literal.has_value()) { |
357 | 19.5k | return false; |
358 | 19.5k | } |
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 | 33.5k | inline std::optional<Op> op_from_name(std::string_view name) { |
441 | 33.5k | if (name == NameEquals::name) { |
442 | 16.8k | return Op::EQ; |
443 | 16.8k | } |
444 | 16.6k | if (name == NameNotEquals::name) { |
445 | 1.66k | return Op::NE; |
446 | 1.66k | } |
447 | 15.0k | if (name == NameLess::name) { |
448 | 3.42k | return Op::LT; |
449 | 3.42k | } |
450 | 11.5k | if (name == NameLessOrEquals::name) { |
451 | 1.84k | return Op::LE; |
452 | 1.84k | } |
453 | 9.75k | if (name == NameGreater::name) { |
454 | 6.23k | return Op::GT; |
455 | 6.23k | } |
456 | 3.60k | if (name == NameGreaterOrEquals::name) { |
457 | 3.60k | return Op::GE; |
458 | 3.60k | } |
459 | 18.4E | return std::nullopt; |
460 | 3.52k | } |
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 | 266k | static FunctionPtr create() { return std::make_shared<FunctionComparison>(); }_ZN5doris18FunctionComparisonINS_8EqualsOpENS_10NameEqualsEE6createEv Line | Count | Source | 467 | 241k | static FunctionPtr create() { return std::make_shared<FunctionComparison>(); } |
_ZN5doris18FunctionComparisonINS_11NotEqualsOpENS_13NameNotEqualsEE6createEv Line | Count | Source | 467 | 1.15k | static FunctionPtr create() { return std::make_shared<FunctionComparison>(); } |
_ZN5doris18FunctionComparisonINS_9GreaterOpENS_11NameGreaterEE6createEv Line | Count | Source | 467 | 4.98k | static FunctionPtr create() { return std::make_shared<FunctionComparison>(); } |
_ZN5doris18FunctionComparisonINS_17GreaterOrEqualsOpENS_19NameGreaterOrEqualsEE6createEv Line | Count | Source | 467 | 7.00k | 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.18k | static FunctionPtr create() { return std::make_shared<FunctionComparison>(); } |
|
468 | | |
469 | 266k | FunctionComparison() = default; _ZN5doris18FunctionComparisonINS_8EqualsOpENS_10NameEqualsEEC2Ev Line | Count | Source | 469 | 241k | FunctionComparison() = default; |
_ZN5doris18FunctionComparisonINS_11NotEqualsOpENS_13NameNotEqualsEEC2Ev Line | Count | Source | 469 | 1.16k | FunctionComparison() = default; |
_ZN5doris18FunctionComparisonINS_9GreaterOpENS_11NameGreaterEEC2Ev Line | Count | Source | 469 | 4.99k | FunctionComparison() = default; |
_ZN5doris18FunctionComparisonINS_17GreaterOrEqualsOpENS_19NameGreaterOrEqualsEEC2Ev Line | Count | Source | 469 | 7.00k | FunctionComparison() = default; |
_ZN5doris18FunctionComparisonINS_6LessOpENS_8NameLessEEC2Ev Line | Count | Source | 469 | 3.01k | FunctionComparison() = default; |
_ZN5doris18FunctionComparisonINS_14LessOrEqualsOpENS_16NameLessOrEqualsEEC2Ev Line | Count | Source | 469 | 9.16k | FunctionComparison() = default; |
|
470 | | |
471 | 648k | double execute_cost() const override { return 0.5; }_ZNK5doris18FunctionComparisonINS_8EqualsOpENS_10NameEqualsEE12execute_costEv Line | Count | Source | 471 | 642k | 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.73k | double execute_cost() const override { return 0.5; } |
_ZNK5doris18FunctionComparisonINS_6LessOpENS_8NameLessEE12execute_costEv Line | Count | Source | 471 | 1.15k | double execute_cost() const override { return 0.5; } |
_ZNK5doris18FunctionComparisonINS_14LessOrEqualsOpENS_16NameLessOrEqualsEE12execute_costEv Line | Count | Source | 471 | 830 | 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 | 104k | const ColumnPtr& col_right_ptr) const { |
477 | 104k | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); |
478 | 104k | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); |
479 | | |
480 | 104k | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); |
481 | 104k | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); |
482 | | |
483 | 104k | DCHECK(!(left_is_const && right_is_const)); |
484 | | |
485 | 104k | if (!left_is_const && !right_is_const) { |
486 | 8.14k | auto col_res = ColumnUInt8::create(); |
487 | | |
488 | 8.14k | ColumnUInt8::Container& vec_res = col_res->get_data(); |
489 | 8.14k | vec_res.resize(col_left->get_data().size()); |
490 | 8.14k | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, |
491 | 8.14k | typename PrimitiveTypeTraits<PT>::CppType, |
492 | 8.14k | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), |
493 | 8.14k | vec_res); |
494 | | |
495 | 8.14k | block.replace_by_position(result, std::move(col_res)); |
496 | 96.2k | } else if (!left_is_const && right_is_const) { |
497 | 29.4k | auto col_res = ColumnUInt8::create(); |
498 | | |
499 | 29.4k | ColumnUInt8::Container& vec_res = col_res->get_data(); |
500 | 29.4k | vec_res.resize(col_left->size()); |
501 | 29.4k | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, |
502 | 29.4k | typename PrimitiveTypeTraits<PT>::CppType, |
503 | 29.4k | Op<PT>>::vector_constant(col_left->get_data(), |
504 | 29.4k | col_right->get_element(0), vec_res); |
505 | | |
506 | 29.4k | block.replace_by_position(result, std::move(col_res)); |
507 | 66.8k | } else if (left_is_const && !right_is_const) { |
508 | 66.8k | auto col_res = ColumnUInt8::create(); |
509 | | |
510 | 66.8k | ColumnUInt8::Container& vec_res = col_res->get_data(); |
511 | 66.8k | vec_res.resize(col_right->size()); |
512 | 66.8k | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, |
513 | 66.8k | typename PrimitiveTypeTraits<PT>::CppType, |
514 | 66.8k | Op<PT>>::constant_vector(col_left->get_element(0), |
515 | 66.8k | col_right->get_data(), vec_res); |
516 | | |
517 | 66.8k | block.replace_by_position(result, std::move(col_res)); |
518 | 66.8k | } |
519 | 104k | return Status::OK(); |
520 | 104k | } _ZNK5doris18FunctionComparisonINS_8EqualsOpENS_10NameEqualsEE16execute_num_typeILNS_13PrimitiveTypeE2EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 476 | 101 | const ColumnPtr& col_right_ptr) const { | 477 | 101 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 478 | 101 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 479 | | | 480 | 101 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 481 | 101 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 482 | | | 483 | 101 | DCHECK(!(left_is_const && right_is_const)); | 484 | | | 485 | 101 | if (!left_is_const && !right_is_const) { | 486 | 76 | auto col_res = ColumnUInt8::create(); | 487 | | | 488 | 76 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 489 | 76 | vec_res.resize(col_left->get_data().size()); | 490 | 76 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 491 | 76 | typename PrimitiveTypeTraits<PT>::CppType, | 492 | 76 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 493 | 76 | vec_res); | 494 | | | 495 | 76 | block.replace_by_position(result, std::move(col_res)); | 496 | 76 | } else if (!left_is_const && right_is_const) { | 497 | 25 | auto col_res = ColumnUInt8::create(); | 498 | | | 499 | 25 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 500 | 25 | vec_res.resize(col_left->size()); | 501 | 25 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 502 | 25 | typename PrimitiveTypeTraits<PT>::CppType, | 503 | 25 | Op<PT>>::vector_constant(col_left->get_data(), | 504 | 25 | col_right->get_element(0), vec_res); | 505 | | | 506 | 25 | block.replace_by_position(result, std::move(col_res)); | 507 | 25 | } 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 | 101 | return Status::OK(); | 520 | 101 | } |
_ZNK5doris18FunctionComparisonINS_8EqualsOpENS_10NameEqualsEE16execute_num_typeILNS_13PrimitiveTypeE25EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 476 | 667 | const ColumnPtr& col_right_ptr) const { | 477 | 667 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 478 | 667 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 479 | | | 480 | 667 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 481 | 667 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 482 | | | 483 | 667 | DCHECK(!(left_is_const && right_is_const)); | 484 | | | 485 | 667 | if (!left_is_const && !right_is_const) { | 486 | 258 | auto col_res = ColumnUInt8::create(); | 487 | | | 488 | 258 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 489 | 258 | vec_res.resize(col_left->get_data().size()); | 490 | 258 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 491 | 258 | typename PrimitiveTypeTraits<PT>::CppType, | 492 | 258 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 493 | 258 | vec_res); | 494 | | | 495 | 258 | block.replace_by_position(result, std::move(col_res)); | 496 | 409 | } else if (!left_is_const && right_is_const) { | 497 | 408 | auto col_res = ColumnUInt8::create(); | 498 | | | 499 | 408 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 500 | 408 | vec_res.resize(col_left->size()); | 501 | 408 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 502 | 408 | typename PrimitiveTypeTraits<PT>::CppType, | 503 | 408 | Op<PT>>::vector_constant(col_left->get_data(), | 504 | 408 | col_right->get_element(0), vec_res); | 505 | | | 506 | 408 | block.replace_by_position(result, std::move(col_res)); | 507 | 408 | } 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 | 667 | return Status::OK(); | 520 | 667 | } |
_ZNK5doris18FunctionComparisonINS_8EqualsOpENS_10NameEqualsEE16execute_num_typeILNS_13PrimitiveTypeE26EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 476 | 463 | const ColumnPtr& col_right_ptr) const { | 477 | 463 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 478 | 463 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 479 | | | 480 | 463 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 481 | 463 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 482 | | | 483 | 463 | DCHECK(!(left_is_const && right_is_const)); | 484 | | | 485 | 463 | if (!left_is_const && !right_is_const) { | 486 | 287 | auto col_res = ColumnUInt8::create(); | 487 | | | 488 | 287 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 489 | 287 | vec_res.resize(col_left->get_data().size()); | 490 | 287 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 491 | 287 | typename PrimitiveTypeTraits<PT>::CppType, | 492 | 287 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 493 | 287 | vec_res); | 494 | | | 495 | 287 | block.replace_by_position(result, std::move(col_res)); | 496 | 287 | } else if (!left_is_const && right_is_const) { | 497 | 176 | auto col_res = ColumnUInt8::create(); | 498 | | | 499 | 176 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 500 | 176 | vec_res.resize(col_left->size()); | 501 | 176 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 502 | 176 | typename PrimitiveTypeTraits<PT>::CppType, | 503 | 176 | Op<PT>>::vector_constant(col_left->get_data(), | 504 | 176 | col_right->get_element(0), vec_res); | 505 | | | 506 | 176 | block.replace_by_position(result, std::move(col_res)); | 507 | 176 | } 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 | 463 | return Status::OK(); | 520 | 463 | } |
_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 | 4.30k | const ColumnPtr& col_right_ptr) const { | 477 | 4.30k | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 478 | 4.30k | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 479 | | | 480 | 4.30k | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 481 | 4.30k | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 482 | | | 483 | 4.30k | DCHECK(!(left_is_const && right_is_const)); | 484 | | | 485 | 4.30k | if (!left_is_const && !right_is_const) { | 486 | 169 | auto col_res = ColumnUInt8::create(); | 487 | | | 488 | 169 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 489 | 169 | vec_res.resize(col_left->get_data().size()); | 490 | 169 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 491 | 169 | typename PrimitiveTypeTraits<PT>::CppType, | 492 | 169 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 493 | 169 | vec_res); | 494 | | | 495 | 169 | block.replace_by_position(result, std::move(col_res)); | 496 | 4.13k | } else if (!left_is_const && right_is_const) { | 497 | 3.63k | auto col_res = ColumnUInt8::create(); | 498 | | | 499 | 3.63k | ColumnUInt8::Container& vec_res = col_res->get_data(); | 500 | 3.63k | vec_res.resize(col_left->size()); | 501 | 3.63k | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 502 | 3.63k | typename PrimitiveTypeTraits<PT>::CppType, | 503 | 3.63k | Op<PT>>::vector_constant(col_left->get_data(), | 504 | 3.63k | col_right->get_element(0), vec_res); | 505 | | | 506 | 3.63k | block.replace_by_position(result, std::move(col_res)); | 507 | 3.63k | } else if (left_is_const && !right_is_const) { | 508 | 498 | auto col_res = ColumnUInt8::create(); | 509 | | | 510 | 498 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 511 | 498 | vec_res.resize(col_right->size()); | 512 | 498 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 513 | 498 | typename PrimitiveTypeTraits<PT>::CppType, | 514 | 498 | Op<PT>>::constant_vector(col_left->get_element(0), | 515 | 498 | col_right->get_data(), vec_res); | 516 | | | 517 | 498 | block.replace_by_position(result, std::move(col_res)); | 518 | 498 | } | 519 | 4.30k | return Status::OK(); | 520 | 4.30k | } |
_ZNK5doris18FunctionComparisonINS_8EqualsOpENS_10NameEqualsEE16execute_num_typeILNS_13PrimitiveTypeE4EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 476 | 400 | const ColumnPtr& col_right_ptr) const { | 477 | 400 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 478 | 400 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 479 | | | 480 | 400 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 481 | 400 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 482 | | | 483 | 400 | DCHECK(!(left_is_const && right_is_const)); | 484 | | | 485 | 400 | if (!left_is_const && !right_is_const) { | 486 | 85 | auto col_res = ColumnUInt8::create(); | 487 | | | 488 | 85 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 489 | 85 | vec_res.resize(col_left->get_data().size()); | 490 | 85 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 491 | 85 | typename PrimitiveTypeTraits<PT>::CppType, | 492 | 85 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 493 | 85 | vec_res); | 494 | | | 495 | 85 | block.replace_by_position(result, std::move(col_res)); | 496 | 315 | } else if (!left_is_const && right_is_const) { | 497 | 284 | auto col_res = ColumnUInt8::create(); | 498 | | | 499 | 284 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 500 | 284 | vec_res.resize(col_left->size()); | 501 | 284 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 502 | 284 | typename PrimitiveTypeTraits<PT>::CppType, | 503 | 284 | Op<PT>>::vector_constant(col_left->get_data(), | 504 | 284 | col_right->get_element(0), vec_res); | 505 | | | 506 | 284 | block.replace_by_position(result, std::move(col_res)); | 507 | 284 | } else if (left_is_const && !right_is_const) { | 508 | 30 | auto col_res = ColumnUInt8::create(); | 509 | | | 510 | 30 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 511 | 30 | vec_res.resize(col_right->size()); | 512 | 30 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 513 | 30 | typename PrimitiveTypeTraits<PT>::CppType, | 514 | 30 | Op<PT>>::constant_vector(col_left->get_element(0), | 515 | 30 | col_right->get_data(), vec_res); | 516 | | | 517 | 30 | block.replace_by_position(result, std::move(col_res)); | 518 | 30 | } | 519 | 400 | return Status::OK(); | 520 | 400 | } |
_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 | 278 | auto col_res = ColumnUInt8::create(); | 487 | | | 488 | 278 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 489 | 278 | vec_res.resize(col_left->get_data().size()); | 490 | 278 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 491 | 278 | typename PrimitiveTypeTraits<PT>::CppType, | 492 | 278 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 493 | 278 | vec_res); | 494 | | | 495 | 278 | block.replace_by_position(result, std::move(col_res)); | 496 | 1.80k | } 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 | 115 | auto col_res = ColumnUInt8::create(); | 509 | | | 510 | 115 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 511 | 115 | vec_res.resize(col_right->size()); | 512 | 115 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 513 | 115 | typename PrimitiveTypeTraits<PT>::CppType, | 514 | 115 | Op<PT>>::constant_vector(col_left->get_element(0), | 515 | 115 | col_right->get_data(), vec_res); | 516 | | | 517 | 115 | block.replace_by_position(result, std::move(col_res)); | 518 | 115 | } | 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.25k | const ColumnPtr& col_right_ptr) const { | 477 | 2.25k | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 478 | 2.25k | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 479 | | | 480 | 2.25k | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 481 | 2.25k | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 482 | | | 483 | 2.25k | DCHECK(!(left_is_const && right_is_const)); | 484 | | | 485 | 2.25k | if (!left_is_const && !right_is_const) { | 486 | 174 | auto col_res = ColumnUInt8::create(); | 487 | | | 488 | 174 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 489 | 174 | vec_res.resize(col_left->get_data().size()); | 490 | 174 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 491 | 174 | typename PrimitiveTypeTraits<PT>::CppType, | 492 | 174 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 493 | 174 | vec_res); | 494 | | | 495 | 174 | block.replace_by_position(result, std::move(col_res)); | 496 | 2.08k | } else if (!left_is_const && right_is_const) { | 497 | 1.62k | auto col_res = ColumnUInt8::create(); | 498 | | | 499 | 1.62k | ColumnUInt8::Container& vec_res = col_res->get_data(); | 500 | 1.62k | vec_res.resize(col_left->size()); | 501 | 1.62k | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 502 | 1.62k | typename PrimitiveTypeTraits<PT>::CppType, | 503 | 1.62k | Op<PT>>::vector_constant(col_left->get_data(), | 504 | 1.62k | col_right->get_element(0), vec_res); | 505 | | | 506 | 1.62k | block.replace_by_position(result, std::move(col_res)); | 507 | 1.62k | } else if (left_is_const && !right_is_const) { | 508 | 456 | auto col_res = ColumnUInt8::create(); | 509 | | | 510 | 456 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 511 | 456 | vec_res.resize(col_right->size()); | 512 | 456 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 513 | 456 | typename PrimitiveTypeTraits<PT>::CppType, | 514 | 456 | Op<PT>>::constant_vector(col_left->get_element(0), | 515 | 456 | col_right->get_data(), vec_res); | 516 | | | 517 | 456 | block.replace_by_position(result, std::move(col_res)); | 518 | 456 | } | 519 | 2.25k | return Status::OK(); | 520 | 2.25k | } |
_ZNK5doris18FunctionComparisonINS_8EqualsOpENS_10NameEqualsEE16execute_num_typeILNS_13PrimitiveTypeE7EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 476 | 123 | const ColumnPtr& col_right_ptr) const { | 477 | 123 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 478 | 123 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 479 | | | 480 | 123 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 481 | 123 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 482 | | | 483 | 123 | DCHECK(!(left_is_const && right_is_const)); | 484 | | | 485 | 123 | 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 | 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 | 8 | auto col_res = ColumnUInt8::create(); | 509 | | | 510 | 8 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 511 | 8 | vec_res.resize(col_right->size()); | 512 | 8 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 513 | 8 | typename PrimitiveTypeTraits<PT>::CppType, | 514 | 8 | Op<PT>>::constant_vector(col_left->get_element(0), | 515 | 8 | col_right->get_data(), vec_res); | 516 | | | 517 | 8 | block.replace_by_position(result, std::move(col_res)); | 518 | 8 | } | 519 | 123 | return Status::OK(); | 520 | 123 | } |
_ZNK5doris18FunctionComparisonINS_8EqualsOpENS_10NameEqualsEE16execute_num_typeILNS_13PrimitiveTypeE36EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 476 | 23 | const ColumnPtr& col_right_ptr) const { | 477 | 23 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 478 | 23 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 479 | | | 480 | 23 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 481 | 23 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 482 | | | 483 | 23 | DCHECK(!(left_is_const && right_is_const)); | 484 | | | 485 | 23 | 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 | 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 | 23 | return Status::OK(); | 520 | 23 | } |
_ZNK5doris18FunctionComparisonINS_8EqualsOpENS_10NameEqualsEE16execute_num_typeILNS_13PrimitiveTypeE37EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 476 | 28 | const ColumnPtr& col_right_ptr) const { | 477 | 28 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 478 | 28 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 479 | | | 480 | 28 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 481 | 28 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 482 | | | 483 | 28 | DCHECK(!(left_is_const && right_is_const)); | 484 | | | 485 | 28 | if (!left_is_const && !right_is_const) { | 486 | 24 | auto col_res = ColumnUInt8::create(); | 487 | | | 488 | 24 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 489 | 24 | vec_res.resize(col_left->get_data().size()); | 490 | 24 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 491 | 24 | typename PrimitiveTypeTraits<PT>::CppType, | 492 | 24 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 493 | 24 | vec_res); | 494 | | | 495 | 24 | block.replace_by_position(result, std::move(col_res)); | 496 | 24 | } 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 | 28 | return Status::OK(); | 520 | 28 | } |
_ZNK5doris18FunctionComparisonINS_8EqualsOpENS_10NameEqualsEE16execute_num_typeILNS_13PrimitiveTypeE8EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 476 | 109 | const ColumnPtr& col_right_ptr) const { | 477 | 109 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 478 | 109 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 479 | | | 480 | 109 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 481 | 109 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 482 | | | 483 | 109 | DCHECK(!(left_is_const && right_is_const)); | 484 | | | 485 | 109 | if (!left_is_const && !right_is_const) { | 486 | 109 | auto col_res = ColumnUInt8::create(); | 487 | | | 488 | 109 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 489 | 109 | vec_res.resize(col_left->get_data().size()); | 490 | 109 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 491 | 109 | typename PrimitiveTypeTraits<PT>::CppType, | 492 | 109 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 493 | 109 | vec_res); | 494 | | | 495 | 109 | block.replace_by_position(result, std::move(col_res)); | 496 | 109 | } 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 | 109 | return Status::OK(); | 520 | 109 | } |
_ZNK5doris18FunctionComparisonINS_8EqualsOpENS_10NameEqualsEE16execute_num_typeILNS_13PrimitiveTypeE9EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 476 | 976 | const ColumnPtr& col_right_ptr) const { | 477 | 976 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 478 | 976 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 479 | | | 480 | 976 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 481 | 976 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 482 | | | 483 | 976 | DCHECK(!(left_is_const && right_is_const)); | 484 | | | 485 | 976 | if (!left_is_const && !right_is_const) { | 486 | 111 | auto col_res = ColumnUInt8::create(); | 487 | | | 488 | 111 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 489 | 111 | vec_res.resize(col_left->get_data().size()); | 490 | 111 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 491 | 111 | typename PrimitiveTypeTraits<PT>::CppType, | 492 | 111 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 493 | 111 | vec_res); | 494 | | | 495 | 111 | block.replace_by_position(result, std::move(col_res)); | 496 | 865 | } else if (!left_is_const && right_is_const) { | 497 | 865 | auto col_res = ColumnUInt8::create(); | 498 | | | 499 | 865 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 500 | 865 | vec_res.resize(col_left->size()); | 501 | 865 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 502 | 865 | typename PrimitiveTypeTraits<PT>::CppType, | 503 | 865 | Op<PT>>::vector_constant(col_left->get_data(), | 504 | 865 | col_right->get_element(0), vec_res); | 505 | | | 506 | 865 | block.replace_by_position(result, std::move(col_res)); | 507 | 865 | } 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 | 976 | return Status::OK(); | 520 | 976 | } |
_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 | 1.23k | const ColumnPtr& col_right_ptr) const { | 477 | 1.23k | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 478 | 1.23k | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 479 | | | 480 | 1.23k | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 481 | 1.23k | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 482 | | | 483 | 1.23k | DCHECK(!(left_is_const && right_is_const)); | 484 | | | 485 | 1.23k | if (!left_is_const && !right_is_const) { | 486 | 974 | auto col_res = ColumnUInt8::create(); | 487 | | | 488 | 974 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 489 | 974 | vec_res.resize(col_left->get_data().size()); | 490 | 974 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 491 | 974 | typename PrimitiveTypeTraits<PT>::CppType, | 492 | 974 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 493 | 974 | vec_res); | 494 | | | 495 | 974 | block.replace_by_position(result, std::move(col_res)); | 496 | 974 | } else if (!left_is_const && right_is_const) { | 497 | 258 | auto col_res = ColumnUInt8::create(); | 498 | | | 499 | 258 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 500 | 258 | vec_res.resize(col_left->size()); | 501 | 258 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 502 | 258 | typename PrimitiveTypeTraits<PT>::CppType, | 503 | 258 | Op<PT>>::vector_constant(col_left->get_data(), | 504 | 258 | col_right->get_element(0), vec_res); | 505 | | | 506 | 258 | block.replace_by_position(result, std::move(col_res)); | 507 | 258 | } 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.23k | return Status::OK(); | 520 | 1.23k | } |
_ZNK5doris18FunctionComparisonINS_11NotEqualsOpENS_13NameNotEqualsEE16execute_num_typeILNS_13PrimitiveTypeE6EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 476 | 1.10k | const ColumnPtr& col_right_ptr) const { | 477 | 1.10k | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 478 | 1.10k | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 479 | | | 480 | 1.10k | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 481 | 1.10k | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 482 | | | 483 | 1.10k | DCHECK(!(left_is_const && right_is_const)); | 484 | | | 485 | 1.10k | if (!left_is_const && !right_is_const) { | 486 | 317 | auto col_res = ColumnUInt8::create(); | 487 | | | 488 | 317 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 489 | 317 | vec_res.resize(col_left->get_data().size()); | 490 | 317 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 491 | 317 | typename PrimitiveTypeTraits<PT>::CppType, | 492 | 317 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 493 | 317 | vec_res); | 494 | | | 495 | 317 | block.replace_by_position(result, std::move(col_res)); | 496 | 792 | } else if (!left_is_const && right_is_const) { | 497 | 30 | auto col_res = ColumnUInt8::create(); | 498 | | | 499 | 30 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 500 | 30 | vec_res.resize(col_left->size()); | 501 | 30 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 502 | 30 | typename PrimitiveTypeTraits<PT>::CppType, | 503 | 30 | Op<PT>>::vector_constant(col_left->get_data(), | 504 | 30 | col_right->get_element(0), vec_res); | 505 | | | 506 | 30 | block.replace_by_position(result, std::move(col_res)); | 507 | 762 | } else if (left_is_const && !right_is_const) { | 508 | 762 | auto col_res = ColumnUInt8::create(); | 509 | | | 510 | 762 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 511 | 762 | vec_res.resize(col_right->size()); | 512 | 762 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 513 | 762 | typename PrimitiveTypeTraits<PT>::CppType, | 514 | 762 | Op<PT>>::constant_vector(col_left->get_element(0), | 515 | 762 | col_right->get_data(), vec_res); | 516 | | | 517 | 762 | block.replace_by_position(result, std::move(col_res)); | 518 | 762 | } | 519 | 1.10k | return Status::OK(); | 520 | 1.10k | } |
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.09k | const ColumnPtr& col_right_ptr) const { | 477 | 1.09k | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 478 | 1.09k | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 479 | | | 480 | 1.09k | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 481 | 1.09k | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 482 | | | 483 | 1.09k | DCHECK(!(left_is_const && right_is_const)); | 484 | | | 485 | 1.09k | if (!left_is_const && !right_is_const) { | 486 | 1.05k | auto col_res = ColumnUInt8::create(); | 487 | | | 488 | 1.05k | ColumnUInt8::Container& vec_res = col_res->get_data(); | 489 | 1.05k | vec_res.resize(col_left->get_data().size()); | 490 | 1.05k | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 491 | 1.05k | typename PrimitiveTypeTraits<PT>::CppType, | 492 | 1.05k | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 493 | 1.05k | vec_res); | 494 | | | 495 | 1.05k | block.replace_by_position(result, std::move(col_res)); | 496 | 1.05k | } 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.09k | return Status::OK(); | 520 | 1.09k | } |
_ZNK5doris18FunctionComparisonINS_9GreaterOpENS_11NameGreaterEE16execute_num_typeILNS_13PrimitiveTypeE26EEENS_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 | 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 | 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 | 1 | return Status::OK(); | 520 | 1 | } |
_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 | 921 | const ColumnPtr& col_right_ptr) const { | 477 | 921 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 478 | 921 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 479 | | | 480 | 921 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 481 | 921 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 482 | | | 483 | 921 | DCHECK(!(left_is_const && right_is_const)); | 484 | | | 485 | 921 | if (!left_is_const && !right_is_const) { | 486 | 38 | auto col_res = ColumnUInt8::create(); | 487 | | | 488 | 38 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 489 | 38 | vec_res.resize(col_left->get_data().size()); | 490 | 38 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 491 | 38 | typename PrimitiveTypeTraits<PT>::CppType, | 492 | 38 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 493 | 38 | vec_res); | 494 | | | 495 | 38 | block.replace_by_position(result, std::move(col_res)); | 496 | 883 | } else if (!left_is_const && right_is_const) { | 497 | 610 | auto col_res = ColumnUInt8::create(); | 498 | | | 499 | 610 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 500 | 610 | vec_res.resize(col_left->size()); | 501 | 610 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 502 | 610 | typename PrimitiveTypeTraits<PT>::CppType, | 503 | 610 | Op<PT>>::vector_constant(col_left->get_data(), | 504 | 610 | col_right->get_element(0), vec_res); | 505 | | | 506 | 610 | block.replace_by_position(result, std::move(col_res)); | 507 | 610 | } else if (left_is_const && !right_is_const) { | 508 | 273 | auto col_res = ColumnUInt8::create(); | 509 | | | 510 | 273 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 511 | 273 | vec_res.resize(col_right->size()); | 512 | 273 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 513 | 273 | typename PrimitiveTypeTraits<PT>::CppType, | 514 | 273 | Op<PT>>::constant_vector(col_left->get_element(0), | 515 | 273 | col_right->get_data(), vec_res); | 516 | | | 517 | 273 | block.replace_by_position(result, std::move(col_res)); | 518 | 273 | } | 519 | 921 | return Status::OK(); | 520 | 921 | } |
_ZNK5doris18FunctionComparisonINS_9GreaterOpENS_11NameGreaterEE16execute_num_typeILNS_13PrimitiveTypeE4EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 476 | 1.42k | const ColumnPtr& col_right_ptr) const { | 477 | 1.42k | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 478 | 1.42k | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 479 | | | 480 | 1.42k | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 481 | 1.42k | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 482 | | | 483 | 1.42k | DCHECK(!(left_is_const && right_is_const)); | 484 | | | 485 | 1.42k | 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.30k | } else if (!left_is_const && right_is_const) { | 497 | 919 | auto col_res = ColumnUInt8::create(); | 498 | | | 499 | 919 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 500 | 919 | vec_res.resize(col_left->size()); | 501 | 919 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 502 | 919 | typename PrimitiveTypeTraits<PT>::CppType, | 503 | 919 | Op<PT>>::vector_constant(col_left->get_data(), | 504 | 919 | col_right->get_element(0), vec_res); | 505 | | | 506 | 919 | block.replace_by_position(result, std::move(col_res)); | 507 | 919 | } else if (left_is_const && !right_is_const) { | 508 | 389 | auto col_res = ColumnUInt8::create(); | 509 | | | 510 | 389 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 511 | 389 | vec_res.resize(col_right->size()); | 512 | 389 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 513 | 389 | typename PrimitiveTypeTraits<PT>::CppType, | 514 | 389 | Op<PT>>::constant_vector(col_left->get_element(0), | 515 | 389 | col_right->get_data(), vec_res); | 516 | | | 517 | 389 | block.replace_by_position(result, std::move(col_res)); | 518 | 389 | } | 519 | 1.42k | return Status::OK(); | 520 | 1.42k | } |
_ZNK5doris18FunctionComparisonINS_9GreaterOpENS_11NameGreaterEE16execute_num_typeILNS_13PrimitiveTypeE5EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 476 | 67.1k | const ColumnPtr& col_right_ptr) const { | 477 | 67.1k | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 478 | 67.1k | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 479 | | | 480 | 67.1k | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 481 | 67.1k | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 482 | | | 483 | 67.1k | DCHECK(!(left_is_const && right_is_const)); | 484 | | | 485 | 67.1k | if (!left_is_const && !right_is_const) { | 486 | 32 | auto col_res = ColumnUInt8::create(); | 487 | | | 488 | 32 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 489 | 32 | vec_res.resize(col_left->get_data().size()); | 490 | 32 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 491 | 32 | typename PrimitiveTypeTraits<PT>::CppType, | 492 | 32 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 493 | 32 | vec_res); | 494 | | | 495 | 32 | block.replace_by_position(result, std::move(col_res)); | 496 | 67.1k | } else if (!left_is_const && right_is_const) { | 497 | 4.60k | auto col_res = ColumnUInt8::create(); | 498 | | | 499 | 4.60k | ColumnUInt8::Container& vec_res = col_res->get_data(); | 500 | 4.60k | vec_res.resize(col_left->size()); | 501 | 4.60k | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 502 | 4.60k | typename PrimitiveTypeTraits<PT>::CppType, | 503 | 4.60k | Op<PT>>::vector_constant(col_left->get_data(), | 504 | 4.60k | col_right->get_element(0), vec_res); | 505 | | | 506 | 4.60k | block.replace_by_position(result, std::move(col_res)); | 507 | 62.5k | } else if (left_is_const && !right_is_const) { | 508 | 62.5k | auto col_res = ColumnUInt8::create(); | 509 | | | 510 | 62.5k | ColumnUInt8::Container& vec_res = col_res->get_data(); | 511 | 62.5k | vec_res.resize(col_right->size()); | 512 | 62.5k | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 513 | 62.5k | typename PrimitiveTypeTraits<PT>::CppType, | 514 | 62.5k | Op<PT>>::constant_vector(col_left->get_element(0), | 515 | 62.5k | col_right->get_data(), vec_res); | 516 | | | 517 | 62.5k | block.replace_by_position(result, std::move(col_res)); | 518 | 62.5k | } | 519 | 67.1k | return Status::OK(); | 520 | 67.1k | } |
_ZNK5doris18FunctionComparisonINS_9GreaterOpENS_11NameGreaterEE16execute_num_typeILNS_13PrimitiveTypeE6EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 476 | 1.94k | const ColumnPtr& col_right_ptr) const { | 477 | 1.94k | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 478 | 1.94k | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 479 | | | 480 | 1.94k | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 481 | 1.94k | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 482 | | | 483 | 1.94k | DCHECK(!(left_is_const && right_is_const)); | 484 | | | 485 | 1.94k | if (!left_is_const && !right_is_const) { | 486 | 57 | auto col_res = ColumnUInt8::create(); | 487 | | | 488 | 57 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 489 | 57 | vec_res.resize(col_left->get_data().size()); | 490 | 57 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 491 | 57 | typename PrimitiveTypeTraits<PT>::CppType, | 492 | 57 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 493 | 57 | vec_res); | 494 | | | 495 | 57 | block.replace_by_position(result, std::move(col_res)); | 496 | 1.88k | } else if (!left_is_const && right_is_const) { | 497 | 1.35k | auto col_res = ColumnUInt8::create(); | 498 | | | 499 | 1.35k | ColumnUInt8::Container& vec_res = col_res->get_data(); | 500 | 1.35k | vec_res.resize(col_left->size()); | 501 | 1.35k | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 502 | 1.35k | typename PrimitiveTypeTraits<PT>::CppType, | 503 | 1.35k | Op<PT>>::vector_constant(col_left->get_data(), | 504 | 1.35k | col_right->get_element(0), vec_res); | 505 | | | 506 | 1.35k | block.replace_by_position(result, std::move(col_res)); | 507 | 1.35k | } else if (left_is_const && !right_is_const) { | 508 | 529 | auto col_res = ColumnUInt8::create(); | 509 | | | 510 | 529 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 511 | 529 | vec_res.resize(col_right->size()); | 512 | 529 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 513 | 529 | typename PrimitiveTypeTraits<PT>::CppType, | 514 | 529 | Op<PT>>::constant_vector(col_left->get_element(0), | 515 | 529 | col_right->get_data(), vec_res); | 516 | | | 517 | 529 | block.replace_by_position(result, std::move(col_res)); | 518 | 529 | } | 519 | 1.94k | return Status::OK(); | 520 | 1.94k | } |
_ZNK5doris18FunctionComparisonINS_9GreaterOpENS_11NameGreaterEE16execute_num_typeILNS_13PrimitiveTypeE7EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 476 | 233 | const ColumnPtr& col_right_ptr) const { | 477 | 233 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 478 | 233 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 479 | | | 480 | 233 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 481 | 233 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 482 | | | 483 | 233 | DCHECK(!(left_is_const && right_is_const)); | 484 | | | 485 | 233 | 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 | 231 | } 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 | 30 | auto col_res = ColumnUInt8::create(); | 509 | | | 510 | 30 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 511 | 30 | vec_res.resize(col_right->size()); | 512 | 30 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 513 | 30 | typename PrimitiveTypeTraits<PT>::CppType, | 514 | 30 | Op<PT>>::constant_vector(col_left->get_element(0), | 515 | 30 | col_right->get_data(), vec_res); | 516 | | | 517 | 30 | block.replace_by_position(result, std::move(col_res)); | 518 | 30 | } | 519 | 233 | return Status::OK(); | 520 | 233 | } |
_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 | 19 | auto col_res = ColumnUInt8::create(); | 487 | | | 488 | 19 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 489 | 19 | vec_res.resize(col_left->get_data().size()); | 490 | 19 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 491 | 19 | typename PrimitiveTypeTraits<PT>::CppType, | 492 | 19 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 493 | 19 | vec_res); | 494 | | | 495 | 19 | block.replace_by_position(result, std::move(col_res)); | 496 | 201 | } 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 | 541 | const ColumnPtr& col_right_ptr) const { | 477 | 541 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 478 | 541 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 479 | | | 480 | 541 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 481 | 541 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 482 | | | 483 | 541 | DCHECK(!(left_is_const && right_is_const)); | 484 | | | 485 | 541 | if (!left_is_const && !right_is_const) { | 486 | 32 | auto col_res = ColumnUInt8::create(); | 487 | | | 488 | 32 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 489 | 32 | vec_res.resize(col_left->get_data().size()); | 490 | 32 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 491 | 32 | typename PrimitiveTypeTraits<PT>::CppType, | 492 | 32 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 493 | 32 | vec_res); | 494 | | | 495 | 32 | block.replace_by_position(result, std::move(col_res)); | 496 | 509 | } else if (!left_is_const && right_is_const) { | 497 | 509 | auto col_res = ColumnUInt8::create(); | 498 | | | 499 | 509 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 500 | 509 | vec_res.resize(col_left->size()); | 501 | 509 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 502 | 509 | typename PrimitiveTypeTraits<PT>::CppType, | 503 | 509 | Op<PT>>::vector_constant(col_left->get_data(), | 504 | 509 | col_right->get_element(0), vec_res); | 505 | | | 506 | 509 | block.replace_by_position(result, std::move(col_res)); | 507 | 509 | } 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 | 541 | return Status::OK(); | 520 | 541 | } |
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 | 23 | const ColumnPtr& col_right_ptr) const { | 477 | 23 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 478 | 23 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 479 | | | 480 | 23 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 481 | 23 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 482 | | | 483 | 23 | DCHECK(!(left_is_const && right_is_const)); | 484 | | | 485 | 23 | 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 | 23 | } else if (!left_is_const && right_is_const) { | 497 | 23 | auto col_res = ColumnUInt8::create(); | 498 | | | 499 | 23 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 500 | 23 | vec_res.resize(col_left->size()); | 501 | 23 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 502 | 23 | typename PrimitiveTypeTraits<PT>::CppType, | 503 | 23 | Op<PT>>::vector_constant(col_left->get_data(), | 504 | 23 | col_right->get_element(0), vec_res); | 505 | | | 506 | 23 | block.replace_by_position(result, std::move(col_res)); | 507 | 23 | } 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 | 23 | return Status::OK(); | 520 | 23 | } |
_ZNK5doris18FunctionComparisonINS_17GreaterOrEqualsOpENS_19NameGreaterOrEqualsEE16execute_num_typeILNS_13PrimitiveTypeE25EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 476 | 448 | const ColumnPtr& col_right_ptr) const { | 477 | 448 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 478 | 448 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 479 | | | 480 | 448 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 481 | 448 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 482 | | | 483 | 448 | DCHECK(!(left_is_const && right_is_const)); | 484 | | | 485 | 448 | 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 | 447 | } else if (!left_is_const && right_is_const) { | 497 | 441 | auto col_res = ColumnUInt8::create(); | 498 | | | 499 | 441 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 500 | 441 | vec_res.resize(col_left->size()); | 501 | 441 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 502 | 441 | typename PrimitiveTypeTraits<PT>::CppType, | 503 | 441 | Op<PT>>::vector_constant(col_left->get_data(), | 504 | 441 | col_right->get_element(0), vec_res); | 505 | | | 506 | 441 | block.replace_by_position(result, std::move(col_res)); | 507 | 441 | } 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 | 448 | return Status::OK(); | 520 | 448 | } |
_ZNK5doris18FunctionComparisonINS_17GreaterOrEqualsOpENS_19NameGreaterOrEqualsEE16execute_num_typeILNS_13PrimitiveTypeE26EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 476 | 146 | const ColumnPtr& col_right_ptr) const { | 477 | 146 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 478 | 146 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 479 | | | 480 | 146 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 481 | 146 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 482 | | | 483 | 146 | DCHECK(!(left_is_const && right_is_const)); | 484 | | | 485 | 146 | 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 | 140 | } else if (!left_is_const && right_is_const) { | 497 | 140 | auto col_res = ColumnUInt8::create(); | 498 | | | 499 | 140 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 500 | 140 | vec_res.resize(col_left->size()); | 501 | 140 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 502 | 140 | typename PrimitiveTypeTraits<PT>::CppType, | 503 | 140 | Op<PT>>::vector_constant(col_left->get_data(), | 504 | 140 | col_right->get_element(0), vec_res); | 505 | | | 506 | 140 | block.replace_by_position(result, std::move(col_res)); | 507 | 140 | } 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 | 146 | return Status::OK(); | 520 | 146 | } |
_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 | 72 | const ColumnPtr& col_right_ptr) const { | 477 | 72 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 478 | 72 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 479 | | | 480 | 72 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 481 | 72 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 482 | | | 483 | 72 | DCHECK(!(left_is_const && right_is_const)); | 484 | | | 485 | 72 | 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 | 72 | } else if (!left_is_const && right_is_const) { | 497 | 72 | auto col_res = ColumnUInt8::create(); | 498 | | | 499 | 72 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 500 | 72 | vec_res.resize(col_left->size()); | 501 | 72 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 502 | 72 | typename PrimitiveTypeTraits<PT>::CppType, | 503 | 72 | Op<PT>>::vector_constant(col_left->get_data(), | 504 | 72 | col_right->get_element(0), vec_res); | 505 | | | 506 | 72 | block.replace_by_position(result, std::move(col_res)); | 507 | 72 | } 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 | 72 | return Status::OK(); | 520 | 72 | } |
_ZNK5doris18FunctionComparisonINS_17GreaterOrEqualsOpENS_19NameGreaterOrEqualsEE16execute_num_typeILNS_13PrimitiveTypeE4EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 476 | 70 | const ColumnPtr& col_right_ptr) const { | 477 | 70 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 478 | 70 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 479 | | | 480 | 70 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 481 | 70 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 482 | | | 483 | 70 | DCHECK(!(left_is_const && right_is_const)); | 484 | | | 485 | 70 | 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 | 70 | } else if (!left_is_const && right_is_const) { | 497 | 70 | auto col_res = ColumnUInt8::create(); | 498 | | | 499 | 70 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 500 | 70 | vec_res.resize(col_left->size()); | 501 | 70 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 502 | 70 | typename PrimitiveTypeTraits<PT>::CppType, | 503 | 70 | Op<PT>>::vector_constant(col_left->get_data(), | 504 | 70 | col_right->get_element(0), vec_res); | 505 | | | 506 | 70 | block.replace_by_position(result, std::move(col_res)); | 507 | 70 | } 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 | 70 | return Status::OK(); | 520 | 70 | } |
_ZNK5doris18FunctionComparisonINS_17GreaterOrEqualsOpENS_19NameGreaterOrEqualsEE16execute_num_typeILNS_13PrimitiveTypeE5EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 476 | 842 | const ColumnPtr& col_right_ptr) const { | 477 | 842 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 478 | 842 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 479 | | | 480 | 842 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 481 | 842 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 482 | | | 483 | 842 | DCHECK(!(left_is_const && right_is_const)); | 484 | | | 485 | 842 | 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 | 839 | } else if (!left_is_const && right_is_const) { | 497 | 839 | auto col_res = ColumnUInt8::create(); | 498 | | | 499 | 839 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 500 | 839 | vec_res.resize(col_left->size()); | 501 | 839 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 502 | 839 | typename PrimitiveTypeTraits<PT>::CppType, | 503 | 839 | Op<PT>>::vector_constant(col_left->get_data(), | 504 | 839 | col_right->get_element(0), vec_res); | 505 | | | 506 | 839 | block.replace_by_position(result, std::move(col_res)); | 507 | 839 | } 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 | 842 | return Status::OK(); | 520 | 842 | } |
_ZNK5doris18FunctionComparisonINS_17GreaterOrEqualsOpENS_19NameGreaterOrEqualsEE16execute_num_typeILNS_13PrimitiveTypeE6EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 476 | 187 | const ColumnPtr& col_right_ptr) const { | 477 | 187 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 478 | 187 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 479 | | | 480 | 187 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 481 | 187 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 482 | | | 483 | 187 | DCHECK(!(left_is_const && right_is_const)); | 484 | | | 485 | 187 | if (!left_is_const && !right_is_const) { | 486 | 8 | auto col_res = ColumnUInt8::create(); | 487 | | | 488 | 8 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 489 | 8 | vec_res.resize(col_left->get_data().size()); | 490 | 8 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 491 | 8 | typename PrimitiveTypeTraits<PT>::CppType, | 492 | 8 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 493 | 8 | vec_res); | 494 | | | 495 | 8 | block.replace_by_position(result, std::move(col_res)); | 496 | 179 | } else if (!left_is_const && right_is_const) { | 497 | 179 | auto col_res = ColumnUInt8::create(); | 498 | | | 499 | 179 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 500 | 179 | vec_res.resize(col_left->size()); | 501 | 179 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 502 | 179 | typename PrimitiveTypeTraits<PT>::CppType, | 503 | 179 | Op<PT>>::vector_constant(col_left->get_data(), | 504 | 179 | col_right->get_element(0), vec_res); | 505 | | | 506 | 179 | block.replace_by_position(result, std::move(col_res)); | 507 | 179 | } 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 | 187 | return Status::OK(); | 520 | 187 | } |
_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 | 138 | const ColumnPtr& col_right_ptr) const { | 477 | 138 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 478 | 138 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 479 | | | 480 | 138 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 481 | 138 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 482 | | | 483 | 138 | DCHECK(!(left_is_const && right_is_const)); | 484 | | | 485 | 138 | if (!left_is_const && !right_is_const) { | 486 | 24 | auto col_res = ColumnUInt8::create(); | 487 | | | 488 | 24 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 489 | 24 | vec_res.resize(col_left->get_data().size()); | 490 | 24 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 491 | 24 | typename PrimitiveTypeTraits<PT>::CppType, | 492 | 24 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 493 | 24 | vec_res); | 494 | | | 495 | 24 | block.replace_by_position(result, std::move(col_res)); | 496 | 114 | } else if (!left_is_const && right_is_const) { | 497 | 114 | auto col_res = ColumnUInt8::create(); | 498 | | | 499 | 114 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 500 | 114 | vec_res.resize(col_left->size()); | 501 | 114 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 502 | 114 | typename PrimitiveTypeTraits<PT>::CppType, | 503 | 114 | Op<PT>>::vector_constant(col_left->get_data(), | 504 | 114 | col_right->get_element(0), vec_res); | 505 | | | 506 | 114 | block.replace_by_position(result, std::move(col_res)); | 507 | 114 | } 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 | 138 | return Status::OK(); | 520 | 138 | } |
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 | 100 | const ColumnPtr& col_right_ptr) const { | 477 | 100 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 478 | 100 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 479 | | | 480 | 100 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 481 | 100 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 482 | | | 483 | 100 | DCHECK(!(left_is_const && right_is_const)); | 484 | | | 485 | 101 | if (!left_is_const && !right_is_const) { | 486 | 101 | auto col_res = ColumnUInt8::create(); | 487 | | | 488 | 101 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 489 | 101 | vec_res.resize(col_left->get_data().size()); | 490 | 101 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 491 | 101 | typename PrimitiveTypeTraits<PT>::CppType, | 492 | 101 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 493 | 101 | vec_res); | 494 | | | 495 | 101 | block.replace_by_position(result, std::move(col_res)); | 496 | 18.4E | } 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 | 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 | 100 | return Status::OK(); | 520 | 100 | } |
_ZNK5doris18FunctionComparisonINS_6LessOpENS_8NameLessEE16execute_num_typeILNS_13PrimitiveTypeE25EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 476 | 1.99k | const ColumnPtr& col_right_ptr) const { | 477 | 1.99k | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 478 | 1.99k | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 479 | | | 480 | 1.99k | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 481 | 1.99k | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 482 | | | 483 | 1.99k | DCHECK(!(left_is_const && right_is_const)); | 484 | | | 485 | 1.99k | if (!left_is_const && !right_is_const) { | 486 | 1.63k | auto col_res = ColumnUInt8::create(); | 487 | | | 488 | 1.63k | ColumnUInt8::Container& vec_res = col_res->get_data(); | 489 | 1.63k | vec_res.resize(col_left->get_data().size()); | 490 | 1.63k | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 491 | 1.63k | typename PrimitiveTypeTraits<PT>::CppType, | 492 | 1.63k | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 493 | 1.63k | vec_res); | 494 | | | 495 | 1.63k | block.replace_by_position(result, std::move(col_res)); | 496 | 1.63k | } else if (!left_is_const && right_is_const) { | 497 | 355 | auto col_res = ColumnUInt8::create(); | 498 | | | 499 | 355 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 500 | 355 | vec_res.resize(col_left->size()); | 501 | 355 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 502 | 355 | typename PrimitiveTypeTraits<PT>::CppType, | 503 | 355 | Op<PT>>::vector_constant(col_left->get_data(), | 504 | 355 | col_right->get_element(0), vec_res); | 505 | | | 506 | 355 | block.replace_by_position(result, std::move(col_res)); | 507 | 355 | } 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.99k | return Status::OK(); | 520 | 1.99k | } |
_ZNK5doris18FunctionComparisonINS_6LessOpENS_8NameLessEE16execute_num_typeILNS_13PrimitiveTypeE26EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 476 | 326 | const ColumnPtr& col_right_ptr) const { | 477 | 326 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 478 | 326 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 479 | | | 480 | 326 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 481 | 326 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 482 | | | 483 | 326 | DCHECK(!(left_is_const && right_is_const)); | 484 | | | 485 | 326 | if (!left_is_const && !right_is_const) { | 486 | 267 | auto col_res = ColumnUInt8::create(); | 487 | | | 488 | 267 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 489 | 267 | vec_res.resize(col_left->get_data().size()); | 490 | 267 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 491 | 267 | typename PrimitiveTypeTraits<PT>::CppType, | 492 | 267 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 493 | 267 | vec_res); | 494 | | | 495 | 267 | block.replace_by_position(result, std::move(col_res)); | 496 | 267 | } 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 | 326 | return Status::OK(); | 520 | 326 | } |
_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 | 1.49k | const ColumnPtr& col_right_ptr) const { | 477 | 1.49k | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 478 | 1.49k | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 479 | | | 480 | 1.49k | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 481 | 1.49k | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 482 | | | 483 | 1.49k | DCHECK(!(left_is_const && right_is_const)); | 484 | | | 485 | 1.49k | 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 | 1.35k | } else if (!left_is_const && right_is_const) { | 497 | 882 | auto col_res = ColumnUInt8::create(); | 498 | | | 499 | 882 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 500 | 882 | vec_res.resize(col_left->size()); | 501 | 882 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 502 | 882 | typename PrimitiveTypeTraits<PT>::CppType, | 503 | 882 | Op<PT>>::vector_constant(col_left->get_data(), | 504 | 882 | col_right->get_element(0), vec_res); | 505 | | | 506 | 882 | block.replace_by_position(result, std::move(col_res)); | 507 | 882 | } else if (left_is_const && !right_is_const) { | 508 | 468 | auto col_res = ColumnUInt8::create(); | 509 | | | 510 | 468 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 511 | 468 | vec_res.resize(col_right->size()); | 512 | 468 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 513 | 468 | typename PrimitiveTypeTraits<PT>::CppType, | 514 | 468 | Op<PT>>::constant_vector(col_left->get_element(0), | 515 | 468 | col_right->get_data(), vec_res); | 516 | | | 517 | 468 | block.replace_by_position(result, std::move(col_res)); | 518 | 468 | } | 519 | 1.49k | return Status::OK(); | 520 | 1.49k | } |
_ZNK5doris18FunctionComparisonINS_6LessOpENS_8NameLessEE16execute_num_typeILNS_13PrimitiveTypeE4EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 476 | 137 | const ColumnPtr& col_right_ptr) const { | 477 | 137 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 478 | 137 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 479 | | | 480 | 137 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 481 | 137 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 482 | | | 483 | 137 | DCHECK(!(left_is_const && right_is_const)); | 484 | | | 485 | 137 | if (!left_is_const && !right_is_const) { | 486 | 123 | auto col_res = ColumnUInt8::create(); | 487 | | | 488 | 123 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 489 | 123 | vec_res.resize(col_left->get_data().size()); | 490 | 123 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 491 | 123 | typename PrimitiveTypeTraits<PT>::CppType, | 492 | 123 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 493 | 123 | vec_res); | 494 | | | 495 | 123 | block.replace_by_position(result, std::move(col_res)); | 496 | 123 | } 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 | 137 | return Status::OK(); | 520 | 137 | } |
_ZNK5doris18FunctionComparisonINS_6LessOpENS_8NameLessEE16execute_num_typeILNS_13PrimitiveTypeE5EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 476 | 1.20k | const ColumnPtr& col_right_ptr) const { | 477 | 1.20k | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 478 | 1.20k | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 479 | | | 480 | 1.20k | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 481 | 1.20k | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 482 | | | 483 | 1.20k | DCHECK(!(left_is_const && right_is_const)); | 484 | | | 485 | 1.20k | if (!left_is_const && !right_is_const) { | 486 | 181 | auto col_res = ColumnUInt8::create(); | 487 | | | 488 | 181 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 489 | 181 | vec_res.resize(col_left->get_data().size()); | 490 | 181 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 491 | 181 | typename PrimitiveTypeTraits<PT>::CppType, | 492 | 181 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 493 | 181 | vec_res); | 494 | | | 495 | 181 | block.replace_by_position(result, std::move(col_res)); | 496 | 1.02k | } else if (!left_is_const && right_is_const) { | 497 | 835 | auto col_res = ColumnUInt8::create(); | 498 | | | 499 | 835 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 500 | 835 | vec_res.resize(col_left->size()); | 501 | 835 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 502 | 835 | typename PrimitiveTypeTraits<PT>::CppType, | 503 | 835 | Op<PT>>::vector_constant(col_left->get_data(), | 504 | 835 | col_right->get_element(0), vec_res); | 505 | | | 506 | 835 | block.replace_by_position(result, std::move(col_res)); | 507 | 835 | } else if (left_is_const && !right_is_const) { | 508 | 191 | auto col_res = ColumnUInt8::create(); | 509 | | | 510 | 191 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 511 | 191 | vec_res.resize(col_right->size()); | 512 | 191 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 513 | 191 | typename PrimitiveTypeTraits<PT>::CppType, | 514 | 191 | Op<PT>>::constant_vector(col_left->get_element(0), | 515 | 191 | col_right->get_data(), vec_res); | 516 | | | 517 | 191 | block.replace_by_position(result, std::move(col_res)); | 518 | 191 | } | 519 | 1.20k | return Status::OK(); | 520 | 1.20k | } |
_ZNK5doris18FunctionComparisonINS_6LessOpENS_8NameLessEE16execute_num_typeILNS_13PrimitiveTypeE6EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 476 | 773 | const ColumnPtr& col_right_ptr) const { | 477 | 773 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 478 | 773 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 479 | | | 480 | 773 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 481 | 773 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 482 | | | 483 | 773 | DCHECK(!(left_is_const && right_is_const)); | 484 | | | 485 | 773 | if (!left_is_const && !right_is_const) { | 486 | 215 | auto col_res = ColumnUInt8::create(); | 487 | | | 488 | 215 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 489 | 215 | vec_res.resize(col_left->get_data().size()); | 490 | 215 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 491 | 215 | typename PrimitiveTypeTraits<PT>::CppType, | 492 | 215 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 493 | 215 | vec_res); | 494 | | | 495 | 215 | block.replace_by_position(result, std::move(col_res)); | 496 | 558 | } else if (!left_is_const && right_is_const) { | 497 | 500 | auto col_res = ColumnUInt8::create(); | 498 | | | 499 | 500 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 500 | 500 | vec_res.resize(col_left->size()); | 501 | 500 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 502 | 500 | typename PrimitiveTypeTraits<PT>::CppType, | 503 | 500 | Op<PT>>::vector_constant(col_left->get_data(), | 504 | 500 | col_right->get_element(0), vec_res); | 505 | | | 506 | 500 | block.replace_by_position(result, std::move(col_res)); | 507 | 500 | } 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 | 773 | return Status::OK(); | 520 | 773 | } |
_ZNK5doris18FunctionComparisonINS_6LessOpENS_8NameLessEE16execute_num_typeILNS_13PrimitiveTypeE7EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 476 | 298 | const ColumnPtr& col_right_ptr) const { | 477 | 298 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 478 | 298 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 479 | | | 480 | 298 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 481 | 298 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 482 | | | 483 | 298 | DCHECK(!(left_is_const && right_is_const)); | 484 | | | 485 | 298 | if (!left_is_const && !right_is_const) { | 486 | 146 | auto col_res = ColumnUInt8::create(); | 487 | | | 488 | 146 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 489 | 146 | vec_res.resize(col_left->get_data().size()); | 490 | 146 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 491 | 146 | typename PrimitiveTypeTraits<PT>::CppType, | 492 | 146 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 493 | 146 | vec_res); | 494 | | | 495 | 146 | block.replace_by_position(result, std::move(col_res)); | 496 | 152 | } else if (!left_is_const && right_is_const) { | 497 | 60 | auto col_res = ColumnUInt8::create(); | 498 | | | 499 | 60 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 500 | 60 | vec_res.resize(col_left->size()); | 501 | 60 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 502 | 60 | typename PrimitiveTypeTraits<PT>::CppType, | 503 | 60 | Op<PT>>::vector_constant(col_left->get_data(), | 504 | 60 | col_right->get_element(0), vec_res); | 505 | | | 506 | 60 | block.replace_by_position(result, std::move(col_res)); | 507 | 92 | } else if (left_is_const && !right_is_const) { | 508 | 92 | auto col_res = ColumnUInt8::create(); | 509 | | | 510 | 92 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 511 | 92 | vec_res.resize(col_right->size()); | 512 | 92 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 513 | 92 | typename PrimitiveTypeTraits<PT>::CppType, | 514 | 92 | Op<PT>>::constant_vector(col_left->get_element(0), | 515 | 92 | col_right->get_data(), vec_res); | 516 | | | 517 | 92 | block.replace_by_position(result, std::move(col_res)); | 518 | 92 | } | 519 | 298 | return Status::OK(); | 520 | 298 | } |
_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 | 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 | 145 | auto col_res = ColumnUInt8::create(); | 487 | | | 488 | 145 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 489 | 145 | vec_res.resize(col_left->get_data().size()); | 490 | 145 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 491 | 145 | typename PrimitiveTypeTraits<PT>::CppType, | 492 | 145 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 493 | 145 | vec_res); | 494 | | | 495 | 145 | block.replace_by_position(result, std::move(col_res)); | 496 | 145 | } 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 | 145 | return Status::OK(); | 520 | 145 | } |
_ZNK5doris18FunctionComparisonINS_6LessOpENS_8NameLessEE16execute_num_typeILNS_13PrimitiveTypeE9EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 476 | 333 | const ColumnPtr& col_right_ptr) const { | 477 | 333 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 478 | 333 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 479 | | | 480 | 333 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 481 | 333 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 482 | | | 483 | 333 | DCHECK(!(left_is_const && right_is_const)); | 484 | | | 485 | 333 | if (!left_is_const && !right_is_const) { | 486 | 147 | auto col_res = ColumnUInt8::create(); | 487 | | | 488 | 147 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 489 | 147 | vec_res.resize(col_left->get_data().size()); | 490 | 147 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 491 | 147 | typename PrimitiveTypeTraits<PT>::CppType, | 492 | 147 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 493 | 147 | vec_res); | 494 | | | 495 | 147 | block.replace_by_position(result, std::move(col_res)); | 496 | 186 | } else if (!left_is_const && right_is_const) { | 497 | 186 | auto col_res = ColumnUInt8::create(); | 498 | | | 499 | 186 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 500 | 186 | vec_res.resize(col_left->size()); | 501 | 186 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 502 | 186 | typename PrimitiveTypeTraits<PT>::CppType, | 503 | 186 | Op<PT>>::vector_constant(col_left->get_data(), | 504 | 186 | col_right->get_element(0), vec_res); | 505 | | | 506 | 186 | block.replace_by_position(result, std::move(col_res)); | 507 | 186 | } 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 | 333 | return Status::OK(); | 520 | 333 | } |
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 | 49 | const ColumnPtr& col_right_ptr) const { | 477 | 49 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 478 | 49 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 479 | | | 480 | 49 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 481 | 49 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 482 | | | 483 | 49 | DCHECK(!(left_is_const && right_is_const)); | 484 | | | 485 | 49 | 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 | 49 | } else if (!left_is_const && right_is_const) { | 497 | 49 | auto col_res = ColumnUInt8::create(); | 498 | | | 499 | 49 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 500 | 49 | vec_res.resize(col_left->size()); | 501 | 49 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 502 | 49 | typename PrimitiveTypeTraits<PT>::CppType, | 503 | 49 | Op<PT>>::vector_constant(col_left->get_data(), | 504 | 49 | col_right->get_element(0), vec_res); | 505 | | | 506 | 49 | block.replace_by_position(result, std::move(col_res)); | 507 | 49 | } 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 | 49 | return Status::OK(); | 520 | 49 | } |
_ZNK5doris18FunctionComparisonINS_14LessOrEqualsOpENS_16NameLessOrEqualsEE16execute_num_typeILNS_13PrimitiveTypeE25EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 476 | 568 | const ColumnPtr& col_right_ptr) const { | 477 | 568 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 478 | 568 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 479 | | | 480 | 568 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 481 | 568 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 482 | | | 483 | 568 | DCHECK(!(left_is_const && right_is_const)); | 484 | | | 485 | 568 | if (!left_is_const && !right_is_const) { | 486 | 404 | auto col_res = ColumnUInt8::create(); | 487 | | | 488 | 404 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 489 | 404 | vec_res.resize(col_left->get_data().size()); | 490 | 404 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 491 | 404 | typename PrimitiveTypeTraits<PT>::CppType, | 492 | 404 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 493 | 404 | vec_res); | 494 | | | 495 | 404 | block.replace_by_position(result, std::move(col_res)); | 496 | 404 | } else if (!left_is_const && right_is_const) { | 497 | 158 | auto col_res = ColumnUInt8::create(); | 498 | | | 499 | 158 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 500 | 158 | vec_res.resize(col_left->size()); | 501 | 158 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 502 | 158 | typename PrimitiveTypeTraits<PT>::CppType, | 503 | 158 | Op<PT>>::vector_constant(col_left->get_data(), | 504 | 158 | col_right->get_element(0), vec_res); | 505 | | | 506 | 158 | block.replace_by_position(result, std::move(col_res)); | 507 | 158 | } 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 | 568 | return Status::OK(); | 520 | 568 | } |
_ZNK5doris18FunctionComparisonINS_14LessOrEqualsOpENS_16NameLessOrEqualsEE16execute_num_typeILNS_13PrimitiveTypeE26EEENS_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 | 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 | 84 | } else if (!left_is_const && right_is_const) { | 497 | 84 | auto col_res = ColumnUInt8::create(); | 498 | | | 499 | 84 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 500 | 84 | vec_res.resize(col_left->size()); | 501 | 84 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 502 | 84 | typename PrimitiveTypeTraits<PT>::CppType, | 503 | 84 | Op<PT>>::vector_constant(col_left->get_data(), | 504 | 84 | col_right->get_element(0), vec_res); | 505 | | | 506 | 84 | block.replace_by_position(result, std::move(col_res)); | 507 | 84 | } 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 | } |
_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 | 109 | const ColumnPtr& col_right_ptr) const { | 477 | 109 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 478 | 109 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 479 | | | 480 | 109 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 481 | 109 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 482 | | | 483 | 109 | DCHECK(!(left_is_const && right_is_const)); | 484 | | | 485 | 109 | 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 | 108 | } else if (!left_is_const && right_is_const) { | 497 | 108 | auto col_res = ColumnUInt8::create(); | 498 | | | 499 | 108 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 500 | 108 | vec_res.resize(col_left->size()); | 501 | 108 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 502 | 108 | typename PrimitiveTypeTraits<PT>::CppType, | 503 | 108 | Op<PT>>::vector_constant(col_left->get_data(), | 504 | 108 | col_right->get_element(0), vec_res); | 505 | | | 506 | 108 | block.replace_by_position(result, std::move(col_res)); | 507 | 108 | } 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 | 109 | return Status::OK(); | 520 | 109 | } |
_ZNK5doris18FunctionComparisonINS_14LessOrEqualsOpENS_16NameLessOrEqualsEE16execute_num_typeILNS_13PrimitiveTypeE4EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 476 | 120 | const ColumnPtr& col_right_ptr) const { | 477 | 120 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 478 | 120 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 479 | | | 480 | 120 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 481 | 120 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 482 | | | 483 | 120 | DCHECK(!(left_is_const && right_is_const)); | 484 | | | 485 | 120 | 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 | 120 | } else if (!left_is_const && right_is_const) { | 497 | 120 | auto col_res = ColumnUInt8::create(); | 498 | | | 499 | 120 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 500 | 120 | vec_res.resize(col_left->size()); | 501 | 120 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 502 | 120 | typename PrimitiveTypeTraits<PT>::CppType, | 503 | 120 | Op<PT>>::vector_constant(col_left->get_data(), | 504 | 120 | col_right->get_element(0), vec_res); | 505 | | | 506 | 120 | block.replace_by_position(result, std::move(col_res)); | 507 | 120 | } 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 | 120 | return Status::OK(); | 520 | 120 | } |
_ZNK5doris18FunctionComparisonINS_14LessOrEqualsOpENS_16NameLessOrEqualsEE16execute_num_typeILNS_13PrimitiveTypeE5EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 476 | 6.48k | const ColumnPtr& col_right_ptr) const { | 477 | 6.48k | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 478 | 6.48k | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 479 | | | 480 | 6.48k | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 481 | 6.48k | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 482 | | | 483 | 6.48k | DCHECK(!(left_is_const && right_is_const)); | 484 | | | 485 | 6.48k | if (!left_is_const && !right_is_const) { | 486 | 10 | auto col_res = ColumnUInt8::create(); | 487 | | | 488 | 10 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 489 | 10 | vec_res.resize(col_left->get_data().size()); | 490 | 10 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 491 | 10 | typename PrimitiveTypeTraits<PT>::CppType, | 492 | 10 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 493 | 10 | vec_res); | 494 | | | 495 | 10 | block.replace_by_position(result, std::move(col_res)); | 496 | 6.47k | } else if (!left_is_const && right_is_const) { | 497 | 6.16k | auto col_res = ColumnUInt8::create(); | 498 | | | 499 | 6.16k | ColumnUInt8::Container& vec_res = col_res->get_data(); | 500 | 6.16k | vec_res.resize(col_left->size()); | 501 | 6.16k | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 502 | 6.16k | typename PrimitiveTypeTraits<PT>::CppType, | 503 | 6.16k | Op<PT>>::vector_constant(col_left->get_data(), | 504 | 6.16k | col_right->get_element(0), vec_res); | 505 | | | 506 | 6.16k | block.replace_by_position(result, std::move(col_res)); | 507 | 6.16k | } else if (left_is_const && !right_is_const) { | 508 | 308 | auto col_res = ColumnUInt8::create(); | 509 | | | 510 | 308 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 511 | 308 | vec_res.resize(col_right->size()); | 512 | 308 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 513 | 308 | typename PrimitiveTypeTraits<PT>::CppType, | 514 | 308 | Op<PT>>::constant_vector(col_left->get_element(0), | 515 | 308 | col_right->get_data(), vec_res); | 516 | | | 517 | 308 | block.replace_by_position(result, std::move(col_res)); | 518 | 308 | } | 519 | 6.48k | return Status::OK(); | 520 | 6.48k | } |
_ZNK5doris18FunctionComparisonINS_14LessOrEqualsOpENS_16NameLessOrEqualsEE16execute_num_typeILNS_13PrimitiveTypeE6EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 476 | 325 | const ColumnPtr& col_right_ptr) const { | 477 | 325 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 478 | 325 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 479 | | | 480 | 325 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 481 | 325 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 482 | | | 483 | 325 | DCHECK(!(left_is_const && right_is_const)); | 484 | | | 485 | 325 | 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 | 294 | } else if (!left_is_const && right_is_const) { | 497 | 246 | auto col_res = ColumnUInt8::create(); | 498 | | | 499 | 246 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 500 | 246 | vec_res.resize(col_left->size()); | 501 | 246 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 502 | 246 | typename PrimitiveTypeTraits<PT>::CppType, | 503 | 246 | Op<PT>>::vector_constant(col_left->get_data(), | 504 | 246 | col_right->get_element(0), vec_res); | 505 | | | 506 | 246 | block.replace_by_position(result, std::move(col_res)); | 507 | 246 | } 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 | 325 | return Status::OK(); | 520 | 325 | } |
_ZNK5doris18FunctionComparisonINS_14LessOrEqualsOpENS_16NameLessOrEqualsEE16execute_num_typeILNS_13PrimitiveTypeE7EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 476 | 46 | const ColumnPtr& col_right_ptr) const { | 477 | 46 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 478 | 46 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 479 | | | 480 | 46 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 481 | 46 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 482 | | | 483 | 46 | DCHECK(!(left_is_const && right_is_const)); | 484 | | | 485 | 46 | 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 | 46 | } else if (!left_is_const && right_is_const) { | 497 | 46 | auto col_res = ColumnUInt8::create(); | 498 | | | 499 | 46 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 500 | 46 | vec_res.resize(col_left->size()); | 501 | 46 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 502 | 46 | typename PrimitiveTypeTraits<PT>::CppType, | 503 | 46 | Op<PT>>::vector_constant(col_left->get_data(), | 504 | 46 | col_right->get_element(0), vec_res); | 505 | | | 506 | 46 | block.replace_by_position(result, std::move(col_res)); | 507 | 46 | } 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 | 46 | return Status::OK(); | 520 | 46 | } |
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 | 111 | const ColumnPtr& col_right_ptr) const { | 477 | 111 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 478 | 111 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 479 | | | 480 | 111 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 481 | 111 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 482 | | | 483 | 111 | DCHECK(!(left_is_const && right_is_const)); | 484 | | | 485 | 112 | 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 | 92 | } else if (!left_is_const && right_is_const) { | 497 | 92 | auto col_res = ColumnUInt8::create(); | 498 | | | 499 | 92 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 500 | 92 | vec_res.resize(col_left->size()); | 501 | 92 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 502 | 92 | typename PrimitiveTypeTraits<PT>::CppType, | 503 | 92 | Op<PT>>::vector_constant(col_left->get_data(), | 504 | 92 | col_right->get_element(0), vec_res); | 505 | | | 506 | 92 | 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 | 111 | return Status::OK(); | 520 | 111 | } |
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.33k | const ColumnWithTypeAndName& col_right) const { |
524 | 3.33k | auto call = [&](const auto& type) -> bool { |
525 | 3.33k | using DispatchType = std::decay_t<decltype(type)>; |
526 | 3.33k | DecimalComparison<DispatchType::PType, DispatchType::PType, Op, false>( |
527 | 3.33k | block, result, col_left, col_right); |
528 | 3.33k | return true; |
529 | 3.33k | }; _ZZNK5doris18FunctionComparisonINS_8EqualsOpENS_10NameEqualsEE15execute_decimalERNS_5BlockEjRKNS_21ColumnWithTypeAndNameES8_ENKUlRKT_E_clINS_16DispatchDataTypeILNS_13PrimitiveTypeE28EEEEEbSB_ Line | Count | Source | 524 | 167 | auto call = [&](const auto& type) -> bool { | 525 | 167 | using DispatchType = std::decay_t<decltype(type)>; | 526 | 167 | DecimalComparison<DispatchType::PType, DispatchType::PType, Op, false>( | 527 | 167 | block, result, col_left, col_right); | 528 | 167 | return true; | 529 | 167 | }; |
_ZZNK5doris18FunctionComparisonINS_8EqualsOpENS_10NameEqualsEE15execute_decimalERNS_5BlockEjRKNS_21ColumnWithTypeAndNameES8_ENKUlRKT_E_clINS_16DispatchDataTypeILNS_13PrimitiveTypeE29EEEEEbSB_ Line | Count | Source | 524 | 165 | auto call = [&](const auto& type) -> bool { | 525 | 165 | using DispatchType = std::decay_t<decltype(type)>; | 526 | 165 | DecimalComparison<DispatchType::PType, DispatchType::PType, Op, false>( | 527 | 165 | block, result, col_left, col_right); | 528 | 165 | return true; | 529 | 165 | }; |
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 | 864 | auto call = [&](const auto& type) -> bool { | 525 | 864 | using DispatchType = std::decay_t<decltype(type)>; | 526 | 864 | DecimalComparison<DispatchType::PType, DispatchType::PType, Op, false>( | 527 | 864 | block, result, col_left, col_right); | 528 | 864 | return true; | 529 | 864 | }; |
_ZZNK5doris18FunctionComparisonINS_8EqualsOpENS_10NameEqualsEE15execute_decimalERNS_5BlockEjRKNS_21ColumnWithTypeAndNameES8_ENKUlRKT_E_clINS_16DispatchDataTypeILNS_13PrimitiveTypeE35EEEEEbSB_ Line | Count | Source | 524 | 34 | auto call = [&](const auto& type) -> bool { | 525 | 34 | using DispatchType = std::decay_t<decltype(type)>; | 526 | 34 | DecimalComparison<DispatchType::PType, DispatchType::PType, Op, false>( | 527 | 34 | block, result, col_left, col_right); | 528 | 34 | return true; | 529 | 34 | }; |
Unexecuted instantiation: _ZZNK5doris18FunctionComparisonINS_11NotEqualsOpENS_13NameNotEqualsEE15execute_decimalERNS_5BlockEjRKNS_21ColumnWithTypeAndNameES8_ENKUlRKT_E_clINS_16DispatchDataTypeILNS_13PrimitiveTypeE28EEEEEbSB_ _ZZNK5doris18FunctionComparisonINS_11NotEqualsOpENS_13NameNotEqualsEE15execute_decimalERNS_5BlockEjRKNS_21ColumnWithTypeAndNameES8_ENKUlRKT_E_clINS_16DispatchDataTypeILNS_13PrimitiveTypeE29EEEEEbSB_ Line | Count | Source | 524 | 64 | auto call = [&](const auto& type) -> bool { | 525 | 64 | using DispatchType = std::decay_t<decltype(type)>; | 526 | 64 | DecimalComparison<DispatchType::PType, DispatchType::PType, Op, false>( | 527 | 64 | block, result, col_left, col_right); | 528 | 64 | return true; | 529 | 64 | }; |
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 | 641 | auto call = [&](const auto& type) -> bool { | 525 | 641 | using DispatchType = std::decay_t<decltype(type)>; | 526 | 641 | DecimalComparison<DispatchType::PType, DispatchType::PType, Op, false>( | 527 | 641 | block, result, col_left, col_right); | 528 | 641 | return true; | 529 | 641 | }; |
_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 | 3 | auto call = [&](const auto& type) -> bool { | 525 | 3 | using DispatchType = std::decay_t<decltype(type)>; | 526 | 3 | DecimalComparison<DispatchType::PType, DispatchType::PType, Op, false>( | 527 | 3 | block, result, col_left, col_right); | 528 | 3 | return true; | 529 | 3 | }; |
_ZZNK5doris18FunctionComparisonINS_17GreaterOrEqualsOpENS_19NameGreaterOrEqualsEE15execute_decimalERNS_5BlockEjRKNS_21ColumnWithTypeAndNameES8_ENKUlRKT_E_clINS_16DispatchDataTypeILNS_13PrimitiveTypeE29EEEEEbSB_ Line | Count | Source | 524 | 81 | auto call = [&](const auto& type) -> bool { | 525 | 81 | using DispatchType = std::decay_t<decltype(type)>; | 526 | 81 | DecimalComparison<DispatchType::PType, DispatchType::PType, Op, false>( | 527 | 81 | block, result, col_left, col_right); | 528 | 81 | return true; | 529 | 81 | }; |
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 | 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 | }; |
_ZZNK5doris18FunctionComparisonINS_17GreaterOrEqualsOpENS_19NameGreaterOrEqualsEE15execute_decimalERNS_5BlockEjRKNS_21ColumnWithTypeAndNameES8_ENKUlRKT_E_clINS_16DispatchDataTypeILNS_13PrimitiveTypeE35EEEEEbSB_ Line | Count | Source | 524 | 17 | auto call = [&](const auto& type) -> bool { | 525 | 17 | using DispatchType = std::decay_t<decltype(type)>; | 526 | 17 | DecimalComparison<DispatchType::PType, DispatchType::PType, Op, false>( | 527 | 17 | block, result, col_left, col_right); | 528 | 17 | return true; | 529 | 17 | }; |
_ZZNK5doris18FunctionComparisonINS_6LessOpENS_8NameLessEE15execute_decimalERNS_5BlockEjRKNS_21ColumnWithTypeAndNameES8_ENKUlRKT_E_clINS_16DispatchDataTypeILNS_13PrimitiveTypeE28EEEEEbSB_ Line | Count | Source | 524 | 202 | auto call = [&](const auto& type) -> bool { | 525 | 202 | using DispatchType = std::decay_t<decltype(type)>; | 526 | 202 | DecimalComparison<DispatchType::PType, DispatchType::PType, Op, false>( | 527 | 202 | block, result, col_left, col_right); | 528 | 202 | return true; | 529 | 202 | }; |
_ZZNK5doris18FunctionComparisonINS_6LessOpENS_8NameLessEE15execute_decimalERNS_5BlockEjRKNS_21ColumnWithTypeAndNameES8_ENKUlRKT_E_clINS_16DispatchDataTypeILNS_13PrimitiveTypeE29EEEEEbSB_ Line | Count | Source | 524 | 218 | auto call = [&](const auto& type) -> bool { | 525 | 218 | using DispatchType = std::decay_t<decltype(type)>; | 526 | 218 | DecimalComparison<DispatchType::PType, DispatchType::PType, Op, false>( | 527 | 218 | block, result, col_left, col_right); | 528 | 218 | return true; | 529 | 218 | }; |
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 | 445 | auto call = [&](const auto& type) -> bool { | 525 | 445 | using DispatchType = std::decay_t<decltype(type)>; | 526 | 445 | DecimalComparison<DispatchType::PType, DispatchType::PType, Op, false>( | 527 | 445 | block, result, col_left, col_right); | 528 | 445 | return true; | 529 | 445 | }; |
_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 | 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_14LessOrEqualsOpENS_16NameLessOrEqualsEE15execute_decimalERNS_5BlockEjRKNS_21ColumnWithTypeAndNameES8_ENKUlRKT_E_clINS_16DispatchDataTypeILNS_13PrimitiveTypeE29EEEEEbSB_ Line | Count | Source | 524 | 105 | auto call = [&](const auto& type) -> bool { | 525 | 105 | using DispatchType = std::decay_t<decltype(type)>; | 526 | 105 | DecimalComparison<DispatchType::PType, DispatchType::PType, Op, false>( | 527 | 105 | block, result, col_left, col_right); | 528 | 105 | return true; | 529 | 105 | }; |
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 | 108 | auto call = [&](const auto& type) -> bool { | 525 | 108 | using DispatchType = std::decay_t<decltype(type)>; | 526 | 108 | DecimalComparison<DispatchType::PType, DispatchType::PType, Op, false>( | 527 | 108 | block, result, col_left, col_right); | 528 | 108 | return true; | 529 | 108 | }; |
_ZZNK5doris18FunctionComparisonINS_14LessOrEqualsOpENS_16NameLessOrEqualsEE15execute_decimalERNS_5BlockEjRKNS_21ColumnWithTypeAndNameES8_ENKUlRKT_E_clINS_16DispatchDataTypeILNS_13PrimitiveTypeE35EEEEEbSB_ Line | Count | Source | 524 | 16 | auto call = [&](const auto& type) -> bool { | 525 | 16 | using DispatchType = std::decay_t<decltype(type)>; | 526 | 16 | DecimalComparison<DispatchType::PType, DispatchType::PType, Op, false>( | 527 | 16 | block, result, col_left, col_right); | 528 | 16 | return true; | 529 | 16 | }; |
|
530 | | |
531 | 3.33k | 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.33k | 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.33k | return Status::OK(); |
542 | 3.33k | } _ZNK5doris18FunctionComparisonINS_8EqualsOpENS_10NameEqualsEE15execute_decimalERNS_5BlockEjRKNS_21ColumnWithTypeAndNameES8_ Line | Count | Source | 523 | 1.23k | const ColumnWithTypeAndName& col_right) const { | 524 | 1.23k | auto call = [&](const auto& type) -> bool { | 525 | 1.23k | using DispatchType = std::decay_t<decltype(type)>; | 526 | 1.23k | DecimalComparison<DispatchType::PType, DispatchType::PType, Op, false>( | 527 | 1.23k | block, result, col_left, col_right); | 528 | 1.23k | return true; | 529 | 1.23k | }; | 530 | | | 531 | 1.23k | 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.23k | 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.23k | return Status::OK(); | 542 | 1.23k | } |
_ZNK5doris18FunctionComparisonINS_11NotEqualsOpENS_13NameNotEqualsEE15execute_decimalERNS_5BlockEjRKNS_21ColumnWithTypeAndNameES8_ Line | Count | Source | 523 | 122 | const ColumnWithTypeAndName& col_right) const { | 524 | 122 | auto call = [&](const auto& type) -> bool { | 525 | 122 | using DispatchType = std::decay_t<decltype(type)>; | 526 | 122 | DecimalComparison<DispatchType::PType, DispatchType::PType, Op, false>( | 527 | 122 | block, result, col_left, col_right); | 528 | 122 | return true; | 529 | 122 | }; | 530 | | | 531 | 122 | 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 | 122 | 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 | 122 | return Status::OK(); | 542 | 122 | } |
_ZNK5doris18FunctionComparisonINS_9GreaterOpENS_11NameGreaterEE15execute_decimalERNS_5BlockEjRKNS_21ColumnWithTypeAndNameES8_ Line | Count | Source | 523 | 717 | const ColumnWithTypeAndName& col_right) const { | 524 | 717 | auto call = [&](const auto& type) -> bool { | 525 | 717 | using DispatchType = std::decay_t<decltype(type)>; | 526 | 717 | DecimalComparison<DispatchType::PType, DispatchType::PType, Op, false>( | 527 | 717 | block, result, col_left, col_right); | 528 | 717 | return true; | 529 | 717 | }; | 530 | | | 531 | 717 | 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 | 717 | 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 | 717 | return Status::OK(); | 542 | 717 | } |
_ZNK5doris18FunctionComparisonINS_17GreaterOrEqualsOpENS_19NameGreaterOrEqualsEE15execute_decimalERNS_5BlockEjRKNS_21ColumnWithTypeAndNameES8_ Line | Count | Source | 523 | 167 | const ColumnWithTypeAndName& col_right) const { | 524 | 167 | auto call = [&](const auto& type) -> bool { | 525 | 167 | using DispatchType = std::decay_t<decltype(type)>; | 526 | 167 | DecimalComparison<DispatchType::PType, DispatchType::PType, Op, false>( | 527 | 167 | block, result, col_left, col_right); | 528 | 167 | return true; | 529 | 167 | }; | 530 | | | 531 | 167 | 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 | 167 | 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 | 167 | return Status::OK(); | 542 | 167 | } |
_ZNK5doris18FunctionComparisonINS_6LessOpENS_8NameLessEE15execute_decimalERNS_5BlockEjRKNS_21ColumnWithTypeAndNameES8_ Line | Count | Source | 523 | 866 | const ColumnWithTypeAndName& col_right) const { | 524 | 866 | auto call = [&](const auto& type) -> bool { | 525 | 866 | using DispatchType = std::decay_t<decltype(type)>; | 526 | 866 | DecimalComparison<DispatchType::PType, DispatchType::PType, Op, false>( | 527 | 866 | block, result, col_left, col_right); | 528 | 866 | return true; | 529 | 866 | }; | 530 | | | 531 | 866 | 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 | 866 | 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 | 866 | return Status::OK(); | 542 | 866 | } |
_ZNK5doris18FunctionComparisonINS_14LessOrEqualsOpENS_16NameLessOrEqualsEE15execute_decimalERNS_5BlockEjRKNS_21ColumnWithTypeAndNameES8_ Line | Count | Source | 523 | 237 | const ColumnWithTypeAndName& col_right) const { | 524 | 237 | auto call = [&](const auto& type) -> bool { | 525 | 237 | using DispatchType = std::decay_t<decltype(type)>; | 526 | 237 | DecimalComparison<DispatchType::PType, DispatchType::PType, Op, false>( | 527 | 237 | block, result, col_left, col_right); | 528 | 237 | return true; | 529 | 237 | }; | 530 | | | 531 | 237 | 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 | 237 | 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 | 237 | return Status::OK(); | 542 | 237 | } |
|
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.2k | const ColumnString* c1_const_string = |
575 | 11.2k | check_and_get_column<ColumnString>(&c1_const->get_data_column()); |
576 | | |
577 | 11.2k | if (c1_const_string) { |
578 | 11.2k | c1_const_chars = &c1_const_string->get_chars(); |
579 | 11.2k | c1_const_size = c1_const_string->get_offsets()[0]; |
580 | 11.2k | } else { |
581 | 0 | return Status::NotSupported("Illegal columns {}, of argument of function {}", |
582 | 0 | c1->get_name(), name); |
583 | 0 | } |
584 | 11.2k | } |
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 | 1.09k | StringImpl::string_vector_string_vector( |
594 | 1.09k | c0_string->get_chars(), c0_string->get_offsets(), c1_string->get_chars(), |
595 | 1.09k | c1_string->get_offsets(), vec_res); |
596 | 11.3k | } else if (c0_string && c1_const) { |
597 | 11.2k | StringImpl::string_vector_constant(c0_string->get_chars(), c0_string->get_offsets(), |
598 | 11.2k | *c1_const_chars, c1_const_size, vec_res); |
599 | 11.2k | } 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 | 10.9k | const IColumn* c1) const { | 546 | 10.9k | const ColumnString* c0_string = check_and_get_column<ColumnString>(c0); | 547 | 10.9k | const ColumnString* c1_string = check_and_get_column<ColumnString>(c1); | 548 | 10.9k | const ColumnConst* c0_const = check_and_get_column_const_string_or_fixedstring(c0); | 549 | 10.9k | const ColumnConst* c1_const = check_and_get_column_const_string_or_fixedstring(c1); | 550 | 10.9k | 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 | 10.9k | DCHECK(!(c0_const && c1_const)); | 555 | 10.9k | const ColumnString::Chars* c0_const_chars = nullptr; | 556 | 10.9k | const ColumnString::Chars* c1_const_chars = nullptr; | 557 | 10.9k | ColumnString::Offset c0_const_size = 0; | 558 | 10.9k | ColumnString::Offset c1_const_size = 0; | 559 | | | 560 | 10.9k | 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 | 10.9k | if (c1_const) { | 574 | 10.3k | const ColumnString* c1_const_string = | 575 | 10.3k | check_and_get_column<ColumnString>(&c1_const->get_data_column()); | 576 | | | 577 | 10.3k | if (c1_const_string) { | 578 | 10.3k | c1_const_chars = &c1_const_string->get_chars(); | 579 | 10.3k | c1_const_size = c1_const_string->get_offsets()[0]; | 580 | 10.3k | } else { | 581 | 0 | return Status::NotSupported("Illegal columns {}, of argument of function {}", | 582 | 0 | c1->get_name(), name); | 583 | 0 | } | 584 | 10.3k | } | 585 | | | 586 | 10.9k | using StringImpl = StringComparisonImpl<Op<TYPE_INT>>; | 587 | | | 588 | 10.9k | auto c_res = ColumnUInt8::create(); | 589 | 10.9k | ColumnUInt8::Container& vec_res = c_res->get_data(); | 590 | 10.9k | vec_res.resize(c0->size()); | 591 | | | 592 | 10.9k | if (c0_string && c1_string) { | 593 | 561 | StringImpl::string_vector_string_vector( | 594 | 561 | c0_string->get_chars(), c0_string->get_offsets(), c1_string->get_chars(), | 595 | 561 | c1_string->get_offsets(), vec_res); | 596 | 10.3k | } else if (c0_string && c1_const) { | 597 | 10.3k | StringImpl::string_vector_constant(c0_string->get_chars(), c0_string->get_offsets(), | 598 | 10.3k | *c1_const_chars, c1_const_size, vec_res); | 599 | 10.3k | } 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 | 10.9k | block.replace_by_position(result, std::move(c_res)); | 608 | 10.9k | return Status::OK(); | 609 | 10.9k | } |
_ZNK5doris18FunctionComparisonINS_11NotEqualsOpENS_13NameNotEqualsEE14execute_stringERNS_5BlockEjPKNS_7IColumnES8_ Line | Count | Source | 545 | 149 | const IColumn* c1) const { | 546 | 149 | const ColumnString* c0_string = check_and_get_column<ColumnString>(c0); | 547 | 149 | const ColumnString* c1_string = check_and_get_column<ColumnString>(c1); | 548 | 149 | const ColumnConst* c0_const = check_and_get_column_const_string_or_fixedstring(c0); | 549 | 149 | const ColumnConst* c1_const = check_and_get_column_const_string_or_fixedstring(c1); | 550 | 149 | 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 | 149 | DCHECK(!(c0_const && c1_const)); | 555 | 149 | const ColumnString::Chars* c0_const_chars = nullptr; | 556 | 149 | const ColumnString::Chars* c1_const_chars = nullptr; | 557 | 149 | ColumnString::Offset c0_const_size = 0; | 558 | 149 | ColumnString::Offset c1_const_size = 0; | 559 | | | 560 | 149 | 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 | 149 | if (c1_const) { | 574 | 139 | const ColumnString* c1_const_string = | 575 | 139 | check_and_get_column<ColumnString>(&c1_const->get_data_column()); | 576 | | | 577 | 139 | if (c1_const_string) { | 578 | 139 | c1_const_chars = &c1_const_string->get_chars(); | 579 | 139 | c1_const_size = c1_const_string->get_offsets()[0]; | 580 | 139 | } else { | 581 | 0 | return Status::NotSupported("Illegal columns {}, of argument of function {}", | 582 | 0 | c1->get_name(), name); | 583 | 0 | } | 584 | 139 | } | 585 | | | 586 | 149 | using StringImpl = StringComparisonImpl<Op<TYPE_INT>>; | 587 | | | 588 | 149 | auto c_res = ColumnUInt8::create(); | 589 | 149 | ColumnUInt8::Container& vec_res = c_res->get_data(); | 590 | 149 | vec_res.resize(c0->size()); | 591 | | | 592 | 149 | if (c0_string && c1_string) { | 593 | 10 | StringImpl::string_vector_string_vector( | 594 | 10 | c0_string->get_chars(), c0_string->get_offsets(), c1_string->get_chars(), | 595 | 10 | c1_string->get_offsets(), vec_res); | 596 | 139 | } else if (c0_string && c1_const) { | 597 | 139 | StringImpl::string_vector_constant(c0_string->get_chars(), c0_string->get_offsets(), | 598 | 139 | *c1_const_chars, c1_const_size, vec_res); | 599 | 139 | } 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 | 149 | block.replace_by_position(result, std::move(c_res)); | 608 | 149 | return Status::OK(); | 609 | 149 | } |
_ZNK5doris18FunctionComparisonINS_9GreaterOpENS_11NameGreaterEE14execute_stringERNS_5BlockEjPKNS_7IColumnES8_ Line | Count | Source | 545 | 201 | const IColumn* c1) const { | 546 | 201 | const ColumnString* c0_string = check_and_get_column<ColumnString>(c0); | 547 | 201 | const ColumnString* c1_string = check_and_get_column<ColumnString>(c1); | 548 | 201 | const ColumnConst* c0_const = check_and_get_column_const_string_or_fixedstring(c0); | 549 | 201 | const ColumnConst* c1_const = check_and_get_column_const_string_or_fixedstring(c1); | 550 | 201 | 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 | 201 | DCHECK(!(c0_const && c1_const)); | 555 | 201 | const ColumnString::Chars* c0_const_chars = nullptr; | 556 | 201 | const ColumnString::Chars* c1_const_chars = nullptr; | 557 | 201 | ColumnString::Offset c0_const_size = 0; | 558 | 201 | ColumnString::Offset c1_const_size = 0; | 559 | | | 560 | 201 | 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 | 201 | if (c1_const) { | 574 | 199 | const ColumnString* c1_const_string = | 575 | 199 | check_and_get_column<ColumnString>(&c1_const->get_data_column()); | 576 | | | 577 | 199 | if (c1_const_string) { | 578 | 199 | c1_const_chars = &c1_const_string->get_chars(); | 579 | 199 | c1_const_size = c1_const_string->get_offsets()[0]; | 580 | 199 | } else { | 581 | 0 | return Status::NotSupported("Illegal columns {}, of argument of function {}", | 582 | 0 | c1->get_name(), name); | 583 | 0 | } | 584 | 199 | } | 585 | | | 586 | 201 | using StringImpl = StringComparisonImpl<Op<TYPE_INT>>; | 587 | | | 588 | 201 | auto c_res = ColumnUInt8::create(); | 589 | 201 | ColumnUInt8::Container& vec_res = c_res->get_data(); | 590 | 201 | vec_res.resize(c0->size()); | 591 | | | 592 | 201 | 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 | 199 | } else if (c0_string && c1_const) { | 597 | 199 | StringImpl::string_vector_constant(c0_string->get_chars(), c0_string->get_offsets(), | 598 | 199 | *c1_const_chars, c1_const_size, vec_res); | 599 | 199 | } 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 | 201 | block.replace_by_position(result, std::move(c_res)); | 608 | 201 | return Status::OK(); | 609 | 201 | } |
_ZNK5doris18FunctionComparisonINS_17GreaterOrEqualsOpENS_19NameGreaterOrEqualsEE14execute_stringERNS_5BlockEjPKNS_7IColumnES8_ Line | Count | Source | 545 | 270 | const IColumn* c1) const { | 546 | 270 | const ColumnString* c0_string = check_and_get_column<ColumnString>(c0); | 547 | 270 | const ColumnString* c1_string = check_and_get_column<ColumnString>(c1); | 548 | 270 | const ColumnConst* c0_const = check_and_get_column_const_string_or_fixedstring(c0); | 549 | 270 | const ColumnConst* c1_const = check_and_get_column_const_string_or_fixedstring(c1); | 550 | 270 | 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 | 270 | DCHECK(!(c0_const && c1_const)); | 555 | 270 | const ColumnString::Chars* c0_const_chars = nullptr; | 556 | 270 | const ColumnString::Chars* c1_const_chars = nullptr; | 557 | 270 | ColumnString::Offset c0_const_size = 0; | 558 | 270 | ColumnString::Offset c1_const_size = 0; | 559 | | | 560 | 270 | if (c0_const) { | 561 | 60 | const ColumnString* c0_const_string = | 562 | 60 | check_and_get_column<ColumnString>(&c0_const->get_data_column()); | 563 | | | 564 | 60 | if (c0_const_string) { | 565 | 60 | c0_const_chars = &c0_const_string->get_chars(); | 566 | 60 | c0_const_size = c0_const_string->get_offsets()[0]; | 567 | 60 | } else { | 568 | 0 | return Status::NotSupported("Illegal columns {}, of argument of function {}", | 569 | 0 | c0->get_name(), name); | 570 | 0 | } | 571 | 60 | } | 572 | | | 573 | 270 | if (c1_const) { | 574 | 174 | const ColumnString* c1_const_string = | 575 | 174 | check_and_get_column<ColumnString>(&c1_const->get_data_column()); | 576 | | | 577 | 174 | if (c1_const_string) { | 578 | 174 | c1_const_chars = &c1_const_string->get_chars(); | 579 | 174 | c1_const_size = c1_const_string->get_offsets()[0]; | 580 | 174 | } else { | 581 | 0 | return Status::NotSupported("Illegal columns {}, of argument of function {}", | 582 | 0 | c1->get_name(), name); | 583 | 0 | } | 584 | 174 | } | 585 | | | 586 | 270 | using StringImpl = StringComparisonImpl<Op<TYPE_INT>>; | 587 | | | 588 | 270 | auto c_res = ColumnUInt8::create(); | 589 | 270 | ColumnUInt8::Container& vec_res = c_res->get_data(); | 590 | 270 | vec_res.resize(c0->size()); | 591 | | | 592 | 270 | 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 | 234 | } else if (c0_string && c1_const) { | 597 | 174 | StringImpl::string_vector_constant(c0_string->get_chars(), c0_string->get_offsets(), | 598 | 174 | *c1_const_chars, c1_const_size, vec_res); | 599 | 174 | } else if (c0_const && c1_string) { | 600 | 60 | StringImpl::constant_string_vector(*c0_const_chars, c0_const_size, | 601 | 60 | c1_string->get_chars(), c1_string->get_offsets(), | 602 | 60 | vec_res); | 603 | 60 | } else { | 604 | 0 | return Status::NotSupported("Illegal columns {}, {} of argument of function {}", | 605 | 0 | c0->get_name(), c1->get_name(), name); | 606 | 0 | } | 607 | 270 | block.replace_by_position(result, std::move(c_res)); | 608 | 270 | return Status::OK(); | 609 | 270 | } |
_ZNK5doris18FunctionComparisonINS_6LessOpENS_8NameLessEE14execute_stringERNS_5BlockEjPKNS_7IColumnES8_ Line | Count | Source | 545 | 597 | const IColumn* c1) const { | 546 | 597 | const ColumnString* c0_string = check_and_get_column<ColumnString>(c0); | 547 | 597 | const ColumnString* c1_string = check_and_get_column<ColumnString>(c1); | 548 | 597 | const ColumnConst* c0_const = check_and_get_column_const_string_or_fixedstring(c0); | 549 | 597 | const ColumnConst* c1_const = check_and_get_column_const_string_or_fixedstring(c1); | 550 | 597 | 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 | 597 | DCHECK(!(c0_const && c1_const)); | 555 | 597 | const ColumnString::Chars* c0_const_chars = nullptr; | 556 | 597 | const ColumnString::Chars* c1_const_chars = nullptr; | 557 | 597 | ColumnString::Offset c0_const_size = 0; | 558 | 597 | ColumnString::Offset c1_const_size = 0; | 559 | | | 560 | 597 | if (c0_const) { | 561 | 2 | const ColumnString* c0_const_string = | 562 | 2 | check_and_get_column<ColumnString>(&c0_const->get_data_column()); | 563 | | | 564 | 2 | if (c0_const_string) { | 565 | 2 | c0_const_chars = &c0_const_string->get_chars(); | 566 | 2 | c0_const_size = c0_const_string->get_offsets()[0]; | 567 | 2 | } else { | 568 | 0 | return Status::NotSupported("Illegal columns {}, of argument of function {}", | 569 | 0 | c0->get_name(), name); | 570 | 0 | } | 571 | 2 | } | 572 | | | 573 | 597 | if (c1_const) { | 574 | 107 | const ColumnString* c1_const_string = | 575 | 107 | check_and_get_column<ColumnString>(&c1_const->get_data_column()); | 576 | | | 577 | 107 | if (c1_const_string) { | 578 | 107 | c1_const_chars = &c1_const_string->get_chars(); | 579 | 107 | c1_const_size = c1_const_string->get_offsets()[0]; | 580 | 107 | } else { | 581 | 0 | return Status::NotSupported("Illegal columns {}, of argument of function {}", | 582 | 0 | c1->get_name(), name); | 583 | 0 | } | 584 | 107 | } | 585 | | | 586 | 597 | using StringImpl = StringComparisonImpl<Op<TYPE_INT>>; | 587 | | | 588 | 597 | auto c_res = ColumnUInt8::create(); | 589 | 597 | ColumnUInt8::Container& vec_res = c_res->get_data(); | 590 | 597 | vec_res.resize(c0->size()); | 591 | | | 592 | 597 | if (c0_string && c1_string) { | 593 | 488 | StringImpl::string_vector_string_vector( | 594 | 488 | c0_string->get_chars(), c0_string->get_offsets(), c1_string->get_chars(), | 595 | 488 | c1_string->get_offsets(), vec_res); | 596 | 488 | } else if (c0_string && c1_const) { | 597 | 107 | StringImpl::string_vector_constant(c0_string->get_chars(), c0_string->get_offsets(), | 598 | 107 | *c1_const_chars, c1_const_size, vec_res); | 599 | 107 | } else if (c0_const && c1_string) { | 600 | 2 | StringImpl::constant_string_vector(*c0_const_chars, c0_const_size, | 601 | 2 | c1_string->get_chars(), c1_string->get_offsets(), | 602 | 2 | vec_res); | 603 | 2 | } else { | 604 | 0 | return Status::NotSupported("Illegal columns {}, {} of argument of function {}", | 605 | 0 | c0->get_name(), c1->get_name(), name); | 606 | 0 | } | 607 | 597 | block.replace_by_position(result, std::move(c_res)); | 608 | 597 | return Status::OK(); | 609 | 597 | } |
_ZNK5doris18FunctionComparisonINS_14LessOrEqualsOpENS_16NameLessOrEqualsEE14execute_stringERNS_5BlockEjPKNS_7IColumnES8_ Line | Count | Source | 545 | 243 | const IColumn* c1) const { | 546 | 243 | const ColumnString* c0_string = check_and_get_column<ColumnString>(c0); | 547 | 243 | const ColumnString* c1_string = check_and_get_column<ColumnString>(c1); | 548 | 243 | const ColumnConst* c0_const = check_and_get_column_const_string_or_fixedstring(c0); | 549 | 243 | const ColumnConst* c1_const = check_and_get_column_const_string_or_fixedstring(c1); | 550 | 243 | 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 | 243 | DCHECK(!(c0_const && c1_const)); | 555 | 243 | const ColumnString::Chars* c0_const_chars = nullptr; | 556 | 243 | const ColumnString::Chars* c1_const_chars = nullptr; | 557 | 243 | ColumnString::Offset c0_const_size = 0; | 558 | 243 | ColumnString::Offset c1_const_size = 0; | 559 | | | 560 | 243 | 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 | 243 | if (c1_const) { | 574 | 243 | const ColumnString* c1_const_string = | 575 | 243 | check_and_get_column<ColumnString>(&c1_const->get_data_column()); | 576 | | | 577 | 243 | if (c1_const_string) { | 578 | 243 | c1_const_chars = &c1_const_string->get_chars(); | 579 | 243 | c1_const_size = c1_const_string->get_offsets()[0]; | 580 | 243 | } else { | 581 | 0 | return Status::NotSupported("Illegal columns {}, of argument of function {}", | 582 | 0 | c1->get_name(), name); | 583 | 0 | } | 584 | 243 | } | 585 | | | 586 | 243 | using StringImpl = StringComparisonImpl<Op<TYPE_INT>>; | 587 | | | 588 | 243 | auto c_res = ColumnUInt8::create(); | 589 | 243 | ColumnUInt8::Container& vec_res = c_res->get_data(); | 590 | 243 | vec_res.resize(c0->size()); | 591 | | | 592 | 243 | 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 | 243 | } else if (c0_string && c1_const) { | 597 | 243 | StringImpl::string_vector_constant(c0_string->get_chars(), c0_string->get_offsets(), | 598 | 243 | *c1_const_chars, c1_const_size, vec_res); | 599 | 243 | } 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 | 243 | block.replace_by_position(result, std::move(c_res)); | 608 | 243 | return Status::OK(); | 609 | 243 | } |
|
610 | | |
611 | | void execute_generic_identical_types(Block& block, uint32_t result, const IColumn* c0, |
612 | 159 | const IColumn* c1) const { |
613 | 159 | bool c0_const = is_column_const(*c0); |
614 | 159 | bool c1_const = is_column_const(*c1); |
615 | | |
616 | 159 | DCHECK(!(c0_const && c1_const)); |
617 | | |
618 | 159 | auto c_res = ColumnUInt8::create(); |
619 | 159 | ColumnUInt8::Container& vec_res = c_res->get_data(); |
620 | 159 | vec_res.resize(c0->size()); |
621 | | |
622 | 159 | if (c0_const) { |
623 | 0 | GenericComparisonImpl<Op<TYPE_INT>>::constant_vector(*c0, *c1, vec_res); |
624 | 159 | } else if (c1_const) { |
625 | 150 | GenericComparisonImpl<Op<TYPE_INT>>::vector_constant(*c0, *c1, vec_res); |
626 | 150 | } else { |
627 | 9 | GenericComparisonImpl<Op<TYPE_INT>>::vector_vector(*c0, *c1, vec_res); |
628 | 9 | } |
629 | | |
630 | 159 | block.replace_by_position(result, std::move(c_res)); |
631 | 159 | } _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 | 53 | const IColumn* c1) const { | 613 | 53 | bool c0_const = is_column_const(*c0); | 614 | 53 | bool c1_const = is_column_const(*c1); | 615 | | | 616 | 53 | DCHECK(!(c0_const && c1_const)); | 617 | | | 618 | 53 | auto c_res = ColumnUInt8::create(); | 619 | 53 | ColumnUInt8::Container& vec_res = c_res->get_data(); | 620 | 53 | vec_res.resize(c0->size()); | 621 | | | 622 | 53 | if (c0_const) { | 623 | 0 | GenericComparisonImpl<Op<TYPE_INT>>::constant_vector(*c0, *c1, vec_res); | 624 | 53 | } else if (c1_const) { | 625 | 53 | GenericComparisonImpl<Op<TYPE_INT>>::vector_constant(*c0, *c1, vec_res); | 626 | 53 | } else { | 627 | 0 | GenericComparisonImpl<Op<TYPE_INT>>::vector_vector(*c0, *c1, vec_res); | 628 | 0 | } | 629 | | | 630 | 53 | block.replace_by_position(result, std::move(c_res)); | 631 | 53 | } |
|
632 | | |
633 | | Status execute_generic(Block& block, uint32_t result, const ColumnWithTypeAndName& c0, |
634 | 159 | const ColumnWithTypeAndName& c1) const { |
635 | 159 | execute_generic_identical_types(block, result, c0.column.get(), c1.column.get()); |
636 | 159 | return Status::OK(); |
637 | 159 | } _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 | 53 | const ColumnWithTypeAndName& c1) const { | 635 | 53 | execute_generic_identical_types(block, result, c0.column.get(), c1.column.get()); | 636 | 53 | return Status::OK(); | 637 | 53 | } |
|
638 | | |
639 | | public: |
640 | 221 | 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 | 80 | 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 | 266k | size_t get_number_of_arguments() const override { return 2; }_ZNK5doris18FunctionComparisonINS_8EqualsOpENS_10NameEqualsEE23get_number_of_argumentsEv Line | Count | Source | 642 | 241k | size_t get_number_of_arguments() const override { return 2; } |
_ZNK5doris18FunctionComparisonINS_11NotEqualsOpENS_13NameNotEqualsEE23get_number_of_argumentsEv Line | Count | Source | 642 | 1.14k | size_t get_number_of_arguments() const override { return 2; } |
_ZNK5doris18FunctionComparisonINS_9GreaterOpENS_11NameGreaterEE23get_number_of_argumentsEv Line | Count | Source | 642 | 4.98k | size_t get_number_of_arguments() const override { return 2; } |
_ZNK5doris18FunctionComparisonINS_17GreaterOrEqualsOpENS_19NameGreaterOrEqualsEE23get_number_of_argumentsEv Line | Count | Source | 642 | 6.98k | size_t get_number_of_arguments() const override { return 2; } |
_ZNK5doris18FunctionComparisonINS_6LessOpENS_8NameLessEE23get_number_of_argumentsEv Line | Count | Source | 642 | 3.00k | size_t get_number_of_arguments() const override { return 2; } |
_ZNK5doris18FunctionComparisonINS_14LessOrEqualsOpENS_16NameLessOrEqualsEE23get_number_of_argumentsEv Line | Count | Source | 642 | 9.08k | size_t get_number_of_arguments() const override { return 2; } |
|
643 | | |
644 | | ZoneMapFilterResult evaluate_zonemap_filter(const ZoneMapEvalContext& ctx, |
645 | 2.73k | const VExprSPtrs& arguments) const override { |
646 | 2.73k | auto op = comparison_zonemap_detail::op_from_name(name); |
647 | 2.73k | DORIS_CHECK(op.has_value()); |
648 | 2.73k | return comparison_zonemap_detail::evaluate(ctx, arguments, *op); |
649 | 2.73k | } _ZNK5doris18FunctionComparisonINS_8EqualsOpENS_10NameEqualsEE23evaluate_zonemap_filterERKNS_18ZoneMapEvalContextERKSt6vectorISt10shared_ptrINS_5VExprEESaISA_EE Line | Count | Source | 645 | 1.59k | const VExprSPtrs& arguments) const override { | 646 | 1.59k | auto op = comparison_zonemap_detail::op_from_name(name); | 647 | 1.59k | DORIS_CHECK(op.has_value()); | 648 | 1.59k | return comparison_zonemap_detail::evaluate(ctx, arguments, *op); | 649 | 1.59k | } |
_ZNK5doris18FunctionComparisonINS_11NotEqualsOpENS_13NameNotEqualsEE23evaluate_zonemap_filterERKNS_18ZoneMapEvalContextERKSt6vectorISt10shared_ptrINS_5VExprEESaISA_EE Line | Count | Source | 645 | 135 | const VExprSPtrs& arguments) const override { | 646 | 135 | auto op = comparison_zonemap_detail::op_from_name(name); | 647 | 135 | DORIS_CHECK(op.has_value()); | 648 | 135 | return comparison_zonemap_detail::evaluate(ctx, arguments, *op); | 649 | 135 | } |
_ZNK5doris18FunctionComparisonINS_9GreaterOpENS_11NameGreaterEE23evaluate_zonemap_filterERKNS_18ZoneMapEvalContextERKSt6vectorISt10shared_ptrINS_5VExprEESaISA_EE Line | Count | Source | 645 | 254 | const VExprSPtrs& arguments) const override { | 646 | 254 | auto op = comparison_zonemap_detail::op_from_name(name); | 647 | 254 | DORIS_CHECK(op.has_value()); | 648 | 254 | return comparison_zonemap_detail::evaluate(ctx, arguments, *op); | 649 | 254 | } |
_ZNK5doris18FunctionComparisonINS_17GreaterOrEqualsOpENS_19NameGreaterOrEqualsEE23evaluate_zonemap_filterERKNS_18ZoneMapEvalContextERKSt6vectorISt10shared_ptrINS_5VExprEESaISA_EE Line | Count | Source | 645 | 223 | const VExprSPtrs& arguments) const override { | 646 | 223 | auto op = comparison_zonemap_detail::op_from_name(name); | 647 | 223 | DORIS_CHECK(op.has_value()); | 648 | 223 | return comparison_zonemap_detail::evaluate(ctx, arguments, *op); | 649 | 223 | } |
_ZNK5doris18FunctionComparisonINS_6LessOpENS_8NameLessEE23evaluate_zonemap_filterERKNS_18ZoneMapEvalContextERKSt6vectorISt10shared_ptrINS_5VExprEESaISA_EE Line | Count | Source | 645 | 300 | const VExprSPtrs& arguments) const override { | 646 | 300 | auto op = comparison_zonemap_detail::op_from_name(name); | 647 | 300 | DORIS_CHECK(op.has_value()); | 648 | 300 | return comparison_zonemap_detail::evaluate(ctx, arguments, *op); | 649 | 300 | } |
_ZNK5doris18FunctionComparisonINS_14LessOrEqualsOpENS_16NameLessOrEqualsEE23evaluate_zonemap_filterERKNS_18ZoneMapEvalContextERKSt6vectorISt10shared_ptrINS_5VExprEESaISA_EE Line | Count | Source | 645 | 227 | const VExprSPtrs& arguments) const override { | 646 | 227 | auto op = comparison_zonemap_detail::op_from_name(name); | 647 | 227 | DORIS_CHECK(op.has_value()); | 648 | 227 | return comparison_zonemap_detail::evaluate(ctx, arguments, *op); | 649 | 227 | } |
|
650 | | |
651 | 30.5k | bool can_evaluate_zonemap_filter(const VExprSPtrs& arguments) const override { |
652 | 30.5k | return comparison_zonemap_detail::op_from_name(name).has_value() && |
653 | 30.6k | comparison_zonemap_detail::can_evaluate(arguments); |
654 | 30.5k | } _ZNK5doris18FunctionComparisonINS_8EqualsOpENS_10NameEqualsEE27can_evaluate_zonemap_filterERKSt6vectorISt10shared_ptrINS_5VExprEESaIS7_EE Line | Count | Source | 651 | 15.1k | bool can_evaluate_zonemap_filter(const VExprSPtrs& arguments) const override { | 652 | 15.1k | return comparison_zonemap_detail::op_from_name(name).has_value() && | 653 | 15.1k | comparison_zonemap_detail::can_evaluate(arguments); | 654 | 15.1k | } |
_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.53k | comparison_zonemap_detail::can_evaluate(arguments); | 654 | 1.52k | } |
_ZNK5doris18FunctionComparisonINS_9GreaterOpENS_11NameGreaterEE27can_evaluate_zonemap_filterERKSt6vectorISt10shared_ptrINS_5VExprEESaIS7_EE Line | Count | Source | 651 | 5.83k | bool can_evaluate_zonemap_filter(const VExprSPtrs& arguments) const override { | 652 | 5.83k | return comparison_zonemap_detail::op_from_name(name).has_value() && | 653 | 5.86k | comparison_zonemap_detail::can_evaluate(arguments); | 654 | 5.83k | } |
_ZNK5doris18FunctionComparisonINS_17GreaterOrEqualsOpENS_19NameGreaterOrEqualsEE27can_evaluate_zonemap_filterERKSt6vectorISt10shared_ptrINS_5VExprEESaIS7_EE Line | Count | Source | 651 | 3.36k | bool can_evaluate_zonemap_filter(const VExprSPtrs& arguments) const override { | 652 | 3.36k | return comparison_zonemap_detail::op_from_name(name).has_value() && | 653 | 3.36k | comparison_zonemap_detail::can_evaluate(arguments); | 654 | 3.36k | } |
_ZNK5doris18FunctionComparisonINS_6LessOpENS_8NameLessEE27can_evaluate_zonemap_filterERKSt6vectorISt10shared_ptrINS_5VExprEESaIS7_EE Line | Count | Source | 651 | 3.08k | bool can_evaluate_zonemap_filter(const VExprSPtrs& arguments) const override { | 652 | 3.08k | return comparison_zonemap_detail::op_from_name(name).has_value() && | 653 | 3.08k | comparison_zonemap_detail::can_evaluate(arguments); | 654 | 3.08k | } |
_ZNK5doris18FunctionComparisonINS_14LessOrEqualsOpENS_16NameLessOrEqualsEE27can_evaluate_zonemap_filterERKSt6vectorISt10shared_ptrINS_5VExprEESaIS7_EE Line | Count | Source | 651 | 1.60k | bool can_evaluate_zonemap_filter(const VExprSPtrs& arguments) const override { | 652 | 1.60k | return comparison_zonemap_detail::op_from_name(name).has_value() && | 653 | 1.60k | comparison_zonemap_detail::can_evaluate(arguments); | 654 | 1.60k | } |
|
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 | 142 | bool can_evaluate_dictionary_filter(const VExprSPtrs& arguments) const override { |
664 | 142 | auto op = comparison_zonemap_detail::op_from_name(name); |
665 | 142 | return op.has_value() && comparison_zonemap_detail::can_evaluate(arguments); |
666 | 142 | } _ZNK5doris18FunctionComparisonINS_8EqualsOpENS_10NameEqualsEE30can_evaluate_dictionary_filterERKSt6vectorISt10shared_ptrINS_5VExprEESaIS7_EE Line | Count | Source | 663 | 25 | bool can_evaluate_dictionary_filter(const VExprSPtrs& arguments) const override { | 664 | 25 | auto op = comparison_zonemap_detail::op_from_name(name); | 665 | 25 | return op.has_value() && comparison_zonemap_detail::can_evaluate(arguments); | 666 | 25 | } |
_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 | 61 | bool can_evaluate_bloom_filter(const VExprSPtrs& arguments) const override { |
676 | 61 | auto op = comparison_zonemap_detail::op_from_name(name); |
677 | 61 | return op == comparison_zonemap_detail::Op::EQ && |
678 | 61 | expr_zonemap::can_evaluate_bloom_filter_equality(arguments); |
679 | 61 | } _ZNK5doris18FunctionComparisonINS_8EqualsOpENS_10NameEqualsEE25can_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 | } |
_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 | 265k | DataTypePtr get_return_type_impl(const DataTypes& arguments) const override { |
683 | 265k | return std::make_shared<DataTypeUInt8>(); |
684 | 265k | } _ZNK5doris18FunctionComparisonINS_8EqualsOpENS_10NameEqualsEE20get_return_type_implERKSt6vectorISt10shared_ptrIKNS_9IDataTypeEESaIS8_EE Line | Count | Source | 682 | 240k | DataTypePtr get_return_type_impl(const DataTypes& arguments) const override { | 683 | 240k | return std::make_shared<DataTypeUInt8>(); | 684 | 240k | } |
_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 | 4.98k | DataTypePtr get_return_type_impl(const DataTypes& arguments) const override { | 683 | 4.98k | return std::make_shared<DataTypeUInt8>(); | 684 | 4.98k | } |
_ZNK5doris18FunctionComparisonINS_17GreaterOrEqualsOpENS_19NameGreaterOrEqualsEE20get_return_type_implERKSt6vectorISt10shared_ptrIKNS_9IDataTypeEESaIS8_EE Line | Count | Source | 682 | 6.99k | DataTypePtr get_return_type_impl(const DataTypes& arguments) const override { | 683 | 6.99k | return std::make_shared<DataTypeUInt8>(); | 684 | 6.99k | } |
_ZNK5doris18FunctionComparisonINS_6LessOpENS_8NameLessEE20get_return_type_implERKSt6vectorISt10shared_ptrIKNS_9IDataTypeEESaIS8_EE Line | Count | Source | 682 | 3.00k | DataTypePtr get_return_type_impl(const DataTypes& arguments) const override { | 683 | 3.00k | return std::make_shared<DataTypeUInt8>(); | 684 | 3.00k | } |
_ZNK5doris18FunctionComparisonINS_14LessOrEqualsOpENS_16NameLessOrEqualsEE20get_return_type_implERKSt6vectorISt10shared_ptrIKNS_9IDataTypeEESaIS8_EE Line | Count | Source | 682 | 9.12k | DataTypePtr get_return_type_impl(const DataTypes& arguments) const override { | 683 | 9.12k | return std::make_shared<DataTypeUInt8>(); | 684 | 9.12k | } |
|
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.31k | segment_v2::InvertedIndexResultBitmap& bitmap_result) const override { |
692 | 1.31k | DCHECK(arguments.size() == 1); |
693 | 1.31k | DCHECK(data_type_with_names.size() == 1); |
694 | 1.31k | DCHECK(iterators.size() == 1); |
695 | 1.31k | auto* iter = iterators[0]; |
696 | 1.31k | auto data_type_with_name = data_type_with_names[0]; |
697 | 1.31k | if (iter == nullptr) { |
698 | 0 | return Status::OK(); |
699 | 0 | } |
700 | 1.31k | if (!segment_v2::IndexReaderHelper::has_string_or_bkd_index(iter)) { |
701 | 297 | return Status::OK(); |
702 | 297 | } |
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 | 699 | query_type = segment_v2::InvertedIndexQueryType::EQUAL_QUERY; |
707 | 699 | } else if (name_view == NameLess::name) { |
708 | 74 | query_type = segment_v2::InvertedIndexQueryType::LESS_THAN_QUERY; |
709 | 243 | } else if (name_view == NameLessOrEquals::name) { |
710 | 81 | query_type = segment_v2::InvertedIndexQueryType::LESS_EQUAL_QUERY; |
711 | 162 | } 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 | 94 | 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 | 1.02k | if (segment_v2::is_range_query(query_type) && |
720 | 1.02k | 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 | 888 | Field param_value; |
725 | 888 | arguments[0].column->get(0, param_value); |
726 | 888 | if (param_value.is_null()) { |
727 | 2 | return Status::OK(); |
728 | 2 | } |
729 | 886 | segment_v2::InvertedIndexParam param; |
730 | 886 | param.column_name = data_type_with_name.first; |
731 | 886 | param.column_type = data_type_with_name.second; |
732 | 886 | param.query_value = param_value; |
733 | 886 | param.query_type = query_type; |
734 | 886 | param.num_rows = num_rows; |
735 | 886 | param.roaring = std::make_shared<roaring::Roaring>(); |
736 | 886 | param.analyzer_ctx = analyzer_ctx; |
737 | 886 | RETURN_IF_ERROR(iter->read_from_index(segment_v2::IndexParam {¶m})); |
738 | 739 | std::shared_ptr<roaring::Roaring> null_bitmap = std::make_shared<roaring::Roaring>(); |
739 | 739 | if (iter->has_null()) { |
740 | 738 | segment_v2::InvertedIndexQueryCacheHandle null_bitmap_cache_handle; |
741 | 738 | RETURN_IF_ERROR(iter->read_null_bitmap(&null_bitmap_cache_handle)); |
742 | 738 | null_bitmap = null_bitmap_cache_handle.get_bitmap(); |
743 | 738 | } |
744 | 739 | segment_v2::InvertedIndexResultBitmap result(param.roaring, null_bitmap); |
745 | 739 | bitmap_result = result; |
746 | 739 | bitmap_result.mask_out_null(); |
747 | | |
748 | 739 | 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 | 739 | return Status::OK(); |
755 | 739 | } _ZNK5doris18FunctionComparisonINS_8EqualsOpENS_10NameEqualsEE23evaluate_inverted_indexERKSt6vectorINS_21ColumnWithTypeAndNameESaIS5_EERKS4_ISt4pairINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt10shared_ptrIKNS_9IDataTypeEEESaISL_EES4_IPNS_10segment_v213IndexIteratorESaISS_EEjPKNS_24InvertedIndexAnalyzerCtxERNSQ_25InvertedIndexResultBitmapE Line | Count | Source | 691 | 660 | segment_v2::InvertedIndexResultBitmap& bitmap_result) const override { | 692 | 660 | DCHECK(arguments.size() == 1); | 693 | 660 | DCHECK(data_type_with_names.size() == 1); | 694 | 660 | DCHECK(iterators.size() == 1); | 695 | 660 | auto* iter = iterators[0]; | 696 | 660 | auto data_type_with_name = data_type_with_names[0]; | 697 | 660 | if (iter == nullptr) { | 698 | 0 | return Status::OK(); | 699 | 0 | } | 700 | 660 | if (!segment_v2::IndexReaderHelper::has_string_or_bkd_index(iter)) { | 701 | 30 | return Status::OK(); | 702 | 30 | } | 703 | 630 | segment_v2::InvertedIndexQueryType query_type; | 704 | 630 | std::string_view name_view(name); | 705 | 633 | if (name_view == NameEquals::name || name_view == NameNotEquals::name) { | 706 | 633 | query_type = segment_v2::InvertedIndexQueryType::EQUAL_QUERY; | 707 | 18.4E | } else if (name_view == NameLess::name) { | 708 | 0 | query_type = segment_v2::InvertedIndexQueryType::LESS_THAN_QUERY; | 709 | 18.4E | } else if (name_view == NameLessOrEquals::name) { | 710 | 0 | 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 | 633 | if (segment_v2::is_range_query(query_type) && | 720 | 633 | 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 | 633 | Field param_value; | 725 | 633 | arguments[0].column->get(0, param_value); | 726 | 633 | if (param_value.is_null()) { | 727 | 2 | return Status::OK(); | 728 | 2 | } | 729 | 631 | segment_v2::InvertedIndexParam param; | 730 | 631 | param.column_name = data_type_with_name.first; | 731 | 631 | param.column_type = data_type_with_name.second; | 732 | 631 | param.query_value = param_value; | 733 | 631 | param.query_type = query_type; | 734 | 631 | param.num_rows = num_rows; | 735 | 631 | param.roaring = std::make_shared<roaring::Roaring>(); | 736 | 631 | param.analyzer_ctx = analyzer_ctx; | 737 | 631 | RETURN_IF_ERROR(iter->read_from_index(segment_v2::IndexParam {¶m})); | 738 | 592 | std::shared_ptr<roaring::Roaring> null_bitmap = std::make_shared<roaring::Roaring>(); | 739 | 592 | if (iter->has_null()) { | 740 | 592 | segment_v2::InvertedIndexQueryCacheHandle null_bitmap_cache_handle; | 741 | 592 | RETURN_IF_ERROR(iter->read_null_bitmap(&null_bitmap_cache_handle)); | 742 | 592 | null_bitmap = null_bitmap_cache_handle.get_bitmap(); | 743 | 592 | } | 744 | 592 | segment_v2::InvertedIndexResultBitmap result(param.roaring, null_bitmap); | 745 | 592 | bitmap_result = result; | 746 | 592 | bitmap_result.mask_out_null(); | 747 | | | 748 | 592 | 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 | 592 | return Status::OK(); | 755 | 592 | } |
_ZNK5doris18FunctionComparisonINS_11NotEqualsOpENS_13NameNotEqualsEE23evaluate_inverted_indexERKSt6vectorINS_21ColumnWithTypeAndNameESaIS5_EERKS4_ISt4pairINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt10shared_ptrIKNS_9IDataTypeEEESaISL_EES4_IPNS_10segment_v213IndexIteratorESaISS_EEjPKNS_24InvertedIndexAnalyzerCtxERNSQ_25InvertedIndexResultBitmapE Line | Count | Source | 691 | 71 | segment_v2::InvertedIndexResultBitmap& bitmap_result) const override { | 692 | 71 | DCHECK(arguments.size() == 1); | 693 | 71 | DCHECK(data_type_with_names.size() == 1); | 694 | 71 | DCHECK(iterators.size() == 1); | 695 | 71 | auto* iter = iterators[0]; | 696 | 71 | auto data_type_with_name = data_type_with_names[0]; | 697 | 71 | if (iter == nullptr) { | 698 | 0 | return Status::OK(); | 699 | 0 | } | 700 | 71 | if (!segment_v2::IndexReaderHelper::has_string_or_bkd_index(iter)) { | 701 | 6 | return Status::OK(); | 702 | 6 | } | 703 | 65 | segment_v2::InvertedIndexQueryType query_type; | 704 | 65 | 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 | 18.4E | } else if (name_view == NameLess::name) { | 708 | 0 | query_type = segment_v2::InvertedIndexQueryType::LESS_THAN_QUERY; | 709 | 18.4E | } else if (name_view == NameLessOrEquals::name) { | 710 | 0 | 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 | 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 | 112 | segment_v2::InvertedIndexResultBitmap& bitmap_result) const override { | 692 | 112 | DCHECK(arguments.size() == 1); | 693 | 112 | DCHECK(data_type_with_names.size() == 1); | 694 | 112 | DCHECK(iterators.size() == 1); | 695 | 112 | auto* iter = iterators[0]; | 696 | 112 | auto data_type_with_name = data_type_with_names[0]; | 697 | 112 | if (iter == nullptr) { | 698 | 0 | return Status::OK(); | 699 | 0 | } | 700 | 112 | if (!segment_v2::IndexReaderHelper::has_string_or_bkd_index(iter)) { | 701 | 39 | return Status::OK(); | 702 | 39 | } | 703 | 73 | segment_v2::InvertedIndexQueryType query_type; | 704 | 73 | 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 | 73 | } else if (name_view == NameLess::name) { | 708 | 0 | query_type = segment_v2::InvertedIndexQueryType::LESS_THAN_QUERY; | 709 | 73 | } 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 | 73 | } 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 | 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 | 94 | 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 | 94 | } else if (name_view == NameGreaterOrEquals::name) { | 714 | 94 | 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 | 94 | if (segment_v2::is_range_query(query_type) && | 720 | 94 | 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 | 47 | Field param_value; | 725 | 47 | arguments[0].column->get(0, param_value); | 726 | 47 | if (param_value.is_null()) { | 727 | 0 | return Status::OK(); | 728 | 0 | } | 729 | 47 | segment_v2::InvertedIndexParam param; | 730 | 47 | param.column_name = data_type_with_name.first; | 731 | 47 | param.column_type = data_type_with_name.second; | 732 | 47 | param.query_value = param_value; | 733 | 47 | param.query_type = query_type; | 734 | 47 | param.num_rows = num_rows; | 735 | 47 | param.roaring = std::make_shared<roaring::Roaring>(); | 736 | 47 | param.analyzer_ctx = analyzer_ctx; | 737 | 47 | RETURN_IF_ERROR(iter->read_from_index(segment_v2::IndexParam {¶m})); | 738 | 6 | std::shared_ptr<roaring::Roaring> null_bitmap = std::make_shared<roaring::Roaring>(); | 739 | 6 | if (iter->has_null()) { | 740 | 6 | segment_v2::InvertedIndexQueryCacheHandle null_bitmap_cache_handle; | 741 | 6 | RETURN_IF_ERROR(iter->read_null_bitmap(&null_bitmap_cache_handle)); | 742 | 6 | null_bitmap = null_bitmap_cache_handle.get_bitmap(); | 743 | 6 | } | 744 | 6 | segment_v2::InvertedIndexResultBitmap result(param.roaring, null_bitmap); | 745 | 6 | bitmap_result = result; | 746 | 6 | bitmap_result.mask_out_null(); | 747 | | | 748 | 6 | 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 | 6 | return Status::OK(); | 755 | 6 | } |
_ZNK5doris18FunctionComparisonINS_6LessOpENS_8NameLessEE23evaluate_inverted_indexERKSt6vectorINS_21ColumnWithTypeAndNameESaIS5_EERKS4_ISt4pairINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt10shared_ptrIKNS_9IDataTypeEEESaISL_EES4_IPNS_10segment_v213IndexIteratorESaISS_EEjPKNS_24InvertedIndexAnalyzerCtxERNSQ_25InvertedIndexResultBitmapE Line | Count | Source | 691 | 117 | segment_v2::InvertedIndexResultBitmap& bitmap_result) const override { | 692 | 117 | DCHECK(arguments.size() == 1); | 693 | 117 | DCHECK(data_type_with_names.size() == 1); | 694 | 117 | DCHECK(iterators.size() == 1); | 695 | 117 | auto* iter = iterators[0]; | 696 | 117 | auto data_type_with_name = data_type_with_names[0]; | 697 | 117 | if (iter == nullptr) { | 698 | 0 | return Status::OK(); | 699 | 0 | } | 700 | 117 | if (!segment_v2::IndexReaderHelper::has_string_or_bkd_index(iter)) { | 701 | 43 | return Status::OK(); | 702 | 43 | } | 703 | 74 | segment_v2::InvertedIndexQueryType query_type; | 704 | 74 | std::string_view name_view(name); | 705 | 74 | if (name_view == NameEquals::name || name_view == NameNotEquals::name) { | 706 | 0 | query_type = segment_v2::InvertedIndexQueryType::EQUAL_QUERY; | 707 | 74 | } else if (name_view == NameLess::name) { | 708 | 74 | query_type = segment_v2::InvertedIndexQueryType::LESS_THAN_QUERY; | 709 | 74 | } 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 | 74 | if (segment_v2::is_range_query(query_type) && | 720 | 74 | 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 | 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 | 36 | std::shared_ptr<roaring::Roaring> null_bitmap = std::make_shared<roaring::Roaring>(); | 739 | 36 | if (iter->has_null()) { | 740 | 36 | segment_v2::InvertedIndexQueryCacheHandle null_bitmap_cache_handle; | 741 | 36 | RETURN_IF_ERROR(iter->read_null_bitmap(&null_bitmap_cache_handle)); | 742 | 36 | null_bitmap = null_bitmap_cache_handle.get_bitmap(); | 743 | 36 | } | 744 | 36 | segment_v2::InvertedIndexResultBitmap result(param.roaring, null_bitmap); | 745 | 36 | bitmap_result = result; | 746 | 36 | bitmap_result.mask_out_null(); | 747 | | | 748 | 36 | 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 | 36 | return Status::OK(); | 755 | 36 | } |
_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 | 93 | return Status::OK(); | 702 | 93 | } | 703 | 81 | segment_v2::InvertedIndexQueryType query_type; | 704 | 81 | 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 | 81 | } 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 | 81 | } 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 | 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 | 9 | std::shared_ptr<roaring::Roaring> null_bitmap = std::make_shared<roaring::Roaring>(); | 739 | 9 | 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 | 9 | segment_v2::InvertedIndexResultBitmap result(param.roaring, null_bitmap); | 745 | 9 | bitmap_result = result; | 746 | 9 | bitmap_result.mask_out_null(); | 747 | | | 748 | 9 | 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 | 9 | return Status::OK(); | 755 | 9 | } |
|
756 | | |
757 | | Status execute_impl(FunctionContext* context, Block& block, const ColumnNumbers& arguments, |
758 | 120k | uint32_t result, size_t input_rows_count) const override { |
759 | 120k | const auto& col_with_type_and_name_left = block.get_by_position(arguments[0]); |
760 | 120k | const auto& col_with_type_and_name_right = block.get_by_position(arguments[1]); |
761 | | |
762 | 120k | const auto& col_left_ptr = col_with_type_and_name_left.column; |
763 | 120k | const auto& col_right_ptr = col_with_type_and_name_right.column; |
764 | 120k | const IColumn* col_left_untyped = col_with_type_and_name_left.column.get(); |
765 | 120k | const IColumn* col_right_untyped = col_with_type_and_name_right.column.get(); |
766 | | |
767 | 120k | const DataTypePtr& left_type = col_with_type_and_name_left.type; |
768 | 120k | 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 | 120k | if (left_type->equals(*right_type) && !left_type->is_nullable() && |
774 | 120k | 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 | 224k | auto can_compare = [](PrimitiveType t) -> bool { |
797 | 224k | return is_int_or_bool(t) || is_float_or_double(t) || is_ip(t) || is_date_type(t); |
798 | 224k | }; _ZZNK5doris18FunctionComparisonINS_8EqualsOpENS_10NameEqualsEE12execute_implEPNS_15FunctionContextERNS_5BlockERKSt6vectorIjSaIjEEjmENKUlNS_13PrimitiveTypeEE_clESD_ Line | Count | Source | 796 | 35.2k | auto can_compare = [](PrimitiveType t) -> bool { | 797 | 35.2k | return is_int_or_bool(t) || is_float_or_double(t) || is_ip(t) || is_date_type(t); | 798 | 35.2k | }; |
_ZZNK5doris18FunctionComparisonINS_11NotEqualsOpENS_13NameNotEqualsEE12execute_implEPNS_15FunctionContextERNS_5BlockERKSt6vectorIjSaIjEEjmENKUlNS_13PrimitiveTypeEE_clESD_ Line | Count | Source | 796 | 5.48k | auto can_compare = [](PrimitiveType t) -> bool { | 797 | 5.48k | return is_int_or_bool(t) || is_float_or_double(t) || is_ip(t) || is_date_type(t); | 798 | 5.48k | }; |
_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 | 4.52k | auto can_compare = [](PrimitiveType t) -> bool { | 797 | 4.52k | return is_int_or_bool(t) || is_float_or_double(t) || is_ip(t) || is_date_type(t); | 798 | 4.52k | }; |
_ZZNK5doris18FunctionComparisonINS_6LessOpENS_8NameLessEE12execute_implEPNS_15FunctionContextERNS_5BlockERKSt6vectorIjSaIjEEjmENKUlNS_13PrimitiveTypeEE_clESD_ Line | Count | Source | 796 | 15.1k | auto can_compare = [](PrimitiveType t) -> bool { | 797 | 15.1k | return is_int_or_bool(t) || is_float_or_double(t) || is_ip(t) || is_date_type(t); | 798 | 15.1k | }; |
_ZZNK5doris18FunctionComparisonINS_14LessOrEqualsOpENS_16NameLessOrEqualsEE12execute_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 | }; |
|
799 | | |
800 | 120k | if (can_compare(left_type->get_primitive_type()) && |
801 | 120k | 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 | 104k | 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 | 104k | } |
809 | | |
810 | 120k | auto compare_type = left_type->get_primitive_type(); |
811 | 120k | switch (compare_type) { |
812 | 274 | case TYPE_BOOLEAN: |
813 | 274 | return execute_num_type<TYPE_BOOLEAN>(block, result, col_left_ptr, col_right_ptr); |
814 | 4.83k | case TYPE_DATEV2: |
815 | 4.83k | return execute_num_type<TYPE_DATEV2>(block, result, col_left_ptr, col_right_ptr); |
816 | 1.02k | case TYPE_DATETIMEV2: |
817 | 1.02k | 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 | 6.99k | case TYPE_TINYINT: |
821 | 6.99k | return execute_num_type<TYPE_TINYINT>(block, result, col_left_ptr, col_right_ptr); |
822 | 2.14k | case TYPE_SMALLINT: |
823 | 2.14k | return execute_num_type<TYPE_SMALLINT>(block, result, col_left_ptr, col_right_ptr); |
824 | 79.0k | case TYPE_INT: |
825 | 79.0k | return execute_num_type<TYPE_INT>(block, result, col_left_ptr, col_right_ptr); |
826 | 6.58k | case TYPE_BIGINT: |
827 | 6.58k | return execute_num_type<TYPE_BIGINT>(block, result, col_left_ptr, col_right_ptr); |
828 | 732 | case TYPE_LARGEINT: |
829 | 732 | return execute_num_type<TYPE_LARGEINT>(block, result, col_left_ptr, col_right_ptr); |
830 | 46 | case TYPE_IPV4: |
831 | 46 | return execute_num_type<TYPE_IPV4>(block, result, col_left_ptr, col_right_ptr); |
832 | 46 | case TYPE_IPV6: |
833 | 46 | return execute_num_type<TYPE_IPV6>(block, result, col_left_ptr, col_right_ptr); |
834 | 566 | case TYPE_FLOAT: |
835 | 566 | return execute_num_type<TYPE_FLOAT>(block, result, col_left_ptr, col_right_ptr); |
836 | 2.16k | case TYPE_DOUBLE: |
837 | 2.16k | 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 | 388 | case TYPE_DECIMAL32: |
842 | 1.08k | case TYPE_DECIMAL64: |
843 | 3.23k | case TYPE_DECIMAL128I: |
844 | 3.33k | case TYPE_DECIMAL256: |
845 | 3.33k | return execute_decimal(block, result, col_with_type_and_name_left, |
846 | 3.33k | col_with_type_and_name_right); |
847 | 1.16k | case TYPE_CHAR: |
848 | 6.09k | case TYPE_VARCHAR: |
849 | 12.4k | case TYPE_STRING: |
850 | 12.4k | return execute_string(block, result, col_left_untyped, col_right_untyped); |
851 | 159 | default: |
852 | 159 | return execute_generic(block, result, col_with_type_and_name_left, |
853 | 159 | col_with_type_and_name_right); |
854 | 120k | } |
855 | 0 | return Status::OK(); |
856 | 120k | } _ZNK5doris18FunctionComparisonINS_8EqualsOpENS_10NameEqualsEE12execute_implEPNS_15FunctionContextERNS_5BlockERKSt6vectorIjSaIjEEjm Line | Count | Source | 758 | 23.7k | uint32_t result, size_t input_rows_count) const override { | 759 | 23.7k | const auto& col_with_type_and_name_left = block.get_by_position(arguments[0]); | 760 | 23.7k | const auto& col_with_type_and_name_right = block.get_by_position(arguments[1]); | 761 | | | 762 | 23.7k | const auto& col_left_ptr = col_with_type_and_name_left.column; | 763 | 23.7k | const auto& col_right_ptr = col_with_type_and_name_right.column; | 764 | 23.7k | const IColumn* col_left_untyped = col_with_type_and_name_left.column.get(); | 765 | 23.7k | const IColumn* col_right_untyped = col_with_type_and_name_right.column.get(); | 766 | | | 767 | 23.7k | const DataTypePtr& left_type = col_with_type_and_name_left.type; | 768 | 23.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 | 23.7k | if (left_type->equals(*right_type) && !left_type->is_nullable() && | 774 | 23.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 | 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 | 23.7k | return is_int_or_bool(t) || is_float_or_double(t) || is_ip(t) || is_date_type(t); | 798 | 23.7k | }; | 799 | | | 800 | 23.7k | if (can_compare(left_type->get_primitive_type()) && | 801 | 23.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 | 11.5k | 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 | 11.5k | } | 809 | | | 810 | 23.7k | auto compare_type = left_type->get_primitive_type(); | 811 | 23.7k | switch (compare_type) { | 812 | 101 | case TYPE_BOOLEAN: | 813 | 101 | return execute_num_type<TYPE_BOOLEAN>(block, result, col_left_ptr, col_right_ptr); | 814 | 667 | case TYPE_DATEV2: | 815 | 667 | return execute_num_type<TYPE_DATEV2>(block, result, col_left_ptr, col_right_ptr); | 816 | 463 | case TYPE_DATETIMEV2: | 817 | 463 | 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 | 4.30k | case TYPE_TINYINT: | 821 | 4.30k | return execute_num_type<TYPE_TINYINT>(block, result, col_left_ptr, col_right_ptr); | 822 | 400 | case TYPE_SMALLINT: | 823 | 400 | 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.25k | case TYPE_BIGINT: | 827 | 2.25k | return execute_num_type<TYPE_BIGINT>(block, result, col_left_ptr, col_right_ptr); | 828 | 123 | case TYPE_LARGEINT: | 829 | 123 | return execute_num_type<TYPE_LARGEINT>(block, result, col_left_ptr, col_right_ptr); | 830 | 23 | case TYPE_IPV4: | 831 | 23 | return execute_num_type<TYPE_IPV4>(block, result, col_left_ptr, col_right_ptr); | 832 | 28 | case TYPE_IPV6: | 833 | 28 | return execute_num_type<TYPE_IPV6>(block, result, col_left_ptr, col_right_ptr); | 834 | 109 | case TYPE_FLOAT: | 835 | 109 | return execute_num_type<TYPE_FLOAT>(block, result, col_left_ptr, col_right_ptr); | 836 | 976 | case TYPE_DOUBLE: | 837 | 976 | 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 | 167 | case TYPE_DECIMAL32: | 842 | 332 | case TYPE_DECIMAL64: | 843 | 1.19k | case TYPE_DECIMAL128I: | 844 | 1.23k | case TYPE_DECIMAL256: | 845 | 1.23k | return execute_decimal(block, result, col_with_type_and_name_left, | 846 | 1.23k | col_with_type_and_name_right); | 847 | 899 | case TYPE_CHAR: | 848 | 5.22k | case TYPE_VARCHAR: | 849 | 10.9k | case TYPE_STRING: | 850 | 10.9k | 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 | 23.7k | } | 855 | 0 | return Status::OK(); | 856 | 23.7k | } |
_ZNK5doris18FunctionComparisonINS_11NotEqualsOpENS_13NameNotEqualsEE12execute_implEPNS_15FunctionContextERNS_5BlockERKSt6vectorIjSaIjEEjm Line | Count | Source | 758 | 2.88k | uint32_t result, size_t input_rows_count) const override { | 759 | 2.88k | const auto& col_with_type_and_name_left = block.get_by_position(arguments[0]); | 760 | 2.88k | const auto& col_with_type_and_name_right = block.get_by_position(arguments[1]); | 761 | | | 762 | 2.88k | const auto& col_left_ptr = col_with_type_and_name_left.column; | 763 | 2.88k | const auto& col_right_ptr = col_with_type_and_name_right.column; | 764 | 2.88k | const IColumn* col_left_untyped = col_with_type_and_name_left.column.get(); | 765 | 2.88k | const IColumn* col_right_untyped = col_with_type_and_name_right.column.get(); | 766 | | | 767 | 2.88k | const DataTypePtr& left_type = col_with_type_and_name_left.type; | 768 | 2.88k | 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 | 2.88k | if (left_type->equals(*right_type) && !left_type->is_nullable() && | 774 | 2.88k | 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 | 2.88k | return is_int_or_bool(t) || is_float_or_double(t) || is_ip(t) || is_date_type(t); | 798 | 2.88k | }; | 799 | | | 800 | 2.88k | if (can_compare(left_type->get_primitive_type()) && | 801 | 2.88k | 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.60k | 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.60k | } | 809 | | | 810 | 2.88k | auto compare_type = left_type->get_primitive_type(); | 811 | 2.88k | 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 | 1.23k | case TYPE_INT: | 825 | 1.23k | return execute_num_type<TYPE_INT>(block, result, col_left_ptr, col_right_ptr); | 826 | 1.10k | case TYPE_BIGINT: | 827 | 1.10k | 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 | 64 | case TYPE_DECIMAL64: | 843 | 92 | case TYPE_DECIMAL128I: | 844 | 122 | case TYPE_DECIMAL256: | 845 | 122 | return execute_decimal(block, result, col_with_type_and_name_left, | 846 | 122 | col_with_type_and_name_right); | 847 | 1 | case TYPE_CHAR: | 848 | 36 | case TYPE_VARCHAR: | 849 | 149 | case TYPE_STRING: | 850 | 149 | 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 | 2.88k | } | 855 | 0 | return Status::OK(); | 856 | 2.88k | } |
_ZNK5doris18FunctionComparisonINS_9GreaterOpENS_11NameGreaterEE12execute_implEPNS_15FunctionContextERNS_5BlockERKSt6vectorIjSaIjEEjm Line | Count | Source | 758 | 74.4k | uint32_t result, size_t input_rows_count) const override { | 759 | 74.4k | const auto& col_with_type_and_name_left = block.get_by_position(arguments[0]); | 760 | 74.4k | const auto& col_with_type_and_name_right = block.get_by_position(arguments[1]); | 761 | | | 762 | 74.4k | const auto& col_left_ptr = col_with_type_and_name_left.column; | 763 | 74.4k | const auto& col_right_ptr = col_with_type_and_name_right.column; | 764 | 74.4k | const IColumn* col_left_untyped = col_with_type_and_name_left.column.get(); | 765 | 74.4k | const IColumn* col_right_untyped = col_with_type_and_name_right.column.get(); | 766 | | | 767 | 74.4k | const DataTypePtr& left_type = col_with_type_and_name_left.type; | 768 | 74.4k | 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.4k | if (left_type->equals(*right_type) && !left_type->is_nullable() && | 774 | 74.4k | 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.4k | return is_int_or_bool(t) || is_float_or_double(t) || is_ip(t) || is_date_type(t); | 798 | 74.4k | }; | 799 | | | 800 | 74.4k | if (can_compare(left_type->get_primitive_type()) && | 801 | 74.4k | 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.5k | 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.5k | } | 809 | | | 810 | 74.4k | auto compare_type = left_type->get_primitive_type(); | 811 | 74.4k | 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.09k | case TYPE_DATEV2: | 815 | 1.09k | return execute_num_type<TYPE_DATEV2>(block, result, col_left_ptr, col_right_ptr); | 816 | 1 | case TYPE_DATETIMEV2: | 817 | 1 | 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 | 921 | case TYPE_TINYINT: | 821 | 921 | return execute_num_type<TYPE_TINYINT>(block, result, col_left_ptr, col_right_ptr); | 822 | 1.42k | case TYPE_SMALLINT: | 823 | 1.42k | return execute_num_type<TYPE_SMALLINT>(block, result, col_left_ptr, col_right_ptr); | 824 | 67.1k | case TYPE_INT: | 825 | 67.1k | return execute_num_type<TYPE_INT>(block, result, col_left_ptr, col_right_ptr); | 826 | 1.94k | case TYPE_BIGINT: | 827 | 1.94k | return execute_num_type<TYPE_BIGINT>(block, result, col_left_ptr, col_right_ptr); | 828 | 233 | case TYPE_LARGEINT: | 829 | 233 | 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 | 541 | case TYPE_DOUBLE: | 837 | 541 | 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 | 715 | case TYPE_DECIMAL128I: | 844 | 717 | case TYPE_DECIMAL256: | 845 | 717 | return execute_decimal(block, result, col_with_type_and_name_left, | 846 | 717 | col_with_type_and_name_right); | 847 | 14 | case TYPE_CHAR: | 848 | 75 | case TYPE_VARCHAR: | 849 | 201 | case TYPE_STRING: | 850 | 201 | 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.4k | } | 855 | 0 | return Status::OK(); | 856 | 74.4k | } |
_ZNK5doris18FunctionComparisonINS_17GreaterOrEqualsOpENS_19NameGreaterOrEqualsEE12execute_implEPNS_15FunctionContextERNS_5BlockERKSt6vectorIjSaIjEEjm Line | Count | Source | 758 | 2.48k | uint32_t result, size_t input_rows_count) const override { | 759 | 2.48k | const auto& col_with_type_and_name_left = block.get_by_position(arguments[0]); | 760 | 2.48k | const auto& col_with_type_and_name_right = block.get_by_position(arguments[1]); | 761 | | | 762 | 2.48k | const auto& col_left_ptr = col_with_type_and_name_left.column; | 763 | 2.48k | const auto& col_right_ptr = col_with_type_and_name_right.column; | 764 | 2.48k | const IColumn* col_left_untyped = col_with_type_and_name_left.column.get(); | 765 | 2.48k | const IColumn* col_right_untyped = col_with_type_and_name_right.column.get(); | 766 | | | 767 | 2.48k | const DataTypePtr& left_type = col_with_type_and_name_left.type; | 768 | 2.48k | 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 | 2.48k | if (left_type->equals(*right_type) && !left_type->is_nullable() && | 774 | 2.48k | 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 | 2.48k | return is_int_or_bool(t) || is_float_or_double(t) || is_ip(t) || is_date_type(t); | 798 | 2.48k | }; | 799 | | | 800 | 2.48k | if (can_compare(left_type->get_primitive_type()) && | 801 | 2.48k | 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.04k | 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.04k | } | 809 | | | 810 | 2.48k | auto compare_type = left_type->get_primitive_type(); | 811 | 2.48k | switch (compare_type) { | 812 | 23 | case TYPE_BOOLEAN: | 813 | 23 | return execute_num_type<TYPE_BOOLEAN>(block, result, col_left_ptr, col_right_ptr); | 814 | 448 | case TYPE_DATEV2: | 815 | 448 | return execute_num_type<TYPE_DATEV2>(block, result, col_left_ptr, col_right_ptr); | 816 | 146 | case TYPE_DATETIMEV2: | 817 | 146 | 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 | 72 | case TYPE_TINYINT: | 821 | 72 | return execute_num_type<TYPE_TINYINT>(block, result, col_left_ptr, col_right_ptr); | 822 | 70 | case TYPE_SMALLINT: | 823 | 70 | return execute_num_type<TYPE_SMALLINT>(block, result, col_left_ptr, col_right_ptr); | 824 | 842 | case TYPE_INT: | 825 | 842 | return execute_num_type<TYPE_INT>(block, result, col_left_ptr, col_right_ptr); | 826 | 187 | case TYPE_BIGINT: | 827 | 187 | 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 | 138 | case TYPE_DOUBLE: | 837 | 138 | 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 | 3 | case TYPE_DECIMAL32: | 842 | 84 | case TYPE_DECIMAL64: | 843 | 150 | case TYPE_DECIMAL128I: | 844 | 167 | case TYPE_DECIMAL256: | 845 | 167 | return execute_decimal(block, result, col_with_type_and_name_left, | 846 | 167 | col_with_type_and_name_right); | 847 | 24 | case TYPE_CHAR: | 848 | 202 | case TYPE_VARCHAR: | 849 | 270 | case TYPE_STRING: | 850 | 270 | 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 | 2.48k | } | 855 | 0 | return Status::OK(); | 856 | 2.48k | } |
_ZNK5doris18FunctionComparisonINS_6LessOpENS_8NameLessEE12execute_implEPNS_15FunctionContextERNS_5BlockERKSt6vectorIjSaIjEEjm Line | Count | Source | 758 | 8.32k | uint32_t result, size_t input_rows_count) const override { | 759 | 8.32k | const auto& col_with_type_and_name_left = block.get_by_position(arguments[0]); | 760 | 8.32k | const auto& col_with_type_and_name_right = block.get_by_position(arguments[1]); | 761 | | | 762 | 8.32k | const auto& col_left_ptr = col_with_type_and_name_left.column; | 763 | 8.32k | const auto& col_right_ptr = col_with_type_and_name_right.column; | 764 | 8.32k | const IColumn* col_left_untyped = col_with_type_and_name_left.column.get(); | 765 | 8.32k | const IColumn* col_right_untyped = col_with_type_and_name_right.column.get(); | 766 | | | 767 | 8.32k | const DataTypePtr& left_type = col_with_type_and_name_left.type; | 768 | 8.32k | 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.32k | if (left_type->equals(*right_type) && !left_type->is_nullable() && | 774 | 8.32k | 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.32k | return is_int_or_bool(t) || is_float_or_double(t) || is_ip(t) || is_date_type(t); | 798 | 8.32k | }; | 799 | | | 800 | 8.32k | if (can_compare(left_type->get_primitive_type()) && | 801 | 8.32k | 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 | 6.84k | 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 | 6.84k | } | 809 | | | 810 | 8.32k | auto compare_type = left_type->get_primitive_type(); | 811 | 8.32k | switch (compare_type) { | 812 | 101 | case TYPE_BOOLEAN: | 813 | 101 | return execute_num_type<TYPE_BOOLEAN>(block, result, col_left_ptr, col_right_ptr); | 814 | 1.99k | case TYPE_DATEV2: | 815 | 1.99k | return execute_num_type<TYPE_DATEV2>(block, result, col_left_ptr, col_right_ptr); | 816 | 326 | case TYPE_DATETIMEV2: | 817 | 326 | 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 | 1.49k | case TYPE_TINYINT: | 821 | 1.49k | return execute_num_type<TYPE_TINYINT>(block, result, col_left_ptr, col_right_ptr); | 822 | 137 | case TYPE_SMALLINT: | 823 | 137 | return execute_num_type<TYPE_SMALLINT>(block, result, col_left_ptr, col_right_ptr); | 824 | 1.20k | case TYPE_INT: | 825 | 1.20k | return execute_num_type<TYPE_INT>(block, result, col_left_ptr, col_right_ptr); | 826 | 773 | case TYPE_BIGINT: | 827 | 773 | return execute_num_type<TYPE_BIGINT>(block, result, col_left_ptr, col_right_ptr); | 828 | 298 | case TYPE_LARGEINT: | 829 | 298 | 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 | 145 | case TYPE_FLOAT: | 835 | 145 | return execute_num_type<TYPE_FLOAT>(block, result, col_left_ptr, col_right_ptr); | 836 | 333 | case TYPE_DOUBLE: | 837 | 333 | 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 | 202 | case TYPE_DECIMAL32: | 842 | 420 | case TYPE_DECIMAL64: | 843 | 865 | case TYPE_DECIMAL128I: | 844 | 866 | case TYPE_DECIMAL256: | 845 | 866 | return execute_decimal(block, result, col_with_type_and_name_left, | 846 | 866 | col_with_type_and_name_right); | 847 | 185 | case TYPE_CHAR: | 848 | 399 | case TYPE_VARCHAR: | 849 | 597 | case TYPE_STRING: | 850 | 597 | 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.32k | } | 855 | 0 | return Status::OK(); | 856 | 8.32k | } |
_ZNK5doris18FunctionComparisonINS_14LessOrEqualsOpENS_16NameLessOrEqualsEE12execute_implEPNS_15FunctionContextERNS_5BlockERKSt6vectorIjSaIjEEjm Line | Count | Source | 758 | 8.45k | uint32_t result, size_t input_rows_count) const override { | 759 | 8.45k | const auto& col_with_type_and_name_left = block.get_by_position(arguments[0]); | 760 | 8.45k | const auto& col_with_type_and_name_right = block.get_by_position(arguments[1]); | 761 | | | 762 | 8.45k | const auto& col_left_ptr = col_with_type_and_name_left.column; | 763 | 8.45k | const auto& col_right_ptr = col_with_type_and_name_right.column; | 764 | 8.45k | const IColumn* col_left_untyped = col_with_type_and_name_left.column.get(); | 765 | 8.45k | const IColumn* col_right_untyped = col_with_type_and_name_right.column.get(); | 766 | | | 767 | 8.45k | const DataTypePtr& left_type = col_with_type_and_name_left.type; | 768 | 8.45k | 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.45k | if (left_type->equals(*right_type) && !left_type->is_nullable() && | 774 | 8.45k | 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 | 8.45k | return is_int_or_bool(t) || is_float_or_double(t) || is_ip(t) || is_date_type(t); | 798 | 8.45k | }; | 799 | | | 800 | 8.45k | if (can_compare(left_type->get_primitive_type()) && | 801 | 8.45k | 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.97k | 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.97k | } | 809 | | | 810 | 8.45k | auto compare_type = left_type->get_primitive_type(); | 811 | 8.45k | switch (compare_type) { | 812 | 49 | case TYPE_BOOLEAN: | 813 | 49 | return execute_num_type<TYPE_BOOLEAN>(block, result, col_left_ptr, col_right_ptr); | 814 | 568 | case TYPE_DATEV2: | 815 | 568 | return execute_num_type<TYPE_DATEV2>(block, result, col_left_ptr, col_right_ptr); | 816 | 84 | case TYPE_DATETIMEV2: | 817 | 84 | 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 | 109 | case TYPE_TINYINT: | 821 | 109 | return execute_num_type<TYPE_TINYINT>(block, result, col_left_ptr, col_right_ptr); | 822 | 120 | case TYPE_SMALLINT: | 823 | 120 | return execute_num_type<TYPE_SMALLINT>(block, result, col_left_ptr, col_right_ptr); | 824 | 6.48k | case TYPE_INT: | 825 | 6.48k | return execute_num_type<TYPE_INT>(block, result, col_left_ptr, col_right_ptr); | 826 | 325 | case TYPE_BIGINT: | 827 | 325 | return execute_num_type<TYPE_BIGINT>(block, result, col_left_ptr, col_right_ptr); | 828 | 46 | case TYPE_LARGEINT: | 829 | 46 | 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 | 112 | case TYPE_DOUBLE: | 837 | 112 | 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 | 113 | case TYPE_DECIMAL64: | 843 | 221 | case TYPE_DECIMAL128I: | 844 | 237 | case TYPE_DECIMAL256: | 845 | 237 | return execute_decimal(block, result, col_with_type_and_name_left, | 846 | 237 | col_with_type_and_name_right); | 847 | 40 | case TYPE_CHAR: | 848 | 157 | case TYPE_VARCHAR: | 849 | 243 | case TYPE_STRING: | 850 | 243 | return execute_string(block, result, col_left_untyped, col_right_untyped); | 851 | 53 | default: | 852 | 53 | return execute_generic(block, result, col_with_type_and_name_left, | 853 | 53 | col_with_type_and_name_right); | 854 | 8.45k | } | 855 | 0 | return Status::OK(); | 856 | 8.45k | } |
|
857 | | }; |
858 | | |
859 | | } // namespace doris |