be/src/exprs/function/functions_comparison.h
Line | Count | Source |
1 | | // Licensed to the Apache Software Foundation (ASF) under one |
2 | | // or more contributor license agreements. See the NOTICE file |
3 | | // distributed with this work for additional information |
4 | | // regarding copyright ownership. The ASF licenses this file |
5 | | // to you under the Apache License, Version 2.0 (the |
6 | | // "License"); you may not use this file except in compliance |
7 | | // with the License. You may obtain a copy of the License at |
8 | | // |
9 | | // http://www.apache.org/licenses/LICENSE-2.0 |
10 | | // |
11 | | // Unless required by applicable law or agreed to in writing, |
12 | | // software distributed under the License is distributed on an |
13 | | // "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY |
14 | | // KIND, either express or implied. See the License for the |
15 | | // specific language governing permissions and limitations |
16 | | // under the License. |
17 | | // This file is copied from |
18 | | // https://github.com/ClickHouse/ClickHouse/blob/master/src/Functions/FunctionsComparison.h |
19 | | // and modified by Doris |
20 | | |
21 | | #pragma once |
22 | | |
23 | | #include <compare> |
24 | | #include <limits> |
25 | | #include <optional> |
26 | | #include <string_view> |
27 | | #include <type_traits> |
28 | | |
29 | | #include "common/check.h" |
30 | | #include "common/logging.h" |
31 | | #include "core/accurate_comparison.h" |
32 | | #include "core/assert_cast.h" |
33 | | #include "core/column/column_const.h" |
34 | | #include "core/column/column_decimal.h" |
35 | | #include "core/column/column_nullable.h" |
36 | | #include "core/column/column_string.h" |
37 | | #include "core/data_type/data_type_nullable.h" |
38 | | #include "core/data_type/data_type_number.h" |
39 | | #include "core/data_type/data_type_string.h" |
40 | | #include "core/data_type/define_primitive_type.h" |
41 | | #include "core/decimal_comparison.h" |
42 | | #include "core/field.h" |
43 | | #include "core/memcmp_small.h" |
44 | | #include "core/value/vdatetime_value.h" |
45 | | #include "exprs/expr_zonemap_filter.h" |
46 | | #include "exprs/function/function.h" |
47 | | #include "exprs/function/function_helpers.h" |
48 | | #include "exprs/function/functions_logical.h" |
49 | | #include "exprs/vexpr.h" |
50 | | #include "storage/index/index_reader_helper.h" |
51 | | |
52 | | namespace doris { |
53 | | /** Comparison functions: ==, !=, <, >, <=, >=. |
54 | | * The comparison functions always return 0 or 1 (UInt8). |
55 | | * |
56 | | * You can compare the following types: |
57 | | * - numbers and decimals; |
58 | | * - strings and fixed strings; |
59 | | * - dates; |
60 | | * - datetimes; |
61 | | * within each group, but not from different groups; |
62 | | * - tuples (lexicographic comparison). |
63 | | * |
64 | | * Exception: You can compare the date and datetime with a constant string. Example: EventDate = '2015-01-01'. |
65 | | */ |
66 | | |
67 | | template <typename A, typename B, typename Op> |
68 | | struct NumComparisonImpl { |
69 | | /// If you don't specify NO_INLINE, the compiler will inline this function, but we don't need this as this function contains tight loop inside. |
70 | | static void NO_INLINE vector_vector(const PaddedPODArray<A>& a, const PaddedPODArray<B>& b, |
71 | 11.1k | PaddedPODArray<UInt8>& c) { |
72 | 11.1k | size_t size = a.size(); |
73 | 11.1k | const A* __restrict a_pos = a.data(); |
74 | 11.1k | const B* __restrict b_pos = b.data(); |
75 | 11.1k | UInt8* __restrict c_pos = c.data(); |
76 | 11.1k | const A* __restrict a_end = a_pos + size; |
77 | | |
78 | 8.20M | while (a_pos < a_end) { |
79 | 8.19M | *c_pos = Op::apply(*a_pos, *b_pos); |
80 | 8.19M | ++a_pos; |
81 | 8.19M | ++b_pos; |
82 | 8.19M | ++c_pos; |
83 | 8.19M | } |
84 | 11.1k | } _ZN5doris17NumComparisonImplIhhNS_8EqualsOpILNS_13PrimitiveTypeE2EEEE13vector_vectorERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RS9_ Line | Count | Source | 71 | 67 | PaddedPODArray<UInt8>& c) { | 72 | 67 | size_t size = a.size(); | 73 | 67 | const A* __restrict a_pos = a.data(); | 74 | 67 | const B* __restrict b_pos = b.data(); | 75 | 67 | UInt8* __restrict c_pos = c.data(); | 76 | 67 | const A* __restrict a_end = a_pos + size; | 77 | | | 78 | 134 | while (a_pos < a_end) { | 79 | 67 | *c_pos = Op::apply(*a_pos, *b_pos); | 80 | 67 | ++a_pos; | 81 | 67 | ++b_pos; | 82 | 67 | ++c_pos; | 83 | 67 | } | 84 | 67 | } |
_ZN5doris17NumComparisonImplINS_11DateV2ValueINS_15DateV2ValueTypeEEES3_NS_8EqualsOpILNS_13PrimitiveTypeE25EEEE13vector_vectorERKNS_8PODArrayIS3_Lm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESE_RNS8_IhLm4096ESB_Lm16ELm15EEE Line | Count | Source | 71 | 613 | PaddedPODArray<UInt8>& c) { | 72 | 613 | size_t size = a.size(); | 73 | 613 | const A* __restrict a_pos = a.data(); | 74 | 613 | const B* __restrict b_pos = b.data(); | 75 | 613 | UInt8* __restrict c_pos = c.data(); | 76 | 613 | const A* __restrict a_end = a_pos + size; | 77 | | | 78 | 2.16k | while (a_pos < a_end) { | 79 | 1.55k | *c_pos = Op::apply(*a_pos, *b_pos); | 80 | 1.55k | ++a_pos; | 81 | 1.55k | ++b_pos; | 82 | 1.55k | ++c_pos; | 83 | 1.55k | } | 84 | 613 | } |
_ZN5doris17NumComparisonImplINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEES3_NS_8EqualsOpILNS_13PrimitiveTypeE26EEEE13vector_vectorERKNS_8PODArrayIS3_Lm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESE_RNS8_IhLm4096ESB_Lm16ELm15EEE Line | Count | Source | 71 | 343 | PaddedPODArray<UInt8>& c) { | 72 | 343 | size_t size = a.size(); | 73 | 343 | const A* __restrict a_pos = a.data(); | 74 | 343 | const B* __restrict b_pos = b.data(); | 75 | 343 | UInt8* __restrict c_pos = c.data(); | 76 | 343 | const A* __restrict a_end = a_pos + size; | 77 | | | 78 | 704 | while (a_pos < a_end) { | 79 | 361 | *c_pos = Op::apply(*a_pos, *b_pos); | 80 | 361 | ++a_pos; | 81 | 361 | ++b_pos; | 82 | 361 | ++c_pos; | 83 | 361 | } | 84 | 343 | } |
_ZN5doris17NumComparisonImplINS_16TimestampTzValueES1_NS_8EqualsOpILNS_13PrimitiveTypeE42EEEE13vector_vectorERKNS_8PODArrayIS1_Lm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESC_RNS6_IhLm4096ES9_Lm16ELm15EEE Line | Count | Source | 71 | 2 | PaddedPODArray<UInt8>& c) { | 72 | 2 | size_t size = a.size(); | 73 | 2 | const A* __restrict a_pos = a.data(); | 74 | 2 | const B* __restrict b_pos = b.data(); | 75 | 2 | UInt8* __restrict c_pos = c.data(); | 76 | 2 | const A* __restrict a_end = a_pos + size; | 77 | | | 78 | 12 | while (a_pos < a_end) { | 79 | 10 | *c_pos = Op::apply(*a_pos, *b_pos); | 80 | 10 | ++a_pos; | 81 | 10 | ++b_pos; | 82 | 10 | ++c_pos; | 83 | 10 | } | 84 | 2 | } |
_ZN5doris17NumComparisonImplIaaNS_8EqualsOpILNS_13PrimitiveTypeE3EEEE13vector_vectorERKNS_8PODArrayIaLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 71 | 146 | PaddedPODArray<UInt8>& c) { | 72 | 146 | size_t size = a.size(); | 73 | 146 | const A* __restrict a_pos = a.data(); | 74 | 146 | const B* __restrict b_pos = b.data(); | 75 | 146 | UInt8* __restrict c_pos = c.data(); | 76 | 146 | const A* __restrict a_end = a_pos + size; | 77 | | | 78 | 433 | while (a_pos < a_end) { | 79 | 287 | *c_pos = Op::apply(*a_pos, *b_pos); | 80 | 287 | ++a_pos; | 81 | 287 | ++b_pos; | 82 | 287 | ++c_pos; | 83 | 287 | } | 84 | 146 | } |
_ZN5doris17NumComparisonImplIssNS_8EqualsOpILNS_13PrimitiveTypeE4EEEE13vector_vectorERKNS_8PODArrayIsLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 71 | 68 | PaddedPODArray<UInt8>& c) { | 72 | 68 | size_t size = a.size(); | 73 | 68 | const A* __restrict a_pos = a.data(); | 74 | 68 | const B* __restrict b_pos = b.data(); | 75 | 68 | UInt8* __restrict c_pos = c.data(); | 76 | 68 | const A* __restrict a_end = a_pos + size; | 77 | | | 78 | 136 | while (a_pos < a_end) { | 79 | 68 | *c_pos = Op::apply(*a_pos, *b_pos); | 80 | 68 | ++a_pos; | 81 | 68 | ++b_pos; | 82 | 68 | ++c_pos; | 83 | 68 | } | 84 | 68 | } |
_ZN5doris17NumComparisonImplIiiNS_8EqualsOpILNS_13PrimitiveTypeE5EEEE13vector_vectorERKNS_8PODArrayIiLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 71 | 1.00k | PaddedPODArray<UInt8>& c) { | 72 | 1.00k | size_t size = a.size(); | 73 | 1.00k | const A* __restrict a_pos = a.data(); | 74 | 1.00k | const B* __restrict b_pos = b.data(); | 75 | 1.00k | UInt8* __restrict c_pos = c.data(); | 76 | 1.00k | const A* __restrict a_end = a_pos + size; | 77 | | | 78 | 3.34k | while (a_pos < a_end) { | 79 | 2.33k | *c_pos = Op::apply(*a_pos, *b_pos); | 80 | 2.33k | ++a_pos; | 81 | 2.33k | ++b_pos; | 82 | 2.33k | ++c_pos; | 83 | 2.33k | } | 84 | 1.00k | } |
_ZN5doris17NumComparisonImplIllNS_8EqualsOpILNS_13PrimitiveTypeE6EEEE13vector_vectorERKNS_8PODArrayIlLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 71 | 279 | PaddedPODArray<UInt8>& c) { | 72 | 279 | size_t size = a.size(); | 73 | 279 | const A* __restrict a_pos = a.data(); | 74 | 279 | const B* __restrict b_pos = b.data(); | 75 | 279 | UInt8* __restrict c_pos = c.data(); | 76 | 279 | const A* __restrict a_end = a_pos + size; | 77 | | | 78 | 1.74k | while (a_pos < a_end) { | 79 | 1.46k | *c_pos = Op::apply(*a_pos, *b_pos); | 80 | 1.46k | ++a_pos; | 81 | 1.46k | ++b_pos; | 82 | 1.46k | ++c_pos; | 83 | 1.46k | } | 84 | 279 | } |
_ZN5doris17NumComparisonImplInnNS_8EqualsOpILNS_13PrimitiveTypeE7EEEE13vector_vectorERKNS_8PODArrayInLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 71 | 64 | PaddedPODArray<UInt8>& c) { | 72 | 64 | size_t size = a.size(); | 73 | 64 | const A* __restrict a_pos = a.data(); | 74 | 64 | const B* __restrict b_pos = b.data(); | 75 | 64 | UInt8* __restrict c_pos = c.data(); | 76 | 64 | const A* __restrict a_end = a_pos + size; | 77 | | | 78 | 128 | while (a_pos < a_end) { | 79 | 64 | *c_pos = Op::apply(*a_pos, *b_pos); | 80 | 64 | ++a_pos; | 81 | 64 | ++b_pos; | 82 | 64 | ++c_pos; | 83 | 64 | } | 84 | 64 | } |
_ZN5doris17NumComparisonImplIjjNS_8EqualsOpILNS_13PrimitiveTypeE36EEEE13vector_vectorERKNS_8PODArrayIjLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 71 | 5 | PaddedPODArray<UInt8>& c) { | 72 | 5 | size_t size = a.size(); | 73 | 5 | const A* __restrict a_pos = a.data(); | 74 | 5 | const B* __restrict b_pos = b.data(); | 75 | 5 | UInt8* __restrict c_pos = c.data(); | 76 | 5 | const A* __restrict a_end = a_pos + size; | 77 | | | 78 | 10 | while (a_pos < a_end) { | 79 | 5 | *c_pos = Op::apply(*a_pos, *b_pos); | 80 | 5 | ++a_pos; | 81 | 5 | ++b_pos; | 82 | 5 | ++c_pos; | 83 | 5 | } | 84 | 5 | } |
_ZN5doris17NumComparisonImplIooNS_8EqualsOpILNS_13PrimitiveTypeE37EEEE13vector_vectorERKNS_8PODArrayIoLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 71 | 13 | PaddedPODArray<UInt8>& c) { | 72 | 13 | size_t size = a.size(); | 73 | 13 | const A* __restrict a_pos = a.data(); | 74 | 13 | const B* __restrict b_pos = b.data(); | 75 | 13 | UInt8* __restrict c_pos = c.data(); | 76 | 13 | const A* __restrict a_end = a_pos + size; | 77 | | | 78 | 26 | while (a_pos < a_end) { | 79 | 13 | *c_pos = Op::apply(*a_pos, *b_pos); | 80 | 13 | ++a_pos; | 81 | 13 | ++b_pos; | 82 | 13 | ++c_pos; | 83 | 13 | } | 84 | 13 | } |
_ZN5doris17NumComparisonImplIffNS_8EqualsOpILNS_13PrimitiveTypeE8EEEE13vector_vectorERKNS_8PODArrayIfLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 71 | 98 | PaddedPODArray<UInt8>& c) { | 72 | 98 | size_t size = a.size(); | 73 | 98 | const A* __restrict a_pos = a.data(); | 74 | 98 | const B* __restrict b_pos = b.data(); | 75 | 98 | UInt8* __restrict c_pos = c.data(); | 76 | 98 | const A* __restrict a_end = a_pos + size; | 77 | | | 78 | 215 | while (a_pos < a_end) { | 79 | 117 | *c_pos = Op::apply(*a_pos, *b_pos); | 80 | 117 | ++a_pos; | 81 | 117 | ++b_pos; | 82 | 117 | ++c_pos; | 83 | 117 | } | 84 | 98 | } |
_ZN5doris17NumComparisonImplIddNS_8EqualsOpILNS_13PrimitiveTypeE9EEEE13vector_vectorERKNS_8PODArrayIdLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 71 | 85 | PaddedPODArray<UInt8>& c) { | 72 | 85 | size_t size = a.size(); | 73 | 85 | const A* __restrict a_pos = a.data(); | 74 | 85 | const B* __restrict b_pos = b.data(); | 75 | 85 | UInt8* __restrict c_pos = c.data(); | 76 | 85 | const A* __restrict a_end = a_pos + size; | 77 | | | 78 | 191 | while (a_pos < a_end) { | 79 | 106 | *c_pos = Op::apply(*a_pos, *b_pos); | 80 | 106 | ++a_pos; | 81 | 106 | ++b_pos; | 82 | 106 | ++c_pos; | 83 | 106 | } | 84 | 85 | } |
_ZN5doris17NumComparisonImplIddNS_8EqualsOpILNS_13PrimitiveTypeE27EEEE13vector_vectorERKNS_8PODArrayIdLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 71 | 4 | PaddedPODArray<UInt8>& c) { | 72 | 4 | size_t size = a.size(); | 73 | 4 | const A* __restrict a_pos = a.data(); | 74 | 4 | const B* __restrict b_pos = b.data(); | 75 | 4 | UInt8* __restrict c_pos = c.data(); | 76 | 4 | const A* __restrict a_end = a_pos + size; | 77 | | | 78 | 8 | while (a_pos < a_end) { | 79 | 4 | *c_pos = Op::apply(*a_pos, *b_pos); | 80 | 4 | ++a_pos; | 81 | 4 | ++b_pos; | 82 | 4 | ++c_pos; | 83 | 4 | } | 84 | 4 | } |
Unexecuted instantiation: _ZN5doris17NumComparisonImplIhhNS_11NotEqualsOpILNS_13PrimitiveTypeE2EEEE13vector_vectorERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RS9_ _ZN5doris17NumComparisonImplINS_11DateV2ValueINS_15DateV2ValueTypeEEES3_NS_11NotEqualsOpILNS_13PrimitiveTypeE25EEEE13vector_vectorERKNS_8PODArrayIS3_Lm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESE_RNS8_IhLm4096ESB_Lm16ELm15EEE Line | Count | Source | 71 | 47 | PaddedPODArray<UInt8>& c) { | 72 | 47 | size_t size = a.size(); | 73 | 47 | const A* __restrict a_pos = a.data(); | 74 | 47 | const B* __restrict b_pos = b.data(); | 75 | 47 | UInt8* __restrict c_pos = c.data(); | 76 | 47 | const A* __restrict a_end = a_pos + size; | 77 | | | 78 | 124 | while (a_pos < a_end) { | 79 | 77 | *c_pos = Op::apply(*a_pos, *b_pos); | 80 | 77 | ++a_pos; | 81 | 77 | ++b_pos; | 82 | 77 | ++c_pos; | 83 | 77 | } | 84 | 47 | } |
Unexecuted instantiation: _ZN5doris17NumComparisonImplINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEES3_NS_11NotEqualsOpILNS_13PrimitiveTypeE26EEEE13vector_vectorERKNS_8PODArrayIS3_Lm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESE_RNS8_IhLm4096ESB_Lm16ELm15EEE Unexecuted instantiation: _ZN5doris17NumComparisonImplINS_16TimestampTzValueES1_NS_11NotEqualsOpILNS_13PrimitiveTypeE42EEEE13vector_vectorERKNS_8PODArrayIS1_Lm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESC_RNS6_IhLm4096ES9_Lm16ELm15EEE _ZN5doris17NumComparisonImplIaaNS_11NotEqualsOpILNS_13PrimitiveTypeE3EEEE13vector_vectorERKNS_8PODArrayIaLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 71 | 56 | PaddedPODArray<UInt8>& c) { | 72 | 56 | size_t size = a.size(); | 73 | 56 | const A* __restrict a_pos = a.data(); | 74 | 56 | const B* __restrict b_pos = b.data(); | 75 | 56 | UInt8* __restrict c_pos = c.data(); | 76 | 56 | const A* __restrict a_end = a_pos + size; | 77 | | | 78 | 252 | while (a_pos < a_end) { | 79 | 196 | *c_pos = Op::apply(*a_pos, *b_pos); | 80 | 196 | ++a_pos; | 81 | 196 | ++b_pos; | 82 | 196 | ++c_pos; | 83 | 196 | } | 84 | 56 | } |
Unexecuted instantiation: _ZN5doris17NumComparisonImplIssNS_11NotEqualsOpILNS_13PrimitiveTypeE4EEEE13vector_vectorERKNS_8PODArrayIsLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE _ZN5doris17NumComparisonImplIiiNS_11NotEqualsOpILNS_13PrimitiveTypeE5EEEE13vector_vectorERKNS_8PODArrayIiLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 71 | 1.39k | PaddedPODArray<UInt8>& c) { | 72 | 1.39k | size_t size = a.size(); | 73 | 1.39k | const A* __restrict a_pos = a.data(); | 74 | 1.39k | const B* __restrict b_pos = b.data(); | 75 | 1.39k | UInt8* __restrict c_pos = c.data(); | 76 | 1.39k | const A* __restrict a_end = a_pos + size; | 77 | | | 78 | 947k | while (a_pos < a_end) { | 79 | 945k | *c_pos = Op::apply(*a_pos, *b_pos); | 80 | 945k | ++a_pos; | 81 | 945k | ++b_pos; | 82 | 945k | ++c_pos; | 83 | 945k | } | 84 | 1.39k | } |
_ZN5doris17NumComparisonImplIllNS_11NotEqualsOpILNS_13PrimitiveTypeE6EEEE13vector_vectorERKNS_8PODArrayIlLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 71 | 326 | PaddedPODArray<UInt8>& c) { | 72 | 326 | size_t size = a.size(); | 73 | 326 | const A* __restrict a_pos = a.data(); | 74 | 326 | const B* __restrict b_pos = b.data(); | 75 | 326 | UInt8* __restrict c_pos = c.data(); | 76 | 326 | const A* __restrict a_end = a_pos + size; | 77 | | | 78 | 6.18k | while (a_pos < a_end) { | 79 | 5.86k | *c_pos = Op::apply(*a_pos, *b_pos); | 80 | 5.86k | ++a_pos; | 81 | 5.86k | ++b_pos; | 82 | 5.86k | ++c_pos; | 83 | 5.86k | } | 84 | 326 | } |
Unexecuted instantiation: _ZN5doris17NumComparisonImplInnNS_11NotEqualsOpILNS_13PrimitiveTypeE7EEEE13vector_vectorERKNS_8PODArrayInLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Unexecuted instantiation: _ZN5doris17NumComparisonImplIjjNS_11NotEqualsOpILNS_13PrimitiveTypeE36EEEE13vector_vectorERKNS_8PODArrayIjLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Unexecuted instantiation: _ZN5doris17NumComparisonImplIooNS_11NotEqualsOpILNS_13PrimitiveTypeE37EEEE13vector_vectorERKNS_8PODArrayIoLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE _ZN5doris17NumComparisonImplIffNS_11NotEqualsOpILNS_13PrimitiveTypeE8EEEE13vector_vectorERKNS_8PODArrayIfLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 71 | 20 | PaddedPODArray<UInt8>& c) { | 72 | 20 | size_t size = a.size(); | 73 | 20 | const A* __restrict a_pos = a.data(); | 74 | 20 | const B* __restrict b_pos = b.data(); | 75 | 20 | UInt8* __restrict c_pos = c.data(); | 76 | 20 | const A* __restrict a_end = a_pos + size; | 77 | | | 78 | 59 | while (a_pos < a_end) { | 79 | 39 | *c_pos = Op::apply(*a_pos, *b_pos); | 80 | 39 | ++a_pos; | 81 | 39 | ++b_pos; | 82 | 39 | ++c_pos; | 83 | 39 | } | 84 | 20 | } |
_ZN5doris17NumComparisonImplIddNS_11NotEqualsOpILNS_13PrimitiveTypeE9EEEE13vector_vectorERKNS_8PODArrayIdLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 71 | 20 | PaddedPODArray<UInt8>& c) { | 72 | 20 | size_t size = a.size(); | 73 | 20 | const A* __restrict a_pos = a.data(); | 74 | 20 | const B* __restrict b_pos = b.data(); | 75 | 20 | UInt8* __restrict c_pos = c.data(); | 76 | 20 | const A* __restrict a_end = a_pos + size; | 77 | | | 78 | 59 | while (a_pos < a_end) { | 79 | 39 | *c_pos = Op::apply(*a_pos, *b_pos); | 80 | 39 | ++a_pos; | 81 | 39 | ++b_pos; | 82 | 39 | ++c_pos; | 83 | 39 | } | 84 | 20 | } |
Unexecuted instantiation: _ZN5doris17NumComparisonImplIddNS_11NotEqualsOpILNS_13PrimitiveTypeE27EEEE13vector_vectorERKNS_8PODArrayIdLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Unexecuted instantiation: _ZN5doris17NumComparisonImplIhhNS_9GreaterOpILNS_13PrimitiveTypeE2EEEE13vector_vectorERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RS9_ _ZN5doris17NumComparisonImplINS_11DateV2ValueINS_15DateV2ValueTypeEEES3_NS_9GreaterOpILNS_13PrimitiveTypeE25EEEE13vector_vectorERKNS_8PODArrayIS3_Lm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESE_RNS8_IhLm4096ESB_Lm16ELm15EEE Line | Count | Source | 71 | 957 | PaddedPODArray<UInt8>& c) { | 72 | 957 | size_t size = a.size(); | 73 | 957 | const A* __restrict a_pos = a.data(); | 74 | 957 | const B* __restrict b_pos = b.data(); | 75 | 957 | UInt8* __restrict c_pos = c.data(); | 76 | 957 | const A* __restrict a_end = a_pos + size; | 77 | | | 78 | 4.27M | while (a_pos < a_end) { | 79 | 4.27M | *c_pos = Op::apply(*a_pos, *b_pos); | 80 | 4.27M | ++a_pos; | 81 | 4.27M | ++b_pos; | 82 | 4.27M | ++c_pos; | 83 | 4.27M | } | 84 | 957 | } |
_ZN5doris17NumComparisonImplINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEES3_NS_9GreaterOpILNS_13PrimitiveTypeE26EEEE13vector_vectorERKNS_8PODArrayIS3_Lm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESE_RNS8_IhLm4096ESB_Lm16ELm15EEE Line | Count | Source | 71 | 8 | PaddedPODArray<UInt8>& c) { | 72 | 8 | size_t size = a.size(); | 73 | 8 | const A* __restrict a_pos = a.data(); | 74 | 8 | const B* __restrict b_pos = b.data(); | 75 | 8 | UInt8* __restrict c_pos = c.data(); | 76 | 8 | const A* __restrict a_end = a_pos + size; | 77 | | | 78 | 16 | while (a_pos < a_end) { | 79 | 8 | *c_pos = Op::apply(*a_pos, *b_pos); | 80 | 8 | ++a_pos; | 81 | 8 | ++b_pos; | 82 | 8 | ++c_pos; | 83 | 8 | } | 84 | 8 | } |
_ZN5doris17NumComparisonImplINS_16TimestampTzValueES1_NS_9GreaterOpILNS_13PrimitiveTypeE42EEEE13vector_vectorERKNS_8PODArrayIS1_Lm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESC_RNS6_IhLm4096ES9_Lm16ELm15EEE Line | Count | Source | 71 | 1 | PaddedPODArray<UInt8>& c) { | 72 | 1 | size_t size = a.size(); | 73 | 1 | const A* __restrict a_pos = a.data(); | 74 | 1 | const B* __restrict b_pos = b.data(); | 75 | 1 | UInt8* __restrict c_pos = c.data(); | 76 | 1 | const A* __restrict a_end = a_pos + size; | 77 | | | 78 | 10 | while (a_pos < a_end) { | 79 | 9 | *c_pos = Op::apply(*a_pos, *b_pos); | 80 | 9 | ++a_pos; | 81 | 9 | ++b_pos; | 82 | 9 | ++c_pos; | 83 | 9 | } | 84 | 1 | } |
_ZN5doris17NumComparisonImplIaaNS_9GreaterOpILNS_13PrimitiveTypeE3EEEE13vector_vectorERKNS_8PODArrayIaLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 71 | 42 | PaddedPODArray<UInt8>& c) { | 72 | 42 | size_t size = a.size(); | 73 | 42 | const A* __restrict a_pos = a.data(); | 74 | 42 | const B* __restrict b_pos = b.data(); | 75 | 42 | UInt8* __restrict c_pos = c.data(); | 76 | 42 | const A* __restrict a_end = a_pos + size; | 77 | | | 78 | 326 | while (a_pos < a_end) { | 79 | 284 | *c_pos = Op::apply(*a_pos, *b_pos); | 80 | 284 | ++a_pos; | 81 | 284 | ++b_pos; | 82 | 284 | ++c_pos; | 83 | 284 | } | 84 | 42 | } |
_ZN5doris17NumComparisonImplIssNS_9GreaterOpILNS_13PrimitiveTypeE4EEEE13vector_vectorERKNS_8PODArrayIsLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 71 | 129 | PaddedPODArray<UInt8>& c) { | 72 | 129 | size_t size = a.size(); | 73 | 129 | const A* __restrict a_pos = a.data(); | 74 | 129 | const B* __restrict b_pos = b.data(); | 75 | 129 | UInt8* __restrict c_pos = c.data(); | 76 | 129 | const A* __restrict a_end = a_pos + size; | 77 | | | 78 | 385 | while (a_pos < a_end) { | 79 | 256 | *c_pos = Op::apply(*a_pos, *b_pos); | 80 | 256 | ++a_pos; | 81 | 256 | ++b_pos; | 82 | 256 | ++c_pos; | 83 | 256 | } | 84 | 129 | } |
_ZN5doris17NumComparisonImplIiiNS_9GreaterOpILNS_13PrimitiveTypeE5EEEE13vector_vectorERKNS_8PODArrayIiLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 71 | 61 | PaddedPODArray<UInt8>& c) { | 72 | 61 | size_t size = a.size(); | 73 | 61 | const A* __restrict a_pos = a.data(); | 74 | 61 | const B* __restrict b_pos = b.data(); | 75 | 61 | UInt8* __restrict c_pos = c.data(); | 76 | 61 | const A* __restrict a_end = a_pos + size; | 77 | | | 78 | 317 | while (a_pos < a_end) { | 79 | 256 | *c_pos = Op::apply(*a_pos, *b_pos); | 80 | 256 | ++a_pos; | 81 | 256 | ++b_pos; | 82 | 256 | ++c_pos; | 83 | 256 | } | 84 | 61 | } |
_ZN5doris17NumComparisonImplIllNS_9GreaterOpILNS_13PrimitiveTypeE6EEEE13vector_vectorERKNS_8PODArrayIlLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 71 | 63 | PaddedPODArray<UInt8>& c) { | 72 | 63 | size_t size = a.size(); | 73 | 63 | const A* __restrict a_pos = a.data(); | 74 | 63 | const B* __restrict b_pos = b.data(); | 75 | 63 | UInt8* __restrict c_pos = c.data(); | 76 | 63 | const A* __restrict a_end = a_pos + size; | 77 | | | 78 | 569 | while (a_pos < a_end) { | 79 | 506 | *c_pos = Op::apply(*a_pos, *b_pos); | 80 | 506 | ++a_pos; | 81 | 506 | ++b_pos; | 82 | 506 | ++c_pos; | 83 | 506 | } | 84 | 63 | } |
_ZN5doris17NumComparisonImplInnNS_9GreaterOpILNS_13PrimitiveTypeE7EEEE13vector_vectorERKNS_8PODArrayInLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 71 | 2 | PaddedPODArray<UInt8>& c) { | 72 | 2 | size_t size = a.size(); | 73 | 2 | const A* __restrict a_pos = a.data(); | 74 | 2 | const B* __restrict b_pos = b.data(); | 75 | 2 | UInt8* __restrict c_pos = c.data(); | 76 | 2 | const A* __restrict a_end = a_pos + size; | 77 | | | 78 | 6 | while (a_pos < a_end) { | 79 | 4 | *c_pos = Op::apply(*a_pos, *b_pos); | 80 | 4 | ++a_pos; | 81 | 4 | ++b_pos; | 82 | 4 | ++c_pos; | 83 | 4 | } | 84 | 2 | } |
_ZN5doris17NumComparisonImplIjjNS_9GreaterOpILNS_13PrimitiveTypeE36EEEE13vector_vectorERKNS_8PODArrayIjLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 71 | 1 | PaddedPODArray<UInt8>& c) { | 72 | 1 | size_t size = a.size(); | 73 | 1 | const A* __restrict a_pos = a.data(); | 74 | 1 | const B* __restrict b_pos = b.data(); | 75 | 1 | UInt8* __restrict c_pos = c.data(); | 76 | 1 | const A* __restrict a_end = a_pos + size; | 77 | | | 78 | 2 | while (a_pos < a_end) { | 79 | 1 | *c_pos = Op::apply(*a_pos, *b_pos); | 80 | 1 | ++a_pos; | 81 | 1 | ++b_pos; | 82 | 1 | ++c_pos; | 83 | 1 | } | 84 | 1 | } |
_ZN5doris17NumComparisonImplIooNS_9GreaterOpILNS_13PrimitiveTypeE37EEEE13vector_vectorERKNS_8PODArrayIoLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 71 | 1 | PaddedPODArray<UInt8>& c) { | 72 | 1 | size_t size = a.size(); | 73 | 1 | const A* __restrict a_pos = a.data(); | 74 | 1 | const B* __restrict b_pos = b.data(); | 75 | 1 | UInt8* __restrict c_pos = c.data(); | 76 | 1 | const A* __restrict a_end = a_pos + size; | 77 | | | 78 | 2 | while (a_pos < a_end) { | 79 | 1 | *c_pos = Op::apply(*a_pos, *b_pos); | 80 | 1 | ++a_pos; | 81 | 1 | ++b_pos; | 82 | 1 | ++c_pos; | 83 | 1 | } | 84 | 1 | } |
_ZN5doris17NumComparisonImplIffNS_9GreaterOpILNS_13PrimitiveTypeE8EEEE13vector_vectorERKNS_8PODArrayIfLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 71 | 20 | PaddedPODArray<UInt8>& c) { | 72 | 20 | size_t size = a.size(); | 73 | 20 | const A* __restrict a_pos = a.data(); | 74 | 20 | const B* __restrict b_pos = b.data(); | 75 | 20 | UInt8* __restrict c_pos = c.data(); | 76 | 20 | const A* __restrict a_end = a_pos + size; | 77 | | | 78 | 59 | while (a_pos < a_end) { | 79 | 39 | *c_pos = Op::apply(*a_pos, *b_pos); | 80 | 39 | ++a_pos; | 81 | 39 | ++b_pos; | 82 | 39 | ++c_pos; | 83 | 39 | } | 84 | 20 | } |
_ZN5doris17NumComparisonImplIddNS_9GreaterOpILNS_13PrimitiveTypeE9EEEE13vector_vectorERKNS_8PODArrayIdLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 71 | 32 | PaddedPODArray<UInt8>& c) { | 72 | 32 | size_t size = a.size(); | 73 | 32 | const A* __restrict a_pos = a.data(); | 74 | 32 | const B* __restrict b_pos = b.data(); | 75 | 32 | UInt8* __restrict c_pos = c.data(); | 76 | 32 | const A* __restrict a_end = a_pos + size; | 77 | | | 78 | 102 | while (a_pos < a_end) { | 79 | 70 | *c_pos = Op::apply(*a_pos, *b_pos); | 80 | 70 | ++a_pos; | 81 | 70 | ++b_pos; | 82 | 70 | ++c_pos; | 83 | 70 | } | 84 | 32 | } |
Unexecuted instantiation: _ZN5doris17NumComparisonImplIddNS_9GreaterOpILNS_13PrimitiveTypeE27EEEE13vector_vectorERKNS_8PODArrayIdLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE _ZN5doris17NumComparisonImplIhhNS_17GreaterOrEqualsOpILNS_13PrimitiveTypeE2EEEE13vector_vectorERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RS9_ Line | Count | Source | 71 | 84 | PaddedPODArray<UInt8>& c) { | 72 | 84 | size_t size = a.size(); | 73 | 84 | const A* __restrict a_pos = a.data(); | 74 | 84 | const B* __restrict b_pos = b.data(); | 75 | 84 | UInt8* __restrict c_pos = c.data(); | 76 | 84 | const A* __restrict a_end = a_pos + size; | 77 | | | 78 | 168 | while (a_pos < a_end) { | 79 | 84 | *c_pos = Op::apply(*a_pos, *b_pos); | 80 | 84 | ++a_pos; | 81 | 84 | ++b_pos; | 82 | 84 | ++c_pos; | 83 | 84 | } | 84 | 84 | } |
_ZN5doris17NumComparisonImplINS_11DateV2ValueINS_15DateV2ValueTypeEEES3_NS_17GreaterOrEqualsOpILNS_13PrimitiveTypeE25EEEE13vector_vectorERKNS_8PODArrayIS3_Lm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESE_RNS8_IhLm4096ESB_Lm16ELm15EEE Line | Count | Source | 71 | 109 | PaddedPODArray<UInt8>& c) { | 72 | 109 | size_t size = a.size(); | 73 | 109 | const A* __restrict a_pos = a.data(); | 74 | 109 | const B* __restrict b_pos = b.data(); | 75 | 109 | UInt8* __restrict c_pos = c.data(); | 76 | 109 | const A* __restrict a_end = a_pos + size; | 77 | | | 78 | 218 | while (a_pos < a_end) { | 79 | 109 | *c_pos = Op::apply(*a_pos, *b_pos); | 80 | 109 | ++a_pos; | 81 | 109 | ++b_pos; | 82 | 109 | ++c_pos; | 83 | 109 | } | 84 | 109 | } |
_ZN5doris17NumComparisonImplINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEES3_NS_17GreaterOrEqualsOpILNS_13PrimitiveTypeE26EEEE13vector_vectorERKNS_8PODArrayIS3_Lm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESE_RNS8_IhLm4096ESB_Lm16ELm15EEE Line | Count | Source | 71 | 187 | PaddedPODArray<UInt8>& c) { | 72 | 187 | size_t size = a.size(); | 73 | 187 | const A* __restrict a_pos = a.data(); | 74 | 187 | const B* __restrict b_pos = b.data(); | 75 | 187 | UInt8* __restrict c_pos = c.data(); | 76 | 187 | const A* __restrict a_end = a_pos + size; | 77 | | | 78 | 426 | while (a_pos < a_end) { | 79 | 239 | *c_pos = Op::apply(*a_pos, *b_pos); | 80 | 239 | ++a_pos; | 81 | 239 | ++b_pos; | 82 | 239 | ++c_pos; | 83 | 239 | } | 84 | 187 | } |
_ZN5doris17NumComparisonImplINS_16TimestampTzValueES1_NS_17GreaterOrEqualsOpILNS_13PrimitiveTypeE42EEEE13vector_vectorERKNS_8PODArrayIS1_Lm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESC_RNS6_IhLm4096ES9_Lm16ELm15EEE Line | Count | Source | 71 | 1 | PaddedPODArray<UInt8>& c) { | 72 | 1 | size_t size = a.size(); | 73 | 1 | const A* __restrict a_pos = a.data(); | 74 | 1 | const B* __restrict b_pos = b.data(); | 75 | 1 | UInt8* __restrict c_pos = c.data(); | 76 | 1 | const A* __restrict a_end = a_pos + size; | 77 | | | 78 | 10 | while (a_pos < a_end) { | 79 | 9 | *c_pos = Op::apply(*a_pos, *b_pos); | 80 | 9 | ++a_pos; | 81 | 9 | ++b_pos; | 82 | 9 | ++c_pos; | 83 | 9 | } | 84 | 1 | } |
Unexecuted instantiation: _ZN5doris17NumComparisonImplIaaNS_17GreaterOrEqualsOpILNS_13PrimitiveTypeE3EEEE13vector_vectorERKNS_8PODArrayIaLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Unexecuted instantiation: _ZN5doris17NumComparisonImplIssNS_17GreaterOrEqualsOpILNS_13PrimitiveTypeE4EEEE13vector_vectorERKNS_8PODArrayIsLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE _ZN5doris17NumComparisonImplIiiNS_17GreaterOrEqualsOpILNS_13PrimitiveTypeE5EEEE13vector_vectorERKNS_8PODArrayIiLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 71 | 129 | PaddedPODArray<UInt8>& c) { | 72 | 129 | size_t size = a.size(); | 73 | 129 | const A* __restrict a_pos = a.data(); | 74 | 129 | const B* __restrict b_pos = b.data(); | 75 | 129 | UInt8* __restrict c_pos = c.data(); | 76 | 129 | const A* __restrict a_end = a_pos + size; | 77 | | | 78 | 269 | while (a_pos < a_end) { | 79 | 140 | *c_pos = Op::apply(*a_pos, *b_pos); | 80 | 140 | ++a_pos; | 81 | 140 | ++b_pos; | 82 | 140 | ++c_pos; | 83 | 140 | } | 84 | 129 | } |
_ZN5doris17NumComparisonImplIllNS_17GreaterOrEqualsOpILNS_13PrimitiveTypeE6EEEE13vector_vectorERKNS_8PODArrayIlLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 71 | 68 | PaddedPODArray<UInt8>& c) { | 72 | 68 | size_t size = a.size(); | 73 | 68 | const A* __restrict a_pos = a.data(); | 74 | 68 | const B* __restrict b_pos = b.data(); | 75 | 68 | UInt8* __restrict c_pos = c.data(); | 76 | 68 | const A* __restrict a_end = a_pos + size; | 77 | | | 78 | 182 | while (a_pos < a_end) { | 79 | 114 | *c_pos = Op::apply(*a_pos, *b_pos); | 80 | 114 | ++a_pos; | 81 | 114 | ++b_pos; | 82 | 114 | ++c_pos; | 83 | 114 | } | 84 | 68 | } |
Unexecuted instantiation: _ZN5doris17NumComparisonImplInnNS_17GreaterOrEqualsOpILNS_13PrimitiveTypeE7EEEE13vector_vectorERKNS_8PODArrayInLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE _ZN5doris17NumComparisonImplIjjNS_17GreaterOrEqualsOpILNS_13PrimitiveTypeE36EEEE13vector_vectorERKNS_8PODArrayIjLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 71 | 1 | PaddedPODArray<UInt8>& c) { | 72 | 1 | size_t size = a.size(); | 73 | 1 | const A* __restrict a_pos = a.data(); | 74 | 1 | const B* __restrict b_pos = b.data(); | 75 | 1 | UInt8* __restrict c_pos = c.data(); | 76 | 1 | const A* __restrict a_end = a_pos + size; | 77 | | | 78 | 2 | while (a_pos < a_end) { | 79 | 1 | *c_pos = Op::apply(*a_pos, *b_pos); | 80 | 1 | ++a_pos; | 81 | 1 | ++b_pos; | 82 | 1 | ++c_pos; | 83 | 1 | } | 84 | 1 | } |
_ZN5doris17NumComparisonImplIooNS_17GreaterOrEqualsOpILNS_13PrimitiveTypeE37EEEE13vector_vectorERKNS_8PODArrayIoLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 71 | 1 | PaddedPODArray<UInt8>& c) { | 72 | 1 | size_t size = a.size(); | 73 | 1 | const A* __restrict a_pos = a.data(); | 74 | 1 | const B* __restrict b_pos = b.data(); | 75 | 1 | UInt8* __restrict c_pos = c.data(); | 76 | 1 | const A* __restrict a_end = a_pos + size; | 77 | | | 78 | 2 | while (a_pos < a_end) { | 79 | 1 | *c_pos = Op::apply(*a_pos, *b_pos); | 80 | 1 | ++a_pos; | 81 | 1 | ++b_pos; | 82 | 1 | ++c_pos; | 83 | 1 | } | 84 | 1 | } |
_ZN5doris17NumComparisonImplIffNS_17GreaterOrEqualsOpILNS_13PrimitiveTypeE8EEEE13vector_vectorERKNS_8PODArrayIfLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 71 | 140 | PaddedPODArray<UInt8>& c) { | 72 | 140 | size_t size = a.size(); | 73 | 140 | const A* __restrict a_pos = a.data(); | 74 | 140 | const B* __restrict b_pos = b.data(); | 75 | 140 | UInt8* __restrict c_pos = c.data(); | 76 | 140 | const A* __restrict a_end = a_pos + size; | 77 | | | 78 | 299 | while (a_pos < a_end) { | 79 | 159 | *c_pos = Op::apply(*a_pos, *b_pos); | 80 | 159 | ++a_pos; | 81 | 159 | ++b_pos; | 82 | 159 | ++c_pos; | 83 | 159 | } | 84 | 140 | } |
_ZN5doris17NumComparisonImplIddNS_17GreaterOrEqualsOpILNS_13PrimitiveTypeE9EEEE13vector_vectorERKNS_8PODArrayIdLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 71 | 24 | PaddedPODArray<UInt8>& c) { | 72 | 24 | size_t size = a.size(); | 73 | 24 | const A* __restrict a_pos = a.data(); | 74 | 24 | const B* __restrict b_pos = b.data(); | 75 | 24 | UInt8* __restrict c_pos = c.data(); | 76 | 24 | const A* __restrict a_end = a_pos + size; | 77 | | | 78 | 68 | while (a_pos < a_end) { | 79 | 44 | *c_pos = Op::apply(*a_pos, *b_pos); | 80 | 44 | ++a_pos; | 81 | 44 | ++b_pos; | 82 | 44 | ++c_pos; | 83 | 44 | } | 84 | 24 | } |
Unexecuted instantiation: _ZN5doris17NumComparisonImplIddNS_17GreaterOrEqualsOpILNS_13PrimitiveTypeE27EEEE13vector_vectorERKNS_8PODArrayIdLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE _ZN5doris17NumComparisonImplIhhNS_6LessOpILNS_13PrimitiveTypeE2EEEE13vector_vectorERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RS9_ Line | Count | Source | 71 | 95 | PaddedPODArray<UInt8>& c) { | 72 | 95 | size_t size = a.size(); | 73 | 95 | const A* __restrict a_pos = a.data(); | 74 | 95 | const B* __restrict b_pos = b.data(); | 75 | 95 | UInt8* __restrict c_pos = c.data(); | 76 | 95 | const A* __restrict a_end = a_pos + size; | 77 | | | 78 | 364 | while (a_pos < a_end) { | 79 | 269 | *c_pos = Op::apply(*a_pos, *b_pos); | 80 | 269 | ++a_pos; | 81 | 269 | ++b_pos; | 82 | 269 | ++c_pos; | 83 | 269 | } | 84 | 95 | } |
_ZN5doris17NumComparisonImplINS_11DateV2ValueINS_15DateV2ValueTypeEEES3_NS_6LessOpILNS_13PrimitiveTypeE25EEEE13vector_vectorERKNS_8PODArrayIS3_Lm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESE_RNS8_IhLm4096ESB_Lm16ELm15EEE Line | Count | Source | 71 | 1.76k | PaddedPODArray<UInt8>& c) { | 72 | 1.76k | size_t size = a.size(); | 73 | 1.76k | const A* __restrict a_pos = a.data(); | 74 | 1.76k | const B* __restrict b_pos = b.data(); | 75 | 1.76k | UInt8* __restrict c_pos = c.data(); | 76 | 1.76k | const A* __restrict a_end = a_pos + size; | 77 | | | 78 | 2.95M | while (a_pos < a_end) { | 79 | 2.94M | *c_pos = Op::apply(*a_pos, *b_pos); | 80 | 2.94M | ++a_pos; | 81 | 2.94M | ++b_pos; | 82 | 2.94M | ++c_pos; | 83 | 2.94M | } | 84 | 1.76k | } |
_ZN5doris17NumComparisonImplINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEES3_NS_6LessOpILNS_13PrimitiveTypeE26EEEE13vector_vectorERKNS_8PODArrayIS3_Lm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESE_RNS8_IhLm4096ESB_Lm16ELm15EEE Line | Count | Source | 71 | 262 | PaddedPODArray<UInt8>& c) { | 72 | 262 | size_t size = a.size(); | 73 | 262 | const A* __restrict a_pos = a.data(); | 74 | 262 | const B* __restrict b_pos = b.data(); | 75 | 262 | UInt8* __restrict c_pos = c.data(); | 76 | 262 | const A* __restrict a_end = a_pos + size; | 77 | | | 78 | 872 | while (a_pos < a_end) { | 79 | 610 | *c_pos = Op::apply(*a_pos, *b_pos); | 80 | 610 | ++a_pos; | 81 | 610 | ++b_pos; | 82 | 610 | ++c_pos; | 83 | 610 | } | 84 | 262 | } |
_ZN5doris17NumComparisonImplINS_16TimestampTzValueES1_NS_6LessOpILNS_13PrimitiveTypeE42EEEE13vector_vectorERKNS_8PODArrayIS1_Lm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESC_RNS6_IhLm4096ES9_Lm16ELm15EEE Line | Count | Source | 71 | 1 | PaddedPODArray<UInt8>& c) { | 72 | 1 | size_t size = a.size(); | 73 | 1 | const A* __restrict a_pos = a.data(); | 74 | 1 | const B* __restrict b_pos = b.data(); | 75 | 1 | UInt8* __restrict c_pos = c.data(); | 76 | 1 | const A* __restrict a_end = a_pos + size; | 77 | | | 78 | 10 | while (a_pos < a_end) { | 79 | 9 | *c_pos = Op::apply(*a_pos, *b_pos); | 80 | 9 | ++a_pos; | 81 | 9 | ++b_pos; | 82 | 9 | ++c_pos; | 83 | 9 | } | 84 | 1 | } |
_ZN5doris17NumComparisonImplIaaNS_6LessOpILNS_13PrimitiveTypeE3EEEE13vector_vectorERKNS_8PODArrayIaLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 71 | 158 | PaddedPODArray<UInt8>& c) { | 72 | 158 | size_t size = a.size(); | 73 | 158 | const A* __restrict a_pos = a.data(); | 74 | 158 | const B* __restrict b_pos = b.data(); | 75 | 158 | UInt8* __restrict c_pos = c.data(); | 76 | 158 | const A* __restrict a_end = a_pos + size; | 77 | | | 78 | 490 | while (a_pos < a_end) { | 79 | 332 | *c_pos = Op::apply(*a_pos, *b_pos); | 80 | 332 | ++a_pos; | 81 | 332 | ++b_pos; | 82 | 332 | ++c_pos; | 83 | 332 | } | 84 | 158 | } |
_ZN5doris17NumComparisonImplIssNS_6LessOpILNS_13PrimitiveTypeE4EEEE13vector_vectorERKNS_8PODArrayIsLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 71 | 125 | PaddedPODArray<UInt8>& c) { | 72 | 125 | size_t size = a.size(); | 73 | 125 | const A* __restrict a_pos = a.data(); | 74 | 125 | const B* __restrict b_pos = b.data(); | 75 | 125 | UInt8* __restrict c_pos = c.data(); | 76 | 125 | const A* __restrict a_end = a_pos + size; | 77 | | | 78 | 425 | while (a_pos < a_end) { | 79 | 300 | *c_pos = Op::apply(*a_pos, *b_pos); | 80 | 300 | ++a_pos; | 81 | 300 | ++b_pos; | 82 | 300 | ++c_pos; | 83 | 300 | } | 84 | 125 | } |
_ZN5doris17NumComparisonImplIiiNS_6LessOpILNS_13PrimitiveTypeE5EEEE13vector_vectorERKNS_8PODArrayIiLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 71 | 178 | PaddedPODArray<UInt8>& c) { | 72 | 178 | size_t size = a.size(); | 73 | 178 | const A* __restrict a_pos = a.data(); | 74 | 178 | const B* __restrict b_pos = b.data(); | 75 | 178 | UInt8* __restrict c_pos = c.data(); | 76 | 178 | const A* __restrict a_end = a_pos + size; | 77 | | | 78 | 1.04k | while (a_pos < a_end) { | 79 | 870 | *c_pos = Op::apply(*a_pos, *b_pos); | 80 | 870 | ++a_pos; | 81 | 870 | ++b_pos; | 82 | 870 | ++c_pos; | 83 | 870 | } | 84 | 178 | } |
_ZN5doris17NumComparisonImplIllNS_6LessOpILNS_13PrimitiveTypeE6EEEE13vector_vectorERKNS_8PODArrayIlLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 71 | 228 | PaddedPODArray<UInt8>& c) { | 72 | 228 | size_t size = a.size(); | 73 | 228 | const A* __restrict a_pos = a.data(); | 74 | 228 | const B* __restrict b_pos = b.data(); | 75 | 228 | UInt8* __restrict c_pos = c.data(); | 76 | 228 | const A* __restrict a_end = a_pos + size; | 77 | | | 78 | 5.43k | while (a_pos < a_end) { | 79 | 5.20k | *c_pos = Op::apply(*a_pos, *b_pos); | 80 | 5.20k | ++a_pos; | 81 | 5.20k | ++b_pos; | 82 | 5.20k | ++c_pos; | 83 | 5.20k | } | 84 | 228 | } |
_ZN5doris17NumComparisonImplInnNS_6LessOpILNS_13PrimitiveTypeE7EEEE13vector_vectorERKNS_8PODArrayInLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 71 | 146 | PaddedPODArray<UInt8>& c) { | 72 | 146 | size_t size = a.size(); | 73 | 146 | const A* __restrict a_pos = a.data(); | 74 | 146 | const B* __restrict b_pos = b.data(); | 75 | 146 | UInt8* __restrict c_pos = c.data(); | 76 | 146 | const A* __restrict a_end = a_pos + size; | 77 | | | 78 | 466 | while (a_pos < a_end) { | 79 | 320 | *c_pos = Op::apply(*a_pos, *b_pos); | 80 | 320 | ++a_pos; | 81 | 320 | ++b_pos; | 82 | 320 | ++c_pos; | 83 | 320 | } | 84 | 146 | } |
_ZN5doris17NumComparisonImplIjjNS_6LessOpILNS_13PrimitiveTypeE36EEEE13vector_vectorERKNS_8PODArrayIjLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 71 | 16 | PaddedPODArray<UInt8>& c) { | 72 | 16 | size_t size = a.size(); | 73 | 16 | const A* __restrict a_pos = a.data(); | 74 | 16 | const B* __restrict b_pos = b.data(); | 75 | 16 | UInt8* __restrict c_pos = c.data(); | 76 | 16 | const A* __restrict a_end = a_pos + size; | 77 | | | 78 | 32 | while (a_pos < a_end) { | 79 | 16 | *c_pos = Op::apply(*a_pos, *b_pos); | 80 | 16 | ++a_pos; | 81 | 16 | ++b_pos; | 82 | 16 | ++c_pos; | 83 | 16 | } | 84 | 16 | } |
_ZN5doris17NumComparisonImplIooNS_6LessOpILNS_13PrimitiveTypeE37EEEE13vector_vectorERKNS_8PODArrayIoLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 71 | 16 | PaddedPODArray<UInt8>& c) { | 72 | 16 | size_t size = a.size(); | 73 | 16 | const A* __restrict a_pos = a.data(); | 74 | 16 | const B* __restrict b_pos = b.data(); | 75 | 16 | UInt8* __restrict c_pos = c.data(); | 76 | 16 | const A* __restrict a_end = a_pos + size; | 77 | | | 78 | 32 | while (a_pos < a_end) { | 79 | 16 | *c_pos = Op::apply(*a_pos, *b_pos); | 80 | 16 | ++a_pos; | 81 | 16 | ++b_pos; | 82 | 16 | ++c_pos; | 83 | 16 | } | 84 | 16 | } |
_ZN5doris17NumComparisonImplIffNS_6LessOpILNS_13PrimitiveTypeE8EEEE13vector_vectorERKNS_8PODArrayIfLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 71 | 152 | PaddedPODArray<UInt8>& c) { | 72 | 152 | size_t size = a.size(); | 73 | 152 | const A* __restrict a_pos = a.data(); | 74 | 152 | const B* __restrict b_pos = b.data(); | 75 | 152 | UInt8* __restrict c_pos = c.data(); | 76 | 152 | const A* __restrict a_end = a_pos + size; | 77 | | | 78 | 497 | while (a_pos < a_end) { | 79 | 345 | *c_pos = Op::apply(*a_pos, *b_pos); | 80 | 345 | ++a_pos; | 81 | 345 | ++b_pos; | 82 | 345 | ++c_pos; | 83 | 345 | } | 84 | 152 | } |
_ZN5doris17NumComparisonImplIddNS_6LessOpILNS_13PrimitiveTypeE9EEEE13vector_vectorERKNS_8PODArrayIdLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 71 | 150 | PaddedPODArray<UInt8>& c) { | 72 | 150 | size_t size = a.size(); | 73 | 150 | const A* __restrict a_pos = a.data(); | 74 | 150 | const B* __restrict b_pos = b.data(); | 75 | 150 | UInt8* __restrict c_pos = c.data(); | 76 | 150 | const A* __restrict a_end = a_pos + size; | 77 | | | 78 | 500 | while (a_pos < a_end) { | 79 | 350 | *c_pos = Op::apply(*a_pos, *b_pos); | 80 | 350 | ++a_pos; | 81 | 350 | ++b_pos; | 82 | 350 | ++c_pos; | 83 | 350 | } | 84 | 150 | } |
Unexecuted instantiation: _ZN5doris17NumComparisonImplIddNS_6LessOpILNS_13PrimitiveTypeE27EEEE13vector_vectorERKNS_8PODArrayIdLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE _ZN5doris17NumComparisonImplIhhNS_14LessOrEqualsOpILNS_13PrimitiveTypeE2EEEE13vector_vectorERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RS9_ Line | Count | Source | 71 | 84 | PaddedPODArray<UInt8>& c) { | 72 | 84 | size_t size = a.size(); | 73 | 84 | const A* __restrict a_pos = a.data(); | 74 | 84 | const B* __restrict b_pos = b.data(); | 75 | 84 | UInt8* __restrict c_pos = c.data(); | 76 | 84 | const A* __restrict a_end = a_pos + size; | 77 | | | 78 | 168 | while (a_pos < a_end) { | 79 | 84 | *c_pos = Op::apply(*a_pos, *b_pos); | 80 | 84 | ++a_pos; | 81 | 84 | ++b_pos; | 82 | 84 | ++c_pos; | 83 | 84 | } | 84 | 84 | } |
_ZN5doris17NumComparisonImplINS_11DateV2ValueINS_15DateV2ValueTypeEEES3_NS_14LessOrEqualsOpILNS_13PrimitiveTypeE25EEEE13vector_vectorERKNS_8PODArrayIS3_Lm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESE_RNS8_IhLm4096ESB_Lm16ELm15EEE Line | Count | Source | 71 | 518 | PaddedPODArray<UInt8>& c) { | 72 | 518 | size_t size = a.size(); | 73 | 518 | const A* __restrict a_pos = a.data(); | 74 | 518 | const B* __restrict b_pos = b.data(); | 75 | 518 | UInt8* __restrict c_pos = c.data(); | 76 | 518 | const A* __restrict a_end = a_pos + size; | 77 | | | 78 | 6.90k | while (a_pos < a_end) { | 79 | 6.38k | *c_pos = Op::apply(*a_pos, *b_pos); | 80 | 6.38k | ++a_pos; | 81 | 6.38k | ++b_pos; | 82 | 6.38k | ++c_pos; | 83 | 6.38k | } | 84 | 518 | } |
_ZN5doris17NumComparisonImplINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEES3_NS_14LessOrEqualsOpILNS_13PrimitiveTypeE26EEEE13vector_vectorERKNS_8PODArrayIS3_Lm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESE_RNS8_IhLm4096ESB_Lm16ELm15EEE Line | Count | Source | 71 | 180 | PaddedPODArray<UInt8>& c) { | 72 | 180 | size_t size = a.size(); | 73 | 180 | const A* __restrict a_pos = a.data(); | 74 | 180 | const B* __restrict b_pos = b.data(); | 75 | 180 | UInt8* __restrict c_pos = c.data(); | 76 | 180 | const A* __restrict a_end = a_pos + size; | 77 | | | 78 | 360 | while (a_pos < a_end) { | 79 | 180 | *c_pos = Op::apply(*a_pos, *b_pos); | 80 | 180 | ++a_pos; | 81 | 180 | ++b_pos; | 82 | 180 | ++c_pos; | 83 | 180 | } | 84 | 180 | } |
_ZN5doris17NumComparisonImplINS_16TimestampTzValueES1_NS_14LessOrEqualsOpILNS_13PrimitiveTypeE42EEEE13vector_vectorERKNS_8PODArrayIS1_Lm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESC_RNS6_IhLm4096ES9_Lm16ELm15EEE Line | Count | Source | 71 | 1 | PaddedPODArray<UInt8>& c) { | 72 | 1 | size_t size = a.size(); | 73 | 1 | const A* __restrict a_pos = a.data(); | 74 | 1 | const B* __restrict b_pos = b.data(); | 75 | 1 | UInt8* __restrict c_pos = c.data(); | 76 | 1 | const A* __restrict a_end = a_pos + size; | 77 | | | 78 | 10 | while (a_pos < a_end) { | 79 | 9 | *c_pos = Op::apply(*a_pos, *b_pos); | 80 | 9 | ++a_pos; | 81 | 9 | ++b_pos; | 82 | 9 | ++c_pos; | 83 | 9 | } | 84 | 1 | } |
_ZN5doris17NumComparisonImplIaaNS_14LessOrEqualsOpILNS_13PrimitiveTypeE3EEEE13vector_vectorERKNS_8PODArrayIaLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 71 | 1 | PaddedPODArray<UInt8>& c) { | 72 | 1 | size_t size = a.size(); | 73 | 1 | const A* __restrict a_pos = a.data(); | 74 | 1 | const B* __restrict b_pos = b.data(); | 75 | 1 | UInt8* __restrict c_pos = c.data(); | 76 | 1 | const A* __restrict a_end = a_pos + size; | 77 | | | 78 | 5 | while (a_pos < a_end) { | 79 | 4 | *c_pos = Op::apply(*a_pos, *b_pos); | 80 | 4 | ++a_pos; | 81 | 4 | ++b_pos; | 82 | 4 | ++c_pos; | 83 | 4 | } | 84 | 1 | } |
Unexecuted instantiation: _ZN5doris17NumComparisonImplIssNS_14LessOrEqualsOpILNS_13PrimitiveTypeE4EEEE13vector_vectorERKNS_8PODArrayIsLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE _ZN5doris17NumComparisonImplIiiNS_14LessOrEqualsOpILNS_13PrimitiveTypeE5EEEE13vector_vectorERKNS_8PODArrayIiLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 71 | 118 | PaddedPODArray<UInt8>& c) { | 72 | 118 | size_t size = a.size(); | 73 | 118 | const A* __restrict a_pos = a.data(); | 74 | 118 | const B* __restrict b_pos = b.data(); | 75 | 118 | UInt8* __restrict c_pos = c.data(); | 76 | 118 | const A* __restrict a_end = a_pos + size; | 77 | | | 78 | 249 | while (a_pos < a_end) { | 79 | 131 | *c_pos = Op::apply(*a_pos, *b_pos); | 80 | 131 | ++a_pos; | 81 | 131 | ++b_pos; | 82 | 131 | ++c_pos; | 83 | 131 | } | 84 | 118 | } |
_ZN5doris17NumComparisonImplIllNS_14LessOrEqualsOpILNS_13PrimitiveTypeE6EEEE13vector_vectorERKNS_8PODArrayIlLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 71 | 129 | PaddedPODArray<UInt8>& c) { | 72 | 129 | size_t size = a.size(); | 73 | 129 | const A* __restrict a_pos = a.data(); | 74 | 129 | const B* __restrict b_pos = b.data(); | 75 | 129 | UInt8* __restrict c_pos = c.data(); | 76 | 129 | const A* __restrict a_end = a_pos + size; | 77 | | | 78 | 309 | while (a_pos < a_end) { | 79 | 180 | *c_pos = Op::apply(*a_pos, *b_pos); | 80 | 180 | ++a_pos; | 81 | 180 | ++b_pos; | 82 | 180 | ++c_pos; | 83 | 180 | } | 84 | 129 | } |
Unexecuted instantiation: _ZN5doris17NumComparisonImplInnNS_14LessOrEqualsOpILNS_13PrimitiveTypeE7EEEE13vector_vectorERKNS_8PODArrayInLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Unexecuted instantiation: _ZN5doris17NumComparisonImplIjjNS_14LessOrEqualsOpILNS_13PrimitiveTypeE36EEEE13vector_vectorERKNS_8PODArrayIjLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Unexecuted instantiation: _ZN5doris17NumComparisonImplIooNS_14LessOrEqualsOpILNS_13PrimitiveTypeE37EEEE13vector_vectorERKNS_8PODArrayIoLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE _ZN5doris17NumComparisonImplIffNS_14LessOrEqualsOpILNS_13PrimitiveTypeE8EEEE13vector_vectorERKNS_8PODArrayIfLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 71 | 140 | PaddedPODArray<UInt8>& c) { | 72 | 140 | size_t size = a.size(); | 73 | 140 | const A* __restrict a_pos = a.data(); | 74 | 140 | const B* __restrict b_pos = b.data(); | 75 | 140 | UInt8* __restrict c_pos = c.data(); | 76 | 140 | const A* __restrict a_end = a_pos + size; | 77 | | | 78 | 299 | while (a_pos < a_end) { | 79 | 159 | *c_pos = Op::apply(*a_pos, *b_pos); | 80 | 159 | ++a_pos; | 81 | 159 | ++b_pos; | 82 | 159 | ++c_pos; | 83 | 159 | } | 84 | 140 | } |
_ZN5doris17NumComparisonImplIddNS_14LessOrEqualsOpILNS_13PrimitiveTypeE9EEEE13vector_vectorERKNS_8PODArrayIdLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 71 | 20 | PaddedPODArray<UInt8>& c) { | 72 | 20 | size_t size = a.size(); | 73 | 20 | const A* __restrict a_pos = a.data(); | 74 | 20 | const B* __restrict b_pos = b.data(); | 75 | 20 | UInt8* __restrict c_pos = c.data(); | 76 | 20 | const A* __restrict a_end = a_pos + size; | 77 | | | 78 | 59 | while (a_pos < a_end) { | 79 | 39 | *c_pos = Op::apply(*a_pos, *b_pos); | 80 | 39 | ++a_pos; | 81 | 39 | ++b_pos; | 82 | 39 | ++c_pos; | 83 | 39 | } | 84 | 20 | } |
Unexecuted instantiation: _ZN5doris17NumComparisonImplIddNS_14LessOrEqualsOpILNS_13PrimitiveTypeE27EEEE13vector_vectorERKNS_8PODArrayIdLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE |
85 | | |
86 | | static void NO_INLINE vector_constant(const PaddedPODArray<A>& a, B b, |
87 | 137k | PaddedPODArray<UInt8>& c) { |
88 | 137k | size_t size = a.size(); |
89 | 137k | const A* __restrict a_pos = a.data(); |
90 | 137k | UInt8* __restrict c_pos = c.data(); |
91 | 137k | const A* __restrict a_end = a_pos + size; |
92 | | |
93 | 96.3M | while (a_pos < a_end) { |
94 | 96.1M | *c_pos = Op::apply(*a_pos, b); |
95 | 96.1M | ++a_pos; |
96 | 96.1M | ++c_pos; |
97 | 96.1M | } |
98 | 137k | } _ZN5doris17NumComparisonImplIhhNS_8EqualsOpILNS_13PrimitiveTypeE2EEEE15vector_constantERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEhRS9_ Line | Count | Source | 87 | 1.49k | PaddedPODArray<UInt8>& c) { | 88 | 1.49k | size_t size = a.size(); | 89 | 1.49k | const A* __restrict a_pos = a.data(); | 90 | 1.49k | UInt8* __restrict c_pos = c.data(); | 91 | 1.49k | const A* __restrict a_end = a_pos + size; | 92 | | | 93 | 4.83k | while (a_pos < a_end) { | 94 | 3.33k | *c_pos = Op::apply(*a_pos, b); | 95 | 3.33k | ++a_pos; | 96 | 3.33k | ++c_pos; | 97 | 3.33k | } | 98 | 1.49k | } |
_ZN5doris17NumComparisonImplINS_11DateV2ValueINS_15DateV2ValueTypeEEES3_NS_8EqualsOpILNS_13PrimitiveTypeE25EEEE15vector_constantERKNS_8PODArrayIS3_Lm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEES3_RNS8_IhLm4096ESB_Lm16ELm15EEE Line | Count | Source | 87 | 876 | PaddedPODArray<UInt8>& c) { | 88 | 876 | size_t size = a.size(); | 89 | 876 | const A* __restrict a_pos = a.data(); | 90 | 876 | UInt8* __restrict c_pos = c.data(); | 91 | 876 | const A* __restrict a_end = a_pos + size; | 92 | | | 93 | 206k | while (a_pos < a_end) { | 94 | 205k | *c_pos = Op::apply(*a_pos, b); | 95 | 205k | ++a_pos; | 96 | 205k | ++c_pos; | 97 | 205k | } | 98 | 876 | } |
_ZN5doris17NumComparisonImplINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEES3_NS_8EqualsOpILNS_13PrimitiveTypeE26EEEE15vector_constantERKNS_8PODArrayIS3_Lm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEES3_RNS8_IhLm4096ESB_Lm16ELm15EEE Line | Count | Source | 87 | 311 | PaddedPODArray<UInt8>& c) { | 88 | 311 | size_t size = a.size(); | 89 | 311 | const A* __restrict a_pos = a.data(); | 90 | 311 | UInt8* __restrict c_pos = c.data(); | 91 | 311 | const A* __restrict a_end = a_pos + size; | 92 | | | 93 | 101k | while (a_pos < a_end) { | 94 | 100k | *c_pos = Op::apply(*a_pos, b); | 95 | 100k | ++a_pos; | 96 | 100k | ++c_pos; | 97 | 100k | } | 98 | 311 | } |
Unexecuted instantiation: _ZN5doris17NumComparisonImplINS_16TimestampTzValueES1_NS_8EqualsOpILNS_13PrimitiveTypeE42EEEE15vector_constantERKNS_8PODArrayIS1_Lm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEES1_RNS6_IhLm4096ES9_Lm16ELm15EEE _ZN5doris17NumComparisonImplIaaNS_8EqualsOpILNS_13PrimitiveTypeE3EEEE15vector_constantERKNS_8PODArrayIaLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEaRNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 87 | 5.20k | PaddedPODArray<UInt8>& c) { | 88 | 5.20k | size_t size = a.size(); | 89 | 5.20k | const A* __restrict a_pos = a.data(); | 90 | 5.20k | UInt8* __restrict c_pos = c.data(); | 91 | 5.20k | const A* __restrict a_end = a_pos + size; | 92 | | | 93 | 9.02M | while (a_pos < a_end) { | 94 | 9.02M | *c_pos = Op::apply(*a_pos, b); | 95 | 9.02M | ++a_pos; | 96 | 9.02M | ++c_pos; | 97 | 9.02M | } | 98 | 5.20k | } |
_ZN5doris17NumComparisonImplIssNS_8EqualsOpILNS_13PrimitiveTypeE4EEEE15vector_constantERKNS_8PODArrayIsLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEsRNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 87 | 811 | PaddedPODArray<UInt8>& c) { | 88 | 811 | size_t size = a.size(); | 89 | 811 | const A* __restrict a_pos = a.data(); | 90 | 811 | UInt8* __restrict c_pos = c.data(); | 91 | 811 | const A* __restrict a_end = a_pos + size; | 92 | | | 93 | 160k | while (a_pos < a_end) { | 94 | 160k | *c_pos = Op::apply(*a_pos, b); | 95 | 160k | ++a_pos; | 96 | 160k | ++c_pos; | 97 | 160k | } | 98 | 811 | } |
_ZN5doris17NumComparisonImplIiiNS_8EqualsOpILNS_13PrimitiveTypeE5EEEE15vector_constantERKNS_8PODArrayIiLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEiRNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 87 | 7.86k | PaddedPODArray<UInt8>& c) { | 88 | 7.86k | size_t size = a.size(); | 89 | 7.86k | const A* __restrict a_pos = a.data(); | 90 | 7.86k | UInt8* __restrict c_pos = c.data(); | 91 | 7.86k | const A* __restrict a_end = a_pos + size; | 92 | | | 93 | 1.26M | while (a_pos < a_end) { | 94 | 1.25M | *c_pos = Op::apply(*a_pos, b); | 95 | 1.25M | ++a_pos; | 96 | 1.25M | ++c_pos; | 97 | 1.25M | } | 98 | 7.86k | } |
_ZN5doris17NumComparisonImplIllNS_8EqualsOpILNS_13PrimitiveTypeE6EEEE15vector_constantERKNS_8PODArrayIlLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEElRNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 87 | 17.7k | PaddedPODArray<UInt8>& c) { | 88 | 17.7k | size_t size = a.size(); | 89 | 17.7k | const A* __restrict a_pos = a.data(); | 90 | 17.7k | UInt8* __restrict c_pos = c.data(); | 91 | 17.7k | const A* __restrict a_end = a_pos + size; | 92 | | | 93 | 3.03M | while (a_pos < a_end) { | 94 | 3.01M | *c_pos = Op::apply(*a_pos, b); | 95 | 3.01M | ++a_pos; | 96 | 3.01M | ++c_pos; | 97 | 3.01M | } | 98 | 17.7k | } |
_ZN5doris17NumComparisonImplInnNS_8EqualsOpILNS_13PrimitiveTypeE7EEEE15vector_constantERKNS_8PODArrayInLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEnRNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 87 | 63 | PaddedPODArray<UInt8>& c) { | 88 | 63 | size_t size = a.size(); | 89 | 63 | const A* __restrict a_pos = a.data(); | 90 | 63 | UInt8* __restrict c_pos = c.data(); | 91 | 63 | const A* __restrict a_end = a_pos + size; | 92 | | | 93 | 100k | while (a_pos < a_end) { | 94 | 100k | *c_pos = Op::apply(*a_pos, b); | 95 | 100k | ++a_pos; | 96 | 100k | ++c_pos; | 97 | 100k | } | 98 | 63 | } |
_ZN5doris17NumComparisonImplIjjNS_8EqualsOpILNS_13PrimitiveTypeE36EEEE15vector_constantERKNS_8PODArrayIjLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEjRNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 87 | 15 | PaddedPODArray<UInt8>& c) { | 88 | 15 | size_t size = a.size(); | 89 | 15 | const A* __restrict a_pos = a.data(); | 90 | 15 | UInt8* __restrict c_pos = c.data(); | 91 | 15 | const A* __restrict a_end = a_pos + size; | 92 | | | 93 | 129 | while (a_pos < a_end) { | 94 | 114 | *c_pos = Op::apply(*a_pos, b); | 95 | 114 | ++a_pos; | 96 | 114 | ++c_pos; | 97 | 114 | } | 98 | 15 | } |
_ZN5doris17NumComparisonImplIooNS_8EqualsOpILNS_13PrimitiveTypeE37EEEE15vector_constantERKNS_8PODArrayIoLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEoRNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 87 | 6 | PaddedPODArray<UInt8>& c) { | 88 | 6 | size_t size = a.size(); | 89 | 6 | const A* __restrict a_pos = a.data(); | 90 | 6 | UInt8* __restrict c_pos = c.data(); | 91 | 6 | const A* __restrict a_end = a_pos + size; | 92 | | | 93 | 12 | while (a_pos < a_end) { | 94 | 6 | *c_pos = Op::apply(*a_pos, b); | 95 | 6 | ++a_pos; | 96 | 6 | ++c_pos; | 97 | 6 | } | 98 | 6 | } |
_ZN5doris17NumComparisonImplIffNS_8EqualsOpILNS_13PrimitiveTypeE8EEEE15vector_constantERKNS_8PODArrayIfLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEfRNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 87 | 2 | PaddedPODArray<UInt8>& c) { | 88 | 2 | size_t size = a.size(); | 89 | 2 | const A* __restrict a_pos = a.data(); | 90 | 2 | UInt8* __restrict c_pos = c.data(); | 91 | 2 | const A* __restrict a_end = a_pos + size; | 92 | | | 93 | 4 | while (a_pos < a_end) { | 94 | 2 | *c_pos = Op::apply(*a_pos, b); | 95 | 2 | ++a_pos; | 96 | 2 | ++c_pos; | 97 | 2 | } | 98 | 2 | } |
_ZN5doris17NumComparisonImplIddNS_8EqualsOpILNS_13PrimitiveTypeE9EEEE15vector_constantERKNS_8PODArrayIdLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEdRNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 87 | 613 | PaddedPODArray<UInt8>& c) { | 88 | 613 | size_t size = a.size(); | 89 | 613 | const A* __restrict a_pos = a.data(); | 90 | 613 | UInt8* __restrict c_pos = c.data(); | 91 | 613 | const A* __restrict a_end = a_pos + size; | 92 | | | 93 | 712k | while (a_pos < a_end) { | 94 | 711k | *c_pos = Op::apply(*a_pos, b); | 95 | 711k | ++a_pos; | 96 | 711k | ++c_pos; | 97 | 711k | } | 98 | 613 | } |
Unexecuted instantiation: _ZN5doris17NumComparisonImplIddNS_8EqualsOpILNS_13PrimitiveTypeE27EEEE15vector_constantERKNS_8PODArrayIdLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEdRNS5_IhLm4096ES8_Lm16ELm15EEE Unexecuted instantiation: _ZN5doris17NumComparisonImplIhhNS_11NotEqualsOpILNS_13PrimitiveTypeE2EEEE15vector_constantERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEhRS9_ _ZN5doris17NumComparisonImplINS_11DateV2ValueINS_15DateV2ValueTypeEEES3_NS_11NotEqualsOpILNS_13PrimitiveTypeE25EEEE15vector_constantERKNS_8PODArrayIS3_Lm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEES3_RNS8_IhLm4096ESB_Lm16ELm15EEE Line | Count | Source | 87 | 7 | PaddedPODArray<UInt8>& c) { | 88 | 7 | size_t size = a.size(); | 89 | 7 | const A* __restrict a_pos = a.data(); | 90 | 7 | UInt8* __restrict c_pos = c.data(); | 91 | 7 | const A* __restrict a_end = a_pos + size; | 92 | | | 93 | 64 | while (a_pos < a_end) { | 94 | 57 | *c_pos = Op::apply(*a_pos, b); | 95 | 57 | ++a_pos; | 96 | 57 | ++c_pos; | 97 | 57 | } | 98 | 7 | } |
_ZN5doris17NumComparisonImplINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEES3_NS_11NotEqualsOpILNS_13PrimitiveTypeE26EEEE15vector_constantERKNS_8PODArrayIS3_Lm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEES3_RNS8_IhLm4096ESB_Lm16ELm15EEE Line | Count | Source | 87 | 4 | PaddedPODArray<UInt8>& c) { | 88 | 4 | size_t size = a.size(); | 89 | 4 | const A* __restrict a_pos = a.data(); | 90 | 4 | UInt8* __restrict c_pos = c.data(); | 91 | 4 | const A* __restrict a_end = a_pos + size; | 92 | | | 93 | 8 | while (a_pos < a_end) { | 94 | 4 | *c_pos = Op::apply(*a_pos, b); | 95 | 4 | ++a_pos; | 96 | 4 | ++c_pos; | 97 | 4 | } | 98 | 4 | } |
Unexecuted instantiation: _ZN5doris17NumComparisonImplINS_16TimestampTzValueES1_NS_11NotEqualsOpILNS_13PrimitiveTypeE42EEEE15vector_constantERKNS_8PODArrayIS1_Lm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEES1_RNS6_IhLm4096ES9_Lm16ELm15EEE _ZN5doris17NumComparisonImplIaaNS_11NotEqualsOpILNS_13PrimitiveTypeE3EEEE15vector_constantERKNS_8PODArrayIaLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEaRNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 87 | 44 | PaddedPODArray<UInt8>& c) { | 88 | 44 | size_t size = a.size(); | 89 | 44 | const A* __restrict a_pos = a.data(); | 90 | 44 | UInt8* __restrict c_pos = c.data(); | 91 | 44 | const A* __restrict a_end = a_pos + size; | 92 | | | 93 | 1.24k | while (a_pos < a_end) { | 94 | 1.19k | *c_pos = Op::apply(*a_pos, b); | 95 | 1.19k | ++a_pos; | 96 | 1.19k | ++c_pos; | 97 | 1.19k | } | 98 | 44 | } |
_ZN5doris17NumComparisonImplIssNS_11NotEqualsOpILNS_13PrimitiveTypeE4EEEE15vector_constantERKNS_8PODArrayIsLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEsRNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 87 | 10 | PaddedPODArray<UInt8>& c) { | 88 | 10 | size_t size = a.size(); | 89 | 10 | const A* __restrict a_pos = a.data(); | 90 | 10 | UInt8* __restrict c_pos = c.data(); | 91 | 10 | const A* __restrict a_end = a_pos + size; | 92 | | | 93 | 786 | while (a_pos < a_end) { | 94 | 776 | *c_pos = Op::apply(*a_pos, b); | 95 | 776 | ++a_pos; | 96 | 776 | ++c_pos; | 97 | 776 | } | 98 | 10 | } |
_ZN5doris17NumComparisonImplIiiNS_11NotEqualsOpILNS_13PrimitiveTypeE5EEEE15vector_constantERKNS_8PODArrayIiLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEiRNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 87 | 1.19k | PaddedPODArray<UInt8>& c) { | 88 | 1.19k | size_t size = a.size(); | 89 | 1.19k | const A* __restrict a_pos = a.data(); | 90 | 1.19k | UInt8* __restrict c_pos = c.data(); | 91 | 1.19k | const A* __restrict a_end = a_pos + size; | 92 | | | 93 | 629k | while (a_pos < a_end) { | 94 | 628k | *c_pos = Op::apply(*a_pos, b); | 95 | 628k | ++a_pos; | 96 | 628k | ++c_pos; | 97 | 628k | } | 98 | 1.19k | } |
_ZN5doris17NumComparisonImplIllNS_11NotEqualsOpILNS_13PrimitiveTypeE6EEEE15vector_constantERKNS_8PODArrayIlLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEElRNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 87 | 2.71k | PaddedPODArray<UInt8>& c) { | 88 | 2.71k | size_t size = a.size(); | 89 | 2.71k | const A* __restrict a_pos = a.data(); | 90 | 2.71k | UInt8* __restrict c_pos = c.data(); | 91 | 2.71k | const A* __restrict a_end = a_pos + size; | 92 | | | 93 | 272k | while (a_pos < a_end) { | 94 | 270k | *c_pos = Op::apply(*a_pos, b); | 95 | 270k | ++a_pos; | 96 | 270k | ++c_pos; | 97 | 270k | } | 98 | 2.71k | } |
Unexecuted instantiation: _ZN5doris17NumComparisonImplInnNS_11NotEqualsOpILNS_13PrimitiveTypeE7EEEE15vector_constantERKNS_8PODArrayInLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEnRNS5_IhLm4096ES8_Lm16ELm15EEE Unexecuted instantiation: _ZN5doris17NumComparisonImplIjjNS_11NotEqualsOpILNS_13PrimitiveTypeE36EEEE15vector_constantERKNS_8PODArrayIjLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEjRNS5_IhLm4096ES8_Lm16ELm15EEE Unexecuted instantiation: _ZN5doris17NumComparisonImplIooNS_11NotEqualsOpILNS_13PrimitiveTypeE37EEEE15vector_constantERKNS_8PODArrayIoLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEoRNS5_IhLm4096ES8_Lm16ELm15EEE _ZN5doris17NumComparisonImplIffNS_11NotEqualsOpILNS_13PrimitiveTypeE8EEEE15vector_constantERKNS_8PODArrayIfLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEfRNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 87 | 28 | PaddedPODArray<UInt8>& c) { | 88 | 28 | size_t size = a.size(); | 89 | 28 | const A* __restrict a_pos = a.data(); | 90 | 28 | UInt8* __restrict c_pos = c.data(); | 91 | 28 | const A* __restrict a_end = a_pos + size; | 92 | | | 93 | 70 | while (a_pos < a_end) { | 94 | 42 | *c_pos = Op::apply(*a_pos, b); | 95 | 42 | ++a_pos; | 96 | 42 | ++c_pos; | 97 | 42 | } | 98 | 28 | } |
_ZN5doris17NumComparisonImplIddNS_11NotEqualsOpILNS_13PrimitiveTypeE9EEEE15vector_constantERKNS_8PODArrayIdLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEdRNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 87 | 40 | PaddedPODArray<UInt8>& c) { | 88 | 40 | size_t size = a.size(); | 89 | 40 | const A* __restrict a_pos = a.data(); | 90 | 40 | UInt8* __restrict c_pos = c.data(); | 91 | 40 | const A* __restrict a_end = a_pos + size; | 92 | | | 93 | 282 | while (a_pos < a_end) { | 94 | 242 | *c_pos = Op::apply(*a_pos, b); | 95 | 242 | ++a_pos; | 96 | 242 | ++c_pos; | 97 | 242 | } | 98 | 40 | } |
Unexecuted instantiation: _ZN5doris17NumComparisonImplIddNS_11NotEqualsOpILNS_13PrimitiveTypeE27EEEE15vector_constantERKNS_8PODArrayIdLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEdRNS5_IhLm4096ES8_Lm16ELm15EEE Unexecuted instantiation: _ZN5doris17NumComparisonImplIhhNS_9GreaterOpILNS_13PrimitiveTypeE2EEEE15vector_constantERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEhRS9_ Unexecuted instantiation: _ZN5doris17NumComparisonImplIhhNS_6LessOpILNS_13PrimitiveTypeE2EEEE15vector_constantERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEhRS9_ _ZN5doris17NumComparisonImplINS_11DateV2ValueINS_15DateV2ValueTypeEEES3_NS_9GreaterOpILNS_13PrimitiveTypeE25EEEE15vector_constantERKNS_8PODArrayIS3_Lm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEES3_RNS8_IhLm4096ESB_Lm16ELm15EEE Line | Count | Source | 87 | 111 | PaddedPODArray<UInt8>& c) { | 88 | 111 | size_t size = a.size(); | 89 | 111 | const A* __restrict a_pos = a.data(); | 90 | 111 | UInt8* __restrict c_pos = c.data(); | 91 | 111 | const A* __restrict a_end = a_pos + size; | 92 | | | 93 | 4.44k | while (a_pos < a_end) { | 94 | 4.33k | *c_pos = Op::apply(*a_pos, b); | 95 | 4.33k | ++a_pos; | 96 | 4.33k | ++c_pos; | 97 | 4.33k | } | 98 | 111 | } |
_ZN5doris17NumComparisonImplINS_11DateV2ValueINS_15DateV2ValueTypeEEES3_NS_6LessOpILNS_13PrimitiveTypeE25EEEE15vector_constantERKNS_8PODArrayIS3_Lm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEES3_RNS8_IhLm4096ESB_Lm16ELm15EEE Line | Count | Source | 87 | 395 | PaddedPODArray<UInt8>& c) { | 88 | 395 | size_t size = a.size(); | 89 | 395 | const A* __restrict a_pos = a.data(); | 90 | 395 | UInt8* __restrict c_pos = c.data(); | 91 | 395 | const A* __restrict a_end = a_pos + size; | 92 | | | 93 | 1.34M | while (a_pos < a_end) { | 94 | 1.34M | *c_pos = Op::apply(*a_pos, b); | 95 | 1.34M | ++a_pos; | 96 | 1.34M | ++c_pos; | 97 | 1.34M | } | 98 | 395 | } |
_ZN5doris17NumComparisonImplINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEES3_NS_9GreaterOpILNS_13PrimitiveTypeE26EEEE15vector_constantERKNS_8PODArrayIS3_Lm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEES3_RNS8_IhLm4096ESB_Lm16ELm15EEE Line | Count | Source | 87 | 94 | PaddedPODArray<UInt8>& c) { | 88 | 94 | size_t size = a.size(); | 89 | 94 | const A* __restrict a_pos = a.data(); | 90 | 94 | UInt8* __restrict c_pos = c.data(); | 91 | 94 | const A* __restrict a_end = a_pos + size; | 92 | | | 93 | 230 | while (a_pos < a_end) { | 94 | 136 | *c_pos = Op::apply(*a_pos, b); | 95 | 136 | ++a_pos; | 96 | 136 | ++c_pos; | 97 | 136 | } | 98 | 94 | } |
_ZN5doris17NumComparisonImplINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEES3_NS_6LessOpILNS_13PrimitiveTypeE26EEEE15vector_constantERKNS_8PODArrayIS3_Lm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEES3_RNS8_IhLm4096ESB_Lm16ELm15EEE Line | Count | Source | 87 | 437 | PaddedPODArray<UInt8>& c) { | 88 | 437 | size_t size = a.size(); | 89 | 437 | const A* __restrict a_pos = a.data(); | 90 | 437 | UInt8* __restrict c_pos = c.data(); | 91 | 437 | const A* __restrict a_end = a_pos + size; | 92 | | | 93 | 45.5k | while (a_pos < a_end) { | 94 | 45.1k | *c_pos = Op::apply(*a_pos, b); | 95 | 45.1k | ++a_pos; | 96 | 45.1k | ++c_pos; | 97 | 45.1k | } | 98 | 437 | } |
Unexecuted instantiation: _ZN5doris17NumComparisonImplINS_16TimestampTzValueES1_NS_9GreaterOpILNS_13PrimitiveTypeE42EEEE15vector_constantERKNS_8PODArrayIS1_Lm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEES1_RNS6_IhLm4096ES9_Lm16ELm15EEE _ZN5doris17NumComparisonImplINS_16TimestampTzValueES1_NS_6LessOpILNS_13PrimitiveTypeE42EEEE15vector_constantERKNS_8PODArrayIS1_Lm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEES1_RNS6_IhLm4096ES9_Lm16ELm15EEE Line | Count | Source | 87 | 1 | PaddedPODArray<UInt8>& c) { | 88 | 1 | size_t size = a.size(); | 89 | 1 | const A* __restrict a_pos = a.data(); | 90 | 1 | UInt8* __restrict c_pos = c.data(); | 91 | 1 | const A* __restrict a_end = a_pos + size; | 92 | | | 93 | 8 | while (a_pos < a_end) { | 94 | 7 | *c_pos = Op::apply(*a_pos, b); | 95 | 7 | ++a_pos; | 96 | 7 | ++c_pos; | 97 | 7 | } | 98 | 1 | } |
_ZN5doris17NumComparisonImplIaaNS_9GreaterOpILNS_13PrimitiveTypeE3EEEE15vector_constantERKNS_8PODArrayIaLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEaRNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 87 | 1.33k | PaddedPODArray<UInt8>& c) { | 88 | 1.33k | size_t size = a.size(); | 89 | 1.33k | const A* __restrict a_pos = a.data(); | 90 | 1.33k | UInt8* __restrict c_pos = c.data(); | 91 | 1.33k | const A* __restrict a_end = a_pos + size; | 92 | | | 93 | 7.22k | while (a_pos < a_end) { | 94 | 5.89k | *c_pos = Op::apply(*a_pos, b); | 95 | 5.89k | ++a_pos; | 96 | 5.89k | ++c_pos; | 97 | 5.89k | } | 98 | 1.33k | } |
_ZN5doris17NumComparisonImplIaaNS_6LessOpILNS_13PrimitiveTypeE3EEEE15vector_constantERKNS_8PODArrayIaLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEaRNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 87 | 1.90k | PaddedPODArray<UInt8>& c) { | 88 | 1.90k | size_t size = a.size(); | 89 | 1.90k | const A* __restrict a_pos = a.data(); | 90 | 1.90k | UInt8* __restrict c_pos = c.data(); | 91 | 1.90k | const A* __restrict a_end = a_pos + size; | 92 | | | 93 | 7.53k | while (a_pos < a_end) { | 94 | 5.63k | *c_pos = Op::apply(*a_pos, b); | 95 | 5.63k | ++a_pos; | 96 | 5.63k | ++c_pos; | 97 | 5.63k | } | 98 | 1.90k | } |
_ZN5doris17NumComparisonImplIssNS_9GreaterOpILNS_13PrimitiveTypeE4EEEE15vector_constantERKNS_8PODArrayIsLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEsRNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 87 | 1.42k | PaddedPODArray<UInt8>& c) { | 88 | 1.42k | size_t size = a.size(); | 89 | 1.42k | const A* __restrict a_pos = a.data(); | 90 | 1.42k | UInt8* __restrict c_pos = c.data(); | 91 | 1.42k | const A* __restrict a_end = a_pos + size; | 92 | | | 93 | 6.36k | while (a_pos < a_end) { | 94 | 4.94k | *c_pos = Op::apply(*a_pos, b); | 95 | 4.94k | ++a_pos; | 96 | 4.94k | ++c_pos; | 97 | 4.94k | } | 98 | 1.42k | } |
_ZN5doris17NumComparisonImplIssNS_6LessOpILNS_13PrimitiveTypeE4EEEE15vector_constantERKNS_8PODArrayIsLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEsRNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 87 | 360 | PaddedPODArray<UInt8>& c) { | 88 | 360 | size_t size = a.size(); | 89 | 360 | const A* __restrict a_pos = a.data(); | 90 | 360 | UInt8* __restrict c_pos = c.data(); | 91 | 360 | const A* __restrict a_end = a_pos + size; | 92 | | | 93 | 13.7k | while (a_pos < a_end) { | 94 | 13.3k | *c_pos = Op::apply(*a_pos, b); | 95 | 13.3k | ++a_pos; | 96 | 13.3k | ++c_pos; | 97 | 13.3k | } | 98 | 360 | } |
_ZN5doris17NumComparisonImplIiiNS_9GreaterOpILNS_13PrimitiveTypeE5EEEE15vector_constantERKNS_8PODArrayIiLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEiRNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 87 | 15.0k | PaddedPODArray<UInt8>& c) { | 88 | 15.0k | size_t size = a.size(); | 89 | 15.0k | const A* __restrict a_pos = a.data(); | 90 | 15.0k | UInt8* __restrict c_pos = c.data(); | 91 | 15.0k | const A* __restrict a_end = a_pos + size; | 92 | | | 93 | 6.21M | while (a_pos < a_end) { | 94 | 6.20M | *c_pos = Op::apply(*a_pos, b); | 95 | 6.20M | ++a_pos; | 96 | 6.20M | ++c_pos; | 97 | 6.20M | } | 98 | 15.0k | } |
_ZN5doris17NumComparisonImplIiiNS_6LessOpILNS_13PrimitiveTypeE5EEEE15vector_constantERKNS_8PODArrayIiLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEiRNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 87 | 6.27k | PaddedPODArray<UInt8>& c) { | 88 | 6.27k | size_t size = a.size(); | 89 | 6.27k | const A* __restrict a_pos = a.data(); | 90 | 6.27k | UInt8* __restrict c_pos = c.data(); | 91 | 6.27k | const A* __restrict a_end = a_pos + size; | 92 | | | 93 | 5.09M | while (a_pos < a_end) { | 94 | 5.08M | *c_pos = Op::apply(*a_pos, b); | 95 | 5.08M | ++a_pos; | 96 | 5.08M | ++c_pos; | 97 | 5.08M | } | 98 | 6.27k | } |
_ZN5doris17NumComparisonImplIllNS_9GreaterOpILNS_13PrimitiveTypeE6EEEE15vector_constantERKNS_8PODArrayIlLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEElRNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 87 | 13.3k | PaddedPODArray<UInt8>& c) { | 88 | 13.3k | size_t size = a.size(); | 89 | 13.3k | const A* __restrict a_pos = a.data(); | 90 | 13.3k | UInt8* __restrict c_pos = c.data(); | 91 | 13.3k | const A* __restrict a_end = a_pos + size; | 92 | | | 93 | 170k | while (a_pos < a_end) { | 94 | 156k | *c_pos = Op::apply(*a_pos, b); | 95 | 156k | ++a_pos; | 96 | 156k | ++c_pos; | 97 | 156k | } | 98 | 13.3k | } |
_ZN5doris17NumComparisonImplIllNS_6LessOpILNS_13PrimitiveTypeE6EEEE15vector_constantERKNS_8PODArrayIlLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEElRNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 87 | 1.96k | PaddedPODArray<UInt8>& c) { | 88 | 1.96k | size_t size = a.size(); | 89 | 1.96k | const A* __restrict a_pos = a.data(); | 90 | 1.96k | UInt8* __restrict c_pos = c.data(); | 91 | 1.96k | const A* __restrict a_end = a_pos + size; | 92 | | | 93 | 14.1k | while (a_pos < a_end) { | 94 | 12.2k | *c_pos = Op::apply(*a_pos, b); | 95 | 12.2k | ++a_pos; | 96 | 12.2k | ++c_pos; | 97 | 12.2k | } | 98 | 1.96k | } |
_ZN5doris17NumComparisonImplInnNS_9GreaterOpILNS_13PrimitiveTypeE7EEEE15vector_constantERKNS_8PODArrayInLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEnRNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 87 | 290 | PaddedPODArray<UInt8>& c) { | 88 | 290 | size_t size = a.size(); | 89 | 290 | const A* __restrict a_pos = a.data(); | 90 | 290 | UInt8* __restrict c_pos = c.data(); | 91 | 290 | const A* __restrict a_end = a_pos + size; | 92 | | | 93 | 1.92k | while (a_pos < a_end) { | 94 | 1.63k | *c_pos = Op::apply(*a_pos, b); | 95 | 1.63k | ++a_pos; | 96 | 1.63k | ++c_pos; | 97 | 1.63k | } | 98 | 290 | } |
_ZN5doris17NumComparisonImplInnNS_6LessOpILNS_13PrimitiveTypeE7EEEE15vector_constantERKNS_8PODArrayInLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEnRNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 87 | 91 | PaddedPODArray<UInt8>& c) { | 88 | 91 | size_t size = a.size(); | 89 | 91 | const A* __restrict a_pos = a.data(); | 90 | 91 | UInt8* __restrict c_pos = c.data(); | 91 | 91 | const A* __restrict a_end = a_pos + size; | 92 | | | 93 | 86.2k | while (a_pos < a_end) { | 94 | 86.1k | *c_pos = Op::apply(*a_pos, b); | 95 | 86.1k | ++a_pos; | 96 | 86.1k | ++c_pos; | 97 | 86.1k | } | 98 | 91 | } |
_ZN5doris17NumComparisonImplIjjNS_9GreaterOpILNS_13PrimitiveTypeE36EEEE15vector_constantERKNS_8PODArrayIjLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEjRNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 87 | 3 | PaddedPODArray<UInt8>& c) { | 88 | 3 | size_t size = a.size(); | 89 | 3 | const A* __restrict a_pos = a.data(); | 90 | 3 | UInt8* __restrict c_pos = c.data(); | 91 | 3 | const A* __restrict a_end = a_pos + size; | 92 | | | 93 | 31 | while (a_pos < a_end) { | 94 | 28 | *c_pos = Op::apply(*a_pos, b); | 95 | 28 | ++a_pos; | 96 | 28 | ++c_pos; | 97 | 28 | } | 98 | 3 | } |
_ZN5doris17NumComparisonImplIjjNS_6LessOpILNS_13PrimitiveTypeE36EEEE15vector_constantERKNS_8PODArrayIjLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEjRNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 87 | 2 | PaddedPODArray<UInt8>& c) { | 88 | 2 | size_t size = a.size(); | 89 | 2 | const A* __restrict a_pos = a.data(); | 90 | 2 | UInt8* __restrict c_pos = c.data(); | 91 | 2 | const A* __restrict a_end = a_pos + size; | 92 | | | 93 | 22 | while (a_pos < a_end) { | 94 | 20 | *c_pos = Op::apply(*a_pos, b); | 95 | 20 | ++a_pos; | 96 | 20 | ++c_pos; | 97 | 20 | } | 98 | 2 | } |
Unexecuted instantiation: _ZN5doris17NumComparisonImplIooNS_9GreaterOpILNS_13PrimitiveTypeE37EEEE15vector_constantERKNS_8PODArrayIoLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEoRNS5_IhLm4096ES8_Lm16ELm15EEE Unexecuted instantiation: _ZN5doris17NumComparisonImplIooNS_6LessOpILNS_13PrimitiveTypeE37EEEE15vector_constantERKNS_8PODArrayIoLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEoRNS5_IhLm4096ES8_Lm16ELm15EEE _ZN5doris17NumComparisonImplIffNS_9GreaterOpILNS_13PrimitiveTypeE8EEEE15vector_constantERKNS_8PODArrayIfLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEfRNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 87 | 216 | PaddedPODArray<UInt8>& c) { | 88 | 216 | size_t size = a.size(); | 89 | 216 | const A* __restrict a_pos = a.data(); | 90 | 216 | UInt8* __restrict c_pos = c.data(); | 91 | 216 | const A* __restrict a_end = a_pos + size; | 92 | | | 93 | 3.77k | while (a_pos < a_end) { | 94 | 3.55k | *c_pos = Op::apply(*a_pos, b); | 95 | 3.55k | ++a_pos; | 96 | 3.55k | ++c_pos; | 97 | 3.55k | } | 98 | 216 | } |
_ZN5doris17NumComparisonImplIffNS_6LessOpILNS_13PrimitiveTypeE8EEEE15vector_constantERKNS_8PODArrayIfLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEfRNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 87 | 28 | PaddedPODArray<UInt8>& c) { | 88 | 28 | size_t size = a.size(); | 89 | 28 | const A* __restrict a_pos = a.data(); | 90 | 28 | UInt8* __restrict c_pos = c.data(); | 91 | 28 | const A* __restrict a_end = a_pos + size; | 92 | | | 93 | 64 | while (a_pos < a_end) { | 94 | 36 | *c_pos = Op::apply(*a_pos, b); | 95 | 36 | ++a_pos; | 96 | 36 | ++c_pos; | 97 | 36 | } | 98 | 28 | } |
_ZN5doris17NumComparisonImplIddNS_9GreaterOpILNS_13PrimitiveTypeE9EEEE15vector_constantERKNS_8PODArrayIdLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEdRNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 87 | 2.20k | PaddedPODArray<UInt8>& c) { | 88 | 2.20k | size_t size = a.size(); | 89 | 2.20k | const A* __restrict a_pos = a.data(); | 90 | 2.20k | UInt8* __restrict c_pos = c.data(); | 91 | 2.20k | const A* __restrict a_end = a_pos + size; | 92 | | | 93 | 342k | while (a_pos < a_end) { | 94 | 339k | *c_pos = Op::apply(*a_pos, b); | 95 | 339k | ++a_pos; | 96 | 339k | ++c_pos; | 97 | 339k | } | 98 | 2.20k | } |
_ZN5doris17NumComparisonImplIddNS_6LessOpILNS_13PrimitiveTypeE9EEEE15vector_constantERKNS_8PODArrayIdLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEdRNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 87 | 220 | PaddedPODArray<UInt8>& c) { | 88 | 220 | size_t size = a.size(); | 89 | 220 | const A* __restrict a_pos = a.data(); | 90 | 220 | UInt8* __restrict c_pos = c.data(); | 91 | 220 | const A* __restrict a_end = a_pos + size; | 92 | | | 93 | 315k | while (a_pos < a_end) { | 94 | 315k | *c_pos = Op::apply(*a_pos, b); | 95 | 315k | ++a_pos; | 96 | 315k | ++c_pos; | 97 | 315k | } | 98 | 220 | } |
Unexecuted instantiation: _ZN5doris17NumComparisonImplIddNS_9GreaterOpILNS_13PrimitiveTypeE27EEEE15vector_constantERKNS_8PODArrayIdLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEdRNS5_IhLm4096ES8_Lm16ELm15EEE Unexecuted instantiation: _ZN5doris17NumComparisonImplIddNS_6LessOpILNS_13PrimitiveTypeE27EEEE15vector_constantERKNS_8PODArrayIdLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEdRNS5_IhLm4096ES8_Lm16ELm15EEE _ZN5doris17NumComparisonImplIhhNS_17GreaterOrEqualsOpILNS_13PrimitiveTypeE2EEEE15vector_constantERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEhRS9_ Line | Count | Source | 87 | 100 | PaddedPODArray<UInt8>& c) { | 88 | 100 | size_t size = a.size(); | 89 | 100 | const A* __restrict a_pos = a.data(); | 90 | 100 | UInt8* __restrict c_pos = c.data(); | 91 | 100 | const A* __restrict a_end = a_pos + size; | 92 | | | 93 | 202k | while (a_pos < a_end) { | 94 | 201k | *c_pos = Op::apply(*a_pos, b); | 95 | 201k | ++a_pos; | 96 | 201k | ++c_pos; | 97 | 201k | } | 98 | 100 | } |
_ZN5doris17NumComparisonImplIhhNS_14LessOrEqualsOpILNS_13PrimitiveTypeE2EEEE15vector_constantERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEhRS9_ Line | Count | Source | 87 | 99 | PaddedPODArray<UInt8>& c) { | 88 | 99 | size_t size = a.size(); | 89 | 99 | const A* __restrict a_pos = a.data(); | 90 | 99 | UInt8* __restrict c_pos = c.data(); | 91 | 99 | const A* __restrict a_end = a_pos + size; | 92 | | | 93 | 152k | while (a_pos < a_end) { | 94 | 152k | *c_pos = Op::apply(*a_pos, b); | 95 | 152k | ++a_pos; | 96 | 152k | ++c_pos; | 97 | 152k | } | 98 | 99 | } |
_ZN5doris17NumComparisonImplINS_11DateV2ValueINS_15DateV2ValueTypeEEES3_NS_17GreaterOrEqualsOpILNS_13PrimitiveTypeE25EEEE15vector_constantERKNS_8PODArrayIS3_Lm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEES3_RNS8_IhLm4096ESB_Lm16ELm15EEE Line | Count | Source | 87 | 2.06k | PaddedPODArray<UInt8>& c) { | 88 | 2.06k | size_t size = a.size(); | 89 | 2.06k | const A* __restrict a_pos = a.data(); | 90 | 2.06k | UInt8* __restrict c_pos = c.data(); | 91 | 2.06k | const A* __restrict a_end = a_pos + size; | 92 | | | 93 | 4.69M | while (a_pos < a_end) { | 94 | 4.68M | *c_pos = Op::apply(*a_pos, b); | 95 | 4.68M | ++a_pos; | 96 | 4.68M | ++c_pos; | 97 | 4.68M | } | 98 | 2.06k | } |
_ZN5doris17NumComparisonImplINS_11DateV2ValueINS_15DateV2ValueTypeEEES3_NS_14LessOrEqualsOpILNS_13PrimitiveTypeE25EEEE15vector_constantERKNS_8PODArrayIS3_Lm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEES3_RNS8_IhLm4096ESB_Lm16ELm15EEE Line | Count | Source | 87 | 6.22k | PaddedPODArray<UInt8>& c) { | 88 | 6.22k | size_t size = a.size(); | 89 | 6.22k | const A* __restrict a_pos = a.data(); | 90 | 6.22k | UInt8* __restrict c_pos = c.data(); | 91 | 6.22k | const A* __restrict a_end = a_pos + size; | 92 | | | 93 | 39.4M | while (a_pos < a_end) { | 94 | 39.4M | *c_pos = Op::apply(*a_pos, b); | 95 | 39.4M | ++a_pos; | 96 | 39.4M | ++c_pos; | 97 | 39.4M | } | 98 | 6.22k | } |
_ZN5doris17NumComparisonImplINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEES3_NS_17GreaterOrEqualsOpILNS_13PrimitiveTypeE26EEEE15vector_constantERKNS_8PODArrayIS3_Lm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEES3_RNS8_IhLm4096ESB_Lm16ELm15EEE Line | Count | Source | 87 | 698 | PaddedPODArray<UInt8>& c) { | 88 | 698 | size_t size = a.size(); | 89 | 698 | const A* __restrict a_pos = a.data(); | 90 | 698 | UInt8* __restrict c_pos = c.data(); | 91 | 698 | const A* __restrict a_end = a_pos + size; | 92 | | | 93 | 30.6k | while (a_pos < a_end) { | 94 | 29.9k | *c_pos = Op::apply(*a_pos, b); | 95 | 29.9k | ++a_pos; | 96 | 29.9k | ++c_pos; | 97 | 29.9k | } | 98 | 698 | } |
_ZN5doris17NumComparisonImplINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEES3_NS_14LessOrEqualsOpILNS_13PrimitiveTypeE26EEEE15vector_constantERKNS_8PODArrayIS3_Lm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEES3_RNS8_IhLm4096ESB_Lm16ELm15EEE Line | Count | Source | 87 | 224 | PaddedPODArray<UInt8>& c) { | 88 | 224 | size_t size = a.size(); | 89 | 224 | const A* __restrict a_pos = a.data(); | 90 | 224 | UInt8* __restrict c_pos = c.data(); | 91 | 224 | const A* __restrict a_end = a_pos + size; | 92 | | | 93 | 15.4k | while (a_pos < a_end) { | 94 | 15.2k | *c_pos = Op::apply(*a_pos, b); | 95 | 15.2k | ++a_pos; | 96 | 15.2k | ++c_pos; | 97 | 15.2k | } | 98 | 224 | } |
Unexecuted instantiation: _ZN5doris17NumComparisonImplINS_16TimestampTzValueES1_NS_17GreaterOrEqualsOpILNS_13PrimitiveTypeE42EEEE15vector_constantERKNS_8PODArrayIS1_Lm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEES1_RNS6_IhLm4096ES9_Lm16ELm15EEE Unexecuted instantiation: _ZN5doris17NumComparisonImplINS_16TimestampTzValueES1_NS_14LessOrEqualsOpILNS_13PrimitiveTypeE42EEEE15vector_constantERKNS_8PODArrayIS1_Lm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEES1_RNS6_IhLm4096ES9_Lm16ELm15EEE _ZN5doris17NumComparisonImplIaaNS_17GreaterOrEqualsOpILNS_13PrimitiveTypeE3EEEE15vector_constantERKNS_8PODArrayIaLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEaRNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 87 | 54 | PaddedPODArray<UInt8>& c) { | 88 | 54 | size_t size = a.size(); | 89 | 54 | const A* __restrict a_pos = a.data(); | 90 | 54 | UInt8* __restrict c_pos = c.data(); | 91 | 54 | const A* __restrict a_end = a_pos + size; | 92 | | | 93 | 170k | while (a_pos < a_end) { | 94 | 170k | *c_pos = Op::apply(*a_pos, b); | 95 | 170k | ++a_pos; | 96 | 170k | ++c_pos; | 97 | 170k | } | 98 | 54 | } |
_ZN5doris17NumComparisonImplIaaNS_14LessOrEqualsOpILNS_13PrimitiveTypeE3EEEE15vector_constantERKNS_8PODArrayIaLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEaRNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 87 | 66 | PaddedPODArray<UInt8>& c) { | 88 | 66 | size_t size = a.size(); | 89 | 66 | const A* __restrict a_pos = a.data(); | 90 | 66 | UInt8* __restrict c_pos = c.data(); | 91 | 66 | const A* __restrict a_end = a_pos + size; | 92 | | | 93 | 170k | while (a_pos < a_end) { | 94 | 170k | *c_pos = Op::apply(*a_pos, b); | 95 | 170k | ++a_pos; | 96 | 170k | ++c_pos; | 97 | 170k | } | 98 | 66 | } |
_ZN5doris17NumComparisonImplIssNS_17GreaterOrEqualsOpILNS_13PrimitiveTypeE4EEEE15vector_constantERKNS_8PODArrayIsLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEsRNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 87 | 73 | PaddedPODArray<UInt8>& c) { | 88 | 73 | size_t size = a.size(); | 89 | 73 | const A* __restrict a_pos = a.data(); | 90 | 73 | UInt8* __restrict c_pos = c.data(); | 91 | 73 | const A* __restrict a_end = a_pos + size; | 92 | | | 93 | 150k | while (a_pos < a_end) { | 94 | 150k | *c_pos = Op::apply(*a_pos, b); | 95 | 150k | ++a_pos; | 96 | 150k | ++c_pos; | 97 | 150k | } | 98 | 73 | } |
_ZN5doris17NumComparisonImplIssNS_14LessOrEqualsOpILNS_13PrimitiveTypeE4EEEE15vector_constantERKNS_8PODArrayIsLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEsRNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 87 | 82 | PaddedPODArray<UInt8>& c) { | 88 | 82 | size_t size = a.size(); | 89 | 82 | const A* __restrict a_pos = a.data(); | 90 | 82 | UInt8* __restrict c_pos = c.data(); | 91 | 82 | const A* __restrict a_end = a_pos + size; | 92 | | | 93 | 140k | while (a_pos < a_end) { | 94 | 140k | *c_pos = Op::apply(*a_pos, b); | 95 | 140k | ++a_pos; | 96 | 140k | ++c_pos; | 97 | 140k | } | 98 | 82 | } |
_ZN5doris17NumComparisonImplIiiNS_17GreaterOrEqualsOpILNS_13PrimitiveTypeE5EEEE15vector_constantERKNS_8PODArrayIiLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEiRNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 87 | 16.7k | PaddedPODArray<UInt8>& c) { | 88 | 16.7k | size_t size = a.size(); | 89 | 16.7k | const A* __restrict a_pos = a.data(); | 90 | 16.7k | UInt8* __restrict c_pos = c.data(); | 91 | 16.7k | const A* __restrict a_end = a_pos + size; | 92 | | | 93 | 8.30M | while (a_pos < a_end) { | 94 | 8.29M | *c_pos = Op::apply(*a_pos, b); | 95 | 8.29M | ++a_pos; | 96 | 8.29M | ++c_pos; | 97 | 8.29M | } | 98 | 16.7k | } |
_ZN5doris17NumComparisonImplIiiNS_14LessOrEqualsOpILNS_13PrimitiveTypeE5EEEE15vector_constantERKNS_8PODArrayIiLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEiRNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 87 | 24.2k | PaddedPODArray<UInt8>& c) { | 88 | 24.2k | size_t size = a.size(); | 89 | 24.2k | const A* __restrict a_pos = a.data(); | 90 | 24.2k | UInt8* __restrict c_pos = c.data(); | 91 | 24.2k | const A* __restrict a_end = a_pos + size; | 92 | | | 93 | 12.6M | while (a_pos < a_end) { | 94 | 12.6M | *c_pos = Op::apply(*a_pos, b); | 95 | 12.6M | ++a_pos; | 96 | 12.6M | ++c_pos; | 97 | 12.6M | } | 98 | 24.2k | } |
_ZN5doris17NumComparisonImplIllNS_17GreaterOrEqualsOpILNS_13PrimitiveTypeE6EEEE15vector_constantERKNS_8PODArrayIlLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEElRNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 87 | 587 | PaddedPODArray<UInt8>& c) { | 88 | 587 | size_t size = a.size(); | 89 | 587 | const A* __restrict a_pos = a.data(); | 90 | 587 | UInt8* __restrict c_pos = c.data(); | 91 | 587 | const A* __restrict a_end = a_pos + size; | 92 | | | 93 | 38.2k | while (a_pos < a_end) { | 94 | 37.7k | *c_pos = Op::apply(*a_pos, b); | 95 | 37.7k | ++a_pos; | 96 | 37.7k | ++c_pos; | 97 | 37.7k | } | 98 | 587 | } |
_ZN5doris17NumComparisonImplIllNS_14LessOrEqualsOpILNS_13PrimitiveTypeE6EEEE15vector_constantERKNS_8PODArrayIlLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEElRNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 87 | 800 | PaddedPODArray<UInt8>& c) { | 88 | 800 | size_t size = a.size(); | 89 | 800 | const A* __restrict a_pos = a.data(); | 90 | 800 | UInt8* __restrict c_pos = c.data(); | 91 | 800 | const A* __restrict a_end = a_pos + size; | 92 | | | 93 | 44.5k | while (a_pos < a_end) { | 94 | 43.7k | *c_pos = Op::apply(*a_pos, b); | 95 | 43.7k | ++a_pos; | 96 | 43.7k | ++c_pos; | 97 | 43.7k | } | 98 | 800 | } |
_ZN5doris17NumComparisonImplInnNS_17GreaterOrEqualsOpILNS_13PrimitiveTypeE7EEEE15vector_constantERKNS_8PODArrayInLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEnRNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 87 | 49 | PaddedPODArray<UInt8>& c) { | 88 | 49 | size_t size = a.size(); | 89 | 49 | const A* __restrict a_pos = a.data(); | 90 | 49 | UInt8* __restrict c_pos = c.data(); | 91 | 49 | const A* __restrict a_end = a_pos + size; | 92 | | | 93 | 130k | while (a_pos < a_end) { | 94 | 130k | *c_pos = Op::apply(*a_pos, b); | 95 | 130k | ++a_pos; | 96 | 130k | ++c_pos; | 97 | 130k | } | 98 | 49 | } |
_ZN5doris17NumComparisonImplInnNS_14LessOrEqualsOpILNS_13PrimitiveTypeE7EEEE15vector_constantERKNS_8PODArrayInLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEnRNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 87 | 59 | PaddedPODArray<UInt8>& c) { | 88 | 59 | size_t size = a.size(); | 89 | 59 | const A* __restrict a_pos = a.data(); | 90 | 59 | UInt8* __restrict c_pos = c.data(); | 91 | 59 | const A* __restrict a_end = a_pos + size; | 92 | | | 93 | 130k | while (a_pos < a_end) { | 94 | 130k | *c_pos = Op::apply(*a_pos, b); | 95 | 130k | ++a_pos; | 96 | 130k | ++c_pos; | 97 | 130k | } | 98 | 59 | } |
_ZN5doris17NumComparisonImplIjjNS_17GreaterOrEqualsOpILNS_13PrimitiveTypeE36EEEE15vector_constantERKNS_8PODArrayIjLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEjRNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 87 | 10 | PaddedPODArray<UInt8>& c) { | 88 | 10 | size_t size = a.size(); | 89 | 10 | const A* __restrict a_pos = a.data(); | 90 | 10 | UInt8* __restrict c_pos = c.data(); | 91 | 10 | const A* __restrict a_end = a_pos + size; | 92 | | | 93 | 110 | while (a_pos < a_end) { | 94 | 100 | *c_pos = Op::apply(*a_pos, b); | 95 | 100 | ++a_pos; | 96 | 100 | ++c_pos; | 97 | 100 | } | 98 | 10 | } |
_ZN5doris17NumComparisonImplIjjNS_14LessOrEqualsOpILNS_13PrimitiveTypeE36EEEE15vector_constantERKNS_8PODArrayIjLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEjRNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 87 | 10 | PaddedPODArray<UInt8>& c) { | 88 | 10 | size_t size = a.size(); | 89 | 10 | const A* __restrict a_pos = a.data(); | 90 | 10 | UInt8* __restrict c_pos = c.data(); | 91 | 10 | const A* __restrict a_end = a_pos + size; | 92 | | | 93 | 110 | while (a_pos < a_end) { | 94 | 100 | *c_pos = Op::apply(*a_pos, b); | 95 | 100 | ++a_pos; | 96 | 100 | ++c_pos; | 97 | 100 | } | 98 | 10 | } |
Unexecuted instantiation: _ZN5doris17NumComparisonImplIooNS_17GreaterOrEqualsOpILNS_13PrimitiveTypeE37EEEE15vector_constantERKNS_8PODArrayIoLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEoRNS5_IhLm4096ES8_Lm16ELm15EEE Unexecuted instantiation: _ZN5doris17NumComparisonImplIooNS_14LessOrEqualsOpILNS_13PrimitiveTypeE37EEEE15vector_constantERKNS_8PODArrayIoLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEoRNS5_IhLm4096ES8_Lm16ELm15EEE _ZN5doris17NumComparisonImplIffNS_17GreaterOrEqualsOpILNS_13PrimitiveTypeE8EEEE15vector_constantERKNS_8PODArrayIfLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEfRNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 87 | 80 | PaddedPODArray<UInt8>& c) { | 88 | 80 | size_t size = a.size(); | 89 | 80 | const A* __restrict a_pos = a.data(); | 90 | 80 | UInt8* __restrict c_pos = c.data(); | 91 | 80 | const A* __restrict a_end = a_pos + size; | 92 | | | 93 | 162 | while (a_pos < a_end) { | 94 | 82 | *c_pos = Op::apply(*a_pos, b); | 95 | 82 | ++a_pos; | 96 | 82 | ++c_pos; | 97 | 82 | } | 98 | 80 | } |
_ZN5doris17NumComparisonImplIffNS_14LessOrEqualsOpILNS_13PrimitiveTypeE8EEEE15vector_constantERKNS_8PODArrayIfLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEfRNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 87 | 76 | PaddedPODArray<UInt8>& c) { | 88 | 76 | size_t size = a.size(); | 89 | 76 | const A* __restrict a_pos = a.data(); | 90 | 76 | UInt8* __restrict c_pos = c.data(); | 91 | 76 | const A* __restrict a_end = a_pos + size; | 92 | | | 93 | 152 | while (a_pos < a_end) { | 94 | 76 | *c_pos = Op::apply(*a_pos, b); | 95 | 76 | ++a_pos; | 96 | 76 | ++c_pos; | 97 | 76 | } | 98 | 76 | } |
_ZN5doris17NumComparisonImplIddNS_17GreaterOrEqualsOpILNS_13PrimitiveTypeE9EEEE15vector_constantERKNS_8PODArrayIdLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEdRNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 87 | 120 | PaddedPODArray<UInt8>& c) { | 88 | 120 | size_t size = a.size(); | 89 | 120 | const A* __restrict a_pos = a.data(); | 90 | 120 | UInt8* __restrict c_pos = c.data(); | 91 | 120 | const A* __restrict a_end = a_pos + size; | 92 | | | 93 | 356k | while (a_pos < a_end) { | 94 | 356k | *c_pos = Op::apply(*a_pos, b); | 95 | 356k | ++a_pos; | 96 | 356k | ++c_pos; | 97 | 356k | } | 98 | 120 | } |
_ZN5doris17NumComparisonImplIddNS_14LessOrEqualsOpILNS_13PrimitiveTypeE9EEEE15vector_constantERKNS_8PODArrayIdLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEdRNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 87 | 113 | PaddedPODArray<UInt8>& c) { | 88 | 113 | size_t size = a.size(); | 89 | 113 | const A* __restrict a_pos = a.data(); | 90 | 113 | UInt8* __restrict c_pos = c.data(); | 91 | 113 | const A* __restrict a_end = a_pos + size; | 92 | | | 93 | 275k | while (a_pos < a_end) { | 94 | 275k | *c_pos = Op::apply(*a_pos, b); | 95 | 275k | ++a_pos; | 96 | 275k | ++c_pos; | 97 | 275k | } | 98 | 113 | } |
Unexecuted instantiation: _ZN5doris17NumComparisonImplIddNS_17GreaterOrEqualsOpILNS_13PrimitiveTypeE27EEEE15vector_constantERKNS_8PODArrayIdLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEdRNS5_IhLm4096ES8_Lm16ELm15EEE Unexecuted instantiation: _ZN5doris17NumComparisonImplIddNS_14LessOrEqualsOpILNS_13PrimitiveTypeE27EEEE15vector_constantERKNS_8PODArrayIdLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEdRNS5_IhLm4096ES8_Lm16ELm15EEE |
99 | | |
100 | 8.27k | static void constant_vector(A a, const PaddedPODArray<B>& b, PaddedPODArray<UInt8>& c) { |
101 | 8.27k | NumComparisonImpl<B, A, typename Op::SymmetricOp>::vector_constant(b, a, c); |
102 | 8.27k | } Unexecuted instantiation: _ZN5doris17NumComparisonImplIhhNS_8EqualsOpILNS_13PrimitiveTypeE2EEEE15constant_vectorEhRKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERS9_ Unexecuted instantiation: _ZN5doris17NumComparisonImplINS_11DateV2ValueINS_15DateV2ValueTypeEEES3_NS_8EqualsOpILNS_13PrimitiveTypeE25EEEE15constant_vectorES3_RKNS_8PODArrayIS3_Lm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERNS8_IhLm4096ESB_Lm16ELm15EEE Unexecuted instantiation: _ZN5doris17NumComparisonImplINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEES3_NS_8EqualsOpILNS_13PrimitiveTypeE26EEEE15constant_vectorES3_RKNS_8PODArrayIS3_Lm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERNS8_IhLm4096ESB_Lm16ELm15EEE Unexecuted instantiation: _ZN5doris17NumComparisonImplINS_16TimestampTzValueES1_NS_8EqualsOpILNS_13PrimitiveTypeE42EEEE15constant_vectorES1_RKNS_8PODArrayIS1_Lm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERNS6_IhLm4096ES9_Lm16ELm15EEE _ZN5doris17NumComparisonImplIaaNS_8EqualsOpILNS_13PrimitiveTypeE3EEEE15constant_vectorEaRKNS_8PODArrayIaLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 100 | 252 | static void constant_vector(A a, const PaddedPODArray<B>& b, PaddedPODArray<UInt8>& c) { | 101 | 252 | NumComparisonImpl<B, A, typename Op::SymmetricOp>::vector_constant(b, a, c); | 102 | 252 | } |
_ZN5doris17NumComparisonImplIssNS_8EqualsOpILNS_13PrimitiveTypeE4EEEE15constant_vectorEsRKNS_8PODArrayIsLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 100 | 36 | static void constant_vector(A a, const PaddedPODArray<B>& b, PaddedPODArray<UInt8>& c) { | 101 | 36 | NumComparisonImpl<B, A, typename Op::SymmetricOp>::vector_constant(b, a, c); | 102 | 36 | } |
_ZN5doris17NumComparisonImplIiiNS_8EqualsOpILNS_13PrimitiveTypeE5EEEE15constant_vectorEiRKNS_8PODArrayIiLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 100 | 562 | static void constant_vector(A a, const PaddedPODArray<B>& b, PaddedPODArray<UInt8>& c) { | 101 | 562 | NumComparisonImpl<B, A, typename Op::SymmetricOp>::vector_constant(b, a, c); | 102 | 562 | } |
_ZN5doris17NumComparisonImplIllNS_8EqualsOpILNS_13PrimitiveTypeE6EEEE15constant_vectorElRKNS_8PODArrayIlLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 100 | 1.19k | static void constant_vector(A a, const PaddedPODArray<B>& b, PaddedPODArray<UInt8>& c) { | 101 | 1.19k | NumComparisonImpl<B, A, typename Op::SymmetricOp>::vector_constant(b, a, c); | 102 | 1.19k | } |
_ZN5doris17NumComparisonImplInnNS_8EqualsOpILNS_13PrimitiveTypeE7EEEE15constant_vectorEnRKNS_8PODArrayInLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 100 | 8 | static void constant_vector(A a, const PaddedPODArray<B>& b, PaddedPODArray<UInt8>& c) { | 101 | 8 | NumComparisonImpl<B, A, typename Op::SymmetricOp>::vector_constant(b, a, c); | 102 | 8 | } |
Unexecuted instantiation: _ZN5doris17NumComparisonImplIjjNS_8EqualsOpILNS_13PrimitiveTypeE36EEEE15constant_vectorEjRKNS_8PODArrayIjLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERNS5_IhLm4096ES8_Lm16ELm15EEE Unexecuted instantiation: _ZN5doris17NumComparisonImplIooNS_8EqualsOpILNS_13PrimitiveTypeE37EEEE15constant_vectorEoRKNS_8PODArrayIoLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERNS5_IhLm4096ES8_Lm16ELm15EEE Unexecuted instantiation: _ZN5doris17NumComparisonImplIffNS_8EqualsOpILNS_13PrimitiveTypeE8EEEE15constant_vectorEfRKNS_8PODArrayIfLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERNS5_IhLm4096ES8_Lm16ELm15EEE Unexecuted instantiation: _ZN5doris17NumComparisonImplIddNS_8EqualsOpILNS_13PrimitiveTypeE9EEEE15constant_vectorEdRKNS_8PODArrayIdLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERNS5_IhLm4096ES8_Lm16ELm15EEE Unexecuted instantiation: _ZN5doris17NumComparisonImplIddNS_8EqualsOpILNS_13PrimitiveTypeE27EEEE15constant_vectorEdRKNS_8PODArrayIdLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERNS5_IhLm4096ES8_Lm16ELm15EEE Unexecuted instantiation: _ZN5doris17NumComparisonImplIhhNS_11NotEqualsOpILNS_13PrimitiveTypeE2EEEE15constant_vectorEhRKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERS9_ Unexecuted instantiation: _ZN5doris17NumComparisonImplINS_11DateV2ValueINS_15DateV2ValueTypeEEES3_NS_11NotEqualsOpILNS_13PrimitiveTypeE25EEEE15constant_vectorES3_RKNS_8PODArrayIS3_Lm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERNS8_IhLm4096ESB_Lm16ELm15EEE Unexecuted instantiation: _ZN5doris17NumComparisonImplINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEES3_NS_11NotEqualsOpILNS_13PrimitiveTypeE26EEEE15constant_vectorES3_RKNS_8PODArrayIS3_Lm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERNS8_IhLm4096ESB_Lm16ELm15EEE Unexecuted instantiation: _ZN5doris17NumComparisonImplINS_16TimestampTzValueES1_NS_11NotEqualsOpILNS_13PrimitiveTypeE42EEEE15constant_vectorES1_RKNS_8PODArrayIS1_Lm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERNS6_IhLm4096ES9_Lm16ELm15EEE Unexecuted instantiation: _ZN5doris17NumComparisonImplIaaNS_11NotEqualsOpILNS_13PrimitiveTypeE3EEEE15constant_vectorEaRKNS_8PODArrayIaLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERNS5_IhLm4096ES8_Lm16ELm15EEE Unexecuted instantiation: _ZN5doris17NumComparisonImplIssNS_11NotEqualsOpILNS_13PrimitiveTypeE4EEEE15constant_vectorEsRKNS_8PODArrayIsLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERNS5_IhLm4096ES8_Lm16ELm15EEE Unexecuted instantiation: _ZN5doris17NumComparisonImplIiiNS_11NotEqualsOpILNS_13PrimitiveTypeE5EEEE15constant_vectorEiRKNS_8PODArrayIiLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERNS5_IhLm4096ES8_Lm16ELm15EEE _ZN5doris17NumComparisonImplIllNS_11NotEqualsOpILNS_13PrimitiveTypeE6EEEE15constant_vectorElRKNS_8PODArrayIlLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 100 | 770 | static void constant_vector(A a, const PaddedPODArray<B>& b, PaddedPODArray<UInt8>& c) { | 101 | 770 | NumComparisonImpl<B, A, typename Op::SymmetricOp>::vector_constant(b, a, c); | 102 | 770 | } |
Unexecuted instantiation: _ZN5doris17NumComparisonImplInnNS_11NotEqualsOpILNS_13PrimitiveTypeE7EEEE15constant_vectorEnRKNS_8PODArrayInLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERNS5_IhLm4096ES8_Lm16ELm15EEE Unexecuted instantiation: _ZN5doris17NumComparisonImplIjjNS_11NotEqualsOpILNS_13PrimitiveTypeE36EEEE15constant_vectorEjRKNS_8PODArrayIjLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERNS5_IhLm4096ES8_Lm16ELm15EEE Unexecuted instantiation: _ZN5doris17NumComparisonImplIooNS_11NotEqualsOpILNS_13PrimitiveTypeE37EEEE15constant_vectorEoRKNS_8PODArrayIoLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERNS5_IhLm4096ES8_Lm16ELm15EEE Unexecuted instantiation: _ZN5doris17NumComparisonImplIffNS_11NotEqualsOpILNS_13PrimitiveTypeE8EEEE15constant_vectorEfRKNS_8PODArrayIfLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERNS5_IhLm4096ES8_Lm16ELm15EEE Unexecuted instantiation: _ZN5doris17NumComparisonImplIddNS_11NotEqualsOpILNS_13PrimitiveTypeE9EEEE15constant_vectorEdRKNS_8PODArrayIdLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERNS5_IhLm4096ES8_Lm16ELm15EEE Unexecuted instantiation: _ZN5doris17NumComparisonImplIddNS_11NotEqualsOpILNS_13PrimitiveTypeE27EEEE15constant_vectorEdRKNS_8PODArrayIdLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERNS5_IhLm4096ES8_Lm16ELm15EEE Unexecuted instantiation: _ZN5doris17NumComparisonImplIhhNS_9GreaterOpILNS_13PrimitiveTypeE2EEEE15constant_vectorEhRKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERS9_ Unexecuted instantiation: _ZN5doris17NumComparisonImplINS_11DateV2ValueINS_15DateV2ValueTypeEEES3_NS_9GreaterOpILNS_13PrimitiveTypeE25EEEE15constant_vectorES3_RKNS_8PODArrayIS3_Lm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERNS8_IhLm4096ESB_Lm16ELm15EEE Unexecuted instantiation: _ZN5doris17NumComparisonImplINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEES3_NS_9GreaterOpILNS_13PrimitiveTypeE26EEEE15constant_vectorES3_RKNS_8PODArrayIS3_Lm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERNS8_IhLm4096ESB_Lm16ELm15EEE Unexecuted instantiation: _ZN5doris17NumComparisonImplINS_16TimestampTzValueES1_NS_9GreaterOpILNS_13PrimitiveTypeE42EEEE15constant_vectorES1_RKNS_8PODArrayIS1_Lm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERNS6_IhLm4096ES9_Lm16ELm15EEE _ZN5doris17NumComparisonImplIaaNS_9GreaterOpILNS_13PrimitiveTypeE3EEEE15constant_vectorEaRKNS_8PODArrayIaLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 100 | 210 | static void constant_vector(A a, const PaddedPODArray<B>& b, PaddedPODArray<UInt8>& c) { | 101 | 210 | NumComparisonImpl<B, A, typename Op::SymmetricOp>::vector_constant(b, a, c); | 102 | 210 | } |
_ZN5doris17NumComparisonImplIssNS_9GreaterOpILNS_13PrimitiveTypeE4EEEE15constant_vectorEsRKNS_8PODArrayIsLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 100 | 216 | static void constant_vector(A a, const PaddedPODArray<B>& b, PaddedPODArray<UInt8>& c) { | 101 | 216 | NumComparisonImpl<B, A, typename Op::SymmetricOp>::vector_constant(b, a, c); | 102 | 216 | } |
_ZN5doris17NumComparisonImplIiiNS_9GreaterOpILNS_13PrimitiveTypeE5EEEE15constant_vectorEiRKNS_8PODArrayIiLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 100 | 3.33k | static void constant_vector(A a, const PaddedPODArray<B>& b, PaddedPODArray<UInt8>& c) { | 101 | 3.33k | NumComparisonImpl<B, A, typename Op::SymmetricOp>::vector_constant(b, a, c); | 102 | 3.33k | } |
_ZN5doris17NumComparisonImplIllNS_9GreaterOpILNS_13PrimitiveTypeE6EEEE15constant_vectorElRKNS_8PODArrayIlLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 100 | 528 | static void constant_vector(A a, const PaddedPODArray<B>& b, PaddedPODArray<UInt8>& c) { | 101 | 528 | NumComparisonImpl<B, A, typename Op::SymmetricOp>::vector_constant(b, a, c); | 102 | 528 | } |
_ZN5doris17NumComparisonImplInnNS_9GreaterOpILNS_13PrimitiveTypeE7EEEE15constant_vectorEnRKNS_8PODArrayInLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 100 | 30 | static void constant_vector(A a, const PaddedPODArray<B>& b, PaddedPODArray<UInt8>& c) { | 101 | 30 | NumComparisonImpl<B, A, typename Op::SymmetricOp>::vector_constant(b, a, c); | 102 | 30 | } |
Unexecuted instantiation: _ZN5doris17NumComparisonImplIjjNS_9GreaterOpILNS_13PrimitiveTypeE36EEEE15constant_vectorEjRKNS_8PODArrayIjLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERNS5_IhLm4096ES8_Lm16ELm15EEE Unexecuted instantiation: _ZN5doris17NumComparisonImplIooNS_9GreaterOpILNS_13PrimitiveTypeE37EEEE15constant_vectorEoRKNS_8PODArrayIoLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERNS5_IhLm4096ES8_Lm16ELm15EEE Unexecuted instantiation: _ZN5doris17NumComparisonImplIffNS_9GreaterOpILNS_13PrimitiveTypeE8EEEE15constant_vectorEfRKNS_8PODArrayIfLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERNS5_IhLm4096ES8_Lm16ELm15EEE Unexecuted instantiation: _ZN5doris17NumComparisonImplIddNS_9GreaterOpILNS_13PrimitiveTypeE9EEEE15constant_vectorEdRKNS_8PODArrayIdLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERNS5_IhLm4096ES8_Lm16ELm15EEE Unexecuted instantiation: _ZN5doris17NumComparisonImplIddNS_9GreaterOpILNS_13PrimitiveTypeE27EEEE15constant_vectorEdRKNS_8PODArrayIdLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERNS5_IhLm4096ES8_Lm16ELm15EEE Unexecuted instantiation: _ZN5doris17NumComparisonImplIhhNS_17GreaterOrEqualsOpILNS_13PrimitiveTypeE2EEEE15constant_vectorEhRKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERS9_ _ZN5doris17NumComparisonImplINS_11DateV2ValueINS_15DateV2ValueTypeEEES3_NS_17GreaterOrEqualsOpILNS_13PrimitiveTypeE25EEEE15constant_vectorES3_RKNS_8PODArrayIS3_Lm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERNS8_IhLm4096ESB_Lm16ELm15EEE Line | Count | Source | 100 | 6 | static void constant_vector(A a, const PaddedPODArray<B>& b, PaddedPODArray<UInt8>& c) { | 101 | 6 | NumComparisonImpl<B, A, typename Op::SymmetricOp>::vector_constant(b, a, c); | 102 | 6 | } |
Unexecuted instantiation: _ZN5doris17NumComparisonImplINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEES3_NS_17GreaterOrEqualsOpILNS_13PrimitiveTypeE26EEEE15constant_vectorES3_RKNS_8PODArrayIS3_Lm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERNS8_IhLm4096ESB_Lm16ELm15EEE Unexecuted instantiation: _ZN5doris17NumComparisonImplINS_16TimestampTzValueES1_NS_17GreaterOrEqualsOpILNS_13PrimitiveTypeE42EEEE15constant_vectorES1_RKNS_8PODArrayIS1_Lm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERNS6_IhLm4096ES9_Lm16ELm15EEE Unexecuted instantiation: _ZN5doris17NumComparisonImplIaaNS_17GreaterOrEqualsOpILNS_13PrimitiveTypeE3EEEE15constant_vectorEaRKNS_8PODArrayIaLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERNS5_IhLm4096ES8_Lm16ELm15EEE Unexecuted instantiation: _ZN5doris17NumComparisonImplIssNS_17GreaterOrEqualsOpILNS_13PrimitiveTypeE4EEEE15constant_vectorEsRKNS_8PODArrayIsLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERNS5_IhLm4096ES8_Lm16ELm15EEE Unexecuted instantiation: _ZN5doris17NumComparisonImplIiiNS_17GreaterOrEqualsOpILNS_13PrimitiveTypeE5EEEE15constant_vectorEiRKNS_8PODArrayIiLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERNS5_IhLm4096ES8_Lm16ELm15EEE Unexecuted instantiation: _ZN5doris17NumComparisonImplIllNS_17GreaterOrEqualsOpILNS_13PrimitiveTypeE6EEEE15constant_vectorElRKNS_8PODArrayIlLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERNS5_IhLm4096ES8_Lm16ELm15EEE Unexecuted instantiation: _ZN5doris17NumComparisonImplInnNS_17GreaterOrEqualsOpILNS_13PrimitiveTypeE7EEEE15constant_vectorEnRKNS_8PODArrayInLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERNS5_IhLm4096ES8_Lm16ELm15EEE Unexecuted instantiation: _ZN5doris17NumComparisonImplIjjNS_17GreaterOrEqualsOpILNS_13PrimitiveTypeE36EEEE15constant_vectorEjRKNS_8PODArrayIjLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERNS5_IhLm4096ES8_Lm16ELm15EEE Unexecuted instantiation: _ZN5doris17NumComparisonImplIooNS_17GreaterOrEqualsOpILNS_13PrimitiveTypeE37EEEE15constant_vectorEoRKNS_8PODArrayIoLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERNS5_IhLm4096ES8_Lm16ELm15EEE Unexecuted instantiation: _ZN5doris17NumComparisonImplIffNS_17GreaterOrEqualsOpILNS_13PrimitiveTypeE8EEEE15constant_vectorEfRKNS_8PODArrayIfLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERNS5_IhLm4096ES8_Lm16ELm15EEE Unexecuted instantiation: _ZN5doris17NumComparisonImplIddNS_17GreaterOrEqualsOpILNS_13PrimitiveTypeE9EEEE15constant_vectorEdRKNS_8PODArrayIdLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERNS5_IhLm4096ES8_Lm16ELm15EEE Unexecuted instantiation: _ZN5doris17NumComparisonImplIddNS_17GreaterOrEqualsOpILNS_13PrimitiveTypeE27EEEE15constant_vectorEdRKNS_8PODArrayIdLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERNS5_IhLm4096ES8_Lm16ELm15EEE Unexecuted instantiation: _ZN5doris17NumComparisonImplIhhNS_6LessOpILNS_13PrimitiveTypeE2EEEE15constant_vectorEhRKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERS9_ Unexecuted instantiation: _ZN5doris17NumComparisonImplINS_11DateV2ValueINS_15DateV2ValueTypeEEES3_NS_6LessOpILNS_13PrimitiveTypeE25EEEE15constant_vectorES3_RKNS_8PODArrayIS3_Lm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERNS8_IhLm4096ESB_Lm16ELm15EEE Unexecuted instantiation: _ZN5doris17NumComparisonImplINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEES3_NS_6LessOpILNS_13PrimitiveTypeE26EEEE15constant_vectorES3_RKNS_8PODArrayIS3_Lm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERNS8_IhLm4096ESB_Lm16ELm15EEE Unexecuted instantiation: _ZN5doris17NumComparisonImplINS_16TimestampTzValueES1_NS_6LessOpILNS_13PrimitiveTypeE42EEEE15constant_vectorES1_RKNS_8PODArrayIS1_Lm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERNS6_IhLm4096ES9_Lm16ELm15EEE _ZN5doris17NumComparisonImplIaaNS_6LessOpILNS_13PrimitiveTypeE3EEEE15constant_vectorEaRKNS_8PODArrayIaLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 100 | 216 | static void constant_vector(A a, const PaddedPODArray<B>& b, PaddedPODArray<UInt8>& c) { | 101 | 216 | NumComparisonImpl<B, A, typename Op::SymmetricOp>::vector_constant(b, a, c); | 102 | 216 | } |
Unexecuted instantiation: _ZN5doris17NumComparisonImplIssNS_6LessOpILNS_13PrimitiveTypeE4EEEE15constant_vectorEsRKNS_8PODArrayIsLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERNS5_IhLm4096ES8_Lm16ELm15EEE _ZN5doris17NumComparisonImplIiiNS_6LessOpILNS_13PrimitiveTypeE5EEEE15constant_vectorEiRKNS_8PODArrayIiLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 100 | 121 | static void constant_vector(A a, const PaddedPODArray<B>& b, PaddedPODArray<UInt8>& c) { | 101 | 121 | NumComparisonImpl<B, A, typename Op::SymmetricOp>::vector_constant(b, a, c); | 102 | 121 | } |
_ZN5doris17NumComparisonImplIllNS_6LessOpILNS_13PrimitiveTypeE6EEEE15constant_vectorElRKNS_8PODArrayIlLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 100 | 80 | static void constant_vector(A a, const PaddedPODArray<B>& b, PaddedPODArray<UInt8>& c) { | 101 | 80 | NumComparisonImpl<B, A, typename Op::SymmetricOp>::vector_constant(b, a, c); | 102 | 80 | } |
_ZN5doris17NumComparisonImplInnNS_6LessOpILNS_13PrimitiveTypeE7EEEE15constant_vectorEnRKNS_8PODArrayInLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 100 | 88 | static void constant_vector(A a, const PaddedPODArray<B>& b, PaddedPODArray<UInt8>& c) { | 101 | 88 | NumComparisonImpl<B, A, typename Op::SymmetricOp>::vector_constant(b, a, c); | 102 | 88 | } |
Unexecuted instantiation: _ZN5doris17NumComparisonImplIjjNS_6LessOpILNS_13PrimitiveTypeE36EEEE15constant_vectorEjRKNS_8PODArrayIjLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERNS5_IhLm4096ES8_Lm16ELm15EEE Unexecuted instantiation: _ZN5doris17NumComparisonImplIooNS_6LessOpILNS_13PrimitiveTypeE37EEEE15constant_vectorEoRKNS_8PODArrayIoLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERNS5_IhLm4096ES8_Lm16ELm15EEE Unexecuted instantiation: _ZN5doris17NumComparisonImplIffNS_6LessOpILNS_13PrimitiveTypeE8EEEE15constant_vectorEfRKNS_8PODArrayIfLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERNS5_IhLm4096ES8_Lm16ELm15EEE Unexecuted instantiation: _ZN5doris17NumComparisonImplIddNS_6LessOpILNS_13PrimitiveTypeE9EEEE15constant_vectorEdRKNS_8PODArrayIdLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERNS5_IhLm4096ES8_Lm16ELm15EEE Unexecuted instantiation: _ZN5doris17NumComparisonImplIddNS_6LessOpILNS_13PrimitiveTypeE27EEEE15constant_vectorEdRKNS_8PODArrayIdLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERNS5_IhLm4096ES8_Lm16ELm15EEE Unexecuted instantiation: _ZN5doris17NumComparisonImplIhhNS_14LessOrEqualsOpILNS_13PrimitiveTypeE2EEEE15constant_vectorEhRKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERS9_ _ZN5doris17NumComparisonImplINS_11DateV2ValueINS_15DateV2ValueTypeEEES3_NS_14LessOrEqualsOpILNS_13PrimitiveTypeE25EEEE15constant_vectorES3_RKNS_8PODArrayIS3_Lm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERNS8_IhLm4096ESB_Lm16ELm15EEE Line | Count | Source | 100 | 5 | static void constant_vector(A a, const PaddedPODArray<B>& b, PaddedPODArray<UInt8>& c) { | 101 | 5 | NumComparisonImpl<B, A, typename Op::SymmetricOp>::vector_constant(b, a, c); | 102 | 5 | } |
Unexecuted instantiation: _ZN5doris17NumComparisonImplINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEES3_NS_14LessOrEqualsOpILNS_13PrimitiveTypeE26EEEE15constant_vectorES3_RKNS_8PODArrayIS3_Lm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERNS8_IhLm4096ESB_Lm16ELm15EEE Unexecuted instantiation: _ZN5doris17NumComparisonImplINS_16TimestampTzValueES1_NS_14LessOrEqualsOpILNS_13PrimitiveTypeE42EEEE15constant_vectorES1_RKNS_8PODArrayIS1_Lm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERNS6_IhLm4096ES9_Lm16ELm15EEE Unexecuted instantiation: _ZN5doris17NumComparisonImplIaaNS_14LessOrEqualsOpILNS_13PrimitiveTypeE3EEEE15constant_vectorEaRKNS_8PODArrayIaLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERNS5_IhLm4096ES8_Lm16ELm15EEE Unexecuted instantiation: _ZN5doris17NumComparisonImplIssNS_14LessOrEqualsOpILNS_13PrimitiveTypeE4EEEE15constant_vectorEsRKNS_8PODArrayIsLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERNS5_IhLm4096ES8_Lm16ELm15EEE _ZN5doris17NumComparisonImplIiiNS_14LessOrEqualsOpILNS_13PrimitiveTypeE5EEEE15constant_vectorEiRKNS_8PODArrayIiLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 100 | 575 | static void constant_vector(A a, const PaddedPODArray<B>& b, PaddedPODArray<UInt8>& c) { | 101 | 575 | NumComparisonImpl<B, A, typename Op::SymmetricOp>::vector_constant(b, a, c); | 102 | 575 | } |
_ZN5doris17NumComparisonImplIllNS_14LessOrEqualsOpILNS_13PrimitiveTypeE6EEEE15constant_vectorElRKNS_8PODArrayIlLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 100 | 48 | static void constant_vector(A a, const PaddedPODArray<B>& b, PaddedPODArray<UInt8>& c) { | 101 | 48 | NumComparisonImpl<B, A, typename Op::SymmetricOp>::vector_constant(b, a, c); | 102 | 48 | } |
Unexecuted instantiation: _ZN5doris17NumComparisonImplInnNS_14LessOrEqualsOpILNS_13PrimitiveTypeE7EEEE15constant_vectorEnRKNS_8PODArrayInLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERNS5_IhLm4096ES8_Lm16ELm15EEE Unexecuted instantiation: _ZN5doris17NumComparisonImplIjjNS_14LessOrEqualsOpILNS_13PrimitiveTypeE36EEEE15constant_vectorEjRKNS_8PODArrayIjLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERNS5_IhLm4096ES8_Lm16ELm15EEE Unexecuted instantiation: _ZN5doris17NumComparisonImplIooNS_14LessOrEqualsOpILNS_13PrimitiveTypeE37EEEE15constant_vectorEoRKNS_8PODArrayIoLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERNS5_IhLm4096ES8_Lm16ELm15EEE Unexecuted instantiation: _ZN5doris17NumComparisonImplIffNS_14LessOrEqualsOpILNS_13PrimitiveTypeE8EEEE15constant_vectorEfRKNS_8PODArrayIfLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERNS5_IhLm4096ES8_Lm16ELm15EEE _ZN5doris17NumComparisonImplIddNS_14LessOrEqualsOpILNS_13PrimitiveTypeE9EEEE15constant_vectorEdRKNS_8PODArrayIdLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 100 | 1 | static void constant_vector(A a, const PaddedPODArray<B>& b, PaddedPODArray<UInt8>& c) { | 101 | 1 | NumComparisonImpl<B, A, typename Op::SymmetricOp>::vector_constant(b, a, c); | 102 | 1 | } |
Unexecuted instantiation: _ZN5doris17NumComparisonImplIddNS_14LessOrEqualsOpILNS_13PrimitiveTypeE27EEEE15constant_vectorEdRKNS_8PODArrayIdLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERNS5_IhLm4096ES8_Lm16ELm15EEE |
103 | | }; |
104 | | |
105 | | /// Generic version, implemented for columns of same type. |
106 | | template <typename Op> |
107 | | struct GenericComparisonImpl { |
108 | 9 | static void vector_vector(const IColumn& a, const IColumn& b, PaddedPODArray<UInt8>& c) { |
109 | 20 | for (size_t i = 0, size = a.size(); i < size; ++i) { |
110 | 11 | c[i] = Op::apply(a.compare_at(i, i, b, 1), 0); |
111 | 11 | } |
112 | 9 | } _ZN5doris21GenericComparisonImplINS_8EqualsOpILNS_13PrimitiveTypeE5EEEE13vector_vectorERKNS_7IColumnES7_RNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEE Line | Count | Source | 108 | 4 | static void vector_vector(const IColumn& a, const IColumn& b, PaddedPODArray<UInt8>& c) { | 109 | 10 | for (size_t i = 0, size = a.size(); i < size; ++i) { | 110 | 6 | c[i] = Op::apply(a.compare_at(i, i, b, 1), 0); | 111 | 6 | } | 112 | 4 | } |
Unexecuted instantiation: _ZN5doris21GenericComparisonImplINS_11NotEqualsOpILNS_13PrimitiveTypeE5EEEE13vector_vectorERKNS_7IColumnES7_RNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEE _ZN5doris21GenericComparisonImplINS_9GreaterOpILNS_13PrimitiveTypeE5EEEE13vector_vectorERKNS_7IColumnES7_RNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEE Line | Count | Source | 108 | 1 | static void vector_vector(const IColumn& a, const IColumn& b, PaddedPODArray<UInt8>& c) { | 109 | 2 | for (size_t i = 0, size = a.size(); i < size; ++i) { | 110 | 1 | c[i] = Op::apply(a.compare_at(i, i, b, 1), 0); | 111 | 1 | } | 112 | 1 | } |
_ZN5doris21GenericComparisonImplINS_17GreaterOrEqualsOpILNS_13PrimitiveTypeE5EEEE13vector_vectorERKNS_7IColumnES7_RNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEE Line | Count | Source | 108 | 1 | static void vector_vector(const IColumn& a, const IColumn& b, PaddedPODArray<UInt8>& c) { | 109 | 2 | for (size_t i = 0, size = a.size(); i < size; ++i) { | 110 | 1 | c[i] = Op::apply(a.compare_at(i, i, b, 1), 0); | 111 | 1 | } | 112 | 1 | } |
_ZN5doris21GenericComparisonImplINS_6LessOpILNS_13PrimitiveTypeE5EEEE13vector_vectorERKNS_7IColumnES7_RNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEE Line | Count | Source | 108 | 3 | static void vector_vector(const IColumn& a, const IColumn& b, PaddedPODArray<UInt8>& c) { | 109 | 6 | for (size_t i = 0, size = a.size(); i < size; ++i) { | 110 | 3 | c[i] = Op::apply(a.compare_at(i, i, b, 1), 0); | 111 | 3 | } | 112 | 3 | } |
Unexecuted instantiation: _ZN5doris21GenericComparisonImplINS_14LessOrEqualsOpILNS_13PrimitiveTypeE5EEEE13vector_vectorERKNS_7IColumnES7_RNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEE |
113 | | |
114 | 172 | static void vector_constant(const IColumn& a, const IColumn& b, PaddedPODArray<UInt8>& c) { |
115 | 172 | const auto& col_right = assert_cast<const ColumnConst&>(b).get_data_column(); |
116 | 610k | for (size_t i = 0, size = a.size(); i < size; ++i) { |
117 | 609k | c[i] = Op::apply(a.compare_at(i, 0, col_right, 1), 0); |
118 | 609k | } |
119 | 172 | } _ZN5doris21GenericComparisonImplINS_8EqualsOpILNS_13PrimitiveTypeE5EEEE15vector_constantERKNS_7IColumnES7_RNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEE Line | Count | Source | 114 | 13 | static void vector_constant(const IColumn& a, const IColumn& b, PaddedPODArray<UInt8>& c) { | 115 | 13 | const auto& col_right = assert_cast<const ColumnConst&>(b).get_data_column(); | 116 | 31 | for (size_t i = 0, size = a.size(); i < size; ++i) { | 117 | 18 | c[i] = Op::apply(a.compare_at(i, 0, col_right, 1), 0); | 118 | 18 | } | 119 | 13 | } |
_ZN5doris21GenericComparisonImplINS_11NotEqualsOpILNS_13PrimitiveTypeE5EEEE15vector_constantERKNS_7IColumnES7_RNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEE Line | Count | Source | 114 | 8 | static void vector_constant(const IColumn& a, const IColumn& b, PaddedPODArray<UInt8>& c) { | 115 | 8 | const auto& col_right = assert_cast<const ColumnConst&>(b).get_data_column(); | 116 | 16 | for (size_t i = 0, size = a.size(); i < size; ++i) { | 117 | 8 | c[i] = Op::apply(a.compare_at(i, 0, col_right, 1), 0); | 118 | 8 | } | 119 | 8 | } |
_ZN5doris21GenericComparisonImplINS_6LessOpILNS_13PrimitiveTypeE5EEEE15vector_constantERKNS_7IColumnES7_RNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEE Line | Count | Source | 114 | 8 | static void vector_constant(const IColumn& a, const IColumn& b, PaddedPODArray<UInt8>& c) { | 115 | 8 | const auto& col_right = assert_cast<const ColumnConst&>(b).get_data_column(); | 116 | 16 | for (size_t i = 0, size = a.size(); i < size; ++i) { | 117 | 8 | c[i] = Op::apply(a.compare_at(i, 0, col_right, 1), 0); | 118 | 8 | } | 119 | 8 | } |
_ZN5doris21GenericComparisonImplINS_9GreaterOpILNS_13PrimitiveTypeE5EEEE15vector_constantERKNS_7IColumnES7_RNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEE Line | Count | Source | 114 | 8 | static void vector_constant(const IColumn& a, const IColumn& b, PaddedPODArray<UInt8>& c) { | 115 | 8 | const auto& col_right = assert_cast<const ColumnConst&>(b).get_data_column(); | 116 | 16 | for (size_t i = 0, size = a.size(); i < size; ++i) { | 117 | 8 | c[i] = Op::apply(a.compare_at(i, 0, col_right, 1), 0); | 118 | 8 | } | 119 | 8 | } |
_ZN5doris21GenericComparisonImplINS_14LessOrEqualsOpILNS_13PrimitiveTypeE5EEEE15vector_constantERKNS_7IColumnES7_RNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEE Line | Count | Source | 114 | 64 | static void vector_constant(const IColumn& a, const IColumn& b, PaddedPODArray<UInt8>& c) { | 115 | 64 | const auto& col_right = assert_cast<const ColumnConst&>(b).get_data_column(); | 116 | 319k | for (size_t i = 0, size = a.size(); i < size; ++i) { | 117 | 319k | c[i] = Op::apply(a.compare_at(i, 0, col_right, 1), 0); | 118 | 319k | } | 119 | 64 | } |
_ZN5doris21GenericComparisonImplINS_17GreaterOrEqualsOpILNS_13PrimitiveTypeE5EEEE15vector_constantERKNS_7IColumnES7_RNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEE Line | Count | Source | 114 | 71 | static void vector_constant(const IColumn& a, const IColumn& b, PaddedPODArray<UInt8>& c) { | 115 | 71 | const auto& col_right = assert_cast<const ColumnConst&>(b).get_data_column(); | 116 | 290k | for (size_t i = 0, size = a.size(); i < size; ++i) { | 117 | 290k | c[i] = Op::apply(a.compare_at(i, 0, col_right, 1), 0); | 118 | 290k | } | 119 | 71 | } |
|
120 | | |
121 | 0 | static void constant_vector(const IColumn& a, const IColumn& b, PaddedPODArray<UInt8>& c) { |
122 | 0 | GenericComparisonImpl<typename Op::SymmetricOp>::vector_constant(b, a, c); |
123 | 0 | } Unexecuted instantiation: _ZN5doris21GenericComparisonImplINS_8EqualsOpILNS_13PrimitiveTypeE5EEEE15constant_vectorERKNS_7IColumnES7_RNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEE Unexecuted instantiation: _ZN5doris21GenericComparisonImplINS_11NotEqualsOpILNS_13PrimitiveTypeE5EEEE15constant_vectorERKNS_7IColumnES7_RNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEE Unexecuted instantiation: _ZN5doris21GenericComparisonImplINS_9GreaterOpILNS_13PrimitiveTypeE5EEEE15constant_vectorERKNS_7IColumnES7_RNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEE Unexecuted instantiation: _ZN5doris21GenericComparisonImplINS_17GreaterOrEqualsOpILNS_13PrimitiveTypeE5EEEE15constant_vectorERKNS_7IColumnES7_RNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEE Unexecuted instantiation: _ZN5doris21GenericComparisonImplINS_6LessOpILNS_13PrimitiveTypeE5EEEE15constant_vectorERKNS_7IColumnES7_RNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEE Unexecuted instantiation: _ZN5doris21GenericComparisonImplINS_14LessOrEqualsOpILNS_13PrimitiveTypeE5EEEE15constant_vectorERKNS_7IColumnES7_RNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEE |
124 | | }; |
125 | | |
126 | | template <typename Op> |
127 | | struct StringComparisonImpl { |
128 | | static void NO_INLINE string_vector_string_vector(const ColumnString::Chars& a_data, |
129 | | const ColumnString::Offsets& a_offsets, |
130 | | const ColumnString::Chars& b_data, |
131 | | const ColumnString::Offsets& b_offsets, |
132 | 887 | PaddedPODArray<UInt8>& c) { |
133 | 887 | size_t size = a_offsets.size(); |
134 | 887 | ColumnString::Offset prev_a_offset = 0; |
135 | 887 | ColumnString::Offset prev_b_offset = 0; |
136 | 887 | const auto* a_pos = a_data.data(); |
137 | 887 | const auto* b_pos = b_data.data(); |
138 | | |
139 | 2.49k | for (size_t i = 0; i < size; ++i) { |
140 | 1.61k | c[i] = Op::apply(memcmp_small_allow_overflow15( |
141 | 1.61k | a_pos + prev_a_offset, a_offsets[i] - prev_a_offset, |
142 | 1.61k | b_pos + prev_b_offset, b_offsets[i] - prev_b_offset), |
143 | 1.61k | 0); |
144 | | |
145 | 1.61k | prev_a_offset = a_offsets[i]; |
146 | 1.61k | prev_b_offset = b_offsets[i]; |
147 | 1.61k | } |
148 | 887 | } _ZN5doris20StringComparisonImplINS_9GreaterOpILNS_13PrimitiveTypeE5EEEE27string_vector_string_vectorERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERKNS5_IjLm4096ES8_Lm16ELm15EEESB_SE_RS9_ Line | Count | Source | 132 | 2 | PaddedPODArray<UInt8>& c) { | 133 | 2 | size_t size = a_offsets.size(); | 134 | 2 | ColumnString::Offset prev_a_offset = 0; | 135 | 2 | ColumnString::Offset prev_b_offset = 0; | 136 | 2 | const auto* a_pos = a_data.data(); | 137 | 2 | const auto* b_pos = b_data.data(); | 138 | | | 139 | 49 | for (size_t i = 0; i < size; ++i) { | 140 | 47 | c[i] = Op::apply(memcmp_small_allow_overflow15( | 141 | 47 | a_pos + prev_a_offset, a_offsets[i] - prev_a_offset, | 142 | 47 | b_pos + prev_b_offset, b_offsets[i] - prev_b_offset), | 143 | 47 | 0); | 144 | | | 145 | 47 | prev_a_offset = a_offsets[i]; | 146 | 47 | prev_b_offset = b_offsets[i]; | 147 | 47 | } | 148 | 2 | } |
_ZN5doris20StringComparisonImplINS_17GreaterOrEqualsOpILNS_13PrimitiveTypeE5EEEE27string_vector_string_vectorERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERKNS5_IjLm4096ES8_Lm16ELm15EEESB_SE_RS9_ Line | Count | Source | 132 | 176 | PaddedPODArray<UInt8>& c) { | 133 | 176 | size_t size = a_offsets.size(); | 134 | 176 | ColumnString::Offset prev_a_offset = 0; | 135 | 176 | ColumnString::Offset prev_b_offset = 0; | 136 | 176 | const auto* a_pos = a_data.data(); | 137 | 176 | const auto* b_pos = b_data.data(); | 138 | | | 139 | 510 | for (size_t i = 0; i < size; ++i) { | 140 | 334 | c[i] = Op::apply(memcmp_small_allow_overflow15( | 141 | 334 | a_pos + prev_a_offset, a_offsets[i] - prev_a_offset, | 142 | 334 | b_pos + prev_b_offset, b_offsets[i] - prev_b_offset), | 143 | 334 | 0); | 144 | | | 145 | 334 | prev_a_offset = a_offsets[i]; | 146 | 334 | prev_b_offset = b_offsets[i]; | 147 | 334 | } | 148 | 176 | } |
_ZN5doris20StringComparisonImplINS_6LessOpILNS_13PrimitiveTypeE5EEEE27string_vector_string_vectorERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERKNS5_IjLm4096ES8_Lm16ELm15EEESB_SE_RS9_ Line | Count | Source | 132 | 437 | PaddedPODArray<UInt8>& c) { | 133 | 437 | size_t size = a_offsets.size(); | 134 | 437 | ColumnString::Offset prev_a_offset = 0; | 135 | 437 | ColumnString::Offset prev_b_offset = 0; | 136 | 437 | const auto* a_pos = a_data.data(); | 137 | 437 | const auto* b_pos = b_data.data(); | 138 | | | 139 | 1.39k | for (size_t i = 0; i < size; ++i) { | 140 | 959 | c[i] = Op::apply(memcmp_small_allow_overflow15( | 141 | 959 | a_pos + prev_a_offset, a_offsets[i] - prev_a_offset, | 142 | 959 | b_pos + prev_b_offset, b_offsets[i] - prev_b_offset), | 143 | 959 | 0); | 144 | | | 145 | 959 | prev_a_offset = a_offsets[i]; | 146 | 959 | prev_b_offset = b_offsets[i]; | 147 | 959 | } | 148 | 437 | } |
_ZN5doris20StringComparisonImplINS_14LessOrEqualsOpILNS_13PrimitiveTypeE5EEEE27string_vector_string_vectorERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERKNS5_IjLm4096ES8_Lm16ELm15EEESB_SE_RS9_ Line | Count | Source | 132 | 272 | PaddedPODArray<UInt8>& c) { | 133 | 272 | size_t size = a_offsets.size(); | 134 | 272 | ColumnString::Offset prev_a_offset = 0; | 135 | 272 | ColumnString::Offset prev_b_offset = 0; | 136 | 272 | const auto* a_pos = a_data.data(); | 137 | 272 | const auto* b_pos = b_data.data(); | 138 | | | 139 | 544 | for (size_t i = 0; i < size; ++i) { | 140 | 272 | c[i] = Op::apply(memcmp_small_allow_overflow15( | 141 | 272 | a_pos + prev_a_offset, a_offsets[i] - prev_a_offset, | 142 | 272 | b_pos + prev_b_offset, b_offsets[i] - prev_b_offset), | 143 | 272 | 0); | 144 | | | 145 | 272 | prev_a_offset = a_offsets[i]; | 146 | 272 | prev_b_offset = b_offsets[i]; | 147 | 272 | } | 148 | 272 | } |
|
149 | | |
150 | | static void NO_INLINE string_vector_constant(const ColumnString::Chars& a_data, |
151 | | const ColumnString::Offsets& a_offsets, |
152 | | const ColumnString::Chars& b_data, |
153 | | ColumnString::Offset b_size, |
154 | 1.49k | PaddedPODArray<UInt8>& c) { |
155 | 1.49k | size_t size = a_offsets.size(); |
156 | 1.49k | ColumnString::Offset prev_a_offset = 0; |
157 | 1.49k | const auto* a_pos = a_data.data(); |
158 | 1.49k | const auto* b_pos = b_data.data(); |
159 | | |
160 | 1.56M | for (size_t i = 0; i < size; ++i) { |
161 | 1.56M | c[i] = Op::apply( |
162 | 1.56M | memcmp_small_allow_overflow15(a_pos + prev_a_offset, |
163 | 1.56M | a_offsets[i] - prev_a_offset, b_pos, b_size), |
164 | 1.56M | 0); |
165 | | |
166 | 1.56M | prev_a_offset = a_offsets[i]; |
167 | 1.56M | } |
168 | 1.49k | } _ZN5doris20StringComparisonImplINS_9GreaterOpILNS_13PrimitiveTypeE5EEEE22string_vector_constantERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERKNS5_IjLm4096ES8_Lm16ELm15EEESB_jRS9_ Line | Count | Source | 154 | 186 | PaddedPODArray<UInt8>& c) { | 155 | 186 | size_t size = a_offsets.size(); | 156 | 186 | ColumnString::Offset prev_a_offset = 0; | 157 | 186 | const auto* a_pos = a_data.data(); | 158 | 186 | const auto* b_pos = b_data.data(); | 159 | | | 160 | 325k | for (size_t i = 0; i < size; ++i) { | 161 | 325k | c[i] = Op::apply( | 162 | 325k | memcmp_small_allow_overflow15(a_pos + prev_a_offset, | 163 | 325k | a_offsets[i] - prev_a_offset, b_pos, b_size), | 164 | 325k | 0); | 165 | | | 166 | 325k | prev_a_offset = a_offsets[i]; | 167 | 325k | } | 168 | 186 | } |
_ZN5doris20StringComparisonImplINS_6LessOpILNS_13PrimitiveTypeE5EEEE22string_vector_constantERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERKNS5_IjLm4096ES8_Lm16ELm15EEESB_jRS9_ Line | Count | Source | 154 | 200 | PaddedPODArray<UInt8>& c) { | 155 | 200 | size_t size = a_offsets.size(); | 156 | 200 | ColumnString::Offset prev_a_offset = 0; | 157 | 200 | const auto* a_pos = a_data.data(); | 158 | 200 | const auto* b_pos = b_data.data(); | 159 | | | 160 | 73.1k | for (size_t i = 0; i < size; ++i) { | 161 | 72.9k | c[i] = Op::apply( | 162 | 72.9k | memcmp_small_allow_overflow15(a_pos + prev_a_offset, | 163 | 72.9k | a_offsets[i] - prev_a_offset, b_pos, b_size), | 164 | 72.9k | 0); | 165 | | | 166 | 72.9k | prev_a_offset = a_offsets[i]; | 167 | 72.9k | } | 168 | 200 | } |
_ZN5doris20StringComparisonImplINS_17GreaterOrEqualsOpILNS_13PrimitiveTypeE5EEEE22string_vector_constantERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERKNS5_IjLm4096ES8_Lm16ELm15EEESB_jRS9_ Line | Count | Source | 154 | 425 | PaddedPODArray<UInt8>& c) { | 155 | 425 | size_t size = a_offsets.size(); | 156 | 425 | ColumnString::Offset prev_a_offset = 0; | 157 | 425 | const auto* a_pos = a_data.data(); | 158 | 425 | const auto* b_pos = b_data.data(); | 159 | | | 160 | 596k | for (size_t i = 0; i < size; ++i) { | 161 | 596k | c[i] = Op::apply( | 162 | 596k | memcmp_small_allow_overflow15(a_pos + prev_a_offset, | 163 | 596k | a_offsets[i] - prev_a_offset, b_pos, b_size), | 164 | 596k | 0); | 165 | | | 166 | 596k | prev_a_offset = a_offsets[i]; | 167 | 596k | } | 168 | 425 | } |
_ZN5doris20StringComparisonImplINS_14LessOrEqualsOpILNS_13PrimitiveTypeE5EEEE22string_vector_constantERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERKNS5_IjLm4096ES8_Lm16ELm15EEESB_jRS9_ Line | Count | Source | 154 | 682 | PaddedPODArray<UInt8>& c) { | 155 | 682 | size_t size = a_offsets.size(); | 156 | 682 | ColumnString::Offset prev_a_offset = 0; | 157 | 682 | const auto* a_pos = a_data.data(); | 158 | 682 | const auto* b_pos = b_data.data(); | 159 | | | 160 | 571k | for (size_t i = 0; i < size; ++i) { | 161 | 570k | c[i] = Op::apply( | 162 | 570k | memcmp_small_allow_overflow15(a_pos + prev_a_offset, | 163 | 570k | a_offsets[i] - prev_a_offset, b_pos, b_size), | 164 | 570k | 0); | 165 | | | 166 | 570k | prev_a_offset = a_offsets[i]; | 167 | 570k | } | 168 | 682 | } |
|
169 | | |
170 | | static void constant_string_vector(const ColumnString::Chars& a_data, |
171 | | ColumnString::Offset a_size, |
172 | | const ColumnString::Chars& b_data, |
173 | | const ColumnString::Offsets& b_offsets, |
174 | 62 | PaddedPODArray<UInt8>& c) { |
175 | 62 | StringComparisonImpl<typename Op::SymmetricOp>::string_vector_constant(b_data, b_offsets, |
176 | 62 | a_data, a_size, c); |
177 | 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 | 174 | 56 | PaddedPODArray<UInt8>& c) { | 175 | 56 | StringComparisonImpl<typename Op::SymmetricOp>::string_vector_constant(b_data, b_offsets, | 176 | 56 | a_data, a_size, c); | 177 | 56 | } |
_ZN5doris20StringComparisonImplINS_6LessOpILNS_13PrimitiveTypeE5EEEE22constant_string_vectorERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEjSB_RKNS5_IjLm4096ES8_Lm16ELm15EEERS9_ Line | Count | Source | 174 | 6 | PaddedPODArray<UInt8>& c) { | 175 | 6 | StringComparisonImpl<typename Op::SymmetricOp>::string_vector_constant(b_data, b_offsets, | 176 | 6 | a_data, a_size, c); | 177 | 6 | } |
Unexecuted instantiation: _ZN5doris20StringComparisonImplINS_14LessOrEqualsOpILNS_13PrimitiveTypeE5EEEE22constant_string_vectorERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEjSB_RKNS5_IjLm4096ES8_Lm16ELm15EEERS9_ |
178 | | }; |
179 | | |
180 | | template <bool positive> |
181 | | struct StringEqualsImpl { |
182 | | static void NO_INLINE string_vector_string_vector(const ColumnString::Chars& a_data, |
183 | | const ColumnString::Offsets& a_offsets, |
184 | | const ColumnString::Chars& b_data, |
185 | | const ColumnString::Offsets& b_offsets, |
186 | 2.57k | PaddedPODArray<UInt8>& c) { |
187 | 2.57k | size_t size = a_offsets.size(); |
188 | 2.57k | ColumnString::Offset prev_a_offset = 0; |
189 | 2.57k | ColumnString::Offset prev_b_offset = 0; |
190 | 2.57k | const auto* a_pos = a_data.data(); |
191 | 2.57k | const auto* b_pos = b_data.data(); |
192 | | |
193 | 5.59k | for (size_t i = 0; i < size; ++i) { |
194 | 3.02k | auto a_size = a_offsets[i] - prev_a_offset; |
195 | 3.02k | auto b_size = b_offsets[i] - prev_b_offset; |
196 | | |
197 | 3.02k | c[i] = positive == memequal_small_allow_overflow15(a_pos + prev_a_offset, a_size, |
198 | 3.02k | b_pos + prev_b_offset, b_size); |
199 | | |
200 | 3.02k | prev_a_offset = a_offsets[i]; |
201 | 3.02k | prev_b_offset = b_offsets[i]; |
202 | 3.02k | } |
203 | 2.57k | } _ZN5doris16StringEqualsImplILb1EE27string_vector_string_vectorERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERKNS2_IjLm4096ES5_Lm16ELm15EEES8_SB_RS6_ Line | Count | Source | 186 | 2.51k | PaddedPODArray<UInt8>& c) { | 187 | 2.51k | size_t size = a_offsets.size(); | 188 | 2.51k | ColumnString::Offset prev_a_offset = 0; | 189 | 2.51k | ColumnString::Offset prev_b_offset = 0; | 190 | 2.51k | const auto* a_pos = a_data.data(); | 191 | 2.51k | const auto* b_pos = b_data.data(); | 192 | | | 193 | 5.46k | for (size_t i = 0; i < size; ++i) { | 194 | 2.95k | auto a_size = a_offsets[i] - prev_a_offset; | 195 | 2.95k | auto b_size = b_offsets[i] - prev_b_offset; | 196 | | | 197 | 2.95k | c[i] = positive == memequal_small_allow_overflow15(a_pos + prev_a_offset, a_size, | 198 | 2.95k | b_pos + prev_b_offset, b_size); | 199 | | | 200 | 2.95k | prev_a_offset = a_offsets[i]; | 201 | 2.95k | prev_b_offset = b_offsets[i]; | 202 | 2.95k | } | 203 | 2.51k | } |
_ZN5doris16StringEqualsImplILb0EE27string_vector_string_vectorERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERKNS2_IjLm4096ES5_Lm16ELm15EEES8_SB_RS6_ Line | Count | Source | 186 | 60 | PaddedPODArray<UInt8>& c) { | 187 | 60 | size_t size = a_offsets.size(); | 188 | 60 | ColumnString::Offset prev_a_offset = 0; | 189 | 60 | ColumnString::Offset prev_b_offset = 0; | 190 | 60 | const auto* a_pos = a_data.data(); | 191 | 60 | const auto* b_pos = b_data.data(); | 192 | | | 193 | 129 | for (size_t i = 0; i < size; ++i) { | 194 | 69 | auto a_size = a_offsets[i] - prev_a_offset; | 195 | 69 | auto b_size = b_offsets[i] - prev_b_offset; | 196 | | | 197 | 69 | c[i] = positive == memequal_small_allow_overflow15(a_pos + prev_a_offset, a_size, | 198 | 69 | b_pos + prev_b_offset, b_size); | 199 | | | 200 | 69 | prev_a_offset = a_offsets[i]; | 201 | 69 | prev_b_offset = b_offsets[i]; | 202 | 69 | } | 203 | 60 | } |
|
204 | | |
205 | | static void NO_INLINE string_vector_constant(const ColumnString::Chars& a_data, |
206 | | const ColumnString::Offsets& a_offsets, |
207 | | const ColumnString::Chars& b_data, |
208 | | ColumnString::Offset b_size, |
209 | 24.8k | PaddedPODArray<UInt8>& c) { |
210 | 24.8k | size_t size = a_offsets.size(); |
211 | 24.8k | if (b_size == 0) { |
212 | 2 | auto* __restrict data = c.data(); |
213 | 2 | auto* __restrict offsets = a_offsets.data(); |
214 | | |
215 | 2 | ColumnString::Offset prev_a_offset = 0; |
216 | 10 | for (size_t i = 0; i < size; ++i) { |
217 | 8 | data[i] = positive ? (offsets[i] == prev_a_offset) : (offsets[i] != prev_a_offset); |
218 | 8 | prev_a_offset = offsets[i]; |
219 | 8 | } |
220 | 24.8k | } else { |
221 | 24.8k | ColumnString::Offset prev_a_offset = 0; |
222 | 24.8k | const auto* a_pos = a_data.data(); |
223 | 24.8k | const auto* b_pos = b_data.data(); |
224 | 12.3M | for (size_t i = 0; i < size; ++i) { |
225 | 12.3M | auto a_size = a_offsets[i] - prev_a_offset; |
226 | 12.3M | c[i] = positive == memequal_small_allow_overflow15(a_pos + prev_a_offset, a_size, |
227 | 12.3M | b_pos, b_size); |
228 | 12.3M | prev_a_offset = a_offsets[i]; |
229 | 12.3M | } |
230 | 24.8k | } |
231 | 24.8k | } _ZN5doris16StringEqualsImplILb1EE22string_vector_constantERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERKNS2_IjLm4096ES5_Lm16ELm15EEES8_jRS6_ Line | Count | Source | 209 | 22.4k | PaddedPODArray<UInt8>& c) { | 210 | 22.4k | size_t size = a_offsets.size(); | 211 | 22.4k | if (b_size == 0) { | 212 | 0 | auto* __restrict data = c.data(); | 213 | 0 | auto* __restrict offsets = a_offsets.data(); | 214 | |
| 215 | 0 | ColumnString::Offset prev_a_offset = 0; | 216 | 0 | for (size_t i = 0; i < size; ++i) { | 217 | 0 | data[i] = positive ? (offsets[i] == prev_a_offset) : (offsets[i] != prev_a_offset); | 218 | 0 | prev_a_offset = offsets[i]; | 219 | 0 | } | 220 | 22.4k | } else { | 221 | 22.4k | ColumnString::Offset prev_a_offset = 0; | 222 | 22.4k | const auto* a_pos = a_data.data(); | 223 | 22.4k | const auto* b_pos = b_data.data(); | 224 | 8.55M | for (size_t i = 0; i < size; ++i) { | 225 | 8.53M | auto a_size = a_offsets[i] - prev_a_offset; | 226 | 8.53M | c[i] = positive == memequal_small_allow_overflow15(a_pos + prev_a_offset, a_size, | 227 | 8.53M | b_pos, b_size); | 228 | 8.53M | prev_a_offset = a_offsets[i]; | 229 | 8.53M | } | 230 | 22.4k | } | 231 | 22.4k | } |
_ZN5doris16StringEqualsImplILb0EE22string_vector_constantERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERKNS2_IjLm4096ES5_Lm16ELm15EEES8_jRS6_ Line | Count | Source | 209 | 2.45k | PaddedPODArray<UInt8>& c) { | 210 | 2.45k | size_t size = a_offsets.size(); | 211 | 2.45k | if (b_size == 0) { | 212 | 2 | auto* __restrict data = c.data(); | 213 | 2 | auto* __restrict offsets = a_offsets.data(); | 214 | | | 215 | 2 | ColumnString::Offset prev_a_offset = 0; | 216 | 10 | for (size_t i = 0; i < size; ++i) { | 217 | 8 | data[i] = positive ? (offsets[i] == prev_a_offset) : (offsets[i] != prev_a_offset); | 218 | 8 | prev_a_offset = offsets[i]; | 219 | 8 | } | 220 | 2.45k | } else { | 221 | 2.45k | ColumnString::Offset prev_a_offset = 0; | 222 | 2.45k | const auto* a_pos = a_data.data(); | 223 | 2.45k | const auto* b_pos = b_data.data(); | 224 | 3.78M | for (size_t i = 0; i < size; ++i) { | 225 | 3.78M | auto a_size = a_offsets[i] - prev_a_offset; | 226 | 3.78M | c[i] = positive == memequal_small_allow_overflow15(a_pos + prev_a_offset, a_size, | 227 | 3.78M | b_pos, b_size); | 228 | 3.78M | prev_a_offset = a_offsets[i]; | 229 | 3.78M | } | 230 | 2.45k | } | 231 | 2.45k | } |
|
232 | | |
233 | | static void NO_INLINE constant_string_vector(const ColumnString::Chars& a_data, |
234 | | ColumnString::Offset a_size, |
235 | | const ColumnString::Chars& b_data, |
236 | | const ColumnString::Offsets& b_offsets, |
237 | 16 | PaddedPODArray<UInt8>& c) { |
238 | 16 | string_vector_constant(b_data, b_offsets, a_data, a_size, c); |
239 | 16 | } _ZN5doris16StringEqualsImplILb1EE22constant_string_vectorERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEjS8_RKNS2_IjLm4096ES5_Lm16ELm15EEERS6_ Line | Count | Source | 237 | 16 | PaddedPODArray<UInt8>& c) { | 238 | 16 | string_vector_constant(b_data, b_offsets, a_data, a_size, c); | 239 | 16 | } |
Unexecuted instantiation: _ZN5doris16StringEqualsImplILb0EE22constant_string_vectorERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEjS8_RKNS2_IjLm4096ES5_Lm16ELm15EEERS6_ |
240 | | }; |
241 | | |
242 | | template <PrimitiveType PT> |
243 | | struct StringComparisonImpl<EqualsOp<PT>> : StringEqualsImpl<true> {}; |
244 | | |
245 | | template <PrimitiveType PT> |
246 | | struct StringComparisonImpl<NotEqualsOp<PT>> : StringEqualsImpl<false> {}; |
247 | | |
248 | | struct NameEquals { |
249 | | static constexpr auto name = "eq"; |
250 | | }; |
251 | | struct NameNotEquals { |
252 | | static constexpr auto name = "ne"; |
253 | | }; |
254 | | struct NameLess { |
255 | | static constexpr auto name = "lt"; |
256 | | }; |
257 | | struct NameGreater { |
258 | | static constexpr auto name = "gt"; |
259 | | }; |
260 | | struct NameLessOrEquals { |
261 | | static constexpr auto name = "le"; |
262 | | }; |
263 | | struct NameGreaterOrEquals { |
264 | | static constexpr auto name = "ge"; |
265 | | }; |
266 | | |
267 | | namespace comparison_zonemap_detail { |
268 | | enum class Op { |
269 | | EQ, |
270 | | NE, |
271 | | LT, |
272 | | LE, |
273 | | GT, |
274 | | GE, |
275 | | }; |
276 | | |
277 | 7 | inline Op symmetric_op(Op op) { |
278 | 7 | switch (op) { |
279 | 0 | case Op::EQ: |
280 | 0 | case Op::NE: |
281 | 0 | return op; |
282 | 5 | case Op::LT: |
283 | 5 | return Op::GT; |
284 | 0 | case Op::LE: |
285 | 0 | return Op::GE; |
286 | 0 | case Op::GT: |
287 | 0 | return Op::LT; |
288 | 2 | case Op::GE: |
289 | 2 | return Op::LE; |
290 | 7 | } |
291 | 0 | __builtin_unreachable(); |
292 | 7 | } |
293 | | |
294 | | inline ZoneMapFilterResult evaluate(const ZoneMapEvalContext& ctx, const VExprSPtrs& arguments, |
295 | 43.8k | Op op) { |
296 | 43.8k | auto slot_literal = expr_zonemap::extract_slot_and_literal(arguments); |
297 | | |
298 | 43.8k | auto slot_type = expr_zonemap::fetch_compatible_slot_type(ctx, slot_literal->slot_index, |
299 | 43.8k | slot_literal->slot_type); |
300 | 43.8k | if (slot_type == nullptr) { |
301 | 1 | return unsupported_zonemap_filter(ctx); |
302 | 1 | } |
303 | 43.8k | auto zone_map_ptr = ctx.zone_map(slot_literal->slot_index); |
304 | 43.8k | if (zone_map_ptr == nullptr) { |
305 | 92 | return unsupported_zonemap_filter(ctx); |
306 | 92 | } |
307 | 43.7k | const auto& zone_map = *zone_map_ptr; |
308 | 43.7k | if (!zone_map.has_not_null) { |
309 | 225 | return ZoneMapFilterResult::kNoMatch; |
310 | 225 | } |
311 | 43.5k | if (!expr_zonemap::range_stats_usable_for_zonemap(zone_map, slot_type)) { |
312 | 97 | return unsupported_zonemap_filter(ctx); |
313 | 97 | } |
314 | | |
315 | 43.4k | const auto effective_op = slot_literal->literal_on_left ? symmetric_op(op) : op; |
316 | 43.4k | const auto& literal = slot_literal->literal; |
317 | 43.4k | switch (effective_op) { |
318 | 9.62k | case Op::EQ: |
319 | 9.62k | return literal < zone_map.min_value || zone_map.max_value < literal |
320 | 9.62k | ? ZoneMapFilterResult::kNoMatch |
321 | 9.62k | : ZoneMapFilterResult::kMayMatch; |
322 | 1.10k | case Op::NE: |
323 | 1.10k | return zone_map.min_value == literal && zone_map.max_value == literal |
324 | 1.10k | ? ZoneMapFilterResult::kNoMatch |
325 | 1.10k | : ZoneMapFilterResult::kMayMatch; |
326 | 3.14k | case Op::LT: |
327 | 3.14k | return zone_map.min_value >= literal ? ZoneMapFilterResult::kNoMatch |
328 | 3.14k | : ZoneMapFilterResult::kMayMatch; |
329 | 13.3k | case Op::LE: |
330 | 13.3k | return zone_map.min_value > literal ? ZoneMapFilterResult::kNoMatch |
331 | 13.3k | : ZoneMapFilterResult::kMayMatch; |
332 | 5.29k | case Op::GT: |
333 | 5.29k | return zone_map.max_value <= literal ? ZoneMapFilterResult::kNoMatch |
334 | 5.29k | : ZoneMapFilterResult::kMayMatch; |
335 | 10.9k | case Op::GE: |
336 | 10.9k | return zone_map.max_value < literal ? ZoneMapFilterResult::kNoMatch |
337 | 10.9k | : ZoneMapFilterResult::kMayMatch; |
338 | 43.4k | } |
339 | | |
340 | | // keep this to avoid compile failure with g++. |
341 | 0 | __builtin_unreachable(); |
342 | 43.4k | } |
343 | | |
344 | 146k | inline bool can_evaluate(const VExprSPtrs& arguments) { |
345 | 146k | auto slot_literal = expr_zonemap::extract_slot_and_literal(arguments); |
346 | 146k | if (!slot_literal.has_value()) { |
347 | 40.6k | return false; |
348 | 40.6k | } |
349 | | |
350 | | // A NULL literal makes the comparison evaluate to NULL instead of a byte range predicate on |
351 | | // the slot. This zonemap evaluator only derives bounds from non-NULL literals, so reject this |
352 | | // shape here before evaluate_zonemap_filter is called. |
353 | 106k | if (slot_literal->literal.is_null()) { |
354 | 4 | return false; |
355 | 4 | } |
356 | | |
357 | 106k | DORIS_CHECK(slot_literal->slot_type != nullptr); |
358 | 106k | DORIS_CHECK(slot_literal->literal_type != nullptr); |
359 | 106k | if (!expr_zonemap::data_types_compatible(slot_literal->slot_type, slot_literal->literal_type)) { |
360 | | // The optimizer may generate a bare slot/literal comparison whose logical types differ |
361 | | // only by attributes such as DATETIMEV2 scale. Expr zonemap evaluates stored Field |
362 | | // values without running expression casts, so conservatively skip this optimization. |
363 | 19 | return false; |
364 | 19 | } |
365 | | |
366 | 106k | return true; |
367 | 106k | } |
368 | | |
369 | 8.63k | inline bool can_evaluate_equality(const VExprSPtrs& arguments, Op op) { |
370 | 8.63k | return op == Op::EQ && can_evaluate(arguments); |
371 | 8.63k | } |
372 | | |
373 | 53.4k | inline bool dictionary_value_matches(const Field& value, const Field& literal, Op op) { |
374 | 53.4k | switch (op) { |
375 | 53.3k | case Op::EQ: |
376 | 53.3k | return value == literal; |
377 | 4 | case Op::NE: |
378 | 4 | return value != literal; |
379 | 5 | case Op::LT: |
380 | 5 | return value < literal; |
381 | 8 | case Op::LE: |
382 | 8 | return value <= literal; |
383 | 14 | case Op::GT: |
384 | 14 | return value > literal; |
385 | 16 | case Op::GE: |
386 | 16 | return value >= literal; |
387 | 53.4k | } |
388 | 0 | __builtin_unreachable(); |
389 | 53.4k | } |
390 | | |
391 | | inline ZoneMapFilterResult evaluate_dictionary(const DictionaryEvalContext& ctx, |
392 | 660 | const VExprSPtrs& arguments, Op op) { |
393 | 660 | auto slot_literal = expr_zonemap::extract_slot_and_literal(arguments); |
394 | 660 | DORIS_CHECK(slot_literal.has_value()); |
395 | 660 | const auto* dictionary = ctx.slot(slot_literal->slot_index); |
396 | 660 | if (dictionary == nullptr || dictionary->data_type == nullptr) { |
397 | 0 | return ZoneMapFilterResult::kUnsupported; |
398 | 0 | } |
399 | 660 | DORIS_CHECK( |
400 | 660 | expr_zonemap::data_types_compatible(dictionary->data_type, slot_literal->slot_type)); |
401 | 660 | if (slot_literal->literal.is_null()) { |
402 | 0 | return ZoneMapFilterResult::kUnsupported; |
403 | 0 | } |
404 | 660 | const auto effective_op = slot_literal->literal_on_left ? symmetric_op(op) : op; |
405 | | // Compare typed Fields so dictionary filtering preserves the regular expression semantics for |
406 | | // strings, dates, decimals, floating-point edge cases, and every other supported logical type. |
407 | 660 | return std::ranges::any_of(dictionary->values, |
408 | 53.4k | [&](const Field& value) { |
409 | 53.4k | return dictionary_value_matches(value, slot_literal->literal, |
410 | 53.4k | effective_op); |
411 | 53.4k | }) |
412 | 660 | ? ZoneMapFilterResult::kMayMatch |
413 | 660 | : ZoneMapFilterResult::kNoMatch; |
414 | 660 | } |
415 | | |
416 | | inline ZoneMapFilterResult evaluate_bloom_filter(const BloomFilterEvalContext& ctx, |
417 | 14 | const VExprSPtrs& arguments, Op op) { |
418 | 14 | DORIS_CHECK(op == Op::EQ); |
419 | 14 | auto slot_literal = expr_zonemap::extract_slot_and_literal(arguments); |
420 | 14 | DORIS_CHECK(slot_literal.has_value()); |
421 | 14 | return expr_zonemap::eval_eq_bloom_filter(ctx, *slot_literal); |
422 | 14 | } |
423 | | |
424 | 195k | inline std::optional<Op> op_from_name(std::string_view name) { |
425 | 195k | if (name == NameEquals::name) { |
426 | 70.4k | return Op::EQ; |
427 | 70.4k | } |
428 | 124k | if (name == NameNotEquals::name) { |
429 | 7.39k | return Op::NE; |
430 | 7.39k | } |
431 | 117k | if (name == NameLess::name) { |
432 | 14.4k | return Op::LT; |
433 | 14.4k | } |
434 | 102k | if (name == NameLessOrEquals::name) { |
435 | 39.6k | return Op::LE; |
436 | 39.6k | } |
437 | 63.1k | if (name == NameGreater::name) { |
438 | 28.0k | return Op::GT; |
439 | 28.0k | } |
440 | 35.2k | if (name == NameGreaterOrEquals::name) { |
441 | 35.2k | return Op::GE; |
442 | 35.2k | } |
443 | 18.4E | return std::nullopt; |
444 | 35.1k | } |
445 | | } // namespace comparison_zonemap_detail |
446 | | |
447 | | template <template <PrimitiveType> class Op, typename Name> |
448 | | class FunctionComparison : public IFunction { |
449 | | public: |
450 | | static constexpr auto name = Name::name; |
451 | 579k | static FunctionPtr create() { return std::make_shared<FunctionComparison>(); }_ZN5doris18FunctionComparisonINS_8EqualsOpENS_10NameEqualsEE6createEv Line | Count | Source | 451 | 487k | static FunctionPtr create() { return std::make_shared<FunctionComparison>(); } |
_ZN5doris18FunctionComparisonINS_11NotEqualsOpENS_13NameNotEqualsEE6createEv Line | Count | Source | 451 | 2.78k | static FunctionPtr create() { return std::make_shared<FunctionComparison>(); } |
_ZN5doris18FunctionComparisonINS_9GreaterOpENS_11NameGreaterEE6createEv Line | Count | Source | 451 | 43.1k | static FunctionPtr create() { return std::make_shared<FunctionComparison>(); } |
_ZN5doris18FunctionComparisonINS_17GreaterOrEqualsOpENS_19NameGreaterOrEqualsEE6createEv Line | Count | Source | 451 | 16.3k | static FunctionPtr create() { return std::make_shared<FunctionComparison>(); } |
_ZN5doris18FunctionComparisonINS_6LessOpENS_8NameLessEE6createEv Line | Count | Source | 451 | 4.61k | static FunctionPtr create() { return std::make_shared<FunctionComparison>(); } |
_ZN5doris18FunctionComparisonINS_14LessOrEqualsOpENS_16NameLessOrEqualsEE6createEv Line | Count | Source | 451 | 25.8k | static FunctionPtr create() { return std::make_shared<FunctionComparison>(); } |
|
452 | | |
453 | 580k | FunctionComparison() = default; _ZN5doris18FunctionComparisonINS_8EqualsOpENS_10NameEqualsEEC2Ev Line | Count | Source | 453 | 487k | FunctionComparison() = default; |
_ZN5doris18FunctionComparisonINS_11NotEqualsOpENS_13NameNotEqualsEEC2Ev Line | Count | Source | 453 | 2.78k | FunctionComparison() = default; |
_ZN5doris18FunctionComparisonINS_9GreaterOpENS_11NameGreaterEEC2Ev Line | Count | Source | 453 | 43.1k | FunctionComparison() = default; |
_ZN5doris18FunctionComparisonINS_17GreaterOrEqualsOpENS_19NameGreaterOrEqualsEEC2Ev Line | Count | Source | 453 | 16.3k | FunctionComparison() = default; |
_ZN5doris18FunctionComparisonINS_6LessOpENS_8NameLessEEC2Ev Line | Count | Source | 453 | 4.62k | FunctionComparison() = default; |
_ZN5doris18FunctionComparisonINS_14LessOrEqualsOpENS_16NameLessOrEqualsEEC2Ev Line | Count | Source | 453 | 25.8k | FunctionComparison() = default; |
|
454 | | |
455 | 1.31M | double execute_cost() const override { return 0.5; }_ZNK5doris18FunctionComparisonINS_8EqualsOpENS_10NameEqualsEE12execute_costEv Line | Count | Source | 455 | 1.28M | double execute_cost() const override { return 0.5; } |
_ZNK5doris18FunctionComparisonINS_11NotEqualsOpENS_13NameNotEqualsEE12execute_costEv Line | Count | Source | 455 | 657 | double execute_cost() const override { return 0.5; } |
_ZNK5doris18FunctionComparisonINS_9GreaterOpENS_11NameGreaterEE12execute_costEv Line | Count | Source | 455 | 3.12k | double execute_cost() const override { return 0.5; } |
_ZNK5doris18FunctionComparisonINS_17GreaterOrEqualsOpENS_19NameGreaterOrEqualsEE12execute_costEv Line | Count | Source | 455 | 12.7k | double execute_cost() const override { return 0.5; } |
_ZNK5doris18FunctionComparisonINS_6LessOpENS_8NameLessEE12execute_costEv Line | Count | Source | 455 | 1.76k | double execute_cost() const override { return 0.5; } |
_ZNK5doris18FunctionComparisonINS_14LessOrEqualsOpENS_16NameLessOrEqualsEE12execute_costEv Line | Count | Source | 455 | 8.66k | double execute_cost() const override { return 0.5; } |
|
456 | | |
457 | | private: |
458 | | template <PrimitiveType PT> |
459 | | Status execute_num_type(Block& block, uint32_t result, const ColumnPtr& col_left_ptr, |
460 | 148k | const ColumnPtr& col_right_ptr) const { |
461 | 148k | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); |
462 | 148k | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); |
463 | | |
464 | 148k | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); |
465 | 148k | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); |
466 | | |
467 | 148k | DCHECK(!(left_is_const && right_is_const)); |
468 | | |
469 | 148k | if (!left_is_const && !right_is_const) { |
470 | 11.1k | auto col_res = ColumnUInt8::create(); |
471 | | |
472 | 11.1k | ColumnUInt8::Container& vec_res = col_res->get_data(); |
473 | 11.1k | vec_res.resize(col_left->get_data().size()); |
474 | 11.1k | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, |
475 | 11.1k | typename PrimitiveTypeTraits<PT>::CppType, |
476 | 11.1k | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), |
477 | 11.1k | vec_res); |
478 | | |
479 | 11.1k | block.replace_by_position(result, std::move(col_res)); |
480 | 137k | } else if (!left_is_const && right_is_const) { |
481 | 129k | auto col_res = ColumnUInt8::create(); |
482 | | |
483 | 129k | ColumnUInt8::Container& vec_res = col_res->get_data(); |
484 | 129k | vec_res.resize(col_left->size()); |
485 | 129k | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, |
486 | 129k | typename PrimitiveTypeTraits<PT>::CppType, |
487 | 129k | Op<PT>>::vector_constant(col_left->get_data(), |
488 | 129k | col_right->get_element(0), vec_res); |
489 | | |
490 | 129k | block.replace_by_position(result, std::move(col_res)); |
491 | 129k | } else if (left_is_const && !right_is_const) { |
492 | 8.27k | auto col_res = ColumnUInt8::create(); |
493 | | |
494 | 8.27k | ColumnUInt8::Container& vec_res = col_res->get_data(); |
495 | 8.27k | vec_res.resize(col_right->size()); |
496 | 8.27k | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, |
497 | 8.27k | typename PrimitiveTypeTraits<PT>::CppType, |
498 | 8.27k | Op<PT>>::constant_vector(col_left->get_element(0), |
499 | 8.27k | col_right->get_data(), vec_res); |
500 | | |
501 | 8.27k | block.replace_by_position(result, std::move(col_res)); |
502 | 8.27k | } |
503 | 148k | return Status::OK(); |
504 | 148k | } _ZNK5doris18FunctionComparisonINS_8EqualsOpENS_10NameEqualsEE16execute_num_typeILNS_13PrimitiveTypeE2EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 460 | 1.56k | const ColumnPtr& col_right_ptr) const { | 461 | 1.56k | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 462 | 1.56k | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 463 | | | 464 | 1.56k | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 465 | 1.56k | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 466 | | | 467 | 1.56k | DCHECK(!(left_is_const && right_is_const)); | 468 | | | 469 | 1.56k | if (!left_is_const && !right_is_const) { | 470 | 67 | auto col_res = ColumnUInt8::create(); | 471 | | | 472 | 67 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 473 | 67 | vec_res.resize(col_left->get_data().size()); | 474 | 67 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 475 | 67 | typename PrimitiveTypeTraits<PT>::CppType, | 476 | 67 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 477 | 67 | vec_res); | 478 | | | 479 | 67 | block.replace_by_position(result, std::move(col_res)); | 480 | 1.49k | } else if (!left_is_const && right_is_const) { | 481 | 1.49k | auto col_res = ColumnUInt8::create(); | 482 | | | 483 | 1.49k | ColumnUInt8::Container& vec_res = col_res->get_data(); | 484 | 1.49k | vec_res.resize(col_left->size()); | 485 | 1.49k | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 486 | 1.49k | typename PrimitiveTypeTraits<PT>::CppType, | 487 | 1.49k | Op<PT>>::vector_constant(col_left->get_data(), | 488 | 1.49k | col_right->get_element(0), vec_res); | 489 | | | 490 | 1.49k | block.replace_by_position(result, std::move(col_res)); | 491 | 1.49k | } else if (left_is_const && !right_is_const) { | 492 | 0 | auto col_res = ColumnUInt8::create(); | 493 | |
| 494 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 495 | 0 | vec_res.resize(col_right->size()); | 496 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 497 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 498 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 499 | 0 | col_right->get_data(), vec_res); | 500 | |
| 501 | 0 | block.replace_by_position(result, std::move(col_res)); | 502 | 0 | } | 503 | 1.56k | return Status::OK(); | 504 | 1.56k | } |
_ZNK5doris18FunctionComparisonINS_8EqualsOpENS_10NameEqualsEE16execute_num_typeILNS_13PrimitiveTypeE25EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 460 | 1.48k | const ColumnPtr& col_right_ptr) const { | 461 | 1.48k | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 462 | 1.48k | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 463 | | | 464 | 1.48k | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 465 | 1.48k | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 466 | | | 467 | 1.48k | DCHECK(!(left_is_const && right_is_const)); | 468 | | | 469 | 1.48k | if (!left_is_const && !right_is_const) { | 470 | 613 | auto col_res = ColumnUInt8::create(); | 471 | | | 472 | 613 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 473 | 613 | vec_res.resize(col_left->get_data().size()); | 474 | 613 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 475 | 613 | typename PrimitiveTypeTraits<PT>::CppType, | 476 | 613 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 477 | 613 | vec_res); | 478 | | | 479 | 613 | block.replace_by_position(result, std::move(col_res)); | 480 | 876 | } else if (!left_is_const && right_is_const) { | 481 | 875 | auto col_res = ColumnUInt8::create(); | 482 | | | 483 | 875 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 484 | 875 | vec_res.resize(col_left->size()); | 485 | 875 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 486 | 875 | typename PrimitiveTypeTraits<PT>::CppType, | 487 | 875 | Op<PT>>::vector_constant(col_left->get_data(), | 488 | 875 | col_right->get_element(0), vec_res); | 489 | | | 490 | 875 | block.replace_by_position(result, std::move(col_res)); | 491 | 875 | } else if (left_is_const && !right_is_const) { | 492 | 0 | auto col_res = ColumnUInt8::create(); | 493 | |
| 494 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 495 | 0 | vec_res.resize(col_right->size()); | 496 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 497 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 498 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 499 | 0 | col_right->get_data(), vec_res); | 500 | |
| 501 | 0 | block.replace_by_position(result, std::move(col_res)); | 502 | 0 | } | 503 | 1.48k | return Status::OK(); | 504 | 1.48k | } |
_ZNK5doris18FunctionComparisonINS_8EqualsOpENS_10NameEqualsEE16execute_num_typeILNS_13PrimitiveTypeE26EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 460 | 654 | const ColumnPtr& col_right_ptr) const { | 461 | 654 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 462 | 654 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 463 | | | 464 | 654 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 465 | 654 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 466 | | | 467 | 654 | DCHECK(!(left_is_const && right_is_const)); | 468 | | | 469 | 654 | if (!left_is_const && !right_is_const) { | 470 | 343 | auto col_res = ColumnUInt8::create(); | 471 | | | 472 | 343 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 473 | 343 | vec_res.resize(col_left->get_data().size()); | 474 | 343 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 475 | 343 | typename PrimitiveTypeTraits<PT>::CppType, | 476 | 343 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 477 | 343 | vec_res); | 478 | | | 479 | 343 | block.replace_by_position(result, std::move(col_res)); | 480 | 343 | } else if (!left_is_const && right_is_const) { | 481 | 311 | auto col_res = ColumnUInt8::create(); | 482 | | | 483 | 311 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 484 | 311 | vec_res.resize(col_left->size()); | 485 | 311 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 486 | 311 | typename PrimitiveTypeTraits<PT>::CppType, | 487 | 311 | Op<PT>>::vector_constant(col_left->get_data(), | 488 | 311 | col_right->get_element(0), vec_res); | 489 | | | 490 | 311 | block.replace_by_position(result, std::move(col_res)); | 491 | 311 | } else if (left_is_const && !right_is_const) { | 492 | 0 | auto col_res = ColumnUInt8::create(); | 493 | |
| 494 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 495 | 0 | vec_res.resize(col_right->size()); | 496 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 497 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 498 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 499 | 0 | col_right->get_data(), vec_res); | 500 | |
| 501 | 0 | block.replace_by_position(result, std::move(col_res)); | 502 | 0 | } | 503 | 654 | return Status::OK(); | 504 | 654 | } |
_ZNK5doris18FunctionComparisonINS_8EqualsOpENS_10NameEqualsEE16execute_num_typeILNS_13PrimitiveTypeE42EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 460 | 2 | const ColumnPtr& col_right_ptr) const { | 461 | 2 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 462 | 2 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 463 | | | 464 | 2 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 465 | 2 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 466 | | | 467 | 2 | DCHECK(!(left_is_const && right_is_const)); | 468 | | | 469 | 2 | if (!left_is_const && !right_is_const) { | 470 | 2 | auto col_res = ColumnUInt8::create(); | 471 | | | 472 | 2 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 473 | 2 | vec_res.resize(col_left->get_data().size()); | 474 | 2 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 475 | 2 | typename PrimitiveTypeTraits<PT>::CppType, | 476 | 2 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 477 | 2 | vec_res); | 478 | | | 479 | 2 | block.replace_by_position(result, std::move(col_res)); | 480 | 2 | } else if (!left_is_const && right_is_const) { | 481 | 0 | auto col_res = ColumnUInt8::create(); | 482 | |
| 483 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 484 | 0 | vec_res.resize(col_left->size()); | 485 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 486 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 487 | 0 | Op<PT>>::vector_constant(col_left->get_data(), | 488 | 0 | col_right->get_element(0), vec_res); | 489 | |
| 490 | 0 | block.replace_by_position(result, std::move(col_res)); | 491 | 0 | } else if (left_is_const && !right_is_const) { | 492 | 0 | auto col_res = ColumnUInt8::create(); | 493 | |
| 494 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 495 | 0 | vec_res.resize(col_right->size()); | 496 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 497 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 498 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 499 | 0 | col_right->get_data(), vec_res); | 500 | |
| 501 | 0 | block.replace_by_position(result, std::move(col_res)); | 502 | 0 | } | 503 | 2 | return Status::OK(); | 504 | 2 | } |
_ZNK5doris18FunctionComparisonINS_8EqualsOpENS_10NameEqualsEE16execute_num_typeILNS_13PrimitiveTypeE3EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 460 | 5.34k | const ColumnPtr& col_right_ptr) const { | 461 | 5.34k | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 462 | 5.34k | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 463 | | | 464 | 5.34k | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 465 | 5.34k | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 466 | | | 467 | 5.34k | DCHECK(!(left_is_const && right_is_const)); | 468 | | | 469 | 5.34k | if (!left_is_const && !right_is_const) { | 470 | 146 | auto col_res = ColumnUInt8::create(); | 471 | | | 472 | 146 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 473 | 146 | vec_res.resize(col_left->get_data().size()); | 474 | 146 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 475 | 146 | typename PrimitiveTypeTraits<PT>::CppType, | 476 | 146 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 477 | 146 | vec_res); | 478 | | | 479 | 146 | block.replace_by_position(result, std::move(col_res)); | 480 | 5.20k | } else if (!left_is_const && right_is_const) { | 481 | 4.95k | auto col_res = ColumnUInt8::create(); | 482 | | | 483 | 4.95k | ColumnUInt8::Container& vec_res = col_res->get_data(); | 484 | 4.95k | vec_res.resize(col_left->size()); | 485 | 4.95k | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 486 | 4.95k | typename PrimitiveTypeTraits<PT>::CppType, | 487 | 4.95k | Op<PT>>::vector_constant(col_left->get_data(), | 488 | 4.95k | col_right->get_element(0), vec_res); | 489 | | | 490 | 4.95k | block.replace_by_position(result, std::move(col_res)); | 491 | 4.95k | } else if (left_is_const && !right_is_const) { | 492 | 252 | auto col_res = ColumnUInt8::create(); | 493 | | | 494 | 252 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 495 | 252 | vec_res.resize(col_right->size()); | 496 | 252 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 497 | 252 | typename PrimitiveTypeTraits<PT>::CppType, | 498 | 252 | Op<PT>>::constant_vector(col_left->get_element(0), | 499 | 252 | col_right->get_data(), vec_res); | 500 | | | 501 | 252 | block.replace_by_position(result, std::move(col_res)); | 502 | 252 | } | 503 | 5.34k | return Status::OK(); | 504 | 5.34k | } |
_ZNK5doris18FunctionComparisonINS_8EqualsOpENS_10NameEqualsEE16execute_num_typeILNS_13PrimitiveTypeE4EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 460 | 879 | const ColumnPtr& col_right_ptr) const { | 461 | 879 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 462 | 879 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 463 | | | 464 | 879 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 465 | 879 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 466 | | | 467 | 879 | DCHECK(!(left_is_const && right_is_const)); | 468 | | | 469 | 879 | if (!left_is_const && !right_is_const) { | 470 | 68 | auto col_res = ColumnUInt8::create(); | 471 | | | 472 | 68 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 473 | 68 | vec_res.resize(col_left->get_data().size()); | 474 | 68 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 475 | 68 | typename PrimitiveTypeTraits<PT>::CppType, | 476 | 68 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 477 | 68 | vec_res); | 478 | | | 479 | 68 | block.replace_by_position(result, std::move(col_res)); | 480 | 811 | } else if (!left_is_const && right_is_const) { | 481 | 775 | auto col_res = ColumnUInt8::create(); | 482 | | | 483 | 775 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 484 | 775 | vec_res.resize(col_left->size()); | 485 | 775 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 486 | 775 | typename PrimitiveTypeTraits<PT>::CppType, | 487 | 775 | Op<PT>>::vector_constant(col_left->get_data(), | 488 | 775 | col_right->get_element(0), vec_res); | 489 | | | 490 | 775 | block.replace_by_position(result, std::move(col_res)); | 491 | 775 | } else if (left_is_const && !right_is_const) { | 492 | 36 | auto col_res = ColumnUInt8::create(); | 493 | | | 494 | 36 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 495 | 36 | vec_res.resize(col_right->size()); | 496 | 36 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 497 | 36 | typename PrimitiveTypeTraits<PT>::CppType, | 498 | 36 | Op<PT>>::constant_vector(col_left->get_element(0), | 499 | 36 | col_right->get_data(), vec_res); | 500 | | | 501 | 36 | block.replace_by_position(result, std::move(col_res)); | 502 | 36 | } | 503 | 879 | return Status::OK(); | 504 | 879 | } |
_ZNK5doris18FunctionComparisonINS_8EqualsOpENS_10NameEqualsEE16execute_num_typeILNS_13PrimitiveTypeE5EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 460 | 8.87k | const ColumnPtr& col_right_ptr) const { | 461 | 8.87k | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 462 | 8.87k | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 463 | | | 464 | 8.87k | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 465 | 8.87k | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 466 | | | 467 | 8.87k | DCHECK(!(left_is_const && right_is_const)); | 468 | | | 469 | 8.87k | if (!left_is_const && !right_is_const) { | 470 | 1.00k | auto col_res = ColumnUInt8::create(); | 471 | | | 472 | 1.00k | ColumnUInt8::Container& vec_res = col_res->get_data(); | 473 | 1.00k | vec_res.resize(col_left->get_data().size()); | 474 | 1.00k | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 475 | 1.00k | typename PrimitiveTypeTraits<PT>::CppType, | 476 | 1.00k | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 477 | 1.00k | vec_res); | 478 | | | 479 | 1.00k | block.replace_by_position(result, std::move(col_res)); | 480 | 7.86k | } else if (!left_is_const && right_is_const) { | 481 | 7.30k | auto col_res = ColumnUInt8::create(); | 482 | | | 483 | 7.30k | ColumnUInt8::Container& vec_res = col_res->get_data(); | 484 | 7.30k | vec_res.resize(col_left->size()); | 485 | 7.30k | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 486 | 7.30k | typename PrimitiveTypeTraits<PT>::CppType, | 487 | 7.30k | Op<PT>>::vector_constant(col_left->get_data(), | 488 | 7.30k | col_right->get_element(0), vec_res); | 489 | | | 490 | 7.30k | block.replace_by_position(result, std::move(col_res)); | 491 | 7.30k | } else if (left_is_const && !right_is_const) { | 492 | 562 | auto col_res = ColumnUInt8::create(); | 493 | | | 494 | 562 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 495 | 562 | vec_res.resize(col_right->size()); | 496 | 562 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 497 | 562 | typename PrimitiveTypeTraits<PT>::CppType, | 498 | 562 | Op<PT>>::constant_vector(col_left->get_element(0), | 499 | 562 | col_right->get_data(), vec_res); | 500 | | | 501 | 562 | block.replace_by_position(result, std::move(col_res)); | 502 | 562 | } | 503 | 8.87k | return Status::OK(); | 504 | 8.87k | } |
_ZNK5doris18FunctionComparisonINS_8EqualsOpENS_10NameEqualsEE16execute_num_typeILNS_13PrimitiveTypeE6EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 460 | 18.0k | const ColumnPtr& col_right_ptr) const { | 461 | 18.0k | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 462 | 18.0k | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 463 | | | 464 | 18.0k | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 465 | 18.0k | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 466 | | | 467 | 18.0k | DCHECK(!(left_is_const && right_is_const)); | 468 | | | 469 | 18.0k | if (!left_is_const && !right_is_const) { | 470 | 279 | auto col_res = ColumnUInt8::create(); | 471 | | | 472 | 279 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 473 | 279 | vec_res.resize(col_left->get_data().size()); | 474 | 279 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 475 | 279 | typename PrimitiveTypeTraits<PT>::CppType, | 476 | 279 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 477 | 279 | vec_res); | 478 | | | 479 | 279 | block.replace_by_position(result, std::move(col_res)); | 480 | 17.7k | } else if (!left_is_const && right_is_const) { | 481 | 16.5k | auto col_res = ColumnUInt8::create(); | 482 | | | 483 | 16.5k | ColumnUInt8::Container& vec_res = col_res->get_data(); | 484 | 16.5k | vec_res.resize(col_left->size()); | 485 | 16.5k | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 486 | 16.5k | typename PrimitiveTypeTraits<PT>::CppType, | 487 | 16.5k | Op<PT>>::vector_constant(col_left->get_data(), | 488 | 16.5k | col_right->get_element(0), vec_res); | 489 | | | 490 | 16.5k | block.replace_by_position(result, std::move(col_res)); | 491 | 16.5k | } else if (left_is_const && !right_is_const) { | 492 | 1.19k | auto col_res = ColumnUInt8::create(); | 493 | | | 494 | 1.19k | ColumnUInt8::Container& vec_res = col_res->get_data(); | 495 | 1.19k | vec_res.resize(col_right->size()); | 496 | 1.19k | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 497 | 1.19k | typename PrimitiveTypeTraits<PT>::CppType, | 498 | 1.19k | Op<PT>>::constant_vector(col_left->get_element(0), | 499 | 1.19k | col_right->get_data(), vec_res); | 500 | | | 501 | 1.19k | block.replace_by_position(result, std::move(col_res)); | 502 | 1.19k | } | 503 | 18.0k | return Status::OK(); | 504 | 18.0k | } |
_ZNK5doris18FunctionComparisonINS_8EqualsOpENS_10NameEqualsEE16execute_num_typeILNS_13PrimitiveTypeE7EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 460 | 127 | const ColumnPtr& col_right_ptr) const { | 461 | 127 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 462 | 127 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 463 | | | 464 | 127 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 465 | 127 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 466 | | | 467 | 127 | DCHECK(!(left_is_const && right_is_const)); | 468 | | | 469 | 127 | if (!left_is_const && !right_is_const) { | 470 | 64 | auto col_res = ColumnUInt8::create(); | 471 | | | 472 | 64 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 473 | 64 | vec_res.resize(col_left->get_data().size()); | 474 | 64 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 475 | 64 | typename PrimitiveTypeTraits<PT>::CppType, | 476 | 64 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 477 | 64 | vec_res); | 478 | | | 479 | 64 | block.replace_by_position(result, std::move(col_res)); | 480 | 64 | } else if (!left_is_const && right_is_const) { | 481 | 55 | auto col_res = ColumnUInt8::create(); | 482 | | | 483 | 55 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 484 | 55 | vec_res.resize(col_left->size()); | 485 | 55 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 486 | 55 | typename PrimitiveTypeTraits<PT>::CppType, | 487 | 55 | Op<PT>>::vector_constant(col_left->get_data(), | 488 | 55 | col_right->get_element(0), vec_res); | 489 | | | 490 | 55 | block.replace_by_position(result, std::move(col_res)); | 491 | 55 | } else if (left_is_const && !right_is_const) { | 492 | 8 | auto col_res = ColumnUInt8::create(); | 493 | | | 494 | 8 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 495 | 8 | vec_res.resize(col_right->size()); | 496 | 8 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 497 | 8 | typename PrimitiveTypeTraits<PT>::CppType, | 498 | 8 | Op<PT>>::constant_vector(col_left->get_element(0), | 499 | 8 | col_right->get_data(), vec_res); | 500 | | | 501 | 8 | block.replace_by_position(result, std::move(col_res)); | 502 | 8 | } | 503 | 127 | return Status::OK(); | 504 | 127 | } |
_ZNK5doris18FunctionComparisonINS_8EqualsOpENS_10NameEqualsEE16execute_num_typeILNS_13PrimitiveTypeE36EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 460 | 20 | const ColumnPtr& col_right_ptr) const { | 461 | 20 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 462 | 20 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 463 | | | 464 | 20 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 465 | 20 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 466 | | | 467 | 20 | DCHECK(!(left_is_const && right_is_const)); | 468 | | | 469 | 20 | if (!left_is_const && !right_is_const) { | 470 | 5 | auto col_res = ColumnUInt8::create(); | 471 | | | 472 | 5 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 473 | 5 | vec_res.resize(col_left->get_data().size()); | 474 | 5 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 475 | 5 | typename PrimitiveTypeTraits<PT>::CppType, | 476 | 5 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 477 | 5 | vec_res); | 478 | | | 479 | 5 | block.replace_by_position(result, std::move(col_res)); | 480 | 15 | } else if (!left_is_const && right_is_const) { | 481 | 15 | auto col_res = ColumnUInt8::create(); | 482 | | | 483 | 15 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 484 | 15 | vec_res.resize(col_left->size()); | 485 | 15 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 486 | 15 | typename PrimitiveTypeTraits<PT>::CppType, | 487 | 15 | Op<PT>>::vector_constant(col_left->get_data(), | 488 | 15 | col_right->get_element(0), vec_res); | 489 | | | 490 | 15 | block.replace_by_position(result, std::move(col_res)); | 491 | 15 | } else if (left_is_const && !right_is_const) { | 492 | 0 | auto col_res = ColumnUInt8::create(); | 493 | |
| 494 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 495 | 0 | vec_res.resize(col_right->size()); | 496 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 497 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 498 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 499 | 0 | col_right->get_data(), vec_res); | 500 | |
| 501 | 0 | block.replace_by_position(result, std::move(col_res)); | 502 | 0 | } | 503 | 20 | return Status::OK(); | 504 | 20 | } |
_ZNK5doris18FunctionComparisonINS_8EqualsOpENS_10NameEqualsEE16execute_num_typeILNS_13PrimitiveTypeE37EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 460 | 19 | const ColumnPtr& col_right_ptr) const { | 461 | 19 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 462 | 19 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 463 | | | 464 | 19 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 465 | 19 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 466 | | | 467 | 19 | DCHECK(!(left_is_const && right_is_const)); | 468 | | | 469 | 19 | if (!left_is_const && !right_is_const) { | 470 | 13 | auto col_res = ColumnUInt8::create(); | 471 | | | 472 | 13 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 473 | 13 | vec_res.resize(col_left->get_data().size()); | 474 | 13 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 475 | 13 | typename PrimitiveTypeTraits<PT>::CppType, | 476 | 13 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 477 | 13 | vec_res); | 478 | | | 479 | 13 | block.replace_by_position(result, std::move(col_res)); | 480 | 13 | } else if (!left_is_const && right_is_const) { | 481 | 6 | auto col_res = ColumnUInt8::create(); | 482 | | | 483 | 6 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 484 | 6 | vec_res.resize(col_left->size()); | 485 | 6 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 486 | 6 | typename PrimitiveTypeTraits<PT>::CppType, | 487 | 6 | Op<PT>>::vector_constant(col_left->get_data(), | 488 | 6 | col_right->get_element(0), vec_res); | 489 | | | 490 | 6 | block.replace_by_position(result, std::move(col_res)); | 491 | 6 | } else if (left_is_const && !right_is_const) { | 492 | 0 | auto col_res = ColumnUInt8::create(); | 493 | |
| 494 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 495 | 0 | vec_res.resize(col_right->size()); | 496 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 497 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 498 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 499 | 0 | col_right->get_data(), vec_res); | 500 | |
| 501 | 0 | block.replace_by_position(result, std::move(col_res)); | 502 | 0 | } | 503 | 19 | return Status::OK(); | 504 | 19 | } |
_ZNK5doris18FunctionComparisonINS_8EqualsOpENS_10NameEqualsEE16execute_num_typeILNS_13PrimitiveTypeE8EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 460 | 99 | const ColumnPtr& col_right_ptr) const { | 461 | 99 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 462 | 99 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 463 | | | 464 | 99 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 465 | 99 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 466 | | | 467 | 99 | DCHECK(!(left_is_const && right_is_const)); | 468 | | | 469 | 100 | if (!left_is_const && !right_is_const) { | 470 | 97 | auto col_res = ColumnUInt8::create(); | 471 | | | 472 | 97 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 473 | 97 | vec_res.resize(col_left->get_data().size()); | 474 | 97 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 475 | 97 | typename PrimitiveTypeTraits<PT>::CppType, | 476 | 97 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 477 | 97 | vec_res); | 478 | | | 479 | 97 | block.replace_by_position(result, std::move(col_res)); | 480 | 97 | } else if (!left_is_const && right_is_const) { | 481 | 2 | auto col_res = ColumnUInt8::create(); | 482 | | | 483 | 2 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 484 | 2 | vec_res.resize(col_left->size()); | 485 | 2 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 486 | 2 | typename PrimitiveTypeTraits<PT>::CppType, | 487 | 2 | Op<PT>>::vector_constant(col_left->get_data(), | 488 | 2 | col_right->get_element(0), vec_res); | 489 | | | 490 | 2 | block.replace_by_position(result, std::move(col_res)); | 491 | 2 | } else if (left_is_const && !right_is_const) { | 492 | 0 | auto col_res = ColumnUInt8::create(); | 493 | |
| 494 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 495 | 0 | vec_res.resize(col_right->size()); | 496 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 497 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 498 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 499 | 0 | col_right->get_data(), vec_res); | 500 | |
| 501 | 0 | block.replace_by_position(result, std::move(col_res)); | 502 | 0 | } | 503 | 99 | return Status::OK(); | 504 | 99 | } |
_ZNK5doris18FunctionComparisonINS_8EqualsOpENS_10NameEqualsEE16execute_num_typeILNS_13PrimitiveTypeE9EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 460 | 698 | const ColumnPtr& col_right_ptr) const { | 461 | 698 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 462 | 698 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 463 | | | 464 | 698 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 465 | 698 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 466 | | | 467 | 698 | DCHECK(!(left_is_const && right_is_const)); | 468 | | | 469 | 698 | if (!left_is_const && !right_is_const) { | 470 | 85 | auto col_res = ColumnUInt8::create(); | 471 | | | 472 | 85 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 473 | 85 | vec_res.resize(col_left->get_data().size()); | 474 | 85 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 475 | 85 | typename PrimitiveTypeTraits<PT>::CppType, | 476 | 85 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 477 | 85 | vec_res); | 478 | | | 479 | 85 | block.replace_by_position(result, std::move(col_res)); | 480 | 613 | } else if (!left_is_const && right_is_const) { | 481 | 613 | auto col_res = ColumnUInt8::create(); | 482 | | | 483 | 613 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 484 | 613 | vec_res.resize(col_left->size()); | 485 | 613 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 486 | 613 | typename PrimitiveTypeTraits<PT>::CppType, | 487 | 613 | Op<PT>>::vector_constant(col_left->get_data(), | 488 | 613 | col_right->get_element(0), vec_res); | 489 | | | 490 | 613 | block.replace_by_position(result, std::move(col_res)); | 491 | 613 | } else if (left_is_const && !right_is_const) { | 492 | 0 | auto col_res = ColumnUInt8::create(); | 493 | |
| 494 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 495 | 0 | vec_res.resize(col_right->size()); | 496 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 497 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 498 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 499 | 0 | col_right->get_data(), vec_res); | 500 | |
| 501 | 0 | block.replace_by_position(result, std::move(col_res)); | 502 | 0 | } | 503 | 698 | return Status::OK(); | 504 | 698 | } |
_ZNK5doris18FunctionComparisonINS_8EqualsOpENS_10NameEqualsEE16execute_num_typeILNS_13PrimitiveTypeE27EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 460 | 4 | const ColumnPtr& col_right_ptr) const { | 461 | 4 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 462 | 4 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 463 | | | 464 | 4 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 465 | 4 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 466 | | | 467 | 4 | DCHECK(!(left_is_const && right_is_const)); | 468 | | | 469 | 4 | if (!left_is_const && !right_is_const) { | 470 | 4 | auto col_res = ColumnUInt8::create(); | 471 | | | 472 | 4 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 473 | 4 | vec_res.resize(col_left->get_data().size()); | 474 | 4 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 475 | 4 | typename PrimitiveTypeTraits<PT>::CppType, | 476 | 4 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 477 | 4 | vec_res); | 478 | | | 479 | 4 | block.replace_by_position(result, std::move(col_res)); | 480 | 4 | } else if (!left_is_const && right_is_const) { | 481 | 0 | auto col_res = ColumnUInt8::create(); | 482 | |
| 483 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 484 | 0 | vec_res.resize(col_left->size()); | 485 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 486 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 487 | 0 | Op<PT>>::vector_constant(col_left->get_data(), | 488 | 0 | col_right->get_element(0), vec_res); | 489 | |
| 490 | 0 | block.replace_by_position(result, std::move(col_res)); | 491 | 0 | } else if (left_is_const && !right_is_const) { | 492 | 0 | auto col_res = ColumnUInt8::create(); | 493 | |
| 494 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 495 | 0 | vec_res.resize(col_right->size()); | 496 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 497 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 498 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 499 | 0 | col_right->get_data(), vec_res); | 500 | |
| 501 | 0 | block.replace_by_position(result, std::move(col_res)); | 502 | 0 | } | 503 | 4 | return Status::OK(); | 504 | 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 | 460 | 54 | const ColumnPtr& col_right_ptr) const { | 461 | 54 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 462 | 54 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 463 | | | 464 | 54 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 465 | 54 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 466 | | | 467 | 54 | DCHECK(!(left_is_const && right_is_const)); | 468 | | | 469 | 54 | if (!left_is_const && !right_is_const) { | 470 | 47 | auto col_res = ColumnUInt8::create(); | 471 | | | 472 | 47 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 473 | 47 | vec_res.resize(col_left->get_data().size()); | 474 | 47 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 475 | 47 | typename PrimitiveTypeTraits<PT>::CppType, | 476 | 47 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 477 | 47 | vec_res); | 478 | | | 479 | 47 | block.replace_by_position(result, std::move(col_res)); | 480 | 47 | } else if (!left_is_const && right_is_const) { | 481 | 7 | auto col_res = ColumnUInt8::create(); | 482 | | | 483 | 7 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 484 | 7 | vec_res.resize(col_left->size()); | 485 | 7 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 486 | 7 | typename PrimitiveTypeTraits<PT>::CppType, | 487 | 7 | Op<PT>>::vector_constant(col_left->get_data(), | 488 | 7 | col_right->get_element(0), vec_res); | 489 | | | 490 | 7 | block.replace_by_position(result, std::move(col_res)); | 491 | 7 | } else if (left_is_const && !right_is_const) { | 492 | 0 | auto col_res = ColumnUInt8::create(); | 493 | |
| 494 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 495 | 0 | vec_res.resize(col_right->size()); | 496 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 497 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 498 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 499 | 0 | col_right->get_data(), vec_res); | 500 | |
| 501 | 0 | block.replace_by_position(result, std::move(col_res)); | 502 | 0 | } | 503 | 54 | return Status::OK(); | 504 | 54 | } |
_ZNK5doris18FunctionComparisonINS_11NotEqualsOpENS_13NameNotEqualsEE16execute_num_typeILNS_13PrimitiveTypeE26EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 460 | 4 | const ColumnPtr& col_right_ptr) const { | 461 | 4 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 462 | 4 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 463 | | | 464 | 4 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 465 | 4 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 466 | | | 467 | 4 | DCHECK(!(left_is_const && right_is_const)); | 468 | | | 469 | 4 | if (!left_is_const && !right_is_const) { | 470 | 0 | auto col_res = ColumnUInt8::create(); | 471 | |
| 472 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 473 | 0 | vec_res.resize(col_left->get_data().size()); | 474 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 475 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 476 | 0 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 477 | 0 | vec_res); | 478 | |
| 479 | 0 | block.replace_by_position(result, std::move(col_res)); | 480 | 4 | } else if (!left_is_const && right_is_const) { | 481 | 4 | auto col_res = ColumnUInt8::create(); | 482 | | | 483 | 4 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 484 | 4 | vec_res.resize(col_left->size()); | 485 | 4 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 486 | 4 | typename PrimitiveTypeTraits<PT>::CppType, | 487 | 4 | Op<PT>>::vector_constant(col_left->get_data(), | 488 | 4 | col_right->get_element(0), vec_res); | 489 | | | 490 | 4 | block.replace_by_position(result, std::move(col_res)); | 491 | 4 | } else if (left_is_const && !right_is_const) { | 492 | 0 | auto col_res = ColumnUInt8::create(); | 493 | |
| 494 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 495 | 0 | vec_res.resize(col_right->size()); | 496 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 497 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 498 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 499 | 0 | col_right->get_data(), vec_res); | 500 | |
| 501 | 0 | block.replace_by_position(result, std::move(col_res)); | 502 | 0 | } | 503 | 4 | return Status::OK(); | 504 | 4 | } |
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 | 460 | 100 | const ColumnPtr& col_right_ptr) const { | 461 | 100 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 462 | 100 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 463 | | | 464 | 100 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 465 | 100 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 466 | | | 467 | 100 | DCHECK(!(left_is_const && right_is_const)); | 468 | | | 469 | 100 | if (!left_is_const && !right_is_const) { | 470 | 56 | auto col_res = ColumnUInt8::create(); | 471 | | | 472 | 56 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 473 | 56 | vec_res.resize(col_left->get_data().size()); | 474 | 56 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 475 | 56 | typename PrimitiveTypeTraits<PT>::CppType, | 476 | 56 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 477 | 56 | vec_res); | 478 | | | 479 | 56 | block.replace_by_position(result, std::move(col_res)); | 480 | 56 | } else if (!left_is_const && right_is_const) { | 481 | 44 | auto col_res = ColumnUInt8::create(); | 482 | | | 483 | 44 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 484 | 44 | vec_res.resize(col_left->size()); | 485 | 44 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 486 | 44 | typename PrimitiveTypeTraits<PT>::CppType, | 487 | 44 | Op<PT>>::vector_constant(col_left->get_data(), | 488 | 44 | col_right->get_element(0), vec_res); | 489 | | | 490 | 44 | block.replace_by_position(result, std::move(col_res)); | 491 | 44 | } else if (left_is_const && !right_is_const) { | 492 | 0 | auto col_res = ColumnUInt8::create(); | 493 | |
| 494 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 495 | 0 | vec_res.resize(col_right->size()); | 496 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 497 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 498 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 499 | 0 | col_right->get_data(), vec_res); | 500 | |
| 501 | 0 | block.replace_by_position(result, std::move(col_res)); | 502 | 0 | } | 503 | 100 | return Status::OK(); | 504 | 100 | } |
_ZNK5doris18FunctionComparisonINS_11NotEqualsOpENS_13NameNotEqualsEE16execute_num_typeILNS_13PrimitiveTypeE4EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 460 | 10 | const ColumnPtr& col_right_ptr) const { | 461 | 10 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 462 | 10 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 463 | | | 464 | 10 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 465 | 10 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 466 | | | 467 | 10 | DCHECK(!(left_is_const && right_is_const)); | 468 | | | 469 | 10 | if (!left_is_const && !right_is_const) { | 470 | 0 | auto col_res = ColumnUInt8::create(); | 471 | |
| 472 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 473 | 0 | vec_res.resize(col_left->get_data().size()); | 474 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 475 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 476 | 0 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 477 | 0 | vec_res); | 478 | |
| 479 | 0 | block.replace_by_position(result, std::move(col_res)); | 480 | 10 | } else if (!left_is_const && right_is_const) { | 481 | 10 | auto col_res = ColumnUInt8::create(); | 482 | | | 483 | 10 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 484 | 10 | vec_res.resize(col_left->size()); | 485 | 10 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 486 | 10 | typename PrimitiveTypeTraits<PT>::CppType, | 487 | 10 | Op<PT>>::vector_constant(col_left->get_data(), | 488 | 10 | col_right->get_element(0), vec_res); | 489 | | | 490 | 10 | block.replace_by_position(result, std::move(col_res)); | 491 | 10 | } else if (left_is_const && !right_is_const) { | 492 | 0 | auto col_res = ColumnUInt8::create(); | 493 | |
| 494 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 495 | 0 | vec_res.resize(col_right->size()); | 496 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 497 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 498 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 499 | 0 | col_right->get_data(), vec_res); | 500 | |
| 501 | 0 | block.replace_by_position(result, std::move(col_res)); | 502 | 0 | } | 503 | 10 | return Status::OK(); | 504 | 10 | } |
_ZNK5doris18FunctionComparisonINS_11NotEqualsOpENS_13NameNotEqualsEE16execute_num_typeILNS_13PrimitiveTypeE5EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 460 | 2.58k | const ColumnPtr& col_right_ptr) const { | 461 | 2.58k | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 462 | 2.58k | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 463 | | | 464 | 2.58k | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 465 | 2.58k | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 466 | | | 467 | 2.58k | DCHECK(!(left_is_const && right_is_const)); | 468 | | | 469 | 2.58k | if (!left_is_const && !right_is_const) { | 470 | 1.39k | auto col_res = ColumnUInt8::create(); | 471 | | | 472 | 1.39k | ColumnUInt8::Container& vec_res = col_res->get_data(); | 473 | 1.39k | vec_res.resize(col_left->get_data().size()); | 474 | 1.39k | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 475 | 1.39k | typename PrimitiveTypeTraits<PT>::CppType, | 476 | 1.39k | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 477 | 1.39k | vec_res); | 478 | | | 479 | 1.39k | block.replace_by_position(result, std::move(col_res)); | 480 | 1.39k | } else if (!left_is_const && right_is_const) { | 481 | 1.19k | auto col_res = ColumnUInt8::create(); | 482 | | | 483 | 1.19k | ColumnUInt8::Container& vec_res = col_res->get_data(); | 484 | 1.19k | vec_res.resize(col_left->size()); | 485 | 1.19k | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 486 | 1.19k | typename PrimitiveTypeTraits<PT>::CppType, | 487 | 1.19k | Op<PT>>::vector_constant(col_left->get_data(), | 488 | 1.19k | col_right->get_element(0), vec_res); | 489 | | | 490 | 1.19k | block.replace_by_position(result, std::move(col_res)); | 491 | 1.19k | } else if (left_is_const && !right_is_const) { | 492 | 0 | auto col_res = ColumnUInt8::create(); | 493 | |
| 494 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 495 | 0 | vec_res.resize(col_right->size()); | 496 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 497 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 498 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 499 | 0 | col_right->get_data(), vec_res); | 500 | |
| 501 | 0 | block.replace_by_position(result, std::move(col_res)); | 502 | 0 | } | 503 | 2.58k | return Status::OK(); | 504 | 2.58k | } |
_ZNK5doris18FunctionComparisonINS_11NotEqualsOpENS_13NameNotEqualsEE16execute_num_typeILNS_13PrimitiveTypeE6EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 460 | 3.04k | const ColumnPtr& col_right_ptr) const { | 461 | 3.04k | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 462 | 3.04k | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 463 | | | 464 | 3.04k | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 465 | 3.04k | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 466 | | | 467 | 3.04k | DCHECK(!(left_is_const && right_is_const)); | 468 | | | 469 | 3.04k | if (!left_is_const && !right_is_const) { | 470 | 326 | auto col_res = ColumnUInt8::create(); | 471 | | | 472 | 326 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 473 | 326 | vec_res.resize(col_left->get_data().size()); | 474 | 326 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 475 | 326 | typename PrimitiveTypeTraits<PT>::CppType, | 476 | 326 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 477 | 326 | vec_res); | 478 | | | 479 | 326 | block.replace_by_position(result, std::move(col_res)); | 480 | 2.71k | } else if (!left_is_const && right_is_const) { | 481 | 1.94k | auto col_res = ColumnUInt8::create(); | 482 | | | 483 | 1.94k | ColumnUInt8::Container& vec_res = col_res->get_data(); | 484 | 1.94k | vec_res.resize(col_left->size()); | 485 | 1.94k | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 486 | 1.94k | typename PrimitiveTypeTraits<PT>::CppType, | 487 | 1.94k | Op<PT>>::vector_constant(col_left->get_data(), | 488 | 1.94k | col_right->get_element(0), vec_res); | 489 | | | 490 | 1.94k | block.replace_by_position(result, std::move(col_res)); | 491 | 1.94k | } else if (left_is_const && !right_is_const) { | 492 | 769 | auto col_res = ColumnUInt8::create(); | 493 | | | 494 | 769 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 495 | 769 | vec_res.resize(col_right->size()); | 496 | 769 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 497 | 769 | typename PrimitiveTypeTraits<PT>::CppType, | 498 | 769 | Op<PT>>::constant_vector(col_left->get_element(0), | 499 | 769 | col_right->get_data(), vec_res); | 500 | | | 501 | 769 | block.replace_by_position(result, std::move(col_res)); | 502 | 769 | } | 503 | 3.04k | return Status::OK(); | 504 | 3.04k | } |
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 | 460 | 48 | const ColumnPtr& col_right_ptr) const { | 461 | 48 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 462 | 48 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 463 | | | 464 | 48 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 465 | 48 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 466 | | | 467 | 48 | DCHECK(!(left_is_const && right_is_const)); | 468 | | | 469 | 48 | if (!left_is_const && !right_is_const) { | 470 | 20 | auto col_res = ColumnUInt8::create(); | 471 | | | 472 | 20 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 473 | 20 | vec_res.resize(col_left->get_data().size()); | 474 | 20 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 475 | 20 | typename PrimitiveTypeTraits<PT>::CppType, | 476 | 20 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 477 | 20 | vec_res); | 478 | | | 479 | 20 | block.replace_by_position(result, std::move(col_res)); | 480 | 28 | } else if (!left_is_const && right_is_const) { | 481 | 28 | auto col_res = ColumnUInt8::create(); | 482 | | | 483 | 28 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 484 | 28 | vec_res.resize(col_left->size()); | 485 | 28 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 486 | 28 | typename PrimitiveTypeTraits<PT>::CppType, | 487 | 28 | Op<PT>>::vector_constant(col_left->get_data(), | 488 | 28 | col_right->get_element(0), vec_res); | 489 | | | 490 | 28 | block.replace_by_position(result, std::move(col_res)); | 491 | 28 | } else if (left_is_const && !right_is_const) { | 492 | 0 | auto col_res = ColumnUInt8::create(); | 493 | |
| 494 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 495 | 0 | vec_res.resize(col_right->size()); | 496 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 497 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 498 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 499 | 0 | col_right->get_data(), vec_res); | 500 | |
| 501 | 0 | block.replace_by_position(result, std::move(col_res)); | 502 | 0 | } | 503 | 48 | return Status::OK(); | 504 | 48 | } |
_ZNK5doris18FunctionComparisonINS_11NotEqualsOpENS_13NameNotEqualsEE16execute_num_typeILNS_13PrimitiveTypeE9EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 460 | 59 | const ColumnPtr& col_right_ptr) const { | 461 | 59 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 462 | 59 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 463 | | | 464 | 59 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 465 | 59 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 466 | | | 467 | 59 | DCHECK(!(left_is_const && right_is_const)); | 468 | | | 469 | 59 | if (!left_is_const && !right_is_const) { | 470 | 19 | auto col_res = ColumnUInt8::create(); | 471 | | | 472 | 19 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 473 | 19 | vec_res.resize(col_left->get_data().size()); | 474 | 19 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 475 | 19 | typename PrimitiveTypeTraits<PT>::CppType, | 476 | 19 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 477 | 19 | vec_res); | 478 | | | 479 | 19 | block.replace_by_position(result, std::move(col_res)); | 480 | 40 | } else if (!left_is_const && right_is_const) { | 481 | 40 | auto col_res = ColumnUInt8::create(); | 482 | | | 483 | 40 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 484 | 40 | vec_res.resize(col_left->size()); | 485 | 40 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 486 | 40 | typename PrimitiveTypeTraits<PT>::CppType, | 487 | 40 | Op<PT>>::vector_constant(col_left->get_data(), | 488 | 40 | col_right->get_element(0), vec_res); | 489 | | | 490 | 40 | block.replace_by_position(result, std::move(col_res)); | 491 | 40 | } else if (left_is_const && !right_is_const) { | 492 | 0 | auto col_res = ColumnUInt8::create(); | 493 | |
| 494 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 495 | 0 | vec_res.resize(col_right->size()); | 496 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 497 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 498 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 499 | 0 | col_right->get_data(), vec_res); | 500 | |
| 501 | 0 | block.replace_by_position(result, std::move(col_res)); | 502 | 0 | } | 503 | 59 | return Status::OK(); | 504 | 59 | } |
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 | 460 | 1.06k | const ColumnPtr& col_right_ptr) const { | 461 | 1.06k | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 462 | 1.06k | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 463 | | | 464 | 1.06k | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 465 | 1.06k | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 466 | | | 467 | 1.06k | DCHECK(!(left_is_const && right_is_const)); | 468 | | | 469 | 1.06k | if (!left_is_const && !right_is_const) { | 470 | 957 | auto col_res = ColumnUInt8::create(); | 471 | | | 472 | 957 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 473 | 957 | vec_res.resize(col_left->get_data().size()); | 474 | 957 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 475 | 957 | typename PrimitiveTypeTraits<PT>::CppType, | 476 | 957 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 477 | 957 | vec_res); | 478 | | | 479 | 957 | block.replace_by_position(result, std::move(col_res)); | 480 | 957 | } else if (!left_is_const && right_is_const) { | 481 | 111 | auto col_res = ColumnUInt8::create(); | 482 | | | 483 | 111 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 484 | 111 | vec_res.resize(col_left->size()); | 485 | 111 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 486 | 111 | typename PrimitiveTypeTraits<PT>::CppType, | 487 | 111 | Op<PT>>::vector_constant(col_left->get_data(), | 488 | 111 | col_right->get_element(0), vec_res); | 489 | | | 490 | 111 | block.replace_by_position(result, std::move(col_res)); | 491 | 111 | } else if (left_is_const && !right_is_const) { | 492 | 0 | auto col_res = ColumnUInt8::create(); | 493 | |
| 494 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 495 | 0 | vec_res.resize(col_right->size()); | 496 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 497 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 498 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 499 | 0 | col_right->get_data(), vec_res); | 500 | |
| 501 | 0 | block.replace_by_position(result, std::move(col_res)); | 502 | 0 | } | 503 | 1.06k | return Status::OK(); | 504 | 1.06k | } |
_ZNK5doris18FunctionComparisonINS_9GreaterOpENS_11NameGreaterEE16execute_num_typeILNS_13PrimitiveTypeE26EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 460 | 102 | const ColumnPtr& col_right_ptr) const { | 461 | 102 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 462 | 102 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 463 | | | 464 | 102 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 465 | 102 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 466 | | | 467 | 102 | DCHECK(!(left_is_const && right_is_const)); | 468 | | | 469 | 102 | if (!left_is_const && !right_is_const) { | 470 | 8 | auto col_res = ColumnUInt8::create(); | 471 | | | 472 | 8 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 473 | 8 | vec_res.resize(col_left->get_data().size()); | 474 | 8 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 475 | 8 | typename PrimitiveTypeTraits<PT>::CppType, | 476 | 8 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 477 | 8 | vec_res); | 478 | | | 479 | 8 | block.replace_by_position(result, std::move(col_res)); | 480 | 94 | } else if (!left_is_const && right_is_const) { | 481 | 94 | auto col_res = ColumnUInt8::create(); | 482 | | | 483 | 94 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 484 | 94 | vec_res.resize(col_left->size()); | 485 | 94 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 486 | 94 | typename PrimitiveTypeTraits<PT>::CppType, | 487 | 94 | Op<PT>>::vector_constant(col_left->get_data(), | 488 | 94 | col_right->get_element(0), vec_res); | 489 | | | 490 | 94 | block.replace_by_position(result, std::move(col_res)); | 491 | 94 | } else if (left_is_const && !right_is_const) { | 492 | 0 | auto col_res = ColumnUInt8::create(); | 493 | |
| 494 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 495 | 0 | vec_res.resize(col_right->size()); | 496 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 497 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 498 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 499 | 0 | col_right->get_data(), vec_res); | 500 | |
| 501 | 0 | block.replace_by_position(result, std::move(col_res)); | 502 | 0 | } | 503 | 102 | return Status::OK(); | 504 | 102 | } |
_ZNK5doris18FunctionComparisonINS_9GreaterOpENS_11NameGreaterEE16execute_num_typeILNS_13PrimitiveTypeE42EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 460 | 1 | const ColumnPtr& col_right_ptr) const { | 461 | 1 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 462 | 1 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 463 | | | 464 | 1 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 465 | 1 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 466 | | | 467 | 1 | DCHECK(!(left_is_const && right_is_const)); | 468 | | | 469 | 1 | if (!left_is_const && !right_is_const) { | 470 | 1 | auto col_res = ColumnUInt8::create(); | 471 | | | 472 | 1 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 473 | 1 | vec_res.resize(col_left->get_data().size()); | 474 | 1 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 475 | 1 | typename PrimitiveTypeTraits<PT>::CppType, | 476 | 1 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 477 | 1 | vec_res); | 478 | | | 479 | 1 | block.replace_by_position(result, std::move(col_res)); | 480 | 1 | } else if (!left_is_const && right_is_const) { | 481 | 0 | auto col_res = ColumnUInt8::create(); | 482 | |
| 483 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 484 | 0 | vec_res.resize(col_left->size()); | 485 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 486 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 487 | 0 | Op<PT>>::vector_constant(col_left->get_data(), | 488 | 0 | col_right->get_element(0), vec_res); | 489 | |
| 490 | 0 | block.replace_by_position(result, std::move(col_res)); | 491 | 0 | } else if (left_is_const && !right_is_const) { | 492 | 0 | auto col_res = ColumnUInt8::create(); | 493 | |
| 494 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 495 | 0 | vec_res.resize(col_right->size()); | 496 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 497 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 498 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 499 | 0 | col_right->get_data(), vec_res); | 500 | |
| 501 | 0 | block.replace_by_position(result, std::move(col_res)); | 502 | 0 | } | 503 | 1 | return Status::OK(); | 504 | 1 | } |
_ZNK5doris18FunctionComparisonINS_9GreaterOpENS_11NameGreaterEE16execute_num_typeILNS_13PrimitiveTypeE3EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 460 | 1.37k | const ColumnPtr& col_right_ptr) const { | 461 | 1.37k | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 462 | 1.37k | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 463 | | | 464 | 1.37k | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 465 | 1.37k | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 466 | | | 467 | 1.37k | DCHECK(!(left_is_const && right_is_const)); | 468 | | | 469 | 1.37k | if (!left_is_const && !right_is_const) { | 470 | 42 | auto col_res = ColumnUInt8::create(); | 471 | | | 472 | 42 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 473 | 42 | vec_res.resize(col_left->get_data().size()); | 474 | 42 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 475 | 42 | typename PrimitiveTypeTraits<PT>::CppType, | 476 | 42 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 477 | 42 | vec_res); | 478 | | | 479 | 42 | block.replace_by_position(result, std::move(col_res)); | 480 | 1.32k | } else if (!left_is_const && right_is_const) { | 481 | 1.11k | auto col_res = ColumnUInt8::create(); | 482 | | | 483 | 1.11k | ColumnUInt8::Container& vec_res = col_res->get_data(); | 484 | 1.11k | vec_res.resize(col_left->size()); | 485 | 1.11k | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 486 | 1.11k | typename PrimitiveTypeTraits<PT>::CppType, | 487 | 1.11k | Op<PT>>::vector_constant(col_left->get_data(), | 488 | 1.11k | col_right->get_element(0), vec_res); | 489 | | | 490 | 1.11k | block.replace_by_position(result, std::move(col_res)); | 491 | 1.11k | } else if (left_is_const && !right_is_const) { | 492 | 210 | auto col_res = ColumnUInt8::create(); | 493 | | | 494 | 210 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 495 | 210 | vec_res.resize(col_right->size()); | 496 | 210 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 497 | 210 | typename PrimitiveTypeTraits<PT>::CppType, | 498 | 210 | Op<PT>>::constant_vector(col_left->get_element(0), | 499 | 210 | col_right->get_data(), vec_res); | 500 | | | 501 | 210 | block.replace_by_position(result, std::move(col_res)); | 502 | 210 | } | 503 | 1.37k | return Status::OK(); | 504 | 1.37k | } |
_ZNK5doris18FunctionComparisonINS_9GreaterOpENS_11NameGreaterEE16execute_num_typeILNS_13PrimitiveTypeE4EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 460 | 1.76k | const ColumnPtr& col_right_ptr) const { | 461 | 1.76k | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 462 | 1.76k | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 463 | | | 464 | 1.76k | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 465 | 1.76k | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 466 | | | 467 | 1.76k | DCHECK(!(left_is_const && right_is_const)); | 468 | | | 469 | 1.76k | if (!left_is_const && !right_is_const) { | 470 | 129 | auto col_res = ColumnUInt8::create(); | 471 | | | 472 | 129 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 473 | 129 | vec_res.resize(col_left->get_data().size()); | 474 | 129 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 475 | 129 | typename PrimitiveTypeTraits<PT>::CppType, | 476 | 129 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 477 | 129 | vec_res); | 478 | | | 479 | 129 | block.replace_by_position(result, std::move(col_res)); | 480 | 1.63k | } else if (!left_is_const && right_is_const) { | 481 | 1.42k | auto col_res = ColumnUInt8::create(); | 482 | | | 483 | 1.42k | ColumnUInt8::Container& vec_res = col_res->get_data(); | 484 | 1.42k | vec_res.resize(col_left->size()); | 485 | 1.42k | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 486 | 1.42k | typename PrimitiveTypeTraits<PT>::CppType, | 487 | 1.42k | Op<PT>>::vector_constant(col_left->get_data(), | 488 | 1.42k | col_right->get_element(0), vec_res); | 489 | | | 490 | 1.42k | block.replace_by_position(result, std::move(col_res)); | 491 | 1.42k | } else if (left_is_const && !right_is_const) { | 492 | 216 | auto col_res = ColumnUInt8::create(); | 493 | | | 494 | 216 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 495 | 216 | vec_res.resize(col_right->size()); | 496 | 216 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 497 | 216 | typename PrimitiveTypeTraits<PT>::CppType, | 498 | 216 | Op<PT>>::constant_vector(col_left->get_element(0), | 499 | 216 | col_right->get_data(), vec_res); | 500 | | | 501 | 216 | block.replace_by_position(result, std::move(col_res)); | 502 | 216 | } | 503 | 1.76k | return Status::OK(); | 504 | 1.76k | } |
_ZNK5doris18FunctionComparisonINS_9GreaterOpENS_11NameGreaterEE16execute_num_typeILNS_13PrimitiveTypeE5EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 460 | 18.2k | const ColumnPtr& col_right_ptr) const { | 461 | 18.2k | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 462 | 18.2k | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 463 | | | 464 | 18.2k | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 465 | 18.2k | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 466 | | | 467 | 18.2k | DCHECK(!(left_is_const && right_is_const)); | 468 | | | 469 | 18.2k | if (!left_is_const && !right_is_const) { | 470 | 61 | auto col_res = ColumnUInt8::create(); | 471 | | | 472 | 61 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 473 | 61 | vec_res.resize(col_left->get_data().size()); | 474 | 61 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 475 | 61 | typename PrimitiveTypeTraits<PT>::CppType, | 476 | 61 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 477 | 61 | vec_res); | 478 | | | 479 | 61 | block.replace_by_position(result, std::move(col_res)); | 480 | 18.2k | } else if (!left_is_const && right_is_const) { | 481 | 14.8k | auto col_res = ColumnUInt8::create(); | 482 | | | 483 | 14.8k | ColumnUInt8::Container& vec_res = col_res->get_data(); | 484 | 14.8k | vec_res.resize(col_left->size()); | 485 | 14.8k | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 486 | 14.8k | typename PrimitiveTypeTraits<PT>::CppType, | 487 | 14.8k | Op<PT>>::vector_constant(col_left->get_data(), | 488 | 14.8k | col_right->get_element(0), vec_res); | 489 | | | 490 | 14.8k | block.replace_by_position(result, std::move(col_res)); | 491 | 14.8k | } else if (left_is_const && !right_is_const) { | 492 | 3.33k | auto col_res = ColumnUInt8::create(); | 493 | | | 494 | 3.33k | ColumnUInt8::Container& vec_res = col_res->get_data(); | 495 | 3.33k | vec_res.resize(col_right->size()); | 496 | 3.33k | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 497 | 3.33k | typename PrimitiveTypeTraits<PT>::CppType, | 498 | 3.33k | Op<PT>>::constant_vector(col_left->get_element(0), | 499 | 3.33k | col_right->get_data(), vec_res); | 500 | | | 501 | 3.33k | block.replace_by_position(result, std::move(col_res)); | 502 | 3.33k | } | 503 | 18.2k | return Status::OK(); | 504 | 18.2k | } |
_ZNK5doris18FunctionComparisonINS_9GreaterOpENS_11NameGreaterEE16execute_num_typeILNS_13PrimitiveTypeE6EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 460 | 13.8k | const ColumnPtr& col_right_ptr) const { | 461 | 13.8k | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 462 | 13.8k | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 463 | | | 464 | 13.8k | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 465 | 13.8k | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 466 | | | 467 | 13.8k | DCHECK(!(left_is_const && right_is_const)); | 468 | | | 469 | 13.8k | if (!left_is_const && !right_is_const) { | 470 | 63 | auto col_res = ColumnUInt8::create(); | 471 | | | 472 | 63 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 473 | 63 | vec_res.resize(col_left->get_data().size()); | 474 | 63 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 475 | 63 | typename PrimitiveTypeTraits<PT>::CppType, | 476 | 63 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 477 | 63 | vec_res); | 478 | | | 479 | 63 | block.replace_by_position(result, std::move(col_res)); | 480 | 13.7k | } else if (!left_is_const && right_is_const) { | 481 | 13.2k | auto col_res = ColumnUInt8::create(); | 482 | | | 483 | 13.2k | ColumnUInt8::Container& vec_res = col_res->get_data(); | 484 | 13.2k | vec_res.resize(col_left->size()); | 485 | 13.2k | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 486 | 13.2k | typename PrimitiveTypeTraits<PT>::CppType, | 487 | 13.2k | Op<PT>>::vector_constant(col_left->get_data(), | 488 | 13.2k | col_right->get_element(0), vec_res); | 489 | | | 490 | 13.2k | block.replace_by_position(result, std::move(col_res)); | 491 | 13.2k | } else if (left_is_const && !right_is_const) { | 492 | 528 | auto col_res = ColumnUInt8::create(); | 493 | | | 494 | 528 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 495 | 528 | vec_res.resize(col_right->size()); | 496 | 528 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 497 | 528 | typename PrimitiveTypeTraits<PT>::CppType, | 498 | 528 | Op<PT>>::constant_vector(col_left->get_element(0), | 499 | 528 | col_right->get_data(), vec_res); | 500 | | | 501 | 528 | block.replace_by_position(result, std::move(col_res)); | 502 | 528 | } | 503 | 13.8k | return Status::OK(); | 504 | 13.8k | } |
_ZNK5doris18FunctionComparisonINS_9GreaterOpENS_11NameGreaterEE16execute_num_typeILNS_13PrimitiveTypeE7EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 460 | 234 | const ColumnPtr& col_right_ptr) const { | 461 | 234 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 462 | 234 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 463 | | | 464 | 234 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 465 | 234 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 466 | | | 467 | 234 | DCHECK(!(left_is_const && right_is_const)); | 468 | | | 469 | 234 | if (!left_is_const && !right_is_const) { | 470 | 2 | auto col_res = ColumnUInt8::create(); | 471 | | | 472 | 2 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 473 | 2 | vec_res.resize(col_left->get_data().size()); | 474 | 2 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 475 | 2 | typename PrimitiveTypeTraits<PT>::CppType, | 476 | 2 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 477 | 2 | vec_res); | 478 | | | 479 | 2 | block.replace_by_position(result, std::move(col_res)); | 480 | 232 | } else if (!left_is_const && right_is_const) { | 481 | 202 | auto col_res = ColumnUInt8::create(); | 482 | | | 483 | 202 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 484 | 202 | vec_res.resize(col_left->size()); | 485 | 202 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 486 | 202 | typename PrimitiveTypeTraits<PT>::CppType, | 487 | 202 | Op<PT>>::vector_constant(col_left->get_data(), | 488 | 202 | col_right->get_element(0), vec_res); | 489 | | | 490 | 202 | block.replace_by_position(result, std::move(col_res)); | 491 | 202 | } else if (left_is_const && !right_is_const) { | 492 | 30 | auto col_res = ColumnUInt8::create(); | 493 | | | 494 | 30 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 495 | 30 | vec_res.resize(col_right->size()); | 496 | 30 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 497 | 30 | typename PrimitiveTypeTraits<PT>::CppType, | 498 | 30 | Op<PT>>::constant_vector(col_left->get_element(0), | 499 | 30 | col_right->get_data(), vec_res); | 500 | | | 501 | 30 | block.replace_by_position(result, std::move(col_res)); | 502 | 30 | } | 503 | 234 | return Status::OK(); | 504 | 234 | } |
_ZNK5doris18FunctionComparisonINS_9GreaterOpENS_11NameGreaterEE16execute_num_typeILNS_13PrimitiveTypeE36EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 460 | 4 | const ColumnPtr& col_right_ptr) const { | 461 | 4 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 462 | 4 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 463 | | | 464 | 4 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 465 | 4 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 466 | | | 467 | 4 | DCHECK(!(left_is_const && right_is_const)); | 468 | | | 469 | 4 | if (!left_is_const && !right_is_const) { | 470 | 1 | auto col_res = ColumnUInt8::create(); | 471 | | | 472 | 1 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 473 | 1 | vec_res.resize(col_left->get_data().size()); | 474 | 1 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 475 | 1 | typename PrimitiveTypeTraits<PT>::CppType, | 476 | 1 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 477 | 1 | vec_res); | 478 | | | 479 | 1 | block.replace_by_position(result, std::move(col_res)); | 480 | 3 | } else if (!left_is_const && right_is_const) { | 481 | 3 | auto col_res = ColumnUInt8::create(); | 482 | | | 483 | 3 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 484 | 3 | vec_res.resize(col_left->size()); | 485 | 3 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 486 | 3 | typename PrimitiveTypeTraits<PT>::CppType, | 487 | 3 | Op<PT>>::vector_constant(col_left->get_data(), | 488 | 3 | col_right->get_element(0), vec_res); | 489 | | | 490 | 3 | block.replace_by_position(result, std::move(col_res)); | 491 | 3 | } else if (left_is_const && !right_is_const) { | 492 | 0 | auto col_res = ColumnUInt8::create(); | 493 | |
| 494 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 495 | 0 | vec_res.resize(col_right->size()); | 496 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 497 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 498 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 499 | 0 | col_right->get_data(), vec_res); | 500 | |
| 501 | 0 | block.replace_by_position(result, std::move(col_res)); | 502 | 0 | } | 503 | 4 | return Status::OK(); | 504 | 4 | } |
_ZNK5doris18FunctionComparisonINS_9GreaterOpENS_11NameGreaterEE16execute_num_typeILNS_13PrimitiveTypeE37EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 460 | 1 | const ColumnPtr& col_right_ptr) const { | 461 | 1 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 462 | 1 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 463 | | | 464 | 1 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 465 | 1 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 466 | | | 467 | 1 | DCHECK(!(left_is_const && right_is_const)); | 468 | | | 469 | 1 | if (!left_is_const && !right_is_const) { | 470 | 1 | auto col_res = ColumnUInt8::create(); | 471 | | | 472 | 1 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 473 | 1 | vec_res.resize(col_left->get_data().size()); | 474 | 1 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 475 | 1 | typename PrimitiveTypeTraits<PT>::CppType, | 476 | 1 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 477 | 1 | vec_res); | 478 | | | 479 | 1 | block.replace_by_position(result, std::move(col_res)); | 480 | 1 | } else if (!left_is_const && right_is_const) { | 481 | 0 | auto col_res = ColumnUInt8::create(); | 482 | |
| 483 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 484 | 0 | vec_res.resize(col_left->size()); | 485 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 486 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 487 | 0 | Op<PT>>::vector_constant(col_left->get_data(), | 488 | 0 | col_right->get_element(0), vec_res); | 489 | |
| 490 | 0 | block.replace_by_position(result, std::move(col_res)); | 491 | 0 | } else if (left_is_const && !right_is_const) { | 492 | 0 | auto col_res = ColumnUInt8::create(); | 493 | |
| 494 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 495 | 0 | vec_res.resize(col_right->size()); | 496 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 497 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 498 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 499 | 0 | col_right->get_data(), vec_res); | 500 | |
| 501 | 0 | block.replace_by_position(result, std::move(col_res)); | 502 | 0 | } | 503 | 1 | return Status::OK(); | 504 | 1 | } |
_ZNK5doris18FunctionComparisonINS_9GreaterOpENS_11NameGreaterEE16execute_num_typeILNS_13PrimitiveTypeE8EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 460 | 235 | const ColumnPtr& col_right_ptr) const { | 461 | 235 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 462 | 235 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 463 | | | 464 | 235 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 465 | 235 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 466 | | | 467 | 235 | DCHECK(!(left_is_const && right_is_const)); | 468 | | | 469 | 235 | if (!left_is_const && !right_is_const) { | 470 | 19 | auto col_res = ColumnUInt8::create(); | 471 | | | 472 | 19 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 473 | 19 | vec_res.resize(col_left->get_data().size()); | 474 | 19 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 475 | 19 | typename PrimitiveTypeTraits<PT>::CppType, | 476 | 19 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 477 | 19 | vec_res); | 478 | | | 479 | 19 | block.replace_by_position(result, std::move(col_res)); | 480 | 216 | } else if (!left_is_const && right_is_const) { | 481 | 216 | auto col_res = ColumnUInt8::create(); | 482 | | | 483 | 216 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 484 | 216 | vec_res.resize(col_left->size()); | 485 | 216 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 486 | 216 | typename PrimitiveTypeTraits<PT>::CppType, | 487 | 216 | Op<PT>>::vector_constant(col_left->get_data(), | 488 | 216 | col_right->get_element(0), vec_res); | 489 | | | 490 | 216 | block.replace_by_position(result, std::move(col_res)); | 491 | 216 | } else if (left_is_const && !right_is_const) { | 492 | 0 | auto col_res = ColumnUInt8::create(); | 493 | |
| 494 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 495 | 0 | vec_res.resize(col_right->size()); | 496 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 497 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 498 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 499 | 0 | col_right->get_data(), vec_res); | 500 | |
| 501 | 0 | block.replace_by_position(result, std::move(col_res)); | 502 | 0 | } | 503 | 235 | return Status::OK(); | 504 | 235 | } |
_ZNK5doris18FunctionComparisonINS_9GreaterOpENS_11NameGreaterEE16execute_num_typeILNS_13PrimitiveTypeE9EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 460 | 2.23k | const ColumnPtr& col_right_ptr) const { | 461 | 2.23k | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 462 | 2.23k | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 463 | | | 464 | 2.23k | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 465 | 2.23k | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 466 | | | 467 | 2.23k | DCHECK(!(left_is_const && right_is_const)); | 468 | | | 469 | 2.23k | if (!left_is_const && !right_is_const) { | 470 | 32 | auto col_res = ColumnUInt8::create(); | 471 | | | 472 | 32 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 473 | 32 | vec_res.resize(col_left->get_data().size()); | 474 | 32 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 475 | 32 | typename PrimitiveTypeTraits<PT>::CppType, | 476 | 32 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 477 | 32 | vec_res); | 478 | | | 479 | 32 | block.replace_by_position(result, std::move(col_res)); | 480 | 2.20k | } else if (!left_is_const && right_is_const) { | 481 | 2.20k | auto col_res = ColumnUInt8::create(); | 482 | | | 483 | 2.20k | ColumnUInt8::Container& vec_res = col_res->get_data(); | 484 | 2.20k | vec_res.resize(col_left->size()); | 485 | 2.20k | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 486 | 2.20k | typename PrimitiveTypeTraits<PT>::CppType, | 487 | 2.20k | Op<PT>>::vector_constant(col_left->get_data(), | 488 | 2.20k | col_right->get_element(0), vec_res); | 489 | | | 490 | 2.20k | block.replace_by_position(result, std::move(col_res)); | 491 | 18.4E | } else if (left_is_const && !right_is_const) { | 492 | 0 | auto col_res = ColumnUInt8::create(); | 493 | |
| 494 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 495 | 0 | vec_res.resize(col_right->size()); | 496 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 497 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 498 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 499 | 0 | col_right->get_data(), vec_res); | 500 | |
| 501 | 0 | block.replace_by_position(result, std::move(col_res)); | 502 | 0 | } | 503 | 2.23k | return Status::OK(); | 504 | 2.23k | } |
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 | 460 | 184 | const ColumnPtr& col_right_ptr) const { | 461 | 184 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 462 | 184 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 463 | | | 464 | 184 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 465 | 184 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 466 | | | 467 | 184 | DCHECK(!(left_is_const && right_is_const)); | 468 | | | 469 | 184 | if (!left_is_const && !right_is_const) { | 470 | 84 | auto col_res = ColumnUInt8::create(); | 471 | | | 472 | 84 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 473 | 84 | vec_res.resize(col_left->get_data().size()); | 474 | 84 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 475 | 84 | typename PrimitiveTypeTraits<PT>::CppType, | 476 | 84 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 477 | 84 | vec_res); | 478 | | | 479 | 84 | block.replace_by_position(result, std::move(col_res)); | 480 | 100 | } else if (!left_is_const && right_is_const) { | 481 | 100 | auto col_res = ColumnUInt8::create(); | 482 | | | 483 | 100 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 484 | 100 | vec_res.resize(col_left->size()); | 485 | 100 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 486 | 100 | typename PrimitiveTypeTraits<PT>::CppType, | 487 | 100 | Op<PT>>::vector_constant(col_left->get_data(), | 488 | 100 | col_right->get_element(0), vec_res); | 489 | | | 490 | 100 | block.replace_by_position(result, std::move(col_res)); | 491 | 100 | } else if (left_is_const && !right_is_const) { | 492 | 0 | auto col_res = ColumnUInt8::create(); | 493 | |
| 494 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 495 | 0 | vec_res.resize(col_right->size()); | 496 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 497 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 498 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 499 | 0 | col_right->get_data(), vec_res); | 500 | |
| 501 | 0 | block.replace_by_position(result, std::move(col_res)); | 502 | 0 | } | 503 | 184 | return Status::OK(); | 504 | 184 | } |
_ZNK5doris18FunctionComparisonINS_17GreaterOrEqualsOpENS_19NameGreaterOrEqualsEE16execute_num_typeILNS_13PrimitiveTypeE25EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 460 | 2.17k | const ColumnPtr& col_right_ptr) const { | 461 | 2.17k | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 462 | 2.17k | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 463 | | | 464 | 2.17k | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 465 | 2.17k | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 466 | | | 467 | 2.17k | DCHECK(!(left_is_const && right_is_const)); | 468 | | | 469 | 2.17k | if (!left_is_const && !right_is_const) { | 470 | 109 | auto col_res = ColumnUInt8::create(); | 471 | | | 472 | 109 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 473 | 109 | vec_res.resize(col_left->get_data().size()); | 474 | 109 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 475 | 109 | typename PrimitiveTypeTraits<PT>::CppType, | 476 | 109 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 477 | 109 | vec_res); | 478 | | | 479 | 109 | block.replace_by_position(result, std::move(col_res)); | 480 | 2.06k | } else if (!left_is_const && right_is_const) { | 481 | 2.05k | auto col_res = ColumnUInt8::create(); | 482 | | | 483 | 2.05k | ColumnUInt8::Container& vec_res = col_res->get_data(); | 484 | 2.05k | vec_res.resize(col_left->size()); | 485 | 2.05k | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 486 | 2.05k | typename PrimitiveTypeTraits<PT>::CppType, | 487 | 2.05k | Op<PT>>::vector_constant(col_left->get_data(), | 488 | 2.05k | col_right->get_element(0), vec_res); | 489 | | | 490 | 2.05k | block.replace_by_position(result, std::move(col_res)); | 491 | 2.05k | } else if (left_is_const && !right_is_const) { | 492 | 6 | auto col_res = ColumnUInt8::create(); | 493 | | | 494 | 6 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 495 | 6 | vec_res.resize(col_right->size()); | 496 | 6 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 497 | 6 | typename PrimitiveTypeTraits<PT>::CppType, | 498 | 6 | Op<PT>>::constant_vector(col_left->get_element(0), | 499 | 6 | col_right->get_data(), vec_res); | 500 | | | 501 | 6 | block.replace_by_position(result, std::move(col_res)); | 502 | 6 | } | 503 | 2.17k | return Status::OK(); | 504 | 2.17k | } |
_ZNK5doris18FunctionComparisonINS_17GreaterOrEqualsOpENS_19NameGreaterOrEqualsEE16execute_num_typeILNS_13PrimitiveTypeE26EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 460 | 885 | const ColumnPtr& col_right_ptr) const { | 461 | 885 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 462 | 885 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 463 | | | 464 | 885 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 465 | 885 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 466 | | | 467 | 885 | DCHECK(!(left_is_const && right_is_const)); | 468 | | | 469 | 885 | if (!left_is_const && !right_is_const) { | 470 | 187 | auto col_res = ColumnUInt8::create(); | 471 | | | 472 | 187 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 473 | 187 | vec_res.resize(col_left->get_data().size()); | 474 | 187 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 475 | 187 | typename PrimitiveTypeTraits<PT>::CppType, | 476 | 187 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 477 | 187 | vec_res); | 478 | | | 479 | 187 | block.replace_by_position(result, std::move(col_res)); | 480 | 698 | } else if (!left_is_const && right_is_const) { | 481 | 698 | auto col_res = ColumnUInt8::create(); | 482 | | | 483 | 698 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 484 | 698 | vec_res.resize(col_left->size()); | 485 | 698 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 486 | 698 | typename PrimitiveTypeTraits<PT>::CppType, | 487 | 698 | Op<PT>>::vector_constant(col_left->get_data(), | 488 | 698 | col_right->get_element(0), vec_res); | 489 | | | 490 | 698 | block.replace_by_position(result, std::move(col_res)); | 491 | 698 | } else if (left_is_const && !right_is_const) { | 492 | 0 | auto col_res = ColumnUInt8::create(); | 493 | |
| 494 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 495 | 0 | vec_res.resize(col_right->size()); | 496 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 497 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 498 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 499 | 0 | col_right->get_data(), vec_res); | 500 | |
| 501 | 0 | block.replace_by_position(result, std::move(col_res)); | 502 | 0 | } | 503 | 885 | return Status::OK(); | 504 | 885 | } |
_ZNK5doris18FunctionComparisonINS_17GreaterOrEqualsOpENS_19NameGreaterOrEqualsEE16execute_num_typeILNS_13PrimitiveTypeE42EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 460 | 1 | const ColumnPtr& col_right_ptr) const { | 461 | 1 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 462 | 1 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 463 | | | 464 | 1 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 465 | 1 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 466 | | | 467 | 1 | DCHECK(!(left_is_const && right_is_const)); | 468 | | | 469 | 1 | if (!left_is_const && !right_is_const) { | 470 | 1 | auto col_res = ColumnUInt8::create(); | 471 | | | 472 | 1 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 473 | 1 | vec_res.resize(col_left->get_data().size()); | 474 | 1 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 475 | 1 | typename PrimitiveTypeTraits<PT>::CppType, | 476 | 1 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 477 | 1 | vec_res); | 478 | | | 479 | 1 | block.replace_by_position(result, std::move(col_res)); | 480 | 1 | } else if (!left_is_const && right_is_const) { | 481 | 0 | auto col_res = ColumnUInt8::create(); | 482 | |
| 483 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 484 | 0 | vec_res.resize(col_left->size()); | 485 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 486 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 487 | 0 | Op<PT>>::vector_constant(col_left->get_data(), | 488 | 0 | col_right->get_element(0), vec_res); | 489 | |
| 490 | 0 | block.replace_by_position(result, std::move(col_res)); | 491 | 0 | } else if (left_is_const && !right_is_const) { | 492 | 0 | auto col_res = ColumnUInt8::create(); | 493 | |
| 494 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 495 | 0 | vec_res.resize(col_right->size()); | 496 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 497 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 498 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 499 | 0 | col_right->get_data(), vec_res); | 500 | |
| 501 | 0 | block.replace_by_position(result, std::move(col_res)); | 502 | 0 | } | 503 | 1 | return Status::OK(); | 504 | 1 | } |
_ZNK5doris18FunctionComparisonINS_17GreaterOrEqualsOpENS_19NameGreaterOrEqualsEE16execute_num_typeILNS_13PrimitiveTypeE3EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 460 | 54 | const ColumnPtr& col_right_ptr) const { | 461 | 54 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 462 | 54 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 463 | | | 464 | 54 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 465 | 54 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 466 | | | 467 | 54 | DCHECK(!(left_is_const && right_is_const)); | 468 | | | 469 | 54 | if (!left_is_const && !right_is_const) { | 470 | 0 | auto col_res = ColumnUInt8::create(); | 471 | |
| 472 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 473 | 0 | vec_res.resize(col_left->get_data().size()); | 474 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 475 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 476 | 0 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 477 | 0 | vec_res); | 478 | |
| 479 | 0 | block.replace_by_position(result, std::move(col_res)); | 480 | 54 | } else if (!left_is_const && right_is_const) { | 481 | 54 | auto col_res = ColumnUInt8::create(); | 482 | | | 483 | 54 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 484 | 54 | vec_res.resize(col_left->size()); | 485 | 54 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 486 | 54 | typename PrimitiveTypeTraits<PT>::CppType, | 487 | 54 | Op<PT>>::vector_constant(col_left->get_data(), | 488 | 54 | col_right->get_element(0), vec_res); | 489 | | | 490 | 54 | block.replace_by_position(result, std::move(col_res)); | 491 | 54 | } else if (left_is_const && !right_is_const) { | 492 | 0 | auto col_res = ColumnUInt8::create(); | 493 | |
| 494 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 495 | 0 | vec_res.resize(col_right->size()); | 496 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 497 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 498 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 499 | 0 | col_right->get_data(), vec_res); | 500 | |
| 501 | 0 | block.replace_by_position(result, std::move(col_res)); | 502 | 0 | } | 503 | 54 | return Status::OK(); | 504 | 54 | } |
_ZNK5doris18FunctionComparisonINS_17GreaterOrEqualsOpENS_19NameGreaterOrEqualsEE16execute_num_typeILNS_13PrimitiveTypeE4EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 460 | 73 | const ColumnPtr& col_right_ptr) const { | 461 | 73 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 462 | 73 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 463 | | | 464 | 73 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 465 | 73 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 466 | | | 467 | 73 | DCHECK(!(left_is_const && right_is_const)); | 468 | | | 469 | 73 | if (!left_is_const && !right_is_const) { | 470 | 0 | auto col_res = ColumnUInt8::create(); | 471 | |
| 472 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 473 | 0 | vec_res.resize(col_left->get_data().size()); | 474 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 475 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 476 | 0 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 477 | 0 | vec_res); | 478 | |
| 479 | 0 | block.replace_by_position(result, std::move(col_res)); | 480 | 73 | } else if (!left_is_const && right_is_const) { | 481 | 73 | auto col_res = ColumnUInt8::create(); | 482 | | | 483 | 73 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 484 | 73 | vec_res.resize(col_left->size()); | 485 | 73 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 486 | 73 | typename PrimitiveTypeTraits<PT>::CppType, | 487 | 73 | Op<PT>>::vector_constant(col_left->get_data(), | 488 | 73 | col_right->get_element(0), vec_res); | 489 | | | 490 | 73 | block.replace_by_position(result, std::move(col_res)); | 491 | 73 | } else if (left_is_const && !right_is_const) { | 492 | 0 | auto col_res = ColumnUInt8::create(); | 493 | |
| 494 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 495 | 0 | vec_res.resize(col_right->size()); | 496 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 497 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 498 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 499 | 0 | col_right->get_data(), vec_res); | 500 | |
| 501 | 0 | block.replace_by_position(result, std::move(col_res)); | 502 | 0 | } | 503 | 73 | return Status::OK(); | 504 | 73 | } |
_ZNK5doris18FunctionComparisonINS_17GreaterOrEqualsOpENS_19NameGreaterOrEqualsEE16execute_num_typeILNS_13PrimitiveTypeE5EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 460 | 16.2k | const ColumnPtr& col_right_ptr) const { | 461 | 16.2k | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 462 | 16.2k | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 463 | | | 464 | 16.2k | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 465 | 16.2k | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 466 | | | 467 | 16.2k | DCHECK(!(left_is_const && right_is_const)); | 468 | | | 469 | 16.2k | if (!left_is_const && !right_is_const) { | 470 | 129 | auto col_res = ColumnUInt8::create(); | 471 | | | 472 | 129 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 473 | 129 | vec_res.resize(col_left->get_data().size()); | 474 | 129 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 475 | 129 | typename PrimitiveTypeTraits<PT>::CppType, | 476 | 129 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 477 | 129 | vec_res); | 478 | | | 479 | 129 | block.replace_by_position(result, std::move(col_res)); | 480 | 16.1k | } else if (!left_is_const && right_is_const) { | 481 | 16.1k | auto col_res = ColumnUInt8::create(); | 482 | | | 483 | 16.1k | ColumnUInt8::Container& vec_res = col_res->get_data(); | 484 | 16.1k | vec_res.resize(col_left->size()); | 485 | 16.1k | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 486 | 16.1k | typename PrimitiveTypeTraits<PT>::CppType, | 487 | 16.1k | Op<PT>>::vector_constant(col_left->get_data(), | 488 | 16.1k | col_right->get_element(0), vec_res); | 489 | | | 490 | 16.1k | block.replace_by_position(result, std::move(col_res)); | 491 | 16.1k | } else if (left_is_const && !right_is_const) { | 492 | 0 | auto col_res = ColumnUInt8::create(); | 493 | |
| 494 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 495 | 0 | vec_res.resize(col_right->size()); | 496 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 497 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 498 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 499 | 0 | col_right->get_data(), vec_res); | 500 | |
| 501 | 0 | block.replace_by_position(result, std::move(col_res)); | 502 | 0 | } | 503 | 16.2k | return Status::OK(); | 504 | 16.2k | } |
_ZNK5doris18FunctionComparisonINS_17GreaterOrEqualsOpENS_19NameGreaterOrEqualsEE16execute_num_typeILNS_13PrimitiveTypeE6EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 460 | 607 | const ColumnPtr& col_right_ptr) const { | 461 | 607 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 462 | 607 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 463 | | | 464 | 607 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 465 | 607 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 466 | | | 467 | 607 | DCHECK(!(left_is_const && right_is_const)); | 468 | | | 469 | 607 | if (!left_is_const && !right_is_const) { | 470 | 68 | auto col_res = ColumnUInt8::create(); | 471 | | | 472 | 68 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 473 | 68 | vec_res.resize(col_left->get_data().size()); | 474 | 68 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 475 | 68 | typename PrimitiveTypeTraits<PT>::CppType, | 476 | 68 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 477 | 68 | vec_res); | 478 | | | 479 | 68 | block.replace_by_position(result, std::move(col_res)); | 480 | 539 | } else if (!left_is_const && right_is_const) { | 481 | 539 | auto col_res = ColumnUInt8::create(); | 482 | | | 483 | 539 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 484 | 539 | vec_res.resize(col_left->size()); | 485 | 539 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 486 | 539 | typename PrimitiveTypeTraits<PT>::CppType, | 487 | 539 | Op<PT>>::vector_constant(col_left->get_data(), | 488 | 539 | col_right->get_element(0), vec_res); | 489 | | | 490 | 539 | block.replace_by_position(result, std::move(col_res)); | 491 | 539 | } else if (left_is_const && !right_is_const) { | 492 | 0 | auto col_res = ColumnUInt8::create(); | 493 | |
| 494 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 495 | 0 | vec_res.resize(col_right->size()); | 496 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 497 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 498 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 499 | 0 | col_right->get_data(), vec_res); | 500 | |
| 501 | 0 | block.replace_by_position(result, std::move(col_res)); | 502 | 0 | } | 503 | 607 | return Status::OK(); | 504 | 607 | } |
_ZNK5doris18FunctionComparisonINS_17GreaterOrEqualsOpENS_19NameGreaterOrEqualsEE16execute_num_typeILNS_13PrimitiveTypeE7EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 460 | 49 | const ColumnPtr& col_right_ptr) const { | 461 | 49 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 462 | 49 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 463 | | | 464 | 49 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 465 | 49 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 466 | | | 467 | 49 | DCHECK(!(left_is_const && right_is_const)); | 468 | | | 469 | 49 | if (!left_is_const && !right_is_const) { | 470 | 0 | auto col_res = ColumnUInt8::create(); | 471 | |
| 472 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 473 | 0 | vec_res.resize(col_left->get_data().size()); | 474 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 475 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 476 | 0 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 477 | 0 | vec_res); | 478 | |
| 479 | 0 | block.replace_by_position(result, std::move(col_res)); | 480 | 49 | } else if (!left_is_const && right_is_const) { | 481 | 49 | auto col_res = ColumnUInt8::create(); | 482 | | | 483 | 49 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 484 | 49 | vec_res.resize(col_left->size()); | 485 | 49 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 486 | 49 | typename PrimitiveTypeTraits<PT>::CppType, | 487 | 49 | Op<PT>>::vector_constant(col_left->get_data(), | 488 | 49 | col_right->get_element(0), vec_res); | 489 | | | 490 | 49 | block.replace_by_position(result, std::move(col_res)); | 491 | 49 | } else if (left_is_const && !right_is_const) { | 492 | 0 | auto col_res = ColumnUInt8::create(); | 493 | |
| 494 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 495 | 0 | vec_res.resize(col_right->size()); | 496 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 497 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 498 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 499 | 0 | col_right->get_data(), vec_res); | 500 | |
| 501 | 0 | block.replace_by_position(result, std::move(col_res)); | 502 | 0 | } | 503 | 49 | return Status::OK(); | 504 | 49 | } |
_ZNK5doris18FunctionComparisonINS_17GreaterOrEqualsOpENS_19NameGreaterOrEqualsEE16execute_num_typeILNS_13PrimitiveTypeE36EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 460 | 11 | const ColumnPtr& col_right_ptr) const { | 461 | 11 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 462 | 11 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 463 | | | 464 | 11 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 465 | 11 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 466 | | | 467 | 11 | DCHECK(!(left_is_const && right_is_const)); | 468 | | | 469 | 11 | if (!left_is_const && !right_is_const) { | 470 | 1 | auto col_res = ColumnUInt8::create(); | 471 | | | 472 | 1 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 473 | 1 | vec_res.resize(col_left->get_data().size()); | 474 | 1 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 475 | 1 | typename PrimitiveTypeTraits<PT>::CppType, | 476 | 1 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 477 | 1 | vec_res); | 478 | | | 479 | 1 | block.replace_by_position(result, std::move(col_res)); | 480 | 10 | } else if (!left_is_const && right_is_const) { | 481 | 10 | auto col_res = ColumnUInt8::create(); | 482 | | | 483 | 10 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 484 | 10 | vec_res.resize(col_left->size()); | 485 | 10 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 486 | 10 | typename PrimitiveTypeTraits<PT>::CppType, | 487 | 10 | Op<PT>>::vector_constant(col_left->get_data(), | 488 | 10 | col_right->get_element(0), vec_res); | 489 | | | 490 | 10 | block.replace_by_position(result, std::move(col_res)); | 491 | 10 | } else if (left_is_const && !right_is_const) { | 492 | 0 | auto col_res = ColumnUInt8::create(); | 493 | |
| 494 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 495 | 0 | vec_res.resize(col_right->size()); | 496 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 497 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 498 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 499 | 0 | col_right->get_data(), vec_res); | 500 | |
| 501 | 0 | block.replace_by_position(result, std::move(col_res)); | 502 | 0 | } | 503 | 11 | return Status::OK(); | 504 | 11 | } |
_ZNK5doris18FunctionComparisonINS_17GreaterOrEqualsOpENS_19NameGreaterOrEqualsEE16execute_num_typeILNS_13PrimitiveTypeE37EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 460 | 1 | const ColumnPtr& col_right_ptr) const { | 461 | 1 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 462 | 1 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 463 | | | 464 | 1 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 465 | 1 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 466 | | | 467 | 1 | DCHECK(!(left_is_const && right_is_const)); | 468 | | | 469 | 1 | if (!left_is_const && !right_is_const) { | 470 | 1 | auto col_res = ColumnUInt8::create(); | 471 | | | 472 | 1 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 473 | 1 | vec_res.resize(col_left->get_data().size()); | 474 | 1 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 475 | 1 | typename PrimitiveTypeTraits<PT>::CppType, | 476 | 1 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 477 | 1 | vec_res); | 478 | | | 479 | 1 | block.replace_by_position(result, std::move(col_res)); | 480 | 1 | } else if (!left_is_const && right_is_const) { | 481 | 0 | auto col_res = ColumnUInt8::create(); | 482 | |
| 483 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 484 | 0 | vec_res.resize(col_left->size()); | 485 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 486 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 487 | 0 | Op<PT>>::vector_constant(col_left->get_data(), | 488 | 0 | col_right->get_element(0), vec_res); | 489 | |
| 490 | 0 | block.replace_by_position(result, std::move(col_res)); | 491 | 0 | } else if (left_is_const && !right_is_const) { | 492 | 0 | auto col_res = ColumnUInt8::create(); | 493 | |
| 494 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 495 | 0 | vec_res.resize(col_right->size()); | 496 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 497 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 498 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 499 | 0 | col_right->get_data(), vec_res); | 500 | |
| 501 | 0 | block.replace_by_position(result, std::move(col_res)); | 502 | 0 | } | 503 | 1 | return Status::OK(); | 504 | 1 | } |
_ZNK5doris18FunctionComparisonINS_17GreaterOrEqualsOpENS_19NameGreaterOrEqualsEE16execute_num_typeILNS_13PrimitiveTypeE8EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 460 | 220 | const ColumnPtr& col_right_ptr) const { | 461 | 220 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 462 | 220 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 463 | | | 464 | 220 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 465 | 220 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 466 | | | 467 | 220 | DCHECK(!(left_is_const && right_is_const)); | 468 | | | 469 | 220 | if (!left_is_const && !right_is_const) { | 470 | 140 | auto col_res = ColumnUInt8::create(); | 471 | | | 472 | 140 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 473 | 140 | vec_res.resize(col_left->get_data().size()); | 474 | 140 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 475 | 140 | typename PrimitiveTypeTraits<PT>::CppType, | 476 | 140 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 477 | 140 | vec_res); | 478 | | | 479 | 140 | block.replace_by_position(result, std::move(col_res)); | 480 | 140 | } else if (!left_is_const && right_is_const) { | 481 | 80 | auto col_res = ColumnUInt8::create(); | 482 | | | 483 | 80 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 484 | 80 | vec_res.resize(col_left->size()); | 485 | 80 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 486 | 80 | typename PrimitiveTypeTraits<PT>::CppType, | 487 | 80 | Op<PT>>::vector_constant(col_left->get_data(), | 488 | 80 | col_right->get_element(0), vec_res); | 489 | | | 490 | 80 | block.replace_by_position(result, std::move(col_res)); | 491 | 80 | } else if (left_is_const && !right_is_const) { | 492 | 0 | auto col_res = ColumnUInt8::create(); | 493 | |
| 494 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 495 | 0 | vec_res.resize(col_right->size()); | 496 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 497 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 498 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 499 | 0 | col_right->get_data(), vec_res); | 500 | |
| 501 | 0 | block.replace_by_position(result, std::move(col_res)); | 502 | 0 | } | 503 | 220 | return Status::OK(); | 504 | 220 | } |
_ZNK5doris18FunctionComparisonINS_17GreaterOrEqualsOpENS_19NameGreaterOrEqualsEE16execute_num_typeILNS_13PrimitiveTypeE9EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 460 | 143 | const ColumnPtr& col_right_ptr) const { | 461 | 143 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 462 | 143 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 463 | | | 464 | 143 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 465 | 143 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 466 | | | 467 | 143 | DCHECK(!(left_is_const && right_is_const)); | 468 | | | 469 | 143 | if (!left_is_const && !right_is_const) { | 470 | 24 | auto col_res = ColumnUInt8::create(); | 471 | | | 472 | 24 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 473 | 24 | vec_res.resize(col_left->get_data().size()); | 474 | 24 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 475 | 24 | typename PrimitiveTypeTraits<PT>::CppType, | 476 | 24 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 477 | 24 | vec_res); | 478 | | | 479 | 24 | block.replace_by_position(result, std::move(col_res)); | 480 | 119 | } else if (!left_is_const && right_is_const) { | 481 | 119 | auto col_res = ColumnUInt8::create(); | 482 | | | 483 | 119 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 484 | 119 | vec_res.resize(col_left->size()); | 485 | 119 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 486 | 119 | typename PrimitiveTypeTraits<PT>::CppType, | 487 | 119 | Op<PT>>::vector_constant(col_left->get_data(), | 488 | 119 | col_right->get_element(0), vec_res); | 489 | | | 490 | 119 | block.replace_by_position(result, std::move(col_res)); | 491 | 119 | } else if (left_is_const && !right_is_const) { | 492 | 0 | auto col_res = ColumnUInt8::create(); | 493 | |
| 494 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 495 | 0 | vec_res.resize(col_right->size()); | 496 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 497 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 498 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 499 | 0 | col_right->get_data(), vec_res); | 500 | |
| 501 | 0 | block.replace_by_position(result, std::move(col_res)); | 502 | 0 | } | 503 | 143 | return Status::OK(); | 504 | 143 | } |
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 | 460 | 95 | const ColumnPtr& col_right_ptr) const { | 461 | 95 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 462 | 95 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 463 | | | 464 | 95 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 465 | 95 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 466 | | | 467 | 95 | DCHECK(!(left_is_const && right_is_const)); | 468 | | | 469 | 95 | if (!left_is_const && !right_is_const) { | 470 | 95 | auto col_res = ColumnUInt8::create(); | 471 | | | 472 | 95 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 473 | 95 | vec_res.resize(col_left->get_data().size()); | 474 | 95 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 475 | 95 | typename PrimitiveTypeTraits<PT>::CppType, | 476 | 95 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 477 | 95 | vec_res); | 478 | | | 479 | 95 | block.replace_by_position(result, std::move(col_res)); | 480 | 95 | } else if (!left_is_const && right_is_const) { | 481 | 0 | auto col_res = ColumnUInt8::create(); | 482 | |
| 483 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 484 | 0 | vec_res.resize(col_left->size()); | 485 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 486 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 487 | 0 | Op<PT>>::vector_constant(col_left->get_data(), | 488 | 0 | col_right->get_element(0), vec_res); | 489 | |
| 490 | 0 | block.replace_by_position(result, std::move(col_res)); | 491 | 0 | } else if (left_is_const && !right_is_const) { | 492 | 0 | auto col_res = ColumnUInt8::create(); | 493 | |
| 494 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 495 | 0 | vec_res.resize(col_right->size()); | 496 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 497 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 498 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 499 | 0 | col_right->get_data(), vec_res); | 500 | |
| 501 | 0 | block.replace_by_position(result, std::move(col_res)); | 502 | 0 | } | 503 | 95 | return Status::OK(); | 504 | 95 | } |
_ZNK5doris18FunctionComparisonINS_6LessOpENS_8NameLessEE16execute_num_typeILNS_13PrimitiveTypeE25EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 460 | 2.15k | const ColumnPtr& col_right_ptr) const { | 461 | 2.15k | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 462 | 2.15k | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 463 | | | 464 | 2.15k | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 465 | 2.15k | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 466 | | | 467 | 2.15k | DCHECK(!(left_is_const && right_is_const)); | 468 | | | 469 | 2.15k | if (!left_is_const && !right_is_const) { | 470 | 1.76k | auto col_res = ColumnUInt8::create(); | 471 | | | 472 | 1.76k | ColumnUInt8::Container& vec_res = col_res->get_data(); | 473 | 1.76k | vec_res.resize(col_left->get_data().size()); | 474 | 1.76k | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 475 | 1.76k | typename PrimitiveTypeTraits<PT>::CppType, | 476 | 1.76k | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 477 | 1.76k | vec_res); | 478 | | | 479 | 1.76k | block.replace_by_position(result, std::move(col_res)); | 480 | 1.76k | } else if (!left_is_const && right_is_const) { | 481 | 395 | auto col_res = ColumnUInt8::create(); | 482 | | | 483 | 395 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 484 | 395 | vec_res.resize(col_left->size()); | 485 | 395 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 486 | 395 | typename PrimitiveTypeTraits<PT>::CppType, | 487 | 395 | Op<PT>>::vector_constant(col_left->get_data(), | 488 | 395 | col_right->get_element(0), vec_res); | 489 | | | 490 | 395 | block.replace_by_position(result, std::move(col_res)); | 491 | 395 | } else if (left_is_const && !right_is_const) { | 492 | 0 | auto col_res = ColumnUInt8::create(); | 493 | |
| 494 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 495 | 0 | vec_res.resize(col_right->size()); | 496 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 497 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 498 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 499 | 0 | col_right->get_data(), vec_res); | 500 | |
| 501 | 0 | block.replace_by_position(result, std::move(col_res)); | 502 | 0 | } | 503 | 2.15k | return Status::OK(); | 504 | 2.15k | } |
_ZNK5doris18FunctionComparisonINS_6LessOpENS_8NameLessEE16execute_num_typeILNS_13PrimitiveTypeE26EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 460 | 699 | const ColumnPtr& col_right_ptr) const { | 461 | 699 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 462 | 699 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 463 | | | 464 | 699 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 465 | 699 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 466 | | | 467 | 699 | DCHECK(!(left_is_const && right_is_const)); | 468 | | | 469 | 699 | if (!left_is_const && !right_is_const) { | 470 | 262 | auto col_res = ColumnUInt8::create(); | 471 | | | 472 | 262 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 473 | 262 | vec_res.resize(col_left->get_data().size()); | 474 | 262 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 475 | 262 | typename PrimitiveTypeTraits<PT>::CppType, | 476 | 262 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 477 | 262 | vec_res); | 478 | | | 479 | 262 | block.replace_by_position(result, std::move(col_res)); | 480 | 437 | } else if (!left_is_const && right_is_const) { | 481 | 437 | auto col_res = ColumnUInt8::create(); | 482 | | | 483 | 437 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 484 | 437 | vec_res.resize(col_left->size()); | 485 | 437 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 486 | 437 | typename PrimitiveTypeTraits<PT>::CppType, | 487 | 437 | Op<PT>>::vector_constant(col_left->get_data(), | 488 | 437 | col_right->get_element(0), vec_res); | 489 | | | 490 | 437 | block.replace_by_position(result, std::move(col_res)); | 491 | 437 | } else if (left_is_const && !right_is_const) { | 492 | 0 | auto col_res = ColumnUInt8::create(); | 493 | |
| 494 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 495 | 0 | vec_res.resize(col_right->size()); | 496 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 497 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 498 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 499 | 0 | col_right->get_data(), vec_res); | 500 | |
| 501 | 0 | block.replace_by_position(result, std::move(col_res)); | 502 | 0 | } | 503 | 699 | return Status::OK(); | 504 | 699 | } |
_ZNK5doris18FunctionComparisonINS_6LessOpENS_8NameLessEE16execute_num_typeILNS_13PrimitiveTypeE42EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 460 | 2 | const ColumnPtr& col_right_ptr) const { | 461 | 2 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 462 | 2 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 463 | | | 464 | 2 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 465 | 2 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 466 | | | 467 | 2 | DCHECK(!(left_is_const && right_is_const)); | 468 | | | 469 | 2 | if (!left_is_const && !right_is_const) { | 470 | 1 | auto col_res = ColumnUInt8::create(); | 471 | | | 472 | 1 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 473 | 1 | vec_res.resize(col_left->get_data().size()); | 474 | 1 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 475 | 1 | typename PrimitiveTypeTraits<PT>::CppType, | 476 | 1 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 477 | 1 | vec_res); | 478 | | | 479 | 1 | block.replace_by_position(result, std::move(col_res)); | 480 | 1 | } else if (!left_is_const && right_is_const) { | 481 | 1 | auto col_res = ColumnUInt8::create(); | 482 | | | 483 | 1 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 484 | 1 | vec_res.resize(col_left->size()); | 485 | 1 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 486 | 1 | typename PrimitiveTypeTraits<PT>::CppType, | 487 | 1 | Op<PT>>::vector_constant(col_left->get_data(), | 488 | 1 | col_right->get_element(0), vec_res); | 489 | | | 490 | 1 | block.replace_by_position(result, std::move(col_res)); | 491 | 1 | } else if (left_is_const && !right_is_const) { | 492 | 0 | auto col_res = ColumnUInt8::create(); | 493 | |
| 494 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 495 | 0 | vec_res.resize(col_right->size()); | 496 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 497 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 498 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 499 | 0 | col_right->get_data(), vec_res); | 500 | |
| 501 | 0 | block.replace_by_position(result, std::move(col_res)); | 502 | 0 | } | 503 | 2 | return Status::OK(); | 504 | 2 | } |
_ZNK5doris18FunctionComparisonINS_6LessOpENS_8NameLessEE16execute_num_typeILNS_13PrimitiveTypeE3EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 460 | 2.06k | const ColumnPtr& col_right_ptr) const { | 461 | 2.06k | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 462 | 2.06k | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 463 | | | 464 | 2.06k | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 465 | 2.06k | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 466 | | | 467 | 2.06k | DCHECK(!(left_is_const && right_is_const)); | 468 | | | 469 | 2.06k | if (!left_is_const && !right_is_const) { | 470 | 156 | auto col_res = ColumnUInt8::create(); | 471 | | | 472 | 156 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 473 | 156 | vec_res.resize(col_left->get_data().size()); | 474 | 156 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 475 | 156 | typename PrimitiveTypeTraits<PT>::CppType, | 476 | 156 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 477 | 156 | vec_res); | 478 | | | 479 | 156 | block.replace_by_position(result, std::move(col_res)); | 480 | 1.90k | } else if (!left_is_const && right_is_const) { | 481 | 1.69k | auto col_res = ColumnUInt8::create(); | 482 | | | 483 | 1.69k | ColumnUInt8::Container& vec_res = col_res->get_data(); | 484 | 1.69k | vec_res.resize(col_left->size()); | 485 | 1.69k | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 486 | 1.69k | typename PrimitiveTypeTraits<PT>::CppType, | 487 | 1.69k | Op<PT>>::vector_constant(col_left->get_data(), | 488 | 1.69k | col_right->get_element(0), vec_res); | 489 | | | 490 | 1.69k | block.replace_by_position(result, std::move(col_res)); | 491 | 1.69k | } else if (left_is_const && !right_is_const) { | 492 | 216 | auto col_res = ColumnUInt8::create(); | 493 | | | 494 | 216 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 495 | 216 | vec_res.resize(col_right->size()); | 496 | 216 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 497 | 216 | typename PrimitiveTypeTraits<PT>::CppType, | 498 | 216 | Op<PT>>::constant_vector(col_left->get_element(0), | 499 | 216 | col_right->get_data(), vec_res); | 500 | | | 501 | 216 | block.replace_by_position(result, std::move(col_res)); | 502 | 216 | } | 503 | 2.06k | return Status::OK(); | 504 | 2.06k | } |
_ZNK5doris18FunctionComparisonINS_6LessOpENS_8NameLessEE16execute_num_typeILNS_13PrimitiveTypeE4EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 460 | 269 | const ColumnPtr& col_right_ptr) const { | 461 | 269 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 462 | 269 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 463 | | | 464 | 269 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 465 | 269 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 466 | | | 467 | 269 | DCHECK(!(left_is_const && right_is_const)); | 468 | | | 469 | 269 | if (!left_is_const && !right_is_const) { | 470 | 125 | auto col_res = ColumnUInt8::create(); | 471 | | | 472 | 125 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 473 | 125 | vec_res.resize(col_left->get_data().size()); | 474 | 125 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 475 | 125 | typename PrimitiveTypeTraits<PT>::CppType, | 476 | 125 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 477 | 125 | vec_res); | 478 | | | 479 | 125 | block.replace_by_position(result, std::move(col_res)); | 480 | 144 | } else if (!left_is_const && right_is_const) { | 481 | 144 | auto col_res = ColumnUInt8::create(); | 482 | | | 483 | 144 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 484 | 144 | vec_res.resize(col_left->size()); | 485 | 144 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 486 | 144 | typename PrimitiveTypeTraits<PT>::CppType, | 487 | 144 | Op<PT>>::vector_constant(col_left->get_data(), | 488 | 144 | col_right->get_element(0), vec_res); | 489 | | | 490 | 144 | block.replace_by_position(result, std::move(col_res)); | 491 | 144 | } else if (left_is_const && !right_is_const) { | 492 | 0 | auto col_res = ColumnUInt8::create(); | 493 | |
| 494 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 495 | 0 | vec_res.resize(col_right->size()); | 496 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 497 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 498 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 499 | 0 | col_right->get_data(), vec_res); | 500 | |
| 501 | 0 | block.replace_by_position(result, std::move(col_res)); | 502 | 0 | } | 503 | 269 | return Status::OK(); | 504 | 269 | } |
_ZNK5doris18FunctionComparisonINS_6LessOpENS_8NameLessEE16execute_num_typeILNS_13PrimitiveTypeE5EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 460 | 3.23k | const ColumnPtr& col_right_ptr) const { | 461 | 3.23k | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 462 | 3.23k | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 463 | | | 464 | 3.23k | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 465 | 3.23k | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 466 | | | 467 | 3.23k | DCHECK(!(left_is_const && right_is_const)); | 468 | | | 469 | 3.23k | if (!left_is_const && !right_is_const) { | 470 | 178 | auto col_res = ColumnUInt8::create(); | 471 | | | 472 | 178 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 473 | 178 | vec_res.resize(col_left->get_data().size()); | 474 | 178 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 475 | 178 | typename PrimitiveTypeTraits<PT>::CppType, | 476 | 178 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 477 | 178 | vec_res); | 478 | | | 479 | 178 | block.replace_by_position(result, std::move(col_res)); | 480 | 3.05k | } else if (!left_is_const && right_is_const) { | 481 | 2.93k | auto col_res = ColumnUInt8::create(); | 482 | | | 483 | 2.93k | ColumnUInt8::Container& vec_res = col_res->get_data(); | 484 | 2.93k | vec_res.resize(col_left->size()); | 485 | 2.93k | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 486 | 2.93k | typename PrimitiveTypeTraits<PT>::CppType, | 487 | 2.93k | Op<PT>>::vector_constant(col_left->get_data(), | 488 | 2.93k | col_right->get_element(0), vec_res); | 489 | | | 490 | 2.93k | block.replace_by_position(result, std::move(col_res)); | 491 | 2.93k | } else if (left_is_const && !right_is_const) { | 492 | 121 | auto col_res = ColumnUInt8::create(); | 493 | | | 494 | 121 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 495 | 121 | vec_res.resize(col_right->size()); | 496 | 121 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 497 | 121 | typename PrimitiveTypeTraits<PT>::CppType, | 498 | 121 | Op<PT>>::constant_vector(col_left->get_element(0), | 499 | 121 | col_right->get_data(), vec_res); | 500 | | | 501 | 121 | block.replace_by_position(result, std::move(col_res)); | 502 | 121 | } | 503 | 3.23k | return Status::OK(); | 504 | 3.23k | } |
_ZNK5doris18FunctionComparisonINS_6LessOpENS_8NameLessEE16execute_num_typeILNS_13PrimitiveTypeE6EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 460 | 1.74k | const ColumnPtr& col_right_ptr) const { | 461 | 1.74k | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 462 | 1.74k | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 463 | | | 464 | 1.74k | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 465 | 1.74k | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 466 | | | 467 | 1.74k | DCHECK(!(left_is_const && right_is_const)); | 468 | | | 469 | 1.74k | if (!left_is_const && !right_is_const) { | 470 | 228 | auto col_res = ColumnUInt8::create(); | 471 | | | 472 | 228 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 473 | 228 | vec_res.resize(col_left->get_data().size()); | 474 | 228 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 475 | 228 | typename PrimitiveTypeTraits<PT>::CppType, | 476 | 228 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 477 | 228 | vec_res); | 478 | | | 479 | 228 | block.replace_by_position(result, std::move(col_res)); | 480 | 1.52k | } else if (!left_is_const && right_is_const) { | 481 | 1.44k | auto col_res = ColumnUInt8::create(); | 482 | | | 483 | 1.44k | ColumnUInt8::Container& vec_res = col_res->get_data(); | 484 | 1.44k | vec_res.resize(col_left->size()); | 485 | 1.44k | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 486 | 1.44k | typename PrimitiveTypeTraits<PT>::CppType, | 487 | 1.44k | Op<PT>>::vector_constant(col_left->get_data(), | 488 | 1.44k | col_right->get_element(0), vec_res); | 489 | | | 490 | 1.44k | block.replace_by_position(result, std::move(col_res)); | 491 | 1.44k | } else if (left_is_const && !right_is_const) { | 492 | 80 | auto col_res = ColumnUInt8::create(); | 493 | | | 494 | 80 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 495 | 80 | vec_res.resize(col_right->size()); | 496 | 80 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 497 | 80 | typename PrimitiveTypeTraits<PT>::CppType, | 498 | 80 | Op<PT>>::constant_vector(col_left->get_element(0), | 499 | 80 | col_right->get_data(), vec_res); | 500 | | | 501 | 80 | block.replace_by_position(result, std::move(col_res)); | 502 | 80 | } | 503 | 1.74k | return Status::OK(); | 504 | 1.74k | } |
_ZNK5doris18FunctionComparisonINS_6LessOpENS_8NameLessEE16execute_num_typeILNS_13PrimitiveTypeE7EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 460 | 295 | const ColumnPtr& col_right_ptr) const { | 461 | 295 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 462 | 295 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 463 | | | 464 | 295 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 465 | 295 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 466 | | | 467 | 295 | DCHECK(!(left_is_const && right_is_const)); | 468 | | | 469 | 295 | if (!left_is_const && !right_is_const) { | 470 | 146 | auto col_res = ColumnUInt8::create(); | 471 | | | 472 | 146 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 473 | 146 | vec_res.resize(col_left->get_data().size()); | 474 | 146 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 475 | 146 | typename PrimitiveTypeTraits<PT>::CppType, | 476 | 146 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 477 | 146 | vec_res); | 478 | | | 479 | 146 | block.replace_by_position(result, std::move(col_res)); | 480 | 149 | } else if (!left_is_const && right_is_const) { | 481 | 61 | auto col_res = ColumnUInt8::create(); | 482 | | | 483 | 61 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 484 | 61 | vec_res.resize(col_left->size()); | 485 | 61 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 486 | 61 | typename PrimitiveTypeTraits<PT>::CppType, | 487 | 61 | Op<PT>>::vector_constant(col_left->get_data(), | 488 | 61 | col_right->get_element(0), vec_res); | 489 | | | 490 | 61 | block.replace_by_position(result, std::move(col_res)); | 491 | 88 | } else if (left_is_const && !right_is_const) { | 492 | 88 | auto col_res = ColumnUInt8::create(); | 493 | | | 494 | 88 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 495 | 88 | vec_res.resize(col_right->size()); | 496 | 88 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 497 | 88 | typename PrimitiveTypeTraits<PT>::CppType, | 498 | 88 | Op<PT>>::constant_vector(col_left->get_element(0), | 499 | 88 | col_right->get_data(), vec_res); | 500 | | | 501 | 88 | block.replace_by_position(result, std::move(col_res)); | 502 | 88 | } | 503 | 295 | return Status::OK(); | 504 | 295 | } |
_ZNK5doris18FunctionComparisonINS_6LessOpENS_8NameLessEE16execute_num_typeILNS_13PrimitiveTypeE36EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 460 | 18 | const ColumnPtr& col_right_ptr) const { | 461 | 18 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 462 | 18 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 463 | | | 464 | 18 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 465 | 18 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 466 | | | 467 | 18 | DCHECK(!(left_is_const && right_is_const)); | 468 | | | 469 | 18 | if (!left_is_const && !right_is_const) { | 470 | 16 | auto col_res = ColumnUInt8::create(); | 471 | | | 472 | 16 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 473 | 16 | vec_res.resize(col_left->get_data().size()); | 474 | 16 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 475 | 16 | typename PrimitiveTypeTraits<PT>::CppType, | 476 | 16 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 477 | 16 | vec_res); | 478 | | | 479 | 16 | block.replace_by_position(result, std::move(col_res)); | 480 | 16 | } else if (!left_is_const && right_is_const) { | 481 | 2 | auto col_res = ColumnUInt8::create(); | 482 | | | 483 | 2 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 484 | 2 | vec_res.resize(col_left->size()); | 485 | 2 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 486 | 2 | typename PrimitiveTypeTraits<PT>::CppType, | 487 | 2 | Op<PT>>::vector_constant(col_left->get_data(), | 488 | 2 | col_right->get_element(0), vec_res); | 489 | | | 490 | 2 | block.replace_by_position(result, std::move(col_res)); | 491 | 2 | } else if (left_is_const && !right_is_const) { | 492 | 0 | auto col_res = ColumnUInt8::create(); | 493 | |
| 494 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 495 | 0 | vec_res.resize(col_right->size()); | 496 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 497 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 498 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 499 | 0 | col_right->get_data(), vec_res); | 500 | |
| 501 | 0 | block.replace_by_position(result, std::move(col_res)); | 502 | 0 | } | 503 | 18 | return Status::OK(); | 504 | 18 | } |
_ZNK5doris18FunctionComparisonINS_6LessOpENS_8NameLessEE16execute_num_typeILNS_13PrimitiveTypeE37EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 460 | 16 | const ColumnPtr& col_right_ptr) const { | 461 | 16 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 462 | 16 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 463 | | | 464 | 16 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 465 | 16 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 466 | | | 467 | 16 | DCHECK(!(left_is_const && right_is_const)); | 468 | | | 469 | 16 | if (!left_is_const && !right_is_const) { | 470 | 16 | auto col_res = ColumnUInt8::create(); | 471 | | | 472 | 16 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 473 | 16 | vec_res.resize(col_left->get_data().size()); | 474 | 16 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 475 | 16 | typename PrimitiveTypeTraits<PT>::CppType, | 476 | 16 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 477 | 16 | vec_res); | 478 | | | 479 | 16 | block.replace_by_position(result, std::move(col_res)); | 480 | 16 | } else if (!left_is_const && right_is_const) { | 481 | 0 | auto col_res = ColumnUInt8::create(); | 482 | |
| 483 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 484 | 0 | vec_res.resize(col_left->size()); | 485 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 486 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 487 | 0 | Op<PT>>::vector_constant(col_left->get_data(), | 488 | 0 | col_right->get_element(0), vec_res); | 489 | |
| 490 | 0 | block.replace_by_position(result, std::move(col_res)); | 491 | 0 | } else if (left_is_const && !right_is_const) { | 492 | 0 | auto col_res = ColumnUInt8::create(); | 493 | |
| 494 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 495 | 0 | vec_res.resize(col_right->size()); | 496 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 497 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 498 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 499 | 0 | col_right->get_data(), vec_res); | 500 | |
| 501 | 0 | block.replace_by_position(result, std::move(col_res)); | 502 | 0 | } | 503 | 16 | return Status::OK(); | 504 | 16 | } |
_ZNK5doris18FunctionComparisonINS_6LessOpENS_8NameLessEE16execute_num_typeILNS_13PrimitiveTypeE8EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 460 | 180 | const ColumnPtr& col_right_ptr) const { | 461 | 180 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 462 | 180 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 463 | | | 464 | 180 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 465 | 180 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 466 | | | 467 | 180 | DCHECK(!(left_is_const && right_is_const)); | 468 | | | 469 | 180 | if (!left_is_const && !right_is_const) { | 470 | 152 | auto col_res = ColumnUInt8::create(); | 471 | | | 472 | 152 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 473 | 152 | vec_res.resize(col_left->get_data().size()); | 474 | 152 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 475 | 152 | typename PrimitiveTypeTraits<PT>::CppType, | 476 | 152 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 477 | 152 | vec_res); | 478 | | | 479 | 152 | block.replace_by_position(result, std::move(col_res)); | 480 | 152 | } else if (!left_is_const && right_is_const) { | 481 | 28 | auto col_res = ColumnUInt8::create(); | 482 | | | 483 | 28 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 484 | 28 | vec_res.resize(col_left->size()); | 485 | 28 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 486 | 28 | typename PrimitiveTypeTraits<PT>::CppType, | 487 | 28 | Op<PT>>::vector_constant(col_left->get_data(), | 488 | 28 | col_right->get_element(0), vec_res); | 489 | | | 490 | 28 | block.replace_by_position(result, std::move(col_res)); | 491 | 28 | } else if (left_is_const && !right_is_const) { | 492 | 0 | auto col_res = ColumnUInt8::create(); | 493 | |
| 494 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 495 | 0 | vec_res.resize(col_right->size()); | 496 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 497 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 498 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 499 | 0 | col_right->get_data(), vec_res); | 500 | |
| 501 | 0 | block.replace_by_position(result, std::move(col_res)); | 502 | 0 | } | 503 | 180 | return Status::OK(); | 504 | 180 | } |
_ZNK5doris18FunctionComparisonINS_6LessOpENS_8NameLessEE16execute_num_typeILNS_13PrimitiveTypeE9EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 460 | 370 | const ColumnPtr& col_right_ptr) const { | 461 | 370 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 462 | 370 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 463 | | | 464 | 370 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 465 | 370 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 466 | | | 467 | 370 | DCHECK(!(left_is_const && right_is_const)); | 468 | | | 469 | 370 | if (!left_is_const && !right_is_const) { | 470 | 150 | auto col_res = ColumnUInt8::create(); | 471 | | | 472 | 150 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 473 | 150 | vec_res.resize(col_left->get_data().size()); | 474 | 150 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 475 | 150 | typename PrimitiveTypeTraits<PT>::CppType, | 476 | 150 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 477 | 150 | vec_res); | 478 | | | 479 | 150 | block.replace_by_position(result, std::move(col_res)); | 480 | 220 | } else if (!left_is_const && right_is_const) { | 481 | 220 | auto col_res = ColumnUInt8::create(); | 482 | | | 483 | 220 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 484 | 220 | vec_res.resize(col_left->size()); | 485 | 220 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 486 | 220 | typename PrimitiveTypeTraits<PT>::CppType, | 487 | 220 | Op<PT>>::vector_constant(col_left->get_data(), | 488 | 220 | col_right->get_element(0), vec_res); | 489 | | | 490 | 220 | block.replace_by_position(result, std::move(col_res)); | 491 | 220 | } else if (left_is_const && !right_is_const) { | 492 | 0 | auto col_res = ColumnUInt8::create(); | 493 | |
| 494 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 495 | 0 | vec_res.resize(col_right->size()); | 496 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 497 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 498 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 499 | 0 | col_right->get_data(), vec_res); | 500 | |
| 501 | 0 | block.replace_by_position(result, std::move(col_res)); | 502 | 0 | } | 503 | 370 | return Status::OK(); | 504 | 370 | } |
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 | 460 | 183 | const ColumnPtr& col_right_ptr) const { | 461 | 183 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 462 | 183 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 463 | | | 464 | 183 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 465 | 183 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 466 | | | 467 | 183 | DCHECK(!(left_is_const && right_is_const)); | 468 | | | 469 | 183 | if (!left_is_const && !right_is_const) { | 470 | 84 | auto col_res = ColumnUInt8::create(); | 471 | | | 472 | 84 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 473 | 84 | vec_res.resize(col_left->get_data().size()); | 474 | 84 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 475 | 84 | typename PrimitiveTypeTraits<PT>::CppType, | 476 | 84 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 477 | 84 | vec_res); | 478 | | | 479 | 84 | block.replace_by_position(result, std::move(col_res)); | 480 | 99 | } else if (!left_is_const && right_is_const) { | 481 | 99 | auto col_res = ColumnUInt8::create(); | 482 | | | 483 | 99 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 484 | 99 | vec_res.resize(col_left->size()); | 485 | 99 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 486 | 99 | typename PrimitiveTypeTraits<PT>::CppType, | 487 | 99 | Op<PT>>::vector_constant(col_left->get_data(), | 488 | 99 | col_right->get_element(0), vec_res); | 489 | | | 490 | 99 | block.replace_by_position(result, std::move(col_res)); | 491 | 99 | } else if (left_is_const && !right_is_const) { | 492 | 0 | auto col_res = ColumnUInt8::create(); | 493 | |
| 494 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 495 | 0 | vec_res.resize(col_right->size()); | 496 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 497 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 498 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 499 | 0 | col_right->get_data(), vec_res); | 500 | |
| 501 | 0 | block.replace_by_position(result, std::move(col_res)); | 502 | 0 | } | 503 | 183 | return Status::OK(); | 504 | 183 | } |
_ZNK5doris18FunctionComparisonINS_14LessOrEqualsOpENS_16NameLessOrEqualsEE16execute_num_typeILNS_13PrimitiveTypeE25EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 460 | 6.74k | const ColumnPtr& col_right_ptr) const { | 461 | 6.74k | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 462 | 6.74k | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 463 | | | 464 | 6.74k | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 465 | 6.74k | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 466 | | | 467 | 6.74k | DCHECK(!(left_is_const && right_is_const)); | 468 | | | 469 | 6.74k | if (!left_is_const && !right_is_const) { | 470 | 517 | auto col_res = ColumnUInt8::create(); | 471 | | | 472 | 517 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 473 | 517 | vec_res.resize(col_left->get_data().size()); | 474 | 517 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 475 | 517 | typename PrimitiveTypeTraits<PT>::CppType, | 476 | 517 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 477 | 517 | vec_res); | 478 | | | 479 | 517 | block.replace_by_position(result, std::move(col_res)); | 480 | 6.22k | } else if (!left_is_const && right_is_const) { | 481 | 6.21k | auto col_res = ColumnUInt8::create(); | 482 | | | 483 | 6.21k | ColumnUInt8::Container& vec_res = col_res->get_data(); | 484 | 6.21k | vec_res.resize(col_left->size()); | 485 | 6.21k | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 486 | 6.21k | typename PrimitiveTypeTraits<PT>::CppType, | 487 | 6.21k | Op<PT>>::vector_constant(col_left->get_data(), | 488 | 6.21k | col_right->get_element(0), vec_res); | 489 | | | 490 | 6.21k | block.replace_by_position(result, std::move(col_res)); | 491 | 6.21k | } else if (left_is_const && !right_is_const) { | 492 | 5 | auto col_res = ColumnUInt8::create(); | 493 | | | 494 | 5 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 495 | 5 | vec_res.resize(col_right->size()); | 496 | 5 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 497 | 5 | typename PrimitiveTypeTraits<PT>::CppType, | 498 | 5 | Op<PT>>::constant_vector(col_left->get_element(0), | 499 | 5 | col_right->get_data(), vec_res); | 500 | | | 501 | 5 | block.replace_by_position(result, std::move(col_res)); | 502 | 5 | } | 503 | 6.74k | return Status::OK(); | 504 | 6.74k | } |
_ZNK5doris18FunctionComparisonINS_14LessOrEqualsOpENS_16NameLessOrEqualsEE16execute_num_typeILNS_13PrimitiveTypeE26EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 460 | 404 | const ColumnPtr& col_right_ptr) const { | 461 | 404 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 462 | 404 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 463 | | | 464 | 404 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 465 | 404 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 466 | | | 467 | 404 | DCHECK(!(left_is_const && right_is_const)); | 468 | | | 469 | 404 | if (!left_is_const && !right_is_const) { | 470 | 180 | auto col_res = ColumnUInt8::create(); | 471 | | | 472 | 180 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 473 | 180 | vec_res.resize(col_left->get_data().size()); | 474 | 180 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 475 | 180 | typename PrimitiveTypeTraits<PT>::CppType, | 476 | 180 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 477 | 180 | vec_res); | 478 | | | 479 | 180 | block.replace_by_position(result, std::move(col_res)); | 480 | 224 | } else if (!left_is_const && right_is_const) { | 481 | 224 | auto col_res = ColumnUInt8::create(); | 482 | | | 483 | 224 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 484 | 224 | vec_res.resize(col_left->size()); | 485 | 224 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 486 | 224 | typename PrimitiveTypeTraits<PT>::CppType, | 487 | 224 | Op<PT>>::vector_constant(col_left->get_data(), | 488 | 224 | col_right->get_element(0), vec_res); | 489 | | | 490 | 224 | block.replace_by_position(result, std::move(col_res)); | 491 | 224 | } else if (left_is_const && !right_is_const) { | 492 | 0 | auto col_res = ColumnUInt8::create(); | 493 | |
| 494 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 495 | 0 | vec_res.resize(col_right->size()); | 496 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 497 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 498 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 499 | 0 | col_right->get_data(), vec_res); | 500 | |
| 501 | 0 | block.replace_by_position(result, std::move(col_res)); | 502 | 0 | } | 503 | 404 | return Status::OK(); | 504 | 404 | } |
_ZNK5doris18FunctionComparisonINS_14LessOrEqualsOpENS_16NameLessOrEqualsEE16execute_num_typeILNS_13PrimitiveTypeE42EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 460 | 1 | const ColumnPtr& col_right_ptr) const { | 461 | 1 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 462 | 1 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 463 | | | 464 | 1 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 465 | 1 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 466 | | | 467 | 1 | DCHECK(!(left_is_const && right_is_const)); | 468 | | | 469 | 1 | if (!left_is_const && !right_is_const) { | 470 | 1 | auto col_res = ColumnUInt8::create(); | 471 | | | 472 | 1 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 473 | 1 | vec_res.resize(col_left->get_data().size()); | 474 | 1 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 475 | 1 | typename PrimitiveTypeTraits<PT>::CppType, | 476 | 1 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 477 | 1 | vec_res); | 478 | | | 479 | 1 | block.replace_by_position(result, std::move(col_res)); | 480 | 1 | } else if (!left_is_const && right_is_const) { | 481 | 0 | auto col_res = ColumnUInt8::create(); | 482 | |
| 483 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 484 | 0 | vec_res.resize(col_left->size()); | 485 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 486 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 487 | 0 | Op<PT>>::vector_constant(col_left->get_data(), | 488 | 0 | col_right->get_element(0), vec_res); | 489 | |
| 490 | 0 | block.replace_by_position(result, std::move(col_res)); | 491 | 0 | } else if (left_is_const && !right_is_const) { | 492 | 0 | auto col_res = ColumnUInt8::create(); | 493 | |
| 494 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 495 | 0 | vec_res.resize(col_right->size()); | 496 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 497 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 498 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 499 | 0 | col_right->get_data(), vec_res); | 500 | |
| 501 | 0 | block.replace_by_position(result, std::move(col_res)); | 502 | 0 | } | 503 | 1 | return Status::OK(); | 504 | 1 | } |
_ZNK5doris18FunctionComparisonINS_14LessOrEqualsOpENS_16NameLessOrEqualsEE16execute_num_typeILNS_13PrimitiveTypeE3EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 460 | 67 | const ColumnPtr& col_right_ptr) const { | 461 | 67 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 462 | 67 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 463 | | | 464 | 67 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 465 | 67 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 466 | | | 467 | 67 | DCHECK(!(left_is_const && right_is_const)); | 468 | | | 469 | 67 | if (!left_is_const && !right_is_const) { | 470 | 1 | auto col_res = ColumnUInt8::create(); | 471 | | | 472 | 1 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 473 | 1 | vec_res.resize(col_left->get_data().size()); | 474 | 1 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 475 | 1 | typename PrimitiveTypeTraits<PT>::CppType, | 476 | 1 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 477 | 1 | vec_res); | 478 | | | 479 | 1 | block.replace_by_position(result, std::move(col_res)); | 480 | 66 | } else if (!left_is_const && right_is_const) { | 481 | 66 | auto col_res = ColumnUInt8::create(); | 482 | | | 483 | 66 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 484 | 66 | vec_res.resize(col_left->size()); | 485 | 66 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 486 | 66 | typename PrimitiveTypeTraits<PT>::CppType, | 487 | 66 | Op<PT>>::vector_constant(col_left->get_data(), | 488 | 66 | col_right->get_element(0), vec_res); | 489 | | | 490 | 66 | block.replace_by_position(result, std::move(col_res)); | 491 | 66 | } else if (left_is_const && !right_is_const) { | 492 | 0 | auto col_res = ColumnUInt8::create(); | 493 | |
| 494 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 495 | 0 | vec_res.resize(col_right->size()); | 496 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 497 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 498 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 499 | 0 | col_right->get_data(), vec_res); | 500 | |
| 501 | 0 | block.replace_by_position(result, std::move(col_res)); | 502 | 0 | } | 503 | 67 | return Status::OK(); | 504 | 67 | } |
_ZNK5doris18FunctionComparisonINS_14LessOrEqualsOpENS_16NameLessOrEqualsEE16execute_num_typeILNS_13PrimitiveTypeE4EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 460 | 82 | const ColumnPtr& col_right_ptr) const { | 461 | 82 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 462 | 82 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 463 | | | 464 | 82 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 465 | 82 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 466 | | | 467 | 82 | DCHECK(!(left_is_const && right_is_const)); | 468 | | | 469 | 82 | if (!left_is_const && !right_is_const) { | 470 | 0 | auto col_res = ColumnUInt8::create(); | 471 | |
| 472 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 473 | 0 | vec_res.resize(col_left->get_data().size()); | 474 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 475 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 476 | 0 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 477 | 0 | vec_res); | 478 | |
| 479 | 0 | block.replace_by_position(result, std::move(col_res)); | 480 | 82 | } else if (!left_is_const && right_is_const) { | 481 | 82 | auto col_res = ColumnUInt8::create(); | 482 | | | 483 | 82 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 484 | 82 | vec_res.resize(col_left->size()); | 485 | 82 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 486 | 82 | typename PrimitiveTypeTraits<PT>::CppType, | 487 | 82 | Op<PT>>::vector_constant(col_left->get_data(), | 488 | 82 | col_right->get_element(0), vec_res); | 489 | | | 490 | 82 | block.replace_by_position(result, std::move(col_res)); | 491 | 82 | } else if (left_is_const && !right_is_const) { | 492 | 0 | auto col_res = ColumnUInt8::create(); | 493 | |
| 494 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 495 | 0 | vec_res.resize(col_right->size()); | 496 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 497 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 498 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 499 | 0 | col_right->get_data(), vec_res); | 500 | |
| 501 | 0 | block.replace_by_position(result, std::move(col_res)); | 502 | 0 | } | 503 | 82 | return Status::OK(); | 504 | 82 | } |
_ZNK5doris18FunctionComparisonINS_14LessOrEqualsOpENS_16NameLessOrEqualsEE16execute_num_typeILNS_13PrimitiveTypeE5EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 460 | 24.9k | const ColumnPtr& col_right_ptr) const { | 461 | 24.9k | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 462 | 24.9k | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 463 | | | 464 | 24.9k | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 465 | 24.9k | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 466 | | | 467 | 24.9k | DCHECK(!(left_is_const && right_is_const)); | 468 | | | 469 | 24.9k | if (!left_is_const && !right_is_const) { | 470 | 118 | auto col_res = ColumnUInt8::create(); | 471 | | | 472 | 118 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 473 | 118 | vec_res.resize(col_left->get_data().size()); | 474 | 118 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 475 | 118 | typename PrimitiveTypeTraits<PT>::CppType, | 476 | 118 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 477 | 118 | vec_res); | 478 | | | 479 | 118 | block.replace_by_position(result, std::move(col_res)); | 480 | 24.8k | } else if (!left_is_const && right_is_const) { | 481 | 24.2k | auto col_res = ColumnUInt8::create(); | 482 | | | 483 | 24.2k | ColumnUInt8::Container& vec_res = col_res->get_data(); | 484 | 24.2k | vec_res.resize(col_left->size()); | 485 | 24.2k | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 486 | 24.2k | typename PrimitiveTypeTraits<PT>::CppType, | 487 | 24.2k | Op<PT>>::vector_constant(col_left->get_data(), | 488 | 24.2k | col_right->get_element(0), vec_res); | 489 | | | 490 | 24.2k | block.replace_by_position(result, std::move(col_res)); | 491 | 24.2k | } else if (left_is_const && !right_is_const) { | 492 | 575 | auto col_res = ColumnUInt8::create(); | 493 | | | 494 | 575 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 495 | 575 | vec_res.resize(col_right->size()); | 496 | 575 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 497 | 575 | typename PrimitiveTypeTraits<PT>::CppType, | 498 | 575 | Op<PT>>::constant_vector(col_left->get_element(0), | 499 | 575 | col_right->get_data(), vec_res); | 500 | | | 501 | 575 | block.replace_by_position(result, std::move(col_res)); | 502 | 575 | } | 503 | 24.9k | return Status::OK(); | 504 | 24.9k | } |
_ZNK5doris18FunctionComparisonINS_14LessOrEqualsOpENS_16NameLessOrEqualsEE16execute_num_typeILNS_13PrimitiveTypeE6EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 460 | 977 | const ColumnPtr& col_right_ptr) const { | 461 | 977 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 462 | 977 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 463 | | | 464 | 977 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 465 | 977 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 466 | | | 467 | 977 | DCHECK(!(left_is_const && right_is_const)); | 468 | | | 469 | 977 | if (!left_is_const && !right_is_const) { | 470 | 129 | auto col_res = ColumnUInt8::create(); | 471 | | | 472 | 129 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 473 | 129 | vec_res.resize(col_left->get_data().size()); | 474 | 129 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 475 | 129 | typename PrimitiveTypeTraits<PT>::CppType, | 476 | 129 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 477 | 129 | vec_res); | 478 | | | 479 | 129 | block.replace_by_position(result, std::move(col_res)); | 480 | 848 | } else if (!left_is_const && right_is_const) { | 481 | 800 | auto col_res = ColumnUInt8::create(); | 482 | | | 483 | 800 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 484 | 800 | vec_res.resize(col_left->size()); | 485 | 800 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 486 | 800 | typename PrimitiveTypeTraits<PT>::CppType, | 487 | 800 | Op<PT>>::vector_constant(col_left->get_data(), | 488 | 800 | col_right->get_element(0), vec_res); | 489 | | | 490 | 800 | block.replace_by_position(result, std::move(col_res)); | 491 | 800 | } else if (left_is_const && !right_is_const) { | 492 | 48 | auto col_res = ColumnUInt8::create(); | 493 | | | 494 | 48 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 495 | 48 | vec_res.resize(col_right->size()); | 496 | 48 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 497 | 48 | typename PrimitiveTypeTraits<PT>::CppType, | 498 | 48 | Op<PT>>::constant_vector(col_left->get_element(0), | 499 | 48 | col_right->get_data(), vec_res); | 500 | | | 501 | 48 | block.replace_by_position(result, std::move(col_res)); | 502 | 48 | } | 503 | 977 | return Status::OK(); | 504 | 977 | } |
_ZNK5doris18FunctionComparisonINS_14LessOrEqualsOpENS_16NameLessOrEqualsEE16execute_num_typeILNS_13PrimitiveTypeE7EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 460 | 59 | const ColumnPtr& col_right_ptr) const { | 461 | 59 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 462 | 59 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 463 | | | 464 | 59 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 465 | 59 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 466 | | | 467 | 59 | DCHECK(!(left_is_const && right_is_const)); | 468 | | | 469 | 59 | if (!left_is_const && !right_is_const) { | 470 | 0 | auto col_res = ColumnUInt8::create(); | 471 | |
| 472 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 473 | 0 | vec_res.resize(col_left->get_data().size()); | 474 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 475 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 476 | 0 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 477 | 0 | vec_res); | 478 | |
| 479 | 0 | block.replace_by_position(result, std::move(col_res)); | 480 | 59 | } else if (!left_is_const && right_is_const) { | 481 | 59 | auto col_res = ColumnUInt8::create(); | 482 | | | 483 | 59 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 484 | 59 | vec_res.resize(col_left->size()); | 485 | 59 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 486 | 59 | typename PrimitiveTypeTraits<PT>::CppType, | 487 | 59 | Op<PT>>::vector_constant(col_left->get_data(), | 488 | 59 | col_right->get_element(0), vec_res); | 489 | | | 490 | 59 | block.replace_by_position(result, std::move(col_res)); | 491 | 59 | } else if (left_is_const && !right_is_const) { | 492 | 0 | auto col_res = ColumnUInt8::create(); | 493 | |
| 494 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 495 | 0 | vec_res.resize(col_right->size()); | 496 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 497 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 498 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 499 | 0 | col_right->get_data(), vec_res); | 500 | |
| 501 | 0 | block.replace_by_position(result, std::move(col_res)); | 502 | 0 | } | 503 | 59 | return Status::OK(); | 504 | 59 | } |
_ZNK5doris18FunctionComparisonINS_14LessOrEqualsOpENS_16NameLessOrEqualsEE16execute_num_typeILNS_13PrimitiveTypeE36EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 460 | 10 | const ColumnPtr& col_right_ptr) const { | 461 | 10 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 462 | 10 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 463 | | | 464 | 10 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 465 | 10 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 466 | | | 467 | 10 | DCHECK(!(left_is_const && right_is_const)); | 468 | | | 469 | 10 | if (!left_is_const && !right_is_const) { | 470 | 0 | auto col_res = ColumnUInt8::create(); | 471 | |
| 472 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 473 | 0 | vec_res.resize(col_left->get_data().size()); | 474 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 475 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 476 | 0 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 477 | 0 | vec_res); | 478 | |
| 479 | 0 | block.replace_by_position(result, std::move(col_res)); | 480 | 10 | } else if (!left_is_const && right_is_const) { | 481 | 10 | auto col_res = ColumnUInt8::create(); | 482 | | | 483 | 10 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 484 | 10 | vec_res.resize(col_left->size()); | 485 | 10 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 486 | 10 | typename PrimitiveTypeTraits<PT>::CppType, | 487 | 10 | Op<PT>>::vector_constant(col_left->get_data(), | 488 | 10 | col_right->get_element(0), vec_res); | 489 | | | 490 | 10 | block.replace_by_position(result, std::move(col_res)); | 491 | 10 | } else if (left_is_const && !right_is_const) { | 492 | 0 | auto col_res = ColumnUInt8::create(); | 493 | |
| 494 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 495 | 0 | vec_res.resize(col_right->size()); | 496 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 497 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 498 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 499 | 0 | col_right->get_data(), vec_res); | 500 | |
| 501 | 0 | block.replace_by_position(result, std::move(col_res)); | 502 | 0 | } | 503 | 10 | return Status::OK(); | 504 | 10 | } |
Unexecuted instantiation: _ZNK5doris18FunctionComparisonINS_14LessOrEqualsOpENS_16NameLessOrEqualsEE16execute_num_typeILNS_13PrimitiveTypeE37EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ _ZNK5doris18FunctionComparisonINS_14LessOrEqualsOpENS_16NameLessOrEqualsEE16execute_num_typeILNS_13PrimitiveTypeE8EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 460 | 216 | const ColumnPtr& col_right_ptr) const { | 461 | 216 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 462 | 216 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 463 | | | 464 | 216 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 465 | 216 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 466 | | | 467 | 216 | DCHECK(!(left_is_const && right_is_const)); | 468 | | | 469 | 216 | if (!left_is_const && !right_is_const) { | 470 | 140 | auto col_res = ColumnUInt8::create(); | 471 | | | 472 | 140 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 473 | 140 | vec_res.resize(col_left->get_data().size()); | 474 | 140 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 475 | 140 | typename PrimitiveTypeTraits<PT>::CppType, | 476 | 140 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 477 | 140 | vec_res); | 478 | | | 479 | 140 | block.replace_by_position(result, std::move(col_res)); | 480 | 140 | } else if (!left_is_const && right_is_const) { | 481 | 76 | auto col_res = ColumnUInt8::create(); | 482 | | | 483 | 76 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 484 | 76 | vec_res.resize(col_left->size()); | 485 | 76 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 486 | 76 | typename PrimitiveTypeTraits<PT>::CppType, | 487 | 76 | Op<PT>>::vector_constant(col_left->get_data(), | 488 | 76 | col_right->get_element(0), vec_res); | 489 | | | 490 | 76 | block.replace_by_position(result, std::move(col_res)); | 491 | 76 | } else if (left_is_const && !right_is_const) { | 492 | 0 | auto col_res = ColumnUInt8::create(); | 493 | |
| 494 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 495 | 0 | vec_res.resize(col_right->size()); | 496 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 497 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 498 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 499 | 0 | col_right->get_data(), vec_res); | 500 | |
| 501 | 0 | block.replace_by_position(result, std::move(col_res)); | 502 | 0 | } | 503 | 216 | return Status::OK(); | 504 | 216 | } |
_ZNK5doris18FunctionComparisonINS_14LessOrEqualsOpENS_16NameLessOrEqualsEE16execute_num_typeILNS_13PrimitiveTypeE9EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 460 | 134 | const ColumnPtr& col_right_ptr) const { | 461 | 134 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 462 | 134 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 463 | | | 464 | 134 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 465 | 134 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 466 | | | 467 | 134 | DCHECK(!(left_is_const && right_is_const)); | 468 | | | 469 | 134 | if (!left_is_const && !right_is_const) { | 470 | 20 | auto col_res = ColumnUInt8::create(); | 471 | | | 472 | 20 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 473 | 20 | vec_res.resize(col_left->get_data().size()); | 474 | 20 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 475 | 20 | typename PrimitiveTypeTraits<PT>::CppType, | 476 | 20 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 477 | 20 | vec_res); | 478 | | | 479 | 20 | block.replace_by_position(result, std::move(col_res)); | 480 | 114 | } else if (!left_is_const && right_is_const) { | 481 | 113 | auto col_res = ColumnUInt8::create(); | 482 | | | 483 | 113 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 484 | 113 | vec_res.resize(col_left->size()); | 485 | 113 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 486 | 113 | typename PrimitiveTypeTraits<PT>::CppType, | 487 | 113 | Op<PT>>::vector_constant(col_left->get_data(), | 488 | 113 | col_right->get_element(0), vec_res); | 489 | | | 490 | 113 | block.replace_by_position(result, std::move(col_res)); | 491 | 113 | } else if (left_is_const && !right_is_const) { | 492 | 1 | auto col_res = ColumnUInt8::create(); | 493 | | | 494 | 1 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 495 | 1 | vec_res.resize(col_right->size()); | 496 | 1 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 497 | 1 | typename PrimitiveTypeTraits<PT>::CppType, | 498 | 1 | Op<PT>>::constant_vector(col_left->get_element(0), | 499 | 1 | col_right->get_data(), vec_res); | 500 | | | 501 | 1 | block.replace_by_position(result, std::move(col_res)); | 502 | 1 | } | 503 | 134 | return Status::OK(); | 504 | 134 | } |
Unexecuted instantiation: _ZNK5doris18FunctionComparisonINS_14LessOrEqualsOpENS_16NameLessOrEqualsEE16execute_num_typeILNS_13PrimitiveTypeE27EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ |
505 | | |
506 | | Status execute_decimal(Block& block, uint32_t result, const ColumnWithTypeAndName& col_left, |
507 | 12.9k | const ColumnWithTypeAndName& col_right) const { |
508 | 12.9k | auto call = [&](const auto& type) -> bool { |
509 | 12.9k | using DispatchType = std::decay_t<decltype(type)>; |
510 | 12.9k | DecimalComparison<DispatchType::PType, DispatchType::PType, Op, false>( |
511 | 12.9k | block, result, col_left, col_right); |
512 | 12.9k | return true; |
513 | 12.9k | }; _ZZNK5doris18FunctionComparisonINS_8EqualsOpENS_10NameEqualsEE15execute_decimalERNS_5BlockEjRKNS_21ColumnWithTypeAndNameES8_ENKUlRKT_E_clINS_16DispatchDataTypeILNS_13PrimitiveTypeE28EEEEEbSB_ Line | Count | Source | 508 | 259 | auto call = [&](const auto& type) -> bool { | 509 | 259 | using DispatchType = std::decay_t<decltype(type)>; | 510 | 259 | DecimalComparison<DispatchType::PType, DispatchType::PType, Op, false>( | 511 | 259 | block, result, col_left, col_right); | 512 | 259 | return true; | 513 | 259 | }; |
_ZZNK5doris18FunctionComparisonINS_8EqualsOpENS_10NameEqualsEE15execute_decimalERNS_5BlockEjRKNS_21ColumnWithTypeAndNameES8_ENKUlRKT_E_clINS_16DispatchDataTypeILNS_13PrimitiveTypeE29EEEEEbSB_ Line | Count | Source | 508 | 252 | auto call = [&](const auto& type) -> bool { | 509 | 252 | using DispatchType = std::decay_t<decltype(type)>; | 510 | 252 | DecimalComparison<DispatchType::PType, DispatchType::PType, Op, false>( | 511 | 252 | block, result, col_left, col_right); | 512 | 252 | return true; | 513 | 252 | }; |
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 | 508 | 1.14k | auto call = [&](const auto& type) -> bool { | 509 | 1.14k | using DispatchType = std::decay_t<decltype(type)>; | 510 | 1.14k | DecimalComparison<DispatchType::PType, DispatchType::PType, Op, false>( | 511 | 1.14k | block, result, col_left, col_right); | 512 | 1.14k | return true; | 513 | 1.14k | }; |
_ZZNK5doris18FunctionComparisonINS_8EqualsOpENS_10NameEqualsEE15execute_decimalERNS_5BlockEjRKNS_21ColumnWithTypeAndNameES8_ENKUlRKT_E_clINS_16DispatchDataTypeILNS_13PrimitiveTypeE35EEEEEbSB_ Line | Count | Source | 508 | 30 | auto call = [&](const auto& type) -> bool { | 509 | 30 | using DispatchType = std::decay_t<decltype(type)>; | 510 | 30 | DecimalComparison<DispatchType::PType, DispatchType::PType, Op, false>( | 511 | 30 | block, result, col_left, col_right); | 512 | 30 | return true; | 513 | 30 | }; |
Unexecuted instantiation: _ZZNK5doris18FunctionComparisonINS_11NotEqualsOpENS_13NameNotEqualsEE15execute_decimalERNS_5BlockEjRKNS_21ColumnWithTypeAndNameES8_ENKUlRKT_E_clINS_16DispatchDataTypeILNS_13PrimitiveTypeE28EEEEEbSB_ _ZZNK5doris18FunctionComparisonINS_11NotEqualsOpENS_13NameNotEqualsEE15execute_decimalERNS_5BlockEjRKNS_21ColumnWithTypeAndNameES8_ENKUlRKT_E_clINS_16DispatchDataTypeILNS_13PrimitiveTypeE29EEEEEbSB_ Line | Count | Source | 508 | 64 | auto call = [&](const auto& type) -> bool { | 509 | 64 | using DispatchType = std::decay_t<decltype(type)>; | 510 | 64 | DecimalComparison<DispatchType::PType, DispatchType::PType, Op, false>( | 511 | 64 | block, result, col_left, col_right); | 512 | 64 | return true; | 513 | 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 | 508 | 324 | auto call = [&](const auto& type) -> bool { | 509 | 324 | using DispatchType = std::decay_t<decltype(type)>; | 510 | 324 | DecimalComparison<DispatchType::PType, DispatchType::PType, Op, false>( | 511 | 324 | block, result, col_left, col_right); | 512 | 324 | return true; | 513 | 324 | }; |
_ZZNK5doris18FunctionComparisonINS_11NotEqualsOpENS_13NameNotEqualsEE15execute_decimalERNS_5BlockEjRKNS_21ColumnWithTypeAndNameES8_ENKUlRKT_E_clINS_16DispatchDataTypeILNS_13PrimitiveTypeE35EEEEEbSB_ Line | Count | Source | 508 | 30 | auto call = [&](const auto& type) -> bool { | 509 | 30 | using DispatchType = std::decay_t<decltype(type)>; | 510 | 30 | DecimalComparison<DispatchType::PType, DispatchType::PType, Op, false>( | 511 | 30 | block, result, col_left, col_right); | 512 | 30 | return true; | 513 | 30 | }; |
_ZZNK5doris18FunctionComparisonINS_9GreaterOpENS_11NameGreaterEE15execute_decimalERNS_5BlockEjRKNS_21ColumnWithTypeAndNameES8_ENKUlRKT_E_clINS_16DispatchDataTypeILNS_13PrimitiveTypeE28EEEEEbSB_ Line | Count | Source | 508 | 46 | auto call = [&](const auto& type) -> bool { | 509 | 46 | using DispatchType = std::decay_t<decltype(type)>; | 510 | 46 | DecimalComparison<DispatchType::PType, DispatchType::PType, Op, false>( | 511 | 46 | block, result, col_left, col_right); | 512 | 46 | return true; | 513 | 46 | }; |
_ZZNK5doris18FunctionComparisonINS_9GreaterOpENS_11NameGreaterEE15execute_decimalERNS_5BlockEjRKNS_21ColumnWithTypeAndNameES8_ENKUlRKT_E_clINS_16DispatchDataTypeILNS_13PrimitiveTypeE29EEEEEbSB_ Line | Count | Source | 508 | 5.03k | auto call = [&](const auto& type) -> bool { | 509 | 5.03k | using DispatchType = std::decay_t<decltype(type)>; | 510 | 5.03k | DecimalComparison<DispatchType::PType, DispatchType::PType, Op, false>( | 511 | 5.03k | block, result, col_left, col_right); | 512 | 5.03k | return true; | 513 | 5.03k | }; |
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 | 508 | 1.45k | auto call = [&](const auto& type) -> bool { | 509 | 1.45k | using DispatchType = std::decay_t<decltype(type)>; | 510 | 1.45k | DecimalComparison<DispatchType::PType, DispatchType::PType, Op, false>( | 511 | 1.45k | block, result, col_left, col_right); | 512 | 1.45k | return true; | 513 | 1.45k | }; |
_ZZNK5doris18FunctionComparisonINS_9GreaterOpENS_11NameGreaterEE15execute_decimalERNS_5BlockEjRKNS_21ColumnWithTypeAndNameES8_ENKUlRKT_E_clINS_16DispatchDataTypeILNS_13PrimitiveTypeE35EEEEEbSB_ Line | Count | Source | 508 | 2 | auto call = [&](const auto& type) -> bool { | 509 | 2 | using DispatchType = std::decay_t<decltype(type)>; | 510 | 2 | DecimalComparison<DispatchType::PType, DispatchType::PType, Op, false>( | 511 | 2 | block, result, col_left, col_right); | 512 | 2 | return true; | 513 | 2 | }; |
_ZZNK5doris18FunctionComparisonINS_17GreaterOrEqualsOpENS_19NameGreaterOrEqualsEE15execute_decimalERNS_5BlockEjRKNS_21ColumnWithTypeAndNameES8_ENKUlRKT_E_clINS_16DispatchDataTypeILNS_13PrimitiveTypeE28EEEEEbSB_ Line | Count | Source | 508 | 9 | auto call = [&](const auto& type) -> bool { | 509 | 9 | using DispatchType = std::decay_t<decltype(type)>; | 510 | 9 | DecimalComparison<DispatchType::PType, DispatchType::PType, Op, false>( | 511 | 9 | block, result, col_left, col_right); | 512 | 9 | return true; | 513 | 9 | }; |
_ZZNK5doris18FunctionComparisonINS_17GreaterOrEqualsOpENS_19NameGreaterOrEqualsEE15execute_decimalERNS_5BlockEjRKNS_21ColumnWithTypeAndNameES8_ENKUlRKT_E_clINS_16DispatchDataTypeILNS_13PrimitiveTypeE29EEEEEbSB_ Line | Count | Source | 508 | 286 | auto call = [&](const auto& type) -> bool { | 509 | 286 | using DispatchType = std::decay_t<decltype(type)>; | 510 | 286 | DecimalComparison<DispatchType::PType, DispatchType::PType, Op, false>( | 511 | 286 | block, result, col_left, col_right); | 512 | 286 | return true; | 513 | 286 | }; |
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 | 508 | 76 | auto call = [&](const auto& type) -> bool { | 509 | 76 | using DispatchType = std::decay_t<decltype(type)>; | 510 | 76 | DecimalComparison<DispatchType::PType, DispatchType::PType, Op, false>( | 511 | 76 | block, result, col_left, col_right); | 512 | 76 | return true; | 513 | 76 | }; |
_ZZNK5doris18FunctionComparisonINS_17GreaterOrEqualsOpENS_19NameGreaterOrEqualsEE15execute_decimalERNS_5BlockEjRKNS_21ColumnWithTypeAndNameES8_ENKUlRKT_E_clINS_16DispatchDataTypeILNS_13PrimitiveTypeE35EEEEEbSB_ Line | Count | Source | 508 | 21 | auto call = [&](const auto& type) -> bool { | 509 | 21 | using DispatchType = std::decay_t<decltype(type)>; | 510 | 21 | DecimalComparison<DispatchType::PType, DispatchType::PType, Op, false>( | 511 | 21 | block, result, col_left, col_right); | 512 | 21 | return true; | 513 | 21 | }; |
_ZZNK5doris18FunctionComparisonINS_6LessOpENS_8NameLessEE15execute_decimalERNS_5BlockEjRKNS_21ColumnWithTypeAndNameES8_ENKUlRKT_E_clINS_16DispatchDataTypeILNS_13PrimitiveTypeE28EEEEEbSB_ Line | Count | Source | 508 | 194 | auto call = [&](const auto& type) -> bool { | 509 | 194 | using DispatchType = std::decay_t<decltype(type)>; | 510 | 194 | DecimalComparison<DispatchType::PType, DispatchType::PType, Op, false>( | 511 | 194 | block, result, col_left, col_right); | 512 | 194 | return true; | 513 | 194 | }; |
_ZZNK5doris18FunctionComparisonINS_6LessOpENS_8NameLessEE15execute_decimalERNS_5BlockEjRKNS_21ColumnWithTypeAndNameES8_ENKUlRKT_E_clINS_16DispatchDataTypeILNS_13PrimitiveTypeE29EEEEEbSB_ Line | Count | Source | 508 | 239 | auto call = [&](const auto& type) -> bool { | 509 | 239 | using DispatchType = std::decay_t<decltype(type)>; | 510 | 239 | DecimalComparison<DispatchType::PType, DispatchType::PType, Op, false>( | 511 | 239 | block, result, col_left, col_right); | 512 | 239 | return true; | 513 | 239 | }; |
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 | 508 | 464 | auto call = [&](const auto& type) -> bool { | 509 | 464 | using DispatchType = std::decay_t<decltype(type)>; | 510 | 464 | DecimalComparison<DispatchType::PType, DispatchType::PType, Op, false>( | 511 | 464 | block, result, col_left, col_right); | 512 | 464 | return true; | 513 | 464 | }; |
_ZZNK5doris18FunctionComparisonINS_6LessOpENS_8NameLessEE15execute_decimalERNS_5BlockEjRKNS_21ColumnWithTypeAndNameES8_ENKUlRKT_E_clINS_16DispatchDataTypeILNS_13PrimitiveTypeE35EEEEEbSB_ Line | Count | Source | 508 | 1 | auto call = [&](const auto& type) -> bool { | 509 | 1 | using DispatchType = std::decay_t<decltype(type)>; | 510 | 1 | DecimalComparison<DispatchType::PType, DispatchType::PType, Op, false>( | 511 | 1 | block, result, col_left, col_right); | 512 | 1 | return true; | 513 | 1 | }; |
_ZZNK5doris18FunctionComparisonINS_14LessOrEqualsOpENS_16NameLessOrEqualsEE15execute_decimalERNS_5BlockEjRKNS_21ColumnWithTypeAndNameES8_ENKUlRKT_E_clINS_16DispatchDataTypeILNS_13PrimitiveTypeE28EEEEEbSB_ Line | Count | Source | 508 | 4 | auto call = [&](const auto& type) -> bool { | 509 | 4 | using DispatchType = std::decay_t<decltype(type)>; | 510 | 4 | DecimalComparison<DispatchType::PType, DispatchType::PType, Op, false>( | 511 | 4 | block, result, col_left, col_right); | 512 | 4 | return true; | 513 | 4 | }; |
_ZZNK5doris18FunctionComparisonINS_14LessOrEqualsOpENS_16NameLessOrEqualsEE15execute_decimalERNS_5BlockEjRKNS_21ColumnWithTypeAndNameES8_ENKUlRKT_E_clINS_16DispatchDataTypeILNS_13PrimitiveTypeE29EEEEEbSB_ Line | Count | Source | 508 | 2.07k | auto call = [&](const auto& type) -> bool { | 509 | 2.07k | using DispatchType = std::decay_t<decltype(type)>; | 510 | 2.07k | DecimalComparison<DispatchType::PType, DispatchType::PType, Op, false>( | 511 | 2.07k | block, result, col_left, col_right); | 512 | 2.07k | return true; | 513 | 2.07k | }; |
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 | 508 | 949 | auto call = [&](const auto& type) -> bool { | 509 | 949 | using DispatchType = std::decay_t<decltype(type)>; | 510 | 949 | DecimalComparison<DispatchType::PType, DispatchType::PType, Op, false>( | 511 | 949 | block, result, col_left, col_right); | 512 | 949 | return true; | 513 | 949 | }; |
_ZZNK5doris18FunctionComparisonINS_14LessOrEqualsOpENS_16NameLessOrEqualsEE15execute_decimalERNS_5BlockEjRKNS_21ColumnWithTypeAndNameES8_ENKUlRKT_E_clINS_16DispatchDataTypeILNS_13PrimitiveTypeE35EEEEEbSB_ Line | Count | Source | 508 | 16 | auto call = [&](const auto& type) -> bool { | 509 | 16 | using DispatchType = std::decay_t<decltype(type)>; | 510 | 16 | DecimalComparison<DispatchType::PType, DispatchType::PType, Op, false>( | 511 | 16 | block, result, col_left, col_right); | 512 | 16 | return true; | 513 | 16 | }; |
|
514 | | |
515 | 12.9k | if (col_left.type->get_primitive_type() != col_right.type->get_primitive_type()) { |
516 | 0 | return Status::RuntimeError( |
517 | 0 | "type of left column {} is not equal to type of right column {}", |
518 | 0 | col_left.type->get_name(), col_right.type->get_name()); |
519 | 0 | } |
520 | | |
521 | 12.9k | if (!dispatch_switch_decimal(col_right.type->get_primitive_type(), call)) { |
522 | 0 | return Status::RuntimeError("Wrong call for {} with {} and {}", get_name(), |
523 | 0 | col_left.type->get_name(), col_right.type->get_name()); |
524 | 0 | } |
525 | 12.9k | return Status::OK(); |
526 | 12.9k | } _ZNK5doris18FunctionComparisonINS_8EqualsOpENS_10NameEqualsEE15execute_decimalERNS_5BlockEjRKNS_21ColumnWithTypeAndNameES8_ Line | Count | Source | 507 | 1.68k | const ColumnWithTypeAndName& col_right) const { | 508 | 1.68k | auto call = [&](const auto& type) -> bool { | 509 | 1.68k | using DispatchType = std::decay_t<decltype(type)>; | 510 | 1.68k | DecimalComparison<DispatchType::PType, DispatchType::PType, Op, false>( | 511 | 1.68k | block, result, col_left, col_right); | 512 | 1.68k | return true; | 513 | 1.68k | }; | 514 | | | 515 | 1.68k | if (col_left.type->get_primitive_type() != col_right.type->get_primitive_type()) { | 516 | 0 | return Status::RuntimeError( | 517 | 0 | "type of left column {} is not equal to type of right column {}", | 518 | 0 | col_left.type->get_name(), col_right.type->get_name()); | 519 | 0 | } | 520 | | | 521 | 1.68k | if (!dispatch_switch_decimal(col_right.type->get_primitive_type(), call)) { | 522 | 0 | return Status::RuntimeError("Wrong call for {} with {} and {}", get_name(), | 523 | 0 | col_left.type->get_name(), col_right.type->get_name()); | 524 | 0 | } | 525 | 1.68k | return Status::OK(); | 526 | 1.68k | } |
_ZNK5doris18FunctionComparisonINS_11NotEqualsOpENS_13NameNotEqualsEE15execute_decimalERNS_5BlockEjRKNS_21ColumnWithTypeAndNameES8_ Line | Count | Source | 507 | 418 | const ColumnWithTypeAndName& col_right) const { | 508 | 418 | auto call = [&](const auto& type) -> bool { | 509 | 418 | using DispatchType = std::decay_t<decltype(type)>; | 510 | 418 | DecimalComparison<DispatchType::PType, DispatchType::PType, Op, false>( | 511 | 418 | block, result, col_left, col_right); | 512 | 418 | return true; | 513 | 418 | }; | 514 | | | 515 | 418 | if (col_left.type->get_primitive_type() != col_right.type->get_primitive_type()) { | 516 | 0 | return Status::RuntimeError( | 517 | 0 | "type of left column {} is not equal to type of right column {}", | 518 | 0 | col_left.type->get_name(), col_right.type->get_name()); | 519 | 0 | } | 520 | | | 521 | 418 | if (!dispatch_switch_decimal(col_right.type->get_primitive_type(), call)) { | 522 | 0 | return Status::RuntimeError("Wrong call for {} with {} and {}", get_name(), | 523 | 0 | col_left.type->get_name(), col_right.type->get_name()); | 524 | 0 | } | 525 | 418 | return Status::OK(); | 526 | 418 | } |
_ZNK5doris18FunctionComparisonINS_9GreaterOpENS_11NameGreaterEE15execute_decimalERNS_5BlockEjRKNS_21ColumnWithTypeAndNameES8_ Line | Count | Source | 507 | 6.53k | const ColumnWithTypeAndName& col_right) const { | 508 | 6.53k | auto call = [&](const auto& type) -> bool { | 509 | 6.53k | using DispatchType = std::decay_t<decltype(type)>; | 510 | 6.53k | DecimalComparison<DispatchType::PType, DispatchType::PType, Op, false>( | 511 | 6.53k | block, result, col_left, col_right); | 512 | 6.53k | return true; | 513 | 6.53k | }; | 514 | | | 515 | 6.53k | if (col_left.type->get_primitive_type() != col_right.type->get_primitive_type()) { | 516 | 0 | return Status::RuntimeError( | 517 | 0 | "type of left column {} is not equal to type of right column {}", | 518 | 0 | col_left.type->get_name(), col_right.type->get_name()); | 519 | 0 | } | 520 | | | 521 | 6.53k | if (!dispatch_switch_decimal(col_right.type->get_primitive_type(), call)) { | 522 | 0 | return Status::RuntimeError("Wrong call for {} with {} and {}", get_name(), | 523 | 0 | col_left.type->get_name(), col_right.type->get_name()); | 524 | 0 | } | 525 | 6.53k | return Status::OK(); | 526 | 6.53k | } |
_ZNK5doris18FunctionComparisonINS_17GreaterOrEqualsOpENS_19NameGreaterOrEqualsEE15execute_decimalERNS_5BlockEjRKNS_21ColumnWithTypeAndNameES8_ Line | Count | Source | 507 | 392 | const ColumnWithTypeAndName& col_right) const { | 508 | 392 | auto call = [&](const auto& type) -> bool { | 509 | 392 | using DispatchType = std::decay_t<decltype(type)>; | 510 | 392 | DecimalComparison<DispatchType::PType, DispatchType::PType, Op, false>( | 511 | 392 | block, result, col_left, col_right); | 512 | 392 | return true; | 513 | 392 | }; | 514 | | | 515 | 392 | if (col_left.type->get_primitive_type() != col_right.type->get_primitive_type()) { | 516 | 0 | return Status::RuntimeError( | 517 | 0 | "type of left column {} is not equal to type of right column {}", | 518 | 0 | col_left.type->get_name(), col_right.type->get_name()); | 519 | 0 | } | 520 | | | 521 | 392 | if (!dispatch_switch_decimal(col_right.type->get_primitive_type(), call)) { | 522 | 0 | return Status::RuntimeError("Wrong call for {} with {} and {}", get_name(), | 523 | 0 | col_left.type->get_name(), col_right.type->get_name()); | 524 | 0 | } | 525 | 392 | return Status::OK(); | 526 | 392 | } |
_ZNK5doris18FunctionComparisonINS_6LessOpENS_8NameLessEE15execute_decimalERNS_5BlockEjRKNS_21ColumnWithTypeAndNameES8_ Line | Count | Source | 507 | 898 | const ColumnWithTypeAndName& col_right) const { | 508 | 898 | auto call = [&](const auto& type) -> bool { | 509 | 898 | using DispatchType = std::decay_t<decltype(type)>; | 510 | 898 | DecimalComparison<DispatchType::PType, DispatchType::PType, Op, false>( | 511 | 898 | block, result, col_left, col_right); | 512 | 898 | return true; | 513 | 898 | }; | 514 | | | 515 | 898 | if (col_left.type->get_primitive_type() != col_right.type->get_primitive_type()) { | 516 | 0 | return Status::RuntimeError( | 517 | 0 | "type of left column {} is not equal to type of right column {}", | 518 | 0 | col_left.type->get_name(), col_right.type->get_name()); | 519 | 0 | } | 520 | | | 521 | 898 | if (!dispatch_switch_decimal(col_right.type->get_primitive_type(), call)) { | 522 | 0 | return Status::RuntimeError("Wrong call for {} with {} and {}", get_name(), | 523 | 0 | col_left.type->get_name(), col_right.type->get_name()); | 524 | 0 | } | 525 | 898 | return Status::OK(); | 526 | 898 | } |
_ZNK5doris18FunctionComparisonINS_14LessOrEqualsOpENS_16NameLessOrEqualsEE15execute_decimalERNS_5BlockEjRKNS_21ColumnWithTypeAndNameES8_ Line | Count | Source | 507 | 3.04k | const ColumnWithTypeAndName& col_right) const { | 508 | 3.04k | auto call = [&](const auto& type) -> bool { | 509 | 3.04k | using DispatchType = std::decay_t<decltype(type)>; | 510 | 3.04k | DecimalComparison<DispatchType::PType, DispatchType::PType, Op, false>( | 511 | 3.04k | block, result, col_left, col_right); | 512 | 3.04k | return true; | 513 | 3.04k | }; | 514 | | | 515 | 3.04k | if (col_left.type->get_primitive_type() != col_right.type->get_primitive_type()) { | 516 | 0 | return Status::RuntimeError( | 517 | 0 | "type of left column {} is not equal to type of right column {}", | 518 | 0 | col_left.type->get_name(), col_right.type->get_name()); | 519 | 0 | } | 520 | | | 521 | 3.04k | if (!dispatch_switch_decimal(col_right.type->get_primitive_type(), call)) { | 522 | 0 | return Status::RuntimeError("Wrong call for {} with {} and {}", get_name(), | 523 | 0 | col_left.type->get_name(), col_right.type->get_name()); | 524 | 0 | } | 525 | 3.04k | return Status::OK(); | 526 | 3.04k | } |
|
527 | | |
528 | | Status execute_string(Block& block, uint32_t result, const IColumn* c0, |
529 | 29.8k | const IColumn* c1) const { |
530 | 29.8k | const ColumnString* c0_string = check_and_get_column<ColumnString>(c0); |
531 | 29.8k | const ColumnString* c1_string = check_and_get_column<ColumnString>(c1); |
532 | 29.8k | const ColumnConst* c0_const = check_and_get_column_const_string_or_fixedstring(c0); |
533 | 29.8k | const ColumnConst* c1_const = check_and_get_column_const_string_or_fixedstring(c1); |
534 | 29.8k | if (!((c0_string || c0_const) && (c1_string || c1_const))) { |
535 | 0 | return Status::NotSupported("Illegal columns {}, {} of argument of function {}", |
536 | 0 | c0->get_name(), c1->get_name(), name); |
537 | 0 | } |
538 | 29.8k | DCHECK(!(c0_const && c1_const)); |
539 | 29.8k | const ColumnString::Chars* c0_const_chars = nullptr; |
540 | 29.8k | const ColumnString::Chars* c1_const_chars = nullptr; |
541 | 29.8k | ColumnString::Offset c0_const_size = 0; |
542 | 29.8k | ColumnString::Offset c1_const_size = 0; |
543 | | |
544 | 29.8k | if (c0_const) { |
545 | 78 | const ColumnString* c0_const_string = |
546 | 78 | check_and_get_column<ColumnString>(&c0_const->get_data_column()); |
547 | | |
548 | 78 | if (c0_const_string) { |
549 | 78 | c0_const_chars = &c0_const_string->get_chars(); |
550 | 78 | c0_const_size = c0_const_string->get_offsets()[0]; |
551 | 78 | } else { |
552 | 0 | return Status::NotSupported("Illegal columns {}, of argument of function {}", |
553 | 0 | c0->get_name(), name); |
554 | 0 | } |
555 | 78 | } |
556 | | |
557 | 29.8k | if (c1_const) { |
558 | 26.2k | const ColumnString* c1_const_string = |
559 | 26.2k | check_and_get_column<ColumnString>(&c1_const->get_data_column()); |
560 | | |
561 | 26.2k | if (c1_const_string) { |
562 | 26.2k | c1_const_chars = &c1_const_string->get_chars(); |
563 | 26.2k | c1_const_size = c1_const_string->get_offsets()[0]; |
564 | 26.2k | } else { |
565 | 0 | return Status::NotSupported("Illegal columns {}, of argument of function {}", |
566 | 0 | c1->get_name(), name); |
567 | 0 | } |
568 | 26.2k | } |
569 | | |
570 | 29.8k | using StringImpl = StringComparisonImpl<Op<TYPE_INT>>; |
571 | | |
572 | 29.8k | auto c_res = ColumnUInt8::create(); |
573 | 29.8k | ColumnUInt8::Container& vec_res = c_res->get_data(); |
574 | 29.8k | vec_res.resize(c0->size()); |
575 | | |
576 | 29.8k | if (c0_string && c1_string) { |
577 | 3.45k | StringImpl::string_vector_string_vector( |
578 | 3.45k | c0_string->get_chars(), c0_string->get_offsets(), c1_string->get_chars(), |
579 | 3.45k | c1_string->get_offsets(), vec_res); |
580 | 26.3k | } else if (c0_string && c1_const) { |
581 | 26.2k | StringImpl::string_vector_constant(c0_string->get_chars(), c0_string->get_offsets(), |
582 | 26.2k | *c1_const_chars, c1_const_size, vec_res); |
583 | 26.2k | } else if (c0_const && c1_string) { |
584 | 78 | StringImpl::constant_string_vector(*c0_const_chars, c0_const_size, |
585 | 78 | c1_string->get_chars(), c1_string->get_offsets(), |
586 | 78 | vec_res); |
587 | 78 | } else { |
588 | 0 | return Status::NotSupported("Illegal columns {}, {} of argument of function {}", |
589 | 0 | c0->get_name(), c1->get_name(), name); |
590 | 0 | } |
591 | 29.8k | block.replace_by_position(result, std::move(c_res)); |
592 | 29.8k | return Status::OK(); |
593 | 29.8k | } _ZNK5doris18FunctionComparisonINS_8EqualsOpENS_10NameEqualsEE14execute_stringERNS_5BlockEjPKNS_7IColumnES8_ Line | Count | Source | 529 | 24.9k | const IColumn* c1) const { | 530 | 24.9k | const ColumnString* c0_string = check_and_get_column<ColumnString>(c0); | 531 | 24.9k | const ColumnString* c1_string = check_and_get_column<ColumnString>(c1); | 532 | 24.9k | const ColumnConst* c0_const = check_and_get_column_const_string_or_fixedstring(c0); | 533 | 24.9k | const ColumnConst* c1_const = check_and_get_column_const_string_or_fixedstring(c1); | 534 | 24.9k | if (!((c0_string || c0_const) && (c1_string || c1_const))) { | 535 | 0 | return Status::NotSupported("Illegal columns {}, {} of argument of function {}", | 536 | 0 | c0->get_name(), c1->get_name(), name); | 537 | 0 | } | 538 | 24.9k | DCHECK(!(c0_const && c1_const)); | 539 | 24.9k | const ColumnString::Chars* c0_const_chars = nullptr; | 540 | 24.9k | const ColumnString::Chars* c1_const_chars = nullptr; | 541 | 24.9k | ColumnString::Offset c0_const_size = 0; | 542 | 24.9k | ColumnString::Offset c1_const_size = 0; | 543 | | | 544 | 24.9k | if (c0_const) { | 545 | 16 | const ColumnString* c0_const_string = | 546 | 16 | check_and_get_column<ColumnString>(&c0_const->get_data_column()); | 547 | | | 548 | 16 | if (c0_const_string) { | 549 | 16 | c0_const_chars = &c0_const_string->get_chars(); | 550 | 16 | c0_const_size = c0_const_string->get_offsets()[0]; | 551 | 16 | } else { | 552 | 0 | return Status::NotSupported("Illegal columns {}, of argument of function {}", | 553 | 0 | c0->get_name(), name); | 554 | 0 | } | 555 | 16 | } | 556 | | | 557 | 24.9k | if (c1_const) { | 558 | 22.4k | const ColumnString* c1_const_string = | 559 | 22.4k | check_and_get_column<ColumnString>(&c1_const->get_data_column()); | 560 | | | 561 | 22.4k | if (c1_const_string) { | 562 | 22.4k | c1_const_chars = &c1_const_string->get_chars(); | 563 | 22.4k | c1_const_size = c1_const_string->get_offsets()[0]; | 564 | 22.4k | } else { | 565 | 0 | return Status::NotSupported("Illegal columns {}, of argument of function {}", | 566 | 0 | c1->get_name(), name); | 567 | 0 | } | 568 | 22.4k | } | 569 | | | 570 | 24.9k | using StringImpl = StringComparisonImpl<Op<TYPE_INT>>; | 571 | | | 572 | 24.9k | auto c_res = ColumnUInt8::create(); | 573 | 24.9k | ColumnUInt8::Container& vec_res = c_res->get_data(); | 574 | 24.9k | vec_res.resize(c0->size()); | 575 | | | 576 | 24.9k | if (c0_string && c1_string) { | 577 | 2.51k | StringImpl::string_vector_string_vector( | 578 | 2.51k | c0_string->get_chars(), c0_string->get_offsets(), c1_string->get_chars(), | 579 | 2.51k | c1_string->get_offsets(), vec_res); | 580 | 22.4k | } else if (c0_string && c1_const) { | 581 | 22.4k | StringImpl::string_vector_constant(c0_string->get_chars(), c0_string->get_offsets(), | 582 | 22.4k | *c1_const_chars, c1_const_size, vec_res); | 583 | 22.4k | } else if (c0_const && c1_string) { | 584 | 16 | StringImpl::constant_string_vector(*c0_const_chars, c0_const_size, | 585 | 16 | c1_string->get_chars(), c1_string->get_offsets(), | 586 | 16 | vec_res); | 587 | 16 | } else { | 588 | 0 | return Status::NotSupported("Illegal columns {}, {} of argument of function {}", | 589 | 0 | c0->get_name(), c1->get_name(), name); | 590 | 0 | } | 591 | 24.9k | block.replace_by_position(result, std::move(c_res)); | 592 | 24.9k | return Status::OK(); | 593 | 24.9k | } |
_ZNK5doris18FunctionComparisonINS_11NotEqualsOpENS_13NameNotEqualsEE14execute_stringERNS_5BlockEjPKNS_7IColumnES8_ Line | Count | Source | 529 | 2.51k | const IColumn* c1) const { | 530 | 2.51k | const ColumnString* c0_string = check_and_get_column<ColumnString>(c0); | 531 | 2.51k | const ColumnString* c1_string = check_and_get_column<ColumnString>(c1); | 532 | 2.51k | const ColumnConst* c0_const = check_and_get_column_const_string_or_fixedstring(c0); | 533 | 2.51k | const ColumnConst* c1_const = check_and_get_column_const_string_or_fixedstring(c1); | 534 | 2.51k | if (!((c0_string || c0_const) && (c1_string || c1_const))) { | 535 | 0 | return Status::NotSupported("Illegal columns {}, {} of argument of function {}", | 536 | 0 | c0->get_name(), c1->get_name(), name); | 537 | 0 | } | 538 | 2.51k | DCHECK(!(c0_const && c1_const)); | 539 | 2.51k | const ColumnString::Chars* c0_const_chars = nullptr; | 540 | 2.51k | const ColumnString::Chars* c1_const_chars = nullptr; | 541 | 2.51k | ColumnString::Offset c0_const_size = 0; | 542 | 2.51k | ColumnString::Offset c1_const_size = 0; | 543 | | | 544 | 2.51k | if (c0_const) { | 545 | 0 | const ColumnString* c0_const_string = | 546 | 0 | check_and_get_column<ColumnString>(&c0_const->get_data_column()); | 547 | |
| 548 | 0 | if (c0_const_string) { | 549 | 0 | c0_const_chars = &c0_const_string->get_chars(); | 550 | 0 | c0_const_size = c0_const_string->get_offsets()[0]; | 551 | 0 | } else { | 552 | 0 | return Status::NotSupported("Illegal columns {}, of argument of function {}", | 553 | 0 | c0->get_name(), name); | 554 | 0 | } | 555 | 0 | } | 556 | | | 557 | 2.51k | if (c1_const) { | 558 | 2.45k | const ColumnString* c1_const_string = | 559 | 2.45k | check_and_get_column<ColumnString>(&c1_const->get_data_column()); | 560 | | | 561 | 2.45k | if (c1_const_string) { | 562 | 2.45k | c1_const_chars = &c1_const_string->get_chars(); | 563 | 2.45k | c1_const_size = c1_const_string->get_offsets()[0]; | 564 | 2.45k | } else { | 565 | 0 | return Status::NotSupported("Illegal columns {}, of argument of function {}", | 566 | 0 | c1->get_name(), name); | 567 | 0 | } | 568 | 2.45k | } | 569 | | | 570 | 2.51k | using StringImpl = StringComparisonImpl<Op<TYPE_INT>>; | 571 | | | 572 | 2.51k | auto c_res = ColumnUInt8::create(); | 573 | 2.51k | ColumnUInt8::Container& vec_res = c_res->get_data(); | 574 | 2.51k | vec_res.resize(c0->size()); | 575 | | | 576 | 2.51k | if (c0_string && c1_string) { | 577 | 60 | StringImpl::string_vector_string_vector( | 578 | 60 | c0_string->get_chars(), c0_string->get_offsets(), c1_string->get_chars(), | 579 | 60 | c1_string->get_offsets(), vec_res); | 580 | 2.45k | } else if (c0_string && c1_const) { | 581 | 2.45k | StringImpl::string_vector_constant(c0_string->get_chars(), c0_string->get_offsets(), | 582 | 2.45k | *c1_const_chars, c1_const_size, vec_res); | 583 | 2.45k | } else if (c0_const && c1_string) { | 584 | 0 | StringImpl::constant_string_vector(*c0_const_chars, c0_const_size, | 585 | 0 | c1_string->get_chars(), c1_string->get_offsets(), | 586 | 0 | vec_res); | 587 | 0 | } else { | 588 | 0 | return Status::NotSupported("Illegal columns {}, {} of argument of function {}", | 589 | 0 | c0->get_name(), c1->get_name(), name); | 590 | 0 | } | 591 | 2.51k | block.replace_by_position(result, std::move(c_res)); | 592 | 2.51k | return Status::OK(); | 593 | 2.51k | } |
_ZNK5doris18FunctionComparisonINS_9GreaterOpENS_11NameGreaterEE14execute_stringERNS_5BlockEjPKNS_7IColumnES8_ Line | Count | Source | 529 | 182 | const IColumn* c1) const { | 530 | 182 | const ColumnString* c0_string = check_and_get_column<ColumnString>(c0); | 531 | 182 | const ColumnString* c1_string = check_and_get_column<ColumnString>(c1); | 532 | 182 | const ColumnConst* c0_const = check_and_get_column_const_string_or_fixedstring(c0); | 533 | 182 | const ColumnConst* c1_const = check_and_get_column_const_string_or_fixedstring(c1); | 534 | 182 | if (!((c0_string || c0_const) && (c1_string || c1_const))) { | 535 | 0 | return Status::NotSupported("Illegal columns {}, {} of argument of function {}", | 536 | 0 | c0->get_name(), c1->get_name(), name); | 537 | 0 | } | 538 | 182 | DCHECK(!(c0_const && c1_const)); | 539 | 182 | const ColumnString::Chars* c0_const_chars = nullptr; | 540 | 182 | const ColumnString::Chars* c1_const_chars = nullptr; | 541 | 182 | ColumnString::Offset c0_const_size = 0; | 542 | 182 | ColumnString::Offset c1_const_size = 0; | 543 | | | 544 | 182 | if (c0_const) { | 545 | 0 | const ColumnString* c0_const_string = | 546 | 0 | check_and_get_column<ColumnString>(&c0_const->get_data_column()); | 547 | |
| 548 | 0 | if (c0_const_string) { | 549 | 0 | c0_const_chars = &c0_const_string->get_chars(); | 550 | 0 | c0_const_size = c0_const_string->get_offsets()[0]; | 551 | 0 | } else { | 552 | 0 | return Status::NotSupported("Illegal columns {}, of argument of function {}", | 553 | 0 | c0->get_name(), name); | 554 | 0 | } | 555 | 0 | } | 556 | | | 557 | 182 | if (c1_const) { | 558 | 180 | const ColumnString* c1_const_string = | 559 | 180 | check_and_get_column<ColumnString>(&c1_const->get_data_column()); | 560 | | | 561 | 180 | if (c1_const_string) { | 562 | 180 | c1_const_chars = &c1_const_string->get_chars(); | 563 | 180 | c1_const_size = c1_const_string->get_offsets()[0]; | 564 | 180 | } else { | 565 | 0 | return Status::NotSupported("Illegal columns {}, of argument of function {}", | 566 | 0 | c1->get_name(), name); | 567 | 0 | } | 568 | 180 | } | 569 | | | 570 | 182 | using StringImpl = StringComparisonImpl<Op<TYPE_INT>>; | 571 | | | 572 | 182 | auto c_res = ColumnUInt8::create(); | 573 | 182 | ColumnUInt8::Container& vec_res = c_res->get_data(); | 574 | 182 | vec_res.resize(c0->size()); | 575 | | | 576 | 182 | if (c0_string && c1_string) { | 577 | 2 | StringImpl::string_vector_string_vector( | 578 | 2 | c0_string->get_chars(), c0_string->get_offsets(), c1_string->get_chars(), | 579 | 2 | c1_string->get_offsets(), vec_res); | 580 | 180 | } else if (c0_string && c1_const) { | 581 | 180 | StringImpl::string_vector_constant(c0_string->get_chars(), c0_string->get_offsets(), | 582 | 180 | *c1_const_chars, c1_const_size, vec_res); | 583 | 180 | } else if (c0_const && c1_string) { | 584 | 0 | StringImpl::constant_string_vector(*c0_const_chars, c0_const_size, | 585 | 0 | c1_string->get_chars(), c1_string->get_offsets(), | 586 | 0 | vec_res); | 587 | 0 | } else { | 588 | 0 | return Status::NotSupported("Illegal columns {}, {} of argument of function {}", | 589 | 0 | c0->get_name(), c1->get_name(), name); | 590 | 0 | } | 591 | 182 | block.replace_by_position(result, std::move(c_res)); | 592 | 182 | return Status::OK(); | 593 | 182 | } |
_ZNK5doris18FunctionComparisonINS_17GreaterOrEqualsOpENS_19NameGreaterOrEqualsEE14execute_stringERNS_5BlockEjPKNS_7IColumnES8_ Line | Count | Source | 529 | 657 | const IColumn* c1) const { | 530 | 657 | const ColumnString* c0_string = check_and_get_column<ColumnString>(c0); | 531 | 657 | const ColumnString* c1_string = check_and_get_column<ColumnString>(c1); | 532 | 657 | const ColumnConst* c0_const = check_and_get_column_const_string_or_fixedstring(c0); | 533 | 657 | const ColumnConst* c1_const = check_and_get_column_const_string_or_fixedstring(c1); | 534 | 657 | if (!((c0_string || c0_const) && (c1_string || c1_const))) { | 535 | 0 | return Status::NotSupported("Illegal columns {}, {} of argument of function {}", | 536 | 0 | c0->get_name(), c1->get_name(), name); | 537 | 0 | } | 538 | 657 | DCHECK(!(c0_const && c1_const)); | 539 | 657 | const ColumnString::Chars* c0_const_chars = nullptr; | 540 | 657 | const ColumnString::Chars* c1_const_chars = nullptr; | 541 | 657 | ColumnString::Offset c0_const_size = 0; | 542 | 657 | ColumnString::Offset c1_const_size = 0; | 543 | | | 544 | 657 | if (c0_const) { | 545 | 56 | const ColumnString* c0_const_string = | 546 | 56 | check_and_get_column<ColumnString>(&c0_const->get_data_column()); | 547 | | | 548 | 56 | if (c0_const_string) { | 549 | 56 | c0_const_chars = &c0_const_string->get_chars(); | 550 | 56 | c0_const_size = c0_const_string->get_offsets()[0]; | 551 | 56 | } else { | 552 | 0 | return Status::NotSupported("Illegal columns {}, of argument of function {}", | 553 | 0 | c0->get_name(), name); | 554 | 0 | } | 555 | 56 | } | 556 | | | 557 | 657 | if (c1_const) { | 558 | 425 | const ColumnString* c1_const_string = | 559 | 425 | check_and_get_column<ColumnString>(&c1_const->get_data_column()); | 560 | | | 561 | 425 | if (c1_const_string) { | 562 | 425 | c1_const_chars = &c1_const_string->get_chars(); | 563 | 425 | c1_const_size = c1_const_string->get_offsets()[0]; | 564 | 425 | } else { | 565 | 0 | return Status::NotSupported("Illegal columns {}, of argument of function {}", | 566 | 0 | c1->get_name(), name); | 567 | 0 | } | 568 | 425 | } | 569 | | | 570 | 657 | using StringImpl = StringComparisonImpl<Op<TYPE_INT>>; | 571 | | | 572 | 657 | auto c_res = ColumnUInt8::create(); | 573 | 657 | ColumnUInt8::Container& vec_res = c_res->get_data(); | 574 | 657 | vec_res.resize(c0->size()); | 575 | | | 576 | 657 | if (c0_string && c1_string) { | 577 | 176 | StringImpl::string_vector_string_vector( | 578 | 176 | c0_string->get_chars(), c0_string->get_offsets(), c1_string->get_chars(), | 579 | 176 | c1_string->get_offsets(), vec_res); | 580 | 481 | } else if (c0_string && c1_const) { | 581 | 425 | StringImpl::string_vector_constant(c0_string->get_chars(), c0_string->get_offsets(), | 582 | 425 | *c1_const_chars, c1_const_size, vec_res); | 583 | 425 | } else if (c0_const && c1_string) { | 584 | 56 | StringImpl::constant_string_vector(*c0_const_chars, c0_const_size, | 585 | 56 | c1_string->get_chars(), c1_string->get_offsets(), | 586 | 56 | vec_res); | 587 | 56 | } else { | 588 | 0 | return Status::NotSupported("Illegal columns {}, {} of argument of function {}", | 589 | 0 | c0->get_name(), c1->get_name(), name); | 590 | 0 | } | 591 | 657 | block.replace_by_position(result, std::move(c_res)); | 592 | 657 | return Status::OK(); | 593 | 657 | } |
_ZNK5doris18FunctionComparisonINS_6LessOpENS_8NameLessEE14execute_stringERNS_5BlockEjPKNS_7IColumnES8_ Line | Count | Source | 529 | 643 | const IColumn* c1) const { | 530 | 643 | const ColumnString* c0_string = check_and_get_column<ColumnString>(c0); | 531 | 643 | const ColumnString* c1_string = check_and_get_column<ColumnString>(c1); | 532 | 643 | const ColumnConst* c0_const = check_and_get_column_const_string_or_fixedstring(c0); | 533 | 643 | const ColumnConst* c1_const = check_and_get_column_const_string_or_fixedstring(c1); | 534 | 643 | if (!((c0_string || c0_const) && (c1_string || c1_const))) { | 535 | 0 | return Status::NotSupported("Illegal columns {}, {} of argument of function {}", | 536 | 0 | c0->get_name(), c1->get_name(), name); | 537 | 0 | } | 538 | 643 | DCHECK(!(c0_const && c1_const)); | 539 | 643 | const ColumnString::Chars* c0_const_chars = nullptr; | 540 | 643 | const ColumnString::Chars* c1_const_chars = nullptr; | 541 | 643 | ColumnString::Offset c0_const_size = 0; | 542 | 643 | ColumnString::Offset c1_const_size = 0; | 543 | | | 544 | 643 | if (c0_const) { | 545 | 6 | const ColumnString* c0_const_string = | 546 | 6 | check_and_get_column<ColumnString>(&c0_const->get_data_column()); | 547 | | | 548 | 6 | if (c0_const_string) { | 549 | 6 | c0_const_chars = &c0_const_string->get_chars(); | 550 | 6 | c0_const_size = c0_const_string->get_offsets()[0]; | 551 | 6 | } else { | 552 | 0 | return Status::NotSupported("Illegal columns {}, of argument of function {}", | 553 | 0 | c0->get_name(), name); | 554 | 0 | } | 555 | 6 | } | 556 | | | 557 | 643 | if (c1_const) { | 558 | 200 | const ColumnString* c1_const_string = | 559 | 200 | check_and_get_column<ColumnString>(&c1_const->get_data_column()); | 560 | | | 561 | 200 | if (c1_const_string) { | 562 | 200 | c1_const_chars = &c1_const_string->get_chars(); | 563 | 200 | c1_const_size = c1_const_string->get_offsets()[0]; | 564 | 200 | } else { | 565 | 0 | return Status::NotSupported("Illegal columns {}, of argument of function {}", | 566 | 0 | c1->get_name(), name); | 567 | 0 | } | 568 | 200 | } | 569 | | | 570 | 643 | using StringImpl = StringComparisonImpl<Op<TYPE_INT>>; | 571 | | | 572 | 643 | auto c_res = ColumnUInt8::create(); | 573 | 643 | ColumnUInt8::Container& vec_res = c_res->get_data(); | 574 | 643 | vec_res.resize(c0->size()); | 575 | | | 576 | 643 | if (c0_string && c1_string) { | 577 | 437 | StringImpl::string_vector_string_vector( | 578 | 437 | c0_string->get_chars(), c0_string->get_offsets(), c1_string->get_chars(), | 579 | 437 | c1_string->get_offsets(), vec_res); | 580 | 437 | } else if (c0_string && c1_const) { | 581 | 200 | StringImpl::string_vector_constant(c0_string->get_chars(), c0_string->get_offsets(), | 582 | 200 | *c1_const_chars, c1_const_size, vec_res); | 583 | 200 | } else if (c0_const && c1_string) { | 584 | 6 | StringImpl::constant_string_vector(*c0_const_chars, c0_const_size, | 585 | 6 | c1_string->get_chars(), c1_string->get_offsets(), | 586 | 6 | vec_res); | 587 | 6 | } else { | 588 | 0 | return Status::NotSupported("Illegal columns {}, {} of argument of function {}", | 589 | 0 | c0->get_name(), c1->get_name(), name); | 590 | 0 | } | 591 | 643 | block.replace_by_position(result, std::move(c_res)); | 592 | 643 | return Status::OK(); | 593 | 643 | } |
_ZNK5doris18FunctionComparisonINS_14LessOrEqualsOpENS_16NameLessOrEqualsEE14execute_stringERNS_5BlockEjPKNS_7IColumnES8_ Line | Count | Source | 529 | 898 | const IColumn* c1) const { | 530 | 898 | const ColumnString* c0_string = check_and_get_column<ColumnString>(c0); | 531 | 898 | const ColumnString* c1_string = check_and_get_column<ColumnString>(c1); | 532 | 898 | const ColumnConst* c0_const = check_and_get_column_const_string_or_fixedstring(c0); | 533 | 898 | const ColumnConst* c1_const = check_and_get_column_const_string_or_fixedstring(c1); | 534 | 898 | if (!((c0_string || c0_const) && (c1_string || c1_const))) { | 535 | 0 | return Status::NotSupported("Illegal columns {}, {} of argument of function {}", | 536 | 0 | c0->get_name(), c1->get_name(), name); | 537 | 0 | } | 538 | 898 | DCHECK(!(c0_const && c1_const)); | 539 | 898 | const ColumnString::Chars* c0_const_chars = nullptr; | 540 | 898 | const ColumnString::Chars* c1_const_chars = nullptr; | 541 | 898 | ColumnString::Offset c0_const_size = 0; | 542 | 898 | ColumnString::Offset c1_const_size = 0; | 543 | | | 544 | 898 | if (c0_const) { | 545 | 0 | const ColumnString* c0_const_string = | 546 | 0 | check_and_get_column<ColumnString>(&c0_const->get_data_column()); | 547 | |
| 548 | 0 | if (c0_const_string) { | 549 | 0 | c0_const_chars = &c0_const_string->get_chars(); | 550 | 0 | c0_const_size = c0_const_string->get_offsets()[0]; | 551 | 0 | } else { | 552 | 0 | return Status::NotSupported("Illegal columns {}, of argument of function {}", | 553 | 0 | c0->get_name(), name); | 554 | 0 | } | 555 | 0 | } | 556 | | | 557 | 898 | if (c1_const) { | 558 | 626 | const ColumnString* c1_const_string = | 559 | 626 | check_and_get_column<ColumnString>(&c1_const->get_data_column()); | 560 | | | 561 | 626 | if (c1_const_string) { | 562 | 626 | c1_const_chars = &c1_const_string->get_chars(); | 563 | 626 | c1_const_size = c1_const_string->get_offsets()[0]; | 564 | 626 | } else { | 565 | 0 | return Status::NotSupported("Illegal columns {}, of argument of function {}", | 566 | 0 | c1->get_name(), name); | 567 | 0 | } | 568 | 626 | } | 569 | | | 570 | 898 | using StringImpl = StringComparisonImpl<Op<TYPE_INT>>; | 571 | | | 572 | 898 | auto c_res = ColumnUInt8::create(); | 573 | 898 | ColumnUInt8::Container& vec_res = c_res->get_data(); | 574 | 898 | vec_res.resize(c0->size()); | 575 | | | 576 | 898 | if (c0_string && c1_string) { | 577 | 272 | StringImpl::string_vector_string_vector( | 578 | 272 | c0_string->get_chars(), c0_string->get_offsets(), c1_string->get_chars(), | 579 | 272 | c1_string->get_offsets(), vec_res); | 580 | 626 | } else if (c0_string && c1_const) { | 581 | 626 | StringImpl::string_vector_constant(c0_string->get_chars(), c0_string->get_offsets(), | 582 | 626 | *c1_const_chars, c1_const_size, vec_res); | 583 | 626 | } else if (c0_const && c1_string) { | 584 | 0 | StringImpl::constant_string_vector(*c0_const_chars, c0_const_size, | 585 | 0 | c1_string->get_chars(), c1_string->get_offsets(), | 586 | 0 | vec_res); | 587 | 0 | } else { | 588 | 0 | return Status::NotSupported("Illegal columns {}, {} of argument of function {}", | 589 | 0 | c0->get_name(), c1->get_name(), name); | 590 | 0 | } | 591 | 898 | block.replace_by_position(result, std::move(c_res)); | 592 | 898 | return Status::OK(); | 593 | 898 | } |
|
594 | | |
595 | | void execute_generic_identical_types(Block& block, uint32_t result, const IColumn* c0, |
596 | 181 | const IColumn* c1) const { |
597 | 181 | bool c0_const = is_column_const(*c0); |
598 | 181 | bool c1_const = is_column_const(*c1); |
599 | | |
600 | 181 | DCHECK(!(c0_const && c1_const)); |
601 | | |
602 | 181 | auto c_res = ColumnUInt8::create(); |
603 | 181 | ColumnUInt8::Container& vec_res = c_res->get_data(); |
604 | 181 | vec_res.resize(c0->size()); |
605 | | |
606 | 181 | if (c0_const) { |
607 | 0 | GenericComparisonImpl<Op<TYPE_INT>>::constant_vector(*c0, *c1, vec_res); |
608 | 181 | } else if (c1_const) { |
609 | 172 | GenericComparisonImpl<Op<TYPE_INT>>::vector_constant(*c0, *c1, vec_res); |
610 | 172 | } else { |
611 | 9 | GenericComparisonImpl<Op<TYPE_INT>>::vector_vector(*c0, *c1, vec_res); |
612 | 9 | } |
613 | | |
614 | 181 | block.replace_by_position(result, std::move(c_res)); |
615 | 181 | } _ZNK5doris18FunctionComparisonINS_8EqualsOpENS_10NameEqualsEE31execute_generic_identical_typesERNS_5BlockEjPKNS_7IColumnES8_ Line | Count | Source | 596 | 17 | const IColumn* c1) const { | 597 | 17 | bool c0_const = is_column_const(*c0); | 598 | 17 | bool c1_const = is_column_const(*c1); | 599 | | | 600 | 17 | DCHECK(!(c0_const && c1_const)); | 601 | | | 602 | 17 | auto c_res = ColumnUInt8::create(); | 603 | 17 | ColumnUInt8::Container& vec_res = c_res->get_data(); | 604 | 17 | vec_res.resize(c0->size()); | 605 | | | 606 | 17 | if (c0_const) { | 607 | 0 | GenericComparisonImpl<Op<TYPE_INT>>::constant_vector(*c0, *c1, vec_res); | 608 | 17 | } else if (c1_const) { | 609 | 13 | GenericComparisonImpl<Op<TYPE_INT>>::vector_constant(*c0, *c1, vec_res); | 610 | 13 | } else { | 611 | 4 | GenericComparisonImpl<Op<TYPE_INT>>::vector_vector(*c0, *c1, vec_res); | 612 | 4 | } | 613 | | | 614 | 17 | block.replace_by_position(result, std::move(c_res)); | 615 | 17 | } |
_ZNK5doris18FunctionComparisonINS_11NotEqualsOpENS_13NameNotEqualsEE31execute_generic_identical_typesERNS_5BlockEjPKNS_7IColumnES8_ Line | Count | Source | 596 | 8 | const IColumn* c1) const { | 597 | 8 | bool c0_const = is_column_const(*c0); | 598 | 8 | bool c1_const = is_column_const(*c1); | 599 | | | 600 | 8 | DCHECK(!(c0_const && c1_const)); | 601 | | | 602 | 8 | auto c_res = ColumnUInt8::create(); | 603 | 8 | ColumnUInt8::Container& vec_res = c_res->get_data(); | 604 | 8 | vec_res.resize(c0->size()); | 605 | | | 606 | 8 | if (c0_const) { | 607 | 0 | GenericComparisonImpl<Op<TYPE_INT>>::constant_vector(*c0, *c1, vec_res); | 608 | 8 | } else if (c1_const) { | 609 | 8 | GenericComparisonImpl<Op<TYPE_INT>>::vector_constant(*c0, *c1, vec_res); | 610 | 8 | } else { | 611 | 0 | GenericComparisonImpl<Op<TYPE_INT>>::vector_vector(*c0, *c1, vec_res); | 612 | 0 | } | 613 | | | 614 | 8 | block.replace_by_position(result, std::move(c_res)); | 615 | 8 | } |
_ZNK5doris18FunctionComparisonINS_9GreaterOpENS_11NameGreaterEE31execute_generic_identical_typesERNS_5BlockEjPKNS_7IColumnES8_ Line | Count | Source | 596 | 9 | const IColumn* c1) const { | 597 | 9 | bool c0_const = is_column_const(*c0); | 598 | 9 | bool c1_const = is_column_const(*c1); | 599 | | | 600 | 9 | DCHECK(!(c0_const && c1_const)); | 601 | | | 602 | 9 | auto c_res = ColumnUInt8::create(); | 603 | 9 | ColumnUInt8::Container& vec_res = c_res->get_data(); | 604 | 9 | vec_res.resize(c0->size()); | 605 | | | 606 | 9 | if (c0_const) { | 607 | 0 | GenericComparisonImpl<Op<TYPE_INT>>::constant_vector(*c0, *c1, vec_res); | 608 | 9 | } else if (c1_const) { | 609 | 8 | GenericComparisonImpl<Op<TYPE_INT>>::vector_constant(*c0, *c1, vec_res); | 610 | 8 | } else { | 611 | 1 | GenericComparisonImpl<Op<TYPE_INT>>::vector_vector(*c0, *c1, vec_res); | 612 | 1 | } | 613 | | | 614 | 9 | block.replace_by_position(result, std::move(c_res)); | 615 | 9 | } |
_ZNK5doris18FunctionComparisonINS_17GreaterOrEqualsOpENS_19NameGreaterOrEqualsEE31execute_generic_identical_typesERNS_5BlockEjPKNS_7IColumnES8_ Line | Count | Source | 596 | 72 | const IColumn* c1) const { | 597 | 72 | bool c0_const = is_column_const(*c0); | 598 | 72 | bool c1_const = is_column_const(*c1); | 599 | | | 600 | 72 | DCHECK(!(c0_const && c1_const)); | 601 | | | 602 | 72 | auto c_res = ColumnUInt8::create(); | 603 | 72 | ColumnUInt8::Container& vec_res = c_res->get_data(); | 604 | 72 | vec_res.resize(c0->size()); | 605 | | | 606 | 72 | if (c0_const) { | 607 | 0 | GenericComparisonImpl<Op<TYPE_INT>>::constant_vector(*c0, *c1, vec_res); | 608 | 72 | } else if (c1_const) { | 609 | 71 | GenericComparisonImpl<Op<TYPE_INT>>::vector_constant(*c0, *c1, vec_res); | 610 | 71 | } else { | 611 | 1 | GenericComparisonImpl<Op<TYPE_INT>>::vector_vector(*c0, *c1, vec_res); | 612 | 1 | } | 613 | | | 614 | 72 | block.replace_by_position(result, std::move(c_res)); | 615 | 72 | } |
_ZNK5doris18FunctionComparisonINS_6LessOpENS_8NameLessEE31execute_generic_identical_typesERNS_5BlockEjPKNS_7IColumnES8_ Line | Count | Source | 596 | 11 | const IColumn* c1) const { | 597 | 11 | bool c0_const = is_column_const(*c0); | 598 | 11 | bool c1_const = is_column_const(*c1); | 599 | | | 600 | 11 | DCHECK(!(c0_const && c1_const)); | 601 | | | 602 | 11 | auto c_res = ColumnUInt8::create(); | 603 | 11 | ColumnUInt8::Container& vec_res = c_res->get_data(); | 604 | 11 | vec_res.resize(c0->size()); | 605 | | | 606 | 11 | if (c0_const) { | 607 | 0 | GenericComparisonImpl<Op<TYPE_INT>>::constant_vector(*c0, *c1, vec_res); | 608 | 11 | } else if (c1_const) { | 609 | 8 | GenericComparisonImpl<Op<TYPE_INT>>::vector_constant(*c0, *c1, vec_res); | 610 | 8 | } else { | 611 | 3 | GenericComparisonImpl<Op<TYPE_INT>>::vector_vector(*c0, *c1, vec_res); | 612 | 3 | } | 613 | | | 614 | 11 | block.replace_by_position(result, std::move(c_res)); | 615 | 11 | } |
_ZNK5doris18FunctionComparisonINS_14LessOrEqualsOpENS_16NameLessOrEqualsEE31execute_generic_identical_typesERNS_5BlockEjPKNS_7IColumnES8_ Line | Count | Source | 596 | 64 | const IColumn* c1) const { | 597 | 64 | bool c0_const = is_column_const(*c0); | 598 | 64 | bool c1_const = is_column_const(*c1); | 599 | | | 600 | 64 | DCHECK(!(c0_const && c1_const)); | 601 | | | 602 | 64 | auto c_res = ColumnUInt8::create(); | 603 | 64 | ColumnUInt8::Container& vec_res = c_res->get_data(); | 604 | 64 | vec_res.resize(c0->size()); | 605 | | | 606 | 64 | if (c0_const) { | 607 | 0 | GenericComparisonImpl<Op<TYPE_INT>>::constant_vector(*c0, *c1, vec_res); | 608 | 64 | } else if (c1_const) { | 609 | 64 | GenericComparisonImpl<Op<TYPE_INT>>::vector_constant(*c0, *c1, vec_res); | 610 | 64 | } else { | 611 | 0 | GenericComparisonImpl<Op<TYPE_INT>>::vector_vector(*c0, *c1, vec_res); | 612 | 0 | } | 613 | | | 614 | 64 | block.replace_by_position(result, std::move(c_res)); | 615 | 64 | } |
|
616 | | |
617 | | Status execute_generic(Block& block, uint32_t result, const ColumnWithTypeAndName& c0, |
618 | 181 | const ColumnWithTypeAndName& c1) const { |
619 | 181 | execute_generic_identical_types(block, result, c0.column.get(), c1.column.get()); |
620 | 181 | return Status::OK(); |
621 | 181 | } _ZNK5doris18FunctionComparisonINS_8EqualsOpENS_10NameEqualsEE15execute_genericERNS_5BlockEjRKNS_21ColumnWithTypeAndNameES8_ Line | Count | Source | 618 | 17 | const ColumnWithTypeAndName& c1) const { | 619 | 17 | execute_generic_identical_types(block, result, c0.column.get(), c1.column.get()); | 620 | 17 | return Status::OK(); | 621 | 17 | } |
_ZNK5doris18FunctionComparisonINS_11NotEqualsOpENS_13NameNotEqualsEE15execute_genericERNS_5BlockEjRKNS_21ColumnWithTypeAndNameES8_ Line | Count | Source | 618 | 8 | const ColumnWithTypeAndName& c1) const { | 619 | 8 | execute_generic_identical_types(block, result, c0.column.get(), c1.column.get()); | 620 | 8 | return Status::OK(); | 621 | 8 | } |
_ZNK5doris18FunctionComparisonINS_9GreaterOpENS_11NameGreaterEE15execute_genericERNS_5BlockEjRKNS_21ColumnWithTypeAndNameES8_ Line | Count | Source | 618 | 9 | const ColumnWithTypeAndName& c1) const { | 619 | 9 | execute_generic_identical_types(block, result, c0.column.get(), c1.column.get()); | 620 | 9 | return Status::OK(); | 621 | 9 | } |
_ZNK5doris18FunctionComparisonINS_17GreaterOrEqualsOpENS_19NameGreaterOrEqualsEE15execute_genericERNS_5BlockEjRKNS_21ColumnWithTypeAndNameES8_ Line | Count | Source | 618 | 72 | const ColumnWithTypeAndName& c1) const { | 619 | 72 | execute_generic_identical_types(block, result, c0.column.get(), c1.column.get()); | 620 | 72 | return Status::OK(); | 621 | 72 | } |
_ZNK5doris18FunctionComparisonINS_6LessOpENS_8NameLessEE15execute_genericERNS_5BlockEjRKNS_21ColumnWithTypeAndNameES8_ Line | Count | Source | 618 | 11 | const ColumnWithTypeAndName& c1) const { | 619 | 11 | execute_generic_identical_types(block, result, c0.column.get(), c1.column.get()); | 620 | 11 | return Status::OK(); | 621 | 11 | } |
_ZNK5doris18FunctionComparisonINS_14LessOrEqualsOpENS_16NameLessOrEqualsEE15execute_genericERNS_5BlockEjRKNS_21ColumnWithTypeAndNameES8_ Line | Count | Source | 618 | 64 | const ColumnWithTypeAndName& c1) const { | 619 | 64 | execute_generic_identical_types(block, result, c0.column.get(), c1.column.get()); | 620 | 64 | return Status::OK(); | 621 | 64 | } |
|
622 | | |
623 | | public: |
624 | 221 | String get_name() const override { return name; }_ZNK5doris18FunctionComparisonINS_8EqualsOpENS_10NameEqualsEE8get_nameB5cxx11Ev Line | Count | Source | 624 | 63 | String get_name() const override { return name; } |
_ZNK5doris18FunctionComparisonINS_11NotEqualsOpENS_13NameNotEqualsEE8get_nameB5cxx11Ev Line | Count | Source | 624 | 37 | String get_name() const override { return name; } |
_ZNK5doris18FunctionComparisonINS_9GreaterOpENS_11NameGreaterEE8get_nameB5cxx11Ev Line | Count | Source | 624 | 39 | String get_name() const override { return name; } |
_ZNK5doris18FunctionComparisonINS_17GreaterOrEqualsOpENS_19NameGreaterOrEqualsEE8get_nameB5cxx11Ev Line | Count | Source | 624 | 80 | String get_name() const override { return name; } |
_ZNK5doris18FunctionComparisonINS_6LessOpENS_8NameLessEE8get_nameB5cxx11Ev Line | Count | Source | 624 | 1 | String get_name() const override { return name; } |
_ZNK5doris18FunctionComparisonINS_14LessOrEqualsOpENS_16NameLessOrEqualsEE8get_nameB5cxx11Ev Line | Count | Source | 624 | 1 | String get_name() const override { return name; } |
|
625 | | |
626 | 579k | size_t get_number_of_arguments() const override { return 2; }_ZNK5doris18FunctionComparisonINS_8EqualsOpENS_10NameEqualsEE23get_number_of_argumentsEv Line | Count | Source | 626 | 487k | size_t get_number_of_arguments() const override { return 2; } |
_ZNK5doris18FunctionComparisonINS_11NotEqualsOpENS_13NameNotEqualsEE23get_number_of_argumentsEv Line | Count | Source | 626 | 2.77k | size_t get_number_of_arguments() const override { return 2; } |
_ZNK5doris18FunctionComparisonINS_9GreaterOpENS_11NameGreaterEE23get_number_of_argumentsEv Line | Count | Source | 626 | 43.0k | size_t get_number_of_arguments() const override { return 2; } |
_ZNK5doris18FunctionComparisonINS_17GreaterOrEqualsOpENS_19NameGreaterOrEqualsEE23get_number_of_argumentsEv Line | Count | Source | 626 | 16.2k | size_t get_number_of_arguments() const override { return 2; } |
_ZNK5doris18FunctionComparisonINS_6LessOpENS_8NameLessEE23get_number_of_argumentsEv Line | Count | Source | 626 | 4.60k | size_t get_number_of_arguments() const override { return 2; } |
_ZNK5doris18FunctionComparisonINS_14LessOrEqualsOpENS_16NameLessOrEqualsEE23get_number_of_argumentsEv Line | Count | Source | 626 | 25.7k | size_t get_number_of_arguments() const override { return 2; } |
|
627 | | |
628 | | ZoneMapFilterResult evaluate_zonemap_filter(const ZoneMapEvalContext& ctx, |
629 | 43.8k | const VExprSPtrs& arguments) const override { |
630 | 43.8k | auto op = comparison_zonemap_detail::op_from_name(name); |
631 | 43.8k | DORIS_CHECK(op.has_value()); |
632 | 43.8k | return comparison_zonemap_detail::evaluate(ctx, arguments, *op); |
633 | 43.8k | } _ZNK5doris18FunctionComparisonINS_8EqualsOpENS_10NameEqualsEE23evaluate_zonemap_filterERKNS_18ZoneMapEvalContextERKSt6vectorISt10shared_ptrINS_5VExprEESaISA_EE Line | Count | Source | 629 | 9.70k | const VExprSPtrs& arguments) const override { | 630 | 9.70k | auto op = comparison_zonemap_detail::op_from_name(name); | 631 | 9.70k | DORIS_CHECK(op.has_value()); | 632 | 9.70k | return comparison_zonemap_detail::evaluate(ctx, arguments, *op); | 633 | 9.70k | } |
_ZNK5doris18FunctionComparisonINS_11NotEqualsOpENS_13NameNotEqualsEE23evaluate_zonemap_filterERKNS_18ZoneMapEvalContextERKSt6vectorISt10shared_ptrINS_5VExprEESaISA_EE Line | Count | Source | 629 | 1.15k | const VExprSPtrs& arguments) const override { | 630 | 1.15k | auto op = comparison_zonemap_detail::op_from_name(name); | 631 | 1.15k | DORIS_CHECK(op.has_value()); | 632 | 1.15k | return comparison_zonemap_detail::evaluate(ctx, arguments, *op); | 633 | 1.15k | } |
_ZNK5doris18FunctionComparisonINS_9GreaterOpENS_11NameGreaterEE23evaluate_zonemap_filterERKNS_18ZoneMapEvalContextERKSt6vectorISt10shared_ptrINS_5VExprEESaISA_EE Line | Count | Source | 629 | 5.30k | const VExprSPtrs& arguments) const override { | 630 | 5.30k | auto op = comparison_zonemap_detail::op_from_name(name); | 631 | 5.30k | DORIS_CHECK(op.has_value()); | 632 | 5.30k | return comparison_zonemap_detail::evaluate(ctx, arguments, *op); | 633 | 5.30k | } |
_ZNK5doris18FunctionComparisonINS_17GreaterOrEqualsOpENS_19NameGreaterOrEqualsEE23evaluate_zonemap_filterERKNS_18ZoneMapEvalContextERKSt6vectorISt10shared_ptrINS_5VExprEESaISA_EE Line | Count | Source | 629 | 10.9k | const VExprSPtrs& arguments) const override { | 630 | 10.9k | auto op = comparison_zonemap_detail::op_from_name(name); | 631 | 10.9k | DORIS_CHECK(op.has_value()); | 632 | 10.9k | return comparison_zonemap_detail::evaluate(ctx, arguments, *op); | 633 | 10.9k | } |
_ZNK5doris18FunctionComparisonINS_6LessOpENS_8NameLessEE23evaluate_zonemap_filterERKNS_18ZoneMapEvalContextERKSt6vectorISt10shared_ptrINS_5VExprEESaISA_EE Line | Count | Source | 629 | 3.22k | const VExprSPtrs& arguments) const override { | 630 | 3.22k | auto op = comparison_zonemap_detail::op_from_name(name); | 631 | 3.22k | DORIS_CHECK(op.has_value()); | 632 | 3.22k | return comparison_zonemap_detail::evaluate(ctx, arguments, *op); | 633 | 3.22k | } |
_ZNK5doris18FunctionComparisonINS_14LessOrEqualsOpENS_16NameLessOrEqualsEE23evaluate_zonemap_filterERKNS_18ZoneMapEvalContextERKSt6vectorISt10shared_ptrINS_5VExprEESaISA_EE Line | Count | Source | 629 | 13.4k | const VExprSPtrs& arguments) const override { | 630 | 13.4k | auto op = comparison_zonemap_detail::op_from_name(name); | 631 | 13.4k | DORIS_CHECK(op.has_value()); | 632 | 13.4k | return comparison_zonemap_detail::evaluate(ctx, arguments, *op); | 633 | 13.4k | } |
|
634 | | |
635 | 124k | bool can_evaluate_zonemap_filter(const VExprSPtrs& arguments) const override { |
636 | 124k | return comparison_zonemap_detail::op_from_name(name).has_value() && |
637 | 124k | comparison_zonemap_detail::can_evaluate(arguments); |
638 | 124k | } _ZNK5doris18FunctionComparisonINS_8EqualsOpENS_10NameEqualsEE27can_evaluate_zonemap_filterERKSt6vectorISt10shared_ptrINS_5VExprEESaIS7_EE Line | Count | Source | 635 | 47.0k | bool can_evaluate_zonemap_filter(const VExprSPtrs& arguments) const override { | 636 | 47.0k | return comparison_zonemap_detail::op_from_name(name).has_value() && | 637 | 47.0k | comparison_zonemap_detail::can_evaluate(arguments); | 638 | 47.0k | } |
_ZNK5doris18FunctionComparisonINS_11NotEqualsOpENS_13NameNotEqualsEE27can_evaluate_zonemap_filterERKSt6vectorISt10shared_ptrINS_5VExprEESaIS7_EE Line | Count | Source | 635 | 4.62k | bool can_evaluate_zonemap_filter(const VExprSPtrs& arguments) const override { | 636 | 4.62k | return comparison_zonemap_detail::op_from_name(name).has_value() && | 637 | 4.62k | comparison_zonemap_detail::can_evaluate(arguments); | 638 | 4.62k | } |
_ZNK5doris18FunctionComparisonINS_9GreaterOpENS_11NameGreaterEE27can_evaluate_zonemap_filterERKSt6vectorISt10shared_ptrINS_5VExprEESaIS7_EE Line | Count | Source | 635 | 17.7k | bool can_evaluate_zonemap_filter(const VExprSPtrs& arguments) const override { | 636 | 17.7k | return comparison_zonemap_detail::op_from_name(name).has_value() && | 637 | 17.7k | comparison_zonemap_detail::can_evaluate(arguments); | 638 | 17.7k | } |
_ZNK5doris18FunctionComparisonINS_17GreaterOrEqualsOpENS_19NameGreaterOrEqualsEE27can_evaluate_zonemap_filterERKSt6vectorISt10shared_ptrINS_5VExprEESaIS7_EE Line | Count | Source | 635 | 21.2k | bool can_evaluate_zonemap_filter(const VExprSPtrs& arguments) const override { | 636 | 21.2k | return comparison_zonemap_detail::op_from_name(name).has_value() && | 637 | 21.2k | comparison_zonemap_detail::can_evaluate(arguments); | 638 | 21.2k | } |
_ZNK5doris18FunctionComparisonINS_6LessOpENS_8NameLessEE27can_evaluate_zonemap_filterERKSt6vectorISt10shared_ptrINS_5VExprEESaIS7_EE Line | Count | Source | 635 | 9.49k | bool can_evaluate_zonemap_filter(const VExprSPtrs& arguments) const override { | 636 | 9.49k | return comparison_zonemap_detail::op_from_name(name).has_value() && | 637 | 9.49k | comparison_zonemap_detail::can_evaluate(arguments); | 638 | 9.49k | } |
_ZNK5doris18FunctionComparisonINS_14LessOrEqualsOpENS_16NameLessOrEqualsEE27can_evaluate_zonemap_filterERKSt6vectorISt10shared_ptrINS_5VExprEESaIS7_EE Line | Count | Source | 635 | 24.0k | bool can_evaluate_zonemap_filter(const VExprSPtrs& arguments) const override { | 636 | 24.0k | return comparison_zonemap_detail::op_from_name(name).has_value() && | 637 | 24.0k | comparison_zonemap_detail::can_evaluate(arguments); | 638 | 24.0k | } |
|
639 | | |
640 | | ZoneMapFilterResult evaluate_dictionary_filter(const DictionaryEvalContext& ctx, |
641 | 660 | const VExprSPtrs& arguments) const override { |
642 | 660 | auto op = comparison_zonemap_detail::op_from_name(name); |
643 | 660 | DORIS_CHECK(op.has_value()); |
644 | 660 | return comparison_zonemap_detail::evaluate_dictionary(ctx, arguments, *op); |
645 | 660 | } _ZNK5doris18FunctionComparisonINS_8EqualsOpENS_10NameEqualsEE26evaluate_dictionary_filterERKNS_12expr_zonemap21DictionaryEvalContextERKSt6vectorISt10shared_ptrINS_5VExprEESaISB_EE Line | Count | Source | 641 | 622 | const VExprSPtrs& arguments) const override { | 642 | 622 | auto op = comparison_zonemap_detail::op_from_name(name); | 643 | 622 | DORIS_CHECK(op.has_value()); | 644 | 622 | return comparison_zonemap_detail::evaluate_dictionary(ctx, arguments, *op); | 645 | 622 | } |
_ZNK5doris18FunctionComparisonINS_11NotEqualsOpENS_13NameNotEqualsEE26evaluate_dictionary_filterERKNS_12expr_zonemap21DictionaryEvalContextERKSt6vectorISt10shared_ptrINS_5VExprEESaISB_EE Line | Count | Source | 641 | 4 | const VExprSPtrs& arguments) const override { | 642 | 4 | auto op = comparison_zonemap_detail::op_from_name(name); | 643 | 4 | DORIS_CHECK(op.has_value()); | 644 | 4 | return comparison_zonemap_detail::evaluate_dictionary(ctx, arguments, *op); | 645 | 4 | } |
_ZNK5doris18FunctionComparisonINS_9GreaterOpENS_11NameGreaterEE26evaluate_dictionary_filterERKNS_12expr_zonemap21DictionaryEvalContextERKSt6vectorISt10shared_ptrINS_5VExprEESaISB_EE Line | Count | Source | 641 | 3 | const VExprSPtrs& arguments) const override { | 642 | 3 | auto op = comparison_zonemap_detail::op_from_name(name); | 643 | 3 | DORIS_CHECK(op.has_value()); | 644 | 3 | return comparison_zonemap_detail::evaluate_dictionary(ctx, arguments, *op); | 645 | 3 | } |
_ZNK5doris18FunctionComparisonINS_17GreaterOrEqualsOpENS_19NameGreaterOrEqualsEE26evaluate_dictionary_filterERKNS_12expr_zonemap21DictionaryEvalContextERKSt6vectorISt10shared_ptrINS_5VExprEESaISB_EE Line | Count | Source | 641 | 16 | const VExprSPtrs& arguments) const override { | 642 | 16 | auto op = comparison_zonemap_detail::op_from_name(name); | 643 | 16 | DORIS_CHECK(op.has_value()); | 644 | 16 | return comparison_zonemap_detail::evaluate_dictionary(ctx, arguments, *op); | 645 | 16 | } |
_ZNK5doris18FunctionComparisonINS_6LessOpENS_8NameLessEE26evaluate_dictionary_filterERKNS_12expr_zonemap21DictionaryEvalContextERKSt6vectorISt10shared_ptrINS_5VExprEESaISB_EE Line | Count | Source | 641 | 7 | const VExprSPtrs& arguments) const override { | 642 | 7 | auto op = comparison_zonemap_detail::op_from_name(name); | 643 | 7 | DORIS_CHECK(op.has_value()); | 644 | 7 | return comparison_zonemap_detail::evaluate_dictionary(ctx, arguments, *op); | 645 | 7 | } |
_ZNK5doris18FunctionComparisonINS_14LessOrEqualsOpENS_16NameLessOrEqualsEE26evaluate_dictionary_filterERKNS_12expr_zonemap21DictionaryEvalContextERKSt6vectorISt10shared_ptrINS_5VExprEESaISB_EE Line | Count | Source | 641 | 8 | const VExprSPtrs& arguments) const override { | 642 | 8 | auto op = comparison_zonemap_detail::op_from_name(name); | 643 | 8 | DORIS_CHECK(op.has_value()); | 644 | 8 | return comparison_zonemap_detail::evaluate_dictionary(ctx, arguments, *op); | 645 | 8 | } |
|
646 | | |
647 | 17.7k | bool can_evaluate_dictionary_filter(const VExprSPtrs& arguments) const override { |
648 | 17.7k | auto op = comparison_zonemap_detail::op_from_name(name); |
649 | 17.7k | return op.has_value() && comparison_zonemap_detail::can_evaluate(arguments); |
650 | 17.7k | } _ZNK5doris18FunctionComparisonINS_8EqualsOpENS_10NameEqualsEE30can_evaluate_dictionary_filterERKSt6vectorISt10shared_ptrINS_5VExprEESaIS7_EE Line | Count | Source | 647 | 8.20k | bool can_evaluate_dictionary_filter(const VExprSPtrs& arguments) const override { | 648 | 8.20k | auto op = comparison_zonemap_detail::op_from_name(name); | 649 | 8.20k | return op.has_value() && comparison_zonemap_detail::can_evaluate(arguments); | 650 | 8.20k | } |
_ZNK5doris18FunctionComparisonINS_11NotEqualsOpENS_13NameNotEqualsEE30can_evaluate_dictionary_filterERKSt6vectorISt10shared_ptrINS_5VExprEESaIS7_EE Line | Count | Source | 647 | 909 | bool can_evaluate_dictionary_filter(const VExprSPtrs& arguments) const override { | 648 | 909 | auto op = comparison_zonemap_detail::op_from_name(name); | 649 | 909 | return op.has_value() && comparison_zonemap_detail::can_evaluate(arguments); | 650 | 909 | } |
_ZNK5doris18FunctionComparisonINS_9GreaterOpENS_11NameGreaterEE30can_evaluate_dictionary_filterERKSt6vectorISt10shared_ptrINS_5VExprEESaIS7_EE Line | Count | Source | 647 | 3.22k | bool can_evaluate_dictionary_filter(const VExprSPtrs& arguments) const override { | 648 | 3.22k | auto op = comparison_zonemap_detail::op_from_name(name); | 649 | 3.22k | return op.has_value() && comparison_zonemap_detail::can_evaluate(arguments); | 650 | 3.22k | } |
_ZNK5doris18FunctionComparisonINS_17GreaterOrEqualsOpENS_19NameGreaterOrEqualsEE30can_evaluate_dictionary_filterERKSt6vectorISt10shared_ptrINS_5VExprEESaIS7_EE Line | Count | Source | 647 | 2.42k | bool can_evaluate_dictionary_filter(const VExprSPtrs& arguments) const override { | 648 | 2.42k | auto op = comparison_zonemap_detail::op_from_name(name); | 649 | 2.43k | return op.has_value() && comparison_zonemap_detail::can_evaluate(arguments); | 650 | 2.42k | } |
_ZNK5doris18FunctionComparisonINS_6LessOpENS_8NameLessEE30can_evaluate_dictionary_filterERKSt6vectorISt10shared_ptrINS_5VExprEESaIS7_EE Line | Count | Source | 647 | 1.19k | bool can_evaluate_dictionary_filter(const VExprSPtrs& arguments) const override { | 648 | 1.19k | auto op = comparison_zonemap_detail::op_from_name(name); | 649 | 1.19k | return op.has_value() && comparison_zonemap_detail::can_evaluate(arguments); | 650 | 1.19k | } |
_ZNK5doris18FunctionComparisonINS_14LessOrEqualsOpENS_16NameLessOrEqualsEE30can_evaluate_dictionary_filterERKSt6vectorISt10shared_ptrINS_5VExprEESaIS7_EE Line | Count | Source | 647 | 1.79k | bool can_evaluate_dictionary_filter(const VExprSPtrs& arguments) const override { | 648 | 1.79k | auto op = comparison_zonemap_detail::op_from_name(name); | 649 | 1.79k | return op.has_value() && comparison_zonemap_detail::can_evaluate(arguments); | 650 | 1.79k | } |
|
651 | | |
652 | | ZoneMapFilterResult evaluate_bloom_filter(const BloomFilterEvalContext& ctx, |
653 | 14 | const VExprSPtrs& arguments) const override { |
654 | 14 | auto op = comparison_zonemap_detail::op_from_name(name); |
655 | 14 | DORIS_CHECK(op.has_value()); |
656 | 14 | return comparison_zonemap_detail::evaluate_bloom_filter(ctx, arguments, *op); |
657 | 14 | } _ZNK5doris18FunctionComparisonINS_8EqualsOpENS_10NameEqualsEE21evaluate_bloom_filterERKNS_12expr_zonemap22BloomFilterEvalContextERKSt6vectorISt10shared_ptrINS_5VExprEESaISB_EE Line | Count | Source | 653 | 14 | const VExprSPtrs& arguments) const override { | 654 | 14 | auto op = comparison_zonemap_detail::op_from_name(name); | 655 | 14 | DORIS_CHECK(op.has_value()); | 656 | 14 | return comparison_zonemap_detail::evaluate_bloom_filter(ctx, arguments, *op); | 657 | 14 | } |
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 |
658 | | |
659 | 8.63k | bool can_evaluate_bloom_filter(const VExprSPtrs& arguments) const override { |
660 | 8.63k | auto op = comparison_zonemap_detail::op_from_name(name); |
661 | 8.63k | return op.has_value() && comparison_zonemap_detail::can_evaluate_equality(arguments, *op); |
662 | 8.63k | } _ZNK5doris18FunctionComparisonINS_8EqualsOpENS_10NameEqualsEE25can_evaluate_bloom_filterERKSt6vectorISt10shared_ptrINS_5VExprEESaIS7_EE Line | Count | Source | 659 | 4.87k | bool can_evaluate_bloom_filter(const VExprSPtrs& arguments) const override { | 660 | 4.87k | auto op = comparison_zonemap_detail::op_from_name(name); | 661 | 4.87k | return op.has_value() && comparison_zonemap_detail::can_evaluate_equality(arguments, *op); | 662 | 4.87k | } |
_ZNK5doris18FunctionComparisonINS_11NotEqualsOpENS_13NameNotEqualsEE25can_evaluate_bloom_filterERKSt6vectorISt10shared_ptrINS_5VExprEESaIS7_EE Line | Count | Source | 659 | 695 | bool can_evaluate_bloom_filter(const VExprSPtrs& arguments) const override { | 660 | 695 | auto op = comparison_zonemap_detail::op_from_name(name); | 661 | 695 | return op.has_value() && comparison_zonemap_detail::can_evaluate_equality(arguments, *op); | 662 | 695 | } |
_ZNK5doris18FunctionComparisonINS_9GreaterOpENS_11NameGreaterEE25can_evaluate_bloom_filterERKSt6vectorISt10shared_ptrINS_5VExprEESaIS7_EE Line | Count | Source | 659 | 1.72k | bool can_evaluate_bloom_filter(const VExprSPtrs& arguments) const override { | 660 | 1.72k | auto op = comparison_zonemap_detail::op_from_name(name); | 661 | 1.73k | return op.has_value() && comparison_zonemap_detail::can_evaluate_equality(arguments, *op); | 662 | 1.72k | } |
_ZNK5doris18FunctionComparisonINS_17GreaterOrEqualsOpENS_19NameGreaterOrEqualsEE25can_evaluate_bloom_filterERKSt6vectorISt10shared_ptrINS_5VExprEESaIS7_EE Line | Count | Source | 659 | 536 | bool can_evaluate_bloom_filter(const VExprSPtrs& arguments) const override { | 660 | 536 | auto op = comparison_zonemap_detail::op_from_name(name); | 661 | 536 | return op.has_value() && comparison_zonemap_detail::can_evaluate_equality(arguments, *op); | 662 | 536 | } |
_ZNK5doris18FunctionComparisonINS_6LessOpENS_8NameLessEE25can_evaluate_bloom_filterERKSt6vectorISt10shared_ptrINS_5VExprEESaIS7_EE Line | Count | Source | 659 | 541 | bool can_evaluate_bloom_filter(const VExprSPtrs& arguments) const override { | 660 | 541 | auto op = comparison_zonemap_detail::op_from_name(name); | 661 | 541 | return op.has_value() && comparison_zonemap_detail::can_evaluate_equality(arguments, *op); | 662 | 541 | } |
_ZNK5doris18FunctionComparisonINS_14LessOrEqualsOpENS_16NameLessOrEqualsEE25can_evaluate_bloom_filterERKSt6vectorISt10shared_ptrINS_5VExprEESaIS7_EE Line | Count | Source | 659 | 264 | bool can_evaluate_bloom_filter(const VExprSPtrs& arguments) const override { | 660 | 264 | auto op = comparison_zonemap_detail::op_from_name(name); | 661 | 264 | return op.has_value() && comparison_zonemap_detail::can_evaluate_equality(arguments, *op); | 662 | 264 | } |
|
663 | | |
664 | | /// Get result types by argument types. If the function does not apply to these arguments, throw an exception. |
665 | 579k | DataTypePtr get_return_type_impl(const DataTypes& arguments) const override { |
666 | 579k | return std::make_shared<DataTypeUInt8>(); |
667 | 579k | } _ZNK5doris18FunctionComparisonINS_8EqualsOpENS_10NameEqualsEE20get_return_type_implERKSt6vectorISt10shared_ptrIKNS_9IDataTypeEESaIS8_EE Line | Count | Source | 665 | 486k | DataTypePtr get_return_type_impl(const DataTypes& arguments) const override { | 666 | 486k | return std::make_shared<DataTypeUInt8>(); | 667 | 486k | } |
_ZNK5doris18FunctionComparisonINS_11NotEqualsOpENS_13NameNotEqualsEE20get_return_type_implERKSt6vectorISt10shared_ptrIKNS_9IDataTypeEESaIS8_EE Line | Count | Source | 665 | 2.77k | DataTypePtr get_return_type_impl(const DataTypes& arguments) const override { | 666 | 2.77k | return std::make_shared<DataTypeUInt8>(); | 667 | 2.77k | } |
_ZNK5doris18FunctionComparisonINS_9GreaterOpENS_11NameGreaterEE20get_return_type_implERKSt6vectorISt10shared_ptrIKNS_9IDataTypeEESaIS8_EE Line | Count | Source | 665 | 43.0k | DataTypePtr get_return_type_impl(const DataTypes& arguments) const override { | 666 | 43.0k | return std::make_shared<DataTypeUInt8>(); | 667 | 43.0k | } |
_ZNK5doris18FunctionComparisonINS_17GreaterOrEqualsOpENS_19NameGreaterOrEqualsEE20get_return_type_implERKSt6vectorISt10shared_ptrIKNS_9IDataTypeEESaIS8_EE Line | Count | Source | 665 | 16.3k | DataTypePtr get_return_type_impl(const DataTypes& arguments) const override { | 666 | 16.3k | return std::make_shared<DataTypeUInt8>(); | 667 | 16.3k | } |
_ZNK5doris18FunctionComparisonINS_6LessOpENS_8NameLessEE20get_return_type_implERKSt6vectorISt10shared_ptrIKNS_9IDataTypeEESaIS8_EE Line | Count | Source | 665 | 4.60k | DataTypePtr get_return_type_impl(const DataTypes& arguments) const override { | 666 | 4.60k | return std::make_shared<DataTypeUInt8>(); | 667 | 4.60k | } |
_ZNK5doris18FunctionComparisonINS_14LessOrEqualsOpENS_16NameLessOrEqualsEE20get_return_type_implERKSt6vectorISt10shared_ptrIKNS_9IDataTypeEESaIS8_EE Line | Count | Source | 665 | 25.8k | DataTypePtr get_return_type_impl(const DataTypes& arguments) const override { | 666 | 25.8k | return std::make_shared<DataTypeUInt8>(); | 667 | 25.8k | } |
|
668 | | |
669 | | Status evaluate_inverted_index( |
670 | | const ColumnsWithTypeAndName& arguments, |
671 | | const std::vector<IndexFieldNameAndTypePair>& data_type_with_names, |
672 | | std::vector<segment_v2::IndexIterator*> iterators, uint32_t num_rows, |
673 | | const InvertedIndexAnalyzerCtx* analyzer_ctx, |
674 | 1.36k | segment_v2::InvertedIndexResultBitmap& bitmap_result) const override { |
675 | 1.36k | DCHECK(arguments.size() == 1); |
676 | 1.36k | DCHECK(data_type_with_names.size() == 1); |
677 | 1.36k | DCHECK(iterators.size() == 1); |
678 | 1.36k | auto* iter = iterators[0]; |
679 | 1.36k | auto data_type_with_name = data_type_with_names[0]; |
680 | 1.36k | if (iter == nullptr) { |
681 | 0 | return Status::OK(); |
682 | 0 | } |
683 | 1.36k | if (!segment_v2::IndexReaderHelper::has_string_or_bkd_index(iter)) { |
684 | 310 | return Status::OK(); |
685 | 310 | } |
686 | 1.05k | segment_v2::InvertedIndexQueryType query_type; |
687 | 1.05k | std::string_view name_view(name); |
688 | 1.05k | if (name_view == NameEquals::name || name_view == NameNotEquals::name) { |
689 | 729 | query_type = segment_v2::InvertedIndexQueryType::EQUAL_QUERY; |
690 | 729 | } else if (name_view == NameLess::name) { |
691 | 77 | query_type = segment_v2::InvertedIndexQueryType::LESS_THAN_QUERY; |
692 | 247 | } else if (name_view == NameLessOrEquals::name) { |
693 | 81 | query_type = segment_v2::InvertedIndexQueryType::LESS_EQUAL_QUERY; |
694 | 166 | } else if (name_view == NameGreater::name) { |
695 | 73 | query_type = segment_v2::InvertedIndexQueryType::GREATER_THAN_QUERY; |
696 | 94 | } else if (name_view == NameGreaterOrEquals::name) { |
697 | 94 | query_type = segment_v2::InvertedIndexQueryType::GREATER_EQUAL_QUERY; |
698 | 18.4E | } else { |
699 | 18.4E | return Status::InvalidArgument("invalid comparison op type {}", Name::name); |
700 | 18.4E | } |
701 | | |
702 | 1.05k | if (segment_v2::is_range_query(query_type) && |
703 | 1.05k | iter->get_reader(segment_v2::InvertedIndexReaderType::STRING_TYPE)) { |
704 | | // untokenized strings exceed ignore_above, they are written as null, causing range query errors |
705 | 133 | return Status::OK(); |
706 | 133 | } |
707 | 921 | Field param_value; |
708 | 921 | arguments[0].column->get(0, param_value); |
709 | 921 | if (param_value.is_null()) { |
710 | 2 | return Status::OK(); |
711 | 2 | } |
712 | 919 | segment_v2::InvertedIndexParam param; |
713 | 919 | param.column_name = data_type_with_name.first; |
714 | 919 | param.column_type = data_type_with_name.second; |
715 | 919 | param.query_value = param_value; |
716 | 919 | param.query_type = query_type; |
717 | 919 | param.num_rows = num_rows; |
718 | 919 | param.roaring = std::make_shared<roaring::Roaring>(); |
719 | 919 | param.analyzer_ctx = analyzer_ctx; |
720 | 919 | RETURN_IF_ERROR(iter->read_from_index(segment_v2::IndexParam {¶m})); |
721 | 759 | std::shared_ptr<roaring::Roaring> null_bitmap = std::make_shared<roaring::Roaring>(); |
722 | 759 | if (iter->has_null()) { |
723 | 759 | segment_v2::InvertedIndexQueryCacheHandle null_bitmap_cache_handle; |
724 | 759 | RETURN_IF_ERROR(iter->read_null_bitmap(&null_bitmap_cache_handle)); |
725 | 759 | null_bitmap = null_bitmap_cache_handle.get_bitmap(); |
726 | 759 | } |
727 | 759 | segment_v2::InvertedIndexResultBitmap result(param.roaring, null_bitmap); |
728 | 759 | bitmap_result = result; |
729 | 759 | bitmap_result.mask_out_null(); |
730 | | |
731 | 759 | if (name_view == NameNotEquals::name) { |
732 | 59 | roaring::Roaring full_result; |
733 | 59 | full_result.addRange(0, num_rows); |
734 | 59 | bitmap_result.op_not(&full_result); |
735 | 59 | } |
736 | | |
737 | 759 | return Status::OK(); |
738 | 759 | } _ZNK5doris18FunctionComparisonINS_8EqualsOpENS_10NameEqualsEE23evaluate_inverted_indexERKSt6vectorINS_21ColumnWithTypeAndNameESaIS5_EERKS4_ISt4pairINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt10shared_ptrIKNS_9IDataTypeEEESaISL_EES4_IPNS_10segment_v213IndexIteratorESaISS_EEjPKNS_24InvertedIndexAnalyzerCtxERNSQ_25InvertedIndexResultBitmapE Line | Count | Source | 674 | 705 | segment_v2::InvertedIndexResultBitmap& bitmap_result) const override { | 675 | 705 | DCHECK(arguments.size() == 1); | 676 | 705 | DCHECK(data_type_with_names.size() == 1); | 677 | 705 | DCHECK(iterators.size() == 1); | 678 | 705 | auto* iter = iterators[0]; | 679 | 705 | auto data_type_with_name = data_type_with_names[0]; | 680 | 705 | if (iter == nullptr) { | 681 | 0 | return Status::OK(); | 682 | 0 | } | 683 | 705 | if (!segment_v2::IndexReaderHelper::has_string_or_bkd_index(iter)) { | 684 | 42 | return Status::OK(); | 685 | 42 | } | 686 | 663 | segment_v2::InvertedIndexQueryType query_type; | 687 | 663 | std::string_view name_view(name); | 688 | 663 | if (name_view == NameEquals::name || name_view == NameNotEquals::name) { | 689 | 663 | query_type = segment_v2::InvertedIndexQueryType::EQUAL_QUERY; | 690 | 663 | } else if (name_view == NameLess::name) { | 691 | 0 | query_type = segment_v2::InvertedIndexQueryType::LESS_THAN_QUERY; | 692 | 0 | } else if (name_view == NameLessOrEquals::name) { | 693 | 0 | query_type = segment_v2::InvertedIndexQueryType::LESS_EQUAL_QUERY; | 694 | 0 | } else if (name_view == NameGreater::name) { | 695 | 0 | query_type = segment_v2::InvertedIndexQueryType::GREATER_THAN_QUERY; | 696 | 0 | } else if (name_view == NameGreaterOrEquals::name) { | 697 | 0 | query_type = segment_v2::InvertedIndexQueryType::GREATER_EQUAL_QUERY; | 698 | 0 | } else { | 699 | 0 | return Status::InvalidArgument("invalid comparison op type {}", Name::name); | 700 | 0 | } | 701 | | | 702 | 663 | if (segment_v2::is_range_query(query_type) && | 703 | 663 | iter->get_reader(segment_v2::InvertedIndexReaderType::STRING_TYPE)) { | 704 | | // untokenized strings exceed ignore_above, they are written as null, causing range query errors | 705 | 0 | return Status::OK(); | 706 | 0 | } | 707 | 663 | Field param_value; | 708 | 663 | arguments[0].column->get(0, param_value); | 709 | 663 | if (param_value.is_null()) { | 710 | 2 | return Status::OK(); | 711 | 2 | } | 712 | 661 | segment_v2::InvertedIndexParam param; | 713 | 661 | param.column_name = data_type_with_name.first; | 714 | 661 | param.column_type = data_type_with_name.second; | 715 | 661 | param.query_value = param_value; | 716 | 661 | param.query_type = query_type; | 717 | 661 | param.num_rows = num_rows; | 718 | 661 | param.roaring = std::make_shared<roaring::Roaring>(); | 719 | 661 | param.analyzer_ctx = analyzer_ctx; | 720 | 661 | RETURN_IF_ERROR(iter->read_from_index(segment_v2::IndexParam {¶m})); | 721 | 608 | std::shared_ptr<roaring::Roaring> null_bitmap = std::make_shared<roaring::Roaring>(); | 722 | 608 | if (iter->has_null()) { | 723 | 608 | segment_v2::InvertedIndexQueryCacheHandle null_bitmap_cache_handle; | 724 | 608 | RETURN_IF_ERROR(iter->read_null_bitmap(&null_bitmap_cache_handle)); | 725 | 608 | null_bitmap = null_bitmap_cache_handle.get_bitmap(); | 726 | 608 | } | 727 | 608 | segment_v2::InvertedIndexResultBitmap result(param.roaring, null_bitmap); | 728 | 608 | bitmap_result = result; | 729 | 608 | bitmap_result.mask_out_null(); | 730 | | | 731 | 608 | if (name_view == NameNotEquals::name) { | 732 | 0 | roaring::Roaring full_result; | 733 | 0 | full_result.addRange(0, num_rows); | 734 | 0 | bitmap_result.op_not(&full_result); | 735 | 0 | } | 736 | | | 737 | 608 | return Status::OK(); | 738 | 608 | } |
_ZNK5doris18FunctionComparisonINS_11NotEqualsOpENS_13NameNotEqualsEE23evaluate_inverted_indexERKSt6vectorINS_21ColumnWithTypeAndNameESaIS5_EERKS4_ISt4pairINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt10shared_ptrIKNS_9IDataTypeEEESaISL_EES4_IPNS_10segment_v213IndexIteratorESaISS_EEjPKNS_24InvertedIndexAnalyzerCtxERNSQ_25InvertedIndexResultBitmapE Line | Count | Source | 674 | 72 | segment_v2::InvertedIndexResultBitmap& bitmap_result) const override { | 675 | 72 | DCHECK(arguments.size() == 1); | 676 | 72 | DCHECK(data_type_with_names.size() == 1); | 677 | 72 | DCHECK(iterators.size() == 1); | 678 | 72 | auto* iter = iterators[0]; | 679 | 72 | auto data_type_with_name = data_type_with_names[0]; | 680 | 72 | if (iter == nullptr) { | 681 | 0 | return Status::OK(); | 682 | 0 | } | 683 | 72 | if (!segment_v2::IndexReaderHelper::has_string_or_bkd_index(iter)) { | 684 | 6 | return Status::OK(); | 685 | 6 | } | 686 | 66 | segment_v2::InvertedIndexQueryType query_type; | 687 | 66 | std::string_view name_view(name); | 688 | 66 | if (name_view == NameEquals::name || name_view == NameNotEquals::name) { | 689 | 66 | query_type = segment_v2::InvertedIndexQueryType::EQUAL_QUERY; | 690 | 66 | } else if (name_view == NameLess::name) { | 691 | 0 | query_type = segment_v2::InvertedIndexQueryType::LESS_THAN_QUERY; | 692 | 0 | } else if (name_view == NameLessOrEquals::name) { | 693 | 0 | query_type = segment_v2::InvertedIndexQueryType::LESS_EQUAL_QUERY; | 694 | 0 | } else if (name_view == NameGreater::name) { | 695 | 0 | query_type = segment_v2::InvertedIndexQueryType::GREATER_THAN_QUERY; | 696 | 0 | } else if (name_view == NameGreaterOrEquals::name) { | 697 | 0 | query_type = segment_v2::InvertedIndexQueryType::GREATER_EQUAL_QUERY; | 698 | 0 | } else { | 699 | 0 | return Status::InvalidArgument("invalid comparison op type {}", Name::name); | 700 | 0 | } | 701 | | | 702 | 66 | if (segment_v2::is_range_query(query_type) && | 703 | 66 | iter->get_reader(segment_v2::InvertedIndexReaderType::STRING_TYPE)) { | 704 | | // untokenized strings exceed ignore_above, they are written as null, causing range query errors | 705 | 0 | return Status::OK(); | 706 | 0 | } | 707 | 66 | Field param_value; | 708 | 66 | arguments[0].column->get(0, param_value); | 709 | 66 | if (param_value.is_null()) { | 710 | 0 | return Status::OK(); | 711 | 0 | } | 712 | 66 | segment_v2::InvertedIndexParam param; | 713 | 66 | param.column_name = data_type_with_name.first; | 714 | 66 | param.column_type = data_type_with_name.second; | 715 | 66 | param.query_value = param_value; | 716 | 66 | param.query_type = query_type; | 717 | 66 | param.num_rows = num_rows; | 718 | 66 | param.roaring = std::make_shared<roaring::Roaring>(); | 719 | 66 | param.analyzer_ctx = analyzer_ctx; | 720 | 66 | RETURN_IF_ERROR(iter->read_from_index(segment_v2::IndexParam {¶m})); | 721 | 59 | std::shared_ptr<roaring::Roaring> null_bitmap = std::make_shared<roaring::Roaring>(); | 722 | 59 | if (iter->has_null()) { | 723 | 59 | segment_v2::InvertedIndexQueryCacheHandle null_bitmap_cache_handle; | 724 | 59 | RETURN_IF_ERROR(iter->read_null_bitmap(&null_bitmap_cache_handle)); | 725 | 59 | null_bitmap = null_bitmap_cache_handle.get_bitmap(); | 726 | 59 | } | 727 | 59 | segment_v2::InvertedIndexResultBitmap result(param.roaring, null_bitmap); | 728 | 59 | bitmap_result = result; | 729 | 59 | bitmap_result.mask_out_null(); | 730 | | | 731 | 59 | if (name_view == NameNotEquals::name) { | 732 | 59 | roaring::Roaring full_result; | 733 | 59 | full_result.addRange(0, num_rows); | 734 | 59 | bitmap_result.op_not(&full_result); | 735 | 59 | } | 736 | | | 737 | 59 | return Status::OK(); | 738 | 59 | } |
_ZNK5doris18FunctionComparisonINS_9GreaterOpENS_11NameGreaterEE23evaluate_inverted_indexERKSt6vectorINS_21ColumnWithTypeAndNameESaIS5_EERKS4_ISt4pairINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt10shared_ptrIKNS_9IDataTypeEEESaISL_EES4_IPNS_10segment_v213IndexIteratorESaISS_EEjPKNS_24InvertedIndexAnalyzerCtxERNSQ_25InvertedIndexResultBitmapE Line | Count | Source | 674 | 112 | segment_v2::InvertedIndexResultBitmap& bitmap_result) const override { | 675 | 112 | DCHECK(arguments.size() == 1); | 676 | 112 | DCHECK(data_type_with_names.size() == 1); | 677 | 112 | DCHECK(iterators.size() == 1); | 678 | 112 | auto* iter = iterators[0]; | 679 | 112 | auto data_type_with_name = data_type_with_names[0]; | 680 | 112 | if (iter == nullptr) { | 681 | 0 | return Status::OK(); | 682 | 0 | } | 683 | 112 | if (!segment_v2::IndexReaderHelper::has_string_or_bkd_index(iter)) { | 684 | 39 | return Status::OK(); | 685 | 39 | } | 686 | 73 | segment_v2::InvertedIndexQueryType query_type; | 687 | 73 | std::string_view name_view(name); | 688 | 73 | if (name_view == NameEquals::name || name_view == NameNotEquals::name) { | 689 | 0 | query_type = segment_v2::InvertedIndexQueryType::EQUAL_QUERY; | 690 | 73 | } else if (name_view == NameLess::name) { | 691 | 0 | query_type = segment_v2::InvertedIndexQueryType::LESS_THAN_QUERY; | 692 | 73 | } else if (name_view == NameLessOrEquals::name) { | 693 | 0 | query_type = segment_v2::InvertedIndexQueryType::LESS_EQUAL_QUERY; | 694 | 73 | } else if (name_view == NameGreater::name) { | 695 | 73 | query_type = segment_v2::InvertedIndexQueryType::GREATER_THAN_QUERY; | 696 | 73 | } else if (name_view == NameGreaterOrEquals::name) { | 697 | 0 | query_type = segment_v2::InvertedIndexQueryType::GREATER_EQUAL_QUERY; | 698 | 0 | } else { | 699 | 0 | return Status::InvalidArgument("invalid comparison op type {}", Name::name); | 700 | 0 | } | 701 | | | 702 | 73 | if (segment_v2::is_range_query(query_type) && | 703 | 73 | iter->get_reader(segment_v2::InvertedIndexReaderType::STRING_TYPE)) { | 704 | | // untokenized strings exceed ignore_above, they are written as null, causing range query errors | 705 | 17 | return Status::OK(); | 706 | 17 | } | 707 | 56 | Field param_value; | 708 | 56 | arguments[0].column->get(0, param_value); | 709 | 56 | if (param_value.is_null()) { | 710 | 0 | return Status::OK(); | 711 | 0 | } | 712 | 56 | segment_v2::InvertedIndexParam param; | 713 | 56 | param.column_name = data_type_with_name.first; | 714 | 56 | param.column_type = data_type_with_name.second; | 715 | 56 | param.query_value = param_value; | 716 | 56 | param.query_type = query_type; | 717 | 56 | param.num_rows = num_rows; | 718 | 56 | param.roaring = std::make_shared<roaring::Roaring>(); | 719 | 56 | param.analyzer_ctx = analyzer_ctx; | 720 | 56 | RETURN_IF_ERROR(iter->read_from_index(segment_v2::IndexParam {¶m})); | 721 | 37 | std::shared_ptr<roaring::Roaring> null_bitmap = std::make_shared<roaring::Roaring>(); | 722 | 37 | if (iter->has_null()) { | 723 | 37 | segment_v2::InvertedIndexQueryCacheHandle null_bitmap_cache_handle; | 724 | 37 | RETURN_IF_ERROR(iter->read_null_bitmap(&null_bitmap_cache_handle)); | 725 | 37 | null_bitmap = null_bitmap_cache_handle.get_bitmap(); | 726 | 37 | } | 727 | 37 | segment_v2::InvertedIndexResultBitmap result(param.roaring, null_bitmap); | 728 | 37 | bitmap_result = result; | 729 | 37 | bitmap_result.mask_out_null(); | 730 | | | 731 | 37 | if (name_view == NameNotEquals::name) { | 732 | 0 | roaring::Roaring full_result; | 733 | 0 | full_result.addRange(0, num_rows); | 734 | 0 | bitmap_result.op_not(&full_result); | 735 | 0 | } | 736 | | | 737 | 37 | return Status::OK(); | 738 | 37 | } |
_ZNK5doris18FunctionComparisonINS_17GreaterOrEqualsOpENS_19NameGreaterOrEqualsEE23evaluate_inverted_indexERKSt6vectorINS_21ColumnWithTypeAndNameESaIS5_EERKS4_ISt4pairINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt10shared_ptrIKNS_9IDataTypeEEESaISL_EES4_IPNS_10segment_v213IndexIteratorESaISS_EEjPKNS_24InvertedIndexAnalyzerCtxERNSQ_25InvertedIndexResultBitmapE Line | Count | Source | 674 | 180 | segment_v2::InvertedIndexResultBitmap& bitmap_result) const override { | 675 | 180 | DCHECK(arguments.size() == 1); | 676 | 180 | DCHECK(data_type_with_names.size() == 1); | 677 | 180 | DCHECK(iterators.size() == 1); | 678 | 180 | auto* iter = iterators[0]; | 679 | 180 | auto data_type_with_name = data_type_with_names[0]; | 680 | 180 | if (iter == nullptr) { | 681 | 0 | return Status::OK(); | 682 | 0 | } | 683 | 180 | if (!segment_v2::IndexReaderHelper::has_string_or_bkd_index(iter)) { | 684 | 86 | return Status::OK(); | 685 | 86 | } | 686 | 94 | segment_v2::InvertedIndexQueryType query_type; | 687 | 94 | std::string_view name_view(name); | 688 | 95 | if (name_view == NameEquals::name || name_view == NameNotEquals::name) { | 689 | 0 | query_type = segment_v2::InvertedIndexQueryType::EQUAL_QUERY; | 690 | 94 | } else if (name_view == NameLess::name) { | 691 | 0 | query_type = segment_v2::InvertedIndexQueryType::LESS_THAN_QUERY; | 692 | 94 | } else if (name_view == NameLessOrEquals::name) { | 693 | 0 | query_type = segment_v2::InvertedIndexQueryType::LESS_EQUAL_QUERY; | 694 | 94 | } else if (name_view == NameGreater::name) { | 695 | 0 | query_type = segment_v2::InvertedIndexQueryType::GREATER_THAN_QUERY; | 696 | 94 | } else if (name_view == NameGreaterOrEquals::name) { | 697 | 94 | query_type = segment_v2::InvertedIndexQueryType::GREATER_EQUAL_QUERY; | 698 | 94 | } else { | 699 | 0 | return Status::InvalidArgument("invalid comparison op type {}", Name::name); | 700 | 0 | } | 701 | | | 702 | 94 | if (segment_v2::is_range_query(query_type) && | 703 | 94 | iter->get_reader(segment_v2::InvertedIndexReaderType::STRING_TYPE)) { | 704 | | // untokenized strings exceed ignore_above, they are written as null, causing range query errors | 705 | 47 | return Status::OK(); | 706 | 47 | } | 707 | 47 | Field param_value; | 708 | 47 | arguments[0].column->get(0, param_value); | 709 | 47 | if (param_value.is_null()) { | 710 | 0 | return Status::OK(); | 711 | 0 | } | 712 | 47 | segment_v2::InvertedIndexParam param; | 713 | 47 | param.column_name = data_type_with_name.first; | 714 | 47 | param.column_type = data_type_with_name.second; | 715 | 47 | param.query_value = param_value; | 716 | 47 | param.query_type = query_type; | 717 | 47 | param.num_rows = num_rows; | 718 | 47 | param.roaring = std::make_shared<roaring::Roaring>(); | 719 | 47 | param.analyzer_ctx = analyzer_ctx; | 720 | 47 | RETURN_IF_ERROR(iter->read_from_index(segment_v2::IndexParam {¶m})); | 721 | 6 | std::shared_ptr<roaring::Roaring> null_bitmap = std::make_shared<roaring::Roaring>(); | 722 | 7 | if (iter->has_null()) { | 723 | 7 | segment_v2::InvertedIndexQueryCacheHandle null_bitmap_cache_handle; | 724 | 7 | RETURN_IF_ERROR(iter->read_null_bitmap(&null_bitmap_cache_handle)); | 725 | 7 | null_bitmap = null_bitmap_cache_handle.get_bitmap(); | 726 | 7 | } | 727 | 6 | segment_v2::InvertedIndexResultBitmap result(param.roaring, null_bitmap); | 728 | 6 | bitmap_result = result; | 729 | 6 | bitmap_result.mask_out_null(); | 730 | | | 731 | 6 | if (name_view == NameNotEquals::name) { | 732 | 0 | roaring::Roaring full_result; | 733 | 0 | full_result.addRange(0, num_rows); | 734 | 0 | bitmap_result.op_not(&full_result); | 735 | 0 | } | 736 | | | 737 | 6 | return Status::OK(); | 738 | 6 | } |
_ZNK5doris18FunctionComparisonINS_6LessOpENS_8NameLessEE23evaluate_inverted_indexERKSt6vectorINS_21ColumnWithTypeAndNameESaIS5_EERKS4_ISt4pairINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt10shared_ptrIKNS_9IDataTypeEEESaISL_EES4_IPNS_10segment_v213IndexIteratorESaISS_EEjPKNS_24InvertedIndexAnalyzerCtxERNSQ_25InvertedIndexResultBitmapE Line | Count | Source | 674 | 120 | segment_v2::InvertedIndexResultBitmap& bitmap_result) const override { | 675 | 120 | DCHECK(arguments.size() == 1); | 676 | 120 | DCHECK(data_type_with_names.size() == 1); | 677 | 120 | DCHECK(iterators.size() == 1); | 678 | 120 | auto* iter = iterators[0]; | 679 | 120 | auto data_type_with_name = data_type_with_names[0]; | 680 | 120 | if (iter == nullptr) { | 681 | 0 | return Status::OK(); | 682 | 0 | } | 683 | 120 | if (!segment_v2::IndexReaderHelper::has_string_or_bkd_index(iter)) { | 684 | 43 | return Status::OK(); | 685 | 43 | } | 686 | 77 | segment_v2::InvertedIndexQueryType query_type; | 687 | 77 | std::string_view name_view(name); | 688 | 77 | if (name_view == NameEquals::name || name_view == NameNotEquals::name) { | 689 | 0 | query_type = segment_v2::InvertedIndexQueryType::EQUAL_QUERY; | 690 | 77 | } else if (name_view == NameLess::name) { | 691 | 77 | query_type = segment_v2::InvertedIndexQueryType::LESS_THAN_QUERY; | 692 | 77 | } else if (name_view == NameLessOrEquals::name) { | 693 | 0 | query_type = segment_v2::InvertedIndexQueryType::LESS_EQUAL_QUERY; | 694 | 0 | } else if (name_view == NameGreater::name) { | 695 | 0 | query_type = segment_v2::InvertedIndexQueryType::GREATER_THAN_QUERY; | 696 | 0 | } else if (name_view == NameGreaterOrEquals::name) { | 697 | 0 | query_type = segment_v2::InvertedIndexQueryType::GREATER_EQUAL_QUERY; | 698 | 0 | } else { | 699 | 0 | return Status::InvalidArgument("invalid comparison op type {}", Name::name); | 700 | 0 | } | 701 | | | 702 | 77 | if (segment_v2::is_range_query(query_type) && | 703 | 77 | iter->get_reader(segment_v2::InvertedIndexReaderType::STRING_TYPE)) { | 704 | | // untokenized strings exceed ignore_above, they are written as null, causing range query errors | 705 | 18 | return Status::OK(); | 706 | 18 | } | 707 | 59 | Field param_value; | 708 | 59 | arguments[0].column->get(0, param_value); | 709 | 59 | if (param_value.is_null()) { | 710 | 0 | return Status::OK(); | 711 | 0 | } | 712 | 59 | segment_v2::InvertedIndexParam param; | 713 | 59 | param.column_name = data_type_with_name.first; | 714 | 59 | param.column_type = data_type_with_name.second; | 715 | 59 | param.query_value = param_value; | 716 | 59 | param.query_type = query_type; | 717 | 59 | param.num_rows = num_rows; | 718 | 59 | param.roaring = std::make_shared<roaring::Roaring>(); | 719 | 59 | param.analyzer_ctx = analyzer_ctx; | 720 | 59 | RETURN_IF_ERROR(iter->read_from_index(segment_v2::IndexParam {¶m})); | 721 | 39 | std::shared_ptr<roaring::Roaring> null_bitmap = std::make_shared<roaring::Roaring>(); | 722 | 39 | if (iter->has_null()) { | 723 | 39 | segment_v2::InvertedIndexQueryCacheHandle null_bitmap_cache_handle; | 724 | 39 | RETURN_IF_ERROR(iter->read_null_bitmap(&null_bitmap_cache_handle)); | 725 | 39 | null_bitmap = null_bitmap_cache_handle.get_bitmap(); | 726 | 39 | } | 727 | 39 | segment_v2::InvertedIndexResultBitmap result(param.roaring, null_bitmap); | 728 | 39 | bitmap_result = result; | 729 | 39 | bitmap_result.mask_out_null(); | 730 | | | 731 | 39 | if (name_view == NameNotEquals::name) { | 732 | 0 | roaring::Roaring full_result; | 733 | 0 | full_result.addRange(0, num_rows); | 734 | 0 | bitmap_result.op_not(&full_result); | 735 | 0 | } | 736 | | | 737 | 39 | return Status::OK(); | 738 | 39 | } |
_ZNK5doris18FunctionComparisonINS_14LessOrEqualsOpENS_16NameLessOrEqualsEE23evaluate_inverted_indexERKSt6vectorINS_21ColumnWithTypeAndNameESaIS5_EERKS4_ISt4pairINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt10shared_ptrIKNS_9IDataTypeEEESaISL_EES4_IPNS_10segment_v213IndexIteratorESaISS_EEjPKNS_24InvertedIndexAnalyzerCtxERNSQ_25InvertedIndexResultBitmapE Line | Count | Source | 674 | 174 | segment_v2::InvertedIndexResultBitmap& bitmap_result) const override { | 675 | 174 | DCHECK(arguments.size() == 1); | 676 | 174 | DCHECK(data_type_with_names.size() == 1); | 677 | 174 | DCHECK(iterators.size() == 1); | 678 | 174 | auto* iter = iterators[0]; | 679 | 174 | auto data_type_with_name = data_type_with_names[0]; | 680 | 174 | if (iter == nullptr) { | 681 | 0 | return Status::OK(); | 682 | 0 | } | 683 | 174 | if (!segment_v2::IndexReaderHelper::has_string_or_bkd_index(iter)) { | 684 | 94 | return Status::OK(); | 685 | 94 | } | 686 | 80 | segment_v2::InvertedIndexQueryType query_type; | 687 | 80 | std::string_view name_view(name); | 688 | 81 | if (name_view == NameEquals::name || name_view == NameNotEquals::name) { | 689 | 0 | query_type = segment_v2::InvertedIndexQueryType::EQUAL_QUERY; | 690 | 80 | } else if (name_view == NameLess::name) { | 691 | 0 | query_type = segment_v2::InvertedIndexQueryType::LESS_THAN_QUERY; | 692 | 81 | } else if (name_view == NameLessOrEquals::name) { | 693 | 81 | query_type = segment_v2::InvertedIndexQueryType::LESS_EQUAL_QUERY; | 694 | 18.4E | } else if (name_view == NameGreater::name) { | 695 | 0 | query_type = segment_v2::InvertedIndexQueryType::GREATER_THAN_QUERY; | 696 | 18.4E | } else if (name_view == NameGreaterOrEquals::name) { | 697 | 0 | query_type = segment_v2::InvertedIndexQueryType::GREATER_EQUAL_QUERY; | 698 | 18.4E | } else { | 699 | 18.4E | return Status::InvalidArgument("invalid comparison op type {}", Name::name); | 700 | 18.4E | } | 701 | | | 702 | 81 | if (segment_v2::is_range_query(query_type) && | 703 | 81 | iter->get_reader(segment_v2::InvertedIndexReaderType::STRING_TYPE)) { | 704 | | // untokenized strings exceed ignore_above, they are written as null, causing range query errors | 705 | 51 | return Status::OK(); | 706 | 51 | } | 707 | 30 | Field param_value; | 708 | 30 | arguments[0].column->get(0, param_value); | 709 | 30 | if (param_value.is_null()) { | 710 | 0 | return Status::OK(); | 711 | 0 | } | 712 | 30 | segment_v2::InvertedIndexParam param; | 713 | 30 | param.column_name = data_type_with_name.first; | 714 | 30 | param.column_type = data_type_with_name.second; | 715 | 30 | param.query_value = param_value; | 716 | 30 | param.query_type = query_type; | 717 | 30 | param.num_rows = num_rows; | 718 | 30 | param.roaring = std::make_shared<roaring::Roaring>(); | 719 | 30 | param.analyzer_ctx = analyzer_ctx; | 720 | 30 | RETURN_IF_ERROR(iter->read_from_index(segment_v2::IndexParam {¶m})); | 721 | 10 | std::shared_ptr<roaring::Roaring> null_bitmap = std::make_shared<roaring::Roaring>(); | 722 | 10 | if (iter->has_null()) { | 723 | 9 | segment_v2::InvertedIndexQueryCacheHandle null_bitmap_cache_handle; | 724 | 9 | RETURN_IF_ERROR(iter->read_null_bitmap(&null_bitmap_cache_handle)); | 725 | 9 | null_bitmap = null_bitmap_cache_handle.get_bitmap(); | 726 | 9 | } | 727 | 10 | segment_v2::InvertedIndexResultBitmap result(param.roaring, null_bitmap); | 728 | 10 | bitmap_result = result; | 729 | 10 | bitmap_result.mask_out_null(); | 730 | | | 731 | 10 | if (name_view == NameNotEquals::name) { | 732 | 0 | roaring::Roaring full_result; | 733 | 0 | full_result.addRange(0, num_rows); | 734 | 0 | bitmap_result.op_not(&full_result); | 735 | 0 | } | 736 | | | 737 | 10 | return Status::OK(); | 738 | 10 | } |
|
739 | | |
740 | | Status execute_impl(FunctionContext* context, Block& block, const ColumnNumbers& arguments, |
741 | 191k | uint32_t result, size_t input_rows_count) const override { |
742 | 191k | const auto& col_with_type_and_name_left = block.get_by_position(arguments[0]); |
743 | 191k | const auto& col_with_type_and_name_right = block.get_by_position(arguments[1]); |
744 | | |
745 | 191k | const auto& col_left_ptr = col_with_type_and_name_left.column; |
746 | 191k | const auto& col_right_ptr = col_with_type_and_name_right.column; |
747 | 191k | const IColumn* col_left_untyped = col_with_type_and_name_left.column.get(); |
748 | 191k | const IColumn* col_right_untyped = col_with_type_and_name_right.column.get(); |
749 | | |
750 | 191k | const DataTypePtr& left_type = col_with_type_and_name_left.type; |
751 | 191k | const DataTypePtr& right_type = col_with_type_and_name_right.type; |
752 | | |
753 | | /// The case when arguments are the same (tautological comparison). Return constant. |
754 | | /// NOTE: Nullable types are special case. (BTW, this function use default implementation for Nullable, so Nullable types cannot be here. Check just in case.) |
755 | | /// NOTE: We consider NaN comparison to be implementation specific (and in our implementation NaNs are sometimes equal sometimes not). |
756 | 191k | if (left_type->equals(*right_type) && !left_type->is_nullable() && |
757 | 191k | col_left_untyped == col_right_untyped) { |
758 | | /// Always true: =, <=, >= |
759 | | // TODO: Return const column in the future. But seems so far to do. We need a unified approach for passing const column. |
760 | | if constexpr (std::is_same_v<Op<TYPE_INT>, EqualsOp<TYPE_INT>> || |
761 | | std::is_same_v<Op<TYPE_INT>, LessOrEqualsOp<TYPE_INT>> || |
762 | 0 | std::is_same_v<Op<TYPE_INT>, GreaterOrEqualsOp<TYPE_INT>>) { |
763 | 0 | block.get_by_position(result).column = |
764 | 0 | DataTypeUInt8() |
765 | 0 | .create_column_const(input_rows_count, |
766 | 0 | Field::create_field<TYPE_BOOLEAN>(1)) |
767 | 0 | ->convert_to_full_column_if_const(); |
768 | 0 | return Status::OK(); |
769 | 0 | } else { |
770 | 0 | block.get_by_position(result).column = |
771 | 0 | DataTypeUInt8() |
772 | 0 | .create_column_const(input_rows_count, |
773 | 0 | Field::create_field<TYPE_BOOLEAN>(0)) |
774 | 0 | ->convert_to_full_column_if_const(); |
775 | 0 | return Status::OK(); |
776 | 0 | } |
777 | 0 | } |
778 | | |
779 | 340k | auto can_compare = [](PrimitiveType t) -> bool { |
780 | 340k | return is_int_or_bool(t) || is_float_or_double(t) || is_ip(t) || is_date_type(t); |
781 | 340k | }; _ZZNK5doris18FunctionComparisonINS_8EqualsOpENS_10NameEqualsEE12execute_implEPNS_15FunctionContextERNS_5BlockERKSt6vectorIjSaIjEEjmENKUlNS_13PrimitiveTypeEE_clESD_ Line | Count | Source | 779 | 102k | auto can_compare = [](PrimitiveType t) -> bool { | 780 | 102k | return is_int_or_bool(t) || is_float_or_double(t) || is_ip(t) || is_date_type(t); | 781 | 102k | }; |
_ZZNK5doris18FunctionComparisonINS_11NotEqualsOpENS_13NameNotEqualsEE12execute_implEPNS_15FunctionContextERNS_5BlockERKSt6vectorIjSaIjEEjmENKUlNS_13PrimitiveTypeEE_clESD_ Line | Count | Source | 779 | 14.7k | auto can_compare = [](PrimitiveType t) -> bool { | 780 | 14.7k | return is_int_or_bool(t) || is_float_or_double(t) || is_ip(t) || is_date_type(t); | 781 | 14.7k | }; |
_ZZNK5doris18FunctionComparisonINS_9GreaterOpENS_11NameGreaterEE12execute_implEPNS_15FunctionContextERNS_5BlockERKSt6vectorIjSaIjEEjmENKUlNS_13PrimitiveTypeEE_clESD_ Line | Count | Source | 779 | 85.0k | auto can_compare = [](PrimitiveType t) -> bool { | 780 | 85.0k | return is_int_or_bool(t) || is_float_or_double(t) || is_ip(t) || is_date_type(t); | 781 | 85.0k | }; |
_ZZNK5doris18FunctionComparisonINS_17GreaterOrEqualsOpENS_19NameGreaterOrEqualsEE12execute_implEPNS_15FunctionContextERNS_5BlockERKSt6vectorIjSaIjEEjmENKUlNS_13PrimitiveTypeEE_clESD_ Line | Count | Source | 779 | 42.5k | auto can_compare = [](PrimitiveType t) -> bool { | 780 | 42.5k | return is_int_or_bool(t) || is_float_or_double(t) || is_ip(t) || is_date_type(t); | 781 | 42.5k | }; |
_ZZNK5doris18FunctionComparisonINS_6LessOpENS_8NameLessEE12execute_implEPNS_15FunctionContextERNS_5BlockERKSt6vectorIjSaIjEEjmENKUlNS_13PrimitiveTypeEE_clESD_ Line | Count | Source | 779 | 23.8k | auto can_compare = [](PrimitiveType t) -> bool { | 780 | 23.8k | return is_int_or_bool(t) || is_float_or_double(t) || is_ip(t) || is_date_type(t); | 781 | 23.8k | }; |
_ZZNK5doris18FunctionComparisonINS_14LessOrEqualsOpENS_16NameLessOrEqualsEE12execute_implEPNS_15FunctionContextERNS_5BlockERKSt6vectorIjSaIjEEjmENKUlNS_13PrimitiveTypeEE_clESD_ Line | Count | Source | 779 | 71.6k | auto can_compare = [](PrimitiveType t) -> bool { | 780 | 71.6k | return is_int_or_bool(t) || is_float_or_double(t) || is_ip(t) || is_date_type(t); | 781 | 71.6k | }; |
|
782 | | |
783 | 191k | if (can_compare(left_type->get_primitive_type()) && |
784 | 191k | can_compare(right_type->get_primitive_type())) { |
785 | | // check left type equals right type TODO: remove this after FE is aware of scales difference |
786 | 148k | if (!left_type->equals_ignore_precision(*right_type)) { |
787 | 0 | return Status::RuntimeError("not same type in function {} , left : {} , right : {}", |
788 | 0 | get_name(), left_type->get_name(), |
789 | 0 | right_type->get_name()); |
790 | 0 | } |
791 | 148k | } |
792 | | |
793 | 191k | auto compare_type = left_type->get_primitive_type(); |
794 | 191k | switch (compare_type) { |
795 | 2.02k | case TYPE_BOOLEAN: |
796 | 2.02k | return execute_num_type<TYPE_BOOLEAN>(block, result, col_left_ptr, col_right_ptr); |
797 | 13.6k | case TYPE_DATEV2: |
798 | 13.6k | return execute_num_type<TYPE_DATEV2>(block, result, col_left_ptr, col_right_ptr); |
799 | 2.74k | case TYPE_DATETIMEV2: |
800 | 2.74k | return execute_num_type<TYPE_DATETIMEV2>(block, result, col_left_ptr, col_right_ptr); |
801 | 7 | case TYPE_TIMESTAMPTZ: |
802 | 7 | return execute_num_type<TYPE_TIMESTAMPTZ>(block, result, col_left_ptr, col_right_ptr); |
803 | 9.00k | case TYPE_TINYINT: |
804 | 9.00k | return execute_num_type<TYPE_TINYINT>(block, result, col_left_ptr, col_right_ptr); |
805 | 3.07k | case TYPE_SMALLINT: |
806 | 3.07k | return execute_num_type<TYPE_SMALLINT>(block, result, col_left_ptr, col_right_ptr); |
807 | 74.1k | case TYPE_INT: |
808 | 74.1k | return execute_num_type<TYPE_INT>(block, result, col_left_ptr, col_right_ptr); |
809 | 38.2k | case TYPE_BIGINT: |
810 | 38.2k | return execute_num_type<TYPE_BIGINT>(block, result, col_left_ptr, col_right_ptr); |
811 | 764 | case TYPE_LARGEINT: |
812 | 764 | return execute_num_type<TYPE_LARGEINT>(block, result, col_left_ptr, col_right_ptr); |
813 | 63 | case TYPE_IPV4: |
814 | 63 | return execute_num_type<TYPE_IPV4>(block, result, col_left_ptr, col_right_ptr); |
815 | 37 | case TYPE_IPV6: |
816 | 37 | return execute_num_type<TYPE_IPV6>(block, result, col_left_ptr, col_right_ptr); |
817 | 998 | case TYPE_FLOAT: |
818 | 998 | return execute_num_type<TYPE_FLOAT>(block, result, col_left_ptr, col_right_ptr); |
819 | 3.63k | case TYPE_DOUBLE: |
820 | 3.63k | return execute_num_type<TYPE_DOUBLE>(block, result, col_left_ptr, col_right_ptr); |
821 | 4 | case TYPE_TIMEV2: |
822 | 4 | return execute_num_type<TYPE_TIMEV2>(block, result, col_left_ptr, col_right_ptr); |
823 | 0 | case TYPE_DECIMALV2: |
824 | 512 | case TYPE_DECIMAL32: |
825 | 8.46k | case TYPE_DECIMAL64: |
826 | 12.8k | case TYPE_DECIMAL128I: |
827 | 12.9k | case TYPE_DECIMAL256: |
828 | 12.9k | return execute_decimal(block, result, col_with_type_and_name_left, |
829 | 12.9k | col_with_type_and_name_right); |
830 | 889 | case TYPE_CHAR: |
831 | 10.2k | case TYPE_VARCHAR: |
832 | 29.8k | case TYPE_STRING: |
833 | 29.8k | return execute_string(block, result, col_left_untyped, col_right_untyped); |
834 | 181 | default: |
835 | 181 | return execute_generic(block, result, col_with_type_and_name_left, |
836 | 181 | col_with_type_and_name_right); |
837 | 191k | } |
838 | 0 | return Status::OK(); |
839 | 191k | } _ZNK5doris18FunctionComparisonINS_8EqualsOpENS_10NameEqualsEE12execute_implEPNS_15FunctionContextERNS_5BlockERKSt6vectorIjSaIjEEjm Line | Count | Source | 741 | 64.4k | uint32_t result, size_t input_rows_count) const override { | 742 | 64.4k | const auto& col_with_type_and_name_left = block.get_by_position(arguments[0]); | 743 | 64.4k | const auto& col_with_type_and_name_right = block.get_by_position(arguments[1]); | 744 | | | 745 | 64.4k | const auto& col_left_ptr = col_with_type_and_name_left.column; | 746 | 64.4k | const auto& col_right_ptr = col_with_type_and_name_right.column; | 747 | 64.4k | const IColumn* col_left_untyped = col_with_type_and_name_left.column.get(); | 748 | 64.4k | const IColumn* col_right_untyped = col_with_type_and_name_right.column.get(); | 749 | | | 750 | 64.4k | const DataTypePtr& left_type = col_with_type_and_name_left.type; | 751 | 64.4k | const DataTypePtr& right_type = col_with_type_and_name_right.type; | 752 | | | 753 | | /// The case when arguments are the same (tautological comparison). Return constant. | 754 | | /// NOTE: Nullable types are special case. (BTW, this function use default implementation for Nullable, so Nullable types cannot be here. Check just in case.) | 755 | | /// NOTE: We consider NaN comparison to be implementation specific (and in our implementation NaNs are sometimes equal sometimes not). | 756 | 64.4k | if (left_type->equals(*right_type) && !left_type->is_nullable() && | 757 | 64.4k | col_left_untyped == col_right_untyped) { | 758 | | /// Always true: =, <=, >= | 759 | | // TODO: Return const column in the future. But seems so far to do. We need a unified approach for passing const column. | 760 | | if constexpr (std::is_same_v<Op<TYPE_INT>, EqualsOp<TYPE_INT>> || | 761 | | std::is_same_v<Op<TYPE_INT>, LessOrEqualsOp<TYPE_INT>> || | 762 | 0 | std::is_same_v<Op<TYPE_INT>, GreaterOrEqualsOp<TYPE_INT>>) { | 763 | 0 | block.get_by_position(result).column = | 764 | 0 | DataTypeUInt8() | 765 | 0 | .create_column_const(input_rows_count, | 766 | 0 | Field::create_field<TYPE_BOOLEAN>(1)) | 767 | 0 | ->convert_to_full_column_if_const(); | 768 | 0 | return Status::OK(); | 769 | | } else { | 770 | | block.get_by_position(result).column = | 771 | | DataTypeUInt8() | 772 | | .create_column_const(input_rows_count, | 773 | | Field::create_field<TYPE_BOOLEAN>(0)) | 774 | | ->convert_to_full_column_if_const(); | 775 | | return Status::OK(); | 776 | | } | 777 | 0 | } | 778 | | | 779 | 0 | auto can_compare = [](PrimitiveType t) -> bool { | 780 | 64.4k | return is_int_or_bool(t) || is_float_or_double(t) || is_ip(t) || is_date_type(t); | 781 | 64.4k | }; | 782 | | | 783 | 64.4k | if (can_compare(left_type->get_primitive_type()) && | 784 | 64.4k | can_compare(right_type->get_primitive_type())) { | 785 | | // check left type equals right type TODO: remove this after FE is aware of scales difference | 786 | 37.7k | if (!left_type->equals_ignore_precision(*right_type)) { | 787 | 0 | return Status::RuntimeError("not same type in function {} , left : {} , right : {}", | 788 | 0 | get_name(), left_type->get_name(), | 789 | 0 | right_type->get_name()); | 790 | 0 | } | 791 | 37.7k | } | 792 | | | 793 | 64.4k | auto compare_type = left_type->get_primitive_type(); | 794 | 64.4k | switch (compare_type) { | 795 | 1.56k | case TYPE_BOOLEAN: | 796 | 1.56k | return execute_num_type<TYPE_BOOLEAN>(block, result, col_left_ptr, col_right_ptr); | 797 | 1.48k | case TYPE_DATEV2: | 798 | 1.48k | return execute_num_type<TYPE_DATEV2>(block, result, col_left_ptr, col_right_ptr); | 799 | 654 | case TYPE_DATETIMEV2: | 800 | 654 | return execute_num_type<TYPE_DATETIMEV2>(block, result, col_left_ptr, col_right_ptr); | 801 | 2 | case TYPE_TIMESTAMPTZ: | 802 | 2 | return execute_num_type<TYPE_TIMESTAMPTZ>(block, result, col_left_ptr, col_right_ptr); | 803 | 5.34k | case TYPE_TINYINT: | 804 | 5.34k | return execute_num_type<TYPE_TINYINT>(block, result, col_left_ptr, col_right_ptr); | 805 | 879 | case TYPE_SMALLINT: | 806 | 879 | return execute_num_type<TYPE_SMALLINT>(block, result, col_left_ptr, col_right_ptr); | 807 | 8.87k | case TYPE_INT: | 808 | 8.87k | return execute_num_type<TYPE_INT>(block, result, col_left_ptr, col_right_ptr); | 809 | 18.0k | case TYPE_BIGINT: | 810 | 18.0k | return execute_num_type<TYPE_BIGINT>(block, result, col_left_ptr, col_right_ptr); | 811 | 127 | case TYPE_LARGEINT: | 812 | 127 | return execute_num_type<TYPE_LARGEINT>(block, result, col_left_ptr, col_right_ptr); | 813 | 20 | case TYPE_IPV4: | 814 | 20 | return execute_num_type<TYPE_IPV4>(block, result, col_left_ptr, col_right_ptr); | 815 | 19 | case TYPE_IPV6: | 816 | 19 | return execute_num_type<TYPE_IPV6>(block, result, col_left_ptr, col_right_ptr); | 817 | 99 | case TYPE_FLOAT: | 818 | 99 | return execute_num_type<TYPE_FLOAT>(block, result, col_left_ptr, col_right_ptr); | 819 | 698 | case TYPE_DOUBLE: | 820 | 698 | return execute_num_type<TYPE_DOUBLE>(block, result, col_left_ptr, col_right_ptr); | 821 | 4 | case TYPE_TIMEV2: | 822 | 4 | return execute_num_type<TYPE_TIMEV2>(block, result, col_left_ptr, col_right_ptr); | 823 | 0 | case TYPE_DECIMALV2: | 824 | 259 | case TYPE_DECIMAL32: | 825 | 511 | case TYPE_DECIMAL64: | 826 | 1.65k | case TYPE_DECIMAL128I: | 827 | 1.68k | case TYPE_DECIMAL256: | 828 | 1.68k | return execute_decimal(block, result, col_with_type_and_name_left, | 829 | 1.68k | col_with_type_and_name_right); | 830 | 558 | case TYPE_CHAR: | 831 | 8.80k | case TYPE_VARCHAR: | 832 | 24.9k | case TYPE_STRING: | 833 | 24.9k | return execute_string(block, result, col_left_untyped, col_right_untyped); | 834 | 17 | default: | 835 | 17 | return execute_generic(block, result, col_with_type_and_name_left, | 836 | 17 | col_with_type_and_name_right); | 837 | 64.4k | } | 838 | 0 | return Status::OK(); | 839 | 64.4k | } |
_ZNK5doris18FunctionComparisonINS_11NotEqualsOpENS_13NameNotEqualsEE12execute_implEPNS_15FunctionContextERNS_5BlockERKSt6vectorIjSaIjEEjm Line | Count | Source | 741 | 8.83k | uint32_t result, size_t input_rows_count) const override { | 742 | 8.83k | const auto& col_with_type_and_name_left = block.get_by_position(arguments[0]); | 743 | 8.83k | const auto& col_with_type_and_name_right = block.get_by_position(arguments[1]); | 744 | | | 745 | 8.83k | const auto& col_left_ptr = col_with_type_and_name_left.column; | 746 | 8.83k | const auto& col_right_ptr = col_with_type_and_name_right.column; | 747 | 8.83k | const IColumn* col_left_untyped = col_with_type_and_name_left.column.get(); | 748 | 8.83k | const IColumn* col_right_untyped = col_with_type_and_name_right.column.get(); | 749 | | | 750 | 8.83k | const DataTypePtr& left_type = col_with_type_and_name_left.type; | 751 | 8.83k | const DataTypePtr& right_type = col_with_type_and_name_right.type; | 752 | | | 753 | | /// The case when arguments are the same (tautological comparison). Return constant. | 754 | | /// NOTE: Nullable types are special case. (BTW, this function use default implementation for Nullable, so Nullable types cannot be here. Check just in case.) | 755 | | /// NOTE: We consider NaN comparison to be implementation specific (and in our implementation NaNs are sometimes equal sometimes not). | 756 | 8.83k | if (left_type->equals(*right_type) && !left_type->is_nullable() && | 757 | 8.83k | col_left_untyped == col_right_untyped) { | 758 | | /// Always true: =, <=, >= | 759 | | // TODO: Return const column in the future. But seems so far to do. We need a unified approach for passing const column. | 760 | | if constexpr (std::is_same_v<Op<TYPE_INT>, EqualsOp<TYPE_INT>> || | 761 | | std::is_same_v<Op<TYPE_INT>, LessOrEqualsOp<TYPE_INT>> || | 762 | | std::is_same_v<Op<TYPE_INT>, GreaterOrEqualsOp<TYPE_INT>>) { | 763 | | block.get_by_position(result).column = | 764 | | DataTypeUInt8() | 765 | | .create_column_const(input_rows_count, | 766 | | Field::create_field<TYPE_BOOLEAN>(1)) | 767 | | ->convert_to_full_column_if_const(); | 768 | | return Status::OK(); | 769 | 0 | } else { | 770 | 0 | block.get_by_position(result).column = | 771 | 0 | DataTypeUInt8() | 772 | 0 | .create_column_const(input_rows_count, | 773 | 0 | Field::create_field<TYPE_BOOLEAN>(0)) | 774 | 0 | ->convert_to_full_column_if_const(); | 775 | 0 | return Status::OK(); | 776 | 0 | } | 777 | 0 | } | 778 | | | 779 | 0 | auto can_compare = [](PrimitiveType t) -> bool { | 780 | 8.83k | return is_int_or_bool(t) || is_float_or_double(t) || is_ip(t) || is_date_type(t); | 781 | 8.83k | }; | 782 | | | 783 | 8.83k | if (can_compare(left_type->get_primitive_type()) && | 784 | 8.83k | can_compare(right_type->get_primitive_type())) { | 785 | | // check left type equals right type TODO: remove this after FE is aware of scales difference | 786 | 5.89k | if (!left_type->equals_ignore_precision(*right_type)) { | 787 | 0 | return Status::RuntimeError("not same type in function {} , left : {} , right : {}", | 788 | 0 | get_name(), left_type->get_name(), | 789 | 0 | right_type->get_name()); | 790 | 0 | } | 791 | 5.89k | } | 792 | | | 793 | 8.83k | auto compare_type = left_type->get_primitive_type(); | 794 | 8.83k | switch (compare_type) { | 795 | 0 | case TYPE_BOOLEAN: | 796 | 0 | return execute_num_type<TYPE_BOOLEAN>(block, result, col_left_ptr, col_right_ptr); | 797 | 54 | case TYPE_DATEV2: | 798 | 54 | return execute_num_type<TYPE_DATEV2>(block, result, col_left_ptr, col_right_ptr); | 799 | 4 | case TYPE_DATETIMEV2: | 800 | 4 | return execute_num_type<TYPE_DATETIMEV2>(block, result, col_left_ptr, col_right_ptr); | 801 | 0 | case TYPE_TIMESTAMPTZ: | 802 | 0 | return execute_num_type<TYPE_TIMESTAMPTZ>(block, result, col_left_ptr, col_right_ptr); | 803 | 100 | case TYPE_TINYINT: | 804 | 100 | return execute_num_type<TYPE_TINYINT>(block, result, col_left_ptr, col_right_ptr); | 805 | 10 | case TYPE_SMALLINT: | 806 | 10 | return execute_num_type<TYPE_SMALLINT>(block, result, col_left_ptr, col_right_ptr); | 807 | 2.58k | case TYPE_INT: | 808 | 2.58k | return execute_num_type<TYPE_INT>(block, result, col_left_ptr, col_right_ptr); | 809 | 3.03k | case TYPE_BIGINT: | 810 | 3.03k | return execute_num_type<TYPE_BIGINT>(block, result, col_left_ptr, col_right_ptr); | 811 | 0 | case TYPE_LARGEINT: | 812 | 0 | return execute_num_type<TYPE_LARGEINT>(block, result, col_left_ptr, col_right_ptr); | 813 | 0 | case TYPE_IPV4: | 814 | 0 | return execute_num_type<TYPE_IPV4>(block, result, col_left_ptr, col_right_ptr); | 815 | 0 | case TYPE_IPV6: | 816 | 0 | return execute_num_type<TYPE_IPV6>(block, result, col_left_ptr, col_right_ptr); | 817 | 48 | case TYPE_FLOAT: | 818 | 48 | return execute_num_type<TYPE_FLOAT>(block, result, col_left_ptr, col_right_ptr); | 819 | 59 | case TYPE_DOUBLE: | 820 | 59 | return execute_num_type<TYPE_DOUBLE>(block, result, col_left_ptr, col_right_ptr); | 821 | 0 | case TYPE_TIMEV2: | 822 | 0 | return execute_num_type<TYPE_TIMEV2>(block, result, col_left_ptr, col_right_ptr); | 823 | 0 | case TYPE_DECIMALV2: | 824 | 0 | case TYPE_DECIMAL32: | 825 | 64 | case TYPE_DECIMAL64: | 826 | 388 | case TYPE_DECIMAL128I: | 827 | 418 | case TYPE_DECIMAL256: | 828 | 418 | return execute_decimal(block, result, col_with_type_and_name_left, | 829 | 418 | col_with_type_and_name_right); | 830 | 9 | case TYPE_CHAR: | 831 | 287 | case TYPE_VARCHAR: | 832 | 2.51k | case TYPE_STRING: | 833 | 2.51k | return execute_string(block, result, col_left_untyped, col_right_untyped); | 834 | 8 | default: | 835 | 8 | return execute_generic(block, result, col_with_type_and_name_left, | 836 | 8 | col_with_type_and_name_right); | 837 | 8.83k | } | 838 | 0 | return Status::OK(); | 839 | 8.83k | } |
_ZNK5doris18FunctionComparisonINS_9GreaterOpENS_11NameGreaterEE12execute_implEPNS_15FunctionContextERNS_5BlockERKSt6vectorIjSaIjEEjm Line | Count | Source | 741 | 45.8k | uint32_t result, size_t input_rows_count) const override { | 742 | 45.8k | const auto& col_with_type_and_name_left = block.get_by_position(arguments[0]); | 743 | 45.8k | const auto& col_with_type_and_name_right = block.get_by_position(arguments[1]); | 744 | | | 745 | 45.8k | const auto& col_left_ptr = col_with_type_and_name_left.column; | 746 | 45.8k | const auto& col_right_ptr = col_with_type_and_name_right.column; | 747 | 45.8k | const IColumn* col_left_untyped = col_with_type_and_name_left.column.get(); | 748 | 45.8k | const IColumn* col_right_untyped = col_with_type_and_name_right.column.get(); | 749 | | | 750 | 45.8k | const DataTypePtr& left_type = col_with_type_and_name_left.type; | 751 | 45.8k | const DataTypePtr& right_type = col_with_type_and_name_right.type; | 752 | | | 753 | | /// The case when arguments are the same (tautological comparison). Return constant. | 754 | | /// NOTE: Nullable types are special case. (BTW, this function use default implementation for Nullable, so Nullable types cannot be here. Check just in case.) | 755 | | /// NOTE: We consider NaN comparison to be implementation specific (and in our implementation NaNs are sometimes equal sometimes not). | 756 | 45.8k | if (left_type->equals(*right_type) && !left_type->is_nullable() && | 757 | 45.8k | col_left_untyped == col_right_untyped) { | 758 | | /// Always true: =, <=, >= | 759 | | // TODO: Return const column in the future. But seems so far to do. We need a unified approach for passing const column. | 760 | | if constexpr (std::is_same_v<Op<TYPE_INT>, EqualsOp<TYPE_INT>> || | 761 | | std::is_same_v<Op<TYPE_INT>, LessOrEqualsOp<TYPE_INT>> || | 762 | | std::is_same_v<Op<TYPE_INT>, GreaterOrEqualsOp<TYPE_INT>>) { | 763 | | block.get_by_position(result).column = | 764 | | DataTypeUInt8() | 765 | | .create_column_const(input_rows_count, | 766 | | Field::create_field<TYPE_BOOLEAN>(1)) | 767 | | ->convert_to_full_column_if_const(); | 768 | | return Status::OK(); | 769 | 0 | } else { | 770 | 0 | block.get_by_position(result).column = | 771 | 0 | DataTypeUInt8() | 772 | 0 | .create_column_const(input_rows_count, | 773 | 0 | Field::create_field<TYPE_BOOLEAN>(0)) | 774 | 0 | ->convert_to_full_column_if_const(); | 775 | 0 | return Status::OK(); | 776 | 0 | } | 777 | 0 | } | 778 | | | 779 | 0 | auto can_compare = [](PrimitiveType t) -> bool { | 780 | 45.8k | return is_int_or_bool(t) || is_float_or_double(t) || is_ip(t) || is_date_type(t); | 781 | 45.8k | }; | 782 | | | 783 | 45.8k | if (can_compare(left_type->get_primitive_type()) && | 784 | 45.8k | can_compare(right_type->get_primitive_type())) { | 785 | | // check left type equals right type TODO: remove this after FE is aware of scales difference | 786 | 39.1k | if (!left_type->equals_ignore_precision(*right_type)) { | 787 | 0 | return Status::RuntimeError("not same type in function {} , left : {} , right : {}", | 788 | 0 | get_name(), left_type->get_name(), | 789 | 0 | right_type->get_name()); | 790 | 0 | } | 791 | 39.1k | } | 792 | | | 793 | 45.8k | auto compare_type = left_type->get_primitive_type(); | 794 | 45.8k | switch (compare_type) { | 795 | 0 | case TYPE_BOOLEAN: | 796 | 0 | return execute_num_type<TYPE_BOOLEAN>(block, result, col_left_ptr, col_right_ptr); | 797 | 1.06k | case TYPE_DATEV2: | 798 | 1.06k | return execute_num_type<TYPE_DATEV2>(block, result, col_left_ptr, col_right_ptr); | 799 | 102 | case TYPE_DATETIMEV2: | 800 | 102 | return execute_num_type<TYPE_DATETIMEV2>(block, result, col_left_ptr, col_right_ptr); | 801 | 1 | case TYPE_TIMESTAMPTZ: | 802 | 1 | return execute_num_type<TYPE_TIMESTAMPTZ>(block, result, col_left_ptr, col_right_ptr); | 803 | 1.37k | case TYPE_TINYINT: | 804 | 1.37k | return execute_num_type<TYPE_TINYINT>(block, result, col_left_ptr, col_right_ptr); | 805 | 1.76k | case TYPE_SMALLINT: | 806 | 1.76k | return execute_num_type<TYPE_SMALLINT>(block, result, col_left_ptr, col_right_ptr); | 807 | 18.2k | case TYPE_INT: | 808 | 18.2k | return execute_num_type<TYPE_INT>(block, result, col_left_ptr, col_right_ptr); | 809 | 13.8k | case TYPE_BIGINT: | 810 | 13.8k | return execute_num_type<TYPE_BIGINT>(block, result, col_left_ptr, col_right_ptr); | 811 | 234 | case TYPE_LARGEINT: | 812 | 234 | return execute_num_type<TYPE_LARGEINT>(block, result, col_left_ptr, col_right_ptr); | 813 | 4 | case TYPE_IPV4: | 814 | 4 | return execute_num_type<TYPE_IPV4>(block, result, col_left_ptr, col_right_ptr); | 815 | 1 | case TYPE_IPV6: | 816 | 1 | return execute_num_type<TYPE_IPV6>(block, result, col_left_ptr, col_right_ptr); | 817 | 235 | case TYPE_FLOAT: | 818 | 235 | return execute_num_type<TYPE_FLOAT>(block, result, col_left_ptr, col_right_ptr); | 819 | 2.23k | case TYPE_DOUBLE: | 820 | 2.23k | return execute_num_type<TYPE_DOUBLE>(block, result, col_left_ptr, col_right_ptr); | 821 | 0 | case TYPE_TIMEV2: | 822 | 0 | return execute_num_type<TYPE_TIMEV2>(block, result, col_left_ptr, col_right_ptr); | 823 | 0 | case TYPE_DECIMALV2: | 824 | 46 | case TYPE_DECIMAL32: | 825 | 5.07k | case TYPE_DECIMAL64: | 826 | 6.53k | case TYPE_DECIMAL128I: | 827 | 6.53k | case TYPE_DECIMAL256: | 828 | 6.53k | return execute_decimal(block, result, col_with_type_and_name_left, | 829 | 6.53k | col_with_type_and_name_right); | 830 | 14 | case TYPE_CHAR: | 831 | 76 | case TYPE_VARCHAR: | 832 | 182 | case TYPE_STRING: | 833 | 182 | return execute_string(block, result, col_left_untyped, col_right_untyped); | 834 | 9 | default: | 835 | 9 | return execute_generic(block, result, col_with_type_and_name_left, | 836 | 9 | col_with_type_and_name_right); | 837 | 45.8k | } | 838 | 0 | return Status::OK(); | 839 | 45.8k | } |
_ZNK5doris18FunctionComparisonINS_17GreaterOrEqualsOpENS_19NameGreaterOrEqualsEE12execute_implEPNS_15FunctionContextERNS_5BlockERKSt6vectorIjSaIjEEjm Line | Count | Source | 741 | 21.7k | uint32_t result, size_t input_rows_count) const override { | 742 | 21.7k | const auto& col_with_type_and_name_left = block.get_by_position(arguments[0]); | 743 | 21.7k | const auto& col_with_type_and_name_right = block.get_by_position(arguments[1]); | 744 | | | 745 | 21.7k | const auto& col_left_ptr = col_with_type_and_name_left.column; | 746 | 21.7k | const auto& col_right_ptr = col_with_type_and_name_right.column; | 747 | 21.7k | const IColumn* col_left_untyped = col_with_type_and_name_left.column.get(); | 748 | 21.7k | const IColumn* col_right_untyped = col_with_type_and_name_right.column.get(); | 749 | | | 750 | 21.7k | const DataTypePtr& left_type = col_with_type_and_name_left.type; | 751 | 21.7k | const DataTypePtr& right_type = col_with_type_and_name_right.type; | 752 | | | 753 | | /// The case when arguments are the same (tautological comparison). Return constant. | 754 | | /// NOTE: Nullable types are special case. (BTW, this function use default implementation for Nullable, so Nullable types cannot be here. Check just in case.) | 755 | | /// NOTE: We consider NaN comparison to be implementation specific (and in our implementation NaNs are sometimes equal sometimes not). | 756 | 21.7k | if (left_type->equals(*right_type) && !left_type->is_nullable() && | 757 | 21.7k | col_left_untyped == col_right_untyped) { | 758 | | /// Always true: =, <=, >= | 759 | | // TODO: Return const column in the future. But seems so far to do. We need a unified approach for passing const column. | 760 | | if constexpr (std::is_same_v<Op<TYPE_INT>, EqualsOp<TYPE_INT>> || | 761 | | std::is_same_v<Op<TYPE_INT>, LessOrEqualsOp<TYPE_INT>> || | 762 | 0 | std::is_same_v<Op<TYPE_INT>, GreaterOrEqualsOp<TYPE_INT>>) { | 763 | 0 | block.get_by_position(result).column = | 764 | 0 | DataTypeUInt8() | 765 | 0 | .create_column_const(input_rows_count, | 766 | 0 | Field::create_field<TYPE_BOOLEAN>(1)) | 767 | 0 | ->convert_to_full_column_if_const(); | 768 | 0 | return Status::OK(); | 769 | | } else { | 770 | | block.get_by_position(result).column = | 771 | | DataTypeUInt8() | 772 | | .create_column_const(input_rows_count, | 773 | | Field::create_field<TYPE_BOOLEAN>(0)) | 774 | | ->convert_to_full_column_if_const(); | 775 | | return Status::OK(); | 776 | | } | 777 | 0 | } | 778 | | | 779 | 0 | auto can_compare = [](PrimitiveType t) -> bool { | 780 | 21.7k | return is_int_or_bool(t) || is_float_or_double(t) || is_ip(t) || is_date_type(t); | 781 | 21.7k | }; | 782 | | | 783 | 21.7k | if (can_compare(left_type->get_primitive_type()) && | 784 | 21.7k | can_compare(right_type->get_primitive_type())) { | 785 | | // check left type equals right type TODO: remove this after FE is aware of scales difference | 786 | 20.7k | if (!left_type->equals_ignore_precision(*right_type)) { | 787 | 0 | return Status::RuntimeError("not same type in function {} , left : {} , right : {}", | 788 | 0 | get_name(), left_type->get_name(), | 789 | 0 | right_type->get_name()); | 790 | 0 | } | 791 | 20.7k | } | 792 | | | 793 | 21.7k | auto compare_type = left_type->get_primitive_type(); | 794 | 21.7k | switch (compare_type) { | 795 | 184 | case TYPE_BOOLEAN: | 796 | 184 | return execute_num_type<TYPE_BOOLEAN>(block, result, col_left_ptr, col_right_ptr); | 797 | 2.17k | case TYPE_DATEV2: | 798 | 2.17k | return execute_num_type<TYPE_DATEV2>(block, result, col_left_ptr, col_right_ptr); | 799 | 885 | case TYPE_DATETIMEV2: | 800 | 885 | return execute_num_type<TYPE_DATETIMEV2>(block, result, col_left_ptr, col_right_ptr); | 801 | 1 | case TYPE_TIMESTAMPTZ: | 802 | 1 | return execute_num_type<TYPE_TIMESTAMPTZ>(block, result, col_left_ptr, col_right_ptr); | 803 | 54 | case TYPE_TINYINT: | 804 | 54 | return execute_num_type<TYPE_TINYINT>(block, result, col_left_ptr, col_right_ptr); | 805 | 73 | case TYPE_SMALLINT: | 806 | 73 | return execute_num_type<TYPE_SMALLINT>(block, result, col_left_ptr, col_right_ptr); | 807 | 16.2k | case TYPE_INT: | 808 | 16.2k | return execute_num_type<TYPE_INT>(block, result, col_left_ptr, col_right_ptr); | 809 | 607 | case TYPE_BIGINT: | 810 | 607 | return execute_num_type<TYPE_BIGINT>(block, result, col_left_ptr, col_right_ptr); | 811 | 49 | case TYPE_LARGEINT: | 812 | 49 | return execute_num_type<TYPE_LARGEINT>(block, result, col_left_ptr, col_right_ptr); | 813 | 11 | case TYPE_IPV4: | 814 | 11 | return execute_num_type<TYPE_IPV4>(block, result, col_left_ptr, col_right_ptr); | 815 | 1 | case TYPE_IPV6: | 816 | 1 | return execute_num_type<TYPE_IPV6>(block, result, col_left_ptr, col_right_ptr); | 817 | 220 | case TYPE_FLOAT: | 818 | 220 | return execute_num_type<TYPE_FLOAT>(block, result, col_left_ptr, col_right_ptr); | 819 | 143 | case TYPE_DOUBLE: | 820 | 143 | return execute_num_type<TYPE_DOUBLE>(block, result, col_left_ptr, col_right_ptr); | 821 | 0 | case TYPE_TIMEV2: | 822 | 0 | return execute_num_type<TYPE_TIMEV2>(block, result, col_left_ptr, col_right_ptr); | 823 | 0 | case TYPE_DECIMALV2: | 824 | 9 | case TYPE_DECIMAL32: | 825 | 295 | case TYPE_DECIMAL64: | 826 | 371 | case TYPE_DECIMAL128I: | 827 | 392 | case TYPE_DECIMAL256: | 828 | 392 | return execute_decimal(block, result, col_with_type_and_name_left, | 829 | 392 | col_with_type_and_name_right); | 830 | 32 | case TYPE_CHAR: | 831 | 288 | case TYPE_VARCHAR: | 832 | 657 | case TYPE_STRING: | 833 | 657 | return execute_string(block, result, col_left_untyped, col_right_untyped); | 834 | 72 | default: | 835 | 72 | return execute_generic(block, result, col_with_type_and_name_left, | 836 | 72 | col_with_type_and_name_right); | 837 | 21.7k | } | 838 | 0 | return Status::OK(); | 839 | 21.7k | } |
_ZNK5doris18FunctionComparisonINS_6LessOpENS_8NameLessEE12execute_implEPNS_15FunctionContextERNS_5BlockERKSt6vectorIjSaIjEEjm Line | Count | Source | 741 | 12.7k | uint32_t result, size_t input_rows_count) const override { | 742 | 12.7k | const auto& col_with_type_and_name_left = block.get_by_position(arguments[0]); | 743 | 12.7k | const auto& col_with_type_and_name_right = block.get_by_position(arguments[1]); | 744 | | | 745 | 12.7k | const auto& col_left_ptr = col_with_type_and_name_left.column; | 746 | 12.7k | const auto& col_right_ptr = col_with_type_and_name_right.column; | 747 | 12.7k | const IColumn* col_left_untyped = col_with_type_and_name_left.column.get(); | 748 | 12.7k | const IColumn* col_right_untyped = col_with_type_and_name_right.column.get(); | 749 | | | 750 | 12.7k | const DataTypePtr& left_type = col_with_type_and_name_left.type; | 751 | 12.7k | const DataTypePtr& right_type = col_with_type_and_name_right.type; | 752 | | | 753 | | /// The case when arguments are the same (tautological comparison). Return constant. | 754 | | /// NOTE: Nullable types are special case. (BTW, this function use default implementation for Nullable, so Nullable types cannot be here. Check just in case.) | 755 | | /// NOTE: We consider NaN comparison to be implementation specific (and in our implementation NaNs are sometimes equal sometimes not). | 756 | 12.7k | if (left_type->equals(*right_type) && !left_type->is_nullable() && | 757 | 12.7k | col_left_untyped == col_right_untyped) { | 758 | | /// Always true: =, <=, >= | 759 | | // TODO: Return const column in the future. But seems so far to do. We need a unified approach for passing const column. | 760 | | if constexpr (std::is_same_v<Op<TYPE_INT>, EqualsOp<TYPE_INT>> || | 761 | | std::is_same_v<Op<TYPE_INT>, LessOrEqualsOp<TYPE_INT>> || | 762 | | std::is_same_v<Op<TYPE_INT>, GreaterOrEqualsOp<TYPE_INT>>) { | 763 | | block.get_by_position(result).column = | 764 | | DataTypeUInt8() | 765 | | .create_column_const(input_rows_count, | 766 | | Field::create_field<TYPE_BOOLEAN>(1)) | 767 | | ->convert_to_full_column_if_const(); | 768 | | return Status::OK(); | 769 | 0 | } else { | 770 | 0 | block.get_by_position(result).column = | 771 | 0 | DataTypeUInt8() | 772 | 0 | .create_column_const(input_rows_count, | 773 | 0 | Field::create_field<TYPE_BOOLEAN>(0)) | 774 | 0 | ->convert_to_full_column_if_const(); | 775 | 0 | return Status::OK(); | 776 | 0 | } | 777 | 0 | } | 778 | | | 779 | 0 | auto can_compare = [](PrimitiveType t) -> bool { | 780 | 12.7k | return is_int_or_bool(t) || is_float_or_double(t) || is_ip(t) || is_date_type(t); | 781 | 12.7k | }; | 782 | | | 783 | 12.7k | if (can_compare(left_type->get_primitive_type()) && | 784 | 12.7k | can_compare(right_type->get_primitive_type())) { | 785 | | // check left type equals right type TODO: remove this after FE is aware of scales difference | 786 | 11.1k | if (!left_type->equals_ignore_precision(*right_type)) { | 787 | 0 | return Status::RuntimeError("not same type in function {} , left : {} , right : {}", | 788 | 0 | get_name(), left_type->get_name(), | 789 | 0 | right_type->get_name()); | 790 | 0 | } | 791 | 11.1k | } | 792 | | | 793 | 12.7k | auto compare_type = left_type->get_primitive_type(); | 794 | 12.7k | switch (compare_type) { | 795 | 94 | case TYPE_BOOLEAN: | 796 | 94 | return execute_num_type<TYPE_BOOLEAN>(block, result, col_left_ptr, col_right_ptr); | 797 | 2.15k | case TYPE_DATEV2: | 798 | 2.15k | return execute_num_type<TYPE_DATEV2>(block, result, col_left_ptr, col_right_ptr); | 799 | 699 | case TYPE_DATETIMEV2: | 800 | 699 | return execute_num_type<TYPE_DATETIMEV2>(block, result, col_left_ptr, col_right_ptr); | 801 | 2 | case TYPE_TIMESTAMPTZ: | 802 | 2 | return execute_num_type<TYPE_TIMESTAMPTZ>(block, result, col_left_ptr, col_right_ptr); | 803 | 2.06k | case TYPE_TINYINT: | 804 | 2.06k | return execute_num_type<TYPE_TINYINT>(block, result, col_left_ptr, col_right_ptr); | 805 | 269 | case TYPE_SMALLINT: | 806 | 269 | return execute_num_type<TYPE_SMALLINT>(block, result, col_left_ptr, col_right_ptr); | 807 | 3.23k | case TYPE_INT: | 808 | 3.23k | return execute_num_type<TYPE_INT>(block, result, col_left_ptr, col_right_ptr); | 809 | 1.74k | case TYPE_BIGINT: | 810 | 1.74k | return execute_num_type<TYPE_BIGINT>(block, result, col_left_ptr, col_right_ptr); | 811 | 295 | case TYPE_LARGEINT: | 812 | 295 | return execute_num_type<TYPE_LARGEINT>(block, result, col_left_ptr, col_right_ptr); | 813 | 18 | case TYPE_IPV4: | 814 | 18 | return execute_num_type<TYPE_IPV4>(block, result, col_left_ptr, col_right_ptr); | 815 | 16 | case TYPE_IPV6: | 816 | 16 | return execute_num_type<TYPE_IPV6>(block, result, col_left_ptr, col_right_ptr); | 817 | 180 | case TYPE_FLOAT: | 818 | 180 | return execute_num_type<TYPE_FLOAT>(block, result, col_left_ptr, col_right_ptr); | 819 | 370 | case TYPE_DOUBLE: | 820 | 370 | return execute_num_type<TYPE_DOUBLE>(block, result, col_left_ptr, col_right_ptr); | 821 | 0 | case TYPE_TIMEV2: | 822 | 0 | return execute_num_type<TYPE_TIMEV2>(block, result, col_left_ptr, col_right_ptr); | 823 | 0 | case TYPE_DECIMALV2: | 824 | 194 | case TYPE_DECIMAL32: | 825 | 433 | case TYPE_DECIMAL64: | 826 | 897 | case TYPE_DECIMAL128I: | 827 | 898 | case TYPE_DECIMAL256: | 828 | 898 | return execute_decimal(block, result, col_with_type_and_name_left, | 829 | 898 | col_with_type_and_name_right); | 830 | 186 | case TYPE_CHAR: | 831 | 371 | case TYPE_VARCHAR: | 832 | 643 | case TYPE_STRING: | 833 | 643 | return execute_string(block, result, col_left_untyped, col_right_untyped); | 834 | 11 | default: | 835 | 11 | return execute_generic(block, result, col_with_type_and_name_left, | 836 | 11 | col_with_type_and_name_right); | 837 | 12.7k | } | 838 | 0 | return Status::OK(); | 839 | 12.7k | } |
_ZNK5doris18FunctionComparisonINS_14LessOrEqualsOpENS_16NameLessOrEqualsEE12execute_implEPNS_15FunctionContextERNS_5BlockERKSt6vectorIjSaIjEEjm Line | Count | Source | 741 | 37.8k | uint32_t result, size_t input_rows_count) const override { | 742 | 37.8k | const auto& col_with_type_and_name_left = block.get_by_position(arguments[0]); | 743 | 37.8k | const auto& col_with_type_and_name_right = block.get_by_position(arguments[1]); | 744 | | | 745 | 37.8k | const auto& col_left_ptr = col_with_type_and_name_left.column; | 746 | 37.8k | const auto& col_right_ptr = col_with_type_and_name_right.column; | 747 | 37.8k | const IColumn* col_left_untyped = col_with_type_and_name_left.column.get(); | 748 | 37.8k | const IColumn* col_right_untyped = col_with_type_and_name_right.column.get(); | 749 | | | 750 | 37.8k | const DataTypePtr& left_type = col_with_type_and_name_left.type; | 751 | 37.8k | const DataTypePtr& right_type = col_with_type_and_name_right.type; | 752 | | | 753 | | /// The case when arguments are the same (tautological comparison). Return constant. | 754 | | /// NOTE: Nullable types are special case. (BTW, this function use default implementation for Nullable, so Nullable types cannot be here. Check just in case.) | 755 | | /// NOTE: We consider NaN comparison to be implementation specific (and in our implementation NaNs are sometimes equal sometimes not). | 756 | 37.8k | if (left_type->equals(*right_type) && !left_type->is_nullable() && | 757 | 37.8k | col_left_untyped == col_right_untyped) { | 758 | | /// Always true: =, <=, >= | 759 | | // TODO: Return const column in the future. But seems so far to do. We need a unified approach for passing const column. | 760 | | if constexpr (std::is_same_v<Op<TYPE_INT>, EqualsOp<TYPE_INT>> || | 761 | | std::is_same_v<Op<TYPE_INT>, LessOrEqualsOp<TYPE_INT>> || | 762 | 0 | std::is_same_v<Op<TYPE_INT>, GreaterOrEqualsOp<TYPE_INT>>) { | 763 | 0 | block.get_by_position(result).column = | 764 | 0 | DataTypeUInt8() | 765 | 0 | .create_column_const(input_rows_count, | 766 | 0 | Field::create_field<TYPE_BOOLEAN>(1)) | 767 | 0 | ->convert_to_full_column_if_const(); | 768 | 0 | return Status::OK(); | 769 | | } else { | 770 | | block.get_by_position(result).column = | 771 | | DataTypeUInt8() | 772 | | .create_column_const(input_rows_count, | 773 | | Field::create_field<TYPE_BOOLEAN>(0)) | 774 | | ->convert_to_full_column_if_const(); | 775 | | return Status::OK(); | 776 | | } | 777 | 0 | } | 778 | | | 779 | 0 | auto can_compare = [](PrimitiveType t) -> bool { | 780 | 37.8k | return is_int_or_bool(t) || is_float_or_double(t) || is_ip(t) || is_date_type(t); | 781 | 37.8k | }; | 782 | | | 783 | 37.8k | if (can_compare(left_type->get_primitive_type()) && | 784 | 37.8k | can_compare(right_type->get_primitive_type())) { | 785 | | // check left type equals right type TODO: remove this after FE is aware of scales difference | 786 | 33.8k | if (!left_type->equals_ignore_precision(*right_type)) { | 787 | 0 | return Status::RuntimeError("not same type in function {} , left : {} , right : {}", | 788 | 0 | get_name(), left_type->get_name(), | 789 | 0 | right_type->get_name()); | 790 | 0 | } | 791 | 33.8k | } | 792 | | | 793 | 37.8k | auto compare_type = left_type->get_primitive_type(); | 794 | 37.8k | switch (compare_type) { | 795 | 183 | case TYPE_BOOLEAN: | 796 | 183 | return execute_num_type<TYPE_BOOLEAN>(block, result, col_left_ptr, col_right_ptr); | 797 | 6.74k | case TYPE_DATEV2: | 798 | 6.74k | return execute_num_type<TYPE_DATEV2>(block, result, col_left_ptr, col_right_ptr); | 799 | 404 | case TYPE_DATETIMEV2: | 800 | 404 | return execute_num_type<TYPE_DATETIMEV2>(block, result, col_left_ptr, col_right_ptr); | 801 | 1 | case TYPE_TIMESTAMPTZ: | 802 | 1 | return execute_num_type<TYPE_TIMESTAMPTZ>(block, result, col_left_ptr, col_right_ptr); | 803 | 67 | case TYPE_TINYINT: | 804 | 67 | return execute_num_type<TYPE_TINYINT>(block, result, col_left_ptr, col_right_ptr); | 805 | 82 | case TYPE_SMALLINT: | 806 | 82 | return execute_num_type<TYPE_SMALLINT>(block, result, col_left_ptr, col_right_ptr); | 807 | 24.9k | case TYPE_INT: | 808 | 24.9k | return execute_num_type<TYPE_INT>(block, result, col_left_ptr, col_right_ptr); | 809 | 977 | case TYPE_BIGINT: | 810 | 977 | return execute_num_type<TYPE_BIGINT>(block, result, col_left_ptr, col_right_ptr); | 811 | 59 | case TYPE_LARGEINT: | 812 | 59 | return execute_num_type<TYPE_LARGEINT>(block, result, col_left_ptr, col_right_ptr); | 813 | 10 | case TYPE_IPV4: | 814 | 10 | return execute_num_type<TYPE_IPV4>(block, result, col_left_ptr, col_right_ptr); | 815 | 0 | case TYPE_IPV6: | 816 | 0 | return execute_num_type<TYPE_IPV6>(block, result, col_left_ptr, col_right_ptr); | 817 | 216 | case TYPE_FLOAT: | 818 | 216 | return execute_num_type<TYPE_FLOAT>(block, result, col_left_ptr, col_right_ptr); | 819 | 134 | case TYPE_DOUBLE: | 820 | 134 | return execute_num_type<TYPE_DOUBLE>(block, result, col_left_ptr, col_right_ptr); | 821 | 0 | case TYPE_TIMEV2: | 822 | 0 | return execute_num_type<TYPE_TIMEV2>(block, result, col_left_ptr, col_right_ptr); | 823 | 0 | case TYPE_DECIMALV2: | 824 | 4 | case TYPE_DECIMAL32: | 825 | 2.08k | case TYPE_DECIMAL64: | 826 | 3.03k | case TYPE_DECIMAL128I: | 827 | 3.04k | case TYPE_DECIMAL256: | 828 | 3.04k | return execute_decimal(block, result, col_with_type_and_name_left, | 829 | 3.04k | col_with_type_and_name_right); | 830 | 90 | case TYPE_CHAR: | 831 | 465 | case TYPE_VARCHAR: | 832 | 898 | case TYPE_STRING: | 833 | 898 | return execute_string(block, result, col_left_untyped, col_right_untyped); | 834 | 64 | default: | 835 | 64 | return execute_generic(block, result, col_with_type_and_name_left, | 836 | 64 | col_with_type_and_name_right); | 837 | 37.8k | } | 838 | 0 | return Status::OK(); | 839 | 37.8k | } |
|
840 | | }; |
841 | | |
842 | | } // namespace doris |