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.5k | PaddedPODArray<UInt8>& c) { |
72 | 11.5k | size_t size = a.size(); |
73 | 11.5k | const A* __restrict a_pos = a.data(); |
74 | 11.5k | const B* __restrict b_pos = b.data(); |
75 | 11.5k | UInt8* __restrict c_pos = c.data(); |
76 | 11.5k | const A* __restrict a_end = a_pos + size; |
77 | | |
78 | 5.90M | while (a_pos < a_end) { |
79 | 5.89M | *c_pos = Op::apply(*a_pos, *b_pos); |
80 | 5.89M | ++a_pos; |
81 | 5.89M | ++b_pos; |
82 | 5.89M | ++c_pos; |
83 | 5.89M | } |
84 | 11.5k | } _ZN5doris17NumComparisonImplIhhNS_8EqualsOpILNS_13PrimitiveTypeE2EEEE13vector_vectorERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RS9_ Line | Count | Source | 71 | 66 | PaddedPODArray<UInt8>& c) { | 72 | 66 | size_t size = a.size(); | 73 | 66 | const A* __restrict a_pos = a.data(); | 74 | 66 | const B* __restrict b_pos = b.data(); | 75 | 66 | UInt8* __restrict c_pos = c.data(); | 76 | 66 | const A* __restrict a_end = a_pos + size; | 77 | | | 78 | 132 | while (a_pos < a_end) { | 79 | 66 | *c_pos = Op::apply(*a_pos, *b_pos); | 80 | 66 | ++a_pos; | 81 | 66 | ++b_pos; | 82 | 66 | ++c_pos; | 83 | 66 | } | 84 | 66 | } |
_ZN5doris17NumComparisonImplINS_11DateV2ValueINS_15DateV2ValueTypeEEES3_NS_8EqualsOpILNS_13PrimitiveTypeE25EEEE13vector_vectorERKNS_8PODArrayIS3_Lm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESE_RNS8_IhLm4096ESB_Lm16ELm15EEE Line | Count | Source | 71 | 702 | PaddedPODArray<UInt8>& c) { | 72 | 702 | size_t size = a.size(); | 73 | 702 | const A* __restrict a_pos = a.data(); | 74 | 702 | const B* __restrict b_pos = b.data(); | 75 | 702 | UInt8* __restrict c_pos = c.data(); | 76 | 702 | const A* __restrict a_end = a_pos + size; | 77 | | | 78 | 2.25k | 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 | 702 | } |
_ZN5doris17NumComparisonImplINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEES3_NS_8EqualsOpILNS_13PrimitiveTypeE26EEEE13vector_vectorERKNS_8PODArrayIS3_Lm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESE_RNS8_IhLm4096ESB_Lm16ELm15EEE Line | Count | Source | 71 | 353 | PaddedPODArray<UInt8>& c) { | 72 | 353 | size_t size = a.size(); | 73 | 353 | const A* __restrict a_pos = a.data(); | 74 | 353 | const B* __restrict b_pos = b.data(); | 75 | 353 | UInt8* __restrict c_pos = c.data(); | 76 | 353 | const A* __restrict a_end = a_pos + size; | 77 | | | 78 | 724 | while (a_pos < a_end) { | 79 | 371 | *c_pos = Op::apply(*a_pos, *b_pos); | 80 | 371 | ++a_pos; | 81 | 371 | ++b_pos; | 82 | 371 | ++c_pos; | 83 | 371 | } | 84 | 353 | } |
_ZN5doris17NumComparisonImplINS_16TimestampTzValueES1_NS_8EqualsOpILNS_13PrimitiveTypeE42EEEE13vector_vectorERKNS_8PODArrayIS1_Lm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESC_RNS6_IhLm4096ES9_Lm16ELm15EEE Line | Count | Source | 71 | 3 | PaddedPODArray<UInt8>& c) { | 72 | 3 | size_t size = a.size(); | 73 | 3 | const A* __restrict a_pos = a.data(); | 74 | 3 | const B* __restrict b_pos = b.data(); | 75 | 3 | UInt8* __restrict c_pos = c.data(); | 76 | 3 | const A* __restrict a_end = a_pos + size; | 77 | | | 78 | 13 | while (a_pos < a_end) { | 79 | 10 | *c_pos = Op::apply(*a_pos, *b_pos); | 80 | 10 | ++a_pos; | 81 | 10 | ++b_pos; | 82 | 10 | ++c_pos; | 83 | 10 | } | 84 | 3 | } |
_ZN5doris17NumComparisonImplIaaNS_8EqualsOpILNS_13PrimitiveTypeE3EEEE13vector_vectorERKNS_8PODArrayIaLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 71 | 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 | 442 | while (a_pos < a_end) { | 79 | 292 | *c_pos = Op::apply(*a_pos, *b_pos); | 80 | 292 | ++a_pos; | 81 | 292 | ++b_pos; | 82 | 292 | ++c_pos; | 83 | 292 | } | 84 | 150 | } |
_ZN5doris17NumComparisonImplIssNS_8EqualsOpILNS_13PrimitiveTypeE4EEEE13vector_vectorERKNS_8PODArrayIsLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 71 | 78 | PaddedPODArray<UInt8>& c) { | 72 | 78 | size_t size = a.size(); | 73 | 78 | const A* __restrict a_pos = a.data(); | 74 | 78 | const B* __restrict b_pos = b.data(); | 75 | 78 | UInt8* __restrict c_pos = c.data(); | 76 | 78 | const A* __restrict a_end = a_pos + size; | 77 | | | 78 | 156 | while (a_pos < a_end) { | 79 | 78 | *c_pos = Op::apply(*a_pos, *b_pos); | 80 | 78 | ++a_pos; | 81 | 78 | ++b_pos; | 82 | 78 | ++c_pos; | 83 | 78 | } | 84 | 78 | } |
_ZN5doris17NumComparisonImplIiiNS_8EqualsOpILNS_13PrimitiveTypeE5EEEE13vector_vectorERKNS_8PODArrayIiLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 71 | 986 | PaddedPODArray<UInt8>& c) { | 72 | 986 | size_t size = a.size(); | 73 | 986 | const A* __restrict a_pos = a.data(); | 74 | 986 | const B* __restrict b_pos = b.data(); | 75 | 986 | UInt8* __restrict c_pos = c.data(); | 76 | 986 | const A* __restrict a_end = a_pos + size; | 77 | | | 78 | 3.26k | while (a_pos < a_end) { | 79 | 2.27k | *c_pos = Op::apply(*a_pos, *b_pos); | 80 | 2.27k | ++a_pos; | 81 | 2.27k | ++b_pos; | 82 | 2.27k | ++c_pos; | 83 | 2.27k | } | 84 | 986 | } |
_ZN5doris17NumComparisonImplIllNS_8EqualsOpILNS_13PrimitiveTypeE6EEEE13vector_vectorERKNS_8PODArrayIlLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 71 | 271 | PaddedPODArray<UInt8>& c) { | 72 | 271 | size_t size = a.size(); | 73 | 271 | const A* __restrict a_pos = a.data(); | 74 | 271 | const B* __restrict b_pos = b.data(); | 75 | 271 | UInt8* __restrict c_pos = c.data(); | 76 | 271 | const A* __restrict a_end = a_pos + size; | 77 | | | 78 | 1.70k | while (a_pos < a_end) { | 79 | 1.43k | *c_pos = Op::apply(*a_pos, *b_pos); | 80 | 1.43k | ++a_pos; | 81 | 1.43k | ++b_pos; | 82 | 1.43k | ++c_pos; | 83 | 1.43k | } | 84 | 271 | } |
_ZN5doris17NumComparisonImplInnNS_8EqualsOpILNS_13PrimitiveTypeE7EEEE13vector_vectorERKNS_8PODArrayInLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 71 | 57 | PaddedPODArray<UInt8>& c) { | 72 | 57 | size_t size = a.size(); | 73 | 57 | const A* __restrict a_pos = a.data(); | 74 | 57 | const B* __restrict b_pos = b.data(); | 75 | 57 | UInt8* __restrict c_pos = c.data(); | 76 | 57 | const A* __restrict a_end = a_pos + size; | 77 | | | 78 | 114 | while (a_pos < a_end) { | 79 | 57 | *c_pos = Op::apply(*a_pos, *b_pos); | 80 | 57 | ++a_pos; | 81 | 57 | ++b_pos; | 82 | 57 | ++c_pos; | 83 | 57 | } | 84 | 57 | } |
_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 | 100 | PaddedPODArray<UInt8>& c) { | 72 | 100 | size_t size = a.size(); | 73 | 100 | const A* __restrict a_pos = a.data(); | 74 | 100 | const B* __restrict b_pos = b.data(); | 75 | 100 | UInt8* __restrict c_pos = c.data(); | 76 | 100 | const A* __restrict a_end = a_pos + size; | 77 | | | 78 | 219 | while (a_pos < a_end) { | 79 | 119 | *c_pos = Op::apply(*a_pos, *b_pos); | 80 | 119 | ++a_pos; | 81 | 119 | ++b_pos; | 82 | 119 | ++c_pos; | 83 | 119 | } | 84 | 100 | } |
_ZN5doris17NumComparisonImplIddNS_8EqualsOpILNS_13PrimitiveTypeE9EEEE13vector_vectorERKNS_8PODArrayIdLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 71 | 96 | PaddedPODArray<UInt8>& c) { | 72 | 96 | size_t size = a.size(); | 73 | 96 | const A* __restrict a_pos = a.data(); | 74 | 96 | const B* __restrict b_pos = b.data(); | 75 | 96 | UInt8* __restrict c_pos = c.data(); | 76 | 96 | const A* __restrict a_end = a_pos + size; | 77 | | | 78 | 213 | 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 | 96 | } |
_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 | 2.22k | PaddedPODArray<UInt8>& c) { | 72 | 2.22k | size_t size = a.size(); | 73 | 2.22k | const A* __restrict a_pos = a.data(); | 74 | 2.22k | const B* __restrict b_pos = b.data(); | 75 | 2.22k | UInt8* __restrict c_pos = c.data(); | 76 | 2.22k | const A* __restrict a_end = a_pos + size; | 77 | | | 78 | 297k | while (a_pos < a_end) { | 79 | 295k | *c_pos = Op::apply(*a_pos, *b_pos); | 80 | 295k | ++a_pos; | 81 | 295k | ++b_pos; | 82 | 295k | ++c_pos; | 83 | 295k | } | 84 | 2.22k | } |
_ZN5doris17NumComparisonImplIllNS_11NotEqualsOpILNS_13PrimitiveTypeE6EEEE13vector_vectorERKNS_8PODArrayIlLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 71 | 354 | PaddedPODArray<UInt8>& c) { | 72 | 354 | size_t size = a.size(); | 73 | 354 | const A* __restrict a_pos = a.data(); | 74 | 354 | const B* __restrict b_pos = b.data(); | 75 | 354 | UInt8* __restrict c_pos = c.data(); | 76 | 354 | const A* __restrict a_end = a_pos + size; | 77 | | | 78 | 6.37k | while (a_pos < a_end) { | 79 | 6.02k | *c_pos = Op::apply(*a_pos, *b_pos); | 80 | 6.02k | ++a_pos; | 81 | 6.02k | ++b_pos; | 82 | 6.02k | ++c_pos; | 83 | 6.02k | } | 84 | 354 | } |
Unexecuted instantiation: _ZN5doris17NumComparisonImplInnNS_11NotEqualsOpILNS_13PrimitiveTypeE7EEEE13vector_vectorERKNS_8PODArrayInLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Unexecuted instantiation: _ZN5doris17NumComparisonImplIjjNS_11NotEqualsOpILNS_13PrimitiveTypeE36EEEE13vector_vectorERKNS_8PODArrayIjLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Unexecuted instantiation: _ZN5doris17NumComparisonImplIooNS_11NotEqualsOpILNS_13PrimitiveTypeE37EEEE13vector_vectorERKNS_8PODArrayIoLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE _ZN5doris17NumComparisonImplIffNS_11NotEqualsOpILNS_13PrimitiveTypeE8EEEE13vector_vectorERKNS_8PODArrayIfLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 71 | 20 | PaddedPODArray<UInt8>& c) { | 72 | 20 | size_t size = a.size(); | 73 | 20 | const A* __restrict a_pos = a.data(); | 74 | 20 | const B* __restrict b_pos = b.data(); | 75 | 20 | UInt8* __restrict c_pos = c.data(); | 76 | 20 | const A* __restrict a_end = a_pos + size; | 77 | | | 78 | 59 | while (a_pos < a_end) { | 79 | 39 | *c_pos = Op::apply(*a_pos, *b_pos); | 80 | 39 | ++a_pos; | 81 | 39 | ++b_pos; | 82 | 39 | ++c_pos; | 83 | 39 | } | 84 | 20 | } |
_ZN5doris17NumComparisonImplIddNS_11NotEqualsOpILNS_13PrimitiveTypeE9EEEE13vector_vectorERKNS_8PODArrayIdLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 71 | 20 | PaddedPODArray<UInt8>& c) { | 72 | 20 | size_t size = a.size(); | 73 | 20 | const A* __restrict a_pos = a.data(); | 74 | 20 | const B* __restrict b_pos = b.data(); | 75 | 20 | UInt8* __restrict c_pos = c.data(); | 76 | 20 | const A* __restrict a_end = a_pos + size; | 77 | | | 78 | 59 | while (a_pos < a_end) { | 79 | 39 | *c_pos = Op::apply(*a_pos, *b_pos); | 80 | 39 | ++a_pos; | 81 | 39 | ++b_pos; | 82 | 39 | ++c_pos; | 83 | 39 | } | 84 | 20 | } |
Unexecuted instantiation: _ZN5doris17NumComparisonImplIddNS_11NotEqualsOpILNS_13PrimitiveTypeE27EEEE13vector_vectorERKNS_8PODArrayIdLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Unexecuted instantiation: _ZN5doris17NumComparisonImplIhhNS_9GreaterOpILNS_13PrimitiveTypeE2EEEE13vector_vectorERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RS9_ _ZN5doris17NumComparisonImplINS_11DateV2ValueINS_15DateV2ValueTypeEEES3_NS_9GreaterOpILNS_13PrimitiveTypeE25EEEE13vector_vectorERKNS_8PODArrayIS3_Lm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESE_RNS8_IhLm4096ESB_Lm16ELm15EEE Line | Count | Source | 71 | 1.06k | PaddedPODArray<UInt8>& c) { | 72 | 1.06k | size_t size = a.size(); | 73 | 1.06k | const A* __restrict a_pos = a.data(); | 74 | 1.06k | const B* __restrict b_pos = b.data(); | 75 | 1.06k | UInt8* __restrict c_pos = c.data(); | 76 | 1.06k | const A* __restrict a_end = a_pos + size; | 77 | | | 78 | 3.77M | while (a_pos < a_end) { | 79 | 3.76M | *c_pos = Op::apply(*a_pos, *b_pos); | 80 | 3.76M | ++a_pos; | 81 | 3.76M | ++b_pos; | 82 | 3.76M | ++c_pos; | 83 | 3.76M | } | 84 | 1.06k | } |
_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 | 2 | PaddedPODArray<UInt8>& c) { | 72 | 2 | size_t size = a.size(); | 73 | 2 | const A* __restrict a_pos = a.data(); | 74 | 2 | const B* __restrict b_pos = b.data(); | 75 | 2 | UInt8* __restrict c_pos = c.data(); | 76 | 2 | const A* __restrict a_end = a_pos + size; | 77 | | | 78 | 11 | while (a_pos < a_end) { | 79 | 9 | *c_pos = Op::apply(*a_pos, *b_pos); | 80 | 9 | ++a_pos; | 81 | 9 | ++b_pos; | 82 | 9 | ++c_pos; | 83 | 9 | } | 84 | 2 | } |
_ZN5doris17NumComparisonImplIaaNS_9GreaterOpILNS_13PrimitiveTypeE3EEEE13vector_vectorERKNS_8PODArrayIaLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 71 | 40 | PaddedPODArray<UInt8>& c) { | 72 | 40 | size_t size = a.size(); | 73 | 40 | const A* __restrict a_pos = a.data(); | 74 | 40 | const B* __restrict b_pos = b.data(); | 75 | 40 | UInt8* __restrict c_pos = c.data(); | 76 | 40 | const A* __restrict a_end = a_pos + size; | 77 | | | 78 | 324 | while (a_pos < a_end) { | 79 | 284 | *c_pos = Op::apply(*a_pos, *b_pos); | 80 | 284 | ++a_pos; | 81 | 284 | ++b_pos; | 82 | 284 | ++c_pos; | 83 | 284 | } | 84 | 40 | } |
_ZN5doris17NumComparisonImplIssNS_9GreaterOpILNS_13PrimitiveTypeE4EEEE13vector_vectorERKNS_8PODArrayIsLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 71 | 112 | PaddedPODArray<UInt8>& c) { | 72 | 112 | size_t size = a.size(); | 73 | 112 | const A* __restrict a_pos = a.data(); | 74 | 112 | const B* __restrict b_pos = b.data(); | 75 | 112 | UInt8* __restrict c_pos = c.data(); | 76 | 112 | const A* __restrict a_end = a_pos + size; | 77 | | | 78 | 376 | while (a_pos < a_end) { | 79 | 264 | *c_pos = Op::apply(*a_pos, *b_pos); | 80 | 264 | ++a_pos; | 81 | 264 | ++b_pos; | 82 | 264 | ++c_pos; | 83 | 264 | } | 84 | 112 | } |
_ZN5doris17NumComparisonImplIiiNS_9GreaterOpILNS_13PrimitiveTypeE5EEEE13vector_vectorERKNS_8PODArrayIiLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 71 | 80 | PaddedPODArray<UInt8>& c) { | 72 | 80 | size_t size = a.size(); | 73 | 80 | const A* __restrict a_pos = a.data(); | 74 | 80 | const B* __restrict b_pos = b.data(); | 75 | 80 | UInt8* __restrict c_pos = c.data(); | 76 | 80 | const A* __restrict a_end = a_pos + size; | 77 | | | 78 | 338 | while (a_pos < a_end) { | 79 | 258 | *c_pos = Op::apply(*a_pos, *b_pos); | 80 | 258 | ++a_pos; | 81 | 258 | ++b_pos; | 82 | 258 | ++c_pos; | 83 | 258 | } | 84 | 80 | } |
_ZN5doris17NumComparisonImplIllNS_9GreaterOpILNS_13PrimitiveTypeE6EEEE13vector_vectorERKNS_8PODArrayIlLm4096ENS_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 | 567 | while (a_pos < a_end) { | 79 | 503 | *c_pos = Op::apply(*a_pos, *b_pos); | 80 | 503 | ++a_pos; | 81 | 503 | ++b_pos; | 82 | 503 | ++c_pos; | 83 | 503 | } | 84 | 64 | } |
_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 | 26 | PaddedPODArray<UInt8>& c) { | 72 | 26 | size_t size = a.size(); | 73 | 26 | const A* __restrict a_pos = a.data(); | 74 | 26 | const B* __restrict b_pos = b.data(); | 75 | 26 | UInt8* __restrict c_pos = c.data(); | 76 | 26 | const A* __restrict a_end = a_pos + size; | 77 | | | 78 | 96 | while (a_pos < a_end) { | 79 | 70 | *c_pos = Op::apply(*a_pos, *b_pos); | 80 | 70 | ++a_pos; | 81 | 70 | ++b_pos; | 82 | 70 | ++c_pos; | 83 | 70 | } | 84 | 26 | } |
Unexecuted instantiation: _ZN5doris17NumComparisonImplIddNS_9GreaterOpILNS_13PrimitiveTypeE27EEEE13vector_vectorERKNS_8PODArrayIdLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE _ZN5doris17NumComparisonImplIhhNS_17GreaterOrEqualsOpILNS_13PrimitiveTypeE2EEEE13vector_vectorERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RS9_ 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 | 84 | while (a_pos < a_end) { | 79 | 42 | *c_pos = Op::apply(*a_pos, *b_pos); | 80 | 42 | ++a_pos; | 81 | 42 | ++b_pos; | 82 | 42 | ++c_pos; | 83 | 42 | } | 84 | 42 | } |
_ZN5doris17NumComparisonImplINS_11DateV2ValueINS_15DateV2ValueTypeEEES3_NS_17GreaterOrEqualsOpILNS_13PrimitiveTypeE25EEEE13vector_vectorERKNS_8PODArrayIS3_Lm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESE_RNS8_IhLm4096ESB_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 | 122 | while (a_pos < a_end) { | 79 | 61 | *c_pos = Op::apply(*a_pos, *b_pos); | 80 | 61 | ++a_pos; | 81 | 61 | ++b_pos; | 82 | 61 | ++c_pos; | 83 | 61 | } | 84 | 61 | } |
_ZN5doris17NumComparisonImplINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEES3_NS_17GreaterOrEqualsOpILNS_13PrimitiveTypeE26EEEE13vector_vectorERKNS_8PODArrayIS3_Lm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESE_RNS8_IhLm4096ESB_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 | 247 | while (a_pos < a_end) { | 79 | 149 | *c_pos = Op::apply(*a_pos, *b_pos); | 80 | 149 | ++a_pos; | 81 | 149 | ++b_pos; | 82 | 149 | ++c_pos; | 83 | 149 | } | 84 | 98 | } |
_ZN5doris17NumComparisonImplINS_16TimestampTzValueES1_NS_17GreaterOrEqualsOpILNS_13PrimitiveTypeE42EEEE13vector_vectorERKNS_8PODArrayIS1_Lm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESC_RNS6_IhLm4096ES9_Lm16ELm15EEE Line | Count | Source | 71 | 2 | PaddedPODArray<UInt8>& c) { | 72 | 2 | size_t size = a.size(); | 73 | 2 | const A* __restrict a_pos = a.data(); | 74 | 2 | const B* __restrict b_pos = b.data(); | 75 | 2 | UInt8* __restrict c_pos = c.data(); | 76 | 2 | const A* __restrict a_end = a_pos + size; | 77 | | | 78 | 11 | while (a_pos < a_end) { | 79 | 9 | *c_pos = Op::apply(*a_pos, *b_pos); | 80 | 9 | ++a_pos; | 81 | 9 | ++b_pos; | 82 | 9 | ++c_pos; | 83 | 9 | } | 84 | 2 | } |
Unexecuted instantiation: _ZN5doris17NumComparisonImplIaaNS_17GreaterOrEqualsOpILNS_13PrimitiveTypeE3EEEE13vector_vectorERKNS_8PODArrayIaLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Unexecuted instantiation: _ZN5doris17NumComparisonImplIssNS_17GreaterOrEqualsOpILNS_13PrimitiveTypeE4EEEE13vector_vectorERKNS_8PODArrayIsLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE _ZN5doris17NumComparisonImplIiiNS_17GreaterOrEqualsOpILNS_13PrimitiveTypeE5EEEE13vector_vectorERKNS_8PODArrayIiLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 71 | 79 | PaddedPODArray<UInt8>& c) { | 72 | 79 | size_t size = a.size(); | 73 | 79 | const A* __restrict a_pos = a.data(); | 74 | 79 | const B* __restrict b_pos = b.data(); | 75 | 79 | UInt8* __restrict c_pos = c.data(); | 76 | 79 | const A* __restrict a_end = a_pos + size; | 77 | | | 78 | 159 | while (a_pos < a_end) { | 79 | 80 | *c_pos = Op::apply(*a_pos, *b_pos); | 80 | 80 | ++a_pos; | 81 | 80 | ++b_pos; | 82 | 80 | ++c_pos; | 83 | 80 | } | 84 | 79 | } |
_ZN5doris17NumComparisonImplIllNS_17GreaterOrEqualsOpILNS_13PrimitiveTypeE6EEEE13vector_vectorERKNS_8PODArrayIlLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 71 | 39 | PaddedPODArray<UInt8>& c) { | 72 | 39 | size_t size = a.size(); | 73 | 39 | const A* __restrict a_pos = a.data(); | 74 | 39 | const B* __restrict b_pos = b.data(); | 75 | 39 | UInt8* __restrict c_pos = c.data(); | 76 | 39 | const A* __restrict a_end = a_pos + size; | 77 | | | 78 | 124 | while (a_pos < a_end) { | 79 | 85 | *c_pos = Op::apply(*a_pos, *b_pos); | 80 | 85 | ++a_pos; | 81 | 85 | ++b_pos; | 82 | 85 | ++c_pos; | 83 | 85 | } | 84 | 39 | } |
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 | 80 | PaddedPODArray<UInt8>& c) { | 72 | 80 | size_t size = a.size(); | 73 | 80 | const A* __restrict a_pos = a.data(); | 74 | 80 | const B* __restrict b_pos = b.data(); | 75 | 80 | UInt8* __restrict c_pos = c.data(); | 76 | 80 | const A* __restrict a_end = a_pos + size; | 77 | | | 78 | 179 | while (a_pos < a_end) { | 79 | 99 | *c_pos = Op::apply(*a_pos, *b_pos); | 80 | 99 | ++a_pos; | 81 | 99 | ++b_pos; | 82 | 99 | ++c_pos; | 83 | 99 | } | 84 | 80 | } |
_ZN5doris17NumComparisonImplIddNS_17GreaterOrEqualsOpILNS_13PrimitiveTypeE9EEEE13vector_vectorERKNS_8PODArrayIdLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 71 | 22 | PaddedPODArray<UInt8>& c) { | 72 | 22 | size_t size = a.size(); | 73 | 22 | const A* __restrict a_pos = a.data(); | 74 | 22 | const B* __restrict b_pos = b.data(); | 75 | 22 | UInt8* __restrict c_pos = c.data(); | 76 | 22 | const A* __restrict a_end = a_pos + size; | 77 | | | 78 | 66 | 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 | 22 | } |
Unexecuted instantiation: _ZN5doris17NumComparisonImplIddNS_17GreaterOrEqualsOpILNS_13PrimitiveTypeE27EEEE13vector_vectorERKNS_8PODArrayIdLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE _ZN5doris17NumComparisonImplIhhNS_6LessOpILNS_13PrimitiveTypeE2EEEE13vector_vectorERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RS9_ Line | Count | Source | 71 | 92 | PaddedPODArray<UInt8>& c) { | 72 | 92 | size_t size = a.size(); | 73 | 92 | const A* __restrict a_pos = a.data(); | 74 | 92 | const B* __restrict b_pos = b.data(); | 75 | 92 | UInt8* __restrict c_pos = c.data(); | 76 | 92 | const A* __restrict a_end = a_pos + size; | 77 | | | 78 | 358 | while (a_pos < a_end) { | 79 | 266 | *c_pos = Op::apply(*a_pos, *b_pos); | 80 | 266 | ++a_pos; | 81 | 266 | ++b_pos; | 82 | 266 | ++c_pos; | 83 | 266 | } | 84 | 92 | } |
_ZN5doris17NumComparisonImplINS_11DateV2ValueINS_15DateV2ValueTypeEEES3_NS_6LessOpILNS_13PrimitiveTypeE25EEEE13vector_vectorERKNS_8PODArrayIS3_Lm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESE_RNS8_IhLm4096ESB_Lm16ELm15EEE Line | Count | Source | 71 | 1.68k | PaddedPODArray<UInt8>& c) { | 72 | 1.68k | size_t size = a.size(); | 73 | 1.68k | const A* __restrict a_pos = a.data(); | 74 | 1.68k | const B* __restrict b_pos = b.data(); | 75 | 1.68k | UInt8* __restrict c_pos = c.data(); | 76 | 1.68k | const A* __restrict a_end = a_pos + size; | 77 | | | 78 | 1.80M | while (a_pos < a_end) { | 79 | 1.80M | *c_pos = Op::apply(*a_pos, *b_pos); | 80 | 1.80M | ++a_pos; | 81 | 1.80M | ++b_pos; | 82 | 1.80M | ++c_pos; | 83 | 1.80M | } | 84 | 1.68k | } |
_ZN5doris17NumComparisonImplINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEES3_NS_6LessOpILNS_13PrimitiveTypeE26EEEE13vector_vectorERKNS_8PODArrayIS3_Lm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESE_RNS8_IhLm4096ESB_Lm16ELm15EEE Line | Count | Source | 71 | 272 | PaddedPODArray<UInt8>& c) { | 72 | 272 | size_t size = a.size(); | 73 | 272 | const A* __restrict a_pos = a.data(); | 74 | 272 | const B* __restrict b_pos = b.data(); | 75 | 272 | UInt8* __restrict c_pos = c.data(); | 76 | 272 | const A* __restrict a_end = a_pos + size; | 77 | | | 78 | 892 | while (a_pos < a_end) { | 79 | 620 | *c_pos = Op::apply(*a_pos, *b_pos); | 80 | 620 | ++a_pos; | 81 | 620 | ++b_pos; | 82 | 620 | ++c_pos; | 83 | 620 | } | 84 | 272 | } |
_ZN5doris17NumComparisonImplINS_16TimestampTzValueES1_NS_6LessOpILNS_13PrimitiveTypeE42EEEE13vector_vectorERKNS_8PODArrayIS1_Lm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESC_RNS6_IhLm4096ES9_Lm16ELm15EEE Line | Count | Source | 71 | 2 | PaddedPODArray<UInt8>& c) { | 72 | 2 | size_t size = a.size(); | 73 | 2 | const A* __restrict a_pos = a.data(); | 74 | 2 | const B* __restrict b_pos = b.data(); | 75 | 2 | UInt8* __restrict c_pos = c.data(); | 76 | 2 | const A* __restrict a_end = a_pos + size; | 77 | | | 78 | 11 | while (a_pos < a_end) { | 79 | 9 | *c_pos = Op::apply(*a_pos, *b_pos); | 80 | 9 | ++a_pos; | 81 | 9 | ++b_pos; | 82 | 9 | ++c_pos; | 83 | 9 | } | 84 | 2 | } |
_ZN5doris17NumComparisonImplIaaNS_6LessOpILNS_13PrimitiveTypeE3EEEE13vector_vectorERKNS_8PODArrayIaLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 71 | 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 | 139 | PaddedPODArray<UInt8>& c) { | 72 | 139 | size_t size = a.size(); | 73 | 139 | const A* __restrict a_pos = a.data(); | 74 | 139 | const B* __restrict b_pos = b.data(); | 75 | 139 | UInt8* __restrict c_pos = c.data(); | 76 | 139 | const A* __restrict a_end = a_pos + size; | 77 | | | 78 | 454 | while (a_pos < a_end) { | 79 | 315 | *c_pos = Op::apply(*a_pos, *b_pos); | 80 | 315 | ++a_pos; | 81 | 315 | ++b_pos; | 82 | 315 | ++c_pos; | 83 | 315 | } | 84 | 139 | } |
_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 | 864 | *c_pos = Op::apply(*a_pos, *b_pos); | 80 | 864 | ++a_pos; | 81 | 864 | ++b_pos; | 82 | 864 | ++c_pos; | 83 | 864 | } | 84 | 178 | } |
_ZN5doris17NumComparisonImplIllNS_6LessOpILNS_13PrimitiveTypeE6EEEE13vector_vectorERKNS_8PODArrayIlLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 71 | 200 | PaddedPODArray<UInt8>& c) { | 72 | 200 | size_t size = a.size(); | 73 | 200 | const A* __restrict a_pos = a.data(); | 74 | 200 | const B* __restrict b_pos = b.data(); | 75 | 200 | UInt8* __restrict c_pos = c.data(); | 76 | 200 | const A* __restrict a_end = a_pos + size; | 77 | | | 78 | 5.39k | while (a_pos < a_end) { | 79 | 5.19k | *c_pos = Op::apply(*a_pos, *b_pos); | 80 | 5.19k | ++a_pos; | 81 | 5.19k | ++b_pos; | 82 | 5.19k | ++c_pos; | 83 | 5.19k | } | 84 | 200 | } |
_ZN5doris17NumComparisonImplInnNS_6LessOpILNS_13PrimitiveTypeE7EEEE13vector_vectorERKNS_8PODArrayInLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 71 | 134 | PaddedPODArray<UInt8>& c) { | 72 | 134 | size_t size = a.size(); | 73 | 134 | const A* __restrict a_pos = a.data(); | 74 | 134 | const B* __restrict b_pos = b.data(); | 75 | 134 | UInt8* __restrict c_pos = c.data(); | 76 | 134 | const A* __restrict a_end = a_pos + size; | 77 | | | 78 | 442 | while (a_pos < a_end) { | 79 | 308 | *c_pos = Op::apply(*a_pos, *b_pos); | 80 | 308 | ++a_pos; | 81 | 308 | ++b_pos; | 82 | 308 | ++c_pos; | 83 | 308 | } | 84 | 134 | } |
_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 | 157 | PaddedPODArray<UInt8>& c) { | 72 | 157 | size_t size = a.size(); | 73 | 157 | const A* __restrict a_pos = a.data(); | 74 | 157 | const B* __restrict b_pos = b.data(); | 75 | 157 | UInt8* __restrict c_pos = c.data(); | 76 | 157 | const A* __restrict a_end = a_pos + size; | 77 | | | 78 | 507 | 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 | 157 | } |
_ZN5doris17NumComparisonImplIddNS_6LessOpILNS_13PrimitiveTypeE9EEEE13vector_vectorERKNS_8PODArrayIdLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 71 | 155 | PaddedPODArray<UInt8>& c) { | 72 | 155 | size_t size = a.size(); | 73 | 155 | const A* __restrict a_pos = a.data(); | 74 | 155 | const B* __restrict b_pos = b.data(); | 75 | 155 | UInt8* __restrict c_pos = c.data(); | 76 | 155 | const A* __restrict a_end = a_pos + size; | 77 | | | 78 | 510 | while (a_pos < a_end) { | 79 | 355 | *c_pos = Op::apply(*a_pos, *b_pos); | 80 | 355 | ++a_pos; | 81 | 355 | ++b_pos; | 82 | 355 | ++c_pos; | 83 | 355 | } | 84 | 155 | } |
Unexecuted instantiation: _ZN5doris17NumComparisonImplIddNS_6LessOpILNS_13PrimitiveTypeE27EEEE13vector_vectorERKNS_8PODArrayIdLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE _ZN5doris17NumComparisonImplIhhNS_14LessOrEqualsOpILNS_13PrimitiveTypeE2EEEE13vector_vectorERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RS9_ 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 | 84 | while (a_pos < a_end) { | 79 | 42 | *c_pos = Op::apply(*a_pos, *b_pos); | 80 | 42 | ++a_pos; | 81 | 42 | ++b_pos; | 82 | 42 | ++c_pos; | 83 | 42 | } | 84 | 42 | } |
_ZN5doris17NumComparisonImplINS_11DateV2ValueINS_15DateV2ValueTypeEEES3_NS_14LessOrEqualsOpILNS_13PrimitiveTypeE25EEEE13vector_vectorERKNS_8PODArrayIS3_Lm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESE_RNS8_IhLm4096ESB_Lm16ELm15EEE Line | Count | Source | 71 | 478 | PaddedPODArray<UInt8>& c) { | 72 | 478 | size_t size = a.size(); | 73 | 478 | const A* __restrict a_pos = a.data(); | 74 | 478 | const B* __restrict b_pos = b.data(); | 75 | 478 | UInt8* __restrict c_pos = c.data(); | 76 | 478 | const A* __restrict a_end = a_pos + size; | 77 | | | 78 | 6.73k | while (a_pos < a_end) { | 79 | 6.25k | *c_pos = Op::apply(*a_pos, *b_pos); | 80 | 6.25k | ++a_pos; | 81 | 6.25k | ++b_pos; | 82 | 6.25k | ++c_pos; | 83 | 6.25k | } | 84 | 478 | } |
_ZN5doris17NumComparisonImplINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEES3_NS_14LessOrEqualsOpILNS_13PrimitiveTypeE26EEEE13vector_vectorERKNS_8PODArrayIS3_Lm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESE_RNS8_IhLm4096ESB_Lm16ELm15EEE Line | Count | Source | 71 | 90 | PaddedPODArray<UInt8>& c) { | 72 | 90 | size_t size = a.size(); | 73 | 90 | const A* __restrict a_pos = a.data(); | 74 | 90 | const B* __restrict b_pos = b.data(); | 75 | 90 | UInt8* __restrict c_pos = c.data(); | 76 | 90 | const A* __restrict a_end = a_pos + size; | 77 | | | 78 | 180 | while (a_pos < a_end) { | 79 | 90 | *c_pos = Op::apply(*a_pos, *b_pos); | 80 | 90 | ++a_pos; | 81 | 90 | ++b_pos; | 82 | 90 | ++c_pos; | 83 | 90 | } | 84 | 90 | } |
_ZN5doris17NumComparisonImplINS_16TimestampTzValueES1_NS_14LessOrEqualsOpILNS_13PrimitiveTypeE42EEEE13vector_vectorERKNS_8PODArrayIS1_Lm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESC_RNS6_IhLm4096ES9_Lm16ELm15EEE Line | Count | Source | 71 | 2 | PaddedPODArray<UInt8>& c) { | 72 | 2 | size_t size = a.size(); | 73 | 2 | const A* __restrict a_pos = a.data(); | 74 | 2 | const B* __restrict b_pos = b.data(); | 75 | 2 | UInt8* __restrict c_pos = c.data(); | 76 | 2 | const A* __restrict a_end = a_pos + size; | 77 | | | 78 | 11 | while (a_pos < a_end) { | 79 | 9 | *c_pos = Op::apply(*a_pos, *b_pos); | 80 | 9 | ++a_pos; | 81 | 9 | ++b_pos; | 82 | 9 | ++c_pos; | 83 | 9 | } | 84 | 2 | } |
_ZN5doris17NumComparisonImplIaaNS_14LessOrEqualsOpILNS_13PrimitiveTypeE3EEEE13vector_vectorERKNS_8PODArrayIaLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 71 | 1 | PaddedPODArray<UInt8>& c) { | 72 | 1 | size_t size = a.size(); | 73 | 1 | const A* __restrict a_pos = a.data(); | 74 | 1 | const B* __restrict b_pos = b.data(); | 75 | 1 | UInt8* __restrict c_pos = c.data(); | 76 | 1 | const A* __restrict a_end = a_pos + size; | 77 | | | 78 | 5 | while (a_pos < a_end) { | 79 | 4 | *c_pos = Op::apply(*a_pos, *b_pos); | 80 | 4 | ++a_pos; | 81 | 4 | ++b_pos; | 82 | 4 | ++c_pos; | 83 | 4 | } | 84 | 1 | } |
Unexecuted instantiation: _ZN5doris17NumComparisonImplIssNS_14LessOrEqualsOpILNS_13PrimitiveTypeE4EEEE13vector_vectorERKNS_8PODArrayIsLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE _ZN5doris17NumComparisonImplIiiNS_14LessOrEqualsOpILNS_13PrimitiveTypeE5EEEE13vector_vectorERKNS_8PODArrayIiLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 71 | 83 | PaddedPODArray<UInt8>& c) { | 72 | 83 | size_t size = a.size(); | 73 | 83 | const A* __restrict a_pos = a.data(); | 74 | 83 | const B* __restrict b_pos = b.data(); | 75 | 83 | UInt8* __restrict c_pos = c.data(); | 76 | 83 | const A* __restrict a_end = a_pos + size; | 77 | | | 78 | 225 | while (a_pos < a_end) { | 79 | 142 | *c_pos = Op::apply(*a_pos, *b_pos); | 80 | 142 | ++a_pos; | 81 | 142 | ++b_pos; | 82 | 142 | ++c_pos; | 83 | 142 | } | 84 | 83 | } |
_ZN5doris17NumComparisonImplIllNS_14LessOrEqualsOpILNS_13PrimitiveTypeE6EEEE13vector_vectorERKNS_8PODArrayIlLm4096ENS_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 | 129 | 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 | 61 | } |
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 | 80 | PaddedPODArray<UInt8>& c) { | 72 | 80 | size_t size = a.size(); | 73 | 80 | const A* __restrict a_pos = a.data(); | 74 | 80 | const B* __restrict b_pos = b.data(); | 75 | 80 | UInt8* __restrict c_pos = c.data(); | 76 | 80 | const A* __restrict a_end = a_pos + size; | 77 | | | 78 | 179 | while (a_pos < a_end) { | 79 | 99 | *c_pos = Op::apply(*a_pos, *b_pos); | 80 | 99 | ++a_pos; | 81 | 99 | ++b_pos; | 82 | 99 | ++c_pos; | 83 | 99 | } | 84 | 80 | } |
_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 | 196k | PaddedPODArray<UInt8>& c) { |
88 | 196k | size_t size = a.size(); |
89 | 196k | const A* __restrict a_pos = a.data(); |
90 | 196k | UInt8* __restrict c_pos = c.data(); |
91 | 196k | const A* __restrict a_end = a_pos + size; |
92 | | |
93 | 94.1M | while (a_pos < a_end) { |
94 | 93.9M | *c_pos = Op::apply(*a_pos, b); |
95 | 93.9M | ++a_pos; |
96 | 93.9M | ++c_pos; |
97 | 93.9M | } |
98 | 196k | } _ZN5doris17NumComparisonImplIhhNS_8EqualsOpILNS_13PrimitiveTypeE2EEEE15vector_constantERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEhRS9_ Line | Count | Source | 87 | 1.56k | PaddedPODArray<UInt8>& c) { | 88 | 1.56k | size_t size = a.size(); | 89 | 1.56k | const A* __restrict a_pos = a.data(); | 90 | 1.56k | UInt8* __restrict c_pos = c.data(); | 91 | 1.56k | const A* __restrict a_end = a_pos + size; | 92 | | | 93 | 5.07k | while (a_pos < a_end) { | 94 | 3.51k | *c_pos = Op::apply(*a_pos, b); | 95 | 3.51k | ++a_pos; | 96 | 3.51k | ++c_pos; | 97 | 3.51k | } | 98 | 1.56k | } |
_ZN5doris17NumComparisonImplINS_11DateV2ValueINS_15DateV2ValueTypeEEES3_NS_8EqualsOpILNS_13PrimitiveTypeE25EEEE15vector_constantERKNS_8PODArrayIS3_Lm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEES3_RNS8_IhLm4096ESB_Lm16ELm15EEE Line | Count | Source | 87 | 1.06k | PaddedPODArray<UInt8>& c) { | 88 | 1.06k | size_t size = a.size(); | 89 | 1.06k | const A* __restrict a_pos = a.data(); | 90 | 1.06k | UInt8* __restrict c_pos = c.data(); | 91 | 1.06k | 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 | 1.06k | } |
_ZN5doris17NumComparisonImplINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEES3_NS_8EqualsOpILNS_13PrimitiveTypeE26EEEE15vector_constantERKNS_8PODArrayIS3_Lm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEES3_RNS8_IhLm4096ESB_Lm16ELm15EEE Line | Count | Source | 87 | 340 | PaddedPODArray<UInt8>& c) { | 88 | 340 | size_t size = a.size(); | 89 | 340 | const A* __restrict a_pos = a.data(); | 90 | 340 | UInt8* __restrict c_pos = c.data(); | 91 | 340 | 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 | 340 | } |
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.35k | PaddedPODArray<UInt8>& c) { | 88 | 5.35k | size_t size = a.size(); | 89 | 5.35k | const A* __restrict a_pos = a.data(); | 90 | 5.35k | UInt8* __restrict c_pos = c.data(); | 91 | 5.35k | const A* __restrict a_end = a_pos + size; | 92 | | | 93 | 9.31M | while (a_pos < a_end) { | 94 | 9.30M | *c_pos = Op::apply(*a_pos, b); | 95 | 9.30M | ++a_pos; | 96 | 9.30M | ++c_pos; | 97 | 9.30M | } | 98 | 5.35k | } |
_ZN5doris17NumComparisonImplIssNS_8EqualsOpILNS_13PrimitiveTypeE4EEEE15vector_constantERKNS_8PODArrayIsLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEsRNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 87 | 699 | PaddedPODArray<UInt8>& c) { | 88 | 699 | size_t size = a.size(); | 89 | 699 | const A* __restrict a_pos = a.data(); | 90 | 699 | UInt8* __restrict c_pos = c.data(); | 91 | 699 | const A* __restrict a_end = a_pos + size; | 92 | | | 93 | 160k | while (a_pos < a_end) { | 94 | 159k | *c_pos = Op::apply(*a_pos, b); | 95 | 159k | ++a_pos; | 96 | 159k | ++c_pos; | 97 | 159k | } | 98 | 699 | } |
_ZN5doris17NumComparisonImplIiiNS_8EqualsOpILNS_13PrimitiveTypeE5EEEE15vector_constantERKNS_8PODArrayIiLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEiRNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 87 | 25.7k | PaddedPODArray<UInt8>& c) { | 88 | 25.7k | size_t size = a.size(); | 89 | 25.7k | const A* __restrict a_pos = a.data(); | 90 | 25.7k | UInt8* __restrict c_pos = c.data(); | 91 | 25.7k | const A* __restrict a_end = a_pos + size; | 92 | | | 93 | 1.31M | while (a_pos < a_end) { | 94 | 1.28M | *c_pos = Op::apply(*a_pos, b); | 95 | 1.28M | ++a_pos; | 96 | 1.28M | ++c_pos; | 97 | 1.28M | } | 98 | 25.7k | } |
_ZN5doris17NumComparisonImplIllNS_8EqualsOpILNS_13PrimitiveTypeE6EEEE15vector_constantERKNS_8PODArrayIlLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEElRNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 87 | 16.9k | PaddedPODArray<UInt8>& c) { | 88 | 16.9k | size_t size = a.size(); | 89 | 16.9k | const A* __restrict a_pos = a.data(); | 90 | 16.9k | UInt8* __restrict c_pos = c.data(); | 91 | 16.9k | const A* __restrict a_end = a_pos + size; | 92 | | | 93 | 3.13M | while (a_pos < a_end) { | 94 | 3.12M | *c_pos = Op::apply(*a_pos, b); | 95 | 3.12M | ++a_pos; | 96 | 3.12M | ++c_pos; | 97 | 3.12M | } | 98 | 16.9k | } |
_ZN5doris17NumComparisonImplInnNS_8EqualsOpILNS_13PrimitiveTypeE7EEEE15vector_constantERKNS_8PODArrayInLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEnRNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 87 | 67 | PaddedPODArray<UInt8>& c) { | 88 | 67 | size_t size = a.size(); | 89 | 67 | const A* __restrict a_pos = a.data(); | 90 | 67 | UInt8* __restrict c_pos = c.data(); | 91 | 67 | 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 | 67 | } |
_ZN5doris17NumComparisonImplIjjNS_8EqualsOpILNS_13PrimitiveTypeE36EEEE15vector_constantERKNS_8PODArrayIjLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEjRNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 87 | 13 | PaddedPODArray<UInt8>& c) { | 88 | 13 | size_t size = a.size(); | 89 | 13 | const A* __restrict a_pos = a.data(); | 90 | 13 | UInt8* __restrict c_pos = c.data(); | 91 | 13 | const A* __restrict a_end = a_pos + size; | 92 | | | 93 | 127 | while (a_pos < a_end) { | 94 | 114 | *c_pos = Op::apply(*a_pos, b); | 95 | 114 | ++a_pos; | 96 | 114 | ++c_pos; | 97 | 114 | } | 98 | 13 | } |
_ZN5doris17NumComparisonImplIooNS_8EqualsOpILNS_13PrimitiveTypeE37EEEE15vector_constantERKNS_8PODArrayIoLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEoRNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 87 | 6 | PaddedPODArray<UInt8>& c) { | 88 | 6 | size_t size = a.size(); | 89 | 6 | const A* __restrict a_pos = a.data(); | 90 | 6 | UInt8* __restrict c_pos = c.data(); | 91 | 6 | const A* __restrict a_end = a_pos + size; | 92 | | | 93 | 12 | while (a_pos < a_end) { | 94 | 6 | *c_pos = Op::apply(*a_pos, b); | 95 | 6 | ++a_pos; | 96 | 6 | ++c_pos; | 97 | 6 | } | 98 | 6 | } |
_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 | 701 | PaddedPODArray<UInt8>& c) { | 88 | 701 | size_t size = a.size(); | 89 | 701 | const A* __restrict a_pos = a.data(); | 90 | 701 | UInt8* __restrict c_pos = c.data(); | 91 | 701 | const A* __restrict a_end = a_pos + size; | 92 | | | 93 | 715k | while (a_pos < a_end) { | 94 | 714k | *c_pos = Op::apply(*a_pos, b); | 95 | 714k | ++a_pos; | 96 | 714k | ++c_pos; | 97 | 714k | } | 98 | 701 | } |
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 | 35 | PaddedPODArray<UInt8>& c) { | 88 | 35 | size_t size = a.size(); | 89 | 35 | const A* __restrict a_pos = a.data(); | 90 | 35 | UInt8* __restrict c_pos = c.data(); | 91 | 35 | const A* __restrict a_end = a_pos + size; | 92 | | | 93 | 90 | while (a_pos < a_end) { | 94 | 55 | *c_pos = Op::apply(*a_pos, b); | 95 | 55 | ++a_pos; | 96 | 55 | ++c_pos; | 97 | 55 | } | 98 | 35 | } |
_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.66k | PaddedPODArray<UInt8>& c) { | 88 | 2.66k | size_t size = a.size(); | 89 | 2.66k | const A* __restrict a_pos = a.data(); | 90 | 2.66k | UInt8* __restrict c_pos = c.data(); | 91 | 2.66k | 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.66k | } |
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 | 163 | PaddedPODArray<UInt8>& c) { | 88 | 163 | size_t size = a.size(); | 89 | 163 | const A* __restrict a_pos = a.data(); | 90 | 163 | UInt8* __restrict c_pos = c.data(); | 91 | 163 | const A* __restrict a_end = a_pos + size; | 92 | | | 93 | 4.51k | while (a_pos < a_end) { | 94 | 4.35k | *c_pos = Op::apply(*a_pos, b); | 95 | 4.35k | ++a_pos; | 96 | 4.35k | ++c_pos; | 97 | 4.35k | } | 98 | 163 | } |
_ZN5doris17NumComparisonImplINS_11DateV2ValueINS_15DateV2ValueTypeEEES3_NS_6LessOpILNS_13PrimitiveTypeE25EEEE15vector_constantERKNS_8PODArrayIS3_Lm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEES3_RNS8_IhLm4096ESB_Lm16ELm15EEE Line | Count | Source | 87 | 423 | PaddedPODArray<UInt8>& c) { | 88 | 423 | size_t size = a.size(); | 89 | 423 | const A* __restrict a_pos = a.data(); | 90 | 423 | UInt8* __restrict c_pos = c.data(); | 91 | 423 | 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 | 423 | } |
_ZN5doris17NumComparisonImplINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEES3_NS_9GreaterOpILNS_13PrimitiveTypeE26EEEE15vector_constantERKNS_8PODArrayIS3_Lm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEES3_RNS8_IhLm4096ESB_Lm16ELm15EEE Line | Count | Source | 87 | 122 | PaddedPODArray<UInt8>& c) { | 88 | 122 | size_t size = a.size(); | 89 | 122 | const A* __restrict a_pos = a.data(); | 90 | 122 | UInt8* __restrict c_pos = c.data(); | 91 | 122 | const A* __restrict a_end = a_pos + size; | 92 | | | 93 | 286 | while (a_pos < a_end) { | 94 | 164 | *c_pos = Op::apply(*a_pos, b); | 95 | 164 | ++a_pos; | 96 | 164 | ++c_pos; | 97 | 164 | } | 98 | 122 | } |
_ZN5doris17NumComparisonImplINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEES3_NS_6LessOpILNS_13PrimitiveTypeE26EEEE15vector_constantERKNS_8PODArrayIS3_Lm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEES3_RNS8_IhLm4096ESB_Lm16ELm15EEE Line | Count | Source | 87 | 525 | PaddedPODArray<UInt8>& c) { | 88 | 525 | size_t size = a.size(); | 89 | 525 | const A* __restrict a_pos = a.data(); | 90 | 525 | UInt8* __restrict c_pos = c.data(); | 91 | 525 | const A* __restrict a_end = a_pos + size; | 92 | | | 93 | 45.8k | while (a_pos < a_end) { | 94 | 45.3k | *c_pos = Op::apply(*a_pos, b); | 95 | 45.3k | ++a_pos; | 96 | 45.3k | ++c_pos; | 97 | 45.3k | } | 98 | 525 | } |
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.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 | 7.37k | while (a_pos < a_end) { | 94 | 5.94k | *c_pos = Op::apply(*a_pos, b); | 95 | 5.94k | ++a_pos; | 96 | 5.94k | ++c_pos; | 97 | 5.94k | } | 98 | 1.42k | } |
_ZN5doris17NumComparisonImplIaaNS_6LessOpILNS_13PrimitiveTypeE3EEEE15vector_constantERKNS_8PODArrayIaLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEaRNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 87 | 2.03k | PaddedPODArray<UInt8>& c) { | 88 | 2.03k | size_t size = a.size(); | 89 | 2.03k | const A* __restrict a_pos = a.data(); | 90 | 2.03k | UInt8* __restrict c_pos = c.data(); | 91 | 2.03k | const A* __restrict a_end = a_pos + size; | 92 | | | 93 | 7.80k | while (a_pos < a_end) { | 94 | 5.77k | *c_pos = Op::apply(*a_pos, b); | 95 | 5.77k | ++a_pos; | 96 | 5.77k | ++c_pos; | 97 | 5.77k | } | 98 | 2.03k | } |
_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.40k | while (a_pos < a_end) { | 94 | 4.97k | *c_pos = Op::apply(*a_pos, b); | 95 | 4.97k | ++a_pos; | 96 | 4.97k | ++c_pos; | 97 | 4.97k | } | 98 | 1.42k | } |
_ZN5doris17NumComparisonImplIssNS_6LessOpILNS_13PrimitiveTypeE4EEEE15vector_constantERKNS_8PODArrayIsLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEsRNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 87 | 384 | PaddedPODArray<UInt8>& c) { | 88 | 384 | size_t size = a.size(); | 89 | 384 | const A* __restrict a_pos = a.data(); | 90 | 384 | UInt8* __restrict c_pos = c.data(); | 91 | 384 | 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 | 384 | } |
_ZN5doris17NumComparisonImplIiiNS_9GreaterOpILNS_13PrimitiveTypeE5EEEE15vector_constantERKNS_8PODArrayIiLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEiRNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 87 | 10.1k | PaddedPODArray<UInt8>& c) { | 88 | 10.1k | size_t size = a.size(); | 89 | 10.1k | const A* __restrict a_pos = a.data(); | 90 | 10.1k | UInt8* __restrict c_pos = c.data(); | 91 | 10.1k | const A* __restrict a_end = a_pos + size; | 92 | | | 93 | 1.90M | while (a_pos < a_end) { | 94 | 1.89M | *c_pos = Op::apply(*a_pos, b); | 95 | 1.89M | ++a_pos; | 96 | 1.89M | ++c_pos; | 97 | 1.89M | } | 98 | 10.1k | } |
_ZN5doris17NumComparisonImplIiiNS_6LessOpILNS_13PrimitiveTypeE5EEEE15vector_constantERKNS_8PODArrayIiLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEiRNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 87 | 65.4k | PaddedPODArray<UInt8>& c) { | 88 | 65.4k | size_t size = a.size(); | 89 | 65.4k | const A* __restrict a_pos = a.data(); | 90 | 65.4k | UInt8* __restrict c_pos = c.data(); | 91 | 65.4k | const A* __restrict a_end = a_pos + size; | 92 | | | 93 | 9.46M | while (a_pos < a_end) { | 94 | 9.39M | *c_pos = Op::apply(*a_pos, b); | 95 | 9.39M | ++a_pos; | 96 | 9.39M | ++c_pos; | 97 | 9.39M | } | 98 | 65.4k | } |
_ZN5doris17NumComparisonImplIllNS_9GreaterOpILNS_13PrimitiveTypeE6EEEE15vector_constantERKNS_8PODArrayIlLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEElRNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 87 | 13.2k | PaddedPODArray<UInt8>& c) { | 88 | 13.2k | size_t size = a.size(); | 89 | 13.2k | const A* __restrict a_pos = a.data(); | 90 | 13.2k | UInt8* __restrict c_pos = c.data(); | 91 | 13.2k | const A* __restrict a_end = a_pos + size; | 92 | | | 93 | 169k | 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.2k | } |
_ZN5doris17NumComparisonImplIllNS_6LessOpILNS_13PrimitiveTypeE6EEEE15vector_constantERKNS_8PODArrayIlLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEElRNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 87 | 1.88k | PaddedPODArray<UInt8>& c) { | 88 | 1.88k | size_t size = a.size(); | 89 | 1.88k | const A* __restrict a_pos = a.data(); | 90 | 1.88k | UInt8* __restrict c_pos = c.data(); | 91 | 1.88k | 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.88k | } |
_ZN5doris17NumComparisonImplInnNS_9GreaterOpILNS_13PrimitiveTypeE7EEEE15vector_constantERKNS_8PODArrayInLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEnRNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 87 | 293 | PaddedPODArray<UInt8>& c) { | 88 | 293 | size_t size = a.size(); | 89 | 293 | const A* __restrict a_pos = a.data(); | 90 | 293 | UInt8* __restrict c_pos = c.data(); | 91 | 293 | const A* __restrict a_end = a_pos + size; | 92 | | | 93 | 1.93k | while (a_pos < a_end) { | 94 | 1.63k | *c_pos = Op::apply(*a_pos, b); | 95 | 1.63k | ++a_pos; | 96 | 1.63k | ++c_pos; | 97 | 1.63k | } | 98 | 293 | } |
_ZN5doris17NumComparisonImplInnNS_6LessOpILNS_13PrimitiveTypeE7EEEE15vector_constantERKNS_8PODArrayInLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEnRNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 87 | 92 | PaddedPODArray<UInt8>& c) { | 88 | 92 | size_t size = a.size(); | 89 | 92 | const A* __restrict a_pos = a.data(); | 90 | 92 | UInt8* __restrict c_pos = c.data(); | 91 | 92 | 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 | 92 | } |
_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 | 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 | 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 | 216 | } |
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 | 103 | PaddedPODArray<UInt8>& c) { | 88 | 103 | size_t size = a.size(); | 89 | 103 | const A* __restrict a_pos = a.data(); | 90 | 103 | UInt8* __restrict c_pos = c.data(); | 91 | 103 | const A* __restrict a_end = a_pos + size; | 92 | | | 93 | 147k | while (a_pos < a_end) { | 94 | 147k | *c_pos = Op::apply(*a_pos, b); | 95 | 147k | ++a_pos; | 96 | 147k | ++c_pos; | 97 | 147k | } | 98 | 103 | } |
_ZN5doris17NumComparisonImplIhhNS_14LessOrEqualsOpILNS_13PrimitiveTypeE2EEEE15vector_constantERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEhRS9_ Line | Count | Source | 87 | 112 | PaddedPODArray<UInt8>& c) { | 88 | 112 | size_t size = a.size(); | 89 | 112 | const A* __restrict a_pos = a.data(); | 90 | 112 | UInt8* __restrict c_pos = c.data(); | 91 | 112 | const A* __restrict a_end = a_pos + size; | 92 | | | 93 | 132k | while (a_pos < a_end) { | 94 | 132k | *c_pos = Op::apply(*a_pos, b); | 95 | 132k | ++a_pos; | 96 | 132k | ++c_pos; | 97 | 132k | } | 98 | 112 | } |
_ZN5doris17NumComparisonImplINS_11DateV2ValueINS_15DateV2ValueTypeEEES3_NS_17GreaterOrEqualsOpILNS_13PrimitiveTypeE25EEEE15vector_constantERKNS_8PODArrayIS3_Lm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEES3_RNS8_IhLm4096ESB_Lm16ELm15EEE Line | Count | Source | 87 | 2.13k | PaddedPODArray<UInt8>& c) { | 88 | 2.13k | size_t size = a.size(); | 89 | 2.13k | const A* __restrict a_pos = a.data(); | 90 | 2.13k | UInt8* __restrict c_pos = c.data(); | 91 | 2.13k | const A* __restrict a_end = a_pos + size; | 92 | | | 93 | 4.66M | while (a_pos < a_end) { | 94 | 4.66M | *c_pos = Op::apply(*a_pos, b); | 95 | 4.66M | ++a_pos; | 96 | 4.66M | ++c_pos; | 97 | 4.66M | } | 98 | 2.13k | } |
_ZN5doris17NumComparisonImplINS_11DateV2ValueINS_15DateV2ValueTypeEEES3_NS_14LessOrEqualsOpILNS_13PrimitiveTypeE25EEEE15vector_constantERKNS_8PODArrayIS3_Lm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEES3_RNS8_IhLm4096ESB_Lm16ELm15EEE Line | Count | Source | 87 | 6.31k | PaddedPODArray<UInt8>& c) { | 88 | 6.31k | size_t size = a.size(); | 89 | 6.31k | const A* __restrict a_pos = a.data(); | 90 | 6.31k | UInt8* __restrict c_pos = c.data(); | 91 | 6.31k | 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.31k | } |
_ZN5doris17NumComparisonImplINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEES3_NS_17GreaterOrEqualsOpILNS_13PrimitiveTypeE26EEEE15vector_constantERKNS_8PODArrayIS3_Lm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEES3_RNS8_IhLm4096ESB_Lm16ELm15EEE Line | Count | Source | 87 | 944 | PaddedPODArray<UInt8>& c) { | 88 | 944 | size_t size = a.size(); | 89 | 944 | const A* __restrict a_pos = a.data(); | 90 | 944 | UInt8* __restrict c_pos = c.data(); | 91 | 944 | const A* __restrict a_end = a_pos + size; | 92 | | | 93 | 31.3k | while (a_pos < a_end) { | 94 | 30.3k | *c_pos = Op::apply(*a_pos, b); | 95 | 30.3k | ++a_pos; | 96 | 30.3k | ++c_pos; | 97 | 30.3k | } | 98 | 944 | } |
_ZN5doris17NumComparisonImplINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEES3_NS_14LessOrEqualsOpILNS_13PrimitiveTypeE26EEEE15vector_constantERKNS_8PODArrayIS3_Lm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEES3_RNS8_IhLm4096ESB_Lm16ELm15EEE Line | Count | Source | 87 | 367 | PaddedPODArray<UInt8>& c) { | 88 | 367 | size_t size = a.size(); | 89 | 367 | const A* __restrict a_pos = a.data(); | 90 | 367 | UInt8* __restrict c_pos = c.data(); | 91 | 367 | const A* __restrict a_end = a_pos + size; | 92 | | | 93 | 15.8k | while (a_pos < a_end) { | 94 | 15.4k | *c_pos = Op::apply(*a_pos, b); | 95 | 15.4k | ++a_pos; | 96 | 15.4k | ++c_pos; | 97 | 15.4k | } | 98 | 367 | } |
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 | 45 | PaddedPODArray<UInt8>& c) { | 88 | 45 | size_t size = a.size(); | 89 | 45 | const A* __restrict a_pos = a.data(); | 90 | 45 | UInt8* __restrict c_pos = c.data(); | 91 | 45 | const A* __restrict a_end = a_pos + size; | 92 | | | 93 | 110k | while (a_pos < a_end) { | 94 | 110k | *c_pos = Op::apply(*a_pos, b); | 95 | 110k | ++a_pos; | 96 | 110k | ++c_pos; | 97 | 110k | } | 98 | 45 | } |
_ZN5doris17NumComparisonImplIaaNS_14LessOrEqualsOpILNS_13PrimitiveTypeE3EEEE15vector_constantERKNS_8PODArrayIaLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEaRNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 87 | 58 | PaddedPODArray<UInt8>& c) { | 88 | 58 | size_t size = a.size(); | 89 | 58 | const A* __restrict a_pos = a.data(); | 90 | 58 | UInt8* __restrict c_pos = c.data(); | 91 | 58 | const A* __restrict a_end = a_pos + size; | 92 | | | 93 | 73.0k | while (a_pos < a_end) { | 94 | 73.0k | *c_pos = Op::apply(*a_pos, b); | 95 | 73.0k | ++a_pos; | 96 | 73.0k | ++c_pos; | 97 | 73.0k | } | 98 | 58 | } |
_ZN5doris17NumComparisonImplIssNS_17GreaterOrEqualsOpILNS_13PrimitiveTypeE4EEEE15vector_constantERKNS_8PODArrayIsLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEsRNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 87 | 52 | PaddedPODArray<UInt8>& c) { | 88 | 52 | size_t size = a.size(); | 89 | 52 | const A* __restrict a_pos = a.data(); | 90 | 52 | UInt8* __restrict c_pos = c.data(); | 91 | 52 | 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 | 52 | } |
_ZN5doris17NumComparisonImplIssNS_14LessOrEqualsOpILNS_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 | 142k | while (a_pos < a_end) { | 94 | 142k | *c_pos = Op::apply(*a_pos, b); | 95 | 142k | ++a_pos; | 96 | 142k | ++c_pos; | 97 | 142k | } | 98 | 73 | } |
_ZN5doris17NumComparisonImplIiiNS_17GreaterOrEqualsOpILNS_13PrimitiveTypeE5EEEE15vector_constantERKNS_8PODArrayIiLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEiRNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 87 | 9.88k | PaddedPODArray<UInt8>& c) { | 88 | 9.88k | size_t size = a.size(); | 89 | 9.88k | const A* __restrict a_pos = a.data(); | 90 | 9.88k | UInt8* __restrict c_pos = c.data(); | 91 | 9.88k | const A* __restrict a_end = a_pos + size; | 92 | | | 93 | 7.58M | while (a_pos < a_end) { | 94 | 7.57M | *c_pos = Op::apply(*a_pos, b); | 95 | 7.57M | ++a_pos; | 96 | 7.57M | ++c_pos; | 97 | 7.57M | } | 98 | 9.88k | } |
_ZN5doris17NumComparisonImplIiiNS_14LessOrEqualsOpILNS_13PrimitiveTypeE5EEEE15vector_constantERKNS_8PODArrayIiLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEiRNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 87 | 17.5k | PaddedPODArray<UInt8>& c) { | 88 | 17.5k | size_t size = a.size(); | 89 | 17.5k | const A* __restrict a_pos = a.data(); | 90 | 17.5k | UInt8* __restrict c_pos = c.data(); | 91 | 17.5k | const A* __restrict a_end = a_pos + size; | 92 | | | 93 | 11.0M | while (a_pos < a_end) { | 94 | 11.0M | *c_pos = Op::apply(*a_pos, b); | 95 | 11.0M | ++a_pos; | 96 | 11.0M | ++c_pos; | 97 | 11.0M | } | 98 | 17.5k | } |
_ZN5doris17NumComparisonImplIllNS_17GreaterOrEqualsOpILNS_13PrimitiveTypeE6EEEE15vector_constantERKNS_8PODArrayIlLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEElRNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 87 | 594 | PaddedPODArray<UInt8>& c) { | 88 | 594 | size_t size = a.size(); | 89 | 594 | const A* __restrict a_pos = a.data(); | 90 | 594 | UInt8* __restrict c_pos = c.data(); | 91 | 594 | const A* __restrict a_end = a_pos + size; | 92 | | | 93 | 39.0k | while (a_pos < a_end) { | 94 | 38.4k | *c_pos = Op::apply(*a_pos, b); | 95 | 38.4k | ++a_pos; | 96 | 38.4k | ++c_pos; | 97 | 38.4k | } | 98 | 594 | } |
_ZN5doris17NumComparisonImplIllNS_14LessOrEqualsOpILNS_13PrimitiveTypeE6EEEE15vector_constantERKNS_8PODArrayIlLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEElRNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 87 | 786 | PaddedPODArray<UInt8>& c) { | 88 | 786 | size_t size = a.size(); | 89 | 786 | const A* __restrict a_pos = a.data(); | 90 | 786 | UInt8* __restrict c_pos = c.data(); | 91 | 786 | const A* __restrict a_end = a_pos + size; | 92 | | | 93 | 40.9k | while (a_pos < a_end) { | 94 | 40.1k | *c_pos = Op::apply(*a_pos, b); | 95 | 40.1k | ++a_pos; | 96 | 40.1k | ++c_pos; | 97 | 40.1k | } | 98 | 786 | } |
_ZN5doris17NumComparisonImplInnNS_17GreaterOrEqualsOpILNS_13PrimitiveTypeE7EEEE15vector_constantERKNS_8PODArrayInLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEnRNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 87 | 46 | PaddedPODArray<UInt8>& c) { | 88 | 46 | size_t size = a.size(); | 89 | 46 | const A* __restrict a_pos = a.data(); | 90 | 46 | UInt8* __restrict c_pos = c.data(); | 91 | 46 | 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 | 46 | } |
_ZN5doris17NumComparisonImplInnNS_14LessOrEqualsOpILNS_13PrimitiveTypeE7EEEE15vector_constantERKNS_8PODArrayInLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEnRNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 87 | 67 | PaddedPODArray<UInt8>& c) { | 88 | 67 | size_t size = a.size(); | 89 | 67 | const A* __restrict a_pos = a.data(); | 90 | 67 | UInt8* __restrict c_pos = c.data(); | 91 | 67 | 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 | 67 | } |
_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 | 122 | PaddedPODArray<UInt8>& c) { | 88 | 122 | size_t size = a.size(); | 89 | 122 | const A* __restrict a_pos = a.data(); | 90 | 122 | UInt8* __restrict c_pos = c.data(); | 91 | 122 | const A* __restrict a_end = a_pos + size; | 92 | | | 93 | 246 | while (a_pos < a_end) { | 94 | 124 | *c_pos = Op::apply(*a_pos, b); | 95 | 124 | ++a_pos; | 96 | 124 | ++c_pos; | 97 | 124 | } | 98 | 122 | } |
_ZN5doris17NumComparisonImplIffNS_14LessOrEqualsOpILNS_13PrimitiveTypeE8EEEE15vector_constantERKNS_8PODArrayIfLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEfRNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 87 | 118 | PaddedPODArray<UInt8>& c) { | 88 | 118 | size_t size = a.size(); | 89 | 118 | const A* __restrict a_pos = a.data(); | 90 | 118 | UInt8* __restrict c_pos = c.data(); | 91 | 118 | const A* __restrict a_end = a_pos + size; | 92 | | | 93 | 236 | while (a_pos < a_end) { | 94 | 118 | *c_pos = Op::apply(*a_pos, b); | 95 | 118 | ++a_pos; | 96 | 118 | ++c_pos; | 97 | 118 | } | 98 | 118 | } |
_ZN5doris17NumComparisonImplIddNS_17GreaterOrEqualsOpILNS_13PrimitiveTypeE9EEEE15vector_constantERKNS_8PODArrayIdLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEdRNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 87 | 122 | PaddedPODArray<UInt8>& c) { | 88 | 122 | size_t size = a.size(); | 89 | 122 | const A* __restrict a_pos = a.data(); | 90 | 122 | UInt8* __restrict c_pos = c.data(); | 91 | 122 | const A* __restrict a_end = a_pos + size; | 92 | | | 93 | 276k | while (a_pos < a_end) { | 94 | 276k | *c_pos = Op::apply(*a_pos, b); | 95 | 276k | ++a_pos; | 96 | 276k | ++c_pos; | 97 | 276k | } | 98 | 122 | } |
_ZN5doris17NumComparisonImplIddNS_14LessOrEqualsOpILNS_13PrimitiveTypeE9EEEE15vector_constantERKNS_8PODArrayIdLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEdRNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 87 | 119 | PaddedPODArray<UInt8>& c) { | 88 | 119 | size_t size = a.size(); | 89 | 119 | const A* __restrict a_pos = a.data(); | 90 | 119 | UInt8* __restrict c_pos = c.data(); | 91 | 119 | const A* __restrict a_end = a_pos + size; | 92 | | | 93 | 276k | while (a_pos < a_end) { | 94 | 275k | *c_pos = Op::apply(*a_pos, b); | 95 | 275k | ++a_pos; | 96 | 275k | ++c_pos; | 97 | 275k | } | 98 | 119 | } |
Unexecuted instantiation: _ZN5doris17NumComparisonImplIddNS_17GreaterOrEqualsOpILNS_13PrimitiveTypeE27EEEE15vector_constantERKNS_8PODArrayIdLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEdRNS5_IhLm4096ES8_Lm16ELm15EEE Unexecuted instantiation: _ZN5doris17NumComparisonImplIddNS_14LessOrEqualsOpILNS_13PrimitiveTypeE27EEEE15vector_constantERKNS_8PODArrayIdLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEdRNS5_IhLm4096ES8_Lm16ELm15EEE |
99 | | |
100 | 75.7k | static void constant_vector(A a, const PaddedPODArray<B>& b, PaddedPODArray<UInt8>& c) { |
101 | 75.7k | NumComparisonImpl<B, A, typename Op::SymmetricOp>::vector_constant(b, a, c); |
102 | 75.7k | } 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 | 300 | static void constant_vector(A a, const PaddedPODArray<B>& b, PaddedPODArray<UInt8>& c) { | 101 | 300 | NumComparisonImpl<B, A, typename Op::SymmetricOp>::vector_constant(b, a, c); | 102 | 300 | } |
_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 | 9.80k | static void constant_vector(A a, const PaddedPODArray<B>& b, PaddedPODArray<UInt8>& c) { | 101 | 9.80k | NumComparisonImpl<B, A, typename Op::SymmetricOp>::vector_constant(b, a, c); | 102 | 9.80k | } |
_ZN5doris17NumComparisonImplIllNS_8EqualsOpILNS_13PrimitiveTypeE6EEEE15constant_vectorElRKNS_8PODArrayIlLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 100 | 380 | static void constant_vector(A a, const PaddedPODArray<B>& b, PaddedPODArray<UInt8>& c) { | 101 | 380 | NumComparisonImpl<B, A, typename Op::SymmetricOp>::vector_constant(b, a, c); | 102 | 380 | } |
_ZN5doris17NumComparisonImplInnNS_8EqualsOpILNS_13PrimitiveTypeE7EEEE15constant_vectorEnRKNS_8PODArrayInLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 100 | 12 | static void constant_vector(A a, const PaddedPODArray<B>& b, PaddedPODArray<UInt8>& c) { | 101 | 12 | NumComparisonImpl<B, A, typename Op::SymmetricOp>::vector_constant(b, a, c); | 102 | 12 | } |
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 | 732 | static void constant_vector(A a, const PaddedPODArray<B>& b, PaddedPODArray<UInt8>& c) { | 101 | 732 | NumComparisonImpl<B, A, typename Op::SymmetricOp>::vector_constant(b, a, c); | 102 | 732 | } |
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 | 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_9GreaterOpILNS_13PrimitiveTypeE4EEEE15constant_vectorEsRKNS_8PODArrayIsLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 100 | 240 | static void constant_vector(A a, const PaddedPODArray<B>& b, PaddedPODArray<UInt8>& c) { | 101 | 240 | NumComparisonImpl<B, A, typename Op::SymmetricOp>::vector_constant(b, a, c); | 102 | 240 | } |
_ZN5doris17NumComparisonImplIiiNS_9GreaterOpILNS_13PrimitiveTypeE5EEEE15constant_vectorEiRKNS_8PODArrayIiLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 100 | 62.5k | static void constant_vector(A a, const PaddedPODArray<B>& b, PaddedPODArray<UInt8>& c) { | 101 | 62.5k | NumComparisonImpl<B, A, typename Op::SymmetricOp>::vector_constant(b, a, c); | 102 | 62.5k | } |
_ZN5doris17NumComparisonImplIllNS_9GreaterOpILNS_13PrimitiveTypeE6EEEE15constant_vectorElRKNS_8PODArrayIlLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 100 | 501 | static void constant_vector(A a, const PaddedPODArray<B>& b, PaddedPODArray<UInt8>& c) { | 101 | 501 | NumComparisonImpl<B, A, typename Op::SymmetricOp>::vector_constant(b, a, c); | 102 | 501 | } |
_ZN5doris17NumComparisonImplInnNS_9GreaterOpILNS_13PrimitiveTypeE7EEEE15constant_vectorEnRKNS_8PODArrayInLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 100 | 46 | static void constant_vector(A a, const PaddedPODArray<B>& b, PaddedPODArray<UInt8>& c) { | 101 | 46 | NumComparisonImpl<B, A, typename Op::SymmetricOp>::vector_constant(b, a, c); | 102 | 46 | } |
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 | 264 | static void constant_vector(A a, const PaddedPODArray<B>& b, PaddedPODArray<UInt8>& c) { | 101 | 264 | NumComparisonImpl<B, A, typename Op::SymmetricOp>::vector_constant(b, a, c); | 102 | 264 | } |
Unexecuted instantiation: _ZN5doris17NumComparisonImplIssNS_6LessOpILNS_13PrimitiveTypeE4EEEE15constant_vectorEsRKNS_8PODArrayIsLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERNS5_IhLm4096ES8_Lm16ELm15EEE _ZN5doris17NumComparisonImplIiiNS_6LessOpILNS_13PrimitiveTypeE5EEEE15constant_vectorEiRKNS_8PODArrayIiLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 100 | 191 | static void constant_vector(A a, const PaddedPODArray<B>& b, PaddedPODArray<UInt8>& c) { | 101 | 191 | NumComparisonImpl<B, A, typename Op::SymmetricOp>::vector_constant(b, a, c); | 102 | 191 | } |
_ZN5doris17NumComparisonImplIllNS_6LessOpILNS_13PrimitiveTypeE6EEEE15constant_vectorElRKNS_8PODArrayIlLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 100 | 58 | static void constant_vector(A a, const PaddedPODArray<B>& b, PaddedPODArray<UInt8>& c) { | 101 | 58 | NumComparisonImpl<B, A, typename Op::SymmetricOp>::vector_constant(b, a, c); | 102 | 58 | } |
_ZN5doris17NumComparisonImplInnNS_6LessOpILNS_13PrimitiveTypeE7EEEE15constant_vectorEnRKNS_8PODArrayInLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 100 | 92 | static void constant_vector(A a, const PaddedPODArray<B>& b, PaddedPODArray<UInt8>& c) { | 101 | 92 | NumComparisonImpl<B, A, typename Op::SymmetricOp>::vector_constant(b, a, c); | 102 | 92 | } |
Unexecuted instantiation: _ZN5doris17NumComparisonImplIjjNS_6LessOpILNS_13PrimitiveTypeE36EEEE15constant_vectorEjRKNS_8PODArrayIjLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERNS5_IhLm4096ES8_Lm16ELm15EEE Unexecuted instantiation: _ZN5doris17NumComparisonImplIooNS_6LessOpILNS_13PrimitiveTypeE37EEEE15constant_vectorEoRKNS_8PODArrayIoLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERNS5_IhLm4096ES8_Lm16ELm15EEE Unexecuted instantiation: _ZN5doris17NumComparisonImplIffNS_6LessOpILNS_13PrimitiveTypeE8EEEE15constant_vectorEfRKNS_8PODArrayIfLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERNS5_IhLm4096ES8_Lm16ELm15EEE Unexecuted instantiation: _ZN5doris17NumComparisonImplIddNS_6LessOpILNS_13PrimitiveTypeE9EEEE15constant_vectorEdRKNS_8PODArrayIdLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERNS5_IhLm4096ES8_Lm16ELm15EEE Unexecuted instantiation: _ZN5doris17NumComparisonImplIddNS_6LessOpILNS_13PrimitiveTypeE27EEEE15constant_vectorEdRKNS_8PODArrayIdLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERNS5_IhLm4096ES8_Lm16ELm15EEE Unexecuted instantiation: _ZN5doris17NumComparisonImplIhhNS_14LessOrEqualsOpILNS_13PrimitiveTypeE2EEEE15constant_vectorEhRKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERS9_ _ZN5doris17NumComparisonImplINS_11DateV2ValueINS_15DateV2ValueTypeEEES3_NS_14LessOrEqualsOpILNS_13PrimitiveTypeE25EEEE15constant_vectorES3_RKNS_8PODArrayIS3_Lm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERNS8_IhLm4096ESB_Lm16ELm15EEE Line | Count | Source | 100 | 5 | static void constant_vector(A a, const PaddedPODArray<B>& b, PaddedPODArray<UInt8>& c) { | 101 | 5 | NumComparisonImpl<B, A, typename Op::SymmetricOp>::vector_constant(b, a, c); | 102 | 5 | } |
Unexecuted instantiation: _ZN5doris17NumComparisonImplINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEES3_NS_14LessOrEqualsOpILNS_13PrimitiveTypeE26EEEE15constant_vectorES3_RKNS_8PODArrayIS3_Lm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERNS8_IhLm4096ESB_Lm16ELm15EEE Unexecuted instantiation: _ZN5doris17NumComparisonImplINS_16TimestampTzValueES1_NS_14LessOrEqualsOpILNS_13PrimitiveTypeE42EEEE15constant_vectorES1_RKNS_8PODArrayIS1_Lm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERNS6_IhLm4096ES9_Lm16ELm15EEE Unexecuted instantiation: _ZN5doris17NumComparisonImplIaaNS_14LessOrEqualsOpILNS_13PrimitiveTypeE3EEEE15constant_vectorEaRKNS_8PODArrayIaLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERNS5_IhLm4096ES8_Lm16ELm15EEE Unexecuted instantiation: _ZN5doris17NumComparisonImplIssNS_14LessOrEqualsOpILNS_13PrimitiveTypeE4EEEE15constant_vectorEsRKNS_8PODArrayIsLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERNS5_IhLm4096ES8_Lm16ELm15EEE _ZN5doris17NumComparisonImplIiiNS_14LessOrEqualsOpILNS_13PrimitiveTypeE5EEEE15constant_vectorEiRKNS_8PODArrayIiLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 100 | 280 | static void constant_vector(A a, const PaddedPODArray<B>& b, PaddedPODArray<UInt8>& c) { | 101 | 280 | NumComparisonImpl<B, A, typename Op::SymmetricOp>::vector_constant(b, a, c); | 102 | 280 | } |
_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 | 115 | static void vector_constant(const IColumn& a, const IColumn& b, PaddedPODArray<UInt8>& c) { |
115 | 115 | const auto& col_right = assert_cast<const ColumnConst&>(b).get_data_column(); |
116 | 291k | for (size_t i = 0, size = a.size(); i < size; ++i) { |
117 | 291k | c[i] = Op::apply(a.compare_at(i, 0, col_right, 1), 0); |
118 | 291k | } |
119 | 115 | } _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 | 30 | static void vector_constant(const IColumn& a, const IColumn& b, PaddedPODArray<UInt8>& c) { | 115 | 30 | const auto& col_right = assert_cast<const ColumnConst&>(b).get_data_column(); | 116 | 125k | for (size_t i = 0, size = a.size(); i < size; ++i) { | 117 | 125k | c[i] = Op::apply(a.compare_at(i, 0, col_right, 1), 0); | 118 | 125k | } | 119 | 30 | } |
_ZN5doris21GenericComparisonImplINS_17GreaterOrEqualsOpILNS_13PrimitiveTypeE5EEEE15vector_constantERKNS_7IColumnES7_RNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEE Line | Count | Source | 114 | 48 | static void vector_constant(const IColumn& a, const IColumn& b, PaddedPODArray<UInt8>& c) { | 115 | 48 | const auto& col_right = assert_cast<const ColumnConst&>(b).get_data_column(); | 116 | 165k | for (size_t i = 0, size = a.size(); i < size; ++i) { | 117 | 165k | c[i] = Op::apply(a.compare_at(i, 0, col_right, 1), 0); | 118 | 165k | } | 119 | 48 | } |
|
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 | 741 | PaddedPODArray<UInt8>& c) { |
133 | 741 | size_t size = a_offsets.size(); |
134 | 741 | ColumnString::Offset prev_a_offset = 0; |
135 | 741 | ColumnString::Offset prev_b_offset = 0; |
136 | 741 | const auto* a_pos = a_data.data(); |
137 | 741 | const auto* b_pos = b_data.data(); |
138 | | |
139 | 2.20k | for (size_t i = 0; i < size; ++i) { |
140 | 1.46k | c[i] = Op::apply(memcmp_small_allow_overflow15( |
141 | 1.46k | a_pos + prev_a_offset, a_offsets[i] - prev_a_offset, |
142 | 1.46k | b_pos + prev_b_offset, b_offsets[i] - prev_b_offset), |
143 | 1.46k | 0); |
144 | | |
145 | 1.46k | prev_a_offset = a_offsets[i]; |
146 | 1.46k | prev_b_offset = b_offsets[i]; |
147 | 1.46k | } |
148 | 741 | } _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 | 122 | PaddedPODArray<UInt8>& c) { | 133 | 122 | size_t size = a_offsets.size(); | 134 | 122 | ColumnString::Offset prev_a_offset = 0; | 135 | 122 | ColumnString::Offset prev_b_offset = 0; | 136 | 122 | const auto* a_pos = a_data.data(); | 137 | 122 | const auto* b_pos = b_data.data(); | 138 | | | 139 | 402 | for (size_t i = 0; i < size; ++i) { | 140 | 280 | c[i] = Op::apply(memcmp_small_allow_overflow15( | 141 | 280 | a_pos + prev_a_offset, a_offsets[i] - prev_a_offset, | 142 | 280 | b_pos + prev_b_offset, b_offsets[i] - prev_b_offset), | 143 | 280 | 0); | 144 | | | 145 | 280 | prev_a_offset = a_offsets[i]; | 146 | 280 | prev_b_offset = b_offsets[i]; | 147 | 280 | } | 148 | 122 | } |
_ZN5doris20StringComparisonImplINS_6LessOpILNS_13PrimitiveTypeE5EEEE27string_vector_string_vectorERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERKNS5_IjLm4096ES8_Lm16ELm15EEESB_SE_RS9_ Line | Count | Source | 132 | 419 | PaddedPODArray<UInt8>& c) { | 133 | 419 | size_t size = a_offsets.size(); | 134 | 419 | ColumnString::Offset prev_a_offset = 0; | 135 | 419 | ColumnString::Offset prev_b_offset = 0; | 136 | 419 | const auto* a_pos = a_data.data(); | 137 | 419 | const auto* b_pos = b_data.data(); | 138 | | | 139 | 1.36k | for (size_t i = 0; i < size; ++i) { | 140 | 941 | c[i] = Op::apply(memcmp_small_allow_overflow15( | 141 | 941 | a_pos + prev_a_offset, a_offsets[i] - prev_a_offset, | 142 | 941 | b_pos + prev_b_offset, b_offsets[i] - prev_b_offset), | 143 | 941 | 0); | 144 | | | 145 | 941 | prev_a_offset = a_offsets[i]; | 146 | 941 | prev_b_offset = b_offsets[i]; | 147 | 941 | } | 148 | 419 | } |
_ZN5doris20StringComparisonImplINS_14LessOrEqualsOpILNS_13PrimitiveTypeE5EEEE27string_vector_string_vectorERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERKNS5_IjLm4096ES8_Lm16ELm15EEESB_SE_RS9_ Line | Count | Source | 132 | 198 | PaddedPODArray<UInt8>& c) { | 133 | 198 | size_t size = a_offsets.size(); | 134 | 198 | ColumnString::Offset prev_a_offset = 0; | 135 | 198 | ColumnString::Offset prev_b_offset = 0; | 136 | 198 | const auto* a_pos = a_data.data(); | 137 | 198 | const auto* b_pos = b_data.data(); | 138 | | | 139 | 396 | for (size_t i = 0; i < size; ++i) { | 140 | 198 | c[i] = Op::apply(memcmp_small_allow_overflow15( | 141 | 198 | a_pos + prev_a_offset, a_offsets[i] - prev_a_offset, | 142 | 198 | b_pos + prev_b_offset, b_offsets[i] - prev_b_offset), | 143 | 198 | 0); | 144 | | | 145 | 198 | prev_a_offset = a_offsets[i]; | 146 | 198 | prev_b_offset = b_offsets[i]; | 147 | 198 | } | 148 | 198 | } |
|
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.75k | PaddedPODArray<UInt8>& c) { |
155 | 1.75k | size_t size = a_offsets.size(); |
156 | 1.75k | ColumnString::Offset prev_a_offset = 0; |
157 | 1.75k | const auto* a_pos = a_data.data(); |
158 | 1.75k | const auto* b_pos = b_data.data(); |
159 | | |
160 | 1.39M | for (size_t i = 0; i < size; ++i) { |
161 | 1.39M | c[i] = Op::apply( |
162 | 1.39M | memcmp_small_allow_overflow15(a_pos + prev_a_offset, |
163 | 1.39M | a_offsets[i] - prev_a_offset, b_pos, b_size), |
164 | 1.39M | 0); |
165 | | |
166 | 1.39M | prev_a_offset = a_offsets[i]; |
167 | 1.39M | } |
168 | 1.75k | } _ZN5doris20StringComparisonImplINS_9GreaterOpILNS_13PrimitiveTypeE5EEEE22string_vector_constantERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERKNS5_IjLm4096ES8_Lm16ELm15EEESB_jRS9_ Line | Count | Source | 154 | 179 | PaddedPODArray<UInt8>& c) { | 155 | 179 | size_t size = a_offsets.size(); | 156 | 179 | ColumnString::Offset prev_a_offset = 0; | 157 | 179 | const auto* a_pos = a_data.data(); | 158 | 179 | const auto* b_pos = b_data.data(); | 159 | | | 160 | 325k | for (size_t i = 0; i < size; ++i) { | 161 | 325k | c[i] = Op::apply( | 162 | 325k | memcmp_small_allow_overflow15(a_pos + prev_a_offset, | 163 | 325k | a_offsets[i] - prev_a_offset, b_pos, b_size), | 164 | 325k | 0); | 165 | | | 166 | 325k | prev_a_offset = a_offsets[i]; | 167 | 325k | } | 168 | 179 | } |
_ZN5doris20StringComparisonImplINS_6LessOpILNS_13PrimitiveTypeE5EEEE22string_vector_constantERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERKNS5_IjLm4096ES8_Lm16ELm15EEESB_jRS9_ Line | Count | Source | 154 | 243 | PaddedPODArray<UInt8>& c) { | 155 | 243 | size_t size = a_offsets.size(); | 156 | 243 | ColumnString::Offset prev_a_offset = 0; | 157 | 243 | const auto* a_pos = a_data.data(); | 158 | 243 | const auto* b_pos = b_data.data(); | 159 | | | 160 | 73.2k | for (size_t i = 0; i < size; ++i) { | 161 | 73.0k | c[i] = Op::apply( | 162 | 73.0k | memcmp_small_allow_overflow15(a_pos + prev_a_offset, | 163 | 73.0k | a_offsets[i] - prev_a_offset, b_pos, b_size), | 164 | 73.0k | 0); | 165 | | | 166 | 73.0k | prev_a_offset = a_offsets[i]; | 167 | 73.0k | } | 168 | 243 | } |
_ZN5doris20StringComparisonImplINS_17GreaterOrEqualsOpILNS_13PrimitiveTypeE5EEEE22string_vector_constantERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERKNS5_IjLm4096ES8_Lm16ELm15EEESB_jRS9_ Line | Count | Source | 154 | 554 | PaddedPODArray<UInt8>& c) { | 155 | 554 | size_t size = a_offsets.size(); | 156 | 554 | ColumnString::Offset prev_a_offset = 0; | 157 | 554 | const auto* a_pos = a_data.data(); | 158 | 554 | const auto* b_pos = b_data.data(); | 159 | | | 160 | 469k | for (size_t i = 0; i < size; ++i) { | 161 | 468k | c[i] = Op::apply( | 162 | 468k | memcmp_small_allow_overflow15(a_pos + prev_a_offset, | 163 | 468k | a_offsets[i] - prev_a_offset, b_pos, b_size), | 164 | 468k | 0); | 165 | | | 166 | 468k | prev_a_offset = a_offsets[i]; | 167 | 468k | } | 168 | 554 | } |
_ZN5doris20StringComparisonImplINS_14LessOrEqualsOpILNS_13PrimitiveTypeE5EEEE22string_vector_constantERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERKNS5_IjLm4096ES8_Lm16ELm15EEESB_jRS9_ Line | Count | Source | 154 | 774 | PaddedPODArray<UInt8>& c) { | 155 | 774 | size_t size = a_offsets.size(); | 156 | 774 | ColumnString::Offset prev_a_offset = 0; | 157 | 774 | const auto* a_pos = a_data.data(); | 158 | 774 | const auto* b_pos = b_data.data(); | 159 | | | 160 | 527k | for (size_t i = 0; i < size; ++i) { | 161 | 526k | c[i] = Op::apply( | 162 | 526k | memcmp_small_allow_overflow15(a_pos + prev_a_offset, | 163 | 526k | a_offsets[i] - prev_a_offset, b_pos, b_size), | 164 | 526k | 0); | 165 | | | 166 | 526k | prev_a_offset = a_offsets[i]; | 167 | 526k | } | 168 | 774 | } |
|
169 | | |
170 | | static void constant_string_vector(const ColumnString::Chars& a_data, |
171 | | ColumnString::Offset a_size, |
172 | | const ColumnString::Chars& b_data, |
173 | | const ColumnString::Offsets& b_offsets, |
174 | 6 | PaddedPODArray<UInt8>& c) { |
175 | 6 | StringComparisonImpl<typename Op::SymmetricOp>::string_vector_constant(b_data, b_offsets, |
176 | 6 | a_data, a_size, c); |
177 | 6 | } Unexecuted instantiation: _ZN5doris20StringComparisonImplINS_9GreaterOpILNS_13PrimitiveTypeE5EEEE22constant_string_vectorERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEjSB_RKNS5_IjLm4096ES8_Lm16ELm15EEERS9_ Unexecuted instantiation: _ZN5doris20StringComparisonImplINS_17GreaterOrEqualsOpILNS_13PrimitiveTypeE5EEEE22constant_string_vectorERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEjSB_RKNS5_IjLm4096ES8_Lm16ELm15EEERS9_ _ZN5doris20StringComparisonImplINS_6LessOpILNS_13PrimitiveTypeE5EEEE22constant_string_vectorERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEjSB_RKNS5_IjLm4096ES8_Lm16ELm15EEERS9_ Line | Count | Source | 174 | 6 | PaddedPODArray<UInt8>& c) { | 175 | 6 | StringComparisonImpl<typename Op::SymmetricOp>::string_vector_constant(b_data, b_offsets, | 176 | 6 | a_data, a_size, c); | 177 | 6 | } |
Unexecuted instantiation: _ZN5doris20StringComparisonImplINS_14LessOrEqualsOpILNS_13PrimitiveTypeE5EEEE22constant_string_vectorERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEjSB_RKNS5_IjLm4096ES8_Lm16ELm15EEERS9_ |
178 | | }; |
179 | | |
180 | | template <bool positive> |
181 | | struct StringEqualsImpl { |
182 | | static void NO_INLINE string_vector_string_vector(const ColumnString::Chars& a_data, |
183 | | const ColumnString::Offsets& a_offsets, |
184 | | const ColumnString::Chars& b_data, |
185 | | const ColumnString::Offsets& b_offsets, |
186 | 2.48k | PaddedPODArray<UInt8>& c) { |
187 | 2.48k | size_t size = a_offsets.size(); |
188 | 2.48k | ColumnString::Offset prev_a_offset = 0; |
189 | 2.48k | ColumnString::Offset prev_b_offset = 0; |
190 | 2.48k | const auto* a_pos = a_data.data(); |
191 | 2.48k | const auto* b_pos = b_data.data(); |
192 | | |
193 | 5.43k | for (size_t i = 0; i < size; ++i) { |
194 | 2.94k | auto a_size = a_offsets[i] - prev_a_offset; |
195 | 2.94k | auto b_size = b_offsets[i] - prev_b_offset; |
196 | | |
197 | 2.94k | c[i] = positive == memequal_small_allow_overflow15(a_pos + prev_a_offset, a_size, |
198 | 2.94k | b_pos + prev_b_offset, b_size); |
199 | | |
200 | 2.94k | prev_a_offset = a_offsets[i]; |
201 | 2.94k | prev_b_offset = b_offsets[i]; |
202 | 2.94k | } |
203 | 2.48k | } _ZN5doris16StringEqualsImplILb1EE27string_vector_string_vectorERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERKNS2_IjLm4096ES5_Lm16ELm15EEES8_SB_RS6_ Line | Count | Source | 186 | 2.43k | PaddedPODArray<UInt8>& c) { | 187 | 2.43k | size_t size = a_offsets.size(); | 188 | 2.43k | ColumnString::Offset prev_a_offset = 0; | 189 | 2.43k | ColumnString::Offset prev_b_offset = 0; | 190 | 2.43k | const auto* a_pos = a_data.data(); | 191 | 2.43k | const auto* b_pos = b_data.data(); | 192 | | | 193 | 5.31k | for (size_t i = 0; i < size; ++i) { | 194 | 2.88k | auto a_size = a_offsets[i] - prev_a_offset; | 195 | 2.88k | auto b_size = b_offsets[i] - prev_b_offset; | 196 | | | 197 | 2.88k | c[i] = positive == memequal_small_allow_overflow15(a_pos + prev_a_offset, a_size, | 198 | 2.88k | b_pos + prev_b_offset, b_size); | 199 | | | 200 | 2.88k | prev_a_offset = a_offsets[i]; | 201 | 2.88k | prev_b_offset = b_offsets[i]; | 202 | 2.88k | } | 203 | 2.43k | } |
_ZN5doris16StringEqualsImplILb0EE27string_vector_string_vectorERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERKNS2_IjLm4096ES5_Lm16ELm15EEES8_SB_RS6_ Line | Count | Source | 186 | 52 | PaddedPODArray<UInt8>& c) { | 187 | 52 | size_t size = a_offsets.size(); | 188 | 52 | ColumnString::Offset prev_a_offset = 0; | 189 | 52 | ColumnString::Offset prev_b_offset = 0; | 190 | 52 | const auto* a_pos = a_data.data(); | 191 | 52 | const auto* b_pos = b_data.data(); | 192 | | | 193 | 113 | for (size_t i = 0; i < size; ++i) { | 194 | 61 | auto a_size = a_offsets[i] - prev_a_offset; | 195 | 61 | auto b_size = b_offsets[i] - prev_b_offset; | 196 | | | 197 | 61 | c[i] = positive == memequal_small_allow_overflow15(a_pos + prev_a_offset, a_size, | 198 | 61 | b_pos + prev_b_offset, b_size); | 199 | | | 200 | 61 | prev_a_offset = a_offsets[i]; | 201 | 61 | prev_b_offset = b_offsets[i]; | 202 | 61 | } | 203 | 52 | } |
|
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 | 25.6k | PaddedPODArray<UInt8>& c) { |
210 | 25.6k | size_t size = a_offsets.size(); |
211 | 25.6k | 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 | 25.6k | } else { |
221 | 25.6k | ColumnString::Offset prev_a_offset = 0; |
222 | 25.6k | const auto* a_pos = a_data.data(); |
223 | 25.6k | const auto* b_pos = b_data.data(); |
224 | 12.8M | for (size_t i = 0; i < size; ++i) { |
225 | 12.7M | auto a_size = a_offsets[i] - prev_a_offset; |
226 | 12.7M | c[i] = positive == memequal_small_allow_overflow15(a_pos + prev_a_offset, a_size, |
227 | 12.7M | b_pos, b_size); |
228 | 12.7M | prev_a_offset = a_offsets[i]; |
229 | 12.7M | } |
230 | 25.6k | } |
231 | 25.6k | } _ZN5doris16StringEqualsImplILb1EE22string_vector_constantERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERKNS2_IjLm4096ES5_Lm16ELm15EEES8_jRS6_ Line | Count | Source | 209 | 23.1k | PaddedPODArray<UInt8>& c) { | 210 | 23.1k | size_t size = a_offsets.size(); | 211 | 23.1k | 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 | 23.1k | } else { | 221 | 23.1k | ColumnString::Offset prev_a_offset = 0; | 222 | 23.1k | const auto* a_pos = a_data.data(); | 223 | 23.1k | const auto* b_pos = b_data.data(); | 224 | 8.90M | for (size_t i = 0; i < size; ++i) { | 225 | 8.88M | auto a_size = a_offsets[i] - prev_a_offset; | 226 | 8.88M | c[i] = positive == memequal_small_allow_overflow15(a_pos + prev_a_offset, a_size, | 227 | 8.88M | b_pos, b_size); | 228 | 8.88M | prev_a_offset = a_offsets[i]; | 229 | 8.88M | } | 230 | 23.1k | } | 231 | 23.1k | } |
_ZN5doris16StringEqualsImplILb0EE22string_vector_constantERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERKNS2_IjLm4096ES5_Lm16ELm15EEES8_jRS6_ Line | Count | Source | 209 | 2.50k | PaddedPODArray<UInt8>& c) { | 210 | 2.50k | size_t size = a_offsets.size(); | 211 | 2.50k | 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.50k | } else { | 221 | 2.50k | ColumnString::Offset prev_a_offset = 0; | 222 | 2.50k | const auto* a_pos = a_data.data(); | 223 | 2.50k | const auto* b_pos = b_data.data(); | 224 | 3.89M | for (size_t i = 0; i < size; ++i) { | 225 | 3.89M | auto a_size = a_offsets[i] - prev_a_offset; | 226 | 3.89M | c[i] = positive == memequal_small_allow_overflow15(a_pos + prev_a_offset, a_size, | 227 | 3.89M | b_pos, b_size); | 228 | 3.89M | prev_a_offset = a_offsets[i]; | 229 | 3.89M | } | 230 | 2.50k | } | 231 | 2.50k | } |
|
232 | | |
233 | | static void NO_INLINE constant_string_vector(const ColumnString::Chars& a_data, |
234 | | ColumnString::Offset a_size, |
235 | | const ColumnString::Chars& b_data, |
236 | | const ColumnString::Offsets& b_offsets, |
237 | 0 | PaddedPODArray<UInt8>& c) { |
238 | 0 | string_vector_constant(b_data, b_offsets, a_data, a_size, c); |
239 | 0 | } Unexecuted instantiation: _ZN5doris16StringEqualsImplILb1EE22constant_string_vectorERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEjS8_RKNS2_IjLm4096ES5_Lm16ELm15EEERS6_ Unexecuted instantiation: _ZN5doris16StringEqualsImplILb0EE22constant_string_vectorERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEjS8_RKNS2_IjLm4096ES5_Lm16ELm15EEERS6_ |
240 | | }; |
241 | | |
242 | | template <PrimitiveType PT> |
243 | | struct StringComparisonImpl<EqualsOp<PT>> : StringEqualsImpl<true> {}; |
244 | | |
245 | | template <PrimitiveType PT> |
246 | | struct StringComparisonImpl<NotEqualsOp<PT>> : StringEqualsImpl<false> {}; |
247 | | |
248 | | struct NameEquals { |
249 | | static constexpr auto name = "eq"; |
250 | | }; |
251 | | struct NameNotEquals { |
252 | | static constexpr auto name = "ne"; |
253 | | }; |
254 | | struct NameLess { |
255 | | static constexpr auto name = "lt"; |
256 | | }; |
257 | | struct NameGreater { |
258 | | static constexpr auto name = "gt"; |
259 | | }; |
260 | | struct NameLessOrEquals { |
261 | | static constexpr auto name = "le"; |
262 | | }; |
263 | | struct NameGreaterOrEquals { |
264 | | static constexpr auto name = "ge"; |
265 | | }; |
266 | | |
267 | | namespace comparison_zonemap_detail { |
268 | | enum class Op { |
269 | | EQ, |
270 | | NE, |
271 | | LT, |
272 | | LE, |
273 | | GT, |
274 | | GE, |
275 | | }; |
276 | | |
277 | 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 | 35.5k | Op op) { |
296 | 35.5k | auto slot_literal = expr_zonemap::extract_slot_and_literal(arguments); |
297 | | |
298 | 35.5k | auto slot_type = expr_zonemap::fetch_compatible_slot_type(ctx, slot_literal->slot_index, |
299 | 35.5k | slot_literal->slot_type); |
300 | 35.5k | if (slot_type == nullptr) { |
301 | 1 | return unsupported_zonemap_filter(ctx); |
302 | 1 | } |
303 | 35.5k | auto zone_map_ptr = ctx.zone_map(slot_literal->slot_index); |
304 | 35.5k | if (zone_map_ptr == nullptr) { |
305 | 73 | return unsupported_zonemap_filter(ctx); |
306 | 73 | } |
307 | 35.4k | const auto& zone_map = *zone_map_ptr; |
308 | 35.4k | if (!zone_map.has_not_null) { |
309 | 217 | return ZoneMapFilterResult::kNoMatch; |
310 | 217 | } |
311 | 35.2k | if (!expr_zonemap::range_stats_usable_for_zonemap(zone_map, slot_type)) { |
312 | 97 | return unsupported_zonemap_filter(ctx); |
313 | 97 | } |
314 | | |
315 | 35.1k | const auto effective_op = slot_literal->literal_on_left ? symmetric_op(op) : op; |
316 | 35.1k | const auto& literal = slot_literal->literal; |
317 | 35.1k | switch (effective_op) { |
318 | 9.47k | case Op::EQ: |
319 | 9.47k | return literal < zone_map.min_value || zone_map.max_value < literal |
320 | 9.47k | ? ZoneMapFilterResult::kNoMatch |
321 | 9.47k | : ZoneMapFilterResult::kMayMatch; |
322 | 1.11k | case Op::NE: |
323 | 1.11k | return zone_map.min_value == literal && zone_map.max_value == literal |
324 | 1.11k | ? ZoneMapFilterResult::kNoMatch |
325 | 1.11k | : ZoneMapFilterResult::kMayMatch; |
326 | 3.04k | case Op::LT: |
327 | 3.04k | return zone_map.min_value >= literal ? ZoneMapFilterResult::kNoMatch |
328 | 3.04k | : ZoneMapFilterResult::kMayMatch; |
329 | 9.49k | case Op::LE: |
330 | 9.49k | return zone_map.min_value > literal ? ZoneMapFilterResult::kNoMatch |
331 | 9.49k | : ZoneMapFilterResult::kMayMatch; |
332 | 5.11k | case Op::GT: |
333 | 5.11k | return zone_map.max_value <= literal ? ZoneMapFilterResult::kNoMatch |
334 | 5.11k | : ZoneMapFilterResult::kMayMatch; |
335 | 6.94k | case Op::GE: |
336 | 6.94k | return zone_map.max_value < literal ? ZoneMapFilterResult::kNoMatch |
337 | 6.94k | : ZoneMapFilterResult::kMayMatch; |
338 | 35.1k | } |
339 | | |
340 | | // keep this to avoid compile failure with g++. |
341 | 0 | __builtin_unreachable(); |
342 | 35.1k | } |
343 | | |
344 | 292k | inline bool can_evaluate(const VExprSPtrs& arguments) { |
345 | 292k | auto slot_literal = expr_zonemap::extract_slot_and_literal(arguments); |
346 | 292k | 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 | 252k | if (slot_literal->literal.is_null()) { |
354 | 4 | return false; |
355 | 4 | } |
356 | | |
357 | 252k | DORIS_CHECK(slot_literal->slot_type != nullptr); |
358 | 252k | DORIS_CHECK(slot_literal->literal_type != nullptr); |
359 | 252k | 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 | 252k | return true; |
367 | 252k | } |
368 | | |
369 | 8.60k | inline bool can_evaluate_equality(const VExprSPtrs& arguments, Op op) { |
370 | 8.60k | return op == Op::EQ && can_evaluate(arguments); |
371 | 8.60k | } |
372 | | |
373 | 210k | inline bool dictionary_value_matches(const Field& value, const Field& literal, Op op) { |
374 | 210k | switch (op) { |
375 | 53.8k | case Op::EQ: |
376 | 53.8k | return value == literal; |
377 | 4 | case Op::NE: |
378 | 4 | return value != literal; |
379 | 116 | case Op::LT: |
380 | 116 | return value < literal; |
381 | 150k | case Op::LE: |
382 | 150k | return value <= literal; |
383 | 6.01k | case Op::GT: |
384 | 6.01k | return value > literal; |
385 | 142 | case Op::GE: |
386 | 142 | return value >= literal; |
387 | 210k | } |
388 | 0 | __builtin_unreachable(); |
389 | 210k | } |
390 | | |
391 | | inline ZoneMapFilterResult evaluate_dictionary(const DictionaryEvalContext& ctx, |
392 | 157k | const VExprSPtrs& arguments, Op op) { |
393 | 157k | auto slot_literal = expr_zonemap::extract_slot_and_literal(arguments); |
394 | 157k | DORIS_CHECK(slot_literal.has_value()); |
395 | 157k | const auto* dictionary = ctx.slot(slot_literal->slot_index); |
396 | 157k | if (dictionary == nullptr || dictionary->data_type == nullptr) { |
397 | 0 | return ZoneMapFilterResult::kUnsupported; |
398 | 0 | } |
399 | 157k | DORIS_CHECK( |
400 | 157k | expr_zonemap::data_types_compatible(dictionary->data_type, slot_literal->slot_type)); |
401 | 157k | if (slot_literal->literal.is_null()) { |
402 | 0 | return ZoneMapFilterResult::kUnsupported; |
403 | 0 | } |
404 | 157k | 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 | 157k | return std::ranges::any_of(dictionary->values, |
408 | 210k | [&](const Field& value) { |
409 | 210k | return dictionary_value_matches(value, slot_literal->literal, |
410 | 210k | effective_op); |
411 | 210k | }) |
412 | 157k | ? ZoneMapFilterResult::kMayMatch |
413 | 157k | : ZoneMapFilterResult::kNoMatch; |
414 | 157k | } |
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 | 483k | inline std::optional<Op> op_from_name(std::string_view name) { |
425 | 483k | if (name == NameEquals::name) { |
426 | 70.1k | return Op::EQ; |
427 | 70.1k | } |
428 | 413k | if (name == NameNotEquals::name) { |
429 | 7.46k | return Op::NE; |
430 | 7.46k | } |
431 | 406k | if (name == NameLess::name) { |
432 | 14.0k | return Op::LT; |
433 | 14.0k | } |
434 | 392k | if (name == NameLessOrEquals::name) { |
435 | 331k | return Op::LE; |
436 | 331k | } |
437 | 60.7k | if (name == NameGreater::name) { |
438 | 39.6k | return Op::GT; |
439 | 39.6k | } |
440 | 27.0k | if (name == NameGreaterOrEquals::name) { |
441 | 27.0k | return Op::GE; |
442 | 27.0k | } |
443 | 18.4E | return std::nullopt; |
444 | 21.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 | 572k | static FunctionPtr create() { return std::make_shared<FunctionComparison>(); }_ZN5doris18FunctionComparisonINS_8EqualsOpENS_10NameEqualsEE6createEv Line | Count | Source | 451 | 481k | 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 | 14.8k | static FunctionPtr create() { return std::make_shared<FunctionComparison>(); } |
_ZN5doris18FunctionComparisonINS_6LessOpENS_8NameLessEE6createEv Line | Count | Source | 451 | 4.62k | static FunctionPtr create() { return std::make_shared<FunctionComparison>(); } |
_ZN5doris18FunctionComparisonINS_14LessOrEqualsOpENS_16NameLessOrEqualsEE6createEv Line | Count | Source | 451 | 25.5k | static FunctionPtr create() { return std::make_shared<FunctionComparison>(); } |
|
452 | | |
453 | 572k | FunctionComparison() = default; _ZN5doris18FunctionComparisonINS_8EqualsOpENS_10NameEqualsEEC2Ev Line | Count | Source | 453 | 481k | 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 | 14.8k | FunctionComparison() = default; |
_ZN5doris18FunctionComparisonINS_6LessOpENS_8NameLessEEC2Ev Line | Count | Source | 453 | 4.62k | FunctionComparison() = default; |
_ZN5doris18FunctionComparisonINS_14LessOrEqualsOpENS_16NameLessOrEqualsEEC2Ev Line | Count | Source | 453 | 25.5k | FunctionComparison() = default; |
|
454 | | |
455 | 1.30M | double execute_cost() const override { return 0.5; }_ZNK5doris18FunctionComparisonINS_8EqualsOpENS_10NameEqualsEE12execute_costEv Line | Count | Source | 455 | 1.27M | 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.09k | double execute_cost() const override { return 0.5; } |
_ZNK5doris18FunctionComparisonINS_17GreaterOrEqualsOpENS_19NameGreaterOrEqualsEE12execute_costEv Line | Count | Source | 455 | 13.8k | 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 | 9.36k | 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 | 207k | const ColumnPtr& col_right_ptr) const { |
461 | 207k | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); |
462 | 207k | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); |
463 | | |
464 | 207k | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); |
465 | 207k | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); |
466 | | |
467 | 207k | DCHECK(!(left_is_const && right_is_const)); |
468 | | |
469 | 207k | if (!left_is_const && !right_is_const) { |
470 | 11.5k | auto col_res = ColumnUInt8::create(); |
471 | | |
472 | 11.5k | ColumnUInt8::Container& vec_res = col_res->get_data(); |
473 | 11.5k | vec_res.resize(col_left->get_data().size()); |
474 | 11.5k | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, |
475 | 11.5k | typename PrimitiveTypeTraits<PT>::CppType, |
476 | 11.5k | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), |
477 | 11.5k | vec_res); |
478 | | |
479 | 11.5k | block.replace_by_position(result, std::move(col_res)); |
480 | 196k | } else if (!left_is_const && right_is_const) { |
481 | 120k | auto col_res = ColumnUInt8::create(); |
482 | | |
483 | 120k | ColumnUInt8::Container& vec_res = col_res->get_data(); |
484 | 120k | vec_res.resize(col_left->size()); |
485 | 120k | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, |
486 | 120k | typename PrimitiveTypeTraits<PT>::CppType, |
487 | 120k | Op<PT>>::vector_constant(col_left->get_data(), |
488 | 120k | col_right->get_element(0), vec_res); |
489 | | |
490 | 120k | block.replace_by_position(result, std::move(col_res)); |
491 | 120k | } else if (left_is_const && !right_is_const) { |
492 | 75.7k | auto col_res = ColumnUInt8::create(); |
493 | | |
494 | 75.7k | ColumnUInt8::Container& vec_res = col_res->get_data(); |
495 | 75.7k | vec_res.resize(col_right->size()); |
496 | 75.7k | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, |
497 | 75.7k | typename PrimitiveTypeTraits<PT>::CppType, |
498 | 75.7k | Op<PT>>::constant_vector(col_left->get_element(0), |
499 | 75.7k | col_right->get_data(), vec_res); |
500 | | |
501 | 75.7k | block.replace_by_position(result, std::move(col_res)); |
502 | 75.7k | } |
503 | 207k | return Status::OK(); |
504 | 207k | } _ZNK5doris18FunctionComparisonINS_8EqualsOpENS_10NameEqualsEE16execute_num_typeILNS_13PrimitiveTypeE2EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 460 | 1.62k | const ColumnPtr& col_right_ptr) const { | 461 | 1.62k | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 462 | 1.62k | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 463 | | | 464 | 1.62k | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 465 | 1.62k | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 466 | | | 467 | 1.62k | DCHECK(!(left_is_const && right_is_const)); | 468 | | | 469 | 1.62k | if (!left_is_const && !right_is_const) { | 470 | 66 | auto col_res = ColumnUInt8::create(); | 471 | | | 472 | 66 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 473 | 66 | vec_res.resize(col_left->get_data().size()); | 474 | 66 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 475 | 66 | typename PrimitiveTypeTraits<PT>::CppType, | 476 | 66 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 477 | 66 | vec_res); | 478 | | | 479 | 66 | block.replace_by_position(result, std::move(col_res)); | 480 | 1.56k | } else if (!left_is_const && right_is_const) { | 481 | 1.56k | auto col_res = ColumnUInt8::create(); | 482 | | | 483 | 1.56k | ColumnUInt8::Container& vec_res = col_res->get_data(); | 484 | 1.56k | vec_res.resize(col_left->size()); | 485 | 1.56k | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 486 | 1.56k | typename PrimitiveTypeTraits<PT>::CppType, | 487 | 1.56k | Op<PT>>::vector_constant(col_left->get_data(), | 488 | 1.56k | col_right->get_element(0), vec_res); | 489 | | | 490 | 1.56k | block.replace_by_position(result, std::move(col_res)); | 491 | 1.56k | } 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.62k | return Status::OK(); | 504 | 1.62k | } |
_ZNK5doris18FunctionComparisonINS_8EqualsOpENS_10NameEqualsEE16execute_num_typeILNS_13PrimitiveTypeE25EEENS_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 | 701 | auto col_res = ColumnUInt8::create(); | 471 | | | 472 | 701 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 473 | 701 | vec_res.resize(col_left->get_data().size()); | 474 | 701 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 475 | 701 | typename PrimitiveTypeTraits<PT>::CppType, | 476 | 701 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 477 | 701 | vec_res); | 478 | | | 479 | 701 | block.replace_by_position(result, std::move(col_res)); | 480 | 1.06k | } else if (!left_is_const && right_is_const) { | 481 | 1.06k | auto col_res = ColumnUInt8::create(); | 482 | | | 483 | 1.06k | ColumnUInt8::Container& vec_res = col_res->get_data(); | 484 | 1.06k | vec_res.resize(col_left->size()); | 485 | 1.06k | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 486 | 1.06k | typename PrimitiveTypeTraits<PT>::CppType, | 487 | 1.06k | Op<PT>>::vector_constant(col_left->get_data(), | 488 | 1.06k | col_right->get_element(0), vec_res); | 489 | | | 490 | 1.06k | block.replace_by_position(result, std::move(col_res)); | 491 | 1.06k | } 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.76k | return Status::OK(); | 504 | 1.76k | } |
_ZNK5doris18FunctionComparisonINS_8EqualsOpENS_10NameEqualsEE16execute_num_typeILNS_13PrimitiveTypeE26EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 460 | 693 | const ColumnPtr& col_right_ptr) const { | 461 | 693 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 462 | 693 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 463 | | | 464 | 693 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 465 | 693 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 466 | | | 467 | 693 | DCHECK(!(left_is_const && right_is_const)); | 468 | | | 469 | 693 | if (!left_is_const && !right_is_const) { | 470 | 353 | auto col_res = ColumnUInt8::create(); | 471 | | | 472 | 353 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 473 | 353 | vec_res.resize(col_left->get_data().size()); | 474 | 353 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 475 | 353 | typename PrimitiveTypeTraits<PT>::CppType, | 476 | 353 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 477 | 353 | vec_res); | 478 | | | 479 | 353 | block.replace_by_position(result, std::move(col_res)); | 480 | 353 | } else if (!left_is_const && right_is_const) { | 481 | 340 | auto col_res = ColumnUInt8::create(); | 482 | | | 483 | 340 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 484 | 340 | vec_res.resize(col_left->size()); | 485 | 340 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 486 | 340 | typename PrimitiveTypeTraits<PT>::CppType, | 487 | 340 | Op<PT>>::vector_constant(col_left->get_data(), | 488 | 340 | col_right->get_element(0), vec_res); | 489 | | | 490 | 340 | block.replace_by_position(result, std::move(col_res)); | 491 | 340 | } 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 | 693 | return Status::OK(); | 504 | 693 | } |
_ZNK5doris18FunctionComparisonINS_8EqualsOpENS_10NameEqualsEE16execute_num_typeILNS_13PrimitiveTypeE42EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 460 | 3 | const ColumnPtr& col_right_ptr) const { | 461 | 3 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 462 | 3 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 463 | | | 464 | 3 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 465 | 3 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 466 | | | 467 | 3 | DCHECK(!(left_is_const && right_is_const)); | 468 | | | 469 | 3 | if (!left_is_const && !right_is_const) { | 470 | 3 | auto col_res = ColumnUInt8::create(); | 471 | | | 472 | 3 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 473 | 3 | vec_res.resize(col_left->get_data().size()); | 474 | 3 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 475 | 3 | typename PrimitiveTypeTraits<PT>::CppType, | 476 | 3 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 477 | 3 | vec_res); | 478 | | | 479 | 3 | block.replace_by_position(result, std::move(col_res)); | 480 | 3 | } 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 | 3 | return Status::OK(); | 504 | 3 | } |
_ZNK5doris18FunctionComparisonINS_8EqualsOpENS_10NameEqualsEE16execute_num_typeILNS_13PrimitiveTypeE3EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 460 | 5.50k | const ColumnPtr& col_right_ptr) const { | 461 | 5.50k | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 462 | 5.50k | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 463 | | | 464 | 5.50k | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 465 | 5.50k | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 466 | | | 467 | 5.50k | DCHECK(!(left_is_const && right_is_const)); | 468 | | | 469 | 5.50k | 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 | 5.35k | } else if (!left_is_const && right_is_const) { | 481 | 5.05k | auto col_res = ColumnUInt8::create(); | 482 | | | 483 | 5.05k | ColumnUInt8::Container& vec_res = col_res->get_data(); | 484 | 5.05k | vec_res.resize(col_left->size()); | 485 | 5.05k | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 486 | 5.05k | typename PrimitiveTypeTraits<PT>::CppType, | 487 | 5.05k | Op<PT>>::vector_constant(col_left->get_data(), | 488 | 5.05k | col_right->get_element(0), vec_res); | 489 | | | 490 | 5.05k | block.replace_by_position(result, std::move(col_res)); | 491 | 5.05k | } else if (left_is_const && !right_is_const) { | 492 | 300 | auto col_res = ColumnUInt8::create(); | 493 | | | 494 | 300 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 495 | 300 | vec_res.resize(col_right->size()); | 496 | 300 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 497 | 300 | typename PrimitiveTypeTraits<PT>::CppType, | 498 | 300 | Op<PT>>::constant_vector(col_left->get_element(0), | 499 | 300 | col_right->get_data(), vec_res); | 500 | | | 501 | 300 | block.replace_by_position(result, std::move(col_res)); | 502 | 300 | } | 503 | 5.50k | return Status::OK(); | 504 | 5.50k | } |
_ZNK5doris18FunctionComparisonINS_8EqualsOpENS_10NameEqualsEE16execute_num_typeILNS_13PrimitiveTypeE4EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 460 | 777 | const ColumnPtr& col_right_ptr) const { | 461 | 777 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 462 | 777 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 463 | | | 464 | 777 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 465 | 777 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 466 | | | 467 | 777 | DCHECK(!(left_is_const && right_is_const)); | 468 | | | 469 | 777 | if (!left_is_const && !right_is_const) { | 470 | 78 | auto col_res = ColumnUInt8::create(); | 471 | | | 472 | 78 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 473 | 78 | vec_res.resize(col_left->get_data().size()); | 474 | 78 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 475 | 78 | typename PrimitiveTypeTraits<PT>::CppType, | 476 | 78 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 477 | 78 | vec_res); | 478 | | | 479 | 78 | block.replace_by_position(result, std::move(col_res)); | 480 | 699 | } else if (!left_is_const && right_is_const) { | 481 | 663 | auto col_res = ColumnUInt8::create(); | 482 | | | 483 | 663 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 484 | 663 | vec_res.resize(col_left->size()); | 485 | 663 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 486 | 663 | typename PrimitiveTypeTraits<PT>::CppType, | 487 | 663 | Op<PT>>::vector_constant(col_left->get_data(), | 488 | 663 | col_right->get_element(0), vec_res); | 489 | | | 490 | 663 | block.replace_by_position(result, std::move(col_res)); | 491 | 663 | } 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 | 777 | return Status::OK(); | 504 | 777 | } |
_ZNK5doris18FunctionComparisonINS_8EqualsOpENS_10NameEqualsEE16execute_num_typeILNS_13PrimitiveTypeE5EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 460 | 26.7k | const ColumnPtr& col_right_ptr) const { | 461 | 26.7k | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 462 | 26.7k | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 463 | | | 464 | 26.7k | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 465 | 26.7k | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 466 | | | 467 | 26.7k | DCHECK(!(left_is_const && right_is_const)); | 468 | | | 469 | 26.7k | if (!left_is_const && !right_is_const) { | 470 | 986 | auto col_res = ColumnUInt8::create(); | 471 | | | 472 | 986 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 473 | 986 | vec_res.resize(col_left->get_data().size()); | 474 | 986 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 475 | 986 | typename PrimitiveTypeTraits<PT>::CppType, | 476 | 986 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 477 | 986 | vec_res); | 478 | | | 479 | 986 | block.replace_by_position(result, std::move(col_res)); | 480 | 25.7k | } else if (!left_is_const && right_is_const) { | 481 | 15.9k | auto col_res = ColumnUInt8::create(); | 482 | | | 483 | 15.9k | ColumnUInt8::Container& vec_res = col_res->get_data(); | 484 | 15.9k | vec_res.resize(col_left->size()); | 485 | 15.9k | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 486 | 15.9k | typename PrimitiveTypeTraits<PT>::CppType, | 487 | 15.9k | Op<PT>>::vector_constant(col_left->get_data(), | 488 | 15.9k | col_right->get_element(0), vec_res); | 489 | | | 490 | 15.9k | block.replace_by_position(result, std::move(col_res)); | 491 | 15.9k | } else if (left_is_const && !right_is_const) { | 492 | 9.79k | auto col_res = ColumnUInt8::create(); | 493 | | | 494 | 9.79k | ColumnUInt8::Container& vec_res = col_res->get_data(); | 495 | 9.79k | vec_res.resize(col_right->size()); | 496 | 9.79k | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 497 | 9.79k | typename PrimitiveTypeTraits<PT>::CppType, | 498 | 9.79k | Op<PT>>::constant_vector(col_left->get_element(0), | 499 | 9.79k | col_right->get_data(), vec_res); | 500 | | | 501 | 9.79k | block.replace_by_position(result, std::move(col_res)); | 502 | 9.79k | } | 503 | 26.7k | return Status::OK(); | 504 | 26.7k | } |
_ZNK5doris18FunctionComparisonINS_8EqualsOpENS_10NameEqualsEE16execute_num_typeILNS_13PrimitiveTypeE6EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 460 | 17.2k | const ColumnPtr& col_right_ptr) const { | 461 | 17.2k | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 462 | 17.2k | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 463 | | | 464 | 17.2k | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 465 | 17.2k | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 466 | | | 467 | 17.2k | DCHECK(!(left_is_const && right_is_const)); | 468 | | | 469 | 17.2k | if (!left_is_const && !right_is_const) { | 470 | 271 | auto col_res = ColumnUInt8::create(); | 471 | | | 472 | 271 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 473 | 271 | vec_res.resize(col_left->get_data().size()); | 474 | 271 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 475 | 271 | typename PrimitiveTypeTraits<PT>::CppType, | 476 | 271 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 477 | 271 | vec_res); | 478 | | | 479 | 271 | block.replace_by_position(result, std::move(col_res)); | 480 | 16.9k | } 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 | 380 | auto col_res = ColumnUInt8::create(); | 493 | | | 494 | 380 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 495 | 380 | vec_res.resize(col_right->size()); | 496 | 380 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 497 | 380 | typename PrimitiveTypeTraits<PT>::CppType, | 498 | 380 | Op<PT>>::constant_vector(col_left->get_element(0), | 499 | 380 | col_right->get_data(), vec_res); | 500 | | | 501 | 380 | block.replace_by_position(result, std::move(col_res)); | 502 | 380 | } | 503 | 17.2k | return Status::OK(); | 504 | 17.2k | } |
_ZNK5doris18FunctionComparisonINS_8EqualsOpENS_10NameEqualsEE16execute_num_typeILNS_13PrimitiveTypeE7EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 460 | 124 | const ColumnPtr& col_right_ptr) const { | 461 | 124 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 462 | 124 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 463 | | | 464 | 124 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 465 | 124 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 466 | | | 467 | 124 | DCHECK(!(left_is_const && right_is_const)); | 468 | | | 469 | 124 | if (!left_is_const && !right_is_const) { | 470 | 57 | auto col_res = ColumnUInt8::create(); | 471 | | | 472 | 57 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 473 | 57 | vec_res.resize(col_left->get_data().size()); | 474 | 57 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 475 | 57 | typename PrimitiveTypeTraits<PT>::CppType, | 476 | 57 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 477 | 57 | vec_res); | 478 | | | 479 | 57 | block.replace_by_position(result, std::move(col_res)); | 480 | 67 | } 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 | 12 | auto col_res = ColumnUInt8::create(); | 493 | | | 494 | 12 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 495 | 12 | vec_res.resize(col_right->size()); | 496 | 12 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 497 | 12 | typename PrimitiveTypeTraits<PT>::CppType, | 498 | 12 | Op<PT>>::constant_vector(col_left->get_element(0), | 499 | 12 | col_right->get_data(), vec_res); | 500 | | | 501 | 12 | block.replace_by_position(result, std::move(col_res)); | 502 | 12 | } | 503 | 124 | return Status::OK(); | 504 | 124 | } |
_ZNK5doris18FunctionComparisonINS_8EqualsOpENS_10NameEqualsEE16execute_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 | 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 | 13 | } else if (!left_is_const && right_is_const) { | 481 | 13 | auto col_res = ColumnUInt8::create(); | 482 | | | 483 | 13 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 484 | 13 | vec_res.resize(col_left->size()); | 485 | 13 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 486 | 13 | typename PrimitiveTypeTraits<PT>::CppType, | 487 | 13 | Op<PT>>::vector_constant(col_left->get_data(), | 488 | 13 | col_right->get_element(0), vec_res); | 489 | | | 490 | 13 | block.replace_by_position(result, std::move(col_res)); | 491 | 13 | } 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_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 | 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 | 100 | auto col_res = ColumnUInt8::create(); | 471 | | | 472 | 100 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 473 | 100 | vec_res.resize(col_left->get_data().size()); | 474 | 100 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 475 | 100 | typename PrimitiveTypeTraits<PT>::CppType, | 476 | 100 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 477 | 100 | vec_res); | 478 | | | 479 | 100 | block.replace_by_position(result, std::move(col_res)); | 480 | 100 | } 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 | 102 | return Status::OK(); | 504 | 102 | } |
_ZNK5doris18FunctionComparisonINS_8EqualsOpENS_10NameEqualsEE16execute_num_typeILNS_13PrimitiveTypeE9EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 460 | 797 | const ColumnPtr& col_right_ptr) const { | 461 | 797 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 462 | 797 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 463 | | | 464 | 797 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 465 | 797 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 466 | | | 467 | 797 | DCHECK(!(left_is_const && right_is_const)); | 468 | | | 469 | 797 | if (!left_is_const && !right_is_const) { | 470 | 96 | auto col_res = ColumnUInt8::create(); | 471 | | | 472 | 96 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 473 | 96 | vec_res.resize(col_left->get_data().size()); | 474 | 96 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 475 | 96 | typename PrimitiveTypeTraits<PT>::CppType, | 476 | 96 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 477 | 96 | vec_res); | 478 | | | 479 | 96 | block.replace_by_position(result, std::move(col_res)); | 480 | 701 | } else if (!left_is_const && right_is_const) { | 481 | 701 | auto col_res = ColumnUInt8::create(); | 482 | | | 483 | 701 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 484 | 701 | vec_res.resize(col_left->size()); | 485 | 701 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 486 | 701 | typename PrimitiveTypeTraits<PT>::CppType, | 487 | 701 | Op<PT>>::vector_constant(col_left->get_data(), | 488 | 701 | col_right->get_element(0), vec_res); | 489 | | | 490 | 701 | block.replace_by_position(result, std::move(col_res)); | 491 | 701 | } 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 | 797 | return Status::OK(); | 504 | 797 | } |
_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 | 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 | 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 | 35 | auto col_res = ColumnUInt8::create(); | 482 | | | 483 | 35 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 484 | 35 | vec_res.resize(col_left->size()); | 485 | 35 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 486 | 35 | typename PrimitiveTypeTraits<PT>::CppType, | 487 | 35 | Op<PT>>::vector_constant(col_left->get_data(), | 488 | 35 | col_right->get_element(0), vec_res); | 489 | | | 490 | 35 | block.replace_by_position(result, std::move(col_res)); | 491 | 35 | } 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_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 | 3.42k | const ColumnPtr& col_right_ptr) const { | 461 | 3.42k | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 462 | 3.42k | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 463 | | | 464 | 3.42k | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 465 | 3.42k | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 466 | | | 467 | 3.42k | DCHECK(!(left_is_const && right_is_const)); | 468 | | | 469 | 3.42k | if (!left_is_const && !right_is_const) { | 470 | 2.22k | auto col_res = ColumnUInt8::create(); | 471 | | | 472 | 2.22k | ColumnUInt8::Container& vec_res = col_res->get_data(); | 473 | 2.22k | vec_res.resize(col_left->get_data().size()); | 474 | 2.22k | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 475 | 2.22k | typename PrimitiveTypeTraits<PT>::CppType, | 476 | 2.22k | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 477 | 2.22k | vec_res); | 478 | | | 479 | 2.22k | block.replace_by_position(result, std::move(col_res)); | 480 | 2.22k | } 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 | 3.42k | return Status::OK(); | 504 | 3.42k | } |
_ZNK5doris18FunctionComparisonINS_11NotEqualsOpENS_13NameNotEqualsEE16execute_num_typeILNS_13PrimitiveTypeE6EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 460 | 3.01k | const ColumnPtr& col_right_ptr) const { | 461 | 3.01k | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 462 | 3.01k | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 463 | | | 464 | 3.01k | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 465 | 3.01k | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 466 | | | 467 | 3.01k | DCHECK(!(left_is_const && right_is_const)); | 468 | | | 469 | 3.01k | if (!left_is_const && !right_is_const) { | 470 | 354 | auto col_res = ColumnUInt8::create(); | 471 | | | 472 | 354 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 473 | 354 | vec_res.resize(col_left->get_data().size()); | 474 | 354 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 475 | 354 | typename PrimitiveTypeTraits<PT>::CppType, | 476 | 354 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 477 | 354 | vec_res); | 478 | | | 479 | 354 | block.replace_by_position(result, std::move(col_res)); | 480 | 2.66k | } else if (!left_is_const && right_is_const) { | 481 | 1.93k | auto col_res = ColumnUInt8::create(); | 482 | | | 483 | 1.93k | ColumnUInt8::Container& vec_res = col_res->get_data(); | 484 | 1.93k | vec_res.resize(col_left->size()); | 485 | 1.93k | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 486 | 1.93k | typename PrimitiveTypeTraits<PT>::CppType, | 487 | 1.93k | Op<PT>>::vector_constant(col_left->get_data(), | 488 | 1.93k | col_right->get_element(0), vec_res); | 489 | | | 490 | 1.93k | block.replace_by_position(result, std::move(col_res)); | 491 | 1.93k | } else if (left_is_const && !right_is_const) { | 492 | 732 | auto col_res = ColumnUInt8::create(); | 493 | | | 494 | 732 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 495 | 732 | vec_res.resize(col_right->size()); | 496 | 732 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 497 | 732 | typename PrimitiveTypeTraits<PT>::CppType, | 498 | 732 | Op<PT>>::constant_vector(col_left->get_element(0), | 499 | 732 | col_right->get_data(), vec_res); | 500 | | | 501 | 732 | block.replace_by_position(result, std::move(col_res)); | 502 | 732 | } | 503 | 3.01k | return Status::OK(); | 504 | 3.01k | } |
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 | 60 | const ColumnPtr& col_right_ptr) const { | 461 | 60 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 462 | 60 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 463 | | | 464 | 60 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 465 | 60 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 466 | | | 467 | 60 | DCHECK(!(left_is_const && right_is_const)); | 468 | | | 469 | 60 | 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 | 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 | 60 | return Status::OK(); | 504 | 60 | } |
Unexecuted instantiation: _ZNK5doris18FunctionComparisonINS_11NotEqualsOpENS_13NameNotEqualsEE16execute_num_typeILNS_13PrimitiveTypeE27EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Unexecuted instantiation: _ZNK5doris18FunctionComparisonINS_9GreaterOpENS_11NameGreaterEE16execute_num_typeILNS_13PrimitiveTypeE2EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ _ZNK5doris18FunctionComparisonINS_9GreaterOpENS_11NameGreaterEE16execute_num_typeILNS_13PrimitiveTypeE25EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 460 | 1.22k | const ColumnPtr& col_right_ptr) const { | 461 | 1.22k | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 462 | 1.22k | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 463 | | | 464 | 1.22k | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 465 | 1.22k | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 466 | | | 467 | 1.22k | DCHECK(!(left_is_const && right_is_const)); | 468 | | | 469 | 1.22k | if (!left_is_const && !right_is_const) { | 470 | 1.06k | auto col_res = ColumnUInt8::create(); | 471 | | | 472 | 1.06k | ColumnUInt8::Container& vec_res = col_res->get_data(); | 473 | 1.06k | vec_res.resize(col_left->get_data().size()); | 474 | 1.06k | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 475 | 1.06k | typename PrimitiveTypeTraits<PT>::CppType, | 476 | 1.06k | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 477 | 1.06k | vec_res); | 478 | | | 479 | 1.06k | block.replace_by_position(result, std::move(col_res)); | 480 | 1.06k | } else if (!left_is_const && right_is_const) { | 481 | 163 | auto col_res = ColumnUInt8::create(); | 482 | | | 483 | 163 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 484 | 163 | vec_res.resize(col_left->size()); | 485 | 163 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 486 | 163 | typename PrimitiveTypeTraits<PT>::CppType, | 487 | 163 | Op<PT>>::vector_constant(col_left->get_data(), | 488 | 163 | col_right->get_element(0), vec_res); | 489 | | | 490 | 163 | block.replace_by_position(result, std::move(col_res)); | 491 | 163 | } 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.22k | return Status::OK(); | 504 | 1.22k | } |
_ZNK5doris18FunctionComparisonINS_9GreaterOpENS_11NameGreaterEE16execute_num_typeILNS_13PrimitiveTypeE26EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 460 | 130 | const ColumnPtr& col_right_ptr) const { | 461 | 130 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 462 | 130 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 463 | | | 464 | 130 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 465 | 130 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 466 | | | 467 | 130 | DCHECK(!(left_is_const && right_is_const)); | 468 | | | 469 | 130 | 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 | 122 | } else if (!left_is_const && right_is_const) { | 481 | 122 | auto col_res = ColumnUInt8::create(); | 482 | | | 483 | 122 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 484 | 122 | vec_res.resize(col_left->size()); | 485 | 122 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 486 | 122 | typename PrimitiveTypeTraits<PT>::CppType, | 487 | 122 | Op<PT>>::vector_constant(col_left->get_data(), | 488 | 122 | col_right->get_element(0), vec_res); | 489 | | | 490 | 122 | block.replace_by_position(result, std::move(col_res)); | 491 | 122 | } 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 | 130 | return Status::OK(); | 504 | 130 | } |
_ZNK5doris18FunctionComparisonINS_9GreaterOpENS_11NameGreaterEE16execute_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_9GreaterOpENS_11NameGreaterEE16execute_num_typeILNS_13PrimitiveTypeE3EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 460 | 1.45k | const ColumnPtr& col_right_ptr) const { | 461 | 1.45k | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 462 | 1.45k | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 463 | | | 464 | 1.45k | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 465 | 1.45k | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 466 | | | 467 | 1.45k | DCHECK(!(left_is_const && right_is_const)); | 468 | | | 469 | 1.45k | if (!left_is_const && !right_is_const) { | 470 | 40 | auto col_res = ColumnUInt8::create(); | 471 | | | 472 | 40 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 473 | 40 | vec_res.resize(col_left->get_data().size()); | 474 | 40 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 475 | 40 | typename PrimitiveTypeTraits<PT>::CppType, | 476 | 40 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 477 | 40 | vec_res); | 478 | | | 479 | 40 | block.replace_by_position(result, std::move(col_res)); | 480 | 1.41k | } else if (!left_is_const && right_is_const) { | 481 | 1.16k | auto col_res = ColumnUInt8::create(); | 482 | | | 483 | 1.16k | ColumnUInt8::Container& vec_res = col_res->get_data(); | 484 | 1.16k | vec_res.resize(col_left->size()); | 485 | 1.16k | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 486 | 1.16k | typename PrimitiveTypeTraits<PT>::CppType, | 487 | 1.16k | Op<PT>>::vector_constant(col_left->get_data(), | 488 | 1.16k | col_right->get_element(0), vec_res); | 489 | | | 490 | 1.16k | block.replace_by_position(result, std::move(col_res)); | 491 | 1.16k | } 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 | 1.45k | return Status::OK(); | 504 | 1.45k | } |
_ZNK5doris18FunctionComparisonINS_9GreaterOpENS_11NameGreaterEE16execute_num_typeILNS_13PrimitiveTypeE4EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 460 | 1.77k | const ColumnPtr& col_right_ptr) const { | 461 | 1.77k | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 462 | 1.77k | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 463 | | | 464 | 1.77k | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 465 | 1.77k | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 466 | | | 467 | 1.77k | DCHECK(!(left_is_const && right_is_const)); | 468 | | | 469 | 1.77k | if (!left_is_const && !right_is_const) { | 470 | 112 | auto col_res = ColumnUInt8::create(); | 471 | | | 472 | 112 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 473 | 112 | vec_res.resize(col_left->get_data().size()); | 474 | 112 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 475 | 112 | typename PrimitiveTypeTraits<PT>::CppType, | 476 | 112 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 477 | 112 | vec_res); | 478 | | | 479 | 112 | block.replace_by_position(result, std::move(col_res)); | 480 | 1.66k | } 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 | 238 | auto col_res = ColumnUInt8::create(); | 493 | | | 494 | 238 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 495 | 238 | vec_res.resize(col_right->size()); | 496 | 238 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 497 | 238 | typename PrimitiveTypeTraits<PT>::CppType, | 498 | 238 | Op<PT>>::constant_vector(col_left->get_element(0), | 499 | 238 | col_right->get_data(), vec_res); | 500 | | | 501 | 238 | block.replace_by_position(result, std::move(col_res)); | 502 | 238 | } | 503 | 1.77k | return Status::OK(); | 504 | 1.77k | } |
_ZNK5doris18FunctionComparisonINS_9GreaterOpENS_11NameGreaterEE16execute_num_typeILNS_13PrimitiveTypeE5EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 460 | 72.5k | const ColumnPtr& col_right_ptr) const { | 461 | 72.5k | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 462 | 72.5k | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 463 | | | 464 | 72.5k | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 465 | 72.5k | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 466 | | | 467 | 72.5k | DCHECK(!(left_is_const && right_is_const)); | 468 | | | 469 | 72.5k | if (!left_is_const && !right_is_const) { | 470 | 80 | auto col_res = ColumnUInt8::create(); | 471 | | | 472 | 80 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 473 | 80 | vec_res.resize(col_left->get_data().size()); | 474 | 80 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 475 | 80 | typename PrimitiveTypeTraits<PT>::CppType, | 476 | 80 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 477 | 80 | vec_res); | 478 | | | 479 | 80 | block.replace_by_position(result, std::move(col_res)); | 480 | 72.4k | } else if (!left_is_const && right_is_const) { | 481 | 9.95k | auto col_res = ColumnUInt8::create(); | 482 | | | 483 | 9.95k | ColumnUInt8::Container& vec_res = col_res->get_data(); | 484 | 9.95k | vec_res.resize(col_left->size()); | 485 | 9.95k | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 486 | 9.95k | typename PrimitiveTypeTraits<PT>::CppType, | 487 | 9.95k | Op<PT>>::vector_constant(col_left->get_data(), | 488 | 9.95k | col_right->get_element(0), vec_res); | 489 | | | 490 | 9.95k | block.replace_by_position(result, std::move(col_res)); | 491 | 62.5k | } else if (left_is_const && !right_is_const) { | 492 | 62.5k | auto col_res = ColumnUInt8::create(); | 493 | | | 494 | 62.5k | ColumnUInt8::Container& vec_res = col_res->get_data(); | 495 | 62.5k | vec_res.resize(col_right->size()); | 496 | 62.5k | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 497 | 62.5k | typename PrimitiveTypeTraits<PT>::CppType, | 498 | 62.5k | Op<PT>>::constant_vector(col_left->get_element(0), | 499 | 62.5k | col_right->get_data(), vec_res); | 500 | | | 501 | 62.5k | block.replace_by_position(result, std::move(col_res)); | 502 | 62.5k | } | 503 | 72.5k | return Status::OK(); | 504 | 72.5k | } |
_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 | 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 | 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 | 501 | auto col_res = ColumnUInt8::create(); | 493 | | | 494 | 501 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 495 | 501 | vec_res.resize(col_right->size()); | 496 | 501 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 497 | 501 | typename PrimitiveTypeTraits<PT>::CppType, | 498 | 501 | Op<PT>>::constant_vector(col_left->get_element(0), | 499 | 501 | col_right->get_data(), vec_res); | 500 | | | 501 | 501 | block.replace_by_position(result, std::move(col_res)); | 502 | 501 | } | 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 | 249 | const ColumnPtr& col_right_ptr) const { | 461 | 249 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 462 | 249 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 463 | | | 464 | 249 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 465 | 249 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 466 | | | 467 | 249 | DCHECK(!(left_is_const && right_is_const)); | 468 | | | 469 | 249 | 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 | 247 | } else if (!left_is_const && right_is_const) { | 481 | 201 | auto col_res = ColumnUInt8::create(); | 482 | | | 483 | 201 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 484 | 201 | vec_res.resize(col_left->size()); | 485 | 201 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 486 | 201 | typename PrimitiveTypeTraits<PT>::CppType, | 487 | 201 | Op<PT>>::vector_constant(col_left->get_data(), | 488 | 201 | col_right->get_element(0), vec_res); | 489 | | | 490 | 201 | block.replace_by_position(result, std::move(col_res)); | 491 | 201 | } else if (left_is_const && !right_is_const) { | 492 | 46 | auto col_res = ColumnUInt8::create(); | 493 | | | 494 | 46 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 495 | 46 | vec_res.resize(col_right->size()); | 496 | 46 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 497 | 46 | typename PrimitiveTypeTraits<PT>::CppType, | 498 | 46 | Op<PT>>::constant_vector(col_left->get_element(0), | 499 | 46 | col_right->get_data(), vec_res); | 500 | | | 501 | 46 | block.replace_by_position(result, std::move(col_res)); | 502 | 46 | } | 503 | 249 | return Status::OK(); | 504 | 249 | } |
_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 | 236 | const ColumnPtr& col_right_ptr) const { | 461 | 236 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 462 | 236 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 463 | | | 464 | 236 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 465 | 236 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 466 | | | 467 | 236 | DCHECK(!(left_is_const && right_is_const)); | 468 | | | 469 | 236 | 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 | 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 | 236 | return Status::OK(); | 504 | 236 | } |
_ZNK5doris18FunctionComparisonINS_9GreaterOpENS_11NameGreaterEE16execute_num_typeILNS_13PrimitiveTypeE9EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 460 | 2.22k | const ColumnPtr& col_right_ptr) const { | 461 | 2.22k | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 462 | 2.22k | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 463 | | | 464 | 2.22k | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 465 | 2.22k | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 466 | | | 467 | 2.22k | DCHECK(!(left_is_const && right_is_const)); | 468 | | | 469 | 2.22k | if (!left_is_const && !right_is_const) { | 470 | 26 | auto col_res = ColumnUInt8::create(); | 471 | | | 472 | 26 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 473 | 26 | vec_res.resize(col_left->get_data().size()); | 474 | 26 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 475 | 26 | typename PrimitiveTypeTraits<PT>::CppType, | 476 | 26 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 477 | 26 | vec_res); | 478 | | | 479 | 26 | 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 | 2.20k | } 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.22k | return Status::OK(); | 504 | 2.22k | } |
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 | 145 | const ColumnPtr& col_right_ptr) const { | 461 | 145 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 462 | 145 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 463 | | | 464 | 145 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 465 | 145 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 466 | | | 467 | 145 | DCHECK(!(left_is_const && right_is_const)); | 468 | | | 469 | 145 | 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 | 103 | } else if (!left_is_const && right_is_const) { | 481 | 103 | auto col_res = ColumnUInt8::create(); | 482 | | | 483 | 103 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 484 | 103 | vec_res.resize(col_left->size()); | 485 | 103 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 486 | 103 | typename PrimitiveTypeTraits<PT>::CppType, | 487 | 103 | Op<PT>>::vector_constant(col_left->get_data(), | 488 | 103 | col_right->get_element(0), vec_res); | 489 | | | 490 | 103 | block.replace_by_position(result, std::move(col_res)); | 491 | 103 | } 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 | 145 | return Status::OK(); | 504 | 145 | } |
_ZNK5doris18FunctionComparisonINS_17GreaterOrEqualsOpENS_19NameGreaterOrEqualsEE16execute_num_typeILNS_13PrimitiveTypeE25EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 460 | 2.19k | const ColumnPtr& col_right_ptr) const { | 461 | 2.19k | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 462 | 2.19k | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 463 | | | 464 | 2.19k | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 465 | 2.19k | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 466 | | | 467 | 2.19k | DCHECK(!(left_is_const && right_is_const)); | 468 | | | 469 | 2.19k | 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 | 2.13k | } else if (!left_is_const && right_is_const) { | 481 | 2.13k | auto col_res = ColumnUInt8::create(); | 482 | | | 483 | 2.13k | ColumnUInt8::Container& vec_res = col_res->get_data(); | 484 | 2.13k | vec_res.resize(col_left->size()); | 485 | 2.13k | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 486 | 2.13k | typename PrimitiveTypeTraits<PT>::CppType, | 487 | 2.13k | Op<PT>>::vector_constant(col_left->get_data(), | 488 | 2.13k | col_right->get_element(0), vec_res); | 489 | | | 490 | 2.13k | block.replace_by_position(result, std::move(col_res)); | 491 | 2.13k | } 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.19k | return Status::OK(); | 504 | 2.19k | } |
_ZNK5doris18FunctionComparisonINS_17GreaterOrEqualsOpENS_19NameGreaterOrEqualsEE16execute_num_typeILNS_13PrimitiveTypeE26EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 460 | 1.04k | const ColumnPtr& col_right_ptr) const { | 461 | 1.04k | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 462 | 1.04k | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 463 | | | 464 | 1.04k | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 465 | 1.04k | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 466 | | | 467 | 1.04k | DCHECK(!(left_is_const && right_is_const)); | 468 | | | 469 | 1.04k | if (!left_is_const && !right_is_const) { | 470 | 98 | auto col_res = ColumnUInt8::create(); | 471 | | | 472 | 98 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 473 | 98 | vec_res.resize(col_left->get_data().size()); | 474 | 98 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 475 | 98 | typename PrimitiveTypeTraits<PT>::CppType, | 476 | 98 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 477 | 98 | vec_res); | 478 | | | 479 | 98 | block.replace_by_position(result, std::move(col_res)); | 480 | 944 | } else if (!left_is_const && right_is_const) { | 481 | 944 | auto col_res = ColumnUInt8::create(); | 482 | | | 483 | 944 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 484 | 944 | vec_res.resize(col_left->size()); | 485 | 944 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 486 | 944 | typename PrimitiveTypeTraits<PT>::CppType, | 487 | 944 | Op<PT>>::vector_constant(col_left->get_data(), | 488 | 944 | col_right->get_element(0), vec_res); | 489 | | | 490 | 944 | block.replace_by_position(result, std::move(col_res)); | 491 | 944 | } 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.04k | return Status::OK(); | 504 | 1.04k | } |
_ZNK5doris18FunctionComparisonINS_17GreaterOrEqualsOpENS_19NameGreaterOrEqualsEE16execute_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_17GreaterOrEqualsOpENS_19NameGreaterOrEqualsEE16execute_num_typeILNS_13PrimitiveTypeE3EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 460 | 45 | const ColumnPtr& col_right_ptr) const { | 461 | 45 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 462 | 45 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 463 | | | 464 | 45 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 465 | 45 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 466 | | | 467 | 45 | DCHECK(!(left_is_const && right_is_const)); | 468 | | | 469 | 45 | 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 | 45 | } else if (!left_is_const && right_is_const) { | 481 | 45 | auto col_res = ColumnUInt8::create(); | 482 | | | 483 | 45 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 484 | 45 | vec_res.resize(col_left->size()); | 485 | 45 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 486 | 45 | typename PrimitiveTypeTraits<PT>::CppType, | 487 | 45 | Op<PT>>::vector_constant(col_left->get_data(), | 488 | 45 | col_right->get_element(0), vec_res); | 489 | | | 490 | 45 | block.replace_by_position(result, std::move(col_res)); | 491 | 45 | } 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 | 45 | return Status::OK(); | 504 | 45 | } |
_ZNK5doris18FunctionComparisonINS_17GreaterOrEqualsOpENS_19NameGreaterOrEqualsEE16execute_num_typeILNS_13PrimitiveTypeE4EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 460 | 52 | const ColumnPtr& col_right_ptr) const { | 461 | 52 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 462 | 52 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 463 | | | 464 | 52 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 465 | 52 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 466 | | | 467 | 52 | DCHECK(!(left_is_const && right_is_const)); | 468 | | | 469 | 52 | 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 | 52 | } else if (!left_is_const && right_is_const) { | 481 | 52 | auto col_res = ColumnUInt8::create(); | 482 | | | 483 | 52 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 484 | 52 | vec_res.resize(col_left->size()); | 485 | 52 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 486 | 52 | typename PrimitiveTypeTraits<PT>::CppType, | 487 | 52 | Op<PT>>::vector_constant(col_left->get_data(), | 488 | 52 | col_right->get_element(0), vec_res); | 489 | | | 490 | 52 | block.replace_by_position(result, std::move(col_res)); | 491 | 52 | } 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 | 52 | return Status::OK(); | 504 | 52 | } |
_ZNK5doris18FunctionComparisonINS_17GreaterOrEqualsOpENS_19NameGreaterOrEqualsEE16execute_num_typeILNS_13PrimitiveTypeE5EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 460 | 9.68k | const ColumnPtr& col_right_ptr) const { | 461 | 9.68k | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 462 | 9.68k | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 463 | | | 464 | 9.68k | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 465 | 9.68k | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 466 | | | 467 | 9.68k | DCHECK(!(left_is_const && right_is_const)); | 468 | | | 469 | 9.68k | if (!left_is_const && !right_is_const) { | 470 | 79 | auto col_res = ColumnUInt8::create(); | 471 | | | 472 | 79 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 473 | 79 | vec_res.resize(col_left->get_data().size()); | 474 | 79 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 475 | 79 | typename PrimitiveTypeTraits<PT>::CppType, | 476 | 79 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 477 | 79 | vec_res); | 478 | | | 479 | 79 | block.replace_by_position(result, std::move(col_res)); | 480 | 9.60k | } else if (!left_is_const && right_is_const) { | 481 | 9.60k | auto col_res = ColumnUInt8::create(); | 482 | | | 483 | 9.60k | ColumnUInt8::Container& vec_res = col_res->get_data(); | 484 | 9.60k | vec_res.resize(col_left->size()); | 485 | 9.60k | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 486 | 9.60k | typename PrimitiveTypeTraits<PT>::CppType, | 487 | 9.60k | Op<PT>>::vector_constant(col_left->get_data(), | 488 | 9.60k | col_right->get_element(0), vec_res); | 489 | | | 490 | 9.60k | block.replace_by_position(result, std::move(col_res)); | 491 | 9.60k | } 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 | 9.68k | return Status::OK(); | 504 | 9.68k | } |
_ZNK5doris18FunctionComparisonINS_17GreaterOrEqualsOpENS_19NameGreaterOrEqualsEE16execute_num_typeILNS_13PrimitiveTypeE6EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 460 | 585 | const ColumnPtr& col_right_ptr) const { | 461 | 585 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 462 | 585 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 463 | | | 464 | 585 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 465 | 585 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 466 | | | 467 | 585 | DCHECK(!(left_is_const && right_is_const)); | 468 | | | 469 | 585 | if (!left_is_const && !right_is_const) { | 470 | 39 | auto col_res = ColumnUInt8::create(); | 471 | | | 472 | 39 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 473 | 39 | vec_res.resize(col_left->get_data().size()); | 474 | 39 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 475 | 39 | typename PrimitiveTypeTraits<PT>::CppType, | 476 | 39 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 477 | 39 | vec_res); | 478 | | | 479 | 39 | block.replace_by_position(result, std::move(col_res)); | 480 | 546 | } else if (!left_is_const && right_is_const) { | 481 | 546 | auto col_res = ColumnUInt8::create(); | 482 | | | 483 | 546 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 484 | 546 | vec_res.resize(col_left->size()); | 485 | 546 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 486 | 546 | typename PrimitiveTypeTraits<PT>::CppType, | 487 | 546 | Op<PT>>::vector_constant(col_left->get_data(), | 488 | 546 | col_right->get_element(0), vec_res); | 489 | | | 490 | 546 | block.replace_by_position(result, std::move(col_res)); | 491 | 546 | } 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 | 585 | return Status::OK(); | 504 | 585 | } |
_ZNK5doris18FunctionComparisonINS_17GreaterOrEqualsOpENS_19NameGreaterOrEqualsEE16execute_num_typeILNS_13PrimitiveTypeE7EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 460 | 46 | const ColumnPtr& col_right_ptr) const { | 461 | 46 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 462 | 46 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 463 | | | 464 | 46 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 465 | 46 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 466 | | | 467 | 46 | DCHECK(!(left_is_const && right_is_const)); | 468 | | | 469 | 46 | 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 | 46 | } else if (!left_is_const && right_is_const) { | 481 | 46 | auto col_res = ColumnUInt8::create(); | 482 | | | 483 | 46 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 484 | 46 | vec_res.resize(col_left->size()); | 485 | 46 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 486 | 46 | typename PrimitiveTypeTraits<PT>::CppType, | 487 | 46 | Op<PT>>::vector_constant(col_left->get_data(), | 488 | 46 | col_right->get_element(0), vec_res); | 489 | | | 490 | 46 | block.replace_by_position(result, std::move(col_res)); | 491 | 46 | } 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 | 46 | return Status::OK(); | 504 | 46 | } |
_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 | 202 | const ColumnPtr& col_right_ptr) const { | 461 | 202 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 462 | 202 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 463 | | | 464 | 202 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 465 | 202 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 466 | | | 467 | 202 | DCHECK(!(left_is_const && right_is_const)); | 468 | | | 469 | 202 | if (!left_is_const && !right_is_const) { | 470 | 80 | auto col_res = ColumnUInt8::create(); | 471 | | | 472 | 80 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 473 | 80 | vec_res.resize(col_left->get_data().size()); | 474 | 80 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 475 | 80 | typename PrimitiveTypeTraits<PT>::CppType, | 476 | 80 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 477 | 80 | vec_res); | 478 | | | 479 | 80 | block.replace_by_position(result, std::move(col_res)); | 480 | 122 | } else if (!left_is_const && right_is_const) { | 481 | 122 | auto col_res = ColumnUInt8::create(); | 482 | | | 483 | 122 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 484 | 122 | vec_res.resize(col_left->size()); | 485 | 122 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 486 | 122 | typename PrimitiveTypeTraits<PT>::CppType, | 487 | 122 | Op<PT>>::vector_constant(col_left->get_data(), | 488 | 122 | col_right->get_element(0), vec_res); | 489 | | | 490 | 122 | block.replace_by_position(result, std::move(col_res)); | 491 | 122 | } 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 | 202 | return Status::OK(); | 504 | 202 | } |
_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 | 22 | auto col_res = ColumnUInt8::create(); | 471 | | | 472 | 22 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 473 | 22 | vec_res.resize(col_left->get_data().size()); | 474 | 22 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 475 | 22 | typename PrimitiveTypeTraits<PT>::CppType, | 476 | 22 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 477 | 22 | vec_res); | 478 | | | 479 | 22 | block.replace_by_position(result, std::move(col_res)); | 480 | 121 | } else if (!left_is_const && right_is_const) { | 481 | 121 | auto col_res = ColumnUInt8::create(); | 482 | | | 483 | 121 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 484 | 121 | vec_res.resize(col_left->size()); | 485 | 121 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 486 | 121 | typename PrimitiveTypeTraits<PT>::CppType, | 487 | 121 | Op<PT>>::vector_constant(col_left->get_data(), | 488 | 121 | col_right->get_element(0), vec_res); | 489 | | | 490 | 121 | block.replace_by_position(result, std::move(col_res)); | 491 | 121 | } 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 | 92 | const ColumnPtr& col_right_ptr) const { | 461 | 92 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 462 | 92 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 463 | | | 464 | 92 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 465 | 92 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 466 | | | 467 | 92 | DCHECK(!(left_is_const && right_is_const)); | 468 | | | 469 | 92 | if (!left_is_const && !right_is_const) { | 470 | 92 | auto col_res = ColumnUInt8::create(); | 471 | | | 472 | 92 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 473 | 92 | vec_res.resize(col_left->get_data().size()); | 474 | 92 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 475 | 92 | typename PrimitiveTypeTraits<PT>::CppType, | 476 | 92 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 477 | 92 | vec_res); | 478 | | | 479 | 92 | block.replace_by_position(result, std::move(col_res)); | 480 | 92 | } 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 | 92 | return Status::OK(); | 504 | 92 | } |
_ZNK5doris18FunctionComparisonINS_6LessOpENS_8NameLessEE16execute_num_typeILNS_13PrimitiveTypeE25EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 460 | 2.10k | const ColumnPtr& col_right_ptr) const { | 461 | 2.10k | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 462 | 2.10k | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 463 | | | 464 | 2.10k | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 465 | 2.10k | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 466 | | | 467 | 2.10k | DCHECK(!(left_is_const && right_is_const)); | 468 | | | 469 | 2.10k | if (!left_is_const && !right_is_const) { | 470 | 1.68k | auto col_res = ColumnUInt8::create(); | 471 | | | 472 | 1.68k | ColumnUInt8::Container& vec_res = col_res->get_data(); | 473 | 1.68k | vec_res.resize(col_left->get_data().size()); | 474 | 1.68k | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 475 | 1.68k | typename PrimitiveTypeTraits<PT>::CppType, | 476 | 1.68k | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 477 | 1.68k | vec_res); | 478 | | | 479 | 1.68k | block.replace_by_position(result, std::move(col_res)); | 480 | 1.68k | } else if (!left_is_const && right_is_const) { | 481 | 423 | auto col_res = ColumnUInt8::create(); | 482 | | | 483 | 423 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 484 | 423 | vec_res.resize(col_left->size()); | 485 | 423 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 486 | 423 | typename PrimitiveTypeTraits<PT>::CppType, | 487 | 423 | Op<PT>>::vector_constant(col_left->get_data(), | 488 | 423 | col_right->get_element(0), vec_res); | 489 | | | 490 | 423 | block.replace_by_position(result, std::move(col_res)); | 491 | 423 | } 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.10k | return Status::OK(); | 504 | 2.10k | } |
_ZNK5doris18FunctionComparisonINS_6LessOpENS_8NameLessEE16execute_num_typeILNS_13PrimitiveTypeE26EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 460 | 796 | const ColumnPtr& col_right_ptr) const { | 461 | 796 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 462 | 796 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 463 | | | 464 | 796 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 465 | 796 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 466 | | | 467 | 796 | DCHECK(!(left_is_const && right_is_const)); | 468 | | | 469 | 797 | if (!left_is_const && !right_is_const) { | 470 | 272 | auto col_res = ColumnUInt8::create(); | 471 | | | 472 | 272 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 473 | 272 | vec_res.resize(col_left->get_data().size()); | 474 | 272 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 475 | 272 | typename PrimitiveTypeTraits<PT>::CppType, | 476 | 272 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 477 | 272 | vec_res); | 478 | | | 479 | 272 | block.replace_by_position(result, std::move(col_res)); | 480 | 525 | } else if (!left_is_const && right_is_const) { | 481 | 525 | auto col_res = ColumnUInt8::create(); | 482 | | | 483 | 525 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 484 | 525 | vec_res.resize(col_left->size()); | 485 | 525 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 486 | 525 | typename PrimitiveTypeTraits<PT>::CppType, | 487 | 525 | Op<PT>>::vector_constant(col_left->get_data(), | 488 | 525 | col_right->get_element(0), vec_res); | 489 | | | 490 | 525 | 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 | 796 | return Status::OK(); | 504 | 796 | } |
_ZNK5doris18FunctionComparisonINS_6LessOpENS_8NameLessEE16execute_num_typeILNS_13PrimitiveTypeE42EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 460 | 3 | const ColumnPtr& col_right_ptr) const { | 461 | 3 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 462 | 3 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 463 | | | 464 | 3 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 465 | 3 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 466 | | | 467 | 3 | DCHECK(!(left_is_const && right_is_const)); | 468 | | | 469 | 3 | 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 | 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 | 3 | return Status::OK(); | 504 | 3 | } |
_ZNK5doris18FunctionComparisonINS_6LessOpENS_8NameLessEE16execute_num_typeILNS_13PrimitiveTypeE3EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 460 | 2.20k | const ColumnPtr& col_right_ptr) const { | 461 | 2.20k | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 462 | 2.20k | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 463 | | | 464 | 2.20k | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 465 | 2.20k | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 466 | | | 467 | 2.20k | DCHECK(!(left_is_const && right_is_const)); | 468 | | | 469 | 2.20k | if (!left_is_const && !right_is_const) { | 470 | 158 | auto col_res = ColumnUInt8::create(); | 471 | | | 472 | 158 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 473 | 158 | vec_res.resize(col_left->get_data().size()); | 474 | 158 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 475 | 158 | typename PrimitiveTypeTraits<PT>::CppType, | 476 | 158 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 477 | 158 | vec_res); | 478 | | | 479 | 158 | block.replace_by_position(result, std::move(col_res)); | 480 | 2.05k | } else if (!left_is_const && right_is_const) { | 481 | 1.78k | auto col_res = ColumnUInt8::create(); | 482 | | | 483 | 1.78k | ColumnUInt8::Container& vec_res = col_res->get_data(); | 484 | 1.78k | vec_res.resize(col_left->size()); | 485 | 1.78k | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 486 | 1.78k | typename PrimitiveTypeTraits<PT>::CppType, | 487 | 1.78k | Op<PT>>::vector_constant(col_left->get_data(), | 488 | 1.78k | col_right->get_element(0), vec_res); | 489 | | | 490 | 1.78k | block.replace_by_position(result, std::move(col_res)); | 491 | 1.78k | } else if (left_is_const && !right_is_const) { | 492 | 264 | auto col_res = ColumnUInt8::create(); | 493 | | | 494 | 264 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 495 | 264 | vec_res.resize(col_right->size()); | 496 | 264 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 497 | 264 | typename PrimitiveTypeTraits<PT>::CppType, | 498 | 264 | Op<PT>>::constant_vector(col_left->get_element(0), | 499 | 264 | col_right->get_data(), vec_res); | 500 | | | 501 | 264 | block.replace_by_position(result, std::move(col_res)); | 502 | 264 | } | 503 | 2.20k | return Status::OK(); | 504 | 2.20k | } |
_ZNK5doris18FunctionComparisonINS_6LessOpENS_8NameLessEE16execute_num_typeILNS_13PrimitiveTypeE4EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 460 | 283 | const ColumnPtr& col_right_ptr) const { | 461 | 283 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 462 | 283 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 463 | | | 464 | 283 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 465 | 283 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 466 | | | 467 | 283 | DCHECK(!(left_is_const && right_is_const)); | 468 | | | 469 | 283 | if (!left_is_const && !right_is_const) { | 470 | 139 | auto col_res = ColumnUInt8::create(); | 471 | | | 472 | 139 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 473 | 139 | vec_res.resize(col_left->get_data().size()); | 474 | 139 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 475 | 139 | typename PrimitiveTypeTraits<PT>::CppType, | 476 | 139 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 477 | 139 | vec_res); | 478 | | | 479 | 139 | 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 | 283 | return Status::OK(); | 504 | 283 | } |
_ZNK5doris18FunctionComparisonINS_6LessOpENS_8NameLessEE16execute_num_typeILNS_13PrimitiveTypeE5EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 460 | 3.27k | const ColumnPtr& col_right_ptr) const { | 461 | 3.27k | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 462 | 3.27k | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 463 | | | 464 | 3.27k | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 465 | 3.27k | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 466 | | | 467 | 3.27k | DCHECK(!(left_is_const && right_is_const)); | 468 | | | 469 | 3.27k | 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.09k | } else if (!left_is_const && right_is_const) { | 481 | 2.90k | auto col_res = ColumnUInt8::create(); | 482 | | | 483 | 2.90k | ColumnUInt8::Container& vec_res = col_res->get_data(); | 484 | 2.90k | vec_res.resize(col_left->size()); | 485 | 2.90k | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 486 | 2.90k | typename PrimitiveTypeTraits<PT>::CppType, | 487 | 2.90k | Op<PT>>::vector_constant(col_left->get_data(), | 488 | 2.90k | col_right->get_element(0), vec_res); | 489 | | | 490 | 2.90k | block.replace_by_position(result, std::move(col_res)); | 491 | 2.90k | } else if (left_is_const && !right_is_const) { | 492 | 191 | auto col_res = ColumnUInt8::create(); | 493 | | | 494 | 191 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 495 | 191 | vec_res.resize(col_right->size()); | 496 | 191 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 497 | 191 | typename PrimitiveTypeTraits<PT>::CppType, | 498 | 191 | Op<PT>>::constant_vector(col_left->get_element(0), | 499 | 191 | col_right->get_data(), vec_res); | 500 | | | 501 | 191 | block.replace_by_position(result, std::move(col_res)); | 502 | 191 | } | 503 | 3.27k | return Status::OK(); | 504 | 3.27k | } |
_ZNK5doris18FunctionComparisonINS_6LessOpENS_8NameLessEE16execute_num_typeILNS_13PrimitiveTypeE6EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 460 | 1.64k | const ColumnPtr& col_right_ptr) const { | 461 | 1.64k | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 462 | 1.64k | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 463 | | | 464 | 1.64k | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 465 | 1.64k | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 466 | | | 467 | 1.64k | DCHECK(!(left_is_const && right_is_const)); | 468 | | | 469 | 1.64k | if (!left_is_const && !right_is_const) { | 470 | 200 | auto col_res = ColumnUInt8::create(); | 471 | | | 472 | 200 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 473 | 200 | vec_res.resize(col_left->get_data().size()); | 474 | 200 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 475 | 200 | typename PrimitiveTypeTraits<PT>::CppType, | 476 | 200 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 477 | 200 | vec_res); | 478 | | | 479 | 200 | block.replace_by_position(result, std::move(col_res)); | 480 | 1.44k | } else if (!left_is_const && right_is_const) { | 481 | 1.38k | auto col_res = ColumnUInt8::create(); | 482 | | | 483 | 1.38k | ColumnUInt8::Container& vec_res = col_res->get_data(); | 484 | 1.38k | vec_res.resize(col_left->size()); | 485 | 1.38k | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 486 | 1.38k | typename PrimitiveTypeTraits<PT>::CppType, | 487 | 1.38k | Op<PT>>::vector_constant(col_left->get_data(), | 488 | 1.38k | col_right->get_element(0), vec_res); | 489 | | | 490 | 1.38k | block.replace_by_position(result, std::move(col_res)); | 491 | 1.38k | } else if (left_is_const && !right_is_const) { | 492 | 58 | auto col_res = ColumnUInt8::create(); | 493 | | | 494 | 58 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 495 | 58 | vec_res.resize(col_right->size()); | 496 | 58 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 497 | 58 | typename PrimitiveTypeTraits<PT>::CppType, | 498 | 58 | Op<PT>>::constant_vector(col_left->get_element(0), | 499 | 58 | col_right->get_data(), vec_res); | 500 | | | 501 | 58 | block.replace_by_position(result, std::move(col_res)); | 502 | 58 | } | 503 | 1.64k | return Status::OK(); | 504 | 1.64k | } |
_ZNK5doris18FunctionComparisonINS_6LessOpENS_8NameLessEE16execute_num_typeILNS_13PrimitiveTypeE7EEENS_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 | 134 | auto col_res = ColumnUInt8::create(); | 471 | | | 472 | 134 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 473 | 134 | vec_res.resize(col_left->get_data().size()); | 474 | 134 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 475 | 134 | typename PrimitiveTypeTraits<PT>::CppType, | 476 | 134 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 477 | 134 | vec_res); | 478 | | | 479 | 134 | block.replace_by_position(result, std::move(col_res)); | 480 | 135 | } else if (!left_is_const && right_is_const) { | 481 | 46 | auto col_res = ColumnUInt8::create(); | 482 | | | 483 | 46 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 484 | 46 | vec_res.resize(col_left->size()); | 485 | 46 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 486 | 46 | typename PrimitiveTypeTraits<PT>::CppType, | 487 | 46 | Op<PT>>::vector_constant(col_left->get_data(), | 488 | 46 | col_right->get_element(0), vec_res); | 489 | | | 490 | 46 | block.replace_by_position(result, std::move(col_res)); | 491 | 92 | } else if (left_is_const && !right_is_const) { | 492 | 92 | auto col_res = ColumnUInt8::create(); | 493 | | | 494 | 92 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 495 | 92 | vec_res.resize(col_right->size()); | 496 | 92 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 497 | 92 | typename PrimitiveTypeTraits<PT>::CppType, | 498 | 92 | Op<PT>>::constant_vector(col_left->get_element(0), | 499 | 92 | col_right->get_data(), vec_res); | 500 | | | 501 | 92 | block.replace_by_position(result, std::move(col_res)); | 502 | 92 | } | 503 | 269 | return Status::OK(); | 504 | 269 | } |
_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 | 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 | 155 | auto col_res = ColumnUInt8::create(); | 471 | | | 472 | 155 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 473 | 155 | vec_res.resize(col_left->get_data().size()); | 474 | 155 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 475 | 155 | typename PrimitiveTypeTraits<PT>::CppType, | 476 | 155 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 477 | 155 | vec_res); | 478 | | | 479 | 155 | block.replace_by_position(result, std::move(col_res)); | 480 | 155 | } 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 | 183 | return Status::OK(); | 504 | 183 | } |
_ZNK5doris18FunctionComparisonINS_6LessOpENS_8NameLessEE16execute_num_typeILNS_13PrimitiveTypeE9EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 460 | 371 | const ColumnPtr& col_right_ptr) const { | 461 | 371 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 462 | 371 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 463 | | | 464 | 371 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 465 | 371 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 466 | | | 467 | 371 | DCHECK(!(left_is_const && right_is_const)); | 468 | | | 469 | 371 | if (!left_is_const && !right_is_const) { | 470 | 155 | auto col_res = ColumnUInt8::create(); | 471 | | | 472 | 155 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 473 | 155 | vec_res.resize(col_left->get_data().size()); | 474 | 155 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 475 | 155 | typename PrimitiveTypeTraits<PT>::CppType, | 476 | 155 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 477 | 155 | vec_res); | 478 | | | 479 | 155 | 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 | 371 | return Status::OK(); | 504 | 371 | } |
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 | 154 | const ColumnPtr& col_right_ptr) const { | 461 | 154 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 462 | 154 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 463 | | | 464 | 154 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 465 | 154 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 466 | | | 467 | 154 | DCHECK(!(left_is_const && right_is_const)); | 468 | | | 469 | 154 | 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 | 112 | } else if (!left_is_const && right_is_const) { | 481 | 112 | auto col_res = ColumnUInt8::create(); | 482 | | | 483 | 112 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 484 | 112 | vec_res.resize(col_left->size()); | 485 | 112 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 486 | 112 | typename PrimitiveTypeTraits<PT>::CppType, | 487 | 112 | Op<PT>>::vector_constant(col_left->get_data(), | 488 | 112 | col_right->get_element(0), vec_res); | 489 | | | 490 | 112 | block.replace_by_position(result, std::move(col_res)); | 491 | 112 | } 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 | 154 | return Status::OK(); | 504 | 154 | } |
_ZNK5doris18FunctionComparisonINS_14LessOrEqualsOpENS_16NameLessOrEqualsEE16execute_num_typeILNS_13PrimitiveTypeE25EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 460 | 6.78k | const ColumnPtr& col_right_ptr) const { | 461 | 6.78k | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 462 | 6.78k | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 463 | | | 464 | 6.78k | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 465 | 6.78k | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 466 | | | 467 | 6.78k | DCHECK(!(left_is_const && right_is_const)); | 468 | | | 469 | 6.78k | if (!left_is_const && !right_is_const) { | 470 | 477 | auto col_res = ColumnUInt8::create(); | 471 | | | 472 | 477 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 473 | 477 | vec_res.resize(col_left->get_data().size()); | 474 | 477 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 475 | 477 | typename PrimitiveTypeTraits<PT>::CppType, | 476 | 477 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 477 | 477 | vec_res); | 478 | | | 479 | 477 | block.replace_by_position(result, std::move(col_res)); | 480 | 6.31k | } else if (!left_is_const && right_is_const) { | 481 | 6.30k | auto col_res = ColumnUInt8::create(); | 482 | | | 483 | 6.30k | ColumnUInt8::Container& vec_res = col_res->get_data(); | 484 | 6.30k | vec_res.resize(col_left->size()); | 485 | 6.30k | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 486 | 6.30k | typename PrimitiveTypeTraits<PT>::CppType, | 487 | 6.30k | Op<PT>>::vector_constant(col_left->get_data(), | 488 | 6.30k | col_right->get_element(0), vec_res); | 489 | | | 490 | 6.30k | block.replace_by_position(result, std::move(col_res)); | 491 | 6.30k | } 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.78k | return Status::OK(); | 504 | 6.78k | } |
_ZNK5doris18FunctionComparisonINS_14LessOrEqualsOpENS_16NameLessOrEqualsEE16execute_num_typeILNS_13PrimitiveTypeE26EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 460 | 457 | const ColumnPtr& col_right_ptr) const { | 461 | 457 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 462 | 457 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 463 | | | 464 | 457 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 465 | 457 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 466 | | | 467 | 457 | DCHECK(!(left_is_const && right_is_const)); | 468 | | | 469 | 457 | if (!left_is_const && !right_is_const) { | 470 | 90 | auto col_res = ColumnUInt8::create(); | 471 | | | 472 | 90 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 473 | 90 | vec_res.resize(col_left->get_data().size()); | 474 | 90 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 475 | 90 | typename PrimitiveTypeTraits<PT>::CppType, | 476 | 90 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 477 | 90 | vec_res); | 478 | | | 479 | 90 | block.replace_by_position(result, std::move(col_res)); | 480 | 367 | } else if (!left_is_const && right_is_const) { | 481 | 367 | auto col_res = ColumnUInt8::create(); | 482 | | | 483 | 367 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 484 | 367 | vec_res.resize(col_left->size()); | 485 | 367 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 486 | 367 | typename PrimitiveTypeTraits<PT>::CppType, | 487 | 367 | Op<PT>>::vector_constant(col_left->get_data(), | 488 | 367 | col_right->get_element(0), vec_res); | 489 | | | 490 | 367 | block.replace_by_position(result, std::move(col_res)); | 491 | 367 | } 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 | 457 | return Status::OK(); | 504 | 457 | } |
_ZNK5doris18FunctionComparisonINS_14LessOrEqualsOpENS_16NameLessOrEqualsEE16execute_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_14LessOrEqualsOpENS_16NameLessOrEqualsEE16execute_num_typeILNS_13PrimitiveTypeE3EEENS_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 | 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 | 58 | } else if (!left_is_const && right_is_const) { | 481 | 58 | auto col_res = ColumnUInt8::create(); | 482 | | | 483 | 58 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 484 | 58 | vec_res.resize(col_left->size()); | 485 | 58 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 486 | 58 | typename PrimitiveTypeTraits<PT>::CppType, | 487 | 58 | Op<PT>>::vector_constant(col_left->get_data(), | 488 | 58 | col_right->get_element(0), vec_res); | 489 | | | 490 | 58 | block.replace_by_position(result, std::move(col_res)); | 491 | 58 | } 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_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_14LessOrEqualsOpENS_16NameLessOrEqualsEE16execute_num_typeILNS_13PrimitiveTypeE5EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 460 | 17.9k | const ColumnPtr& col_right_ptr) const { | 461 | 17.9k | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 462 | 17.9k | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 463 | | | 464 | 17.9k | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 465 | 17.9k | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 466 | | | 467 | 17.9k | DCHECK(!(left_is_const && right_is_const)); | 468 | | | 469 | 17.9k | if (!left_is_const && !right_is_const) { | 470 | 83 | auto col_res = ColumnUInt8::create(); | 471 | | | 472 | 83 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 473 | 83 | vec_res.resize(col_left->get_data().size()); | 474 | 83 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 475 | 83 | typename PrimitiveTypeTraits<PT>::CppType, | 476 | 83 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 477 | 83 | vec_res); | 478 | | | 479 | 83 | block.replace_by_position(result, std::move(col_res)); | 480 | 17.8k | } else if (!left_is_const && right_is_const) { | 481 | 17.5k | auto col_res = ColumnUInt8::create(); | 482 | | | 483 | 17.5k | ColumnUInt8::Container& vec_res = col_res->get_data(); | 484 | 17.5k | vec_res.resize(col_left->size()); | 485 | 17.5k | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 486 | 17.5k | typename PrimitiveTypeTraits<PT>::CppType, | 487 | 17.5k | Op<PT>>::vector_constant(col_left->get_data(), | 488 | 17.5k | col_right->get_element(0), vec_res); | 489 | | | 490 | 17.5k | block.replace_by_position(result, std::move(col_res)); | 491 | 17.5k | } else if (left_is_const && !right_is_const) { | 492 | 280 | auto col_res = ColumnUInt8::create(); | 493 | | | 494 | 280 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 495 | 280 | vec_res.resize(col_right->size()); | 496 | 280 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 497 | 280 | typename PrimitiveTypeTraits<PT>::CppType, | 498 | 280 | Op<PT>>::constant_vector(col_left->get_element(0), | 499 | 280 | col_right->get_data(), vec_res); | 500 | | | 501 | 280 | block.replace_by_position(result, std::move(col_res)); | 502 | 280 | } | 503 | 17.9k | return Status::OK(); | 504 | 17.9k | } |
_ZNK5doris18FunctionComparisonINS_14LessOrEqualsOpENS_16NameLessOrEqualsEE16execute_num_typeILNS_13PrimitiveTypeE6EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 460 | 895 | const ColumnPtr& col_right_ptr) const { | 461 | 895 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 462 | 895 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 463 | | | 464 | 895 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 465 | 895 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 466 | | | 467 | 895 | DCHECK(!(left_is_const && right_is_const)); | 468 | | | 469 | 895 | 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 | 834 | } else if (!left_is_const && right_is_const) { | 481 | 786 | auto col_res = ColumnUInt8::create(); | 482 | | | 483 | 786 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 484 | 786 | vec_res.resize(col_left->size()); | 485 | 786 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 486 | 786 | typename PrimitiveTypeTraits<PT>::CppType, | 487 | 786 | Op<PT>>::vector_constant(col_left->get_data(), | 488 | 786 | col_right->get_element(0), vec_res); | 489 | | | 490 | 786 | block.replace_by_position(result, std::move(col_res)); | 491 | 786 | } 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 | 895 | return Status::OK(); | 504 | 895 | } |
_ZNK5doris18FunctionComparisonINS_14LessOrEqualsOpENS_16NameLessOrEqualsEE16execute_num_typeILNS_13PrimitiveTypeE7EEENS_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 | 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 | 67 | } else if (!left_is_const && right_is_const) { | 481 | 67 | auto col_res = ColumnUInt8::create(); | 482 | | | 483 | 67 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 484 | 67 | vec_res.resize(col_left->size()); | 485 | 67 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 486 | 67 | typename PrimitiveTypeTraits<PT>::CppType, | 487 | 67 | Op<PT>>::vector_constant(col_left->get_data(), | 488 | 67 | col_right->get_element(0), vec_res); | 489 | | | 490 | 67 | block.replace_by_position(result, std::move(col_res)); | 491 | 67 | } 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_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 | 198 | const ColumnPtr& col_right_ptr) const { | 461 | 198 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 462 | 198 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 463 | | | 464 | 198 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 465 | 198 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 466 | | | 467 | 198 | DCHECK(!(left_is_const && right_is_const)); | 468 | | | 469 | 198 | if (!left_is_const && !right_is_const) { | 470 | 80 | auto col_res = ColumnUInt8::create(); | 471 | | | 472 | 80 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 473 | 80 | vec_res.resize(col_left->get_data().size()); | 474 | 80 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 475 | 80 | typename PrimitiveTypeTraits<PT>::CppType, | 476 | 80 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 477 | 80 | vec_res); | 478 | | | 479 | 80 | block.replace_by_position(result, std::move(col_res)); | 480 | 118 | } else if (!left_is_const && right_is_const) { | 481 | 118 | auto col_res = ColumnUInt8::create(); | 482 | | | 483 | 118 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 484 | 118 | vec_res.resize(col_left->size()); | 485 | 118 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 486 | 118 | typename PrimitiveTypeTraits<PT>::CppType, | 487 | 118 | Op<PT>>::vector_constant(col_left->get_data(), | 488 | 118 | col_right->get_element(0), vec_res); | 489 | | | 490 | 118 | block.replace_by_position(result, std::move(col_res)); | 491 | 118 | } 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 | 198 | return Status::OK(); | 504 | 198 | } |
_ZNK5doris18FunctionComparisonINS_14LessOrEqualsOpENS_16NameLessOrEqualsEE16execute_num_typeILNS_13PrimitiveTypeE9EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 460 | 140 | const ColumnPtr& col_right_ptr) const { | 461 | 140 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 462 | 140 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 463 | | | 464 | 140 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 465 | 140 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 466 | | | 467 | 140 | DCHECK(!(left_is_const && right_is_const)); | 468 | | | 469 | 140 | 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 | 120 | } 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 | 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 | 140 | return Status::OK(); | 504 | 140 | } |
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 | 13.2k | const ColumnWithTypeAndName& col_right) const { |
508 | 13.2k | auto call = [&](const auto& type) -> bool { |
509 | 13.2k | using DispatchType = std::decay_t<decltype(type)>; |
510 | 13.2k | DecimalComparison<DispatchType::PType, DispatchType::PType, Op, false>( |
511 | 13.2k | block, result, col_left, col_right); |
512 | 13.2k | return true; |
513 | 13.2k | }; _ZZNK5doris18FunctionComparisonINS_8EqualsOpENS_10NameEqualsEE15execute_decimalERNS_5BlockEjRKNS_21ColumnWithTypeAndNameES8_ENKUlRKT_E_clINS_16DispatchDataTypeILNS_13PrimitiveTypeE28EEEEEbSB_ Line | Count | Source | 508 | 265 | auto call = [&](const auto& type) -> bool { | 509 | 265 | using DispatchType = std::decay_t<decltype(type)>; | 510 | 265 | DecimalComparison<DispatchType::PType, DispatchType::PType, Op, false>( | 511 | 265 | block, result, col_left, col_right); | 512 | 265 | return true; | 513 | 265 | }; |
_ZZNK5doris18FunctionComparisonINS_8EqualsOpENS_10NameEqualsEE15execute_decimalERNS_5BlockEjRKNS_21ColumnWithTypeAndNameES8_ENKUlRKT_E_clINS_16DispatchDataTypeILNS_13PrimitiveTypeE29EEEEEbSB_ Line | Count | Source | 508 | 272 | auto call = [&](const auto& type) -> bool { | 509 | 272 | using DispatchType = std::decay_t<decltype(type)>; | 510 | 272 | DecimalComparison<DispatchType::PType, DispatchType::PType, Op, false>( | 511 | 272 | block, result, col_left, col_right); | 512 | 272 | return true; | 513 | 272 | }; |
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.18k | auto call = [&](const auto& type) -> bool { | 509 | 1.18k | using DispatchType = std::decay_t<decltype(type)>; | 510 | 1.18k | DecimalComparison<DispatchType::PType, DispatchType::PType, Op, false>( | 511 | 1.18k | block, result, col_left, col_right); | 512 | 1.18k | return true; | 513 | 1.18k | }; |
_ZZNK5doris18FunctionComparisonINS_8EqualsOpENS_10NameEqualsEE15execute_decimalERNS_5BlockEjRKNS_21ColumnWithTypeAndNameES8_ENKUlRKT_E_clINS_16DispatchDataTypeILNS_13PrimitiveTypeE35EEEEEbSB_ Line | Count | Source | 508 | 29 | auto call = [&](const auto& type) -> bool { | 509 | 29 | using DispatchType = std::decay_t<decltype(type)>; | 510 | 29 | DecimalComparison<DispatchType::PType, DispatchType::PType, Op, false>( | 511 | 29 | block, result, col_left, col_right); | 512 | 29 | return true; | 513 | 29 | }; |
Unexecuted instantiation: _ZZNK5doris18FunctionComparisonINS_11NotEqualsOpENS_13NameNotEqualsEE15execute_decimalERNS_5BlockEjRKNS_21ColumnWithTypeAndNameES8_ENKUlRKT_E_clINS_16DispatchDataTypeILNS_13PrimitiveTypeE28EEEEEbSB_ _ZZNK5doris18FunctionComparisonINS_11NotEqualsOpENS_13NameNotEqualsEE15execute_decimalERNS_5BlockEjRKNS_21ColumnWithTypeAndNameES8_ENKUlRKT_E_clINS_16DispatchDataTypeILNS_13PrimitiveTypeE29EEEEEbSB_ Line | Count | Source | 508 | 72 | auto call = [&](const auto& type) -> bool { | 509 | 72 | using DispatchType = std::decay_t<decltype(type)>; | 510 | 72 | DecimalComparison<DispatchType::PType, DispatchType::PType, Op, false>( | 511 | 72 | block, result, col_left, col_right); | 512 | 72 | return true; | 513 | 72 | }; |
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.06k | auto call = [&](const auto& type) -> bool { | 509 | 5.06k | using DispatchType = std::decay_t<decltype(type)>; | 510 | 5.06k | DecimalComparison<DispatchType::PType, DispatchType::PType, Op, false>( | 511 | 5.06k | block, result, col_left, col_right); | 512 | 5.06k | return true; | 513 | 5.06k | }; |
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.50k | auto call = [&](const auto& type) -> bool { | 509 | 1.50k | using DispatchType = std::decay_t<decltype(type)>; | 510 | 1.50k | DecimalComparison<DispatchType::PType, DispatchType::PType, Op, false>( | 511 | 1.50k | block, result, col_left, col_right); | 512 | 1.50k | return true; | 513 | 1.50k | }; |
_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 | 12 | auto call = [&](const auto& type) -> bool { | 509 | 12 | using DispatchType = std::decay_t<decltype(type)>; | 510 | 12 | DecimalComparison<DispatchType::PType, DispatchType::PType, Op, false>( | 511 | 12 | block, result, col_left, col_right); | 512 | 12 | return true; | 513 | 12 | }; |
_ZZNK5doris18FunctionComparisonINS_17GreaterOrEqualsOpENS_19NameGreaterOrEqualsEE15execute_decimalERNS_5BlockEjRKNS_21ColumnWithTypeAndNameES8_ENKUlRKT_E_clINS_16DispatchDataTypeILNS_13PrimitiveTypeE29EEEEEbSB_ Line | Count | Source | 508 | 281 | auto call = [&](const auto& type) -> bool { | 509 | 281 | using DispatchType = std::decay_t<decltype(type)>; | 510 | 281 | DecimalComparison<DispatchType::PType, DispatchType::PType, Op, false>( | 511 | 281 | block, result, col_left, col_right); | 512 | 281 | return true; | 513 | 281 | }; |
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 | 89 | auto call = [&](const auto& type) -> bool { | 509 | 89 | using DispatchType = std::decay_t<decltype(type)>; | 510 | 89 | DecimalComparison<DispatchType::PType, DispatchType::PType, Op, false>( | 511 | 89 | block, result, col_left, col_right); | 512 | 89 | return true; | 513 | 89 | }; |
_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 | 207 | auto call = [&](const auto& type) -> bool { | 509 | 207 | using DispatchType = std::decay_t<decltype(type)>; | 510 | 207 | DecimalComparison<DispatchType::PType, DispatchType::PType, Op, false>( | 511 | 207 | block, result, col_left, col_right); | 512 | 207 | return true; | 513 | 207 | }; |
_ZZNK5doris18FunctionComparisonINS_6LessOpENS_8NameLessEE15execute_decimalERNS_5BlockEjRKNS_21ColumnWithTypeAndNameES8_ENKUlRKT_E_clINS_16DispatchDataTypeILNS_13PrimitiveTypeE29EEEEEbSB_ Line | Count | Source | 508 | 233 | auto call = [&](const auto& type) -> bool { | 509 | 233 | using DispatchType = std::decay_t<decltype(type)>; | 510 | 233 | DecimalComparison<DispatchType::PType, DispatchType::PType, Op, false>( | 511 | 233 | block, result, col_left, col_right); | 512 | 233 | return true; | 513 | 233 | }; |
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 | 453 | auto call = [&](const auto& type) -> bool { | 509 | 453 | using DispatchType = std::decay_t<decltype(type)>; | 510 | 453 | DecimalComparison<DispatchType::PType, DispatchType::PType, Op, false>( | 511 | 453 | block, result, col_left, col_right); | 512 | 453 | return true; | 513 | 453 | }; |
_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 | 8 | auto call = [&](const auto& type) -> bool { | 509 | 8 | using DispatchType = std::decay_t<decltype(type)>; | 510 | 8 | DecimalComparison<DispatchType::PType, DispatchType::PType, Op, false>( | 511 | 8 | block, result, col_left, col_right); | 512 | 8 | return true; | 513 | 8 | }; |
_ZZNK5doris18FunctionComparisonINS_14LessOrEqualsOpENS_16NameLessOrEqualsEE15execute_decimalERNS_5BlockEjRKNS_21ColumnWithTypeAndNameES8_ENKUlRKT_E_clINS_16DispatchDataTypeILNS_13PrimitiveTypeE29EEEEEbSB_ Line | Count | Source | 508 | 2.21k | auto call = [&](const auto& type) -> bool { | 509 | 2.21k | using DispatchType = std::decay_t<decltype(type)>; | 510 | 2.21k | DecimalComparison<DispatchType::PType, DispatchType::PType, Op, false>( | 511 | 2.21k | block, result, col_left, col_right); | 512 | 2.21k | return true; | 513 | 2.21k | }; |
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 | 903 | auto call = [&](const auto& type) -> bool { | 509 | 903 | using DispatchType = std::decay_t<decltype(type)>; | 510 | 903 | DecimalComparison<DispatchType::PType, DispatchType::PType, Op, false>( | 511 | 903 | block, result, col_left, col_right); | 512 | 903 | return true; | 513 | 903 | }; |
_ZZNK5doris18FunctionComparisonINS_14LessOrEqualsOpENS_16NameLessOrEqualsEE15execute_decimalERNS_5BlockEjRKNS_21ColumnWithTypeAndNameES8_ENKUlRKT_E_clINS_16DispatchDataTypeILNS_13PrimitiveTypeE35EEEEEbSB_ Line | Count | Source | 508 | 19 | auto call = [&](const auto& type) -> bool { | 509 | 19 | using DispatchType = std::decay_t<decltype(type)>; | 510 | 19 | DecimalComparison<DispatchType::PType, DispatchType::PType, Op, false>( | 511 | 19 | block, result, col_left, col_right); | 512 | 19 | return true; | 513 | 19 | }; |
|
514 | | |
515 | 13.2k | 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 | 13.2k | 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 | 13.2k | return Status::OK(); |
526 | 13.2k | } _ZNK5doris18FunctionComparisonINS_8EqualsOpENS_10NameEqualsEE15execute_decimalERNS_5BlockEjRKNS_21ColumnWithTypeAndNameES8_ Line | Count | Source | 507 | 1.74k | const ColumnWithTypeAndName& col_right) const { | 508 | 1.74k | auto call = [&](const auto& type) -> bool { | 509 | 1.74k | using DispatchType = std::decay_t<decltype(type)>; | 510 | 1.74k | DecimalComparison<DispatchType::PType, DispatchType::PType, Op, false>( | 511 | 1.74k | block, result, col_left, col_right); | 512 | 1.74k | return true; | 513 | 1.74k | }; | 514 | | | 515 | 1.74k | 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.74k | 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.74k | return Status::OK(); | 526 | 1.74k | } |
_ZNK5doris18FunctionComparisonINS_11NotEqualsOpENS_13NameNotEqualsEE15execute_decimalERNS_5BlockEjRKNS_21ColumnWithTypeAndNameES8_ Line | Count | Source | 507 | 424 | const ColumnWithTypeAndName& col_right) const { | 508 | 424 | auto call = [&](const auto& type) -> bool { | 509 | 424 | using DispatchType = std::decay_t<decltype(type)>; | 510 | 424 | DecimalComparison<DispatchType::PType, DispatchType::PType, Op, false>( | 511 | 424 | block, result, col_left, col_right); | 512 | 424 | return true; | 513 | 424 | }; | 514 | | | 515 | 424 | 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 | 424 | 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 | 424 | return Status::OK(); | 526 | 424 | } |
_ZNK5doris18FunctionComparisonINS_9GreaterOpENS_11NameGreaterEE15execute_decimalERNS_5BlockEjRKNS_21ColumnWithTypeAndNameES8_ Line | Count | Source | 507 | 6.61k | const ColumnWithTypeAndName& col_right) const { | 508 | 6.61k | auto call = [&](const auto& type) -> bool { | 509 | 6.61k | using DispatchType = std::decay_t<decltype(type)>; | 510 | 6.61k | DecimalComparison<DispatchType::PType, DispatchType::PType, Op, false>( | 511 | 6.61k | block, result, col_left, col_right); | 512 | 6.61k | return true; | 513 | 6.61k | }; | 514 | | | 515 | 6.61k | 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.61k | 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.61k | return Status::OK(); | 526 | 6.61k | } |
_ZNK5doris18FunctionComparisonINS_17GreaterOrEqualsOpENS_19NameGreaterOrEqualsEE15execute_decimalERNS_5BlockEjRKNS_21ColumnWithTypeAndNameES8_ Line | Count | Source | 507 | 403 | const ColumnWithTypeAndName& col_right) const { | 508 | 403 | auto call = [&](const auto& type) -> bool { | 509 | 403 | using DispatchType = std::decay_t<decltype(type)>; | 510 | 403 | DecimalComparison<DispatchType::PType, DispatchType::PType, Op, false>( | 511 | 403 | block, result, col_left, col_right); | 512 | 403 | return true; | 513 | 403 | }; | 514 | | | 515 | 403 | 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 | 403 | 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 | 403 | return Status::OK(); | 526 | 403 | } |
_ZNK5doris18FunctionComparisonINS_6LessOpENS_8NameLessEE15execute_decimalERNS_5BlockEjRKNS_21ColumnWithTypeAndNameES8_ Line | Count | Source | 507 | 894 | const ColumnWithTypeAndName& col_right) const { | 508 | 894 | auto call = [&](const auto& type) -> bool { | 509 | 894 | using DispatchType = std::decay_t<decltype(type)>; | 510 | 894 | DecimalComparison<DispatchType::PType, DispatchType::PType, Op, false>( | 511 | 894 | block, result, col_left, col_right); | 512 | 894 | return true; | 513 | 894 | }; | 514 | | | 515 | 894 | 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 | 894 | 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 | 894 | return Status::OK(); | 526 | 894 | } |
_ZNK5doris18FunctionComparisonINS_14LessOrEqualsOpENS_16NameLessOrEqualsEE15execute_decimalERNS_5BlockEjRKNS_21ColumnWithTypeAndNameES8_ Line | Count | Source | 507 | 3.14k | const ColumnWithTypeAndName& col_right) const { | 508 | 3.14k | auto call = [&](const auto& type) -> bool { | 509 | 3.14k | using DispatchType = std::decay_t<decltype(type)>; | 510 | 3.14k | DecimalComparison<DispatchType::PType, DispatchType::PType, Op, false>( | 511 | 3.14k | block, result, col_left, col_right); | 512 | 3.14k | return true; | 513 | 3.14k | }; | 514 | | | 515 | 3.14k | 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.14k | 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.14k | return Status::OK(); | 526 | 3.14k | } |
|
527 | | |
528 | | Status execute_string(Block& block, uint32_t result, const IColumn* c0, |
529 | 30.6k | const IColumn* c1) const { |
530 | 30.6k | const ColumnString* c0_string = check_and_get_column<ColumnString>(c0); |
531 | 30.6k | const ColumnString* c1_string = check_and_get_column<ColumnString>(c1); |
532 | 30.6k | const ColumnConst* c0_const = check_and_get_column_const_string_or_fixedstring(c0); |
533 | 30.6k | const ColumnConst* c1_const = check_and_get_column_const_string_or_fixedstring(c1); |
534 | 30.6k | 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 | 30.6k | DCHECK(!(c0_const && c1_const)); |
539 | 30.6k | const ColumnString::Chars* c0_const_chars = nullptr; |
540 | 30.6k | const ColumnString::Chars* c1_const_chars = nullptr; |
541 | 30.6k | ColumnString::Offset c0_const_size = 0; |
542 | 30.6k | ColumnString::Offset c1_const_size = 0; |
543 | | |
544 | 30.6k | 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 | 30.6k | if (c1_const) { |
558 | 27.4k | const ColumnString* c1_const_string = |
559 | 27.4k | check_and_get_column<ColumnString>(&c1_const->get_data_column()); |
560 | | |
561 | 27.4k | if (c1_const_string) { |
562 | 27.4k | c1_const_chars = &c1_const_string->get_chars(); |
563 | 27.4k | c1_const_size = c1_const_string->get_offsets()[0]; |
564 | 27.4k | } else { |
565 | 1 | return Status::NotSupported("Illegal columns {}, of argument of function {}", |
566 | 1 | c1->get_name(), name); |
567 | 1 | } |
568 | 27.4k | } |
569 | | |
570 | 30.6k | using StringImpl = StringComparisonImpl<Op<TYPE_INT>>; |
571 | | |
572 | 30.6k | auto c_res = ColumnUInt8::create(); |
573 | 30.6k | ColumnUInt8::Container& vec_res = c_res->get_data(); |
574 | 30.6k | vec_res.resize(c0->size()); |
575 | | |
576 | 30.6k | if (c0_string && c1_string) { |
577 | 3.22k | StringImpl::string_vector_string_vector( |
578 | 3.22k | c0_string->get_chars(), c0_string->get_offsets(), c1_string->get_chars(), |
579 | 3.22k | c1_string->get_offsets(), vec_res); |
580 | 27.4k | } else if (c0_string && c1_const) { |
581 | 27.4k | StringImpl::string_vector_constant(c0_string->get_chars(), c0_string->get_offsets(), |
582 | 27.4k | *c1_const_chars, c1_const_size, vec_res); |
583 | 27.4k | } 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 | 18.4E | } else { |
588 | 18.4E | return Status::NotSupported("Illegal columns {}, {} of argument of function {}", |
589 | 18.4E | c0->get_name(), c1->get_name(), name); |
590 | 18.4E | } |
591 | 30.6k | block.replace_by_position(result, std::move(c_res)); |
592 | 30.6k | return Status::OK(); |
593 | 30.6k | } _ZNK5doris18FunctionComparisonINS_8EqualsOpENS_10NameEqualsEE14execute_stringERNS_5BlockEjPKNS_7IColumnES8_ Line | Count | Source | 529 | 25.6k | const IColumn* c1) const { | 530 | 25.6k | const ColumnString* c0_string = check_and_get_column<ColumnString>(c0); | 531 | 25.6k | const ColumnString* c1_string = check_and_get_column<ColumnString>(c1); | 532 | 25.6k | const ColumnConst* c0_const = check_and_get_column_const_string_or_fixedstring(c0); | 533 | 25.6k | const ColumnConst* c1_const = check_and_get_column_const_string_or_fixedstring(c1); | 534 | 25.6k | 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 | 25.6k | DCHECK(!(c0_const && c1_const)); | 539 | 25.6k | const ColumnString::Chars* c0_const_chars = nullptr; | 540 | 25.6k | const ColumnString::Chars* c1_const_chars = nullptr; | 541 | 25.6k | ColumnString::Offset c0_const_size = 0; | 542 | 25.6k | ColumnString::Offset c1_const_size = 0; | 543 | | | 544 | 25.6k | 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 | 25.6k | if (c1_const) { | 558 | 23.1k | const ColumnString* c1_const_string = | 559 | 23.1k | check_and_get_column<ColumnString>(&c1_const->get_data_column()); | 560 | | | 561 | 23.1k | if (c1_const_string) { | 562 | 23.1k | c1_const_chars = &c1_const_string->get_chars(); | 563 | 23.1k | c1_const_size = c1_const_string->get_offsets()[0]; | 564 | 23.1k | } else { | 565 | 1 | return Status::NotSupported("Illegal columns {}, of argument of function {}", | 566 | 1 | c1->get_name(), name); | 567 | 1 | } | 568 | 23.1k | } | 569 | | | 570 | 25.6k | using StringImpl = StringComparisonImpl<Op<TYPE_INT>>; | 571 | | | 572 | 25.6k | auto c_res = ColumnUInt8::create(); | 573 | 25.6k | ColumnUInt8::Container& vec_res = c_res->get_data(); | 574 | 25.6k | vec_res.resize(c0->size()); | 575 | | | 576 | 25.6k | if (c0_string && c1_string) { | 577 | 2.43k | StringImpl::string_vector_string_vector( | 578 | 2.43k | c0_string->get_chars(), c0_string->get_offsets(), c1_string->get_chars(), | 579 | 2.43k | c1_string->get_offsets(), vec_res); | 580 | 23.1k | } else if (c0_string && c1_const) { | 581 | 23.1k | StringImpl::string_vector_constant(c0_string->get_chars(), c0_string->get_offsets(), | 582 | 23.1k | *c1_const_chars, c1_const_size, vec_res); | 583 | 18.4E | } 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 | 18.4E | } else { | 588 | 18.4E | return Status::NotSupported("Illegal columns {}, {} of argument of function {}", | 589 | 18.4E | c0->get_name(), c1->get_name(), name); | 590 | 18.4E | } | 591 | 25.6k | block.replace_by_position(result, std::move(c_res)); | 592 | 25.6k | return Status::OK(); | 593 | 25.6k | } |
_ZNK5doris18FunctionComparisonINS_11NotEqualsOpENS_13NameNotEqualsEE14execute_stringERNS_5BlockEjPKNS_7IColumnES8_ Line | Count | Source | 529 | 2.56k | const IColumn* c1) const { | 530 | 2.56k | const ColumnString* c0_string = check_and_get_column<ColumnString>(c0); | 531 | 2.56k | const ColumnString* c1_string = check_and_get_column<ColumnString>(c1); | 532 | 2.56k | const ColumnConst* c0_const = check_and_get_column_const_string_or_fixedstring(c0); | 533 | 2.56k | const ColumnConst* c1_const = check_and_get_column_const_string_or_fixedstring(c1); | 534 | 2.56k | 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.56k | DCHECK(!(c0_const && c1_const)); | 539 | 2.56k | const ColumnString::Chars* c0_const_chars = nullptr; | 540 | 2.56k | const ColumnString::Chars* c1_const_chars = nullptr; | 541 | 2.56k | ColumnString::Offset c0_const_size = 0; | 542 | 2.56k | ColumnString::Offset c1_const_size = 0; | 543 | | | 544 | 2.56k | 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.56k | if (c1_const) { | 558 | 2.50k | const ColumnString* c1_const_string = | 559 | 2.50k | check_and_get_column<ColumnString>(&c1_const->get_data_column()); | 560 | | | 561 | 2.50k | if (c1_const_string) { | 562 | 2.50k | c1_const_chars = &c1_const_string->get_chars(); | 563 | 2.50k | c1_const_size = c1_const_string->get_offsets()[0]; | 564 | 2.50k | } else { | 565 | 0 | return Status::NotSupported("Illegal columns {}, of argument of function {}", | 566 | 0 | c1->get_name(), name); | 567 | 0 | } | 568 | 2.50k | } | 569 | | | 570 | 2.56k | using StringImpl = StringComparisonImpl<Op<TYPE_INT>>; | 571 | | | 572 | 2.56k | auto c_res = ColumnUInt8::create(); | 573 | 2.56k | ColumnUInt8::Container& vec_res = c_res->get_data(); | 574 | 2.56k | vec_res.resize(c0->size()); | 575 | | | 576 | 2.56k | if (c0_string && c1_string) { | 577 | 52 | StringImpl::string_vector_string_vector( | 578 | 52 | c0_string->get_chars(), c0_string->get_offsets(), c1_string->get_chars(), | 579 | 52 | c1_string->get_offsets(), vec_res); | 580 | 2.50k | } else if (c0_string && c1_const) { | 581 | 2.50k | StringImpl::string_vector_constant(c0_string->get_chars(), c0_string->get_offsets(), | 582 | 2.50k | *c1_const_chars, c1_const_size, vec_res); | 583 | 2.50k | } 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.56k | block.replace_by_position(result, std::move(c_res)); | 592 | 2.56k | return Status::OK(); | 593 | 2.56k | } |
_ZNK5doris18FunctionComparisonINS_9GreaterOpENS_11NameGreaterEE14execute_stringERNS_5BlockEjPKNS_7IColumnES8_ Line | Count | Source | 529 | 175 | const IColumn* c1) const { | 530 | 175 | const ColumnString* c0_string = check_and_get_column<ColumnString>(c0); | 531 | 175 | const ColumnString* c1_string = check_and_get_column<ColumnString>(c1); | 532 | 175 | const ColumnConst* c0_const = check_and_get_column_const_string_or_fixedstring(c0); | 533 | 175 | const ColumnConst* c1_const = check_and_get_column_const_string_or_fixedstring(c1); | 534 | 175 | 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 | 175 | DCHECK(!(c0_const && c1_const)); | 539 | 175 | const ColumnString::Chars* c0_const_chars = nullptr; | 540 | 175 | const ColumnString::Chars* c1_const_chars = nullptr; | 541 | 175 | ColumnString::Offset c0_const_size = 0; | 542 | 175 | ColumnString::Offset c1_const_size = 0; | 543 | | | 544 | 175 | 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 | 175 | if (c1_const) { | 558 | 173 | const ColumnString* c1_const_string = | 559 | 173 | check_and_get_column<ColumnString>(&c1_const->get_data_column()); | 560 | | | 561 | 173 | if (c1_const_string) { | 562 | 173 | c1_const_chars = &c1_const_string->get_chars(); | 563 | 173 | c1_const_size = c1_const_string->get_offsets()[0]; | 564 | 173 | } else { | 565 | 0 | return Status::NotSupported("Illegal columns {}, of argument of function {}", | 566 | 0 | c1->get_name(), name); | 567 | 0 | } | 568 | 173 | } | 569 | | | 570 | 175 | using StringImpl = StringComparisonImpl<Op<TYPE_INT>>; | 571 | | | 572 | 175 | auto c_res = ColumnUInt8::create(); | 573 | 175 | ColumnUInt8::Container& vec_res = c_res->get_data(); | 574 | 175 | vec_res.resize(c0->size()); | 575 | | | 576 | 175 | 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 | 173 | } else if (c0_string && c1_const) { | 581 | 173 | StringImpl::string_vector_constant(c0_string->get_chars(), c0_string->get_offsets(), | 582 | 173 | *c1_const_chars, c1_const_size, vec_res); | 583 | 173 | } 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 | 175 | block.replace_by_position(result, std::move(c_res)); | 592 | 175 | return Status::OK(); | 593 | 175 | } |
_ZNK5doris18FunctionComparisonINS_17GreaterOrEqualsOpENS_19NameGreaterOrEqualsEE14execute_stringERNS_5BlockEjPKNS_7IColumnES8_ Line | Count | Source | 529 | 676 | const IColumn* c1) const { | 530 | 676 | const ColumnString* c0_string = check_and_get_column<ColumnString>(c0); | 531 | 676 | const ColumnString* c1_string = check_and_get_column<ColumnString>(c1); | 532 | 676 | const ColumnConst* c0_const = check_and_get_column_const_string_or_fixedstring(c0); | 533 | 676 | const ColumnConst* c1_const = check_and_get_column_const_string_or_fixedstring(c1); | 534 | 676 | 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 | 676 | DCHECK(!(c0_const && c1_const)); | 539 | 676 | const ColumnString::Chars* c0_const_chars = nullptr; | 540 | 676 | const ColumnString::Chars* c1_const_chars = nullptr; | 541 | 676 | ColumnString::Offset c0_const_size = 0; | 542 | 676 | ColumnString::Offset c1_const_size = 0; | 543 | | | 544 | 676 | 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 | 676 | if (c1_const) { | 558 | 554 | const ColumnString* c1_const_string = | 559 | 554 | check_and_get_column<ColumnString>(&c1_const->get_data_column()); | 560 | | | 561 | 554 | if (c1_const_string) { | 562 | 554 | c1_const_chars = &c1_const_string->get_chars(); | 563 | 554 | c1_const_size = c1_const_string->get_offsets()[0]; | 564 | 554 | } else { | 565 | 0 | return Status::NotSupported("Illegal columns {}, of argument of function {}", | 566 | 0 | c1->get_name(), name); | 567 | 0 | } | 568 | 554 | } | 569 | | | 570 | 676 | using StringImpl = StringComparisonImpl<Op<TYPE_INT>>; | 571 | | | 572 | 676 | auto c_res = ColumnUInt8::create(); | 573 | 676 | ColumnUInt8::Container& vec_res = c_res->get_data(); | 574 | 676 | vec_res.resize(c0->size()); | 575 | | | 576 | 676 | if (c0_string && c1_string) { | 577 | 122 | StringImpl::string_vector_string_vector( | 578 | 122 | c0_string->get_chars(), c0_string->get_offsets(), c1_string->get_chars(), | 579 | 122 | c1_string->get_offsets(), vec_res); | 580 | 554 | } else if (c0_string && c1_const) { | 581 | 554 | StringImpl::string_vector_constant(c0_string->get_chars(), c0_string->get_offsets(), | 582 | 554 | *c1_const_chars, c1_const_size, vec_res); | 583 | 554 | } 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 | 676 | block.replace_by_position(result, std::move(c_res)); | 592 | 676 | return Status::OK(); | 593 | 676 | } |
_ZNK5doris18FunctionComparisonINS_6LessOpENS_8NameLessEE14execute_stringERNS_5BlockEjPKNS_7IColumnES8_ Line | Count | Source | 529 | 668 | const IColumn* c1) const { | 530 | 668 | const ColumnString* c0_string = check_and_get_column<ColumnString>(c0); | 531 | 668 | const ColumnString* c1_string = check_and_get_column<ColumnString>(c1); | 532 | 668 | const ColumnConst* c0_const = check_and_get_column_const_string_or_fixedstring(c0); | 533 | 668 | const ColumnConst* c1_const = check_and_get_column_const_string_or_fixedstring(c1); | 534 | 668 | 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 | 668 | DCHECK(!(c0_const && c1_const)); | 539 | 668 | const ColumnString::Chars* c0_const_chars = nullptr; | 540 | 668 | const ColumnString::Chars* c1_const_chars = nullptr; | 541 | 668 | ColumnString::Offset c0_const_size = 0; | 542 | 668 | ColumnString::Offset c1_const_size = 0; | 543 | | | 544 | 668 | 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 | 668 | if (c1_const) { | 558 | 243 | const ColumnString* c1_const_string = | 559 | 243 | check_and_get_column<ColumnString>(&c1_const->get_data_column()); | 560 | | | 561 | 243 | if (c1_const_string) { | 562 | 243 | c1_const_chars = &c1_const_string->get_chars(); | 563 | 243 | c1_const_size = c1_const_string->get_offsets()[0]; | 564 | 243 | } else { | 565 | 0 | return Status::NotSupported("Illegal columns {}, of argument of function {}", | 566 | 0 | c1->get_name(), name); | 567 | 0 | } | 568 | 243 | } | 569 | | | 570 | 668 | using StringImpl = StringComparisonImpl<Op<TYPE_INT>>; | 571 | | | 572 | 668 | auto c_res = ColumnUInt8::create(); | 573 | 668 | ColumnUInt8::Container& vec_res = c_res->get_data(); | 574 | 668 | vec_res.resize(c0->size()); | 575 | | | 576 | 668 | if (c0_string && c1_string) { | 577 | 419 | StringImpl::string_vector_string_vector( | 578 | 419 | c0_string->get_chars(), c0_string->get_offsets(), c1_string->get_chars(), | 579 | 419 | c1_string->get_offsets(), vec_res); | 580 | 419 | } else if (c0_string && c1_const) { | 581 | 243 | StringImpl::string_vector_constant(c0_string->get_chars(), c0_string->get_offsets(), | 582 | 243 | *c1_const_chars, c1_const_size, vec_res); | 583 | 243 | } 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 | 668 | block.replace_by_position(result, std::move(c_res)); | 592 | 668 | return Status::OK(); | 593 | 668 | } |
_ZNK5doris18FunctionComparisonINS_14LessOrEqualsOpENS_16NameLessOrEqualsEE14execute_stringERNS_5BlockEjPKNS_7IColumnES8_ Line | Count | Source | 529 | 972 | const IColumn* c1) const { | 530 | 972 | const ColumnString* c0_string = check_and_get_column<ColumnString>(c0); | 531 | 972 | const ColumnString* c1_string = check_and_get_column<ColumnString>(c1); | 532 | 972 | const ColumnConst* c0_const = check_and_get_column_const_string_or_fixedstring(c0); | 533 | 972 | const ColumnConst* c1_const = check_and_get_column_const_string_or_fixedstring(c1); | 534 | 972 | 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 | 972 | DCHECK(!(c0_const && c1_const)); | 539 | 972 | const ColumnString::Chars* c0_const_chars = nullptr; | 540 | 972 | const ColumnString::Chars* c1_const_chars = nullptr; | 541 | 972 | ColumnString::Offset c0_const_size = 0; | 542 | 972 | ColumnString::Offset c1_const_size = 0; | 543 | | | 544 | 972 | 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 | 972 | if (c1_const) { | 558 | 774 | const ColumnString* c1_const_string = | 559 | 774 | check_and_get_column<ColumnString>(&c1_const->get_data_column()); | 560 | | | 561 | 774 | if (c1_const_string) { | 562 | 774 | c1_const_chars = &c1_const_string->get_chars(); | 563 | 774 | c1_const_size = c1_const_string->get_offsets()[0]; | 564 | 774 | } else { | 565 | 0 | return Status::NotSupported("Illegal columns {}, of argument of function {}", | 566 | 0 | c1->get_name(), name); | 567 | 0 | } | 568 | 774 | } | 569 | | | 570 | 972 | using StringImpl = StringComparisonImpl<Op<TYPE_INT>>; | 571 | | | 572 | 972 | auto c_res = ColumnUInt8::create(); | 573 | 972 | ColumnUInt8::Container& vec_res = c_res->get_data(); | 574 | 972 | vec_res.resize(c0->size()); | 575 | | | 576 | 972 | if (c0_string && c1_string) { | 577 | 198 | StringImpl::string_vector_string_vector( | 578 | 198 | c0_string->get_chars(), c0_string->get_offsets(), c1_string->get_chars(), | 579 | 198 | c1_string->get_offsets(), vec_res); | 580 | 774 | } else if (c0_string && c1_const) { | 581 | 774 | StringImpl::string_vector_constant(c0_string->get_chars(), c0_string->get_offsets(), | 582 | 774 | *c1_const_chars, c1_const_size, vec_res); | 583 | 774 | } 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 | 972 | block.replace_by_position(result, std::move(c_res)); | 592 | 972 | return Status::OK(); | 593 | 972 | } |
|
594 | | |
595 | | void execute_generic_identical_types(Block& block, uint32_t result, const IColumn* c0, |
596 | 124 | const IColumn* c1) const { |
597 | 124 | bool c0_const = is_column_const(*c0); |
598 | 124 | bool c1_const = is_column_const(*c1); |
599 | | |
600 | 124 | DCHECK(!(c0_const && c1_const)); |
601 | | |
602 | 124 | auto c_res = ColumnUInt8::create(); |
603 | 124 | ColumnUInt8::Container& vec_res = c_res->get_data(); |
604 | 124 | vec_res.resize(c0->size()); |
605 | | |
606 | 124 | if (c0_const) { |
607 | 0 | GenericComparisonImpl<Op<TYPE_INT>>::constant_vector(*c0, *c1, vec_res); |
608 | 124 | } else if (c1_const) { |
609 | 115 | GenericComparisonImpl<Op<TYPE_INT>>::vector_constant(*c0, *c1, vec_res); |
610 | 115 | } else { |
611 | 9 | GenericComparisonImpl<Op<TYPE_INT>>::vector_vector(*c0, *c1, vec_res); |
612 | 9 | } |
613 | | |
614 | 124 | block.replace_by_position(result, std::move(c_res)); |
615 | 124 | } _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 | 49 | const IColumn* c1) const { | 597 | 49 | bool c0_const = is_column_const(*c0); | 598 | 49 | bool c1_const = is_column_const(*c1); | 599 | | | 600 | 49 | DCHECK(!(c0_const && c1_const)); | 601 | | | 602 | 49 | auto c_res = ColumnUInt8::create(); | 603 | 49 | ColumnUInt8::Container& vec_res = c_res->get_data(); | 604 | 49 | vec_res.resize(c0->size()); | 605 | | | 606 | 49 | if (c0_const) { | 607 | 0 | GenericComparisonImpl<Op<TYPE_INT>>::constant_vector(*c0, *c1, vec_res); | 608 | 49 | } else if (c1_const) { | 609 | 48 | GenericComparisonImpl<Op<TYPE_INT>>::vector_constant(*c0, *c1, vec_res); | 610 | 48 | } else { | 611 | 1 | GenericComparisonImpl<Op<TYPE_INT>>::vector_vector(*c0, *c1, vec_res); | 612 | 1 | } | 613 | | | 614 | 49 | block.replace_by_position(result, std::move(c_res)); | 615 | 49 | } |
_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 | 30 | const IColumn* c1) const { | 597 | 30 | bool c0_const = is_column_const(*c0); | 598 | 30 | bool c1_const = is_column_const(*c1); | 599 | | | 600 | 30 | DCHECK(!(c0_const && c1_const)); | 601 | | | 602 | 30 | auto c_res = ColumnUInt8::create(); | 603 | 30 | ColumnUInt8::Container& vec_res = c_res->get_data(); | 604 | 30 | vec_res.resize(c0->size()); | 605 | | | 606 | 30 | if (c0_const) { | 607 | 0 | GenericComparisonImpl<Op<TYPE_INT>>::constant_vector(*c0, *c1, vec_res); | 608 | 30 | } else if (c1_const) { | 609 | 30 | GenericComparisonImpl<Op<TYPE_INT>>::vector_constant(*c0, *c1, vec_res); | 610 | 30 | } else { | 611 | 0 | GenericComparisonImpl<Op<TYPE_INT>>::vector_vector(*c0, *c1, vec_res); | 612 | 0 | } | 613 | | | 614 | 30 | block.replace_by_position(result, std::move(c_res)); | 615 | 30 | } |
|
616 | | |
617 | | Status execute_generic(Block& block, uint32_t result, const ColumnWithTypeAndName& c0, |
618 | 124 | const ColumnWithTypeAndName& c1) const { |
619 | 124 | execute_generic_identical_types(block, result, c0.column.get(), c1.column.get()); |
620 | 124 | return Status::OK(); |
621 | 124 | } _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 | 49 | const ColumnWithTypeAndName& c1) const { | 619 | 49 | execute_generic_identical_types(block, result, c0.column.get(), c1.column.get()); | 620 | 49 | return Status::OK(); | 621 | 49 | } |
_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 | 30 | const ColumnWithTypeAndName& c1) const { | 619 | 30 | execute_generic_identical_types(block, result, c0.column.get(), c1.column.get()); | 620 | 30 | return Status::OK(); | 621 | 30 | } |
|
622 | | |
623 | | public: |
624 | 220 | String get_name() const override { return name; }_ZNK5doris18FunctionComparisonINS_8EqualsOpENS_10NameEqualsEE8get_nameB5cxx11Ev Line | Count | Source | 624 | 62 | 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 | 571k | size_t get_number_of_arguments() const override { return 2; }_ZNK5doris18FunctionComparisonINS_8EqualsOpENS_10NameEqualsEE23get_number_of_argumentsEv Line | Count | Source | 626 | 480k | 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 | 14.8k | 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.4k | size_t get_number_of_arguments() const override { return 2; } |
|
627 | | |
628 | | ZoneMapFilterResult evaluate_zonemap_filter(const ZoneMapEvalContext& ctx, |
629 | 35.5k | const VExprSPtrs& arguments) const override { |
630 | 35.5k | auto op = comparison_zonemap_detail::op_from_name(name); |
631 | 35.5k | DORIS_CHECK(op.has_value()); |
632 | 35.5k | return comparison_zonemap_detail::evaluate(ctx, arguments, *op); |
633 | 35.5k | } _ZNK5doris18FunctionComparisonINS_8EqualsOpENS_10NameEqualsEE23evaluate_zonemap_filterERKNS_18ZoneMapEvalContextERKSt6vectorISt10shared_ptrINS_5VExprEESaISA_EE Line | Count | Source | 629 | 9.55k | const VExprSPtrs& arguments) const override { | 630 | 9.55k | auto op = comparison_zonemap_detail::op_from_name(name); | 631 | 9.55k | DORIS_CHECK(op.has_value()); | 632 | 9.55k | return comparison_zonemap_detail::evaluate(ctx, arguments, *op); | 633 | 9.55k | } |
_ZNK5doris18FunctionComparisonINS_11NotEqualsOpENS_13NameNotEqualsEE23evaluate_zonemap_filterERKNS_18ZoneMapEvalContextERKSt6vectorISt10shared_ptrINS_5VExprEESaISA_EE Line | Count | Source | 629 | 1.16k | const VExprSPtrs& arguments) const override { | 630 | 1.16k | auto op = comparison_zonemap_detail::op_from_name(name); | 631 | 1.16k | DORIS_CHECK(op.has_value()); | 632 | 1.16k | return comparison_zonemap_detail::evaluate(ctx, arguments, *op); | 633 | 1.16k | } |
_ZNK5doris18FunctionComparisonINS_9GreaterOpENS_11NameGreaterEE23evaluate_zonemap_filterERKNS_18ZoneMapEvalContextERKSt6vectorISt10shared_ptrINS_5VExprEESaISA_EE Line | Count | Source | 629 | 5.12k | const VExprSPtrs& arguments) const override { | 630 | 5.12k | auto op = comparison_zonemap_detail::op_from_name(name); | 631 | 5.12k | DORIS_CHECK(op.has_value()); | 632 | 5.12k | return comparison_zonemap_detail::evaluate(ctx, arguments, *op); | 633 | 5.12k | } |
_ZNK5doris18FunctionComparisonINS_17GreaterOrEqualsOpENS_19NameGreaterOrEqualsEE23evaluate_zonemap_filterERKNS_18ZoneMapEvalContextERKSt6vectorISt10shared_ptrINS_5VExprEESaISA_EE Line | Count | Source | 629 | 6.97k | const VExprSPtrs& arguments) const override { | 630 | 6.97k | auto op = comparison_zonemap_detail::op_from_name(name); | 631 | 6.97k | DORIS_CHECK(op.has_value()); | 632 | 6.97k | return comparison_zonemap_detail::evaluate(ctx, arguments, *op); | 633 | 6.97k | } |
_ZNK5doris18FunctionComparisonINS_6LessOpENS_8NameLessEE23evaluate_zonemap_filterERKNS_18ZoneMapEvalContextERKSt6vectorISt10shared_ptrINS_5VExprEESaISA_EE Line | Count | Source | 629 | 3.12k | const VExprSPtrs& arguments) const override { | 630 | 3.12k | auto op = comparison_zonemap_detail::op_from_name(name); | 631 | 3.12k | DORIS_CHECK(op.has_value()); | 632 | 3.12k | return comparison_zonemap_detail::evaluate(ctx, arguments, *op); | 633 | 3.12k | } |
_ZNK5doris18FunctionComparisonINS_14LessOrEqualsOpENS_16NameLessOrEqualsEE23evaluate_zonemap_filterERKNS_18ZoneMapEvalContextERKSt6vectorISt10shared_ptrINS_5VExprEESaISA_EE Line | Count | Source | 629 | 9.63k | const VExprSPtrs& arguments) const override { | 630 | 9.63k | auto op = comparison_zonemap_detail::op_from_name(name); | 631 | 9.63k | DORIS_CHECK(op.has_value()); | 632 | 9.63k | return comparison_zonemap_detail::evaluate(ctx, arguments, *op); | 633 | 9.63k | } |
|
634 | | |
635 | 114k | bool can_evaluate_zonemap_filter(const VExprSPtrs& arguments) const override { |
636 | 114k | return comparison_zonemap_detail::op_from_name(name).has_value() && |
637 | 114k | comparison_zonemap_detail::can_evaluate(arguments); |
638 | 114k | } _ZNK5doris18FunctionComparisonINS_8EqualsOpENS_10NameEqualsEE27can_evaluate_zonemap_filterERKSt6vectorISt10shared_ptrINS_5VExprEESaIS7_EE Line | Count | Source | 635 | 46.0k | bool can_evaluate_zonemap_filter(const VExprSPtrs& arguments) const override { | 636 | 46.0k | return comparison_zonemap_detail::op_from_name(name).has_value() && | 637 | 46.0k | comparison_zonemap_detail::can_evaluate(arguments); | 638 | 46.0k | } |
_ZNK5doris18FunctionComparisonINS_11NotEqualsOpENS_13NameNotEqualsEE27can_evaluate_zonemap_filterERKSt6vectorISt10shared_ptrINS_5VExprEESaIS7_EE Line | Count | Source | 635 | 4.69k | bool can_evaluate_zonemap_filter(const VExprSPtrs& arguments) const override { | 636 | 4.69k | return comparison_zonemap_detail::op_from_name(name).has_value() && | 637 | 4.69k | comparison_zonemap_detail::can_evaluate(arguments); | 638 | 4.69k | } |
_ZNK5doris18FunctionComparisonINS_9GreaterOpENS_11NameGreaterEE27can_evaluate_zonemap_filterERKSt6vectorISt10shared_ptrINS_5VExprEESaIS7_EE Line | Count | Source | 635 | 17.6k | bool can_evaluate_zonemap_filter(const VExprSPtrs& arguments) const override { | 636 | 17.6k | return comparison_zonemap_detail::op_from_name(name).has_value() && | 637 | 17.6k | comparison_zonemap_detail::can_evaluate(arguments); | 638 | 17.6k | } |
_ZNK5doris18FunctionComparisonINS_17GreaterOrEqualsOpENS_19NameGreaterOrEqualsEE27can_evaluate_zonemap_filterERKSt6vectorISt10shared_ptrINS_5VExprEESaIS7_EE Line | Count | Source | 635 | 17.2k | bool can_evaluate_zonemap_filter(const VExprSPtrs& arguments) const override { | 636 | 17.2k | return comparison_zonemap_detail::op_from_name(name).has_value() && | 637 | 17.2k | comparison_zonemap_detail::can_evaluate(arguments); | 638 | 17.2k | } |
_ZNK5doris18FunctionComparisonINS_6LessOpENS_8NameLessEE27can_evaluate_zonemap_filterERKSt6vectorISt10shared_ptrINS_5VExprEESaIS7_EE Line | Count | Source | 635 | 9.01k | bool can_evaluate_zonemap_filter(const VExprSPtrs& arguments) const override { | 636 | 9.01k | return comparison_zonemap_detail::op_from_name(name).has_value() && | 637 | 9.01k | comparison_zonemap_detail::can_evaluate(arguments); | 638 | 9.01k | } |
_ZNK5doris18FunctionComparisonINS_14LessOrEqualsOpENS_16NameLessOrEqualsEE27can_evaluate_zonemap_filterERKSt6vectorISt10shared_ptrINS_5VExprEESaIS7_EE Line | Count | Source | 635 | 20.1k | bool can_evaluate_zonemap_filter(const VExprSPtrs& arguments) const override { | 636 | 20.1k | return comparison_zonemap_detail::op_from_name(name).has_value() && | 637 | 20.1k | comparison_zonemap_detail::can_evaluate(arguments); | 638 | 20.1k | } |
|
639 | | |
640 | | ZoneMapFilterResult evaluate_dictionary_filter(const DictionaryEvalContext& ctx, |
641 | 157k | const VExprSPtrs& arguments) const override { |
642 | 157k | auto op = comparison_zonemap_detail::op_from_name(name); |
643 | 157k | DORIS_CHECK(op.has_value()); |
644 | 157k | return comparison_zonemap_detail::evaluate_dictionary(ctx, arguments, *op); |
645 | 157k | } _ZNK5doris18FunctionComparisonINS_8EqualsOpENS_10NameEqualsEE26evaluate_dictionary_filterERKNS_12expr_zonemap21DictionaryEvalContextERKSt6vectorISt10shared_ptrINS_5VExprEESaISB_EE Line | Count | Source | 641 | 1.09k | const VExprSPtrs& arguments) const override { | 642 | 1.09k | auto op = comparison_zonemap_detail::op_from_name(name); | 643 | 1.09k | DORIS_CHECK(op.has_value()); | 644 | 1.09k | return comparison_zonemap_detail::evaluate_dictionary(ctx, arguments, *op); | 645 | 1.09k | } |
_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 | 6.00k | const VExprSPtrs& arguments) const override { | 642 | 6.00k | auto op = comparison_zonemap_detail::op_from_name(name); | 643 | 6.00k | DORIS_CHECK(op.has_value()); | 644 | 6.00k | return comparison_zonemap_detail::evaluate_dictionary(ctx, arguments, *op); | 645 | 6.00k | } |
_ZNK5doris18FunctionComparisonINS_17GreaterOrEqualsOpENS_19NameGreaterOrEqualsEE26evaluate_dictionary_filterERKNS_12expr_zonemap21DictionaryEvalContextERKSt6vectorISt10shared_ptrINS_5VExprEESaISB_EE Line | Count | Source | 641 | 142 | const VExprSPtrs& arguments) const override { | 642 | 142 | auto op = comparison_zonemap_detail::op_from_name(name); | 643 | 142 | DORIS_CHECK(op.has_value()); | 644 | 142 | return comparison_zonemap_detail::evaluate_dictionary(ctx, arguments, *op); | 645 | 142 | } |
_ZNK5doris18FunctionComparisonINS_6LessOpENS_8NameLessEE26evaluate_dictionary_filterERKNS_12expr_zonemap21DictionaryEvalContextERKSt6vectorISt10shared_ptrINS_5VExprEESaISB_EE Line | Count | Source | 641 | 118 | const VExprSPtrs& arguments) const override { | 642 | 118 | auto op = comparison_zonemap_detail::op_from_name(name); | 643 | 118 | DORIS_CHECK(op.has_value()); | 644 | 118 | return comparison_zonemap_detail::evaluate_dictionary(ctx, arguments, *op); | 645 | 118 | } |
_ZNK5doris18FunctionComparisonINS_14LessOrEqualsOpENS_16NameLessOrEqualsEE26evaluate_dictionary_filterERKNS_12expr_zonemap21DictionaryEvalContextERKSt6vectorISt10shared_ptrINS_5VExprEESaISB_EE Line | Count | Source | 641 | 149k | const VExprSPtrs& arguments) const override { | 642 | 149k | auto op = comparison_zonemap_detail::op_from_name(name); | 643 | 149k | DORIS_CHECK(op.has_value()); | 644 | 149k | return comparison_zonemap_detail::evaluate_dictionary(ctx, arguments, *op); | 645 | 149k | } |
|
646 | | |
647 | 173k | bool can_evaluate_dictionary_filter(const VExprSPtrs& arguments) const override { |
648 | 173k | auto op = comparison_zonemap_detail::op_from_name(name); |
649 | 174k | return op.has_value() && comparison_zonemap_detail::can_evaluate(arguments); |
650 | 173k | } _ZNK5doris18FunctionComparisonINS_8EqualsOpENS_10NameEqualsEE30can_evaluate_dictionary_filterERKSt6vectorISt10shared_ptrINS_5VExprEESaIS7_EE Line | Count | Source | 647 | 8.68k | bool can_evaluate_dictionary_filter(const VExprSPtrs& arguments) const override { | 648 | 8.68k | auto op = comparison_zonemap_detail::op_from_name(name); | 649 | 8.68k | return op.has_value() && comparison_zonemap_detail::can_evaluate(arguments); | 650 | 8.68k | } |
_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 | 9.19k | bool can_evaluate_dictionary_filter(const VExprSPtrs& arguments) const override { | 648 | 9.19k | auto op = comparison_zonemap_detail::op_from_name(name); | 649 | 9.19k | return op.has_value() && comparison_zonemap_detail::can_evaluate(arguments); | 650 | 9.19k | } |
_ZNK5doris18FunctionComparisonINS_17GreaterOrEqualsOpENS_19NameGreaterOrEqualsEE30can_evaluate_dictionary_filterERKSt6vectorISt10shared_ptrINS_5VExprEESaIS7_EE Line | Count | Source | 647 | 2.21k | bool can_evaluate_dictionary_filter(const VExprSPtrs& arguments) const override { | 648 | 2.21k | auto op = comparison_zonemap_detail::op_from_name(name); | 649 | 2.21k | return op.has_value() && comparison_zonemap_detail::can_evaluate(arguments); | 650 | 2.21k | } |
_ZNK5doris18FunctionComparisonINS_6LessOpENS_8NameLessEE30can_evaluate_dictionary_filterERKSt6vectorISt10shared_ptrINS_5VExprEESaIS7_EE Line | Count | Source | 647 | 1.29k | bool can_evaluate_dictionary_filter(const VExprSPtrs& arguments) const override { | 648 | 1.29k | auto op = comparison_zonemap_detail::op_from_name(name); | 649 | 1.29k | return op.has_value() && comparison_zonemap_detail::can_evaluate(arguments); | 650 | 1.29k | } |
_ZNK5doris18FunctionComparisonINS_14LessOrEqualsOpENS_16NameLessOrEqualsEE30can_evaluate_dictionary_filterERKSt6vectorISt10shared_ptrINS_5VExprEESaIS7_EE Line | Count | Source | 647 | 151k | bool can_evaluate_dictionary_filter(const VExprSPtrs& arguments) const override { | 648 | 151k | auto op = comparison_zonemap_detail::op_from_name(name); | 649 | 151k | return op.has_value() && comparison_zonemap_detail::can_evaluate(arguments); | 650 | 151k | } |
|
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.60k | bool can_evaluate_bloom_filter(const VExprSPtrs& arguments) const override { |
660 | 8.60k | auto op = comparison_zonemap_detail::op_from_name(name); |
661 | 8.60k | return op.has_value() && comparison_zonemap_detail::can_evaluate_equality(arguments, *op); |
662 | 8.60k | } _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.72k | 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 | 524 | bool can_evaluate_bloom_filter(const VExprSPtrs& arguments) const override { | 660 | 524 | auto op = comparison_zonemap_detail::op_from_name(name); | 661 | 524 | return op.has_value() && comparison_zonemap_detail::can_evaluate_equality(arguments, *op); | 662 | 524 | } |
_ZNK5doris18FunctionComparisonINS_6LessOpENS_8NameLessEE25can_evaluate_bloom_filterERKSt6vectorISt10shared_ptrINS_5VExprEESaIS7_EE Line | Count | Source | 659 | 540 | bool can_evaluate_bloom_filter(const VExprSPtrs& arguments) const override { | 660 | 540 | auto op = comparison_zonemap_detail::op_from_name(name); | 661 | 540 | return op.has_value() && comparison_zonemap_detail::can_evaluate_equality(arguments, *op); | 662 | 540 | } |
_ZNK5doris18FunctionComparisonINS_14LessOrEqualsOpENS_16NameLessOrEqualsEE25can_evaluate_bloom_filterERKSt6vectorISt10shared_ptrINS_5VExprEESaIS7_EE Line | Count | Source | 659 | 248 | bool can_evaluate_bloom_filter(const VExprSPtrs& arguments) const override { | 660 | 248 | auto op = comparison_zonemap_detail::op_from_name(name); | 661 | 248 | return op.has_value() && comparison_zonemap_detail::can_evaluate_equality(arguments, *op); | 662 | 248 | } |
|
663 | | |
664 | | /// Get result types by argument types. If the function does not apply to these arguments, throw an exception. |
665 | 571k | DataTypePtr get_return_type_impl(const DataTypes& arguments) const override { |
666 | 571k | return std::make_shared<DataTypeUInt8>(); |
667 | 571k | } _ZNK5doris18FunctionComparisonINS_8EqualsOpENS_10NameEqualsEE20get_return_type_implERKSt6vectorISt10shared_ptrIKNS_9IDataTypeEESaIS8_EE Line | Count | Source | 665 | 480k | DataTypePtr get_return_type_impl(const DataTypes& arguments) const override { | 666 | 480k | return std::make_shared<DataTypeUInt8>(); | 667 | 480k | } |
_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.1k | DataTypePtr get_return_type_impl(const DataTypes& arguments) const override { | 666 | 43.1k | return std::make_shared<DataTypeUInt8>(); | 667 | 43.1k | } |
_ZNK5doris18FunctionComparisonINS_17GreaterOrEqualsOpENS_19NameGreaterOrEqualsEE20get_return_type_implERKSt6vectorISt10shared_ptrIKNS_9IDataTypeEESaIS8_EE Line | Count | Source | 665 | 14.8k | DataTypePtr get_return_type_impl(const DataTypes& arguments) const override { | 666 | 14.8k | return std::make_shared<DataTypeUInt8>(); | 667 | 14.8k | } |
_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.5k | DataTypePtr get_return_type_impl(const DataTypes& arguments) const override { | 666 | 25.5k | return std::make_shared<DataTypeUInt8>(); | 667 | 25.5k | } |
|
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.33k | segment_v2::InvertedIndexResultBitmap& bitmap_result) const override { |
675 | 1.33k | DCHECK(arguments.size() == 1); |
676 | 1.33k | DCHECK(data_type_with_names.size() == 1); |
677 | 1.33k | DCHECK(iterators.size() == 1); |
678 | 1.33k | auto* iter = iterators[0]; |
679 | 1.33k | auto data_type_with_name = data_type_with_names[0]; |
680 | 1.33k | if (iter == nullptr) { |
681 | 0 | return Status::OK(); |
682 | 0 | } |
683 | 1.33k | if (!segment_v2::IndexReaderHelper::has_string_or_bkd_index(iter)) { |
684 | 304 | return Status::OK(); |
685 | 304 | } |
686 | 1.03k | segment_v2::InvertedIndexQueryType query_type; |
687 | 1.03k | std::string_view name_view(name); |
688 | 1.03k | if (name_view == NameEquals::name || name_view == NameNotEquals::name) { |
689 | 712 | query_type = segment_v2::InvertedIndexQueryType::EQUAL_QUERY; |
690 | 712 | } else if (name_view == NameLess::name) { |
691 | 76 | query_type = segment_v2::InvertedIndexQueryType::LESS_THAN_QUERY; |
692 | 246 | } else if (name_view == NameLessOrEquals::name) { |
693 | 81 | query_type = segment_v2::InvertedIndexQueryType::LESS_EQUAL_QUERY; |
694 | 165 | } else if (name_view == NameGreater::name) { |
695 | 72 | query_type = segment_v2::InvertedIndexQueryType::GREATER_THAN_QUERY; |
696 | 93 | } else if (name_view == NameGreaterOrEquals::name) { |
697 | 93 | query_type = segment_v2::InvertedIndexQueryType::GREATER_EQUAL_QUERY; |
698 | 93 | } else { |
699 | 0 | return Status::InvalidArgument("invalid comparison op type {}", Name::name); |
700 | 0 | } |
701 | | |
702 | 1.03k | if (segment_v2::is_range_query(query_type) && |
703 | 1.03k | 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 | 901 | Field param_value; |
708 | 901 | arguments[0].column->get(0, param_value); |
709 | 901 | if (param_value.is_null()) { |
710 | 2 | return Status::OK(); |
711 | 2 | } |
712 | 899 | segment_v2::InvertedIndexParam param; |
713 | 899 | param.column_name = data_type_with_name.first; |
714 | 899 | param.column_type = data_type_with_name.second; |
715 | 899 | param.query_value = param_value; |
716 | 899 | param.query_type = query_type; |
717 | 899 | param.num_rows = num_rows; |
718 | 899 | param.roaring = std::make_shared<roaring::Roaring>(); |
719 | 899 | param.analyzer_ctx = analyzer_ctx; |
720 | 899 | RETURN_IF_ERROR(iter->read_from_index(segment_v2::IndexParam {¶m})); |
721 | 750 | std::shared_ptr<roaring::Roaring> null_bitmap = std::make_shared<roaring::Roaring>(); |
722 | 750 | if (iter->has_null()) { |
723 | 750 | segment_v2::InvertedIndexQueryCacheHandle null_bitmap_cache_handle; |
724 | 750 | RETURN_IF_ERROR(iter->read_null_bitmap(&null_bitmap_cache_handle)); |
725 | 750 | null_bitmap = null_bitmap_cache_handle.get_bitmap(); |
726 | 750 | } |
727 | 750 | segment_v2::InvertedIndexResultBitmap result(param.roaring, null_bitmap); |
728 | 750 | bitmap_result = result; |
729 | 750 | bitmap_result.mask_out_null(); |
730 | | |
731 | 750 | if (name_view == NameNotEquals::name) { |
732 | 58 | roaring::Roaring full_result; |
733 | 58 | full_result.addRange(0, num_rows); |
734 | 58 | bitmap_result.op_not(&full_result); |
735 | 58 | } |
736 | | |
737 | 750 | return Status::OK(); |
738 | 750 | } _ZNK5doris18FunctionComparisonINS_8EqualsOpENS_10NameEqualsEE23evaluate_inverted_indexERKSt6vectorINS_21ColumnWithTypeAndNameESaIS5_EERKS4_ISt4pairINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt10shared_ptrIKNS_9IDataTypeEEESaISL_EES4_IPNS_10segment_v213IndexIteratorESaISS_EEjPKNS_24InvertedIndexAnalyzerCtxERNSQ_25InvertedIndexResultBitmapE Line | Count | Source | 674 | 682 | segment_v2::InvertedIndexResultBitmap& bitmap_result) const override { | 675 | 682 | DCHECK(arguments.size() == 1); | 676 | 682 | DCHECK(data_type_with_names.size() == 1); | 677 | 682 | DCHECK(iterators.size() == 1); | 678 | 682 | auto* iter = iterators[0]; | 679 | 682 | auto data_type_with_name = data_type_with_names[0]; | 680 | 682 | if (iter == nullptr) { | 681 | 0 | return Status::OK(); | 682 | 0 | } | 683 | 682 | if (!segment_v2::IndexReaderHelper::has_string_or_bkd_index(iter)) { | 684 | 36 | return Status::OK(); | 685 | 36 | } | 686 | 646 | segment_v2::InvertedIndexQueryType query_type; | 687 | 646 | std::string_view name_view(name); | 688 | 646 | if (name_view == NameEquals::name || name_view == NameNotEquals::name) { | 689 | 646 | query_type = segment_v2::InvertedIndexQueryType::EQUAL_QUERY; | 690 | 646 | } 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 | 646 | if (segment_v2::is_range_query(query_type) && | 703 | 646 | 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 | 646 | Field param_value; | 708 | 646 | arguments[0].column->get(0, param_value); | 709 | 646 | if (param_value.is_null()) { | 710 | 2 | return Status::OK(); | 711 | 2 | } | 712 | 644 | segment_v2::InvertedIndexParam param; | 713 | 644 | param.column_name = data_type_with_name.first; | 714 | 644 | param.column_type = data_type_with_name.second; | 715 | 644 | param.query_value = param_value; | 716 | 644 | param.query_type = query_type; | 717 | 644 | param.num_rows = num_rows; | 718 | 644 | param.roaring = std::make_shared<roaring::Roaring>(); | 719 | 644 | param.analyzer_ctx = analyzer_ctx; | 720 | 644 | RETURN_IF_ERROR(iter->read_from_index(segment_v2::IndexParam {¶m})); | 721 | 601 | std::shared_ptr<roaring::Roaring> null_bitmap = std::make_shared<roaring::Roaring>(); | 722 | 601 | if (iter->has_null()) { | 723 | 601 | segment_v2::InvertedIndexQueryCacheHandle null_bitmap_cache_handle; | 724 | 601 | RETURN_IF_ERROR(iter->read_null_bitmap(&null_bitmap_cache_handle)); | 725 | 601 | null_bitmap = null_bitmap_cache_handle.get_bitmap(); | 726 | 601 | } | 727 | 601 | segment_v2::InvertedIndexResultBitmap result(param.roaring, null_bitmap); | 728 | 601 | bitmap_result = result; | 729 | 601 | bitmap_result.mask_out_null(); | 730 | | | 731 | 601 | 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 | 601 | return Status::OK(); | 738 | 601 | } |
_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 | 58 | roaring::Roaring full_result; | 733 | 58 | full_result.addRange(0, num_rows); | 734 | 58 | bitmap_result.op_not(&full_result); | 735 | 58 | } | 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 | 111 | segment_v2::InvertedIndexResultBitmap& bitmap_result) const override { | 675 | 111 | DCHECK(arguments.size() == 1); | 676 | 111 | DCHECK(data_type_with_names.size() == 1); | 677 | 111 | DCHECK(iterators.size() == 1); | 678 | 111 | auto* iter = iterators[0]; | 679 | 111 | auto data_type_with_name = data_type_with_names[0]; | 680 | 111 | if (iter == nullptr) { | 681 | 0 | return Status::OK(); | 682 | 0 | } | 683 | 111 | if (!segment_v2::IndexReaderHelper::has_string_or_bkd_index(iter)) { | 684 | 39 | return Status::OK(); | 685 | 39 | } | 686 | 72 | segment_v2::InvertedIndexQueryType query_type; | 687 | 72 | std::string_view name_view(name); | 688 | 72 | if (name_view == NameEquals::name || name_view == NameNotEquals::name) { | 689 | 0 | query_type = segment_v2::InvertedIndexQueryType::EQUAL_QUERY; | 690 | 72 | } else if (name_view == NameLess::name) { | 691 | 0 | query_type = segment_v2::InvertedIndexQueryType::LESS_THAN_QUERY; | 692 | 72 | } else if (name_view == NameLessOrEquals::name) { | 693 | 0 | query_type = segment_v2::InvertedIndexQueryType::LESS_EQUAL_QUERY; | 694 | 72 | } else if (name_view == NameGreater::name) { | 695 | 72 | query_type = segment_v2::InvertedIndexQueryType::GREATER_THAN_QUERY; | 696 | 72 | } 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 | 72 | if (segment_v2::is_range_query(query_type) && | 703 | 72 | 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 | 55 | Field param_value; | 708 | 55 | arguments[0].column->get(0, param_value); | 709 | 55 | if (param_value.is_null()) { | 710 | 0 | return Status::OK(); | 711 | 0 | } | 712 | 55 | segment_v2::InvertedIndexParam param; | 713 | 55 | param.column_name = data_type_with_name.first; | 714 | 55 | param.column_type = data_type_with_name.second; | 715 | 55 | param.query_value = param_value; | 716 | 55 | param.query_type = query_type; | 717 | 55 | param.num_rows = num_rows; | 718 | 55 | param.roaring = std::make_shared<roaring::Roaring>(); | 719 | 55 | param.analyzer_ctx = analyzer_ctx; | 720 | 55 | RETURN_IF_ERROR(iter->read_from_index(segment_v2::IndexParam {¶m})); | 721 | 36 | 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 | 36 | segment_v2::InvertedIndexResultBitmap result(param.roaring, null_bitmap); | 728 | 36 | bitmap_result = result; | 729 | 36 | bitmap_result.mask_out_null(); | 730 | | | 731 | 36 | 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 | 36 | return Status::OK(); | 738 | 36 | } |
_ZNK5doris18FunctionComparisonINS_17GreaterOrEqualsOpENS_19NameGreaterOrEqualsEE23evaluate_inverted_indexERKSt6vectorINS_21ColumnWithTypeAndNameESaIS5_EERKS4_ISt4pairINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt10shared_ptrIKNS_9IDataTypeEEESaISL_EES4_IPNS_10segment_v213IndexIteratorESaISS_EEjPKNS_24InvertedIndexAnalyzerCtxERNSQ_25InvertedIndexResultBitmapE Line | Count | Source | 674 | 179 | segment_v2::InvertedIndexResultBitmap& bitmap_result) const override { | 675 | 179 | DCHECK(arguments.size() == 1); | 676 | 179 | DCHECK(data_type_with_names.size() == 1); | 677 | 179 | DCHECK(iterators.size() == 1); | 678 | 179 | auto* iter = iterators[0]; | 679 | 179 | auto data_type_with_name = data_type_with_names[0]; | 680 | 179 | if (iter == nullptr) { | 681 | 0 | return Status::OK(); | 682 | 0 | } | 683 | 179 | if (!segment_v2::IndexReaderHelper::has_string_or_bkd_index(iter)) { | 684 | 86 | return Status::OK(); | 685 | 86 | } | 686 | 93 | segment_v2::InvertedIndexQueryType query_type; | 687 | 93 | std::string_view name_view(name); | 688 | 93 | if (name_view == NameEquals::name || name_view == NameNotEquals::name) { | 689 | 0 | query_type = segment_v2::InvertedIndexQueryType::EQUAL_QUERY; | 690 | 93 | } else if (name_view == NameLess::name) { | 691 | 0 | query_type = segment_v2::InvertedIndexQueryType::LESS_THAN_QUERY; | 692 | 93 | } else if (name_view == NameLessOrEquals::name) { | 693 | 0 | query_type = segment_v2::InvertedIndexQueryType::LESS_EQUAL_QUERY; | 694 | 93 | } else if (name_view == NameGreater::name) { | 695 | 0 | query_type = segment_v2::InvertedIndexQueryType::GREATER_THAN_QUERY; | 696 | 93 | } else if (name_view == NameGreaterOrEquals::name) { | 697 | 93 | query_type = segment_v2::InvertedIndexQueryType::GREATER_EQUAL_QUERY; | 698 | 93 | } else { | 699 | 0 | return Status::InvalidArgument("invalid comparison op type {}", Name::name); | 700 | 0 | } | 701 | | | 702 | 93 | if (segment_v2::is_range_query(query_type) && | 703 | 93 | 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 | 46 | Field param_value; | 708 | 46 | arguments[0].column->get(0, param_value); | 709 | 46 | if (param_value.is_null()) { | 710 | 0 | return Status::OK(); | 711 | 0 | } | 712 | 46 | segment_v2::InvertedIndexParam param; | 713 | 46 | param.column_name = data_type_with_name.first; | 714 | 46 | param.column_type = data_type_with_name.second; | 715 | 46 | param.query_value = param_value; | 716 | 46 | param.query_type = query_type; | 717 | 46 | param.num_rows = num_rows; | 718 | 46 | param.roaring = std::make_shared<roaring::Roaring>(); | 719 | 46 | param.analyzer_ctx = analyzer_ctx; | 720 | 46 | RETURN_IF_ERROR(iter->read_from_index(segment_v2::IndexParam {¶m})); | 721 | 5 | std::shared_ptr<roaring::Roaring> null_bitmap = std::make_shared<roaring::Roaring>(); | 722 | 5 | if (iter->has_null()) { | 723 | 5 | segment_v2::InvertedIndexQueryCacheHandle null_bitmap_cache_handle; | 724 | 5 | RETURN_IF_ERROR(iter->read_null_bitmap(&null_bitmap_cache_handle)); | 725 | 5 | null_bitmap = null_bitmap_cache_handle.get_bitmap(); | 726 | 5 | } | 727 | 5 | segment_v2::InvertedIndexResultBitmap result(param.roaring, null_bitmap); | 728 | 5 | bitmap_result = result; | 729 | 5 | bitmap_result.mask_out_null(); | 730 | | | 731 | 5 | 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 | 5 | return Status::OK(); | 738 | 5 | } |
_ZNK5doris18FunctionComparisonINS_6LessOpENS_8NameLessEE23evaluate_inverted_indexERKSt6vectorINS_21ColumnWithTypeAndNameESaIS5_EERKS4_ISt4pairINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt10shared_ptrIKNS_9IDataTypeEEESaISL_EES4_IPNS_10segment_v213IndexIteratorESaISS_EEjPKNS_24InvertedIndexAnalyzerCtxERNSQ_25InvertedIndexResultBitmapE Line | Count | Source | 674 | 119 | segment_v2::InvertedIndexResultBitmap& bitmap_result) const override { | 675 | 119 | DCHECK(arguments.size() == 1); | 676 | 119 | DCHECK(data_type_with_names.size() == 1); | 677 | 119 | DCHECK(iterators.size() == 1); | 678 | 119 | auto* iter = iterators[0]; | 679 | 119 | auto data_type_with_name = data_type_with_names[0]; | 680 | 119 | if (iter == nullptr) { | 681 | 0 | return Status::OK(); | 682 | 0 | } | 683 | 119 | if (!segment_v2::IndexReaderHelper::has_string_or_bkd_index(iter)) { | 684 | 43 | return Status::OK(); | 685 | 43 | } | 686 | 76 | segment_v2::InvertedIndexQueryType query_type; | 687 | 76 | std::string_view name_view(name); | 688 | 76 | if (name_view == NameEquals::name || name_view == NameNotEquals::name) { | 689 | 0 | query_type = segment_v2::InvertedIndexQueryType::EQUAL_QUERY; | 690 | 76 | } else if (name_view == NameLess::name) { | 691 | 76 | query_type = segment_v2::InvertedIndexQueryType::LESS_THAN_QUERY; | 692 | 76 | } 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 | 76 | if (segment_v2::is_range_query(query_type) && | 703 | 76 | 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 | 58 | Field param_value; | 708 | 58 | arguments[0].column->get(0, param_value); | 709 | 58 | if (param_value.is_null()) { | 710 | 0 | return Status::OK(); | 711 | 0 | } | 712 | 58 | segment_v2::InvertedIndexParam param; | 713 | 58 | param.column_name = data_type_with_name.first; | 714 | 58 | param.column_type = data_type_with_name.second; | 715 | 58 | param.query_value = param_value; | 716 | 58 | param.query_type = query_type; | 717 | 58 | param.num_rows = num_rows; | 718 | 58 | param.roaring = std::make_shared<roaring::Roaring>(); | 719 | 58 | param.analyzer_ctx = analyzer_ctx; | 720 | 58 | RETURN_IF_ERROR(iter->read_from_index(segment_v2::IndexParam {¶m})); | 721 | 40 | std::shared_ptr<roaring::Roaring> null_bitmap = std::make_shared<roaring::Roaring>(); | 722 | 40 | 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 | 40 | segment_v2::InvertedIndexResultBitmap result(param.roaring, null_bitmap); | 728 | 40 | bitmap_result = result; | 729 | 40 | bitmap_result.mask_out_null(); | 730 | | | 731 | 40 | 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 | 40 | return Status::OK(); | 738 | 40 | } |
_ZNK5doris18FunctionComparisonINS_14LessOrEqualsOpENS_16NameLessOrEqualsEE23evaluate_inverted_indexERKSt6vectorINS_21ColumnWithTypeAndNameESaIS5_EERKS4_ISt4pairINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt10shared_ptrIKNS_9IDataTypeEEESaISL_EES4_IPNS_10segment_v213IndexIteratorESaISS_EEjPKNS_24InvertedIndexAnalyzerCtxERNSQ_25InvertedIndexResultBitmapE Line | Count | Source | 674 | 175 | segment_v2::InvertedIndexResultBitmap& bitmap_result) const override { | 675 | 175 | DCHECK(arguments.size() == 1); | 676 | 175 | DCHECK(data_type_with_names.size() == 1); | 677 | 175 | DCHECK(iterators.size() == 1); | 678 | 175 | auto* iter = iterators[0]; | 679 | 175 | auto data_type_with_name = data_type_with_names[0]; | 680 | 175 | if (iter == nullptr) { | 681 | 0 | return Status::OK(); | 682 | 0 | } | 683 | 175 | if (!segment_v2::IndexReaderHelper::has_string_or_bkd_index(iter)) { | 684 | 94 | return Status::OK(); | 685 | 94 | } | 686 | 81 | segment_v2::InvertedIndexQueryType query_type; | 687 | 81 | 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 | 81 | } 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 | 81 | } 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 | 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 | 9 | std::shared_ptr<roaring::Roaring> null_bitmap = std::make_shared<roaring::Roaring>(); | 722 | 9 | 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 | 9 | segment_v2::InvertedIndexResultBitmap result(param.roaring, null_bitmap); | 728 | 9 | bitmap_result = result; | 729 | 9 | bitmap_result.mask_out_null(); | 730 | | | 731 | 9 | 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 | 9 | return Status::OK(); | 738 | 9 | } |
|
739 | | |
740 | | Status execute_impl(FunctionContext* context, Block& block, const ColumnNumbers& arguments, |
741 | 252k | uint32_t result, size_t input_rows_count) const override { |
742 | 252k | const auto& col_with_type_and_name_left = block.get_by_position(arguments[0]); |
743 | 252k | const auto& col_with_type_and_name_right = block.get_by_position(arguments[1]); |
744 | | |
745 | 252k | const auto& col_left_ptr = col_with_type_and_name_left.column; |
746 | 252k | const auto& col_right_ptr = col_with_type_and_name_right.column; |
747 | 252k | const IColumn* col_left_untyped = col_with_type_and_name_left.column.get(); |
748 | 252k | const IColumn* col_right_untyped = col_with_type_and_name_right.column.get(); |
749 | | |
750 | 252k | const DataTypePtr& left_type = col_with_type_and_name_left.type; |
751 | 252k | 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 | 252k | if (left_type->equals(*right_type) && !left_type->is_nullable() && |
757 | 252k | 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 | 460k | auto can_compare = [](PrimitiveType t) -> bool { |
780 | 460k | return is_int_or_bool(t) || is_float_or_double(t) || is_ip(t) || is_date_type(t); |
781 | 460k | }; _ZZNK5doris18FunctionComparisonINS_8EqualsOpENS_10NameEqualsEE12execute_implEPNS_15FunctionContextERNS_5BlockERKSt6vectorIjSaIjEEjmENKUlNS_13PrimitiveTypeEE_clESD_ Line | Count | Source | 779 | 138k | auto can_compare = [](PrimitiveType t) -> bool { | 780 | 138k | return is_int_or_bool(t) || is_float_or_double(t) || is_ip(t) || is_date_type(t); | 781 | 138k | }; |
_ZZNK5doris18FunctionComparisonINS_11NotEqualsOpENS_13NameNotEqualsEE12execute_implEPNS_15FunctionContextERNS_5BlockERKSt6vectorIjSaIjEEjmENKUlNS_13PrimitiveTypeEE_clESD_ Line | Count | Source | 779 | 16.4k | auto can_compare = [](PrimitiveType t) -> bool { | 780 | 16.4k | return is_int_or_bool(t) || is_float_or_double(t) || is_ip(t) || is_date_type(t); | 781 | 16.4k | }; |
_ZZNK5doris18FunctionComparisonINS_9GreaterOpENS_11NameGreaterEE12execute_implEPNS_15FunctionContextERNS_5BlockERKSt6vectorIjSaIjEEjmENKUlNS_13PrimitiveTypeEE_clESD_ Line | Count | Source | 779 | 194k | auto can_compare = [](PrimitiveType t) -> bool { | 780 | 194k | return is_int_or_bool(t) || is_float_or_double(t) || is_ip(t) || is_date_type(t); | 781 | 194k | }; |
_ZZNK5doris18FunctionComparisonINS_17GreaterOrEqualsOpENS_19NameGreaterOrEqualsEE12execute_implEPNS_15FunctionContextERNS_5BlockERKSt6vectorIjSaIjEEjmENKUlNS_13PrimitiveTypeEE_clESD_ Line | Count | Source | 779 | 29.4k | auto can_compare = [](PrimitiveType t) -> bool { | 780 | 29.4k | return is_int_or_bool(t) || is_float_or_double(t) || is_ip(t) || is_date_type(t); | 781 | 29.4k | }; |
_ZZNK5doris18FunctionComparisonINS_6LessOpENS_8NameLessEE12execute_implEPNS_15FunctionContextERNS_5BlockERKSt6vectorIjSaIjEEjmENKUlNS_13PrimitiveTypeEE_clESD_ Line | Count | Source | 779 | 24.1k | auto can_compare = [](PrimitiveType t) -> bool { | 780 | 24.1k | return is_int_or_bool(t) || is_float_or_double(t) || is_ip(t) || is_date_type(t); | 781 | 24.1k | }; |
_ZZNK5doris18FunctionComparisonINS_14LessOrEqualsOpENS_16NameLessOrEqualsEE12execute_implEPNS_15FunctionContextERNS_5BlockERKSt6vectorIjSaIjEEjmENKUlNS_13PrimitiveTypeEE_clESD_ Line | Count | Source | 779 | 57.6k | auto can_compare = [](PrimitiveType t) -> bool { | 780 | 57.6k | return is_int_or_bool(t) || is_float_or_double(t) || is_ip(t) || is_date_type(t); | 781 | 57.6k | }; |
|
782 | | |
783 | 252k | if (can_compare(left_type->get_primitive_type()) && |
784 | 252k | 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 | 208k | 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 | 208k | } |
792 | | |
793 | 252k | auto compare_type = left_type->get_primitive_type(); |
794 | 252k | switch (compare_type) { |
795 | 2.01k | case TYPE_BOOLEAN: |
796 | 2.01k | return execute_num_type<TYPE_BOOLEAN>(block, result, col_left_ptr, col_right_ptr); |
797 | 14.1k | case TYPE_DATEV2: |
798 | 14.1k | return execute_num_type<TYPE_DATEV2>(block, result, col_left_ptr, col_right_ptr); |
799 | 3.12k | case TYPE_DATETIMEV2: |
800 | 3.12k | return execute_num_type<TYPE_DATETIMEV2>(block, result, col_left_ptr, col_right_ptr); |
801 | 12 | case TYPE_TIMESTAMPTZ: |
802 | 12 | return execute_num_type<TYPE_TIMESTAMPTZ>(block, result, col_left_ptr, col_right_ptr); |
803 | 9.37k | case TYPE_TINYINT: |
804 | 9.37k | return execute_num_type<TYPE_TINYINT>(block, result, col_left_ptr, col_right_ptr); |
805 | 2.97k | case TYPE_SMALLINT: |
806 | 2.97k | return execute_num_type<TYPE_SMALLINT>(block, result, col_left_ptr, col_right_ptr); |
807 | 133k | case TYPE_INT: |
808 | 133k | return execute_num_type<TYPE_INT>(block, result, col_left_ptr, col_right_ptr); |
809 | 37.1k | case TYPE_BIGINT: |
810 | 37.1k | return execute_num_type<TYPE_BIGINT>(block, result, col_left_ptr, col_right_ptr); |
811 | 756 | case TYPE_LARGEINT: |
812 | 756 | return execute_num_type<TYPE_LARGEINT>(block, result, col_left_ptr, col_right_ptr); |
813 | 61 | case TYPE_IPV4: |
814 | 61 | 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 | 968 | case TYPE_FLOAT: |
818 | 968 | return execute_num_type<TYPE_FLOAT>(block, result, col_left_ptr, col_right_ptr); |
819 | 3.74k | case TYPE_DOUBLE: |
820 | 3.74k | 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 | 538 | case TYPE_DECIMAL32: |
825 | 8.66k | case TYPE_DECIMAL64: |
826 | 13.1k | case TYPE_DECIMAL128I: |
827 | 13.2k | case TYPE_DECIMAL256: |
828 | 13.2k | return execute_decimal(block, result, col_with_type_and_name_left, |
829 | 13.2k | col_with_type_and_name_right); |
830 | 846 | case TYPE_CHAR: |
831 | 9.99k | case TYPE_VARCHAR: |
832 | 30.6k | case TYPE_STRING: |
833 | 30.6k | return execute_string(block, result, col_left_untyped, col_right_untyped); |
834 | 124 | default: |
835 | 124 | return execute_generic(block, result, col_with_type_and_name_left, |
836 | 124 | col_with_type_and_name_right); |
837 | 252k | } |
838 | 0 | return Status::OK(); |
839 | 252k | } _ZNK5doris18FunctionComparisonINS_8EqualsOpENS_10NameEqualsEE12execute_implEPNS_15FunctionContextERNS_5BlockERKSt6vectorIjSaIjEEjm Line | Count | Source | 741 | 82.7k | uint32_t result, size_t input_rows_count) const override { | 742 | 82.7k | const auto& col_with_type_and_name_left = block.get_by_position(arguments[0]); | 743 | 82.7k | const auto& col_with_type_and_name_right = block.get_by_position(arguments[1]); | 744 | | | 745 | 82.7k | const auto& col_left_ptr = col_with_type_and_name_left.column; | 746 | 82.7k | const auto& col_right_ptr = col_with_type_and_name_right.column; | 747 | 82.7k | const IColumn* col_left_untyped = col_with_type_and_name_left.column.get(); | 748 | 82.7k | const IColumn* col_right_untyped = col_with_type_and_name_right.column.get(); | 749 | | | 750 | 82.7k | const DataTypePtr& left_type = col_with_type_and_name_left.type; | 751 | 82.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 | 82.7k | if (left_type->equals(*right_type) && !left_type->is_nullable() && | 757 | 82.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 | 82.7k | return is_int_or_bool(t) || is_float_or_double(t) || is_ip(t) || is_date_type(t); | 781 | 82.7k | }; | 782 | | | 783 | 82.7k | if (can_compare(left_type->get_primitive_type()) && | 784 | 82.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 | 55.3k | 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 | 55.3k | } | 792 | | | 793 | 82.7k | auto compare_type = left_type->get_primitive_type(); | 794 | 82.7k | switch (compare_type) { | 795 | 1.62k | case TYPE_BOOLEAN: | 796 | 1.62k | return execute_num_type<TYPE_BOOLEAN>(block, result, col_left_ptr, col_right_ptr); | 797 | 1.76k | case TYPE_DATEV2: | 798 | 1.76k | return execute_num_type<TYPE_DATEV2>(block, result, col_left_ptr, col_right_ptr); | 799 | 693 | case TYPE_DATETIMEV2: | 800 | 693 | return execute_num_type<TYPE_DATETIMEV2>(block, result, col_left_ptr, col_right_ptr); | 801 | 3 | case TYPE_TIMESTAMPTZ: | 802 | 3 | return execute_num_type<TYPE_TIMESTAMPTZ>(block, result, col_left_ptr, col_right_ptr); | 803 | 5.50k | case TYPE_TINYINT: | 804 | 5.50k | return execute_num_type<TYPE_TINYINT>(block, result, col_left_ptr, col_right_ptr); | 805 | 777 | case TYPE_SMALLINT: | 806 | 777 | return execute_num_type<TYPE_SMALLINT>(block, result, col_left_ptr, col_right_ptr); | 807 | 26.7k | case TYPE_INT: | 808 | 26.7k | return execute_num_type<TYPE_INT>(block, result, col_left_ptr, col_right_ptr); | 809 | 17.2k | case TYPE_BIGINT: | 810 | 17.2k | return execute_num_type<TYPE_BIGINT>(block, result, col_left_ptr, col_right_ptr); | 811 | 124 | case TYPE_LARGEINT: | 812 | 124 | 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 | 19 | case TYPE_IPV6: | 816 | 19 | return execute_num_type<TYPE_IPV6>(block, result, col_left_ptr, col_right_ptr); | 817 | 102 | case TYPE_FLOAT: | 818 | 102 | return execute_num_type<TYPE_FLOAT>(block, result, col_left_ptr, col_right_ptr); | 819 | 797 | case TYPE_DOUBLE: | 820 | 797 | 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 | 265 | case TYPE_DECIMAL32: | 825 | 537 | case TYPE_DECIMAL64: | 826 | 1.71k | case TYPE_DECIMAL128I: | 827 | 1.74k | case TYPE_DECIMAL256: | 828 | 1.74k | return execute_decimal(block, result, col_with_type_and_name_left, | 829 | 1.74k | col_with_type_and_name_right); | 830 | 540 | case TYPE_CHAR: | 831 | 8.49k | case TYPE_VARCHAR: | 832 | 25.6k | case TYPE_STRING: | 833 | 25.6k | 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 | 82.7k | } | 838 | 0 | return Status::OK(); | 839 | 82.7k | } |
_ZNK5doris18FunctionComparisonINS_11NotEqualsOpENS_13NameNotEqualsEE12execute_implEPNS_15FunctionContextERNS_5BlockERKSt6vectorIjSaIjEEjm Line | Count | Source | 741 | 9.73k | uint32_t result, size_t input_rows_count) const override { | 742 | 9.73k | const auto& col_with_type_and_name_left = block.get_by_position(arguments[0]); | 743 | 9.73k | const auto& col_with_type_and_name_right = block.get_by_position(arguments[1]); | 744 | | | 745 | 9.73k | const auto& col_left_ptr = col_with_type_and_name_left.column; | 746 | 9.73k | const auto& col_right_ptr = col_with_type_and_name_right.column; | 747 | 9.73k | const IColumn* col_left_untyped = col_with_type_and_name_left.column.get(); | 748 | 9.73k | const IColumn* col_right_untyped = col_with_type_and_name_right.column.get(); | 749 | | | 750 | 9.73k | const DataTypePtr& left_type = col_with_type_and_name_left.type; | 751 | 9.73k | 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 | 9.73k | if (left_type->equals(*right_type) && !left_type->is_nullable() && | 757 | 9.73k | 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 | 9.73k | return is_int_or_bool(t) || is_float_or_double(t) || is_ip(t) || is_date_type(t); | 781 | 9.73k | }; | 782 | | | 783 | 9.73k | if (can_compare(left_type->get_primitive_type()) && | 784 | 9.73k | 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 | 6.74k | 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 | 6.74k | } | 792 | | | 793 | 9.73k | auto compare_type = left_type->get_primitive_type(); | 794 | 9.73k | 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 | 82 | case TYPE_DATEV2: | 798 | 82 | 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 | 3.42k | case TYPE_INT: | 808 | 3.42k | return execute_num_type<TYPE_INT>(block, result, col_left_ptr, col_right_ptr); | 809 | 3.01k | case TYPE_BIGINT: | 810 | 3.01k | 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 | 60 | case TYPE_DOUBLE: | 820 | 60 | 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 | 71 | case TYPE_DECIMAL64: | 826 | 395 | case TYPE_DECIMAL128I: | 827 | 425 | case TYPE_DECIMAL256: | 828 | 425 | return execute_decimal(block, result, col_with_type_and_name_left, | 829 | 425 | col_with_type_and_name_right); | 830 | 9 | case TYPE_CHAR: | 831 | 305 | case TYPE_VARCHAR: | 832 | 2.56k | case TYPE_STRING: | 833 | 2.56k | 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 | 9.73k | } | 838 | 0 | return Status::OK(); | 839 | 9.73k | } |
_ZNK5doris18FunctionComparisonINS_9GreaterOpENS_11NameGreaterEE12execute_implEPNS_15FunctionContextERNS_5BlockERKSt6vectorIjSaIjEEjm Line | Count | Source | 741 | 100k | uint32_t result, size_t input_rows_count) const override { | 742 | 100k | const auto& col_with_type_and_name_left = block.get_by_position(arguments[0]); | 743 | 100k | const auto& col_with_type_and_name_right = block.get_by_position(arguments[1]); | 744 | | | 745 | 100k | const auto& col_left_ptr = col_with_type_and_name_left.column; | 746 | 100k | const auto& col_right_ptr = col_with_type_and_name_right.column; | 747 | 100k | const IColumn* col_left_untyped = col_with_type_and_name_left.column.get(); | 748 | 100k | const IColumn* col_right_untyped = col_with_type_and_name_right.column.get(); | 749 | | | 750 | 100k | const DataTypePtr& left_type = col_with_type_and_name_left.type; | 751 | 100k | 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 | 100k | if (left_type->equals(*right_type) && !left_type->is_nullable() && | 757 | 100k | 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 | 100k | return is_int_or_bool(t) || is_float_or_double(t) || is_ip(t) || is_date_type(t); | 781 | 100k | }; | 782 | | | 783 | 100k | if (can_compare(left_type->get_primitive_type()) && | 784 | 100k | 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 | 93.6k | 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 | 93.6k | } | 792 | | | 793 | 100k | auto compare_type = left_type->get_primitive_type(); | 794 | 100k | 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.22k | case TYPE_DATEV2: | 798 | 1.22k | return execute_num_type<TYPE_DATEV2>(block, result, col_left_ptr, col_right_ptr); | 799 | 130 | case TYPE_DATETIMEV2: | 800 | 130 | 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 | 1.45k | case TYPE_TINYINT: | 804 | 1.45k | return execute_num_type<TYPE_TINYINT>(block, result, col_left_ptr, col_right_ptr); | 805 | 1.78k | case TYPE_SMALLINT: | 806 | 1.78k | return execute_num_type<TYPE_SMALLINT>(block, result, col_left_ptr, col_right_ptr); | 807 | 72.5k | case TYPE_INT: | 808 | 72.5k | 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 | 249 | case TYPE_LARGEINT: | 812 | 249 | 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 | 236 | case TYPE_FLOAT: | 818 | 236 | return execute_num_type<TYPE_FLOAT>(block, result, col_left_ptr, col_right_ptr); | 819 | 2.22k | case TYPE_DOUBLE: | 820 | 2.22k | 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.11k | case TYPE_DECIMAL64: | 826 | 6.61k | case TYPE_DECIMAL128I: | 827 | 6.61k | case TYPE_DECIMAL256: | 828 | 6.61k | return execute_decimal(block, result, col_with_type_and_name_left, | 829 | 6.61k | col_with_type_and_name_right); | 830 | 14 | case TYPE_CHAR: | 831 | 76 | case TYPE_VARCHAR: | 832 | 175 | case TYPE_STRING: | 833 | 175 | 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 | 100k | } | 838 | 0 | return Status::OK(); | 839 | 100k | } |
_ZNK5doris18FunctionComparisonINS_17GreaterOrEqualsOpENS_19NameGreaterOrEqualsEE12execute_implEPNS_15FunctionContextERNS_5BlockERKSt6vectorIjSaIjEEjm Line | Count | Source | 741 | 15.2k | uint32_t result, size_t input_rows_count) const override { | 742 | 15.2k | const auto& col_with_type_and_name_left = block.get_by_position(arguments[0]); | 743 | 15.2k | const auto& col_with_type_and_name_right = block.get_by_position(arguments[1]); | 744 | | | 745 | 15.2k | const auto& col_left_ptr = col_with_type_and_name_left.column; | 746 | 15.2k | const auto& col_right_ptr = col_with_type_and_name_right.column; | 747 | 15.2k | const IColumn* col_left_untyped = col_with_type_and_name_left.column.get(); | 748 | 15.2k | const IColumn* col_right_untyped = col_with_type_and_name_right.column.get(); | 749 | | | 750 | 15.2k | const DataTypePtr& left_type = col_with_type_and_name_left.type; | 751 | 15.2k | 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 | 15.2k | if (left_type->equals(*right_type) && !left_type->is_nullable() && | 757 | 15.2k | 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 | 15.2k | return is_int_or_bool(t) || is_float_or_double(t) || is_ip(t) || is_date_type(t); | 781 | 15.2k | }; | 782 | | | 783 | 15.2k | if (can_compare(left_type->get_primitive_type()) && | 784 | 15.2k | 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 | 14.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 | 14.1k | } | 792 | | | 793 | 15.2k | auto compare_type = left_type->get_primitive_type(); | 794 | 15.2k | switch (compare_type) { | 795 | 145 | case TYPE_BOOLEAN: | 796 | 145 | return execute_num_type<TYPE_BOOLEAN>(block, result, col_left_ptr, col_right_ptr); | 797 | 2.19k | case TYPE_DATEV2: | 798 | 2.19k | return execute_num_type<TYPE_DATEV2>(block, result, col_left_ptr, col_right_ptr); | 799 | 1.04k | case TYPE_DATETIMEV2: | 800 | 1.04k | 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 | 45 | case TYPE_TINYINT: | 804 | 45 | return execute_num_type<TYPE_TINYINT>(block, result, col_left_ptr, col_right_ptr); | 805 | 52 | case TYPE_SMALLINT: | 806 | 52 | return execute_num_type<TYPE_SMALLINT>(block, result, col_left_ptr, col_right_ptr); | 807 | 9.68k | case TYPE_INT: | 808 | 9.68k | return execute_num_type<TYPE_INT>(block, result, col_left_ptr, col_right_ptr); | 809 | 585 | case TYPE_BIGINT: | 810 | 585 | return execute_num_type<TYPE_BIGINT>(block, result, col_left_ptr, col_right_ptr); | 811 | 46 | case TYPE_LARGEINT: | 812 | 46 | 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 | 202 | case TYPE_FLOAT: | 818 | 202 | 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 | 12 | case TYPE_DECIMAL32: | 825 | 293 | case TYPE_DECIMAL64: | 826 | 382 | case TYPE_DECIMAL128I: | 827 | 403 | case TYPE_DECIMAL256: | 828 | 403 | return execute_decimal(block, result, col_with_type_and_name_left, | 829 | 403 | col_with_type_and_name_right); | 830 | 30 | case TYPE_CHAR: | 831 | 288 | case TYPE_VARCHAR: | 832 | 676 | case TYPE_STRING: | 833 | 676 | return execute_string(block, result, col_left_untyped, col_right_untyped); | 834 | 49 | default: | 835 | 49 | return execute_generic(block, result, col_with_type_and_name_left, | 836 | 49 | col_with_type_and_name_right); | 837 | 15.2k | } | 838 | 0 | return Status::OK(); | 839 | 15.2k | } |
_ZNK5doris18FunctionComparisonINS_6LessOpENS_8NameLessEE12execute_implEPNS_15FunctionContextERNS_5BlockERKSt6vectorIjSaIjEEjm Line | Count | Source | 741 | 12.8k | uint32_t result, size_t input_rows_count) const override { | 742 | 12.8k | const auto& col_with_type_and_name_left = block.get_by_position(arguments[0]); | 743 | 12.8k | const auto& col_with_type_and_name_right = block.get_by_position(arguments[1]); | 744 | | | 745 | 12.8k | const auto& col_left_ptr = col_with_type_and_name_left.column; | 746 | 12.8k | const auto& col_right_ptr = col_with_type_and_name_right.column; | 747 | 12.8k | const IColumn* col_left_untyped = col_with_type_and_name_left.column.get(); | 748 | 12.8k | const IColumn* col_right_untyped = col_with_type_and_name_right.column.get(); | 749 | | | 750 | 12.8k | const DataTypePtr& left_type = col_with_type_and_name_left.type; | 751 | 12.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 | 12.8k | if (left_type->equals(*right_type) && !left_type->is_nullable() && | 757 | 12.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 | 12.8k | return is_int_or_bool(t) || is_float_or_double(t) || is_ip(t) || is_date_type(t); | 781 | 12.8k | }; | 782 | | | 783 | 12.8k | if (can_compare(left_type->get_primitive_type()) && | 784 | 12.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 | 11.2k | 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.2k | } | 792 | | | 793 | 12.8k | auto compare_type = left_type->get_primitive_type(); | 794 | 12.8k | switch (compare_type) { | 795 | 92 | case TYPE_BOOLEAN: | 796 | 92 | return execute_num_type<TYPE_BOOLEAN>(block, result, col_left_ptr, col_right_ptr); | 797 | 2.10k | case TYPE_DATEV2: | 798 | 2.10k | return execute_num_type<TYPE_DATEV2>(block, result, col_left_ptr, col_right_ptr); | 799 | 797 | case TYPE_DATETIMEV2: | 800 | 797 | return execute_num_type<TYPE_DATETIMEV2>(block, result, col_left_ptr, col_right_ptr); | 801 | 3 | case TYPE_TIMESTAMPTZ: | 802 | 3 | return execute_num_type<TYPE_TIMESTAMPTZ>(block, result, col_left_ptr, col_right_ptr); | 803 | 2.20k | case TYPE_TINYINT: | 804 | 2.20k | return execute_num_type<TYPE_TINYINT>(block, result, col_left_ptr, col_right_ptr); | 805 | 283 | case TYPE_SMALLINT: | 806 | 283 | return execute_num_type<TYPE_SMALLINT>(block, result, col_left_ptr, col_right_ptr); | 807 | 3.27k | case TYPE_INT: | 808 | 3.27k | return execute_num_type<TYPE_INT>(block, result, col_left_ptr, col_right_ptr); | 809 | 1.64k | case TYPE_BIGINT: | 810 | 1.64k | return execute_num_type<TYPE_BIGINT>(block, result, col_left_ptr, col_right_ptr); | 811 | 270 | case TYPE_LARGEINT: | 812 | 270 | 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 | 182 | case TYPE_FLOAT: | 818 | 182 | return execute_num_type<TYPE_FLOAT>(block, result, col_left_ptr, col_right_ptr); | 819 | 371 | case TYPE_DOUBLE: | 820 | 371 | 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 | 207 | case TYPE_DECIMAL32: | 825 | 440 | case TYPE_DECIMAL64: | 826 | 893 | case TYPE_DECIMAL128I: | 827 | 894 | case TYPE_DECIMAL256: | 828 | 894 | return execute_decimal(block, result, col_with_type_and_name_left, | 829 | 894 | col_with_type_and_name_right); | 830 | 174 | case TYPE_CHAR: | 831 | 357 | case TYPE_VARCHAR: | 832 | 668 | case TYPE_STRING: | 833 | 668 | 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.8k | } | 838 | 0 | return Status::OK(); | 839 | 12.8k | } |
_ZNK5doris18FunctionComparisonINS_14LessOrEqualsOpENS_16NameLessOrEqualsEE12execute_implEPNS_15FunctionContextERNS_5BlockERKSt6vectorIjSaIjEEjm Line | Count | Source | 741 | 30.8k | uint32_t result, size_t input_rows_count) const override { | 742 | 30.8k | const auto& col_with_type_and_name_left = block.get_by_position(arguments[0]); | 743 | 30.8k | const auto& col_with_type_and_name_right = block.get_by_position(arguments[1]); | 744 | | | 745 | 30.8k | const auto& col_left_ptr = col_with_type_and_name_left.column; | 746 | 30.8k | const auto& col_right_ptr = col_with_type_and_name_right.column; | 747 | 30.8k | const IColumn* col_left_untyped = col_with_type_and_name_left.column.get(); | 748 | 30.8k | const IColumn* col_right_untyped = col_with_type_and_name_right.column.get(); | 749 | | | 750 | 30.8k | const DataTypePtr& left_type = col_with_type_and_name_left.type; | 751 | 30.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 | 30.8k | if (left_type->equals(*right_type) && !left_type->is_nullable() && | 757 | 30.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 | 30.8k | return is_int_or_bool(t) || is_float_or_double(t) || is_ip(t) || is_date_type(t); | 781 | 30.8k | }; | 782 | | | 783 | 30.8k | if (can_compare(left_type->get_primitive_type()) && | 784 | 30.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 | 26.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 | 26.7k | } | 792 | | | 793 | 30.8k | auto compare_type = left_type->get_primitive_type(); | 794 | 30.8k | switch (compare_type) { | 795 | 154 | case TYPE_BOOLEAN: | 796 | 154 | return execute_num_type<TYPE_BOOLEAN>(block, result, col_left_ptr, col_right_ptr); | 797 | 6.78k | case TYPE_DATEV2: | 798 | 6.78k | return execute_num_type<TYPE_DATEV2>(block, result, col_left_ptr, col_right_ptr); | 799 | 457 | case TYPE_DATETIMEV2: | 800 | 457 | 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 | 59 | case TYPE_TINYINT: | 804 | 59 | 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 | 17.9k | case TYPE_INT: | 808 | 17.9k | return execute_num_type<TYPE_INT>(block, result, col_left_ptr, col_right_ptr); | 809 | 895 | case TYPE_BIGINT: | 810 | 895 | return execute_num_type<TYPE_BIGINT>(block, result, col_left_ptr, col_right_ptr); | 811 | 67 | case TYPE_LARGEINT: | 812 | 67 | 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 | 198 | case TYPE_FLOAT: | 818 | 198 | return execute_num_type<TYPE_FLOAT>(block, result, col_left_ptr, col_right_ptr); | 819 | 140 | case TYPE_DOUBLE: | 820 | 140 | 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 | 8 | case TYPE_DECIMAL32: | 825 | 2.21k | case TYPE_DECIMAL64: | 826 | 3.12k | case TYPE_DECIMAL128I: | 827 | 3.14k | case TYPE_DECIMAL256: | 828 | 3.14k | return execute_decimal(block, result, col_with_type_and_name_left, | 829 | 3.14k | col_with_type_and_name_right); | 830 | 79 | case TYPE_CHAR: | 831 | 471 | case TYPE_VARCHAR: | 832 | 972 | case TYPE_STRING: | 833 | 972 | return execute_string(block, result, col_left_untyped, col_right_untyped); | 834 | 30 | default: | 835 | 30 | return execute_generic(block, result, col_with_type_and_name_left, | 836 | 30 | col_with_type_and_name_right); | 837 | 30.8k | } | 838 | 0 | return Status::OK(); | 839 | 30.8k | } |
|
840 | | }; |
841 | | |
842 | | } // namespace doris |