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 <limits> |
24 | | #include <type_traits> |
25 | | |
26 | | #include "common/logging.h" |
27 | | #include "core/accurate_comparison.h" |
28 | | #include "core/assert_cast.h" |
29 | | #include "core/column/column_const.h" |
30 | | #include "core/column/column_decimal.h" |
31 | | #include "core/column/column_nullable.h" |
32 | | #include "core/column/column_string.h" |
33 | | #include "core/data_type/data_type_number.h" |
34 | | #include "core/data_type/data_type_string.h" |
35 | | #include "core/data_type/define_primitive_type.h" |
36 | | #include "core/decimal_comparison.h" |
37 | | #include "core/field.h" |
38 | | #include "core/memcmp_small.h" |
39 | | #include "core/value/vdatetime_value.h" |
40 | | #include "exprs/function/function.h" |
41 | | #include "exprs/function/function_helpers.h" |
42 | | #include "exprs/function/functions_logical.h" |
43 | | #include "storage/index/index_reader_helper.h" |
44 | | |
45 | | namespace doris { |
46 | | |
47 | | /** Comparison functions: ==, !=, <, >, <=, >=. |
48 | | * The comparison functions always return 0 or 1 (UInt8). |
49 | | * |
50 | | * You can compare the following types: |
51 | | * - numbers and decimals; |
52 | | * - strings and fixed strings; |
53 | | * - dates; |
54 | | * - datetimes; |
55 | | * within each group, but not from different groups; |
56 | | * - tuples (lexicographic comparison). |
57 | | * |
58 | | * Exception: You can compare the date and datetime with a constant string. Example: EventDate = '2015-01-01'. |
59 | | */ |
60 | | |
61 | | template <typename A, typename B, typename Op> |
62 | | struct NumComparisonImpl { |
63 | | /// 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. |
64 | | static void NO_INLINE vector_vector(const PaddedPODArray<A>& a, const PaddedPODArray<B>& b, |
65 | 11.9k | PaddedPODArray<UInt8>& c) { |
66 | 11.9k | size_t size = a.size(); |
67 | 11.9k | const A* __restrict a_pos = a.data(); |
68 | 11.9k | const B* __restrict b_pos = b.data(); |
69 | 11.9k | UInt8* __restrict c_pos = c.data(); |
70 | 11.9k | const A* __restrict a_end = a_pos + size; |
71 | | |
72 | 14.6M | while (a_pos < a_end) { |
73 | 14.6M | *c_pos = Op::apply(*a_pos, *b_pos); |
74 | 14.6M | ++a_pos; |
75 | 14.6M | ++b_pos; |
76 | 14.6M | ++c_pos; |
77 | 14.6M | } |
78 | 11.9k | } _ZN5doris17NumComparisonImplIhhNS_8EqualsOpILNS_13PrimitiveTypeE2EEEE13vector_vectorERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RS9_ Line | Count | Source | 65 | 70 | PaddedPODArray<UInt8>& c) { | 66 | 70 | size_t size = a.size(); | 67 | 70 | const A* __restrict a_pos = a.data(); | 68 | 70 | const B* __restrict b_pos = b.data(); | 69 | 70 | UInt8* __restrict c_pos = c.data(); | 70 | 70 | const A* __restrict a_end = a_pos + size; | 71 | | | 72 | 140 | while (a_pos < a_end) { | 73 | 70 | *c_pos = Op::apply(*a_pos, *b_pos); | 74 | 70 | ++a_pos; | 75 | 70 | ++b_pos; | 76 | 70 | ++c_pos; | 77 | 70 | } | 78 | 70 | } |
_ZN5doris17NumComparisonImplINS_11DateV2ValueINS_15DateV2ValueTypeEEES3_NS_8EqualsOpILNS_13PrimitiveTypeE25EEEE13vector_vectorERKNS_8PODArrayIS3_Lm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESE_RNS8_IhLm4096ESB_Lm16ELm15EEE Line | Count | Source | 65 | 329 | PaddedPODArray<UInt8>& c) { | 66 | 329 | size_t size = a.size(); | 67 | 329 | const A* __restrict a_pos = a.data(); | 68 | 329 | const B* __restrict b_pos = b.data(); | 69 | 329 | UInt8* __restrict c_pos = c.data(); | 70 | 329 | const A* __restrict a_end = a_pos + size; | 71 | | | 72 | 1.51k | while (a_pos < a_end) { | 73 | 1.18k | *c_pos = Op::apply(*a_pos, *b_pos); | 74 | 1.18k | ++a_pos; | 75 | 1.18k | ++b_pos; | 76 | 1.18k | ++c_pos; | 77 | 1.18k | } | 78 | 329 | } |
_ZN5doris17NumComparisonImplINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEES3_NS_8EqualsOpILNS_13PrimitiveTypeE26EEEE13vector_vectorERKNS_8PODArrayIS3_Lm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESE_RNS8_IhLm4096ESB_Lm16ELm15EEE Line | Count | Source | 65 | 240 | PaddedPODArray<UInt8>& c) { | 66 | 240 | size_t size = a.size(); | 67 | 240 | const A* __restrict a_pos = a.data(); | 68 | 240 | const B* __restrict b_pos = b.data(); | 69 | 240 | UInt8* __restrict c_pos = c.data(); | 70 | 240 | const A* __restrict a_end = a_pos + size; | 71 | | | 72 | 498 | while (a_pos < a_end) { | 73 | 258 | *c_pos = Op::apply(*a_pos, *b_pos); | 74 | 258 | ++a_pos; | 75 | 258 | ++b_pos; | 76 | 258 | ++c_pos; | 77 | 258 | } | 78 | 240 | } |
_ZN5doris17NumComparisonImplINS_16TimestampTzValueES1_NS_8EqualsOpILNS_13PrimitiveTypeE42EEEE13vector_vectorERKNS_8PODArrayIS1_Lm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESC_RNS6_IhLm4096ES9_Lm16ELm15EEE Line | Count | Source | 65 | 2 | PaddedPODArray<UInt8>& c) { | 66 | 2 | size_t size = a.size(); | 67 | 2 | const A* __restrict a_pos = a.data(); | 68 | 2 | const B* __restrict b_pos = b.data(); | 69 | 2 | UInt8* __restrict c_pos = c.data(); | 70 | 2 | const A* __restrict a_end = a_pos + size; | 71 | | | 72 | 12 | while (a_pos < a_end) { | 73 | 10 | *c_pos = Op::apply(*a_pos, *b_pos); | 74 | 10 | ++a_pos; | 75 | 10 | ++b_pos; | 76 | 10 | ++c_pos; | 77 | 10 | } | 78 | 2 | } |
_ZN5doris17NumComparisonImplIaaNS_8EqualsOpILNS_13PrimitiveTypeE3EEEE13vector_vectorERKNS_8PODArrayIaLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 65 | 611 | PaddedPODArray<UInt8>& c) { | 66 | 611 | size_t size = a.size(); | 67 | 611 | const A* __restrict a_pos = a.data(); | 68 | 611 | const B* __restrict b_pos = b.data(); | 69 | 611 | UInt8* __restrict c_pos = c.data(); | 70 | 611 | const A* __restrict a_end = a_pos + size; | 71 | | | 72 | 4.94k | while (a_pos < a_end) { | 73 | 4.33k | *c_pos = Op::apply(*a_pos, *b_pos); | 74 | 4.33k | ++a_pos; | 75 | 4.33k | ++b_pos; | 76 | 4.33k | ++c_pos; | 77 | 4.33k | } | 78 | 611 | } |
_ZN5doris17NumComparisonImplIssNS_8EqualsOpILNS_13PrimitiveTypeE4EEEE13vector_vectorERKNS_8PODArrayIsLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 65 | 121 | PaddedPODArray<UInt8>& c) { | 66 | 121 | size_t size = a.size(); | 67 | 121 | const A* __restrict a_pos = a.data(); | 68 | 121 | const B* __restrict b_pos = b.data(); | 69 | 121 | UInt8* __restrict c_pos = c.data(); | 70 | 121 | const A* __restrict a_end = a_pos + size; | 71 | | | 72 | 550 | while (a_pos < a_end) { | 73 | 429 | *c_pos = Op::apply(*a_pos, *b_pos); | 74 | 429 | ++a_pos; | 75 | 429 | ++b_pos; | 76 | 429 | ++c_pos; | 77 | 429 | } | 78 | 121 | } |
_ZN5doris17NumComparisonImplIiiNS_8EqualsOpILNS_13PrimitiveTypeE5EEEE13vector_vectorERKNS_8PODArrayIiLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 65 | 262 | PaddedPODArray<UInt8>& c) { | 66 | 262 | size_t size = a.size(); | 67 | 262 | const A* __restrict a_pos = a.data(); | 68 | 262 | const B* __restrict b_pos = b.data(); | 69 | 262 | UInt8* __restrict c_pos = c.data(); | 70 | 262 | const A* __restrict a_end = a_pos + size; | 71 | | | 72 | 2.06k | while (a_pos < a_end) { | 73 | 1.79k | *c_pos = Op::apply(*a_pos, *b_pos); | 74 | 1.79k | ++a_pos; | 75 | 1.79k | ++b_pos; | 76 | 1.79k | ++c_pos; | 77 | 1.79k | } | 78 | 262 | } |
_ZN5doris17NumComparisonImplIllNS_8EqualsOpILNS_13PrimitiveTypeE6EEEE13vector_vectorERKNS_8PODArrayIlLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 65 | 409 | PaddedPODArray<UInt8>& c) { | 66 | 409 | size_t size = a.size(); | 67 | 409 | const A* __restrict a_pos = a.data(); | 68 | 409 | const B* __restrict b_pos = b.data(); | 69 | 409 | UInt8* __restrict c_pos = c.data(); | 70 | 409 | const A* __restrict a_end = a_pos + size; | 71 | | | 72 | 12.1k | while (a_pos < a_end) { | 73 | 11.7k | *c_pos = Op::apply(*a_pos, *b_pos); | 74 | 11.7k | ++a_pos; | 75 | 11.7k | ++b_pos; | 76 | 11.7k | ++c_pos; | 77 | 11.7k | } | 78 | 409 | } |
_ZN5doris17NumComparisonImplInnNS_8EqualsOpILNS_13PrimitiveTypeE7EEEE13vector_vectorERKNS_8PODArrayInLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 65 | 72 | PaddedPODArray<UInt8>& c) { | 66 | 72 | size_t size = a.size(); | 67 | 72 | const A* __restrict a_pos = a.data(); | 68 | 72 | const B* __restrict b_pos = b.data(); | 69 | 72 | UInt8* __restrict c_pos = c.data(); | 70 | 72 | const A* __restrict a_end = a_pos + size; | 71 | | | 72 | 157 | while (a_pos < a_end) { | 73 | 85 | *c_pos = Op::apply(*a_pos, *b_pos); | 74 | 85 | ++a_pos; | 75 | 85 | ++b_pos; | 76 | 85 | ++c_pos; | 77 | 85 | } | 78 | 72 | } |
_ZN5doris17NumComparisonImplIjjNS_8EqualsOpILNS_13PrimitiveTypeE36EEEE13vector_vectorERKNS_8PODArrayIjLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 65 | 5 | PaddedPODArray<UInt8>& c) { | 66 | 5 | size_t size = a.size(); | 67 | 5 | const A* __restrict a_pos = a.data(); | 68 | 5 | const B* __restrict b_pos = b.data(); | 69 | 5 | UInt8* __restrict c_pos = c.data(); | 70 | 5 | const A* __restrict a_end = a_pos + size; | 71 | | | 72 | 10 | while (a_pos < a_end) { | 73 | 5 | *c_pos = Op::apply(*a_pos, *b_pos); | 74 | 5 | ++a_pos; | 75 | 5 | ++b_pos; | 76 | 5 | ++c_pos; | 77 | 5 | } | 78 | 5 | } |
_ZN5doris17NumComparisonImplIooNS_8EqualsOpILNS_13PrimitiveTypeE37EEEE13vector_vectorERKNS_8PODArrayIoLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 65 | 13 | PaddedPODArray<UInt8>& c) { | 66 | 13 | size_t size = a.size(); | 67 | 13 | const A* __restrict a_pos = a.data(); | 68 | 13 | const B* __restrict b_pos = b.data(); | 69 | 13 | UInt8* __restrict c_pos = c.data(); | 70 | 13 | const A* __restrict a_end = a_pos + size; | 71 | | | 72 | 26 | while (a_pos < a_end) { | 73 | 13 | *c_pos = Op::apply(*a_pos, *b_pos); | 74 | 13 | ++a_pos; | 75 | 13 | ++b_pos; | 76 | 13 | ++c_pos; | 77 | 13 | } | 78 | 13 | } |
_ZN5doris17NumComparisonImplIffNS_8EqualsOpILNS_13PrimitiveTypeE8EEEE13vector_vectorERKNS_8PODArrayIfLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 65 | 99 | PaddedPODArray<UInt8>& c) { | 66 | 99 | size_t size = a.size(); | 67 | 99 | const A* __restrict a_pos = a.data(); | 68 | 99 | const B* __restrict b_pos = b.data(); | 69 | 99 | UInt8* __restrict c_pos = c.data(); | 70 | 99 | const A* __restrict a_end = a_pos + size; | 71 | | | 72 | 217 | while (a_pos < a_end) { | 73 | 118 | *c_pos = Op::apply(*a_pos, *b_pos); | 74 | 118 | ++a_pos; | 75 | 118 | ++b_pos; | 76 | 118 | ++c_pos; | 77 | 118 | } | 78 | 99 | } |
_ZN5doris17NumComparisonImplIddNS_8EqualsOpILNS_13PrimitiveTypeE9EEEE13vector_vectorERKNS_8PODArrayIdLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 65 | 96 | PaddedPODArray<UInt8>& c) { | 66 | 96 | size_t size = a.size(); | 67 | 96 | const A* __restrict a_pos = a.data(); | 68 | 96 | const B* __restrict b_pos = b.data(); | 69 | 96 | UInt8* __restrict c_pos = c.data(); | 70 | 96 | const A* __restrict a_end = a_pos + size; | 71 | | | 72 | 213 | while (a_pos < a_end) { | 73 | 117 | *c_pos = Op::apply(*a_pos, *b_pos); | 74 | 117 | ++a_pos; | 75 | 117 | ++b_pos; | 76 | 117 | ++c_pos; | 77 | 117 | } | 78 | 96 | } |
_ZN5doris17NumComparisonImplIddNS_8EqualsOpILNS_13PrimitiveTypeE27EEEE13vector_vectorERKNS_8PODArrayIdLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 65 | 4 | PaddedPODArray<UInt8>& c) { | 66 | 4 | size_t size = a.size(); | 67 | 4 | const A* __restrict a_pos = a.data(); | 68 | 4 | const B* __restrict b_pos = b.data(); | 69 | 4 | UInt8* __restrict c_pos = c.data(); | 70 | 4 | const A* __restrict a_end = a_pos + size; | 71 | | | 72 | 8 | while (a_pos < a_end) { | 73 | 4 | *c_pos = Op::apply(*a_pos, *b_pos); | 74 | 4 | ++a_pos; | 75 | 4 | ++b_pos; | 76 | 4 | ++c_pos; | 77 | 4 | } | 78 | 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 | 65 | 39 | PaddedPODArray<UInt8>& c) { | 66 | 39 | size_t size = a.size(); | 67 | 39 | const A* __restrict a_pos = a.data(); | 68 | 39 | const B* __restrict b_pos = b.data(); | 69 | 39 | UInt8* __restrict c_pos = c.data(); | 70 | 39 | const A* __restrict a_end = a_pos + size; | 71 | | | 72 | 108 | while (a_pos < a_end) { | 73 | 69 | *c_pos = Op::apply(*a_pos, *b_pos); | 74 | 69 | ++a_pos; | 75 | 69 | ++b_pos; | 76 | 69 | ++c_pos; | 77 | 69 | } | 78 | 39 | } |
Unexecuted instantiation: _ZN5doris17NumComparisonImplINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEES3_NS_11NotEqualsOpILNS_13PrimitiveTypeE26EEEE13vector_vectorERKNS_8PODArrayIS3_Lm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESE_RNS8_IhLm4096ESB_Lm16ELm15EEE Unexecuted instantiation: _ZN5doris17NumComparisonImplINS_16TimestampTzValueES1_NS_11NotEqualsOpILNS_13PrimitiveTypeE42EEEE13vector_vectorERKNS_8PODArrayIS1_Lm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESC_RNS6_IhLm4096ES9_Lm16ELm15EEE _ZN5doris17NumComparisonImplIaaNS_11NotEqualsOpILNS_13PrimitiveTypeE3EEEE13vector_vectorERKNS_8PODArrayIaLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 65 | 56 | PaddedPODArray<UInt8>& c) { | 66 | 56 | size_t size = a.size(); | 67 | 56 | const A* __restrict a_pos = a.data(); | 68 | 56 | const B* __restrict b_pos = b.data(); | 69 | 56 | UInt8* __restrict c_pos = c.data(); | 70 | 56 | const A* __restrict a_end = a_pos + size; | 71 | | | 72 | 252 | while (a_pos < a_end) { | 73 | 196 | *c_pos = Op::apply(*a_pos, *b_pos); | 74 | 196 | ++a_pos; | 75 | 196 | ++b_pos; | 76 | 196 | ++c_pos; | 77 | 196 | } | 78 | 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 | 65 | 979 | PaddedPODArray<UInt8>& c) { | 66 | 979 | size_t size = a.size(); | 67 | 979 | const A* __restrict a_pos = a.data(); | 68 | 979 | const B* __restrict b_pos = b.data(); | 69 | 979 | UInt8* __restrict c_pos = c.data(); | 70 | 979 | const A* __restrict a_end = a_pos + size; | 71 | | | 72 | 1.67M | while (a_pos < a_end) { | 73 | 1.67M | *c_pos = Op::apply(*a_pos, *b_pos); | 74 | 1.67M | ++a_pos; | 75 | 1.67M | ++b_pos; | 76 | 1.67M | ++c_pos; | 77 | 1.67M | } | 78 | 979 | } |
_ZN5doris17NumComparisonImplIllNS_11NotEqualsOpILNS_13PrimitiveTypeE6EEEE13vector_vectorERKNS_8PODArrayIlLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 65 | 355 | PaddedPODArray<UInt8>& c) { | 66 | 355 | size_t size = a.size(); | 67 | 355 | const A* __restrict a_pos = a.data(); | 68 | 355 | const B* __restrict b_pos = b.data(); | 69 | 355 | UInt8* __restrict c_pos = c.data(); | 70 | 355 | const A* __restrict a_end = a_pos + size; | 71 | | | 72 | 24.0k | while (a_pos < a_end) { | 73 | 23.6k | *c_pos = Op::apply(*a_pos, *b_pos); | 74 | 23.6k | ++a_pos; | 75 | 23.6k | ++b_pos; | 76 | 23.6k | ++c_pos; | 77 | 23.6k | } | 78 | 355 | } |
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 | 65 | 20 | PaddedPODArray<UInt8>& c) { | 66 | 20 | size_t size = a.size(); | 67 | 20 | const A* __restrict a_pos = a.data(); | 68 | 20 | const B* __restrict b_pos = b.data(); | 69 | 20 | UInt8* __restrict c_pos = c.data(); | 70 | 20 | const A* __restrict a_end = a_pos + size; | 71 | | | 72 | 59 | while (a_pos < a_end) { | 73 | 39 | *c_pos = Op::apply(*a_pos, *b_pos); | 74 | 39 | ++a_pos; | 75 | 39 | ++b_pos; | 76 | 39 | ++c_pos; | 77 | 39 | } | 78 | 20 | } |
_ZN5doris17NumComparisonImplIddNS_11NotEqualsOpILNS_13PrimitiveTypeE9EEEE13vector_vectorERKNS_8PODArrayIdLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 65 | 20 | PaddedPODArray<UInt8>& c) { | 66 | 20 | size_t size = a.size(); | 67 | 20 | const A* __restrict a_pos = a.data(); | 68 | 20 | const B* __restrict b_pos = b.data(); | 69 | 20 | UInt8* __restrict c_pos = c.data(); | 70 | 20 | const A* __restrict a_end = a_pos + size; | 71 | | | 72 | 59 | while (a_pos < a_end) { | 73 | 39 | *c_pos = Op::apply(*a_pos, *b_pos); | 74 | 39 | ++a_pos; | 75 | 39 | ++b_pos; | 76 | 39 | ++c_pos; | 77 | 39 | } | 78 | 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 | 65 | 997 | PaddedPODArray<UInt8>& c) { | 66 | 997 | size_t size = a.size(); | 67 | 997 | const A* __restrict a_pos = a.data(); | 68 | 997 | const B* __restrict b_pos = b.data(); | 69 | 997 | UInt8* __restrict c_pos = c.data(); | 70 | 997 | const A* __restrict a_end = a_pos + size; | 71 | | | 72 | 4.89M | while (a_pos < a_end) { | 73 | 4.89M | *c_pos = Op::apply(*a_pos, *b_pos); | 74 | 4.89M | ++a_pos; | 75 | 4.89M | ++b_pos; | 76 | 4.89M | ++c_pos; | 77 | 4.89M | } | 78 | 997 | } |
Unexecuted instantiation: _ZN5doris17NumComparisonImplINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEES3_NS_9GreaterOpILNS_13PrimitiveTypeE26EEEE13vector_vectorERKNS_8PODArrayIS3_Lm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESE_RNS8_IhLm4096ESB_Lm16ELm15EEE _ZN5doris17NumComparisonImplINS_16TimestampTzValueES1_NS_9GreaterOpILNS_13PrimitiveTypeE42EEEE13vector_vectorERKNS_8PODArrayIS1_Lm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESC_RNS6_IhLm4096ES9_Lm16ELm15EEE Line | Count | Source | 65 | 1 | PaddedPODArray<UInt8>& c) { | 66 | 1 | size_t size = a.size(); | 67 | 1 | const A* __restrict a_pos = a.data(); | 68 | 1 | const B* __restrict b_pos = b.data(); | 69 | 1 | UInt8* __restrict c_pos = c.data(); | 70 | 1 | const A* __restrict a_end = a_pos + size; | 71 | | | 72 | 10 | while (a_pos < a_end) { | 73 | 9 | *c_pos = Op::apply(*a_pos, *b_pos); | 74 | 9 | ++a_pos; | 75 | 9 | ++b_pos; | 76 | 9 | ++c_pos; | 77 | 9 | } | 78 | 1 | } |
_ZN5doris17NumComparisonImplIaaNS_9GreaterOpILNS_13PrimitiveTypeE3EEEE13vector_vectorERKNS_8PODArrayIaLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 65 | 203 | PaddedPODArray<UInt8>& c) { | 66 | 203 | size_t size = a.size(); | 67 | 203 | const A* __restrict a_pos = a.data(); | 68 | 203 | const B* __restrict b_pos = b.data(); | 69 | 203 | UInt8* __restrict c_pos = c.data(); | 70 | 203 | const A* __restrict a_end = a_pos + size; | 71 | | | 72 | 2.06k | while (a_pos < a_end) { | 73 | 1.86k | *c_pos = Op::apply(*a_pos, *b_pos); | 74 | 1.86k | ++a_pos; | 75 | 1.86k | ++b_pos; | 76 | 1.86k | ++c_pos; | 77 | 1.86k | } | 78 | 203 | } |
_ZN5doris17NumComparisonImplIssNS_9GreaterOpILNS_13PrimitiveTypeE4EEEE13vector_vectorERKNS_8PODArrayIsLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 65 | 459 | PaddedPODArray<UInt8>& c) { | 66 | 459 | size_t size = a.size(); | 67 | 459 | const A* __restrict a_pos = a.data(); | 68 | 459 | const B* __restrict b_pos = b.data(); | 69 | 459 | UInt8* __restrict c_pos = c.data(); | 70 | 459 | const A* __restrict a_end = a_pos + size; | 71 | | | 72 | 4.19k | while (a_pos < a_end) { | 73 | 3.73k | *c_pos = Op::apply(*a_pos, *b_pos); | 74 | 3.73k | ++a_pos; | 75 | 3.73k | ++b_pos; | 76 | 3.73k | ++c_pos; | 77 | 3.73k | } | 78 | 459 | } |
_ZN5doris17NumComparisonImplIiiNS_9GreaterOpILNS_13PrimitiveTypeE5EEEE13vector_vectorERKNS_8PODArrayIiLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 65 | 2.00k | PaddedPODArray<UInt8>& c) { | 66 | 2.00k | size_t size = a.size(); | 67 | 2.00k | const A* __restrict a_pos = a.data(); | 68 | 2.00k | const B* __restrict b_pos = b.data(); | 69 | 2.00k | UInt8* __restrict c_pos = c.data(); | 70 | 2.00k | const A* __restrict a_end = a_pos + size; | 71 | | | 72 | 6.21M | while (a_pos < a_end) { | 73 | 6.21M | *c_pos = Op::apply(*a_pos, *b_pos); | 74 | 6.21M | ++a_pos; | 75 | 6.21M | ++b_pos; | 76 | 6.21M | ++c_pos; | 77 | 6.21M | } | 78 | 2.00k | } |
_ZN5doris17NumComparisonImplIllNS_9GreaterOpILNS_13PrimitiveTypeE6EEEE13vector_vectorERKNS_8PODArrayIlLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 65 | 148 | PaddedPODArray<UInt8>& c) { | 66 | 148 | size_t size = a.size(); | 67 | 148 | const A* __restrict a_pos = a.data(); | 68 | 148 | const B* __restrict b_pos = b.data(); | 69 | 148 | UInt8* __restrict c_pos = c.data(); | 70 | 148 | const A* __restrict a_end = a_pos + size; | 71 | | | 72 | 1.80k | while (a_pos < a_end) { | 73 | 1.65k | *c_pos = Op::apply(*a_pos, *b_pos); | 74 | 1.65k | ++a_pos; | 75 | 1.65k | ++b_pos; | 76 | 1.65k | ++c_pos; | 77 | 1.65k | } | 78 | 148 | } |
_ZN5doris17NumComparisonImplInnNS_9GreaterOpILNS_13PrimitiveTypeE7EEEE13vector_vectorERKNS_8PODArrayInLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 65 | 14 | PaddedPODArray<UInt8>& c) { | 66 | 14 | size_t size = a.size(); | 67 | 14 | const A* __restrict a_pos = a.data(); | 68 | 14 | const B* __restrict b_pos = b.data(); | 69 | 14 | UInt8* __restrict c_pos = c.data(); | 70 | 14 | const A* __restrict a_end = a_pos + size; | 71 | | | 72 | 92 | while (a_pos < a_end) { | 73 | 78 | *c_pos = Op::apply(*a_pos, *b_pos); | 74 | 78 | ++a_pos; | 75 | 78 | ++b_pos; | 76 | 78 | ++c_pos; | 77 | 78 | } | 78 | 14 | } |
_ZN5doris17NumComparisonImplIjjNS_9GreaterOpILNS_13PrimitiveTypeE36EEEE13vector_vectorERKNS_8PODArrayIjLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 65 | 1 | PaddedPODArray<UInt8>& c) { | 66 | 1 | size_t size = a.size(); | 67 | 1 | const A* __restrict a_pos = a.data(); | 68 | 1 | const B* __restrict b_pos = b.data(); | 69 | 1 | UInt8* __restrict c_pos = c.data(); | 70 | 1 | const A* __restrict a_end = a_pos + size; | 71 | | | 72 | 2 | while (a_pos < a_end) { | 73 | 1 | *c_pos = Op::apply(*a_pos, *b_pos); | 74 | 1 | ++a_pos; | 75 | 1 | ++b_pos; | 76 | 1 | ++c_pos; | 77 | 1 | } | 78 | 1 | } |
_ZN5doris17NumComparisonImplIooNS_9GreaterOpILNS_13PrimitiveTypeE37EEEE13vector_vectorERKNS_8PODArrayIoLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 65 | 1 | PaddedPODArray<UInt8>& c) { | 66 | 1 | size_t size = a.size(); | 67 | 1 | const A* __restrict a_pos = a.data(); | 68 | 1 | const B* __restrict b_pos = b.data(); | 69 | 1 | UInt8* __restrict c_pos = c.data(); | 70 | 1 | const A* __restrict a_end = a_pos + size; | 71 | | | 72 | 2 | while (a_pos < a_end) { | 73 | 1 | *c_pos = Op::apply(*a_pos, *b_pos); | 74 | 1 | ++a_pos; | 75 | 1 | ++b_pos; | 76 | 1 | ++c_pos; | 77 | 1 | } | 78 | 1 | } |
_ZN5doris17NumComparisonImplIffNS_9GreaterOpILNS_13PrimitiveTypeE8EEEE13vector_vectorERKNS_8PODArrayIfLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 65 | 20 | PaddedPODArray<UInt8>& c) { | 66 | 20 | size_t size = a.size(); | 67 | 20 | const A* __restrict a_pos = a.data(); | 68 | 20 | const B* __restrict b_pos = b.data(); | 69 | 20 | UInt8* __restrict c_pos = c.data(); | 70 | 20 | const A* __restrict a_end = a_pos + size; | 71 | | | 72 | 59 | while (a_pos < a_end) { | 73 | 39 | *c_pos = Op::apply(*a_pos, *b_pos); | 74 | 39 | ++a_pos; | 75 | 39 | ++b_pos; | 76 | 39 | ++c_pos; | 77 | 39 | } | 78 | 20 | } |
_ZN5doris17NumComparisonImplIddNS_9GreaterOpILNS_13PrimitiveTypeE9EEEE13vector_vectorERKNS_8PODArrayIdLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 65 | 42 | PaddedPODArray<UInt8>& c) { | 66 | 42 | size_t size = a.size(); | 67 | 42 | const A* __restrict a_pos = a.data(); | 68 | 42 | const B* __restrict b_pos = b.data(); | 69 | 42 | UInt8* __restrict c_pos = c.data(); | 70 | 42 | const A* __restrict a_end = a_pos + size; | 71 | | | 72 | 140 | while (a_pos < a_end) { | 73 | 98 | *c_pos = Op::apply(*a_pos, *b_pos); | 74 | 98 | ++a_pos; | 75 | 98 | ++b_pos; | 76 | 98 | ++c_pos; | 77 | 98 | } | 78 | 42 | } |
Unexecuted instantiation: _ZN5doris17NumComparisonImplIddNS_9GreaterOpILNS_13PrimitiveTypeE27EEEE13vector_vectorERKNS_8PODArrayIdLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Unexecuted instantiation: _ZN5doris17NumComparisonImplIhhNS_17GreaterOrEqualsOpILNS_13PrimitiveTypeE2EEEE13vector_vectorERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RS9_ _ZN5doris17NumComparisonImplINS_11DateV2ValueINS_15DateV2ValueTypeEEES3_NS_17GreaterOrEqualsOpILNS_13PrimitiveTypeE25EEEE13vector_vectorERKNS_8PODArrayIS3_Lm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESE_RNS8_IhLm4096ESB_Lm16ELm15EEE Line | Count | Source | 65 | 7 | PaddedPODArray<UInt8>& c) { | 66 | 7 | size_t size = a.size(); | 67 | 7 | const A* __restrict a_pos = a.data(); | 68 | 7 | const B* __restrict b_pos = b.data(); | 69 | 7 | UInt8* __restrict c_pos = c.data(); | 70 | 7 | const A* __restrict a_end = a_pos + size; | 71 | | | 72 | 38 | while (a_pos < a_end) { | 73 | 31 | *c_pos = Op::apply(*a_pos, *b_pos); | 74 | 31 | ++a_pos; | 75 | 31 | ++b_pos; | 76 | 31 | ++c_pos; | 77 | 31 | } | 78 | 7 | } |
_ZN5doris17NumComparisonImplINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEES3_NS_17GreaterOrEqualsOpILNS_13PrimitiveTypeE26EEEE13vector_vectorERKNS_8PODArrayIS3_Lm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESE_RNS8_IhLm4096ESB_Lm16ELm15EEE Line | Count | Source | 65 | 6 | PaddedPODArray<UInt8>& c) { | 66 | 6 | size_t size = a.size(); | 67 | 6 | const A* __restrict a_pos = a.data(); | 68 | 6 | const B* __restrict b_pos = b.data(); | 69 | 6 | UInt8* __restrict c_pos = c.data(); | 70 | 6 | const A* __restrict a_end = a_pos + size; | 71 | | | 72 | 70 | while (a_pos < a_end) { | 73 | 64 | *c_pos = Op::apply(*a_pos, *b_pos); | 74 | 64 | ++a_pos; | 75 | 64 | ++b_pos; | 76 | 64 | ++c_pos; | 77 | 64 | } | 78 | 6 | } |
_ZN5doris17NumComparisonImplINS_16TimestampTzValueES1_NS_17GreaterOrEqualsOpILNS_13PrimitiveTypeE42EEEE13vector_vectorERKNS_8PODArrayIS1_Lm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESC_RNS6_IhLm4096ES9_Lm16ELm15EEE Line | Count | Source | 65 | 1 | PaddedPODArray<UInt8>& c) { | 66 | 1 | size_t size = a.size(); | 67 | 1 | const A* __restrict a_pos = a.data(); | 68 | 1 | const B* __restrict b_pos = b.data(); | 69 | 1 | UInt8* __restrict c_pos = c.data(); | 70 | 1 | const A* __restrict a_end = a_pos + size; | 71 | | | 72 | 10 | while (a_pos < a_end) { | 73 | 9 | *c_pos = Op::apply(*a_pos, *b_pos); | 74 | 9 | ++a_pos; | 75 | 9 | ++b_pos; | 76 | 9 | ++c_pos; | 77 | 9 | } | 78 | 1 | } |
Unexecuted instantiation: _ZN5doris17NumComparisonImplIaaNS_17GreaterOrEqualsOpILNS_13PrimitiveTypeE3EEEE13vector_vectorERKNS_8PODArrayIaLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Unexecuted instantiation: _ZN5doris17NumComparisonImplIssNS_17GreaterOrEqualsOpILNS_13PrimitiveTypeE4EEEE13vector_vectorERKNS_8PODArrayIsLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE _ZN5doris17NumComparisonImplIiiNS_17GreaterOrEqualsOpILNS_13PrimitiveTypeE5EEEE13vector_vectorERKNS_8PODArrayIiLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 65 | 5 | PaddedPODArray<UInt8>& c) { | 66 | 5 | size_t size = a.size(); | 67 | 5 | const A* __restrict a_pos = a.data(); | 68 | 5 | const B* __restrict b_pos = b.data(); | 69 | 5 | UInt8* __restrict c_pos = c.data(); | 70 | 5 | const A* __restrict a_end = a_pos + size; | 71 | | | 72 | 21 | while (a_pos < a_end) { | 73 | 16 | *c_pos = Op::apply(*a_pos, *b_pos); | 74 | 16 | ++a_pos; | 75 | 16 | ++b_pos; | 76 | 16 | ++c_pos; | 77 | 16 | } | 78 | 5 | } |
_ZN5doris17NumComparisonImplIllNS_17GreaterOrEqualsOpILNS_13PrimitiveTypeE6EEEE13vector_vectorERKNS_8PODArrayIlLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 65 | 8 | PaddedPODArray<UInt8>& c) { | 66 | 8 | size_t size = a.size(); | 67 | 8 | const A* __restrict a_pos = a.data(); | 68 | 8 | const B* __restrict b_pos = b.data(); | 69 | 8 | UInt8* __restrict c_pos = c.data(); | 70 | 8 | const A* __restrict a_end = a_pos + size; | 71 | | | 72 | 62 | while (a_pos < a_end) { | 73 | 54 | *c_pos = Op::apply(*a_pos, *b_pos); | 74 | 54 | ++a_pos; | 75 | 54 | ++b_pos; | 76 | 54 | ++c_pos; | 77 | 54 | } | 78 | 8 | } |
Unexecuted instantiation: _ZN5doris17NumComparisonImplInnNS_17GreaterOrEqualsOpILNS_13PrimitiveTypeE7EEEE13vector_vectorERKNS_8PODArrayInLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE _ZN5doris17NumComparisonImplIjjNS_17GreaterOrEqualsOpILNS_13PrimitiveTypeE36EEEE13vector_vectorERKNS_8PODArrayIjLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 65 | 1 | PaddedPODArray<UInt8>& c) { | 66 | 1 | size_t size = a.size(); | 67 | 1 | const A* __restrict a_pos = a.data(); | 68 | 1 | const B* __restrict b_pos = b.data(); | 69 | 1 | UInt8* __restrict c_pos = c.data(); | 70 | 1 | const A* __restrict a_end = a_pos + size; | 71 | | | 72 | 2 | while (a_pos < a_end) { | 73 | 1 | *c_pos = Op::apply(*a_pos, *b_pos); | 74 | 1 | ++a_pos; | 75 | 1 | ++b_pos; | 76 | 1 | ++c_pos; | 77 | 1 | } | 78 | 1 | } |
_ZN5doris17NumComparisonImplIooNS_17GreaterOrEqualsOpILNS_13PrimitiveTypeE37EEEE13vector_vectorERKNS_8PODArrayIoLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 65 | 1 | PaddedPODArray<UInt8>& c) { | 66 | 1 | size_t size = a.size(); | 67 | 1 | const A* __restrict a_pos = a.data(); | 68 | 1 | const B* __restrict b_pos = b.data(); | 69 | 1 | UInt8* __restrict c_pos = c.data(); | 70 | 1 | const A* __restrict a_end = a_pos + size; | 71 | | | 72 | 2 | while (a_pos < a_end) { | 73 | 1 | *c_pos = Op::apply(*a_pos, *b_pos); | 74 | 1 | ++a_pos; | 75 | 1 | ++b_pos; | 76 | 1 | ++c_pos; | 77 | 1 | } | 78 | 1 | } |
_ZN5doris17NumComparisonImplIffNS_17GreaterOrEqualsOpILNS_13PrimitiveTypeE8EEEE13vector_vectorERKNS_8PODArrayIfLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 65 | 20 | PaddedPODArray<UInt8>& c) { | 66 | 20 | size_t size = a.size(); | 67 | 20 | const A* __restrict a_pos = a.data(); | 68 | 20 | const B* __restrict b_pos = b.data(); | 69 | 20 | UInt8* __restrict c_pos = c.data(); | 70 | 20 | const A* __restrict a_end = a_pos + size; | 71 | | | 72 | 59 | while (a_pos < a_end) { | 73 | 39 | *c_pos = Op::apply(*a_pos, *b_pos); | 74 | 39 | ++a_pos; | 75 | 39 | ++b_pos; | 76 | 39 | ++c_pos; | 77 | 39 | } | 78 | 20 | } |
_ZN5doris17NumComparisonImplIddNS_17GreaterOrEqualsOpILNS_13PrimitiveTypeE9EEEE13vector_vectorERKNS_8PODArrayIdLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 65 | 35 | PaddedPODArray<UInt8>& c) { | 66 | 35 | size_t size = a.size(); | 67 | 35 | const A* __restrict a_pos = a.data(); | 68 | 35 | const B* __restrict b_pos = b.data(); | 69 | 35 | UInt8* __restrict c_pos = c.data(); | 70 | 35 | const A* __restrict a_end = a_pos + size; | 71 | | | 72 | 142 | while (a_pos < a_end) { | 73 | 107 | *c_pos = Op::apply(*a_pos, *b_pos); | 74 | 107 | ++a_pos; | 75 | 107 | ++b_pos; | 76 | 107 | ++c_pos; | 77 | 107 | } | 78 | 35 | } |
Unexecuted instantiation: _ZN5doris17NumComparisonImplIddNS_17GreaterOrEqualsOpILNS_13PrimitiveTypeE27EEEE13vector_vectorERKNS_8PODArrayIdLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE _ZN5doris17NumComparisonImplIhhNS_6LessOpILNS_13PrimitiveTypeE2EEEE13vector_vectorERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RS9_ Line | Count | Source | 65 | 78 | PaddedPODArray<UInt8>& c) { | 66 | 78 | size_t size = a.size(); | 67 | 78 | const A* __restrict a_pos = a.data(); | 68 | 78 | const B* __restrict b_pos = b.data(); | 69 | 78 | UInt8* __restrict c_pos = c.data(); | 70 | 78 | const A* __restrict a_end = a_pos + size; | 71 | | | 72 | 156 | while (a_pos < a_end) { | 73 | 78 | *c_pos = Op::apply(*a_pos, *b_pos); | 74 | 78 | ++a_pos; | 75 | 78 | ++b_pos; | 76 | 78 | ++c_pos; | 77 | 78 | } | 78 | 78 | } |
_ZN5doris17NumComparisonImplINS_11DateV2ValueINS_15DateV2ValueTypeEEES3_NS_6LessOpILNS_13PrimitiveTypeE25EEEE13vector_vectorERKNS_8PODArrayIS3_Lm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESE_RNS8_IhLm4096ESB_Lm16ELm15EEE Line | Count | Source | 65 | 1.67k | PaddedPODArray<UInt8>& c) { | 66 | 1.67k | size_t size = a.size(); | 67 | 1.67k | const A* __restrict a_pos = a.data(); | 68 | 1.67k | const B* __restrict b_pos = b.data(); | 69 | 1.67k | UInt8* __restrict c_pos = c.data(); | 70 | 1.67k | const A* __restrict a_end = a_pos + size; | 71 | | | 72 | 1.80M | while (a_pos < a_end) { | 73 | 1.79M | *c_pos = Op::apply(*a_pos, *b_pos); | 74 | 1.79M | ++a_pos; | 75 | 1.79M | ++b_pos; | 76 | 1.79M | ++c_pos; | 77 | 1.79M | } | 78 | 1.67k | } |
_ZN5doris17NumComparisonImplINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEES3_NS_6LessOpILNS_13PrimitiveTypeE26EEEE13vector_vectorERKNS_8PODArrayIS3_Lm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESE_RNS8_IhLm4096ESB_Lm16ELm15EEE Line | Count | Source | 65 | 241 | PaddedPODArray<UInt8>& c) { | 66 | 241 | size_t size = a.size(); | 67 | 241 | const A* __restrict a_pos = a.data(); | 68 | 241 | const B* __restrict b_pos = b.data(); | 69 | 241 | UInt8* __restrict c_pos = c.data(); | 70 | 241 | const A* __restrict a_end = a_pos + size; | 71 | | | 72 | 482 | while (a_pos < a_end) { | 73 | 241 | *c_pos = Op::apply(*a_pos, *b_pos); | 74 | 241 | ++a_pos; | 75 | 241 | ++b_pos; | 76 | 241 | ++c_pos; | 77 | 241 | } | 78 | 241 | } |
_ZN5doris17NumComparisonImplINS_16TimestampTzValueES1_NS_6LessOpILNS_13PrimitiveTypeE42EEEE13vector_vectorERKNS_8PODArrayIS1_Lm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESC_RNS6_IhLm4096ES9_Lm16ELm15EEE Line | Count | Source | 65 | 1 | PaddedPODArray<UInt8>& c) { | 66 | 1 | size_t size = a.size(); | 67 | 1 | const A* __restrict a_pos = a.data(); | 68 | 1 | const B* __restrict b_pos = b.data(); | 69 | 1 | UInt8* __restrict c_pos = c.data(); | 70 | 1 | const A* __restrict a_end = a_pos + size; | 71 | | | 72 | 10 | while (a_pos < a_end) { | 73 | 9 | *c_pos = Op::apply(*a_pos, *b_pos); | 74 | 9 | ++a_pos; | 75 | 9 | ++b_pos; | 76 | 9 | ++c_pos; | 77 | 9 | } | 78 | 1 | } |
_ZN5doris17NumComparisonImplIaaNS_6LessOpILNS_13PrimitiveTypeE3EEEE13vector_vectorERKNS_8PODArrayIaLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 65 | 566 | PaddedPODArray<UInt8>& c) { | 66 | 566 | size_t size = a.size(); | 67 | 566 | const A* __restrict a_pos = a.data(); | 68 | 566 | const B* __restrict b_pos = b.data(); | 69 | 566 | UInt8* __restrict c_pos = c.data(); | 70 | 566 | const A* __restrict a_end = a_pos + size; | 71 | | | 72 | 4.44k | while (a_pos < a_end) { | 73 | 3.87k | *c_pos = Op::apply(*a_pos, *b_pos); | 74 | 3.87k | ++a_pos; | 75 | 3.87k | ++b_pos; | 76 | 3.87k | ++c_pos; | 77 | 3.87k | } | 78 | 566 | } |
_ZN5doris17NumComparisonImplIssNS_6LessOpILNS_13PrimitiveTypeE4EEEE13vector_vectorERKNS_8PODArrayIsLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 65 | 123 | PaddedPODArray<UInt8>& c) { | 66 | 123 | size_t size = a.size(); | 67 | 123 | const A* __restrict a_pos = a.data(); | 68 | 123 | const B* __restrict b_pos = b.data(); | 69 | 123 | UInt8* __restrict c_pos = c.data(); | 70 | 123 | const A* __restrict a_end = a_pos + size; | 71 | | | 72 | 247 | while (a_pos < a_end) { | 73 | 124 | *c_pos = Op::apply(*a_pos, *b_pos); | 74 | 124 | ++a_pos; | 75 | 124 | ++b_pos; | 76 | 124 | ++c_pos; | 77 | 124 | } | 78 | 123 | } |
_ZN5doris17NumComparisonImplIiiNS_6LessOpILNS_13PrimitiveTypeE5EEEE13vector_vectorERKNS_8PODArrayIiLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 65 | 168 | PaddedPODArray<UInt8>& c) { | 66 | 168 | size_t size = a.size(); | 67 | 168 | const A* __restrict a_pos = a.data(); | 68 | 168 | const B* __restrict b_pos = b.data(); | 69 | 168 | UInt8* __restrict c_pos = c.data(); | 70 | 168 | const A* __restrict a_end = a_pos + size; | 71 | | | 72 | 822 | while (a_pos < a_end) { | 73 | 654 | *c_pos = Op::apply(*a_pos, *b_pos); | 74 | 654 | ++a_pos; | 75 | 654 | ++b_pos; | 76 | 654 | ++c_pos; | 77 | 654 | } | 78 | 168 | } |
_ZN5doris17NumComparisonImplIllNS_6LessOpILNS_13PrimitiveTypeE6EEEE13vector_vectorERKNS_8PODArrayIlLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 65 | 246 | PaddedPODArray<UInt8>& c) { | 66 | 246 | size_t size = a.size(); | 67 | 246 | const A* __restrict a_pos = a.data(); | 68 | 246 | const B* __restrict b_pos = b.data(); | 69 | 246 | UInt8* __restrict c_pos = c.data(); | 70 | 246 | const A* __restrict a_end = a_pos + size; | 71 | | | 72 | 5.74k | while (a_pos < a_end) { | 73 | 5.50k | *c_pos = Op::apply(*a_pos, *b_pos); | 74 | 5.50k | ++a_pos; | 75 | 5.50k | ++b_pos; | 76 | 5.50k | ++c_pos; | 77 | 5.50k | } | 78 | 246 | } |
_ZN5doris17NumComparisonImplInnNS_6LessOpILNS_13PrimitiveTypeE7EEEE13vector_vectorERKNS_8PODArrayInLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 65 | 143 | PaddedPODArray<UInt8>& c) { | 66 | 143 | size_t size = a.size(); | 67 | 143 | const A* __restrict a_pos = a.data(); | 68 | 143 | const B* __restrict b_pos = b.data(); | 69 | 143 | UInt8* __restrict c_pos = c.data(); | 70 | 143 | const A* __restrict a_end = a_pos + size; | 71 | | | 72 | 393 | while (a_pos < a_end) { | 73 | 250 | *c_pos = Op::apply(*a_pos, *b_pos); | 74 | 250 | ++a_pos; | 75 | 250 | ++b_pos; | 76 | 250 | ++c_pos; | 77 | 250 | } | 78 | 143 | } |
_ZN5doris17NumComparisonImplIjjNS_6LessOpILNS_13PrimitiveTypeE36EEEE13vector_vectorERKNS_8PODArrayIjLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 65 | 16 | PaddedPODArray<UInt8>& c) { | 66 | 16 | size_t size = a.size(); | 67 | 16 | const A* __restrict a_pos = a.data(); | 68 | 16 | const B* __restrict b_pos = b.data(); | 69 | 16 | UInt8* __restrict c_pos = c.data(); | 70 | 16 | const A* __restrict a_end = a_pos + size; | 71 | | | 72 | 32 | while (a_pos < a_end) { | 73 | 16 | *c_pos = Op::apply(*a_pos, *b_pos); | 74 | 16 | ++a_pos; | 75 | 16 | ++b_pos; | 76 | 16 | ++c_pos; | 77 | 16 | } | 78 | 16 | } |
_ZN5doris17NumComparisonImplIooNS_6LessOpILNS_13PrimitiveTypeE37EEEE13vector_vectorERKNS_8PODArrayIoLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 65 | 16 | PaddedPODArray<UInt8>& c) { | 66 | 16 | size_t size = a.size(); | 67 | 16 | const A* __restrict a_pos = a.data(); | 68 | 16 | const B* __restrict b_pos = b.data(); | 69 | 16 | UInt8* __restrict c_pos = c.data(); | 70 | 16 | const A* __restrict a_end = a_pos + size; | 71 | | | 72 | 32 | while (a_pos < a_end) { | 73 | 16 | *c_pos = Op::apply(*a_pos, *b_pos); | 74 | 16 | ++a_pos; | 75 | 16 | ++b_pos; | 76 | 16 | ++c_pos; | 77 | 16 | } | 78 | 16 | } |
_ZN5doris17NumComparisonImplIffNS_6LessOpILNS_13PrimitiveTypeE8EEEE13vector_vectorERKNS_8PODArrayIfLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 65 | 136 | PaddedPODArray<UInt8>& c) { | 66 | 136 | size_t size = a.size(); | 67 | 136 | const A* __restrict a_pos = a.data(); | 68 | 136 | const B* __restrict b_pos = b.data(); | 69 | 136 | UInt8* __restrict c_pos = c.data(); | 70 | 136 | const A* __restrict a_end = a_pos + size; | 71 | | | 72 | 291 | while (a_pos < a_end) { | 73 | 155 | *c_pos = Op::apply(*a_pos, *b_pos); | 74 | 155 | ++a_pos; | 75 | 155 | ++b_pos; | 76 | 155 | ++c_pos; | 77 | 155 | } | 78 | 136 | } |
_ZN5doris17NumComparisonImplIddNS_6LessOpILNS_13PrimitiveTypeE9EEEE13vector_vectorERKNS_8PODArrayIdLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 65 | 148 | PaddedPODArray<UInt8>& c) { | 66 | 148 | size_t size = a.size(); | 67 | 148 | const A* __restrict a_pos = a.data(); | 68 | 148 | const B* __restrict b_pos = b.data(); | 69 | 148 | UInt8* __restrict c_pos = c.data(); | 70 | 148 | const A* __restrict a_end = a_pos + size; | 71 | | | 72 | 328 | while (a_pos < a_end) { | 73 | 180 | *c_pos = Op::apply(*a_pos, *b_pos); | 74 | 180 | ++a_pos; | 75 | 180 | ++b_pos; | 76 | 180 | ++c_pos; | 77 | 180 | } | 78 | 148 | } |
Unexecuted instantiation: _ZN5doris17NumComparisonImplIddNS_6LessOpILNS_13PrimitiveTypeE27EEEE13vector_vectorERKNS_8PODArrayIdLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Unexecuted instantiation: _ZN5doris17NumComparisonImplIhhNS_14LessOrEqualsOpILNS_13PrimitiveTypeE2EEEE13vector_vectorERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RS9_ _ZN5doris17NumComparisonImplINS_11DateV2ValueINS_15DateV2ValueTypeEEES3_NS_14LessOrEqualsOpILNS_13PrimitiveTypeE25EEEE13vector_vectorERKNS_8PODArrayIS3_Lm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESE_RNS8_IhLm4096ESB_Lm16ELm15EEE Line | Count | Source | 65 | 446 | PaddedPODArray<UInt8>& c) { | 66 | 446 | size_t size = a.size(); | 67 | 446 | const A* __restrict a_pos = a.data(); | 68 | 446 | const B* __restrict b_pos = b.data(); | 69 | 446 | UInt8* __restrict c_pos = c.data(); | 70 | 446 | const A* __restrict a_end = a_pos + size; | 71 | | | 72 | 6.51k | while (a_pos < a_end) { | 73 | 6.07k | *c_pos = Op::apply(*a_pos, *b_pos); | 74 | 6.07k | ++a_pos; | 75 | 6.07k | ++b_pos; | 76 | 6.07k | ++c_pos; | 77 | 6.07k | } | 78 | 446 | } |
Unexecuted instantiation: _ZN5doris17NumComparisonImplINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEES3_NS_14LessOrEqualsOpILNS_13PrimitiveTypeE26EEEE13vector_vectorERKNS_8PODArrayIS3_Lm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESE_RNS8_IhLm4096ESB_Lm16ELm15EEE _ZN5doris17NumComparisonImplINS_16TimestampTzValueES1_NS_14LessOrEqualsOpILNS_13PrimitiveTypeE42EEEE13vector_vectorERKNS_8PODArrayIS1_Lm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESC_RNS6_IhLm4096ES9_Lm16ELm15EEE Line | Count | Source | 65 | 1 | PaddedPODArray<UInt8>& c) { | 66 | 1 | size_t size = a.size(); | 67 | 1 | const A* __restrict a_pos = a.data(); | 68 | 1 | const B* __restrict b_pos = b.data(); | 69 | 1 | UInt8* __restrict c_pos = c.data(); | 70 | 1 | const A* __restrict a_end = a_pos + size; | 71 | | | 72 | 10 | while (a_pos < a_end) { | 73 | 9 | *c_pos = Op::apply(*a_pos, *b_pos); | 74 | 9 | ++a_pos; | 75 | 9 | ++b_pos; | 76 | 9 | ++c_pos; | 77 | 9 | } | 78 | 1 | } |
_ZN5doris17NumComparisonImplIaaNS_14LessOrEqualsOpILNS_13PrimitiveTypeE3EEEE13vector_vectorERKNS_8PODArrayIaLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 65 | 1 | PaddedPODArray<UInt8>& c) { | 66 | 1 | size_t size = a.size(); | 67 | 1 | const A* __restrict a_pos = a.data(); | 68 | 1 | const B* __restrict b_pos = b.data(); | 69 | 1 | UInt8* __restrict c_pos = c.data(); | 70 | 1 | const A* __restrict a_end = a_pos + size; | 71 | | | 72 | 5 | while (a_pos < a_end) { | 73 | 4 | *c_pos = Op::apply(*a_pos, *b_pos); | 74 | 4 | ++a_pos; | 75 | 4 | ++b_pos; | 76 | 4 | ++c_pos; | 77 | 4 | } | 78 | 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 | 65 | 38 | PaddedPODArray<UInt8>& c) { | 66 | 38 | size_t size = a.size(); | 67 | 38 | const A* __restrict a_pos = a.data(); | 68 | 38 | const B* __restrict b_pos = b.data(); | 69 | 38 | UInt8* __restrict c_pos = c.data(); | 70 | 38 | const A* __restrict a_end = a_pos + size; | 71 | | | 72 | 939 | while (a_pos < a_end) { | 73 | 901 | *c_pos = Op::apply(*a_pos, *b_pos); | 74 | 901 | ++a_pos; | 75 | 901 | ++b_pos; | 76 | 901 | ++c_pos; | 77 | 901 | } | 78 | 38 | } |
_ZN5doris17NumComparisonImplIllNS_14LessOrEqualsOpILNS_13PrimitiveTypeE6EEEE13vector_vectorERKNS_8PODArrayIlLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 65 | 77 | PaddedPODArray<UInt8>& c) { | 66 | 77 | size_t size = a.size(); | 67 | 77 | const A* __restrict a_pos = a.data(); | 68 | 77 | const B* __restrict b_pos = b.data(); | 69 | 77 | UInt8* __restrict c_pos = c.data(); | 70 | 77 | const A* __restrict a_end = a_pos + size; | 71 | | | 72 | 333 | while (a_pos < a_end) { | 73 | 256 | *c_pos = Op::apply(*a_pos, *b_pos); | 74 | 256 | ++a_pos; | 75 | 256 | ++b_pos; | 76 | 256 | ++c_pos; | 77 | 256 | } | 78 | 77 | } |
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 | 65 | 20 | PaddedPODArray<UInt8>& c) { | 66 | 20 | size_t size = a.size(); | 67 | 20 | const A* __restrict a_pos = a.data(); | 68 | 20 | const B* __restrict b_pos = b.data(); | 69 | 20 | UInt8* __restrict c_pos = c.data(); | 70 | 20 | const A* __restrict a_end = a_pos + size; | 71 | | | 72 | 59 | while (a_pos < a_end) { | 73 | 39 | *c_pos = Op::apply(*a_pos, *b_pos); | 74 | 39 | ++a_pos; | 75 | 39 | ++b_pos; | 76 | 39 | ++c_pos; | 77 | 39 | } | 78 | 20 | } |
_ZN5doris17NumComparisonImplIddNS_14LessOrEqualsOpILNS_13PrimitiveTypeE9EEEE13vector_vectorERKNS_8PODArrayIdLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 65 | 20 | PaddedPODArray<UInt8>& c) { | 66 | 20 | size_t size = a.size(); | 67 | 20 | const A* __restrict a_pos = a.data(); | 68 | 20 | const B* __restrict b_pos = b.data(); | 69 | 20 | UInt8* __restrict c_pos = c.data(); | 70 | 20 | const A* __restrict a_end = a_pos + size; | 71 | | | 72 | 59 | while (a_pos < a_end) { | 73 | 39 | *c_pos = Op::apply(*a_pos, *b_pos); | 74 | 39 | ++a_pos; | 75 | 39 | ++b_pos; | 76 | 39 | ++c_pos; | 77 | 39 | } | 78 | 20 | } |
Unexecuted instantiation: _ZN5doris17NumComparisonImplIddNS_14LessOrEqualsOpILNS_13PrimitiveTypeE27EEEE13vector_vectorERKNS_8PODArrayIdLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE |
79 | | |
80 | | static void NO_INLINE vector_constant(const PaddedPODArray<A>& a, B b, |
81 | 165k | PaddedPODArray<UInt8>& c) { |
82 | 165k | size_t size = a.size(); |
83 | 165k | const A* __restrict a_pos = a.data(); |
84 | 165k | UInt8* __restrict c_pos = c.data(); |
85 | 165k | const A* __restrict a_end = a_pos + size; |
86 | | |
87 | 136M | while (a_pos < a_end) { |
88 | 136M | *c_pos = Op::apply(*a_pos, b); |
89 | 136M | ++a_pos; |
90 | 136M | ++c_pos; |
91 | 136M | } |
92 | 165k | } _ZN5doris17NumComparisonImplIhhNS_8EqualsOpILNS_13PrimitiveTypeE2EEEE15vector_constantERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEhRS9_ Line | Count | Source | 81 | 1.54k | PaddedPODArray<UInt8>& c) { | 82 | 1.54k | size_t size = a.size(); | 83 | 1.54k | const A* __restrict a_pos = a.data(); | 84 | 1.54k | UInt8* __restrict c_pos = c.data(); | 85 | 1.54k | const A* __restrict a_end = a_pos + size; | 86 | | | 87 | 5.03k | while (a_pos < a_end) { | 88 | 3.49k | *c_pos = Op::apply(*a_pos, b); | 89 | 3.49k | ++a_pos; | 90 | 3.49k | ++c_pos; | 91 | 3.49k | } | 92 | 1.54k | } |
_ZN5doris17NumComparisonImplINS_11DateV2ValueINS_15DateV2ValueTypeEEES3_NS_8EqualsOpILNS_13PrimitiveTypeE25EEEE15vector_constantERKNS_8PODArrayIS3_Lm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEES3_RNS8_IhLm4096ESB_Lm16ELm15EEE Line | Count | Source | 81 | 1.13k | PaddedPODArray<UInt8>& c) { | 82 | 1.13k | size_t size = a.size(); | 83 | 1.13k | const A* __restrict a_pos = a.data(); | 84 | 1.13k | UInt8* __restrict c_pos = c.data(); | 85 | 1.13k | const A* __restrict a_end = a_pos + size; | 86 | | | 87 | 206k | while (a_pos < a_end) { | 88 | 205k | *c_pos = Op::apply(*a_pos, b); | 89 | 205k | ++a_pos; | 90 | 205k | ++c_pos; | 91 | 205k | } | 92 | 1.13k | } |
_ZN5doris17NumComparisonImplINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEES3_NS_8EqualsOpILNS_13PrimitiveTypeE26EEEE15vector_constantERKNS_8PODArrayIS3_Lm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEES3_RNS8_IhLm4096ESB_Lm16ELm15EEE Line | Count | Source | 81 | 399 | PaddedPODArray<UInt8>& c) { | 82 | 399 | size_t size = a.size(); | 83 | 399 | const A* __restrict a_pos = a.data(); | 84 | 399 | UInt8* __restrict c_pos = c.data(); | 85 | 399 | const A* __restrict a_end = a_pos + size; | 86 | | | 87 | 101k | while (a_pos < a_end) { | 88 | 100k | *c_pos = Op::apply(*a_pos, b); | 89 | 100k | ++a_pos; | 90 | 100k | ++c_pos; | 91 | 100k | } | 92 | 399 | } |
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 | 81 | 4.72k | PaddedPODArray<UInt8>& c) { | 82 | 4.72k | size_t size = a.size(); | 83 | 4.72k | const A* __restrict a_pos = a.data(); | 84 | 4.72k | UInt8* __restrict c_pos = c.data(); | 85 | 4.72k | const A* __restrict a_end = a_pos + size; | 86 | | | 87 | 9.24M | while (a_pos < a_end) { | 88 | 9.24M | *c_pos = Op::apply(*a_pos, b); | 89 | 9.24M | ++a_pos; | 90 | 9.24M | ++c_pos; | 91 | 9.24M | } | 92 | 4.72k | } |
_ZN5doris17NumComparisonImplIssNS_8EqualsOpILNS_13PrimitiveTypeE4EEEE15vector_constantERKNS_8PODArrayIsLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEsRNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 81 | 1.21k | PaddedPODArray<UInt8>& c) { | 82 | 1.21k | size_t size = a.size(); | 83 | 1.21k | const A* __restrict a_pos = a.data(); | 84 | 1.21k | UInt8* __restrict c_pos = c.data(); | 85 | 1.21k | const A* __restrict a_end = a_pos + size; | 86 | | | 87 | 127k | while (a_pos < a_end) { | 88 | 126k | *c_pos = Op::apply(*a_pos, b); | 89 | 126k | ++a_pos; | 90 | 126k | ++c_pos; | 91 | 126k | } | 92 | 1.21k | } |
_ZN5doris17NumComparisonImplIiiNS_8EqualsOpILNS_13PrimitiveTypeE5EEEE15vector_constantERKNS_8PODArrayIiLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEiRNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 81 | 31.1k | PaddedPODArray<UInt8>& c) { | 82 | 31.1k | size_t size = a.size(); | 83 | 31.1k | const A* __restrict a_pos = a.data(); | 84 | 31.1k | UInt8* __restrict c_pos = c.data(); | 85 | 31.1k | const A* __restrict a_end = a_pos + size; | 86 | | | 87 | 2.04M | while (a_pos < a_end) { | 88 | 2.00M | *c_pos = Op::apply(*a_pos, b); | 89 | 2.00M | ++a_pos; | 90 | 2.00M | ++c_pos; | 91 | 2.00M | } | 92 | 31.1k | } |
_ZN5doris17NumComparisonImplIllNS_8EqualsOpILNS_13PrimitiveTypeE6EEEE15vector_constantERKNS_8PODArrayIlLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEElRNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 81 | 22.6k | PaddedPODArray<UInt8>& c) { | 82 | 22.6k | size_t size = a.size(); | 83 | 22.6k | const A* __restrict a_pos = a.data(); | 84 | 22.6k | UInt8* __restrict c_pos = c.data(); | 85 | 22.6k | const A* __restrict a_end = a_pos + size; | 86 | | | 87 | 2.87M | while (a_pos < a_end) { | 88 | 2.85M | *c_pos = Op::apply(*a_pos, b); | 89 | 2.85M | ++a_pos; | 90 | 2.85M | ++c_pos; | 91 | 2.85M | } | 92 | 22.6k | } |
_ZN5doris17NumComparisonImplInnNS_8EqualsOpILNS_13PrimitiveTypeE7EEEE15vector_constantERKNS_8PODArrayInLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEnRNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 81 | 57 | PaddedPODArray<UInt8>& c) { | 82 | 57 | size_t size = a.size(); | 83 | 57 | const A* __restrict a_pos = a.data(); | 84 | 57 | UInt8* __restrict c_pos = c.data(); | 85 | 57 | const A* __restrict a_end = a_pos + size; | 86 | | | 87 | 101k | while (a_pos < a_end) { | 88 | 101k | *c_pos = Op::apply(*a_pos, b); | 89 | 101k | ++a_pos; | 90 | 101k | ++c_pos; | 91 | 101k | } | 92 | 57 | } |
_ZN5doris17NumComparisonImplIjjNS_8EqualsOpILNS_13PrimitiveTypeE36EEEE15vector_constantERKNS_8PODArrayIjLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEjRNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 81 | 18 | PaddedPODArray<UInt8>& c) { | 82 | 18 | size_t size = a.size(); | 83 | 18 | const A* __restrict a_pos = a.data(); | 84 | 18 | UInt8* __restrict c_pos = c.data(); | 85 | 18 | const A* __restrict a_end = a_pos + size; | 86 | | | 87 | 132 | while (a_pos < a_end) { | 88 | 114 | *c_pos = Op::apply(*a_pos, b); | 89 | 114 | ++a_pos; | 90 | 114 | ++c_pos; | 91 | 114 | } | 92 | 18 | } |
_ZN5doris17NumComparisonImplIooNS_8EqualsOpILNS_13PrimitiveTypeE37EEEE15vector_constantERKNS_8PODArrayIoLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEoRNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 81 | 6 | PaddedPODArray<UInt8>& c) { | 82 | 6 | size_t size = a.size(); | 83 | 6 | const A* __restrict a_pos = a.data(); | 84 | 6 | UInt8* __restrict c_pos = c.data(); | 85 | 6 | const A* __restrict a_end = a_pos + size; | 86 | | | 87 | 12 | while (a_pos < a_end) { | 88 | 6 | *c_pos = Op::apply(*a_pos, b); | 89 | 6 | ++a_pos; | 90 | 6 | ++c_pos; | 91 | 6 | } | 92 | 6 | } |
_ZN5doris17NumComparisonImplIffNS_8EqualsOpILNS_13PrimitiveTypeE8EEEE15vector_constantERKNS_8PODArrayIfLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEfRNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 81 | 4 | PaddedPODArray<UInt8>& c) { | 82 | 4 | size_t size = a.size(); | 83 | 4 | const A* __restrict a_pos = a.data(); | 84 | 4 | UInt8* __restrict c_pos = c.data(); | 85 | 4 | const A* __restrict a_end = a_pos + size; | 86 | | | 87 | 26 | while (a_pos < a_end) { | 88 | 22 | *c_pos = Op::apply(*a_pos, b); | 89 | 22 | ++a_pos; | 90 | 22 | ++c_pos; | 91 | 22 | } | 92 | 4 | } |
_ZN5doris17NumComparisonImplIddNS_8EqualsOpILNS_13PrimitiveTypeE9EEEE15vector_constantERKNS_8PODArrayIdLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEdRNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 81 | 291 | PaddedPODArray<UInt8>& c) { | 82 | 291 | size_t size = a.size(); | 83 | 291 | const A* __restrict a_pos = a.data(); | 84 | 291 | UInt8* __restrict c_pos = c.data(); | 85 | 291 | const A* __restrict a_end = a_pos + size; | 86 | | | 87 | 701k | while (a_pos < a_end) { | 88 | 701k | *c_pos = Op::apply(*a_pos, b); | 89 | 701k | ++a_pos; | 90 | 701k | ++c_pos; | 91 | 701k | } | 92 | 291 | } |
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 | 81 | 39 | PaddedPODArray<UInt8>& c) { | 82 | 39 | size_t size = a.size(); | 83 | 39 | const A* __restrict a_pos = a.data(); | 84 | 39 | UInt8* __restrict c_pos = c.data(); | 85 | 39 | const A* __restrict a_end = a_pos + size; | 86 | | | 87 | 98 | while (a_pos < a_end) { | 88 | 59 | *c_pos = Op::apply(*a_pos, b); | 89 | 59 | ++a_pos; | 90 | 59 | ++c_pos; | 91 | 59 | } | 92 | 39 | } |
_ZN5doris17NumComparisonImplINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEES3_NS_11NotEqualsOpILNS_13PrimitiveTypeE26EEEE15vector_constantERKNS_8PODArrayIS3_Lm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEES3_RNS8_IhLm4096ESB_Lm16ELm15EEE Line | Count | Source | 81 | 2 | PaddedPODArray<UInt8>& c) { | 82 | 2 | size_t size = a.size(); | 83 | 2 | const A* __restrict a_pos = a.data(); | 84 | 2 | UInt8* __restrict c_pos = c.data(); | 85 | 2 | const A* __restrict a_end = a_pos + size; | 86 | | | 87 | 4 | while (a_pos < a_end) { | 88 | 2 | *c_pos = Op::apply(*a_pos, b); | 89 | 2 | ++a_pos; | 90 | 2 | ++c_pos; | 91 | 2 | } | 92 | 2 | } |
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 | 81 | 44 | PaddedPODArray<UInt8>& c) { | 82 | 44 | size_t size = a.size(); | 83 | 44 | const A* __restrict a_pos = a.data(); | 84 | 44 | UInt8* __restrict c_pos = c.data(); | 85 | 44 | const A* __restrict a_end = a_pos + size; | 86 | | | 87 | 1.24k | while (a_pos < a_end) { | 88 | 1.19k | *c_pos = Op::apply(*a_pos, b); | 89 | 1.19k | ++a_pos; | 90 | 1.19k | ++c_pos; | 91 | 1.19k | } | 92 | 44 | } |
_ZN5doris17NumComparisonImplIssNS_11NotEqualsOpILNS_13PrimitiveTypeE4EEEE15vector_constantERKNS_8PODArrayIsLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEsRNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 81 | 26 | PaddedPODArray<UInt8>& c) { | 82 | 26 | size_t size = a.size(); | 83 | 26 | const A* __restrict a_pos = a.data(); | 84 | 26 | UInt8* __restrict c_pos = c.data(); | 85 | 26 | const A* __restrict a_end = a_pos + size; | 86 | | | 87 | 802 | while (a_pos < a_end) { | 88 | 776 | *c_pos = Op::apply(*a_pos, b); | 89 | 776 | ++a_pos; | 90 | 776 | ++c_pos; | 91 | 776 | } | 92 | 26 | } |
_ZN5doris17NumComparisonImplIiiNS_11NotEqualsOpILNS_13PrimitiveTypeE5EEEE15vector_constantERKNS_8PODArrayIiLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEiRNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 81 | 2.73k | PaddedPODArray<UInt8>& c) { | 82 | 2.73k | size_t size = a.size(); | 83 | 2.73k | const A* __restrict a_pos = a.data(); | 84 | 2.73k | UInt8* __restrict c_pos = c.data(); | 85 | 2.73k | const A* __restrict a_end = a_pos + size; | 86 | | | 87 | 657k | while (a_pos < a_end) { | 88 | 655k | *c_pos = Op::apply(*a_pos, b); | 89 | 655k | ++a_pos; | 90 | 655k | ++c_pos; | 91 | 655k | } | 92 | 2.73k | } |
_ZN5doris17NumComparisonImplIllNS_11NotEqualsOpILNS_13PrimitiveTypeE6EEEE15vector_constantERKNS_8PODArrayIlLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEElRNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 81 | 1.92k | PaddedPODArray<UInt8>& c) { | 82 | 1.92k | size_t size = a.size(); | 83 | 1.92k | const A* __restrict a_pos = a.data(); | 84 | 1.92k | UInt8* __restrict c_pos = c.data(); | 85 | 1.92k | const A* __restrict a_end = a_pos + size; | 86 | | | 87 | 269k | while (a_pos < a_end) { | 88 | 267k | *c_pos = Op::apply(*a_pos, b); | 89 | 267k | ++a_pos; | 90 | 267k | ++c_pos; | 91 | 267k | } | 92 | 1.92k | } |
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 | 81 | 28 | PaddedPODArray<UInt8>& c) { | 82 | 28 | size_t size = a.size(); | 83 | 28 | const A* __restrict a_pos = a.data(); | 84 | 28 | UInt8* __restrict c_pos = c.data(); | 85 | 28 | const A* __restrict a_end = a_pos + size; | 86 | | | 87 | 70 | while (a_pos < a_end) { | 88 | 42 | *c_pos = Op::apply(*a_pos, b); | 89 | 42 | ++a_pos; | 90 | 42 | ++c_pos; | 91 | 42 | } | 92 | 28 | } |
_ZN5doris17NumComparisonImplIddNS_11NotEqualsOpILNS_13PrimitiveTypeE9EEEE15vector_constantERKNS_8PODArrayIdLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEdRNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 81 | 40 | PaddedPODArray<UInt8>& c) { | 82 | 40 | size_t size = a.size(); | 83 | 40 | const A* __restrict a_pos = a.data(); | 84 | 40 | UInt8* __restrict c_pos = c.data(); | 85 | 40 | const A* __restrict a_end = a_pos + size; | 86 | | | 87 | 282 | while (a_pos < a_end) { | 88 | 242 | *c_pos = Op::apply(*a_pos, b); | 89 | 242 | ++a_pos; | 90 | 242 | ++c_pos; | 91 | 242 | } | 92 | 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 | 81 | 157 | PaddedPODArray<UInt8>& c) { | 82 | 157 | size_t size = a.size(); | 83 | 157 | const A* __restrict a_pos = a.data(); | 84 | 157 | UInt8* __restrict c_pos = c.data(); | 85 | 157 | const A* __restrict a_end = a_pos + size; | 86 | | | 87 | 743 | while (a_pos < a_end) { | 88 | 586 | *c_pos = Op::apply(*a_pos, b); | 89 | 586 | ++a_pos; | 90 | 586 | ++c_pos; | 91 | 586 | } | 92 | 157 | } |
_ZN5doris17NumComparisonImplINS_11DateV2ValueINS_15DateV2ValueTypeEEES3_NS_6LessOpILNS_13PrimitiveTypeE25EEEE15vector_constantERKNS_8PODArrayIS3_Lm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEES3_RNS8_IhLm4096ESB_Lm16ELm15EEE Line | Count | Source | 81 | 501 | PaddedPODArray<UInt8>& c) { | 82 | 501 | size_t size = a.size(); | 83 | 501 | const A* __restrict a_pos = a.data(); | 84 | 501 | UInt8* __restrict c_pos = c.data(); | 85 | 501 | const A* __restrict a_end = a_pos + size; | 86 | | | 87 | 1.34M | while (a_pos < a_end) { | 88 | 1.34M | *c_pos = Op::apply(*a_pos, b); | 89 | 1.34M | ++a_pos; | 90 | 1.34M | ++c_pos; | 91 | 1.34M | } | 92 | 501 | } |
_ZN5doris17NumComparisonImplINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEES3_NS_9GreaterOpILNS_13PrimitiveTypeE26EEEE15vector_constantERKNS_8PODArrayIS3_Lm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEES3_RNS8_IhLm4096ESB_Lm16ELm15EEE Line | Count | Source | 81 | 94 | PaddedPODArray<UInt8>& c) { | 82 | 94 | size_t size = a.size(); | 83 | 94 | const A* __restrict a_pos = a.data(); | 84 | 94 | UInt8* __restrict c_pos = c.data(); | 85 | 94 | const A* __restrict a_end = a_pos + size; | 86 | | | 87 | 210 | while (a_pos < a_end) { | 88 | 116 | *c_pos = Op::apply(*a_pos, b); | 89 | 116 | ++a_pos; | 90 | 116 | ++c_pos; | 91 | 116 | } | 92 | 94 | } |
_ZN5doris17NumComparisonImplINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEES3_NS_6LessOpILNS_13PrimitiveTypeE26EEEE15vector_constantERKNS_8PODArrayIS3_Lm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEES3_RNS8_IhLm4096ESB_Lm16ELm15EEE Line | Count | Source | 81 | 337 | PaddedPODArray<UInt8>& c) { | 82 | 337 | size_t size = a.size(); | 83 | 337 | const A* __restrict a_pos = a.data(); | 84 | 337 | UInt8* __restrict c_pos = c.data(); | 85 | 337 | const A* __restrict a_end = a_pos + size; | 86 | | | 87 | 45.4k | while (a_pos < a_end) { | 88 | 45.1k | *c_pos = Op::apply(*a_pos, b); | 89 | 45.1k | ++a_pos; | 90 | 45.1k | ++c_pos; | 91 | 45.1k | } | 92 | 337 | } |
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 | 81 | 1 | PaddedPODArray<UInt8>& c) { | 82 | 1 | size_t size = a.size(); | 83 | 1 | const A* __restrict a_pos = a.data(); | 84 | 1 | UInt8* __restrict c_pos = c.data(); | 85 | 1 | const A* __restrict a_end = a_pos + size; | 86 | | | 87 | 8 | while (a_pos < a_end) { | 88 | 7 | *c_pos = Op::apply(*a_pos, b); | 89 | 7 | ++a_pos; | 90 | 7 | ++c_pos; | 91 | 7 | } | 92 | 1 | } |
_ZN5doris17NumComparisonImplIaaNS_9GreaterOpILNS_13PrimitiveTypeE3EEEE15vector_constantERKNS_8PODArrayIaLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEaRNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 81 | 386 | PaddedPODArray<UInt8>& c) { | 82 | 386 | size_t size = a.size(); | 83 | 386 | const A* __restrict a_pos = a.data(); | 84 | 386 | UInt8* __restrict c_pos = c.data(); | 85 | 386 | const A* __restrict a_end = a_pos + size; | 86 | | | 87 | 4.02k | while (a_pos < a_end) { | 88 | 3.63k | *c_pos = Op::apply(*a_pos, b); | 89 | 3.63k | ++a_pos; | 90 | 3.63k | ++c_pos; | 91 | 3.63k | } | 92 | 386 | } |
_ZN5doris17NumComparisonImplIaaNS_6LessOpILNS_13PrimitiveTypeE3EEEE15vector_constantERKNS_8PODArrayIaLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEaRNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 81 | 64 | PaddedPODArray<UInt8>& c) { | 82 | 64 | size_t size = a.size(); | 83 | 64 | const A* __restrict a_pos = a.data(); | 84 | 64 | UInt8* __restrict c_pos = c.data(); | 85 | 64 | const A* __restrict a_end = a_pos + size; | 86 | | | 87 | 2.36k | while (a_pos < a_end) { | 88 | 2.29k | *c_pos = Op::apply(*a_pos, b); | 89 | 2.29k | ++a_pos; | 90 | 2.29k | ++c_pos; | 91 | 2.29k | } | 92 | 64 | } |
_ZN5doris17NumComparisonImplIssNS_9GreaterOpILNS_13PrimitiveTypeE4EEEE15vector_constantERKNS_8PODArrayIsLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEsRNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 81 | 559 | PaddedPODArray<UInt8>& c) { | 82 | 559 | size_t size = a.size(); | 83 | 559 | const A* __restrict a_pos = a.data(); | 84 | 559 | UInt8* __restrict c_pos = c.data(); | 85 | 559 | const A* __restrict a_end = a_pos + size; | 86 | | | 87 | 7.95k | while (a_pos < a_end) { | 88 | 7.39k | *c_pos = Op::apply(*a_pos, b); | 89 | 7.39k | ++a_pos; | 90 | 7.39k | ++c_pos; | 91 | 7.39k | } | 92 | 559 | } |
_ZN5doris17NumComparisonImplIssNS_6LessOpILNS_13PrimitiveTypeE4EEEE15vector_constantERKNS_8PODArrayIsLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEsRNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 81 | 268 | PaddedPODArray<UInt8>& c) { | 82 | 268 | size_t size = a.size(); | 83 | 268 | const A* __restrict a_pos = a.data(); | 84 | 268 | UInt8* __restrict c_pos = c.data(); | 85 | 268 | const A* __restrict a_end = a_pos + size; | 86 | | | 87 | 12.7k | while (a_pos < a_end) { | 88 | 12.4k | *c_pos = Op::apply(*a_pos, b); | 89 | 12.4k | ++a_pos; | 90 | 12.4k | ++c_pos; | 91 | 12.4k | } | 92 | 268 | } |
_ZN5doris17NumComparisonImplIiiNS_9GreaterOpILNS_13PrimitiveTypeE5EEEE15vector_constantERKNS_8PODArrayIiLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEiRNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 81 | 18.1k | PaddedPODArray<UInt8>& c) { | 82 | 18.1k | size_t size = a.size(); | 83 | 18.1k | const A* __restrict a_pos = a.data(); | 84 | 18.1k | UInt8* __restrict c_pos = c.data(); | 85 | 18.1k | const A* __restrict a_end = a_pos + size; | 86 | | | 87 | 1.44M | while (a_pos < a_end) { | 88 | 1.42M | *c_pos = Op::apply(*a_pos, b); | 89 | 1.42M | ++a_pos; | 90 | 1.42M | ++c_pos; | 91 | 1.42M | } | 92 | 18.1k | } |
_ZN5doris17NumComparisonImplIiiNS_6LessOpILNS_13PrimitiveTypeE5EEEE15vector_constantERKNS_8PODArrayIiLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEiRNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 81 | 5.73k | PaddedPODArray<UInt8>& c) { | 82 | 5.73k | size_t size = a.size(); | 83 | 5.73k | const A* __restrict a_pos = a.data(); | 84 | 5.73k | UInt8* __restrict c_pos = c.data(); | 85 | 5.73k | const A* __restrict a_end = a_pos + size; | 86 | | | 87 | 4.42M | while (a_pos < a_end) { | 88 | 4.41M | *c_pos = Op::apply(*a_pos, b); | 89 | 4.41M | ++a_pos; | 90 | 4.41M | ++c_pos; | 91 | 4.41M | } | 92 | 5.73k | } |
_ZN5doris17NumComparisonImplIllNS_9GreaterOpILNS_13PrimitiveTypeE6EEEE15vector_constantERKNS_8PODArrayIlLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEElRNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 81 | 13.1k | PaddedPODArray<UInt8>& c) { | 82 | 13.1k | size_t size = a.size(); | 83 | 13.1k | const A* __restrict a_pos = a.data(); | 84 | 13.1k | UInt8* __restrict c_pos = c.data(); | 85 | 13.1k | const A* __restrict a_end = a_pos + size; | 86 | | | 87 | 171k | while (a_pos < a_end) { | 88 | 158k | *c_pos = Op::apply(*a_pos, b); | 89 | 158k | ++a_pos; | 90 | 158k | ++c_pos; | 91 | 158k | } | 92 | 13.1k | } |
_ZN5doris17NumComparisonImplIllNS_6LessOpILNS_13PrimitiveTypeE6EEEE15vector_constantERKNS_8PODArrayIlLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEElRNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 81 | 1.41k | PaddedPODArray<UInt8>& c) { | 82 | 1.41k | size_t size = a.size(); | 83 | 1.41k | const A* __restrict a_pos = a.data(); | 84 | 1.41k | UInt8* __restrict c_pos = c.data(); | 85 | 1.41k | const A* __restrict a_end = a_pos + size; | 86 | | | 87 | 3.97k | while (a_pos < a_end) { | 88 | 2.55k | *c_pos = Op::apply(*a_pos, b); | 89 | 2.55k | ++a_pos; | 90 | 2.55k | ++c_pos; | 91 | 2.55k | } | 92 | 1.41k | } |
_ZN5doris17NumComparisonImplInnNS_9GreaterOpILNS_13PrimitiveTypeE7EEEE15vector_constantERKNS_8PODArrayInLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEnRNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 81 | 202 | PaddedPODArray<UInt8>& c) { | 82 | 202 | size_t size = a.size(); | 83 | 202 | const A* __restrict a_pos = a.data(); | 84 | 202 | UInt8* __restrict c_pos = c.data(); | 85 | 202 | const A* __restrict a_end = a_pos + size; | 86 | | | 87 | 1.74k | while (a_pos < a_end) { | 88 | 1.54k | *c_pos = Op::apply(*a_pos, b); | 89 | 1.54k | ++a_pos; | 90 | 1.54k | ++c_pos; | 91 | 1.54k | } | 92 | 202 | } |
_ZN5doris17NumComparisonImplInnNS_6LessOpILNS_13PrimitiveTypeE7EEEE15vector_constantERKNS_8PODArrayInLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEnRNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 81 | 22 | PaddedPODArray<UInt8>& c) { | 82 | 22 | size_t size = a.size(); | 83 | 22 | const A* __restrict a_pos = a.data(); | 84 | 22 | UInt8* __restrict c_pos = c.data(); | 85 | 22 | const A* __restrict a_end = a_pos + size; | 86 | | | 87 | 86.0k | while (a_pos < a_end) { | 88 | 86.0k | *c_pos = Op::apply(*a_pos, b); | 89 | 86.0k | ++a_pos; | 90 | 86.0k | ++c_pos; | 91 | 86.0k | } | 92 | 22 | } |
_ZN5doris17NumComparisonImplIjjNS_9GreaterOpILNS_13PrimitiveTypeE36EEEE15vector_constantERKNS_8PODArrayIjLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEjRNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 81 | 1 | PaddedPODArray<UInt8>& c) { | 82 | 1 | size_t size = a.size(); | 83 | 1 | const A* __restrict a_pos = a.data(); | 84 | 1 | UInt8* __restrict c_pos = c.data(); | 85 | 1 | const A* __restrict a_end = a_pos + size; | 86 | | | 87 | 9 | while (a_pos < a_end) { | 88 | 8 | *c_pos = Op::apply(*a_pos, b); | 89 | 8 | ++a_pos; | 90 | 8 | ++c_pos; | 91 | 8 | } | 92 | 1 | } |
Unexecuted instantiation: _ZN5doris17NumComparisonImplIjjNS_6LessOpILNS_13PrimitiveTypeE36EEEE15vector_constantERKNS_8PODArrayIjLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEjRNS5_IhLm4096ES8_Lm16ELm15EEE 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 | 81 | 216 | PaddedPODArray<UInt8>& c) { | 82 | 216 | size_t size = a.size(); | 83 | 216 | const A* __restrict a_pos = a.data(); | 84 | 216 | UInt8* __restrict c_pos = c.data(); | 85 | 216 | const A* __restrict a_end = a_pos + size; | 86 | | | 87 | 3.77k | while (a_pos < a_end) { | 88 | 3.55k | *c_pos = Op::apply(*a_pos, b); | 89 | 3.55k | ++a_pos; | 90 | 3.55k | ++c_pos; | 91 | 3.55k | } | 92 | 216 | } |
_ZN5doris17NumComparisonImplIffNS_6LessOpILNS_13PrimitiveTypeE8EEEE15vector_constantERKNS_8PODArrayIfLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEfRNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 81 | 26 | PaddedPODArray<UInt8>& c) { | 82 | 26 | size_t size = a.size(); | 83 | 26 | const A* __restrict a_pos = a.data(); | 84 | 26 | UInt8* __restrict c_pos = c.data(); | 85 | 26 | const A* __restrict a_end = a_pos + size; | 86 | | | 87 | 64 | while (a_pos < a_end) { | 88 | 38 | *c_pos = Op::apply(*a_pos, b); | 89 | 38 | ++a_pos; | 90 | 38 | ++c_pos; | 91 | 38 | } | 92 | 26 | } |
_ZN5doris17NumComparisonImplIddNS_9GreaterOpILNS_13PrimitiveTypeE9EEEE15vector_constantERKNS_8PODArrayIdLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEdRNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 81 | 2.46k | PaddedPODArray<UInt8>& c) { | 82 | 2.46k | size_t size = a.size(); | 83 | 2.46k | const A* __restrict a_pos = a.data(); | 84 | 2.46k | UInt8* __restrict c_pos = c.data(); | 85 | 2.46k | const A* __restrict a_end = a_pos + size; | 86 | | | 87 | 346k | while (a_pos < a_end) { | 88 | 344k | *c_pos = Op::apply(*a_pos, b); | 89 | 344k | ++a_pos; | 90 | 344k | ++c_pos; | 91 | 344k | } | 92 | 2.46k | } |
_ZN5doris17NumComparisonImplIddNS_6LessOpILNS_13PrimitiveTypeE9EEEE15vector_constantERKNS_8PODArrayIdLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEdRNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 81 | 211 | PaddedPODArray<UInt8>& c) { | 82 | 211 | size_t size = a.size(); | 83 | 211 | const A* __restrict a_pos = a.data(); | 84 | 211 | UInt8* __restrict c_pos = c.data(); | 85 | 211 | const A* __restrict a_end = a_pos + size; | 86 | | | 87 | 316k | while (a_pos < a_end) { | 88 | 316k | *c_pos = Op::apply(*a_pos, b); | 89 | 316k | ++a_pos; | 90 | 316k | ++c_pos; | 91 | 316k | } | 92 | 211 | } |
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 | 81 | 150 | PaddedPODArray<UInt8>& c) { | 82 | 150 | size_t size = a.size(); | 83 | 150 | const A* __restrict a_pos = a.data(); | 84 | 150 | UInt8* __restrict c_pos = c.data(); | 85 | 150 | const A* __restrict a_end = a_pos + size; | 86 | | | 87 | 152k | while (a_pos < a_end) { | 88 | 152k | *c_pos = Op::apply(*a_pos, b); | 89 | 152k | ++a_pos; | 90 | 152k | ++c_pos; | 91 | 152k | } | 92 | 150 | } |
_ZN5doris17NumComparisonImplIhhNS_14LessOrEqualsOpILNS_13PrimitiveTypeE2EEEE15vector_constantERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEhRS9_ Line | Count | Source | 81 | 380 | PaddedPODArray<UInt8>& c) { | 82 | 380 | size_t size = a.size(); | 83 | 380 | const A* __restrict a_pos = a.data(); | 84 | 380 | UInt8* __restrict c_pos = c.data(); | 85 | 380 | const A* __restrict a_end = a_pos + size; | 86 | | | 87 | 161k | while (a_pos < a_end) { | 88 | 161k | *c_pos = Op::apply(*a_pos, b); | 89 | 161k | ++a_pos; | 90 | 161k | ++c_pos; | 91 | 161k | } | 92 | 380 | } |
_ZN5doris17NumComparisonImplINS_11DateV2ValueINS_15DateV2ValueTypeEEES3_NS_17GreaterOrEqualsOpILNS_13PrimitiveTypeE25EEEE15vector_constantERKNS_8PODArrayIS3_Lm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEES3_RNS8_IhLm4096ESB_Lm16ELm15EEE Line | Count | Source | 81 | 1.56k | PaddedPODArray<UInt8>& c) { | 82 | 1.56k | size_t size = a.size(); | 83 | 1.56k | const A* __restrict a_pos = a.data(); | 84 | 1.56k | UInt8* __restrict c_pos = c.data(); | 85 | 1.56k | const A* __restrict a_end = a_pos + size; | 86 | | | 87 | 4.66M | while (a_pos < a_end) { | 88 | 4.66M | *c_pos = Op::apply(*a_pos, b); | 89 | 4.66M | ++a_pos; | 90 | 4.66M | ++c_pos; | 91 | 4.66M | } | 92 | 1.56k | } |
_ZN5doris17NumComparisonImplINS_11DateV2ValueINS_15DateV2ValueTypeEEES3_NS_14LessOrEqualsOpILNS_13PrimitiveTypeE25EEEE15vector_constantERKNS_8PODArrayIS3_Lm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEES3_RNS8_IhLm4096ESB_Lm16ELm15EEE Line | Count | Source | 81 | 7.30k | PaddedPODArray<UInt8>& c) { | 82 | 7.30k | size_t size = a.size(); | 83 | 7.30k | const A* __restrict a_pos = a.data(); | 84 | 7.30k | UInt8* __restrict c_pos = c.data(); | 85 | 7.30k | const A* __restrict a_end = a_pos + size; | 86 | | | 87 | 51.5M | while (a_pos < a_end) { | 88 | 51.5M | *c_pos = Op::apply(*a_pos, b); | 89 | 51.5M | ++a_pos; | 90 | 51.5M | ++c_pos; | 91 | 51.5M | } | 92 | 7.30k | } |
_ZN5doris17NumComparisonImplINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEES3_NS_17GreaterOrEqualsOpILNS_13PrimitiveTypeE26EEEE15vector_constantERKNS_8PODArrayIS3_Lm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEES3_RNS8_IhLm4096ESB_Lm16ELm15EEE Line | Count | Source | 81 | 611 | PaddedPODArray<UInt8>& c) { | 82 | 611 | size_t size = a.size(); | 83 | 611 | const A* __restrict a_pos = a.data(); | 84 | 611 | UInt8* __restrict c_pos = c.data(); | 85 | 611 | const A* __restrict a_end = a_pos + size; | 86 | | | 87 | 30.6k | while (a_pos < a_end) { | 88 | 30.0k | *c_pos = Op::apply(*a_pos, b); | 89 | 30.0k | ++a_pos; | 90 | 30.0k | ++c_pos; | 91 | 30.0k | } | 92 | 611 | } |
_ZN5doris17NumComparisonImplINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEES3_NS_14LessOrEqualsOpILNS_13PrimitiveTypeE26EEEE15vector_constantERKNS_8PODArrayIS3_Lm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEES3_RNS8_IhLm4096ESB_Lm16ELm15EEE Line | Count | Source | 81 | 539 | PaddedPODArray<UInt8>& c) { | 82 | 539 | size_t size = a.size(); | 83 | 539 | const A* __restrict a_pos = a.data(); | 84 | 539 | UInt8* __restrict c_pos = c.data(); | 85 | 539 | const A* __restrict a_end = a_pos + size; | 86 | | | 87 | 32.8k | while (a_pos < a_end) { | 88 | 32.2k | *c_pos = Op::apply(*a_pos, b); | 89 | 32.2k | ++a_pos; | 90 | 32.2k | ++c_pos; | 91 | 32.2k | } | 92 | 539 | } |
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 | 81 | 95 | PaddedPODArray<UInt8>& c) { | 82 | 95 | size_t size = a.size(); | 83 | 95 | const A* __restrict a_pos = a.data(); | 84 | 95 | UInt8* __restrict c_pos = c.data(); | 85 | 95 | const A* __restrict a_end = a_pos + size; | 86 | | | 87 | 150k | while (a_pos < a_end) { | 88 | 150k | *c_pos = Op::apply(*a_pos, b); | 89 | 150k | ++a_pos; | 90 | 150k | ++c_pos; | 91 | 150k | } | 92 | 95 | } |
_ZN5doris17NumComparisonImplIaaNS_14LessOrEqualsOpILNS_13PrimitiveTypeE3EEEE15vector_constantERKNS_8PODArrayIaLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEaRNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 81 | 359 | PaddedPODArray<UInt8>& c) { | 82 | 359 | size_t size = a.size(); | 83 | 359 | const A* __restrict a_pos = a.data(); | 84 | 359 | UInt8* __restrict c_pos = c.data(); | 85 | 359 | const A* __restrict a_end = a_pos + size; | 86 | | | 87 | 126k | while (a_pos < a_end) { | 88 | 126k | *c_pos = Op::apply(*a_pos, b); | 89 | 126k | ++a_pos; | 90 | 126k | ++c_pos; | 91 | 126k | } | 92 | 359 | } |
_ZN5doris17NumComparisonImplIssNS_17GreaterOrEqualsOpILNS_13PrimitiveTypeE4EEEE15vector_constantERKNS_8PODArrayIsLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEsRNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 81 | 148 | PaddedPODArray<UInt8>& c) { | 82 | 148 | size_t size = a.size(); | 83 | 148 | const A* __restrict a_pos = a.data(); | 84 | 148 | UInt8* __restrict c_pos = c.data(); | 85 | 148 | const A* __restrict a_end = a_pos + size; | 86 | | | 87 | 120k | while (a_pos < a_end) { | 88 | 120k | *c_pos = Op::apply(*a_pos, b); | 89 | 120k | ++a_pos; | 90 | 120k | ++c_pos; | 91 | 120k | } | 92 | 148 | } |
_ZN5doris17NumComparisonImplIssNS_14LessOrEqualsOpILNS_13PrimitiveTypeE4EEEE15vector_constantERKNS_8PODArrayIsLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEsRNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 81 | 409 | PaddedPODArray<UInt8>& c) { | 82 | 409 | size_t size = a.size(); | 83 | 409 | const A* __restrict a_pos = a.data(); | 84 | 409 | UInt8* __restrict c_pos = c.data(); | 85 | 409 | const A* __restrict a_end = a_pos + size; | 86 | | | 87 | 43.7k | while (a_pos < a_end) { | 88 | 43.3k | *c_pos = Op::apply(*a_pos, b); | 89 | 43.3k | ++a_pos; | 90 | 43.3k | ++c_pos; | 91 | 43.3k | } | 92 | 409 | } |
_ZN5doris17NumComparisonImplIiiNS_17GreaterOrEqualsOpILNS_13PrimitiveTypeE5EEEE15vector_constantERKNS_8PODArrayIiLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEiRNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 81 | 16.3k | PaddedPODArray<UInt8>& c) { | 82 | 16.3k | size_t size = a.size(); | 83 | 16.3k | const A* __restrict a_pos = a.data(); | 84 | 16.3k | UInt8* __restrict c_pos = c.data(); | 85 | 16.3k | const A* __restrict a_end = a_pos + size; | 86 | | | 87 | 25.0M | while (a_pos < a_end) { | 88 | 24.9M | *c_pos = Op::apply(*a_pos, b); | 89 | 24.9M | ++a_pos; | 90 | 24.9M | ++c_pos; | 91 | 24.9M | } | 92 | 16.3k | } |
_ZN5doris17NumComparisonImplIiiNS_14LessOrEqualsOpILNS_13PrimitiveTypeE5EEEE15vector_constantERKNS_8PODArrayIiLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEiRNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 81 | 23.4k | PaddedPODArray<UInt8>& c) { | 82 | 23.4k | size_t size = a.size(); | 83 | 23.4k | const A* __restrict a_pos = a.data(); | 84 | 23.4k | UInt8* __restrict c_pos = c.data(); | 85 | 23.4k | const A* __restrict a_end = a_pos + size; | 86 | | | 87 | 29.2M | while (a_pos < a_end) { | 88 | 29.2M | *c_pos = Op::apply(*a_pos, b); | 89 | 29.2M | ++a_pos; | 90 | 29.2M | ++c_pos; | 91 | 29.2M | } | 92 | 23.4k | } |
_ZN5doris17NumComparisonImplIllNS_17GreaterOrEqualsOpILNS_13PrimitiveTypeE6EEEE15vector_constantERKNS_8PODArrayIlLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEElRNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 81 | 763 | PaddedPODArray<UInt8>& c) { | 82 | 763 | size_t size = a.size(); | 83 | 763 | const A* __restrict a_pos = a.data(); | 84 | 763 | UInt8* __restrict c_pos = c.data(); | 85 | 763 | const A* __restrict a_end = a_pos + size; | 86 | | | 87 | 40.5k | while (a_pos < a_end) { | 88 | 39.7k | *c_pos = Op::apply(*a_pos, b); | 89 | 39.7k | ++a_pos; | 90 | 39.7k | ++c_pos; | 91 | 39.7k | } | 92 | 763 | } |
_ZN5doris17NumComparisonImplIllNS_14LessOrEqualsOpILNS_13PrimitiveTypeE6EEEE15vector_constantERKNS_8PODArrayIlLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEElRNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 81 | 773 | PaddedPODArray<UInt8>& c) { | 82 | 773 | size_t size = a.size(); | 83 | 773 | const A* __restrict a_pos = a.data(); | 84 | 773 | UInt8* __restrict c_pos = c.data(); | 85 | 773 | const A* __restrict a_end = a_pos + size; | 86 | | | 87 | 40.0k | while (a_pos < a_end) { | 88 | 39.2k | *c_pos = Op::apply(*a_pos, b); | 89 | 39.2k | ++a_pos; | 90 | 39.2k | ++c_pos; | 91 | 39.2k | } | 92 | 773 | } |
_ZN5doris17NumComparisonImplInnNS_17GreaterOrEqualsOpILNS_13PrimitiveTypeE7EEEE15vector_constantERKNS_8PODArrayInLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEnRNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 81 | 43 | PaddedPODArray<UInt8>& c) { | 82 | 43 | size_t size = a.size(); | 83 | 43 | const A* __restrict a_pos = a.data(); | 84 | 43 | UInt8* __restrict c_pos = c.data(); | 85 | 43 | const A* __restrict a_end = a_pos + size; | 86 | | | 87 | 120k | while (a_pos < a_end) { | 88 | 120k | *c_pos = Op::apply(*a_pos, b); | 89 | 120k | ++a_pos; | 90 | 120k | ++c_pos; | 91 | 120k | } | 92 | 43 | } |
_ZN5doris17NumComparisonImplInnNS_14LessOrEqualsOpILNS_13PrimitiveTypeE7EEEE15vector_constantERKNS_8PODArrayInLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEnRNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 81 | 50 | PaddedPODArray<UInt8>& c) { | 82 | 50 | size_t size = a.size(); | 83 | 50 | const A* __restrict a_pos = a.data(); | 84 | 50 | UInt8* __restrict c_pos = c.data(); | 85 | 50 | const A* __restrict a_end = a_pos + size; | 86 | | | 87 | 151k | while (a_pos < a_end) { | 88 | 151k | *c_pos = Op::apply(*a_pos, b); | 89 | 151k | ++a_pos; | 90 | 151k | ++c_pos; | 91 | 151k | } | 92 | 50 | } |
_ZN5doris17NumComparisonImplIjjNS_17GreaterOrEqualsOpILNS_13PrimitiveTypeE36EEEE15vector_constantERKNS_8PODArrayIjLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEjRNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 81 | 10 | PaddedPODArray<UInt8>& c) { | 82 | 10 | size_t size = a.size(); | 83 | 10 | const A* __restrict a_pos = a.data(); | 84 | 10 | UInt8* __restrict c_pos = c.data(); | 85 | 10 | const A* __restrict a_end = a_pos + size; | 86 | | | 87 | 110 | while (a_pos < a_end) { | 88 | 100 | *c_pos = Op::apply(*a_pos, b); | 89 | 100 | ++a_pos; | 90 | 100 | ++c_pos; | 91 | 100 | } | 92 | 10 | } |
_ZN5doris17NumComparisonImplIjjNS_14LessOrEqualsOpILNS_13PrimitiveTypeE36EEEE15vector_constantERKNS_8PODArrayIjLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEjRNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 81 | 10 | PaddedPODArray<UInt8>& c) { | 82 | 10 | size_t size = a.size(); | 83 | 10 | const A* __restrict a_pos = a.data(); | 84 | 10 | UInt8* __restrict c_pos = c.data(); | 85 | 10 | const A* __restrict a_end = a_pos + size; | 86 | | | 87 | 110 | while (a_pos < a_end) { | 88 | 100 | *c_pos = Op::apply(*a_pos, b); | 89 | 100 | ++a_pos; | 90 | 100 | ++c_pos; | 91 | 100 | } | 92 | 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 | 81 | 108 | PaddedPODArray<UInt8>& c) { | 82 | 108 | size_t size = a.size(); | 83 | 108 | const A* __restrict a_pos = a.data(); | 84 | 108 | UInt8* __restrict c_pos = c.data(); | 85 | 108 | const A* __restrict a_end = a_pos + size; | 86 | | | 87 | 218 | while (a_pos < a_end) { | 88 | 110 | *c_pos = Op::apply(*a_pos, b); | 89 | 110 | ++a_pos; | 90 | 110 | ++c_pos; | 91 | 110 | } | 92 | 108 | } |
_ZN5doris17NumComparisonImplIffNS_14LessOrEqualsOpILNS_13PrimitiveTypeE8EEEE15vector_constantERKNS_8PODArrayIfLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEfRNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 81 | 104 | PaddedPODArray<UInt8>& c) { | 82 | 104 | size_t size = a.size(); | 83 | 104 | const A* __restrict a_pos = a.data(); | 84 | 104 | UInt8* __restrict c_pos = c.data(); | 85 | 104 | const A* __restrict a_end = a_pos + size; | 86 | | | 87 | 208 | while (a_pos < a_end) { | 88 | 104 | *c_pos = Op::apply(*a_pos, b); | 89 | 104 | ++a_pos; | 90 | 104 | ++c_pos; | 91 | 104 | } | 92 | 104 | } |
_ZN5doris17NumComparisonImplIddNS_17GreaterOrEqualsOpILNS_13PrimitiveTypeE9EEEE15vector_constantERKNS_8PODArrayIdLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEdRNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 81 | 110 | PaddedPODArray<UInt8>& c) { | 82 | 110 | size_t size = a.size(); | 83 | 110 | const A* __restrict a_pos = a.data(); | 84 | 110 | UInt8* __restrict c_pos = c.data(); | 85 | 110 | const A* __restrict a_end = a_pos + size; | 86 | | | 87 | 276k | while (a_pos < a_end) { | 88 | 275k | *c_pos = Op::apply(*a_pos, b); | 89 | 275k | ++a_pos; | 90 | 275k | ++c_pos; | 91 | 275k | } | 92 | 110 | } |
_ZN5doris17NumComparisonImplIddNS_14LessOrEqualsOpILNS_13PrimitiveTypeE9EEEE15vector_constantERKNS_8PODArrayIdLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEdRNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 81 | 129 | PaddedPODArray<UInt8>& c) { | 82 | 129 | size_t size = a.size(); | 83 | 129 | const A* __restrict a_pos = a.data(); | 84 | 129 | UInt8* __restrict c_pos = c.data(); | 85 | 129 | const A* __restrict a_end = a_pos + size; | 86 | | | 87 | 276k | while (a_pos < a_end) { | 88 | 275k | *c_pos = Op::apply(*a_pos, b); | 89 | 275k | ++a_pos; | 90 | 275k | ++c_pos; | 91 | 275k | } | 92 | 129 | } |
Unexecuted instantiation: _ZN5doris17NumComparisonImplIddNS_17GreaterOrEqualsOpILNS_13PrimitiveTypeE27EEEE15vector_constantERKNS_8PODArrayIdLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEdRNS5_IhLm4096ES8_Lm16ELm15EEE Unexecuted instantiation: _ZN5doris17NumComparisonImplIddNS_14LessOrEqualsOpILNS_13PrimitiveTypeE27EEEE15vector_constantERKNS_8PODArrayIdLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEdRNS5_IhLm4096ES8_Lm16ELm15EEE |
93 | | |
94 | 5 | static void constant_vector(A a, const PaddedPODArray<B>& b, PaddedPODArray<UInt8>& c) { |
95 | 5 | NumComparisonImpl<B, A, typename Op::SymmetricOp>::vector_constant(b, a, c); |
96 | 5 | } 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 Unexecuted instantiation: _ZN5doris17NumComparisonImplIaaNS_8EqualsOpILNS_13PrimitiveTypeE3EEEE15constant_vectorEaRKNS_8PODArrayIaLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERNS5_IhLm4096ES8_Lm16ELm15EEE Unexecuted instantiation: _ZN5doris17NumComparisonImplIssNS_8EqualsOpILNS_13PrimitiveTypeE4EEEE15constant_vectorEsRKNS_8PODArrayIsLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERNS5_IhLm4096ES8_Lm16ELm15EEE _ZN5doris17NumComparisonImplIiiNS_8EqualsOpILNS_13PrimitiveTypeE5EEEE15constant_vectorEiRKNS_8PODArrayIiLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 94 | 5 | static void constant_vector(A a, const PaddedPODArray<B>& b, PaddedPODArray<UInt8>& c) { | 95 | 5 | NumComparisonImpl<B, A, typename Op::SymmetricOp>::vector_constant(b, a, c); | 96 | 5 | } |
Unexecuted instantiation: _ZN5doris17NumComparisonImplIllNS_8EqualsOpILNS_13PrimitiveTypeE6EEEE15constant_vectorElRKNS_8PODArrayIlLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERNS5_IhLm4096ES8_Lm16ELm15EEE Unexecuted instantiation: _ZN5doris17NumComparisonImplInnNS_8EqualsOpILNS_13PrimitiveTypeE7EEEE15constant_vectorEnRKNS_8PODArrayInLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERNS5_IhLm4096ES8_Lm16ELm15EEE 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 Unexecuted instantiation: _ZN5doris17NumComparisonImplIllNS_11NotEqualsOpILNS_13PrimitiveTypeE6EEEE15constant_vectorElRKNS_8PODArrayIlLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERNS5_IhLm4096ES8_Lm16ELm15EEE 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 Unexecuted instantiation: _ZN5doris17NumComparisonImplIaaNS_9GreaterOpILNS_13PrimitiveTypeE3EEEE15constant_vectorEaRKNS_8PODArrayIaLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERNS5_IhLm4096ES8_Lm16ELm15EEE Unexecuted instantiation: _ZN5doris17NumComparisonImplIssNS_9GreaterOpILNS_13PrimitiveTypeE4EEEE15constant_vectorEsRKNS_8PODArrayIsLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERNS5_IhLm4096ES8_Lm16ELm15EEE Unexecuted instantiation: _ZN5doris17NumComparisonImplIiiNS_9GreaterOpILNS_13PrimitiveTypeE5EEEE15constant_vectorEiRKNS_8PODArrayIiLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERNS5_IhLm4096ES8_Lm16ELm15EEE Unexecuted instantiation: _ZN5doris17NumComparisonImplIllNS_9GreaterOpILNS_13PrimitiveTypeE6EEEE15constant_vectorElRKNS_8PODArrayIlLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERNS5_IhLm4096ES8_Lm16ELm15EEE Unexecuted instantiation: _ZN5doris17NumComparisonImplInnNS_9GreaterOpILNS_13PrimitiveTypeE7EEEE15constant_vectorEnRKNS_8PODArrayInLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERNS5_IhLm4096ES8_Lm16ELm15EEE 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_ Unexecuted instantiation: _ZN5doris17NumComparisonImplINS_11DateV2ValueINS_15DateV2ValueTypeEEES3_NS_17GreaterOrEqualsOpILNS_13PrimitiveTypeE25EEEE15constant_vectorES3_RKNS_8PODArrayIS3_Lm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERNS8_IhLm4096ESB_Lm16ELm15EEE 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 Unexecuted instantiation: _ZN5doris17NumComparisonImplIaaNS_6LessOpILNS_13PrimitiveTypeE3EEEE15constant_vectorEaRKNS_8PODArrayIaLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERNS5_IhLm4096ES8_Lm16ELm15EEE Unexecuted instantiation: _ZN5doris17NumComparisonImplIssNS_6LessOpILNS_13PrimitiveTypeE4EEEE15constant_vectorEsRKNS_8PODArrayIsLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERNS5_IhLm4096ES8_Lm16ELm15EEE Unexecuted instantiation: _ZN5doris17NumComparisonImplIiiNS_6LessOpILNS_13PrimitiveTypeE5EEEE15constant_vectorEiRKNS_8PODArrayIiLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERNS5_IhLm4096ES8_Lm16ELm15EEE Unexecuted instantiation: _ZN5doris17NumComparisonImplIllNS_6LessOpILNS_13PrimitiveTypeE6EEEE15constant_vectorElRKNS_8PODArrayIlLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERNS5_IhLm4096ES8_Lm16ELm15EEE Unexecuted instantiation: _ZN5doris17NumComparisonImplInnNS_6LessOpILNS_13PrimitiveTypeE7EEEE15constant_vectorEnRKNS_8PODArrayInLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERNS5_IhLm4096ES8_Lm16ELm15EEE 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_ Unexecuted instantiation: _ZN5doris17NumComparisonImplINS_11DateV2ValueINS_15DateV2ValueTypeEEES3_NS_14LessOrEqualsOpILNS_13PrimitiveTypeE25EEEE15constant_vectorES3_RKNS_8PODArrayIS3_Lm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERNS8_IhLm4096ESB_Lm16ELm15EEE 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 Unexecuted instantiation: _ZN5doris17NumComparisonImplIiiNS_14LessOrEqualsOpILNS_13PrimitiveTypeE5EEEE15constant_vectorEiRKNS_8PODArrayIiLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERNS5_IhLm4096ES8_Lm16ELm15EEE Unexecuted instantiation: _ZN5doris17NumComparisonImplIllNS_14LessOrEqualsOpILNS_13PrimitiveTypeE6EEEE15constant_vectorElRKNS_8PODArrayIlLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERNS5_IhLm4096ES8_Lm16ELm15EEE Unexecuted instantiation: _ZN5doris17NumComparisonImplInnNS_14LessOrEqualsOpILNS_13PrimitiveTypeE7EEEE15constant_vectorEnRKNS_8PODArrayInLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERNS5_IhLm4096ES8_Lm16ELm15EEE Unexecuted instantiation: _ZN5doris17NumComparisonImplIjjNS_14LessOrEqualsOpILNS_13PrimitiveTypeE36EEEE15constant_vectorEjRKNS_8PODArrayIjLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERNS5_IhLm4096ES8_Lm16ELm15EEE Unexecuted instantiation: _ZN5doris17NumComparisonImplIooNS_14LessOrEqualsOpILNS_13PrimitiveTypeE37EEEE15constant_vectorEoRKNS_8PODArrayIoLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERNS5_IhLm4096ES8_Lm16ELm15EEE Unexecuted instantiation: _ZN5doris17NumComparisonImplIffNS_14LessOrEqualsOpILNS_13PrimitiveTypeE8EEEE15constant_vectorEfRKNS_8PODArrayIfLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERNS5_IhLm4096ES8_Lm16ELm15EEE Unexecuted instantiation: _ZN5doris17NumComparisonImplIddNS_14LessOrEqualsOpILNS_13PrimitiveTypeE9EEEE15constant_vectorEdRKNS_8PODArrayIdLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERNS5_IhLm4096ES8_Lm16ELm15EEE Unexecuted instantiation: _ZN5doris17NumComparisonImplIddNS_14LessOrEqualsOpILNS_13PrimitiveTypeE27EEEE15constant_vectorEdRKNS_8PODArrayIdLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERNS5_IhLm4096ES8_Lm16ELm15EEE |
97 | | }; |
98 | | |
99 | | /// Generic version, implemented for columns of same type. |
100 | | template <typename Op> |
101 | | struct GenericComparisonImpl { |
102 | 9 | static void vector_vector(const IColumn& a, const IColumn& b, PaddedPODArray<UInt8>& c) { |
103 | 20 | for (size_t i = 0, size = a.size(); i < size; ++i) { |
104 | 11 | c[i] = Op::apply(a.compare_at(i, i, b, 1), 0); |
105 | 11 | } |
106 | 9 | } _ZN5doris21GenericComparisonImplINS_8EqualsOpILNS_13PrimitiveTypeE5EEEE13vector_vectorERKNS_7IColumnES7_RNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEE Line | Count | Source | 102 | 4 | static void vector_vector(const IColumn& a, const IColumn& b, PaddedPODArray<UInt8>& c) { | 103 | 10 | for (size_t i = 0, size = a.size(); i < size; ++i) { | 104 | 6 | c[i] = Op::apply(a.compare_at(i, i, b, 1), 0); | 105 | 6 | } | 106 | 4 | } |
Unexecuted instantiation: _ZN5doris21GenericComparisonImplINS_11NotEqualsOpILNS_13PrimitiveTypeE5EEEE13vector_vectorERKNS_7IColumnES7_RNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEE _ZN5doris21GenericComparisonImplINS_9GreaterOpILNS_13PrimitiveTypeE5EEEE13vector_vectorERKNS_7IColumnES7_RNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEE Line | Count | Source | 102 | 1 | static void vector_vector(const IColumn& a, const IColumn& b, PaddedPODArray<UInt8>& c) { | 103 | 2 | for (size_t i = 0, size = a.size(); i < size; ++i) { | 104 | 1 | c[i] = Op::apply(a.compare_at(i, i, b, 1), 0); | 105 | 1 | } | 106 | 1 | } |
_ZN5doris21GenericComparisonImplINS_17GreaterOrEqualsOpILNS_13PrimitiveTypeE5EEEE13vector_vectorERKNS_7IColumnES7_RNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEE Line | Count | Source | 102 | 1 | static void vector_vector(const IColumn& a, const IColumn& b, PaddedPODArray<UInt8>& c) { | 103 | 2 | for (size_t i = 0, size = a.size(); i < size; ++i) { | 104 | 1 | c[i] = Op::apply(a.compare_at(i, i, b, 1), 0); | 105 | 1 | } | 106 | 1 | } |
_ZN5doris21GenericComparisonImplINS_6LessOpILNS_13PrimitiveTypeE5EEEE13vector_vectorERKNS_7IColumnES7_RNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEE Line | Count | Source | 102 | 3 | static void vector_vector(const IColumn& a, const IColumn& b, PaddedPODArray<UInt8>& c) { | 103 | 6 | for (size_t i = 0, size = a.size(); i < size; ++i) { | 104 | 3 | c[i] = Op::apply(a.compare_at(i, i, b, 1), 0); | 105 | 3 | } | 106 | 3 | } |
Unexecuted instantiation: _ZN5doris21GenericComparisonImplINS_14LessOrEqualsOpILNS_13PrimitiveTypeE5EEEE13vector_vectorERKNS_7IColumnES7_RNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEE |
107 | | |
108 | 126 | static void vector_constant(const IColumn& a, const IColumn& b, PaddedPODArray<UInt8>& c) { |
109 | 126 | const auto& col_right = assert_cast<const ColumnConst&>(b).get_data_column(); |
110 | 398k | for (size_t i = 0, size = a.size(); i < size; ++i) { |
111 | 398k | c[i] = Op::apply(a.compare_at(i, 0, col_right, 1), 0); |
112 | 398k | } |
113 | 126 | } _ZN5doris21GenericComparisonImplINS_8EqualsOpILNS_13PrimitiveTypeE5EEEE15vector_constantERKNS_7IColumnES7_RNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEE Line | Count | Source | 108 | 13 | static void vector_constant(const IColumn& a, const IColumn& b, PaddedPODArray<UInt8>& c) { | 109 | 13 | const auto& col_right = assert_cast<const ColumnConst&>(b).get_data_column(); | 110 | 31 | for (size_t i = 0, size = a.size(); i < size; ++i) { | 111 | 18 | c[i] = Op::apply(a.compare_at(i, 0, col_right, 1), 0); | 112 | 18 | } | 113 | 13 | } |
_ZN5doris21GenericComparisonImplINS_11NotEqualsOpILNS_13PrimitiveTypeE5EEEE15vector_constantERKNS_7IColumnES7_RNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEE Line | Count | Source | 108 | 8 | static void vector_constant(const IColumn& a, const IColumn& b, PaddedPODArray<UInt8>& c) { | 109 | 8 | const auto& col_right = assert_cast<const ColumnConst&>(b).get_data_column(); | 110 | 16 | for (size_t i = 0, size = a.size(); i < size; ++i) { | 111 | 8 | c[i] = Op::apply(a.compare_at(i, 0, col_right, 1), 0); | 112 | 8 | } | 113 | 8 | } |
_ZN5doris21GenericComparisonImplINS_6LessOpILNS_13PrimitiveTypeE5EEEE15vector_constantERKNS_7IColumnES7_RNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEE Line | Count | Source | 108 | 8 | static void vector_constant(const IColumn& a, const IColumn& b, PaddedPODArray<UInt8>& c) { | 109 | 8 | const auto& col_right = assert_cast<const ColumnConst&>(b).get_data_column(); | 110 | 16 | for (size_t i = 0, size = a.size(); i < size; ++i) { | 111 | 8 | c[i] = Op::apply(a.compare_at(i, 0, col_right, 1), 0); | 112 | 8 | } | 113 | 8 | } |
_ZN5doris21GenericComparisonImplINS_9GreaterOpILNS_13PrimitiveTypeE5EEEE15vector_constantERKNS_7IColumnES7_RNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEE Line | Count | Source | 108 | 8 | static void vector_constant(const IColumn& a, const IColumn& b, PaddedPODArray<UInt8>& c) { | 109 | 8 | const auto& col_right = assert_cast<const ColumnConst&>(b).get_data_column(); | 110 | 16 | for (size_t i = 0, size = a.size(); i < size; ++i) { | 111 | 8 | c[i] = Op::apply(a.compare_at(i, 0, col_right, 1), 0); | 112 | 8 | } | 113 | 8 | } |
_ZN5doris21GenericComparisonImplINS_14LessOrEqualsOpILNS_13PrimitiveTypeE5EEEE15vector_constantERKNS_7IColumnES7_RNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEE Line | Count | Source | 108 | 40 | static void vector_constant(const IColumn& a, const IColumn& b, PaddedPODArray<UInt8>& c) { | 109 | 40 | const auto& col_right = assert_cast<const ColumnConst&>(b).get_data_column(); | 110 | 192k | for (size_t i = 0, size = a.size(); i < size; ++i) { | 111 | 192k | c[i] = Op::apply(a.compare_at(i, 0, col_right, 1), 0); | 112 | 192k | } | 113 | 40 | } |
_ZN5doris21GenericComparisonImplINS_17GreaterOrEqualsOpILNS_13PrimitiveTypeE5EEEE15vector_constantERKNS_7IColumnES7_RNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEE Line | Count | Source | 108 | 49 | static void vector_constant(const IColumn& a, const IColumn& b, PaddedPODArray<UInt8>& c) { | 109 | 49 | const auto& col_right = assert_cast<const ColumnConst&>(b).get_data_column(); | 110 | 205k | for (size_t i = 0, size = a.size(); i < size; ++i) { | 111 | 205k | c[i] = Op::apply(a.compare_at(i, 0, col_right, 1), 0); | 112 | 205k | } | 113 | 49 | } |
|
114 | | |
115 | 0 | static void constant_vector(const IColumn& a, const IColumn& b, PaddedPODArray<UInt8>& c) { |
116 | 0 | GenericComparisonImpl<typename Op::SymmetricOp>::vector_constant(b, a, c); |
117 | 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 |
118 | | }; |
119 | | |
120 | | template <typename Op> |
121 | | struct StringComparisonImpl { |
122 | | static void NO_INLINE string_vector_string_vector(const ColumnString::Chars& a_data, |
123 | | const ColumnString::Offsets& a_offsets, |
124 | | const ColumnString::Chars& b_data, |
125 | | const ColumnString::Offsets& b_offsets, |
126 | 436 | PaddedPODArray<UInt8>& c) { |
127 | 436 | size_t size = a_offsets.size(); |
128 | 436 | ColumnString::Offset prev_a_offset = 0; |
129 | 436 | ColumnString::Offset prev_b_offset = 0; |
130 | 436 | const auto* a_pos = a_data.data(); |
131 | 436 | const auto* b_pos = b_data.data(); |
132 | | |
133 | 1.14k | for (size_t i = 0; i < size; ++i) { |
134 | 709 | c[i] = Op::apply(memcmp_small_allow_overflow15( |
135 | 709 | a_pos + prev_a_offset, a_offsets[i] - prev_a_offset, |
136 | 709 | b_pos + prev_b_offset, b_offsets[i] - prev_b_offset), |
137 | 709 | 0); |
138 | | |
139 | 709 | prev_a_offset = a_offsets[i]; |
140 | 709 | prev_b_offset = b_offsets[i]; |
141 | 709 | } |
142 | 436 | } _ZN5doris20StringComparisonImplINS_9GreaterOpILNS_13PrimitiveTypeE5EEEE27string_vector_string_vectorERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERKNS5_IjLm4096ES8_Lm16ELm15EEESB_SE_RS9_ Line | Count | Source | 126 | 2 | PaddedPODArray<UInt8>& c) { | 127 | 2 | size_t size = a_offsets.size(); | 128 | 2 | ColumnString::Offset prev_a_offset = 0; | 129 | 2 | ColumnString::Offset prev_b_offset = 0; | 130 | 2 | const auto* a_pos = a_data.data(); | 131 | 2 | const auto* b_pos = b_data.data(); | 132 | | | 133 | 49 | for (size_t i = 0; i < size; ++i) { | 134 | 47 | c[i] = Op::apply(memcmp_small_allow_overflow15( | 135 | 47 | a_pos + prev_a_offset, a_offsets[i] - prev_a_offset, | 136 | 47 | b_pos + prev_b_offset, b_offsets[i] - prev_b_offset), | 137 | 47 | 0); | 138 | | | 139 | 47 | prev_a_offset = a_offsets[i]; | 140 | 47 | prev_b_offset = b_offsets[i]; | 141 | 47 | } | 142 | 2 | } |
_ZN5doris20StringComparisonImplINS_17GreaterOrEqualsOpILNS_13PrimitiveTypeE5EEEE27string_vector_string_vectorERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERKNS5_IjLm4096ES8_Lm16ELm15EEESB_SE_RS9_ Line | Count | Source | 126 | 40 | PaddedPODArray<UInt8>& c) { | 127 | 40 | size_t size = a_offsets.size(); | 128 | 40 | ColumnString::Offset prev_a_offset = 0; | 129 | 40 | ColumnString::Offset prev_b_offset = 0; | 130 | 40 | const auto* a_pos = a_data.data(); | 131 | 40 | const auto* b_pos = b_data.data(); | 132 | | | 133 | 304 | for (size_t i = 0; i < size; ++i) { | 134 | 264 | c[i] = Op::apply(memcmp_small_allow_overflow15( | 135 | 264 | a_pos + prev_a_offset, a_offsets[i] - prev_a_offset, | 136 | 264 | b_pos + prev_b_offset, b_offsets[i] - prev_b_offset), | 137 | 264 | 0); | 138 | | | 139 | 264 | prev_a_offset = a_offsets[i]; | 140 | 264 | prev_b_offset = b_offsets[i]; | 141 | 264 | } | 142 | 40 | } |
_ZN5doris20StringComparisonImplINS_6LessOpILNS_13PrimitiveTypeE5EEEE27string_vector_string_vectorERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERKNS5_IjLm4096ES8_Lm16ELm15EEESB_SE_RS9_ Line | Count | Source | 126 | 394 | PaddedPODArray<UInt8>& c) { | 127 | 394 | size_t size = a_offsets.size(); | 128 | 394 | ColumnString::Offset prev_a_offset = 0; | 129 | 394 | ColumnString::Offset prev_b_offset = 0; | 130 | 394 | const auto* a_pos = a_data.data(); | 131 | 394 | const auto* b_pos = b_data.data(); | 132 | | | 133 | 792 | for (size_t i = 0; i < size; ++i) { | 134 | 398 | c[i] = Op::apply(memcmp_small_allow_overflow15( | 135 | 398 | a_pos + prev_a_offset, a_offsets[i] - prev_a_offset, | 136 | 398 | b_pos + prev_b_offset, b_offsets[i] - prev_b_offset), | 137 | 398 | 0); | 138 | | | 139 | 398 | prev_a_offset = a_offsets[i]; | 140 | 398 | prev_b_offset = b_offsets[i]; | 141 | 398 | } | 142 | 394 | } |
Unexecuted instantiation: _ZN5doris20StringComparisonImplINS_14LessOrEqualsOpILNS_13PrimitiveTypeE5EEEE27string_vector_string_vectorERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERKNS5_IjLm4096ES8_Lm16ELm15EEESB_SE_RS9_ |
143 | | |
144 | | static void NO_INLINE string_vector_constant(const ColumnString::Chars& a_data, |
145 | | const ColumnString::Offsets& a_offsets, |
146 | | const ColumnString::Chars& b_data, |
147 | | ColumnString::Offset b_size, |
148 | 3.07k | PaddedPODArray<UInt8>& c) { |
149 | 3.07k | size_t size = a_offsets.size(); |
150 | 3.07k | ColumnString::Offset prev_a_offset = 0; |
151 | 3.07k | const auto* a_pos = a_data.data(); |
152 | 3.07k | const auto* b_pos = b_data.data(); |
153 | | |
154 | 1.62M | for (size_t i = 0; i < size; ++i) { |
155 | 1.61M | c[i] = Op::apply( |
156 | 1.61M | memcmp_small_allow_overflow15(a_pos + prev_a_offset, |
157 | 1.61M | a_offsets[i] - prev_a_offset, b_pos, b_size), |
158 | 1.61M | 0); |
159 | | |
160 | 1.61M | prev_a_offset = a_offsets[i]; |
161 | 1.61M | } |
162 | 3.07k | } _ZN5doris20StringComparisonImplINS_9GreaterOpILNS_13PrimitiveTypeE5EEEE22string_vector_constantERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERKNS5_IjLm4096ES8_Lm16ELm15EEESB_jRS9_ Line | Count | Source | 148 | 186 | PaddedPODArray<UInt8>& c) { | 149 | 186 | size_t size = a_offsets.size(); | 150 | 186 | ColumnString::Offset prev_a_offset = 0; | 151 | 186 | const auto* a_pos = a_data.data(); | 152 | 186 | const auto* b_pos = b_data.data(); | 153 | | | 154 | 325k | for (size_t i = 0; i < size; ++i) { | 155 | 325k | c[i] = Op::apply( | 156 | 325k | memcmp_small_allow_overflow15(a_pos + prev_a_offset, | 157 | 325k | a_offsets[i] - prev_a_offset, b_pos, b_size), | 158 | 325k | 0); | 159 | | | 160 | 325k | prev_a_offset = a_offsets[i]; | 161 | 325k | } | 162 | 186 | } |
_ZN5doris20StringComparisonImplINS_6LessOpILNS_13PrimitiveTypeE5EEEE22string_vector_constantERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERKNS5_IjLm4096ES8_Lm16ELm15EEESB_jRS9_ Line | Count | Source | 148 | 253 | PaddedPODArray<UInt8>& c) { | 149 | 253 | size_t size = a_offsets.size(); | 150 | 253 | ColumnString::Offset prev_a_offset = 0; | 151 | 253 | const auto* a_pos = a_data.data(); | 152 | 253 | const auto* b_pos = b_data.data(); | 153 | | | 154 | 73.2k | for (size_t i = 0; i < size; ++i) { | 155 | 73.0k | c[i] = Op::apply( | 156 | 73.0k | memcmp_small_allow_overflow15(a_pos + prev_a_offset, | 157 | 73.0k | a_offsets[i] - prev_a_offset, b_pos, b_size), | 158 | 73.0k | 0); | 159 | | | 160 | 73.0k | prev_a_offset = a_offsets[i]; | 161 | 73.0k | } | 162 | 253 | } |
_ZN5doris20StringComparisonImplINS_17GreaterOrEqualsOpILNS_13PrimitiveTypeE5EEEE22string_vector_constantERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERKNS5_IjLm4096ES8_Lm16ELm15EEESB_jRS9_ Line | Count | Source | 148 | 633 | PaddedPODArray<UInt8>& c) { | 149 | 633 | size_t size = a_offsets.size(); | 150 | 633 | ColumnString::Offset prev_a_offset = 0; | 151 | 633 | const auto* a_pos = a_data.data(); | 152 | 633 | const auto* b_pos = b_data.data(); | 153 | | | 154 | 627k | for (size_t i = 0; i < size; ++i) { | 155 | 626k | c[i] = Op::apply( | 156 | 626k | memcmp_small_allow_overflow15(a_pos + prev_a_offset, | 157 | 626k | a_offsets[i] - prev_a_offset, b_pos, b_size), | 158 | 626k | 0); | 159 | | | 160 | 626k | prev_a_offset = a_offsets[i]; | 161 | 626k | } | 162 | 633 | } |
_ZN5doris20StringComparisonImplINS_14LessOrEqualsOpILNS_13PrimitiveTypeE5EEEE22string_vector_constantERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERKNS5_IjLm4096ES8_Lm16ELm15EEESB_jRS9_ Line | Count | Source | 148 | 2.00k | PaddedPODArray<UInt8>& c) { | 149 | 2.00k | size_t size = a_offsets.size(); | 150 | 2.00k | ColumnString::Offset prev_a_offset = 0; | 151 | 2.00k | const auto* a_pos = a_data.data(); | 152 | 2.00k | const auto* b_pos = b_data.data(); | 153 | | | 154 | 595k | for (size_t i = 0; i < size; ++i) { | 155 | 593k | c[i] = Op::apply( | 156 | 593k | memcmp_small_allow_overflow15(a_pos + prev_a_offset, | 157 | 593k | a_offsets[i] - prev_a_offset, b_pos, b_size), | 158 | 593k | 0); | 159 | | | 160 | 593k | prev_a_offset = a_offsets[i]; | 161 | 593k | } | 162 | 2.00k | } |
|
163 | | |
164 | | static void constant_string_vector(const ColumnString::Chars& a_data, |
165 | | ColumnString::Offset a_size, |
166 | | const ColumnString::Chars& b_data, |
167 | | const ColumnString::Offsets& b_offsets, |
168 | 0 | PaddedPODArray<UInt8>& c) { |
169 | 0 | StringComparisonImpl<typename Op::SymmetricOp>::string_vector_constant(b_data, b_offsets, |
170 | 0 | a_data, a_size, c); |
171 | 0 | } 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_ Unexecuted instantiation: _ZN5doris20StringComparisonImplINS_6LessOpILNS_13PrimitiveTypeE5EEEE22constant_string_vectorERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEjSB_RKNS5_IjLm4096ES8_Lm16ELm15EEERS9_ Unexecuted instantiation: _ZN5doris20StringComparisonImplINS_14LessOrEqualsOpILNS_13PrimitiveTypeE5EEEE22constant_string_vectorERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEjSB_RKNS5_IjLm4096ES8_Lm16ELm15EEERS9_ |
172 | | }; |
173 | | |
174 | | template <bool positive> |
175 | | struct StringEqualsImpl { |
176 | | static void NO_INLINE string_vector_string_vector(const ColumnString::Chars& a_data, |
177 | | const ColumnString::Offsets& a_offsets, |
178 | | const ColumnString::Chars& b_data, |
179 | | const ColumnString::Offsets& b_offsets, |
180 | 427 | PaddedPODArray<UInt8>& c) { |
181 | 427 | size_t size = a_offsets.size(); |
182 | 427 | ColumnString::Offset prev_a_offset = 0; |
183 | 427 | ColumnString::Offset prev_b_offset = 0; |
184 | 427 | const auto* a_pos = a_data.data(); |
185 | 427 | const auto* b_pos = b_data.data(); |
186 | | |
187 | 1.32k | for (size_t i = 0; i < size; ++i) { |
188 | 898 | auto a_size = a_offsets[i] - prev_a_offset; |
189 | 898 | auto b_size = b_offsets[i] - prev_b_offset; |
190 | | |
191 | 898 | c[i] = positive == memequal_small_allow_overflow15(a_pos + prev_a_offset, a_size, |
192 | 898 | b_pos + prev_b_offset, b_size); |
193 | | |
194 | 898 | prev_a_offset = a_offsets[i]; |
195 | 898 | prev_b_offset = b_offsets[i]; |
196 | 898 | } |
197 | 427 | } _ZN5doris16StringEqualsImplILb1EE27string_vector_string_vectorERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERKNS2_IjLm4096ES5_Lm16ELm15EEES8_SB_RS6_ Line | Count | Source | 180 | 426 | PaddedPODArray<UInt8>& c) { | 181 | 426 | size_t size = a_offsets.size(); | 182 | 426 | ColumnString::Offset prev_a_offset = 0; | 183 | 426 | ColumnString::Offset prev_b_offset = 0; | 184 | 426 | const auto* a_pos = a_data.data(); | 185 | 426 | const auto* b_pos = b_data.data(); | 186 | | | 187 | 1.32k | for (size_t i = 0; i < size; ++i) { | 188 | 894 | auto a_size = a_offsets[i] - prev_a_offset; | 189 | 894 | auto b_size = b_offsets[i] - prev_b_offset; | 190 | | | 191 | 894 | c[i] = positive == memequal_small_allow_overflow15(a_pos + prev_a_offset, a_size, | 192 | 894 | b_pos + prev_b_offset, b_size); | 193 | | | 194 | 894 | prev_a_offset = a_offsets[i]; | 195 | 894 | prev_b_offset = b_offsets[i]; | 196 | 894 | } | 197 | 426 | } |
_ZN5doris16StringEqualsImplILb0EE27string_vector_string_vectorERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERKNS2_IjLm4096ES5_Lm16ELm15EEES8_SB_RS6_ Line | Count | Source | 180 | 1 | PaddedPODArray<UInt8>& c) { | 181 | 1 | size_t size = a_offsets.size(); | 182 | 1 | ColumnString::Offset prev_a_offset = 0; | 183 | 1 | ColumnString::Offset prev_b_offset = 0; | 184 | 1 | const auto* a_pos = a_data.data(); | 185 | 1 | const auto* b_pos = b_data.data(); | 186 | | | 187 | 5 | for (size_t i = 0; i < size; ++i) { | 188 | 4 | auto a_size = a_offsets[i] - prev_a_offset; | 189 | 4 | auto b_size = b_offsets[i] - prev_b_offset; | 190 | | | 191 | 4 | c[i] = positive == memequal_small_allow_overflow15(a_pos + prev_a_offset, a_size, | 192 | 4 | b_pos + prev_b_offset, b_size); | 193 | | | 194 | 4 | prev_a_offset = a_offsets[i]; | 195 | 4 | prev_b_offset = b_offsets[i]; | 196 | 4 | } | 197 | 1 | } |
|
198 | | |
199 | | static void NO_INLINE string_vector_constant(const ColumnString::Chars& a_data, |
200 | | const ColumnString::Offsets& a_offsets, |
201 | | const ColumnString::Chars& b_data, |
202 | | ColumnString::Offset b_size, |
203 | 23.4k | PaddedPODArray<UInt8>& c) { |
204 | 23.4k | size_t size = a_offsets.size(); |
205 | 23.4k | if (b_size == 0) { |
206 | 1 | auto* __restrict data = c.data(); |
207 | 1 | auto* __restrict offsets = a_offsets.data(); |
208 | | |
209 | 1 | ColumnString::Offset prev_a_offset = 0; |
210 | 4 | for (size_t i = 0; i < size; ++i) { |
211 | 3 | data[i] = positive ? (offsets[i] == prev_a_offset) : (offsets[i] != prev_a_offset); |
212 | 3 | prev_a_offset = offsets[i]; |
213 | 3 | } |
214 | 23.4k | } else { |
215 | 23.4k | ColumnString::Offset prev_a_offset = 0; |
216 | 23.4k | const auto* a_pos = a_data.data(); |
217 | 23.4k | const auto* b_pos = b_data.data(); |
218 | 9.52M | for (size_t i = 0; i < size; ++i) { |
219 | 9.50M | auto a_size = a_offsets[i] - prev_a_offset; |
220 | 9.50M | c[i] = positive == memequal_small_allow_overflow15(a_pos + prev_a_offset, a_size, |
221 | 9.50M | b_pos, b_size); |
222 | 9.50M | prev_a_offset = a_offsets[i]; |
223 | 9.50M | } |
224 | 23.4k | } |
225 | 23.4k | } _ZN5doris16StringEqualsImplILb1EE22string_vector_constantERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERKNS2_IjLm4096ES5_Lm16ELm15EEES8_jRS6_ Line | Count | Source | 203 | 21.9k | PaddedPODArray<UInt8>& c) { | 204 | 21.9k | size_t size = a_offsets.size(); | 205 | 21.9k | if (b_size == 0) { | 206 | 0 | auto* __restrict data = c.data(); | 207 | 0 | auto* __restrict offsets = a_offsets.data(); | 208 | |
| 209 | 0 | ColumnString::Offset prev_a_offset = 0; | 210 | 0 | for (size_t i = 0; i < size; ++i) { | 211 | 0 | data[i] = positive ? (offsets[i] == prev_a_offset) : (offsets[i] != prev_a_offset); | 212 | 0 | prev_a_offset = offsets[i]; | 213 | 0 | } | 214 | 21.9k | } else { | 215 | 21.9k | ColumnString::Offset prev_a_offset = 0; | 216 | 21.9k | const auto* a_pos = a_data.data(); | 217 | 21.9k | const auto* b_pos = b_data.data(); | 218 | 8.56M | for (size_t i = 0; i < size; ++i) { | 219 | 8.54M | auto a_size = a_offsets[i] - prev_a_offset; | 220 | 8.54M | c[i] = positive == memequal_small_allow_overflow15(a_pos + prev_a_offset, a_size, | 221 | 8.54M | b_pos, b_size); | 222 | 8.54M | prev_a_offset = a_offsets[i]; | 223 | 8.54M | } | 224 | 21.9k | } | 225 | 21.9k | } |
_ZN5doris16StringEqualsImplILb0EE22string_vector_constantERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERKNS2_IjLm4096ES5_Lm16ELm15EEES8_jRS6_ Line | Count | Source | 203 | 1.47k | PaddedPODArray<UInt8>& c) { | 204 | 1.47k | size_t size = a_offsets.size(); | 205 | 1.47k | if (b_size == 0) { | 206 | 1 | auto* __restrict data = c.data(); | 207 | 1 | auto* __restrict offsets = a_offsets.data(); | 208 | | | 209 | 1 | ColumnString::Offset prev_a_offset = 0; | 210 | 4 | for (size_t i = 0; i < size; ++i) { | 211 | 3 | data[i] = positive ? (offsets[i] == prev_a_offset) : (offsets[i] != prev_a_offset); | 212 | 3 | prev_a_offset = offsets[i]; | 213 | 3 | } | 214 | 1.47k | } else { | 215 | 1.47k | ColumnString::Offset prev_a_offset = 0; | 216 | 1.47k | const auto* a_pos = a_data.data(); | 217 | 1.47k | const auto* b_pos = b_data.data(); | 218 | 959k | for (size_t i = 0; i < size; ++i) { | 219 | 957k | auto a_size = a_offsets[i] - prev_a_offset; | 220 | 957k | c[i] = positive == memequal_small_allow_overflow15(a_pos + prev_a_offset, a_size, | 221 | 957k | b_pos, b_size); | 222 | 957k | prev_a_offset = a_offsets[i]; | 223 | 957k | } | 224 | 1.47k | } | 225 | 1.47k | } |
|
226 | | |
227 | | static void NO_INLINE constant_string_vector(const ColumnString::Chars& a_data, |
228 | | ColumnString::Offset a_size, |
229 | | const ColumnString::Chars& b_data, |
230 | | const ColumnString::Offsets& b_offsets, |
231 | 0 | PaddedPODArray<UInt8>& c) { |
232 | 0 | string_vector_constant(b_data, b_offsets, a_data, a_size, c); |
233 | 0 | } Unexecuted instantiation: _ZN5doris16StringEqualsImplILb1EE22constant_string_vectorERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEjS8_RKNS2_IjLm4096ES5_Lm16ELm15EEERS6_ Unexecuted instantiation: _ZN5doris16StringEqualsImplILb0EE22constant_string_vectorERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEjS8_RKNS2_IjLm4096ES5_Lm16ELm15EEERS6_ |
234 | | }; |
235 | | |
236 | | template <PrimitiveType PT> |
237 | | struct StringComparisonImpl<EqualsOp<PT>> : StringEqualsImpl<true> {}; |
238 | | |
239 | | template <PrimitiveType PT> |
240 | | struct StringComparisonImpl<NotEqualsOp<PT>> : StringEqualsImpl<false> {}; |
241 | | |
242 | | struct NameEquals { |
243 | | static constexpr auto name = "eq"; |
244 | | }; |
245 | | struct NameNotEquals { |
246 | | static constexpr auto name = "ne"; |
247 | | }; |
248 | | struct NameLess { |
249 | | static constexpr auto name = "lt"; |
250 | | }; |
251 | | struct NameGreater { |
252 | | static constexpr auto name = "gt"; |
253 | | }; |
254 | | struct NameLessOrEquals { |
255 | | static constexpr auto name = "le"; |
256 | | }; |
257 | | struct NameGreaterOrEquals { |
258 | | static constexpr auto name = "ge"; |
259 | | }; |
260 | | |
261 | | template <template <PrimitiveType> class Op, typename Name> |
262 | | class FunctionComparison : public IFunction { |
263 | | public: |
264 | | static constexpr auto name = Name::name; |
265 | 458k | static FunctionPtr create() { return std::make_shared<FunctionComparison>(); }_ZN5doris18FunctionComparisonINS_8EqualsOpENS_10NameEqualsEE6createEv Line | Count | Source | 265 | 424k | static FunctionPtr create() { return std::make_shared<FunctionComparison>(); } |
_ZN5doris18FunctionComparisonINS_11NotEqualsOpENS_13NameNotEqualsEE6createEv Line | Count | Source | 265 | 1.32k | static FunctionPtr create() { return std::make_shared<FunctionComparison>(); } |
_ZN5doris18FunctionComparisonINS_9GreaterOpENS_11NameGreaterEE6createEv Line | Count | Source | 265 | 6.21k | static FunctionPtr create() { return std::make_shared<FunctionComparison>(); } |
_ZN5doris18FunctionComparisonINS_17GreaterOrEqualsOpENS_19NameGreaterOrEqualsEE6createEv Line | Count | Source | 265 | 9.53k | static FunctionPtr create() { return std::make_shared<FunctionComparison>(); } |
_ZN5doris18FunctionComparisonINS_6LessOpENS_8NameLessEE6createEv Line | Count | Source | 265 | 3.10k | static FunctionPtr create() { return std::make_shared<FunctionComparison>(); } |
_ZN5doris18FunctionComparisonINS_14LessOrEqualsOpENS_16NameLessOrEqualsEE6createEv Line | Count | Source | 265 | 12.9k | static FunctionPtr create() { return std::make_shared<FunctionComparison>(); } |
|
266 | | |
267 | 458k | FunctionComparison() = default; _ZN5doris18FunctionComparisonINS_8EqualsOpENS_10NameEqualsEEC2Ev Line | Count | Source | 267 | 425k | FunctionComparison() = default; |
_ZN5doris18FunctionComparisonINS_11NotEqualsOpENS_13NameNotEqualsEEC2Ev Line | Count | Source | 267 | 1.32k | FunctionComparison() = default; |
_ZN5doris18FunctionComparisonINS_9GreaterOpENS_11NameGreaterEEC2Ev Line | Count | Source | 267 | 6.21k | FunctionComparison() = default; |
_ZN5doris18FunctionComparisonINS_17GreaterOrEqualsOpENS_19NameGreaterOrEqualsEEC2Ev Line | Count | Source | 267 | 9.52k | FunctionComparison() = default; |
_ZN5doris18FunctionComparisonINS_6LessOpENS_8NameLessEEC2Ev Line | Count | Source | 267 | 3.10k | FunctionComparison() = default; |
_ZN5doris18FunctionComparisonINS_14LessOrEqualsOpENS_16NameLessOrEqualsEEC2Ev Line | Count | Source | 267 | 12.9k | FunctionComparison() = default; |
|
268 | | |
269 | 1.21M | double execute_cost() const override { return 0.5; }_ZNK5doris18FunctionComparisonINS_8EqualsOpENS_10NameEqualsEE12execute_costEv Line | Count | Source | 269 | 1.17M | double execute_cost() const override { return 0.5; } |
_ZNK5doris18FunctionComparisonINS_11NotEqualsOpENS_13NameNotEqualsEE12execute_costEv Line | Count | Source | 269 | 1.17k | double execute_cost() const override { return 0.5; } |
_ZNK5doris18FunctionComparisonINS_9GreaterOpENS_11NameGreaterEE12execute_costEv Line | Count | Source | 269 | 6.54k | double execute_cost() const override { return 0.5; } |
_ZNK5doris18FunctionComparisonINS_17GreaterOrEqualsOpENS_19NameGreaterOrEqualsEE12execute_costEv Line | Count | Source | 269 | 16.1k | double execute_cost() const override { return 0.5; } |
_ZNK5doris18FunctionComparisonINS_6LessOpENS_8NameLessEE12execute_costEv Line | Count | Source | 269 | 3.23k | double execute_cost() const override { return 0.5; } |
_ZNK5doris18FunctionComparisonINS_14LessOrEqualsOpENS_16NameLessOrEqualsEE12execute_costEv Line | Count | Source | 269 | 14.8k | double execute_cost() const override { return 0.5; } |
|
270 | | |
271 | | private: |
272 | | template <PrimitiveType PT> |
273 | | Status execute_num_type(Block& block, uint32_t result, const ColumnPtr& col_left_ptr, |
274 | 177k | const ColumnPtr& col_right_ptr) const { |
275 | 177k | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); |
276 | 177k | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); |
277 | | |
278 | 177k | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); |
279 | 177k | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); |
280 | | |
281 | 177k | DCHECK(!(left_is_const && right_is_const)); |
282 | | |
283 | 177k | if (!left_is_const && !right_is_const) { |
284 | 11.9k | auto col_res = ColumnUInt8::create(); |
285 | | |
286 | 11.9k | ColumnUInt8::Container& vec_res = col_res->get_data(); |
287 | 11.9k | vec_res.resize(col_left->get_data().size()); |
288 | 11.9k | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, |
289 | 11.9k | typename PrimitiveTypeTraits<PT>::CppType, |
290 | 11.9k | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), |
291 | 11.9k | vec_res); |
292 | | |
293 | 11.9k | block.replace_by_position(result, std::move(col_res)); |
294 | 165k | } else if (!left_is_const && right_is_const) { |
295 | 165k | auto col_res = ColumnUInt8::create(); |
296 | | |
297 | 165k | ColumnUInt8::Container& vec_res = col_res->get_data(); |
298 | 165k | vec_res.resize(col_left->size()); |
299 | 165k | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, |
300 | 165k | typename PrimitiveTypeTraits<PT>::CppType, |
301 | 165k | Op<PT>>::vector_constant(col_left->get_data(), |
302 | 165k | col_right->get_element(0), vec_res); |
303 | | |
304 | 165k | block.replace_by_position(result, std::move(col_res)); |
305 | 18.4E | } else if (left_is_const && !right_is_const) { |
306 | 5 | auto col_res = ColumnUInt8::create(); |
307 | | |
308 | 5 | ColumnUInt8::Container& vec_res = col_res->get_data(); |
309 | 5 | vec_res.resize(col_right->size()); |
310 | 5 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, |
311 | 5 | typename PrimitiveTypeTraits<PT>::CppType, |
312 | 5 | Op<PT>>::constant_vector(col_left->get_element(0), |
313 | 5 | col_right->get_data(), vec_res); |
314 | | |
315 | 5 | block.replace_by_position(result, std::move(col_res)); |
316 | 5 | } |
317 | 177k | return Status::OK(); |
318 | 177k | } _ZNK5doris18FunctionComparisonINS_8EqualsOpENS_10NameEqualsEE16execute_num_typeILNS_13PrimitiveTypeE2EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 274 | 1.61k | const ColumnPtr& col_right_ptr) const { | 275 | 1.61k | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 276 | 1.61k | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 277 | | | 278 | 1.61k | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 279 | 1.61k | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 280 | | | 281 | 1.61k | DCHECK(!(left_is_const && right_is_const)); | 282 | | | 283 | 1.61k | if (!left_is_const && !right_is_const) { | 284 | 70 | auto col_res = ColumnUInt8::create(); | 285 | | | 286 | 70 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 287 | 70 | vec_res.resize(col_left->get_data().size()); | 288 | 70 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 289 | 70 | typename PrimitiveTypeTraits<PT>::CppType, | 290 | 70 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 291 | 70 | vec_res); | 292 | | | 293 | 70 | block.replace_by_position(result, std::move(col_res)); | 294 | 1.54k | } else if (!left_is_const && right_is_const) { | 295 | 1.54k | auto col_res = ColumnUInt8::create(); | 296 | | | 297 | 1.54k | ColumnUInt8::Container& vec_res = col_res->get_data(); | 298 | 1.54k | vec_res.resize(col_left->size()); | 299 | 1.54k | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 300 | 1.54k | typename PrimitiveTypeTraits<PT>::CppType, | 301 | 1.54k | Op<PT>>::vector_constant(col_left->get_data(), | 302 | 1.54k | col_right->get_element(0), vec_res); | 303 | | | 304 | 1.54k | block.replace_by_position(result, std::move(col_res)); | 305 | 1.54k | } else if (left_is_const && !right_is_const) { | 306 | 0 | auto col_res = ColumnUInt8::create(); | 307 | |
| 308 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 309 | 0 | vec_res.resize(col_right->size()); | 310 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 311 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 312 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 313 | 0 | col_right->get_data(), vec_res); | 314 | |
| 315 | 0 | block.replace_by_position(result, std::move(col_res)); | 316 | 0 | } | 317 | 1.61k | return Status::OK(); | 318 | 1.61k | } |
_ZNK5doris18FunctionComparisonINS_8EqualsOpENS_10NameEqualsEE16execute_num_typeILNS_13PrimitiveTypeE25EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 274 | 1.45k | const ColumnPtr& col_right_ptr) const { | 275 | 1.45k | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 276 | 1.45k | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 277 | | | 278 | 1.45k | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 279 | 1.45k | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 280 | | | 281 | 1.45k | DCHECK(!(left_is_const && right_is_const)); | 282 | | | 283 | 1.45k | if (!left_is_const && !right_is_const) { | 284 | 329 | auto col_res = ColumnUInt8::create(); | 285 | | | 286 | 329 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 287 | 329 | vec_res.resize(col_left->get_data().size()); | 288 | 329 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 289 | 329 | typename PrimitiveTypeTraits<PT>::CppType, | 290 | 329 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 291 | 329 | vec_res); | 292 | | | 293 | 329 | block.replace_by_position(result, std::move(col_res)); | 294 | 1.13k | } else if (!left_is_const && right_is_const) { | 295 | 1.13k | auto col_res = ColumnUInt8::create(); | 296 | | | 297 | 1.13k | ColumnUInt8::Container& vec_res = col_res->get_data(); | 298 | 1.13k | vec_res.resize(col_left->size()); | 299 | 1.13k | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 300 | 1.13k | typename PrimitiveTypeTraits<PT>::CppType, | 301 | 1.13k | Op<PT>>::vector_constant(col_left->get_data(), | 302 | 1.13k | col_right->get_element(0), vec_res); | 303 | | | 304 | 1.13k | block.replace_by_position(result, std::move(col_res)); | 305 | 1.13k | } else if (left_is_const && !right_is_const) { | 306 | 0 | auto col_res = ColumnUInt8::create(); | 307 | |
| 308 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 309 | 0 | vec_res.resize(col_right->size()); | 310 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 311 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 312 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 313 | 0 | col_right->get_data(), vec_res); | 314 | |
| 315 | 0 | block.replace_by_position(result, std::move(col_res)); | 316 | 0 | } | 317 | 1.45k | return Status::OK(); | 318 | 1.45k | } |
_ZNK5doris18FunctionComparisonINS_8EqualsOpENS_10NameEqualsEE16execute_num_typeILNS_13PrimitiveTypeE26EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 274 | 637 | const ColumnPtr& col_right_ptr) const { | 275 | 637 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 276 | 637 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 277 | | | 278 | 637 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 279 | 637 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 280 | | | 281 | 637 | DCHECK(!(left_is_const && right_is_const)); | 282 | | | 283 | 637 | if (!left_is_const && !right_is_const) { | 284 | 240 | auto col_res = ColumnUInt8::create(); | 285 | | | 286 | 240 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 287 | 240 | vec_res.resize(col_left->get_data().size()); | 288 | 240 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 289 | 240 | typename PrimitiveTypeTraits<PT>::CppType, | 290 | 240 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 291 | 240 | vec_res); | 292 | | | 293 | 240 | block.replace_by_position(result, std::move(col_res)); | 294 | 397 | } else if (!left_is_const && right_is_const) { | 295 | 397 | auto col_res = ColumnUInt8::create(); | 296 | | | 297 | 397 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 298 | 397 | vec_res.resize(col_left->size()); | 299 | 397 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 300 | 397 | typename PrimitiveTypeTraits<PT>::CppType, | 301 | 397 | Op<PT>>::vector_constant(col_left->get_data(), | 302 | 397 | col_right->get_element(0), vec_res); | 303 | | | 304 | 397 | block.replace_by_position(result, std::move(col_res)); | 305 | 397 | } else if (left_is_const && !right_is_const) { | 306 | 0 | auto col_res = ColumnUInt8::create(); | 307 | |
| 308 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 309 | 0 | vec_res.resize(col_right->size()); | 310 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 311 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 312 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 313 | 0 | col_right->get_data(), vec_res); | 314 | |
| 315 | 0 | block.replace_by_position(result, std::move(col_res)); | 316 | 0 | } | 317 | 637 | return Status::OK(); | 318 | 637 | } |
_ZNK5doris18FunctionComparisonINS_8EqualsOpENS_10NameEqualsEE16execute_num_typeILNS_13PrimitiveTypeE42EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 274 | 2 | const ColumnPtr& col_right_ptr) const { | 275 | 2 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 276 | 2 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 277 | | | 278 | 2 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 279 | 2 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 280 | | | 281 | 2 | DCHECK(!(left_is_const && right_is_const)); | 282 | | | 283 | 2 | if (!left_is_const && !right_is_const) { | 284 | 2 | auto col_res = ColumnUInt8::create(); | 285 | | | 286 | 2 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 287 | 2 | vec_res.resize(col_left->get_data().size()); | 288 | 2 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 289 | 2 | typename PrimitiveTypeTraits<PT>::CppType, | 290 | 2 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 291 | 2 | vec_res); | 292 | | | 293 | 2 | block.replace_by_position(result, std::move(col_res)); | 294 | 2 | } else if (!left_is_const && right_is_const) { | 295 | 0 | auto col_res = ColumnUInt8::create(); | 296 | |
| 297 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 298 | 0 | vec_res.resize(col_left->size()); | 299 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 300 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 301 | 0 | Op<PT>>::vector_constant(col_left->get_data(), | 302 | 0 | col_right->get_element(0), vec_res); | 303 | |
| 304 | 0 | block.replace_by_position(result, std::move(col_res)); | 305 | 0 | } else if (left_is_const && !right_is_const) { | 306 | 0 | auto col_res = ColumnUInt8::create(); | 307 | |
| 308 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 309 | 0 | vec_res.resize(col_right->size()); | 310 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 311 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 312 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 313 | 0 | col_right->get_data(), vec_res); | 314 | |
| 315 | 0 | block.replace_by_position(result, std::move(col_res)); | 316 | 0 | } | 317 | 2 | return Status::OK(); | 318 | 2 | } |
_ZNK5doris18FunctionComparisonINS_8EqualsOpENS_10NameEqualsEE16execute_num_typeILNS_13PrimitiveTypeE3EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 274 | 5.33k | const ColumnPtr& col_right_ptr) const { | 275 | 5.33k | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 276 | 5.33k | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 277 | | | 278 | 5.33k | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 279 | 5.33k | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 280 | | | 281 | 5.33k | DCHECK(!(left_is_const && right_is_const)); | 282 | | | 283 | 5.33k | if (!left_is_const && !right_is_const) { | 284 | 611 | auto col_res = ColumnUInt8::create(); | 285 | | | 286 | 611 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 287 | 611 | vec_res.resize(col_left->get_data().size()); | 288 | 611 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 289 | 611 | typename PrimitiveTypeTraits<PT>::CppType, | 290 | 611 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 291 | 611 | vec_res); | 292 | | | 293 | 611 | block.replace_by_position(result, std::move(col_res)); | 294 | 4.72k | } else if (!left_is_const && right_is_const) { | 295 | 4.72k | auto col_res = ColumnUInt8::create(); | 296 | | | 297 | 4.72k | ColumnUInt8::Container& vec_res = col_res->get_data(); | 298 | 4.72k | vec_res.resize(col_left->size()); | 299 | 4.72k | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 300 | 4.72k | typename PrimitiveTypeTraits<PT>::CppType, | 301 | 4.72k | Op<PT>>::vector_constant(col_left->get_data(), | 302 | 4.72k | col_right->get_element(0), vec_res); | 303 | | | 304 | 4.72k | block.replace_by_position(result, std::move(col_res)); | 305 | 18.4E | } else if (left_is_const && !right_is_const) { | 306 | 0 | auto col_res = ColumnUInt8::create(); | 307 | |
| 308 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 309 | 0 | vec_res.resize(col_right->size()); | 310 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 311 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 312 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 313 | 0 | col_right->get_data(), vec_res); | 314 | |
| 315 | 0 | block.replace_by_position(result, std::move(col_res)); | 316 | 0 | } | 317 | 5.33k | return Status::OK(); | 318 | 5.33k | } |
_ZNK5doris18FunctionComparisonINS_8EqualsOpENS_10NameEqualsEE16execute_num_typeILNS_13PrimitiveTypeE4EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 274 | 1.33k | const ColumnPtr& col_right_ptr) const { | 275 | 1.33k | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 276 | 1.33k | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 277 | | | 278 | 1.33k | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 279 | 1.33k | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 280 | | | 281 | 1.33k | DCHECK(!(left_is_const && right_is_const)); | 282 | | | 283 | 1.33k | if (!left_is_const && !right_is_const) { | 284 | 121 | auto col_res = ColumnUInt8::create(); | 285 | | | 286 | 121 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 287 | 121 | vec_res.resize(col_left->get_data().size()); | 288 | 121 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 289 | 121 | typename PrimitiveTypeTraits<PT>::CppType, | 290 | 121 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 291 | 121 | vec_res); | 292 | | | 293 | 121 | block.replace_by_position(result, std::move(col_res)); | 294 | 1.21k | } else if (!left_is_const && right_is_const) { | 295 | 1.21k | auto col_res = ColumnUInt8::create(); | 296 | | | 297 | 1.21k | ColumnUInt8::Container& vec_res = col_res->get_data(); | 298 | 1.21k | vec_res.resize(col_left->size()); | 299 | 1.21k | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 300 | 1.21k | typename PrimitiveTypeTraits<PT>::CppType, | 301 | 1.21k | Op<PT>>::vector_constant(col_left->get_data(), | 302 | 1.21k | col_right->get_element(0), vec_res); | 303 | | | 304 | 1.21k | block.replace_by_position(result, std::move(col_res)); | 305 | 1.21k | } else if (left_is_const && !right_is_const) { | 306 | 0 | auto col_res = ColumnUInt8::create(); | 307 | |
| 308 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 309 | 0 | vec_res.resize(col_right->size()); | 310 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 311 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 312 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 313 | 0 | col_right->get_data(), vec_res); | 314 | |
| 315 | 0 | block.replace_by_position(result, std::move(col_res)); | 316 | 0 | } | 317 | 1.33k | return Status::OK(); | 318 | 1.33k | } |
_ZNK5doris18FunctionComparisonINS_8EqualsOpENS_10NameEqualsEE16execute_num_typeILNS_13PrimitiveTypeE5EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 274 | 31.3k | const ColumnPtr& col_right_ptr) const { | 275 | 31.3k | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 276 | 31.3k | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 277 | | | 278 | 31.3k | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 279 | 31.3k | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 280 | | | 281 | 31.3k | DCHECK(!(left_is_const && right_is_const)); | 282 | | | 283 | 31.3k | if (!left_is_const && !right_is_const) { | 284 | 262 | auto col_res = ColumnUInt8::create(); | 285 | | | 286 | 262 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 287 | 262 | vec_res.resize(col_left->get_data().size()); | 288 | 262 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 289 | 262 | typename PrimitiveTypeTraits<PT>::CppType, | 290 | 262 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 291 | 262 | vec_res); | 292 | | | 293 | 262 | block.replace_by_position(result, std::move(col_res)); | 294 | 31.1k | } else if (!left_is_const && right_is_const) { | 295 | 31.1k | auto col_res = ColumnUInt8::create(); | 296 | | | 297 | 31.1k | ColumnUInt8::Container& vec_res = col_res->get_data(); | 298 | 31.1k | vec_res.resize(col_left->size()); | 299 | 31.1k | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 300 | 31.1k | typename PrimitiveTypeTraits<PT>::CppType, | 301 | 31.1k | Op<PT>>::vector_constant(col_left->get_data(), | 302 | 31.1k | col_right->get_element(0), vec_res); | 303 | | | 304 | 31.1k | block.replace_by_position(result, std::move(col_res)); | 305 | 31.1k | } else if (left_is_const && !right_is_const) { | 306 | 5 | auto col_res = ColumnUInt8::create(); | 307 | | | 308 | 5 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 309 | 5 | vec_res.resize(col_right->size()); | 310 | 5 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 311 | 5 | typename PrimitiveTypeTraits<PT>::CppType, | 312 | 5 | Op<PT>>::constant_vector(col_left->get_element(0), | 313 | 5 | col_right->get_data(), vec_res); | 314 | | | 315 | 5 | block.replace_by_position(result, std::move(col_res)); | 316 | 5 | } | 317 | 31.3k | return Status::OK(); | 318 | 31.3k | } |
_ZNK5doris18FunctionComparisonINS_8EqualsOpENS_10NameEqualsEE16execute_num_typeILNS_13PrimitiveTypeE6EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 274 | 23.0k | const ColumnPtr& col_right_ptr) const { | 275 | 23.0k | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 276 | 23.0k | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 277 | | | 278 | 23.0k | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 279 | 23.0k | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 280 | | | 281 | 23.0k | DCHECK(!(left_is_const && right_is_const)); | 282 | | | 283 | 23.0k | if (!left_is_const && !right_is_const) { | 284 | 409 | auto col_res = ColumnUInt8::create(); | 285 | | | 286 | 409 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 287 | 409 | vec_res.resize(col_left->get_data().size()); | 288 | 409 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 289 | 409 | typename PrimitiveTypeTraits<PT>::CppType, | 290 | 409 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 291 | 409 | vec_res); | 292 | | | 293 | 409 | block.replace_by_position(result, std::move(col_res)); | 294 | 22.6k | } else if (!left_is_const && right_is_const) { | 295 | 22.6k | auto col_res = ColumnUInt8::create(); | 296 | | | 297 | 22.6k | ColumnUInt8::Container& vec_res = col_res->get_data(); | 298 | 22.6k | vec_res.resize(col_left->size()); | 299 | 22.6k | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 300 | 22.6k | typename PrimitiveTypeTraits<PT>::CppType, | 301 | 22.6k | Op<PT>>::vector_constant(col_left->get_data(), | 302 | 22.6k | col_right->get_element(0), vec_res); | 303 | | | 304 | 22.6k | block.replace_by_position(result, std::move(col_res)); | 305 | 18.4E | } else if (left_is_const && !right_is_const) { | 306 | 0 | auto col_res = ColumnUInt8::create(); | 307 | |
| 308 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 309 | 0 | vec_res.resize(col_right->size()); | 310 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 311 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 312 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 313 | 0 | col_right->get_data(), vec_res); | 314 | |
| 315 | 0 | block.replace_by_position(result, std::move(col_res)); | 316 | 0 | } | 317 | 23.0k | return Status::OK(); | 318 | 23.0k | } |
_ZNK5doris18FunctionComparisonINS_8EqualsOpENS_10NameEqualsEE16execute_num_typeILNS_13PrimitiveTypeE7EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 274 | 129 | const ColumnPtr& col_right_ptr) const { | 275 | 129 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 276 | 129 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 277 | | | 278 | 129 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 279 | 129 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 280 | | | 281 | 129 | DCHECK(!(left_is_const && right_is_const)); | 282 | | | 283 | 129 | if (!left_is_const && !right_is_const) { | 284 | 72 | auto col_res = ColumnUInt8::create(); | 285 | | | 286 | 72 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 287 | 72 | vec_res.resize(col_left->get_data().size()); | 288 | 72 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 289 | 72 | typename PrimitiveTypeTraits<PT>::CppType, | 290 | 72 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 291 | 72 | vec_res); | 292 | | | 293 | 72 | block.replace_by_position(result, std::move(col_res)); | 294 | 72 | } else if (!left_is_const && right_is_const) { | 295 | 57 | auto col_res = ColumnUInt8::create(); | 296 | | | 297 | 57 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 298 | 57 | vec_res.resize(col_left->size()); | 299 | 57 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 300 | 57 | typename PrimitiveTypeTraits<PT>::CppType, | 301 | 57 | Op<PT>>::vector_constant(col_left->get_data(), | 302 | 57 | col_right->get_element(0), vec_res); | 303 | | | 304 | 57 | block.replace_by_position(result, std::move(col_res)); | 305 | 57 | } else if (left_is_const && !right_is_const) { | 306 | 0 | auto col_res = ColumnUInt8::create(); | 307 | |
| 308 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 309 | 0 | vec_res.resize(col_right->size()); | 310 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 311 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 312 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 313 | 0 | col_right->get_data(), vec_res); | 314 | |
| 315 | 0 | block.replace_by_position(result, std::move(col_res)); | 316 | 0 | } | 317 | 129 | return Status::OK(); | 318 | 129 | } |
_ZNK5doris18FunctionComparisonINS_8EqualsOpENS_10NameEqualsEE16execute_num_typeILNS_13PrimitiveTypeE36EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 274 | 22 | const ColumnPtr& col_right_ptr) const { | 275 | 22 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 276 | 22 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 277 | | | 278 | 22 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 279 | 22 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 280 | | | 281 | 22 | DCHECK(!(left_is_const && right_is_const)); | 282 | | | 283 | 22 | if (!left_is_const && !right_is_const) { | 284 | 5 | auto col_res = ColumnUInt8::create(); | 285 | | | 286 | 5 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 287 | 5 | vec_res.resize(col_left->get_data().size()); | 288 | 5 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 289 | 5 | typename PrimitiveTypeTraits<PT>::CppType, | 290 | 5 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 291 | 5 | vec_res); | 292 | | | 293 | 5 | block.replace_by_position(result, std::move(col_res)); | 294 | 18 | } else if (!left_is_const && right_is_const) { | 295 | 18 | auto col_res = ColumnUInt8::create(); | 296 | | | 297 | 18 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 298 | 18 | vec_res.resize(col_left->size()); | 299 | 18 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 300 | 18 | typename PrimitiveTypeTraits<PT>::CppType, | 301 | 18 | Op<PT>>::vector_constant(col_left->get_data(), | 302 | 18 | col_right->get_element(0), vec_res); | 303 | | | 304 | 18 | block.replace_by_position(result, std::move(col_res)); | 305 | 18.4E | } else if (left_is_const && !right_is_const) { | 306 | 0 | auto col_res = ColumnUInt8::create(); | 307 | |
| 308 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 309 | 0 | vec_res.resize(col_right->size()); | 310 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 311 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 312 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 313 | 0 | col_right->get_data(), vec_res); | 314 | |
| 315 | 0 | block.replace_by_position(result, std::move(col_res)); | 316 | 0 | } | 317 | 22 | return Status::OK(); | 318 | 22 | } |
_ZNK5doris18FunctionComparisonINS_8EqualsOpENS_10NameEqualsEE16execute_num_typeILNS_13PrimitiveTypeE37EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 274 | 19 | const ColumnPtr& col_right_ptr) const { | 275 | 19 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 276 | 19 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 277 | | | 278 | 19 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 279 | 19 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 280 | | | 281 | 19 | DCHECK(!(left_is_const && right_is_const)); | 282 | | | 283 | 19 | if (!left_is_const && !right_is_const) { | 284 | 13 | auto col_res = ColumnUInt8::create(); | 285 | | | 286 | 13 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 287 | 13 | vec_res.resize(col_left->get_data().size()); | 288 | 13 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 289 | 13 | typename PrimitiveTypeTraits<PT>::CppType, | 290 | 13 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 291 | 13 | vec_res); | 292 | | | 293 | 13 | block.replace_by_position(result, std::move(col_res)); | 294 | 13 | } else if (!left_is_const && right_is_const) { | 295 | 6 | auto col_res = ColumnUInt8::create(); | 296 | | | 297 | 6 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 298 | 6 | vec_res.resize(col_left->size()); | 299 | 6 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 300 | 6 | typename PrimitiveTypeTraits<PT>::CppType, | 301 | 6 | Op<PT>>::vector_constant(col_left->get_data(), | 302 | 6 | col_right->get_element(0), vec_res); | 303 | | | 304 | 6 | block.replace_by_position(result, std::move(col_res)); | 305 | 6 | } else if (left_is_const && !right_is_const) { | 306 | 0 | auto col_res = ColumnUInt8::create(); | 307 | |
| 308 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 309 | 0 | vec_res.resize(col_right->size()); | 310 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 311 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 312 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 313 | 0 | col_right->get_data(), vec_res); | 314 | |
| 315 | 0 | block.replace_by_position(result, std::move(col_res)); | 316 | 0 | } | 317 | 19 | return Status::OK(); | 318 | 19 | } |
_ZNK5doris18FunctionComparisonINS_8EqualsOpENS_10NameEqualsEE16execute_num_typeILNS_13PrimitiveTypeE8EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 274 | 103 | const ColumnPtr& col_right_ptr) const { | 275 | 103 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 276 | 103 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 277 | | | 278 | 103 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 279 | 103 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 280 | | | 281 | 103 | DCHECK(!(left_is_const && right_is_const)); | 282 | | | 283 | 103 | if (!left_is_const && !right_is_const) { | 284 | 99 | auto col_res = ColumnUInt8::create(); | 285 | | | 286 | 99 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 287 | 99 | vec_res.resize(col_left->get_data().size()); | 288 | 99 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 289 | 99 | typename PrimitiveTypeTraits<PT>::CppType, | 290 | 99 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 291 | 99 | vec_res); | 292 | | | 293 | 99 | block.replace_by_position(result, std::move(col_res)); | 294 | 99 | } else if (!left_is_const && right_is_const) { | 295 | 4 | auto col_res = ColumnUInt8::create(); | 296 | | | 297 | 4 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 298 | 4 | vec_res.resize(col_left->size()); | 299 | 4 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 300 | 4 | typename PrimitiveTypeTraits<PT>::CppType, | 301 | 4 | Op<PT>>::vector_constant(col_left->get_data(), | 302 | 4 | col_right->get_element(0), vec_res); | 303 | | | 304 | 4 | block.replace_by_position(result, std::move(col_res)); | 305 | 4 | } else if (left_is_const && !right_is_const) { | 306 | 0 | auto col_res = ColumnUInt8::create(); | 307 | |
| 308 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 309 | 0 | vec_res.resize(col_right->size()); | 310 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 311 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 312 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 313 | 0 | col_right->get_data(), vec_res); | 314 | |
| 315 | 0 | block.replace_by_position(result, std::move(col_res)); | 316 | 0 | } | 317 | 103 | return Status::OK(); | 318 | 103 | } |
_ZNK5doris18FunctionComparisonINS_8EqualsOpENS_10NameEqualsEE16execute_num_typeILNS_13PrimitiveTypeE9EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 274 | 387 | const ColumnPtr& col_right_ptr) const { | 275 | 387 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 276 | 387 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 277 | | | 278 | 387 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 279 | 387 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 280 | | | 281 | 387 | DCHECK(!(left_is_const && right_is_const)); | 282 | | | 283 | 387 | if (!left_is_const && !right_is_const) { | 284 | 96 | auto col_res = ColumnUInt8::create(); | 285 | | | 286 | 96 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 287 | 96 | vec_res.resize(col_left->get_data().size()); | 288 | 96 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 289 | 96 | typename PrimitiveTypeTraits<PT>::CppType, | 290 | 96 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 291 | 96 | vec_res); | 292 | | | 293 | 96 | block.replace_by_position(result, std::move(col_res)); | 294 | 291 | } else if (!left_is_const && right_is_const) { | 295 | 291 | auto col_res = ColumnUInt8::create(); | 296 | | | 297 | 291 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 298 | 291 | vec_res.resize(col_left->size()); | 299 | 291 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 300 | 291 | typename PrimitiveTypeTraits<PT>::CppType, | 301 | 291 | Op<PT>>::vector_constant(col_left->get_data(), | 302 | 291 | col_right->get_element(0), vec_res); | 303 | | | 304 | 291 | block.replace_by_position(result, std::move(col_res)); | 305 | 291 | } else if (left_is_const && !right_is_const) { | 306 | 0 | auto col_res = ColumnUInt8::create(); | 307 | |
| 308 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 309 | 0 | vec_res.resize(col_right->size()); | 310 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 311 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 312 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 313 | 0 | col_right->get_data(), vec_res); | 314 | |
| 315 | 0 | block.replace_by_position(result, std::move(col_res)); | 316 | 0 | } | 317 | 387 | return Status::OK(); | 318 | 387 | } |
_ZNK5doris18FunctionComparisonINS_8EqualsOpENS_10NameEqualsEE16execute_num_typeILNS_13PrimitiveTypeE27EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 274 | 4 | const ColumnPtr& col_right_ptr) const { | 275 | 4 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 276 | 4 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 277 | | | 278 | 4 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 279 | 4 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 280 | | | 281 | 4 | DCHECK(!(left_is_const && right_is_const)); | 282 | | | 283 | 4 | if (!left_is_const && !right_is_const) { | 284 | 4 | auto col_res = ColumnUInt8::create(); | 285 | | | 286 | 4 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 287 | 4 | vec_res.resize(col_left->get_data().size()); | 288 | 4 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 289 | 4 | typename PrimitiveTypeTraits<PT>::CppType, | 290 | 4 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 291 | 4 | vec_res); | 292 | | | 293 | 4 | block.replace_by_position(result, std::move(col_res)); | 294 | 4 | } else if (!left_is_const && right_is_const) { | 295 | 0 | auto col_res = ColumnUInt8::create(); | 296 | |
| 297 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 298 | 0 | vec_res.resize(col_left->size()); | 299 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 300 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 301 | 0 | Op<PT>>::vector_constant(col_left->get_data(), | 302 | 0 | col_right->get_element(0), vec_res); | 303 | |
| 304 | 0 | block.replace_by_position(result, std::move(col_res)); | 305 | 0 | } else if (left_is_const && !right_is_const) { | 306 | 0 | auto col_res = ColumnUInt8::create(); | 307 | |
| 308 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 309 | 0 | vec_res.resize(col_right->size()); | 310 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 311 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 312 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 313 | 0 | col_right->get_data(), vec_res); | 314 | |
| 315 | 0 | block.replace_by_position(result, std::move(col_res)); | 316 | 0 | } | 317 | 4 | return Status::OK(); | 318 | 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 | 274 | 78 | const ColumnPtr& col_right_ptr) const { | 275 | 78 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 276 | 78 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 277 | | | 278 | 78 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 279 | 78 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 280 | | | 281 | 78 | DCHECK(!(left_is_const && right_is_const)); | 282 | | | 283 | 78 | if (!left_is_const && !right_is_const) { | 284 | 39 | auto col_res = ColumnUInt8::create(); | 285 | | | 286 | 39 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 287 | 39 | vec_res.resize(col_left->get_data().size()); | 288 | 39 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 289 | 39 | typename PrimitiveTypeTraits<PT>::CppType, | 290 | 39 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 291 | 39 | vec_res); | 292 | | | 293 | 39 | block.replace_by_position(result, std::move(col_res)); | 294 | 39 | } else if (!left_is_const && right_is_const) { | 295 | 39 | auto col_res = ColumnUInt8::create(); | 296 | | | 297 | 39 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 298 | 39 | vec_res.resize(col_left->size()); | 299 | 39 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 300 | 39 | typename PrimitiveTypeTraits<PT>::CppType, | 301 | 39 | Op<PT>>::vector_constant(col_left->get_data(), | 302 | 39 | col_right->get_element(0), vec_res); | 303 | | | 304 | 39 | block.replace_by_position(result, std::move(col_res)); | 305 | 39 | } else if (left_is_const && !right_is_const) { | 306 | 0 | auto col_res = ColumnUInt8::create(); | 307 | |
| 308 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 309 | 0 | vec_res.resize(col_right->size()); | 310 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 311 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 312 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 313 | 0 | col_right->get_data(), vec_res); | 314 | |
| 315 | 0 | block.replace_by_position(result, std::move(col_res)); | 316 | 0 | } | 317 | 78 | return Status::OK(); | 318 | 78 | } |
_ZNK5doris18FunctionComparisonINS_11NotEqualsOpENS_13NameNotEqualsEE16execute_num_typeILNS_13PrimitiveTypeE26EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 274 | 2 | const ColumnPtr& col_right_ptr) const { | 275 | 2 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 276 | 2 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 277 | | | 278 | 2 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 279 | 2 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 280 | | | 281 | 2 | DCHECK(!(left_is_const && right_is_const)); | 282 | | | 283 | 2 | if (!left_is_const && !right_is_const) { | 284 | 0 | auto col_res = ColumnUInt8::create(); | 285 | |
| 286 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 287 | 0 | vec_res.resize(col_left->get_data().size()); | 288 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 289 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 290 | 0 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 291 | 0 | vec_res); | 292 | |
| 293 | 0 | block.replace_by_position(result, std::move(col_res)); | 294 | 2 | } else if (!left_is_const && right_is_const) { | 295 | 2 | auto col_res = ColumnUInt8::create(); | 296 | | | 297 | 2 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 298 | 2 | vec_res.resize(col_left->size()); | 299 | 2 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 300 | 2 | typename PrimitiveTypeTraits<PT>::CppType, | 301 | 2 | Op<PT>>::vector_constant(col_left->get_data(), | 302 | 2 | col_right->get_element(0), vec_res); | 303 | | | 304 | 2 | block.replace_by_position(result, std::move(col_res)); | 305 | 2 | } else if (left_is_const && !right_is_const) { | 306 | 0 | auto col_res = ColumnUInt8::create(); | 307 | |
| 308 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 309 | 0 | vec_res.resize(col_right->size()); | 310 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 311 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 312 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 313 | 0 | col_right->get_data(), vec_res); | 314 | |
| 315 | 0 | block.replace_by_position(result, std::move(col_res)); | 316 | 0 | } | 317 | 2 | return Status::OK(); | 318 | 2 | } |
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 | 274 | 100 | const ColumnPtr& col_right_ptr) const { | 275 | 100 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 276 | 100 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 277 | | | 278 | 100 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 279 | 100 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 280 | | | 281 | 100 | DCHECK(!(left_is_const && right_is_const)); | 282 | | | 283 | 100 | if (!left_is_const && !right_is_const) { | 284 | 56 | auto col_res = ColumnUInt8::create(); | 285 | | | 286 | 56 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 287 | 56 | vec_res.resize(col_left->get_data().size()); | 288 | 56 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 289 | 56 | typename PrimitiveTypeTraits<PT>::CppType, | 290 | 56 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 291 | 56 | vec_res); | 292 | | | 293 | 56 | block.replace_by_position(result, std::move(col_res)); | 294 | 56 | } else if (!left_is_const && right_is_const) { | 295 | 44 | auto col_res = ColumnUInt8::create(); | 296 | | | 297 | 44 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 298 | 44 | vec_res.resize(col_left->size()); | 299 | 44 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 300 | 44 | typename PrimitiveTypeTraits<PT>::CppType, | 301 | 44 | Op<PT>>::vector_constant(col_left->get_data(), | 302 | 44 | col_right->get_element(0), vec_res); | 303 | | | 304 | 44 | block.replace_by_position(result, std::move(col_res)); | 305 | 44 | } else if (left_is_const && !right_is_const) { | 306 | 0 | auto col_res = ColumnUInt8::create(); | 307 | |
| 308 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 309 | 0 | vec_res.resize(col_right->size()); | 310 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 311 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 312 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 313 | 0 | col_right->get_data(), vec_res); | 314 | |
| 315 | 0 | block.replace_by_position(result, std::move(col_res)); | 316 | 0 | } | 317 | 100 | return Status::OK(); | 318 | 100 | } |
_ZNK5doris18FunctionComparisonINS_11NotEqualsOpENS_13NameNotEqualsEE16execute_num_typeILNS_13PrimitiveTypeE4EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 274 | 26 | const ColumnPtr& col_right_ptr) const { | 275 | 26 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 276 | 26 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 277 | | | 278 | 26 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 279 | 26 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 280 | | | 281 | 26 | DCHECK(!(left_is_const && right_is_const)); | 282 | | | 283 | 26 | if (!left_is_const && !right_is_const) { | 284 | 0 | auto col_res = ColumnUInt8::create(); | 285 | |
| 286 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 287 | 0 | vec_res.resize(col_left->get_data().size()); | 288 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 289 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 290 | 0 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 291 | 0 | vec_res); | 292 | |
| 293 | 0 | block.replace_by_position(result, std::move(col_res)); | 294 | 26 | } else if (!left_is_const && right_is_const) { | 295 | 26 | auto col_res = ColumnUInt8::create(); | 296 | | | 297 | 26 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 298 | 26 | vec_res.resize(col_left->size()); | 299 | 26 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 300 | 26 | typename PrimitiveTypeTraits<PT>::CppType, | 301 | 26 | Op<PT>>::vector_constant(col_left->get_data(), | 302 | 26 | col_right->get_element(0), vec_res); | 303 | | | 304 | 26 | block.replace_by_position(result, std::move(col_res)); | 305 | 26 | } else if (left_is_const && !right_is_const) { | 306 | 0 | auto col_res = ColumnUInt8::create(); | 307 | |
| 308 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 309 | 0 | vec_res.resize(col_right->size()); | 310 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 311 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 312 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 313 | 0 | col_right->get_data(), vec_res); | 314 | |
| 315 | 0 | block.replace_by_position(result, std::move(col_res)); | 316 | 0 | } | 317 | 26 | return Status::OK(); | 318 | 26 | } |
_ZNK5doris18FunctionComparisonINS_11NotEqualsOpENS_13NameNotEqualsEE16execute_num_typeILNS_13PrimitiveTypeE5EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 274 | 3.71k | const ColumnPtr& col_right_ptr) const { | 275 | 3.71k | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 276 | 3.71k | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 277 | | | 278 | 3.71k | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 279 | 3.71k | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 280 | | | 281 | 3.71k | DCHECK(!(left_is_const && right_is_const)); | 282 | | | 283 | 3.71k | if (!left_is_const && !right_is_const) { | 284 | 979 | auto col_res = ColumnUInt8::create(); | 285 | | | 286 | 979 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 287 | 979 | vec_res.resize(col_left->get_data().size()); | 288 | 979 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 289 | 979 | typename PrimitiveTypeTraits<PT>::CppType, | 290 | 979 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 291 | 979 | vec_res); | 292 | | | 293 | 979 | block.replace_by_position(result, std::move(col_res)); | 294 | 2.73k | } else if (!left_is_const && right_is_const) { | 295 | 2.73k | auto col_res = ColumnUInt8::create(); | 296 | | | 297 | 2.73k | ColumnUInt8::Container& vec_res = col_res->get_data(); | 298 | 2.73k | vec_res.resize(col_left->size()); | 299 | 2.73k | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 300 | 2.73k | typename PrimitiveTypeTraits<PT>::CppType, | 301 | 2.73k | Op<PT>>::vector_constant(col_left->get_data(), | 302 | 2.73k | col_right->get_element(0), vec_res); | 303 | | | 304 | 2.73k | block.replace_by_position(result, std::move(col_res)); | 305 | 2.73k | } else if (left_is_const && !right_is_const) { | 306 | 0 | auto col_res = ColumnUInt8::create(); | 307 | |
| 308 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 309 | 0 | vec_res.resize(col_right->size()); | 310 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 311 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 312 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 313 | 0 | col_right->get_data(), vec_res); | 314 | |
| 315 | 0 | block.replace_by_position(result, std::move(col_res)); | 316 | 0 | } | 317 | 3.71k | return Status::OK(); | 318 | 3.71k | } |
_ZNK5doris18FunctionComparisonINS_11NotEqualsOpENS_13NameNotEqualsEE16execute_num_typeILNS_13PrimitiveTypeE6EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 274 | 2.28k | const ColumnPtr& col_right_ptr) const { | 275 | 2.28k | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 276 | 2.28k | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 277 | | | 278 | 2.28k | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 279 | 2.28k | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 280 | | | 281 | 2.28k | DCHECK(!(left_is_const && right_is_const)); | 282 | | | 283 | 2.28k | if (!left_is_const && !right_is_const) { | 284 | 354 | auto col_res = ColumnUInt8::create(); | 285 | | | 286 | 354 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 287 | 354 | vec_res.resize(col_left->get_data().size()); | 288 | 354 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 289 | 354 | typename PrimitiveTypeTraits<PT>::CppType, | 290 | 354 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 291 | 354 | vec_res); | 292 | | | 293 | 354 | block.replace_by_position(result, std::move(col_res)); | 294 | 1.92k | } else if (!left_is_const && right_is_const) { | 295 | 1.92k | auto col_res = ColumnUInt8::create(); | 296 | | | 297 | 1.92k | ColumnUInt8::Container& vec_res = col_res->get_data(); | 298 | 1.92k | vec_res.resize(col_left->size()); | 299 | 1.92k | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 300 | 1.92k | typename PrimitiveTypeTraits<PT>::CppType, | 301 | 1.92k | Op<PT>>::vector_constant(col_left->get_data(), | 302 | 1.92k | col_right->get_element(0), vec_res); | 303 | | | 304 | 1.92k | block.replace_by_position(result, std::move(col_res)); | 305 | 1.92k | } else if (left_is_const && !right_is_const) { | 306 | 0 | auto col_res = ColumnUInt8::create(); | 307 | |
| 308 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 309 | 0 | vec_res.resize(col_right->size()); | 310 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 311 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 312 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 313 | 0 | col_right->get_data(), vec_res); | 314 | |
| 315 | 0 | block.replace_by_position(result, std::move(col_res)); | 316 | 0 | } | 317 | 2.28k | return Status::OK(); | 318 | 2.28k | } |
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 | 274 | 47 | const ColumnPtr& col_right_ptr) const { | 275 | 47 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 276 | 47 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 277 | | | 278 | 47 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 279 | 47 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 280 | | | 281 | 47 | DCHECK(!(left_is_const && right_is_const)); | 282 | | | 283 | 47 | if (!left_is_const && !right_is_const) { | 284 | 20 | auto col_res = ColumnUInt8::create(); | 285 | | | 286 | 20 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 287 | 20 | vec_res.resize(col_left->get_data().size()); | 288 | 20 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 289 | 20 | typename PrimitiveTypeTraits<PT>::CppType, | 290 | 20 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 291 | 20 | vec_res); | 292 | | | 293 | 20 | block.replace_by_position(result, std::move(col_res)); | 294 | 27 | } else if (!left_is_const && right_is_const) { | 295 | 27 | auto col_res = ColumnUInt8::create(); | 296 | | | 297 | 27 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 298 | 27 | vec_res.resize(col_left->size()); | 299 | 27 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 300 | 27 | typename PrimitiveTypeTraits<PT>::CppType, | 301 | 27 | Op<PT>>::vector_constant(col_left->get_data(), | 302 | 27 | col_right->get_element(0), vec_res); | 303 | | | 304 | 27 | block.replace_by_position(result, std::move(col_res)); | 305 | 27 | } else if (left_is_const && !right_is_const) { | 306 | 0 | auto col_res = ColumnUInt8::create(); | 307 | |
| 308 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 309 | 0 | vec_res.resize(col_right->size()); | 310 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 311 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 312 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 313 | 0 | col_right->get_data(), vec_res); | 314 | |
| 315 | 0 | block.replace_by_position(result, std::move(col_res)); | 316 | 0 | } | 317 | 47 | return Status::OK(); | 318 | 47 | } |
_ZNK5doris18FunctionComparisonINS_11NotEqualsOpENS_13NameNotEqualsEE16execute_num_typeILNS_13PrimitiveTypeE9EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 274 | 60 | const ColumnPtr& col_right_ptr) const { | 275 | 60 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 276 | 60 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 277 | | | 278 | 60 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 279 | 60 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 280 | | | 281 | 60 | DCHECK(!(left_is_const && right_is_const)); | 282 | | | 283 | 60 | if (!left_is_const && !right_is_const) { | 284 | 20 | auto col_res = ColumnUInt8::create(); | 285 | | | 286 | 20 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 287 | 20 | vec_res.resize(col_left->get_data().size()); | 288 | 20 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 289 | 20 | typename PrimitiveTypeTraits<PT>::CppType, | 290 | 20 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 291 | 20 | vec_res); | 292 | | | 293 | 20 | block.replace_by_position(result, std::move(col_res)); | 294 | 40 | } else if (!left_is_const && right_is_const) { | 295 | 40 | auto col_res = ColumnUInt8::create(); | 296 | | | 297 | 40 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 298 | 40 | vec_res.resize(col_left->size()); | 299 | 40 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 300 | 40 | typename PrimitiveTypeTraits<PT>::CppType, | 301 | 40 | Op<PT>>::vector_constant(col_left->get_data(), | 302 | 40 | col_right->get_element(0), vec_res); | 303 | | | 304 | 40 | block.replace_by_position(result, std::move(col_res)); | 305 | 40 | } else if (left_is_const && !right_is_const) { | 306 | 0 | auto col_res = ColumnUInt8::create(); | 307 | |
| 308 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 309 | 0 | vec_res.resize(col_right->size()); | 310 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 311 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 312 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 313 | 0 | col_right->get_data(), vec_res); | 314 | |
| 315 | 0 | block.replace_by_position(result, std::move(col_res)); | 316 | 0 | } | 317 | 60 | return Status::OK(); | 318 | 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 | 274 | 1.15k | const ColumnPtr& col_right_ptr) const { | 275 | 1.15k | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 276 | 1.15k | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 277 | | | 278 | 1.15k | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 279 | 1.15k | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 280 | | | 281 | 1.15k | DCHECK(!(left_is_const && right_is_const)); | 282 | | | 283 | 1.15k | if (!left_is_const && !right_is_const) { | 284 | 997 | auto col_res = ColumnUInt8::create(); | 285 | | | 286 | 997 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 287 | 997 | vec_res.resize(col_left->get_data().size()); | 288 | 997 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 289 | 997 | typename PrimitiveTypeTraits<PT>::CppType, | 290 | 997 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 291 | 997 | vec_res); | 292 | | | 293 | 997 | block.replace_by_position(result, std::move(col_res)); | 294 | 997 | } else if (!left_is_const && right_is_const) { | 295 | 157 | auto col_res = ColumnUInt8::create(); | 296 | | | 297 | 157 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 298 | 157 | vec_res.resize(col_left->size()); | 299 | 157 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 300 | 157 | typename PrimitiveTypeTraits<PT>::CppType, | 301 | 157 | Op<PT>>::vector_constant(col_left->get_data(), | 302 | 157 | col_right->get_element(0), vec_res); | 303 | | | 304 | 157 | block.replace_by_position(result, std::move(col_res)); | 305 | 157 | } else if (left_is_const && !right_is_const) { | 306 | 0 | auto col_res = ColumnUInt8::create(); | 307 | |
| 308 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 309 | 0 | vec_res.resize(col_right->size()); | 310 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 311 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 312 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 313 | 0 | col_right->get_data(), vec_res); | 314 | |
| 315 | 0 | block.replace_by_position(result, std::move(col_res)); | 316 | 0 | } | 317 | 1.15k | return Status::OK(); | 318 | 1.15k | } |
_ZNK5doris18FunctionComparisonINS_9GreaterOpENS_11NameGreaterEE16execute_num_typeILNS_13PrimitiveTypeE26EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 274 | 94 | const ColumnPtr& col_right_ptr) const { | 275 | 94 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 276 | 94 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 277 | | | 278 | 94 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 279 | 94 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 280 | | | 281 | 94 | DCHECK(!(left_is_const && right_is_const)); | 282 | | | 283 | 94 | if (!left_is_const && !right_is_const) { | 284 | 0 | auto col_res = ColumnUInt8::create(); | 285 | |
| 286 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 287 | 0 | vec_res.resize(col_left->get_data().size()); | 288 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 289 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 290 | 0 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 291 | 0 | vec_res); | 292 | |
| 293 | 0 | block.replace_by_position(result, std::move(col_res)); | 294 | 94 | } else if (!left_is_const && right_is_const) { | 295 | 94 | auto col_res = ColumnUInt8::create(); | 296 | | | 297 | 94 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 298 | 94 | vec_res.resize(col_left->size()); | 299 | 94 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 300 | 94 | typename PrimitiveTypeTraits<PT>::CppType, | 301 | 94 | Op<PT>>::vector_constant(col_left->get_data(), | 302 | 94 | col_right->get_element(0), vec_res); | 303 | | | 304 | 94 | block.replace_by_position(result, std::move(col_res)); | 305 | 94 | } else if (left_is_const && !right_is_const) { | 306 | 0 | auto col_res = ColumnUInt8::create(); | 307 | |
| 308 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 309 | 0 | vec_res.resize(col_right->size()); | 310 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 311 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 312 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 313 | 0 | col_right->get_data(), vec_res); | 314 | |
| 315 | 0 | block.replace_by_position(result, std::move(col_res)); | 316 | 0 | } | 317 | 94 | return Status::OK(); | 318 | 94 | } |
_ZNK5doris18FunctionComparisonINS_9GreaterOpENS_11NameGreaterEE16execute_num_typeILNS_13PrimitiveTypeE42EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 274 | 1 | const ColumnPtr& col_right_ptr) const { | 275 | 1 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 276 | 1 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 277 | | | 278 | 1 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 279 | 1 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 280 | | | 281 | 1 | DCHECK(!(left_is_const && right_is_const)); | 282 | | | 283 | 1 | if (!left_is_const && !right_is_const) { | 284 | 1 | auto col_res = ColumnUInt8::create(); | 285 | | | 286 | 1 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 287 | 1 | vec_res.resize(col_left->get_data().size()); | 288 | 1 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 289 | 1 | typename PrimitiveTypeTraits<PT>::CppType, | 290 | 1 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 291 | 1 | vec_res); | 292 | | | 293 | 1 | block.replace_by_position(result, std::move(col_res)); | 294 | 1 | } else if (!left_is_const && right_is_const) { | 295 | 0 | auto col_res = ColumnUInt8::create(); | 296 | |
| 297 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 298 | 0 | vec_res.resize(col_left->size()); | 299 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 300 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 301 | 0 | Op<PT>>::vector_constant(col_left->get_data(), | 302 | 0 | col_right->get_element(0), vec_res); | 303 | |
| 304 | 0 | block.replace_by_position(result, std::move(col_res)); | 305 | 0 | } else if (left_is_const && !right_is_const) { | 306 | 0 | auto col_res = ColumnUInt8::create(); | 307 | |
| 308 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 309 | 0 | vec_res.resize(col_right->size()); | 310 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 311 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 312 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 313 | 0 | col_right->get_data(), vec_res); | 314 | |
| 315 | 0 | block.replace_by_position(result, std::move(col_res)); | 316 | 0 | } | 317 | 1 | return Status::OK(); | 318 | 1 | } |
_ZNK5doris18FunctionComparisonINS_9GreaterOpENS_11NameGreaterEE16execute_num_typeILNS_13PrimitiveTypeE3EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 274 | 589 | const ColumnPtr& col_right_ptr) const { | 275 | 589 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 276 | 589 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 277 | | | 278 | 589 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 279 | 589 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 280 | | | 281 | 589 | DCHECK(!(left_is_const && right_is_const)); | 282 | | | 283 | 589 | if (!left_is_const && !right_is_const) { | 284 | 203 | auto col_res = ColumnUInt8::create(); | 285 | | | 286 | 203 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 287 | 203 | vec_res.resize(col_left->get_data().size()); | 288 | 203 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 289 | 203 | typename PrimitiveTypeTraits<PT>::CppType, | 290 | 203 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 291 | 203 | vec_res); | 292 | | | 293 | 203 | block.replace_by_position(result, std::move(col_res)); | 294 | 386 | } else if (!left_is_const && right_is_const) { | 295 | 385 | auto col_res = ColumnUInt8::create(); | 296 | | | 297 | 385 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 298 | 385 | vec_res.resize(col_left->size()); | 299 | 385 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 300 | 385 | typename PrimitiveTypeTraits<PT>::CppType, | 301 | 385 | Op<PT>>::vector_constant(col_left->get_data(), | 302 | 385 | col_right->get_element(0), vec_res); | 303 | | | 304 | 385 | block.replace_by_position(result, std::move(col_res)); | 305 | 385 | } else if (left_is_const && !right_is_const) { | 306 | 0 | auto col_res = ColumnUInt8::create(); | 307 | |
| 308 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 309 | 0 | vec_res.resize(col_right->size()); | 310 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 311 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 312 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 313 | 0 | col_right->get_data(), vec_res); | 314 | |
| 315 | 0 | block.replace_by_position(result, std::move(col_res)); | 316 | 0 | } | 317 | 589 | return Status::OK(); | 318 | 589 | } |
_ZNK5doris18FunctionComparisonINS_9GreaterOpENS_11NameGreaterEE16execute_num_typeILNS_13PrimitiveTypeE4EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 274 | 1.01k | const ColumnPtr& col_right_ptr) const { | 275 | 1.01k | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 276 | 1.01k | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 277 | | | 278 | 1.01k | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 279 | 1.01k | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 280 | | | 281 | 1.01k | DCHECK(!(left_is_const && right_is_const)); | 282 | | | 283 | 1.01k | if (!left_is_const && !right_is_const) { | 284 | 459 | auto col_res = ColumnUInt8::create(); | 285 | | | 286 | 459 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 287 | 459 | vec_res.resize(col_left->get_data().size()); | 288 | 459 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 289 | 459 | typename PrimitiveTypeTraits<PT>::CppType, | 290 | 459 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 291 | 459 | vec_res); | 292 | | | 293 | 459 | block.replace_by_position(result, std::move(col_res)); | 294 | 559 | } else if (!left_is_const && right_is_const) { | 295 | 559 | auto col_res = ColumnUInt8::create(); | 296 | | | 297 | 559 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 298 | 559 | vec_res.resize(col_left->size()); | 299 | 559 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 300 | 559 | typename PrimitiveTypeTraits<PT>::CppType, | 301 | 559 | Op<PT>>::vector_constant(col_left->get_data(), | 302 | 559 | col_right->get_element(0), vec_res); | 303 | | | 304 | 559 | block.replace_by_position(result, std::move(col_res)); | 305 | 18.4E | } else if (left_is_const && !right_is_const) { | 306 | 0 | auto col_res = ColumnUInt8::create(); | 307 | |
| 308 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 309 | 0 | vec_res.resize(col_right->size()); | 310 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 311 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 312 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 313 | 0 | col_right->get_data(), vec_res); | 314 | |
| 315 | 0 | block.replace_by_position(result, std::move(col_res)); | 316 | 0 | } | 317 | 1.01k | return Status::OK(); | 318 | 1.01k | } |
_ZNK5doris18FunctionComparisonINS_9GreaterOpENS_11NameGreaterEE16execute_num_typeILNS_13PrimitiveTypeE5EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 274 | 20.1k | const ColumnPtr& col_right_ptr) const { | 275 | 20.1k | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 276 | 20.1k | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 277 | | | 278 | 20.1k | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 279 | 20.1k | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 280 | | | 281 | 20.1k | DCHECK(!(left_is_const && right_is_const)); | 282 | | | 283 | 20.1k | if (!left_is_const && !right_is_const) { | 284 | 2.00k | auto col_res = ColumnUInt8::create(); | 285 | | | 286 | 2.00k | ColumnUInt8::Container& vec_res = col_res->get_data(); | 287 | 2.00k | vec_res.resize(col_left->get_data().size()); | 288 | 2.00k | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 289 | 2.00k | typename PrimitiveTypeTraits<PT>::CppType, | 290 | 2.00k | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 291 | 2.00k | vec_res); | 292 | | | 293 | 2.00k | block.replace_by_position(result, std::move(col_res)); | 294 | 18.1k | } else if (!left_is_const && right_is_const) { | 295 | 18.1k | auto col_res = ColumnUInt8::create(); | 296 | | | 297 | 18.1k | ColumnUInt8::Container& vec_res = col_res->get_data(); | 298 | 18.1k | vec_res.resize(col_left->size()); | 299 | 18.1k | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 300 | 18.1k | typename PrimitiveTypeTraits<PT>::CppType, | 301 | 18.1k | Op<PT>>::vector_constant(col_left->get_data(), | 302 | 18.1k | col_right->get_element(0), vec_res); | 303 | | | 304 | 18.1k | block.replace_by_position(result, std::move(col_res)); | 305 | 18.1k | } else if (left_is_const && !right_is_const) { | 306 | 0 | auto col_res = ColumnUInt8::create(); | 307 | |
| 308 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 309 | 0 | vec_res.resize(col_right->size()); | 310 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 311 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 312 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 313 | 0 | col_right->get_data(), vec_res); | 314 | |
| 315 | 0 | block.replace_by_position(result, std::move(col_res)); | 316 | 0 | } | 317 | 20.1k | return Status::OK(); | 318 | 20.1k | } |
_ZNK5doris18FunctionComparisonINS_9GreaterOpENS_11NameGreaterEE16execute_num_typeILNS_13PrimitiveTypeE6EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 274 | 13.3k | const ColumnPtr& col_right_ptr) const { | 275 | 13.3k | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 276 | 13.3k | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 277 | | | 278 | 13.3k | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 279 | 13.3k | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 280 | | | 281 | 13.3k | DCHECK(!(left_is_const && right_is_const)); | 282 | | | 283 | 13.3k | if (!left_is_const && !right_is_const) { | 284 | 148 | auto col_res = ColumnUInt8::create(); | 285 | | | 286 | 148 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 287 | 148 | vec_res.resize(col_left->get_data().size()); | 288 | 148 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 289 | 148 | typename PrimitiveTypeTraits<PT>::CppType, | 290 | 148 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 291 | 148 | vec_res); | 292 | | | 293 | 148 | block.replace_by_position(result, std::move(col_res)); | 294 | 13.1k | } else if (!left_is_const && right_is_const) { | 295 | 13.1k | auto col_res = ColumnUInt8::create(); | 296 | | | 297 | 13.1k | ColumnUInt8::Container& vec_res = col_res->get_data(); | 298 | 13.1k | vec_res.resize(col_left->size()); | 299 | 13.1k | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 300 | 13.1k | typename PrimitiveTypeTraits<PT>::CppType, | 301 | 13.1k | Op<PT>>::vector_constant(col_left->get_data(), | 302 | 13.1k | col_right->get_element(0), vec_res); | 303 | | | 304 | 13.1k | block.replace_by_position(result, std::move(col_res)); | 305 | 18.4E | } else if (left_is_const && !right_is_const) { | 306 | 0 | auto col_res = ColumnUInt8::create(); | 307 | |
| 308 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 309 | 0 | vec_res.resize(col_right->size()); | 310 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 311 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 312 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 313 | 0 | col_right->get_data(), vec_res); | 314 | |
| 315 | 0 | block.replace_by_position(result, std::move(col_res)); | 316 | 0 | } | 317 | 13.3k | return Status::OK(); | 318 | 13.3k | } |
_ZNK5doris18FunctionComparisonINS_9GreaterOpENS_11NameGreaterEE16execute_num_typeILNS_13PrimitiveTypeE7EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 274 | 216 | const ColumnPtr& col_right_ptr) const { | 275 | 216 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 276 | 216 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 277 | | | 278 | 216 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 279 | 216 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 280 | | | 281 | 216 | DCHECK(!(left_is_const && right_is_const)); | 282 | | | 283 | 216 | if (!left_is_const && !right_is_const) { | 284 | 14 | auto col_res = ColumnUInt8::create(); | 285 | | | 286 | 14 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 287 | 14 | vec_res.resize(col_left->get_data().size()); | 288 | 14 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 289 | 14 | typename PrimitiveTypeTraits<PT>::CppType, | 290 | 14 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 291 | 14 | vec_res); | 292 | | | 293 | 14 | block.replace_by_position(result, std::move(col_res)); | 294 | 202 | } else if (!left_is_const && right_is_const) { | 295 | 201 | auto col_res = ColumnUInt8::create(); | 296 | | | 297 | 201 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 298 | 201 | vec_res.resize(col_left->size()); | 299 | 201 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 300 | 201 | typename PrimitiveTypeTraits<PT>::CppType, | 301 | 201 | Op<PT>>::vector_constant(col_left->get_data(), | 302 | 201 | col_right->get_element(0), vec_res); | 303 | | | 304 | 201 | block.replace_by_position(result, std::move(col_res)); | 305 | 201 | } else if (left_is_const && !right_is_const) { | 306 | 0 | auto col_res = ColumnUInt8::create(); | 307 | |
| 308 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 309 | 0 | vec_res.resize(col_right->size()); | 310 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 311 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 312 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 313 | 0 | col_right->get_data(), vec_res); | 314 | |
| 315 | 0 | block.replace_by_position(result, std::move(col_res)); | 316 | 0 | } | 317 | 216 | return Status::OK(); | 318 | 216 | } |
_ZNK5doris18FunctionComparisonINS_9GreaterOpENS_11NameGreaterEE16execute_num_typeILNS_13PrimitiveTypeE36EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 274 | 2 | const ColumnPtr& col_right_ptr) const { | 275 | 2 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 276 | 2 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 277 | | | 278 | 2 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 279 | 2 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 280 | | | 281 | 2 | DCHECK(!(left_is_const && right_is_const)); | 282 | | | 283 | 2 | if (!left_is_const && !right_is_const) { | 284 | 1 | auto col_res = ColumnUInt8::create(); | 285 | | | 286 | 1 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 287 | 1 | vec_res.resize(col_left->get_data().size()); | 288 | 1 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 289 | 1 | typename PrimitiveTypeTraits<PT>::CppType, | 290 | 1 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 291 | 1 | vec_res); | 292 | | | 293 | 1 | block.replace_by_position(result, std::move(col_res)); | 294 | 1 | } else if (!left_is_const && right_is_const) { | 295 | 1 | auto col_res = ColumnUInt8::create(); | 296 | | | 297 | 1 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 298 | 1 | vec_res.resize(col_left->size()); | 299 | 1 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 300 | 1 | typename PrimitiveTypeTraits<PT>::CppType, | 301 | 1 | Op<PT>>::vector_constant(col_left->get_data(), | 302 | 1 | col_right->get_element(0), vec_res); | 303 | | | 304 | 1 | block.replace_by_position(result, std::move(col_res)); | 305 | 1 | } else if (left_is_const && !right_is_const) { | 306 | 0 | auto col_res = ColumnUInt8::create(); | 307 | |
| 308 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 309 | 0 | vec_res.resize(col_right->size()); | 310 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 311 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 312 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 313 | 0 | col_right->get_data(), vec_res); | 314 | |
| 315 | 0 | block.replace_by_position(result, std::move(col_res)); | 316 | 0 | } | 317 | 2 | return Status::OK(); | 318 | 2 | } |
_ZNK5doris18FunctionComparisonINS_9GreaterOpENS_11NameGreaterEE16execute_num_typeILNS_13PrimitiveTypeE37EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 274 | 1 | const ColumnPtr& col_right_ptr) const { | 275 | 1 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 276 | 1 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 277 | | | 278 | 1 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 279 | 1 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 280 | | | 281 | 1 | DCHECK(!(left_is_const && right_is_const)); | 282 | | | 283 | 1 | if (!left_is_const && !right_is_const) { | 284 | 1 | auto col_res = ColumnUInt8::create(); | 285 | | | 286 | 1 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 287 | 1 | vec_res.resize(col_left->get_data().size()); | 288 | 1 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 289 | 1 | typename PrimitiveTypeTraits<PT>::CppType, | 290 | 1 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 291 | 1 | vec_res); | 292 | | | 293 | 1 | block.replace_by_position(result, std::move(col_res)); | 294 | 1 | } else if (!left_is_const && right_is_const) { | 295 | 0 | auto col_res = ColumnUInt8::create(); | 296 | |
| 297 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 298 | 0 | vec_res.resize(col_left->size()); | 299 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 300 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 301 | 0 | Op<PT>>::vector_constant(col_left->get_data(), | 302 | 0 | col_right->get_element(0), vec_res); | 303 | |
| 304 | 0 | block.replace_by_position(result, std::move(col_res)); | 305 | 0 | } else if (left_is_const && !right_is_const) { | 306 | 0 | auto col_res = ColumnUInt8::create(); | 307 | |
| 308 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 309 | 0 | vec_res.resize(col_right->size()); | 310 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 311 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 312 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 313 | 0 | col_right->get_data(), vec_res); | 314 | |
| 315 | 0 | block.replace_by_position(result, std::move(col_res)); | 316 | 0 | } | 317 | 1 | return Status::OK(); | 318 | 1 | } |
_ZNK5doris18FunctionComparisonINS_9GreaterOpENS_11NameGreaterEE16execute_num_typeILNS_13PrimitiveTypeE8EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 274 | 236 | const ColumnPtr& col_right_ptr) const { | 275 | 236 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 276 | 236 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 277 | | | 278 | 236 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 279 | 236 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 280 | | | 281 | 236 | DCHECK(!(left_is_const && right_is_const)); | 282 | | | 283 | 236 | if (!left_is_const && !right_is_const) { | 284 | 20 | auto col_res = ColumnUInt8::create(); | 285 | | | 286 | 20 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 287 | 20 | vec_res.resize(col_left->get_data().size()); | 288 | 20 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 289 | 20 | typename PrimitiveTypeTraits<PT>::CppType, | 290 | 20 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 291 | 20 | vec_res); | 292 | | | 293 | 20 | block.replace_by_position(result, std::move(col_res)); | 294 | 216 | } else if (!left_is_const && right_is_const) { | 295 | 216 | auto col_res = ColumnUInt8::create(); | 296 | | | 297 | 216 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 298 | 216 | vec_res.resize(col_left->size()); | 299 | 216 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 300 | 216 | typename PrimitiveTypeTraits<PT>::CppType, | 301 | 216 | Op<PT>>::vector_constant(col_left->get_data(), | 302 | 216 | col_right->get_element(0), vec_res); | 303 | | | 304 | 216 | block.replace_by_position(result, std::move(col_res)); | 305 | 216 | } else if (left_is_const && !right_is_const) { | 306 | 0 | auto col_res = ColumnUInt8::create(); | 307 | |
| 308 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 309 | 0 | vec_res.resize(col_right->size()); | 310 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 311 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 312 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 313 | 0 | col_right->get_data(), vec_res); | 314 | |
| 315 | 0 | block.replace_by_position(result, std::move(col_res)); | 316 | 0 | } | 317 | 236 | return Status::OK(); | 318 | 236 | } |
_ZNK5doris18FunctionComparisonINS_9GreaterOpENS_11NameGreaterEE16execute_num_typeILNS_13PrimitiveTypeE9EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 274 | 2.50k | const ColumnPtr& col_right_ptr) const { | 275 | 2.50k | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 276 | 2.50k | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 277 | | | 278 | 2.50k | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 279 | 2.50k | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 280 | | | 281 | 2.50k | DCHECK(!(left_is_const && right_is_const)); | 282 | | | 283 | 2.50k | if (!left_is_const && !right_is_const) { | 284 | 42 | auto col_res = ColumnUInt8::create(); | 285 | | | 286 | 42 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 287 | 42 | vec_res.resize(col_left->get_data().size()); | 288 | 42 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 289 | 42 | typename PrimitiveTypeTraits<PT>::CppType, | 290 | 42 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 291 | 42 | vec_res); | 292 | | | 293 | 42 | block.replace_by_position(result, std::move(col_res)); | 294 | 2.46k | } else if (!left_is_const && right_is_const) { | 295 | 2.46k | auto col_res = ColumnUInt8::create(); | 296 | | | 297 | 2.46k | ColumnUInt8::Container& vec_res = col_res->get_data(); | 298 | 2.46k | vec_res.resize(col_left->size()); | 299 | 2.46k | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 300 | 2.46k | typename PrimitiveTypeTraits<PT>::CppType, | 301 | 2.46k | Op<PT>>::vector_constant(col_left->get_data(), | 302 | 2.46k | col_right->get_element(0), vec_res); | 303 | | | 304 | 2.46k | block.replace_by_position(result, std::move(col_res)); | 305 | 2.46k | } else if (left_is_const && !right_is_const) { | 306 | 0 | auto col_res = ColumnUInt8::create(); | 307 | |
| 308 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 309 | 0 | vec_res.resize(col_right->size()); | 310 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 311 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 312 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 313 | 0 | col_right->get_data(), vec_res); | 314 | |
| 315 | 0 | block.replace_by_position(result, std::move(col_res)); | 316 | 0 | } | 317 | 2.50k | return Status::OK(); | 318 | 2.50k | } |
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 | 274 | 150 | const ColumnPtr& col_right_ptr) const { | 275 | 150 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 276 | 150 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 277 | | | 278 | 150 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 279 | 150 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 280 | | | 281 | 150 | DCHECK(!(left_is_const && right_is_const)); | 282 | | | 283 | 150 | if (!left_is_const && !right_is_const) { | 284 | 0 | auto col_res = ColumnUInt8::create(); | 285 | |
| 286 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 287 | 0 | vec_res.resize(col_left->get_data().size()); | 288 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 289 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 290 | 0 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 291 | 0 | vec_res); | 292 | |
| 293 | 0 | block.replace_by_position(result, std::move(col_res)); | 294 | 150 | } else if (!left_is_const && right_is_const) { | 295 | 150 | auto col_res = ColumnUInt8::create(); | 296 | | | 297 | 150 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 298 | 150 | vec_res.resize(col_left->size()); | 299 | 150 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 300 | 150 | typename PrimitiveTypeTraits<PT>::CppType, | 301 | 150 | Op<PT>>::vector_constant(col_left->get_data(), | 302 | 150 | col_right->get_element(0), vec_res); | 303 | | | 304 | 150 | block.replace_by_position(result, std::move(col_res)); | 305 | 150 | } else if (left_is_const && !right_is_const) { | 306 | 0 | auto col_res = ColumnUInt8::create(); | 307 | |
| 308 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 309 | 0 | vec_res.resize(col_right->size()); | 310 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 311 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 312 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 313 | 0 | col_right->get_data(), vec_res); | 314 | |
| 315 | 0 | block.replace_by_position(result, std::move(col_res)); | 316 | 0 | } | 317 | 150 | return Status::OK(); | 318 | 150 | } |
_ZNK5doris18FunctionComparisonINS_17GreaterOrEqualsOpENS_19NameGreaterOrEqualsEE16execute_num_typeILNS_13PrimitiveTypeE25EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 274 | 1.57k | const ColumnPtr& col_right_ptr) const { | 275 | 1.57k | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 276 | 1.57k | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 277 | | | 278 | 1.57k | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 279 | 1.57k | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 280 | | | 281 | 1.57k | DCHECK(!(left_is_const && right_is_const)); | 282 | | | 283 | 1.57k | if (!left_is_const && !right_is_const) { | 284 | 7 | auto col_res = ColumnUInt8::create(); | 285 | | | 286 | 7 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 287 | 7 | vec_res.resize(col_left->get_data().size()); | 288 | 7 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 289 | 7 | typename PrimitiveTypeTraits<PT>::CppType, | 290 | 7 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 291 | 7 | vec_res); | 292 | | | 293 | 7 | block.replace_by_position(result, std::move(col_res)); | 294 | 1.56k | } else if (!left_is_const && right_is_const) { | 295 | 1.56k | auto col_res = ColumnUInt8::create(); | 296 | | | 297 | 1.56k | ColumnUInt8::Container& vec_res = col_res->get_data(); | 298 | 1.56k | vec_res.resize(col_left->size()); | 299 | 1.56k | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 300 | 1.56k | typename PrimitiveTypeTraits<PT>::CppType, | 301 | 1.56k | Op<PT>>::vector_constant(col_left->get_data(), | 302 | 1.56k | col_right->get_element(0), vec_res); | 303 | | | 304 | 1.56k | block.replace_by_position(result, std::move(col_res)); | 305 | 1.56k | } else if (left_is_const && !right_is_const) { | 306 | 0 | auto col_res = ColumnUInt8::create(); | 307 | |
| 308 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 309 | 0 | vec_res.resize(col_right->size()); | 310 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 311 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 312 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 313 | 0 | col_right->get_data(), vec_res); | 314 | |
| 315 | 0 | block.replace_by_position(result, std::move(col_res)); | 316 | 0 | } | 317 | 1.57k | return Status::OK(); | 318 | 1.57k | } |
_ZNK5doris18FunctionComparisonINS_17GreaterOrEqualsOpENS_19NameGreaterOrEqualsEE16execute_num_typeILNS_13PrimitiveTypeE26EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 274 | 617 | const ColumnPtr& col_right_ptr) const { | 275 | 617 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 276 | 617 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 277 | | | 278 | 617 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 279 | 617 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 280 | | | 281 | 617 | DCHECK(!(left_is_const && right_is_const)); | 282 | | | 283 | 617 | if (!left_is_const && !right_is_const) { | 284 | 6 | auto col_res = ColumnUInt8::create(); | 285 | | | 286 | 6 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 287 | 6 | vec_res.resize(col_left->get_data().size()); | 288 | 6 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 289 | 6 | typename PrimitiveTypeTraits<PT>::CppType, | 290 | 6 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 291 | 6 | vec_res); | 292 | | | 293 | 6 | block.replace_by_position(result, std::move(col_res)); | 294 | 611 | } else if (!left_is_const && right_is_const) { | 295 | 611 | auto col_res = ColumnUInt8::create(); | 296 | | | 297 | 611 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 298 | 611 | vec_res.resize(col_left->size()); | 299 | 611 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 300 | 611 | typename PrimitiveTypeTraits<PT>::CppType, | 301 | 611 | Op<PT>>::vector_constant(col_left->get_data(), | 302 | 611 | col_right->get_element(0), vec_res); | 303 | | | 304 | 611 | block.replace_by_position(result, std::move(col_res)); | 305 | 611 | } else if (left_is_const && !right_is_const) { | 306 | 0 | auto col_res = ColumnUInt8::create(); | 307 | |
| 308 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 309 | 0 | vec_res.resize(col_right->size()); | 310 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 311 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 312 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 313 | 0 | col_right->get_data(), vec_res); | 314 | |
| 315 | 0 | block.replace_by_position(result, std::move(col_res)); | 316 | 0 | } | 317 | 617 | return Status::OK(); | 318 | 617 | } |
_ZNK5doris18FunctionComparisonINS_17GreaterOrEqualsOpENS_19NameGreaterOrEqualsEE16execute_num_typeILNS_13PrimitiveTypeE42EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 274 | 1 | const ColumnPtr& col_right_ptr) const { | 275 | 1 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 276 | 1 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 277 | | | 278 | 1 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 279 | 1 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 280 | | | 281 | 1 | DCHECK(!(left_is_const && right_is_const)); | 282 | | | 283 | 1 | if (!left_is_const && !right_is_const) { | 284 | 1 | auto col_res = ColumnUInt8::create(); | 285 | | | 286 | 1 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 287 | 1 | vec_res.resize(col_left->get_data().size()); | 288 | 1 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 289 | 1 | typename PrimitiveTypeTraits<PT>::CppType, | 290 | 1 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 291 | 1 | vec_res); | 292 | | | 293 | 1 | block.replace_by_position(result, std::move(col_res)); | 294 | 1 | } else if (!left_is_const && right_is_const) { | 295 | 0 | auto col_res = ColumnUInt8::create(); | 296 | |
| 297 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 298 | 0 | vec_res.resize(col_left->size()); | 299 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 300 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 301 | 0 | Op<PT>>::vector_constant(col_left->get_data(), | 302 | 0 | col_right->get_element(0), vec_res); | 303 | |
| 304 | 0 | block.replace_by_position(result, std::move(col_res)); | 305 | 0 | } else if (left_is_const && !right_is_const) { | 306 | 0 | auto col_res = ColumnUInt8::create(); | 307 | |
| 308 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 309 | 0 | vec_res.resize(col_right->size()); | 310 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 311 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 312 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 313 | 0 | col_right->get_data(), vec_res); | 314 | |
| 315 | 0 | block.replace_by_position(result, std::move(col_res)); | 316 | 0 | } | 317 | 1 | return Status::OK(); | 318 | 1 | } |
_ZNK5doris18FunctionComparisonINS_17GreaterOrEqualsOpENS_19NameGreaterOrEqualsEE16execute_num_typeILNS_13PrimitiveTypeE3EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 274 | 95 | const ColumnPtr& col_right_ptr) const { | 275 | 95 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 276 | 95 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 277 | | | 278 | 95 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 279 | 95 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 280 | | | 281 | 95 | DCHECK(!(left_is_const && right_is_const)); | 282 | | | 283 | 95 | if (!left_is_const && !right_is_const) { | 284 | 0 | auto col_res = ColumnUInt8::create(); | 285 | |
| 286 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 287 | 0 | vec_res.resize(col_left->get_data().size()); | 288 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 289 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 290 | 0 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 291 | 0 | vec_res); | 292 | |
| 293 | 0 | block.replace_by_position(result, std::move(col_res)); | 294 | 95 | } else if (!left_is_const && right_is_const) { | 295 | 95 | auto col_res = ColumnUInt8::create(); | 296 | | | 297 | 95 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 298 | 95 | vec_res.resize(col_left->size()); | 299 | 95 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 300 | 95 | typename PrimitiveTypeTraits<PT>::CppType, | 301 | 95 | Op<PT>>::vector_constant(col_left->get_data(), | 302 | 95 | col_right->get_element(0), vec_res); | 303 | | | 304 | 95 | block.replace_by_position(result, std::move(col_res)); | 305 | 95 | } else if (left_is_const && !right_is_const) { | 306 | 0 | auto col_res = ColumnUInt8::create(); | 307 | |
| 308 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 309 | 0 | vec_res.resize(col_right->size()); | 310 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 311 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 312 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 313 | 0 | col_right->get_data(), vec_res); | 314 | |
| 315 | 0 | block.replace_by_position(result, std::move(col_res)); | 316 | 0 | } | 317 | 95 | return Status::OK(); | 318 | 95 | } |
_ZNK5doris18FunctionComparisonINS_17GreaterOrEqualsOpENS_19NameGreaterOrEqualsEE16execute_num_typeILNS_13PrimitiveTypeE4EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 274 | 148 | const ColumnPtr& col_right_ptr) const { | 275 | 148 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 276 | 148 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 277 | | | 278 | 148 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 279 | 148 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 280 | | | 281 | 148 | DCHECK(!(left_is_const && right_is_const)); | 282 | | | 283 | 148 | if (!left_is_const && !right_is_const) { | 284 | 0 | auto col_res = ColumnUInt8::create(); | 285 | |
| 286 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 287 | 0 | vec_res.resize(col_left->get_data().size()); | 288 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 289 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 290 | 0 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 291 | 0 | vec_res); | 292 | |
| 293 | 0 | block.replace_by_position(result, std::move(col_res)); | 294 | 148 | } else if (!left_is_const && right_is_const) { | 295 | 148 | auto col_res = ColumnUInt8::create(); | 296 | | | 297 | 148 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 298 | 148 | vec_res.resize(col_left->size()); | 299 | 148 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 300 | 148 | typename PrimitiveTypeTraits<PT>::CppType, | 301 | 148 | Op<PT>>::vector_constant(col_left->get_data(), | 302 | 148 | col_right->get_element(0), vec_res); | 303 | | | 304 | 148 | block.replace_by_position(result, std::move(col_res)); | 305 | 148 | } else if (left_is_const && !right_is_const) { | 306 | 0 | auto col_res = ColumnUInt8::create(); | 307 | |
| 308 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 309 | 0 | vec_res.resize(col_right->size()); | 310 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 311 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 312 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 313 | 0 | col_right->get_data(), vec_res); | 314 | |
| 315 | 0 | block.replace_by_position(result, std::move(col_res)); | 316 | 0 | } | 317 | 148 | return Status::OK(); | 318 | 148 | } |
_ZNK5doris18FunctionComparisonINS_17GreaterOrEqualsOpENS_19NameGreaterOrEqualsEE16execute_num_typeILNS_13PrimitiveTypeE5EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 274 | 16.3k | const ColumnPtr& col_right_ptr) const { | 275 | 16.3k | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 276 | 16.3k | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 277 | | | 278 | 16.3k | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 279 | 16.3k | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 280 | | | 281 | 16.3k | DCHECK(!(left_is_const && right_is_const)); | 282 | | | 283 | 16.3k | if (!left_is_const && !right_is_const) { | 284 | 5 | auto col_res = ColumnUInt8::create(); | 285 | | | 286 | 5 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 287 | 5 | vec_res.resize(col_left->get_data().size()); | 288 | 5 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 289 | 5 | typename PrimitiveTypeTraits<PT>::CppType, | 290 | 5 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 291 | 5 | vec_res); | 292 | | | 293 | 5 | block.replace_by_position(result, std::move(col_res)); | 294 | 16.3k | } else if (!left_is_const && right_is_const) { | 295 | 16.3k | auto col_res = ColumnUInt8::create(); | 296 | | | 297 | 16.3k | ColumnUInt8::Container& vec_res = col_res->get_data(); | 298 | 16.3k | vec_res.resize(col_left->size()); | 299 | 16.3k | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 300 | 16.3k | typename PrimitiveTypeTraits<PT>::CppType, | 301 | 16.3k | Op<PT>>::vector_constant(col_left->get_data(), | 302 | 16.3k | col_right->get_element(0), vec_res); | 303 | | | 304 | 16.3k | block.replace_by_position(result, std::move(col_res)); | 305 | 18.4E | } else if (left_is_const && !right_is_const) { | 306 | 0 | auto col_res = ColumnUInt8::create(); | 307 | |
| 308 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 309 | 0 | vec_res.resize(col_right->size()); | 310 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 311 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 312 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 313 | 0 | col_right->get_data(), vec_res); | 314 | |
| 315 | 0 | block.replace_by_position(result, std::move(col_res)); | 316 | 0 | } | 317 | 16.3k | return Status::OK(); | 318 | 16.3k | } |
_ZNK5doris18FunctionComparisonINS_17GreaterOrEqualsOpENS_19NameGreaterOrEqualsEE16execute_num_typeILNS_13PrimitiveTypeE6EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 274 | 771 | const ColumnPtr& col_right_ptr) const { | 275 | 771 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 276 | 771 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 277 | | | 278 | 771 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 279 | 771 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 280 | | | 281 | 771 | DCHECK(!(left_is_const && right_is_const)); | 282 | | | 283 | 771 | if (!left_is_const && !right_is_const) { | 284 | 8 | auto col_res = ColumnUInt8::create(); | 285 | | | 286 | 8 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 287 | 8 | vec_res.resize(col_left->get_data().size()); | 288 | 8 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 289 | 8 | typename PrimitiveTypeTraits<PT>::CppType, | 290 | 8 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 291 | 8 | vec_res); | 292 | | | 293 | 8 | block.replace_by_position(result, std::move(col_res)); | 294 | 763 | } else if (!left_is_const && right_is_const) { | 295 | 763 | auto col_res = ColumnUInt8::create(); | 296 | | | 297 | 763 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 298 | 763 | vec_res.resize(col_left->size()); | 299 | 763 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 300 | 763 | typename PrimitiveTypeTraits<PT>::CppType, | 301 | 763 | Op<PT>>::vector_constant(col_left->get_data(), | 302 | 763 | col_right->get_element(0), vec_res); | 303 | | | 304 | 763 | block.replace_by_position(result, std::move(col_res)); | 305 | 763 | } else if (left_is_const && !right_is_const) { | 306 | 0 | auto col_res = ColumnUInt8::create(); | 307 | |
| 308 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 309 | 0 | vec_res.resize(col_right->size()); | 310 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 311 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 312 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 313 | 0 | col_right->get_data(), vec_res); | 314 | |
| 315 | 0 | block.replace_by_position(result, std::move(col_res)); | 316 | 0 | } | 317 | 771 | return Status::OK(); | 318 | 771 | } |
_ZNK5doris18FunctionComparisonINS_17GreaterOrEqualsOpENS_19NameGreaterOrEqualsEE16execute_num_typeILNS_13PrimitiveTypeE7EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 274 | 43 | const ColumnPtr& col_right_ptr) const { | 275 | 43 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 276 | 43 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 277 | | | 278 | 43 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 279 | 43 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 280 | | | 281 | 43 | DCHECK(!(left_is_const && right_is_const)); | 282 | | | 283 | 43 | if (!left_is_const && !right_is_const) { | 284 | 0 | auto col_res = ColumnUInt8::create(); | 285 | |
| 286 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 287 | 0 | vec_res.resize(col_left->get_data().size()); | 288 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 289 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 290 | 0 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 291 | 0 | vec_res); | 292 | |
| 293 | 0 | block.replace_by_position(result, std::move(col_res)); | 294 | 43 | } else if (!left_is_const && right_is_const) { | 295 | 43 | auto col_res = ColumnUInt8::create(); | 296 | | | 297 | 43 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 298 | 43 | vec_res.resize(col_left->size()); | 299 | 43 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 300 | 43 | typename PrimitiveTypeTraits<PT>::CppType, | 301 | 43 | Op<PT>>::vector_constant(col_left->get_data(), | 302 | 43 | col_right->get_element(0), vec_res); | 303 | | | 304 | 43 | block.replace_by_position(result, std::move(col_res)); | 305 | 43 | } else if (left_is_const && !right_is_const) { | 306 | 0 | auto col_res = ColumnUInt8::create(); | 307 | |
| 308 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 309 | 0 | vec_res.resize(col_right->size()); | 310 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 311 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 312 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 313 | 0 | col_right->get_data(), vec_res); | 314 | |
| 315 | 0 | block.replace_by_position(result, std::move(col_res)); | 316 | 0 | } | 317 | 43 | return Status::OK(); | 318 | 43 | } |
_ZNK5doris18FunctionComparisonINS_17GreaterOrEqualsOpENS_19NameGreaterOrEqualsEE16execute_num_typeILNS_13PrimitiveTypeE36EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 274 | 11 | const ColumnPtr& col_right_ptr) const { | 275 | 11 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 276 | 11 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 277 | | | 278 | 11 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 279 | 11 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 280 | | | 281 | 11 | DCHECK(!(left_is_const && right_is_const)); | 282 | | | 283 | 11 | if (!left_is_const && !right_is_const) { | 284 | 1 | auto col_res = ColumnUInt8::create(); | 285 | | | 286 | 1 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 287 | 1 | vec_res.resize(col_left->get_data().size()); | 288 | 1 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 289 | 1 | typename PrimitiveTypeTraits<PT>::CppType, | 290 | 1 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 291 | 1 | vec_res); | 292 | | | 293 | 1 | block.replace_by_position(result, std::move(col_res)); | 294 | 10 | } else if (!left_is_const && right_is_const) { | 295 | 10 | auto col_res = ColumnUInt8::create(); | 296 | | | 297 | 10 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 298 | 10 | vec_res.resize(col_left->size()); | 299 | 10 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 300 | 10 | typename PrimitiveTypeTraits<PT>::CppType, | 301 | 10 | Op<PT>>::vector_constant(col_left->get_data(), | 302 | 10 | col_right->get_element(0), vec_res); | 303 | | | 304 | 10 | block.replace_by_position(result, std::move(col_res)); | 305 | 10 | } else if (left_is_const && !right_is_const) { | 306 | 0 | auto col_res = ColumnUInt8::create(); | 307 | |
| 308 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 309 | 0 | vec_res.resize(col_right->size()); | 310 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 311 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 312 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 313 | 0 | col_right->get_data(), vec_res); | 314 | |
| 315 | 0 | block.replace_by_position(result, std::move(col_res)); | 316 | 0 | } | 317 | 11 | return Status::OK(); | 318 | 11 | } |
_ZNK5doris18FunctionComparisonINS_17GreaterOrEqualsOpENS_19NameGreaterOrEqualsEE16execute_num_typeILNS_13PrimitiveTypeE37EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 274 | 1 | const ColumnPtr& col_right_ptr) const { | 275 | 1 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 276 | 1 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 277 | | | 278 | 1 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 279 | 1 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 280 | | | 281 | 1 | DCHECK(!(left_is_const && right_is_const)); | 282 | | | 283 | 1 | if (!left_is_const && !right_is_const) { | 284 | 1 | auto col_res = ColumnUInt8::create(); | 285 | | | 286 | 1 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 287 | 1 | vec_res.resize(col_left->get_data().size()); | 288 | 1 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 289 | 1 | typename PrimitiveTypeTraits<PT>::CppType, | 290 | 1 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 291 | 1 | vec_res); | 292 | | | 293 | 1 | block.replace_by_position(result, std::move(col_res)); | 294 | 1 | } else if (!left_is_const && right_is_const) { | 295 | 0 | auto col_res = ColumnUInt8::create(); | 296 | |
| 297 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 298 | 0 | vec_res.resize(col_left->size()); | 299 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 300 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 301 | 0 | Op<PT>>::vector_constant(col_left->get_data(), | 302 | 0 | col_right->get_element(0), vec_res); | 303 | |
| 304 | 0 | block.replace_by_position(result, std::move(col_res)); | 305 | 0 | } else if (left_is_const && !right_is_const) { | 306 | 0 | auto col_res = ColumnUInt8::create(); | 307 | |
| 308 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 309 | 0 | vec_res.resize(col_right->size()); | 310 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 311 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 312 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 313 | 0 | col_right->get_data(), vec_res); | 314 | |
| 315 | 0 | block.replace_by_position(result, std::move(col_res)); | 316 | 0 | } | 317 | 1 | return Status::OK(); | 318 | 1 | } |
_ZNK5doris18FunctionComparisonINS_17GreaterOrEqualsOpENS_19NameGreaterOrEqualsEE16execute_num_typeILNS_13PrimitiveTypeE8EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 274 | 128 | const ColumnPtr& col_right_ptr) const { | 275 | 128 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 276 | 128 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 277 | | | 278 | 128 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 279 | 128 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 280 | | | 281 | 128 | DCHECK(!(left_is_const && right_is_const)); | 282 | | | 283 | 128 | if (!left_is_const && !right_is_const) { | 284 | 20 | auto col_res = ColumnUInt8::create(); | 285 | | | 286 | 20 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 287 | 20 | vec_res.resize(col_left->get_data().size()); | 288 | 20 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 289 | 20 | typename PrimitiveTypeTraits<PT>::CppType, | 290 | 20 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 291 | 20 | vec_res); | 292 | | | 293 | 20 | block.replace_by_position(result, std::move(col_res)); | 294 | 108 | } else if (!left_is_const && right_is_const) { | 295 | 108 | auto col_res = ColumnUInt8::create(); | 296 | | | 297 | 108 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 298 | 108 | vec_res.resize(col_left->size()); | 299 | 108 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 300 | 108 | typename PrimitiveTypeTraits<PT>::CppType, | 301 | 108 | Op<PT>>::vector_constant(col_left->get_data(), | 302 | 108 | col_right->get_element(0), vec_res); | 303 | | | 304 | 108 | block.replace_by_position(result, std::move(col_res)); | 305 | 108 | } else if (left_is_const && !right_is_const) { | 306 | 0 | auto col_res = ColumnUInt8::create(); | 307 | |
| 308 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 309 | 0 | vec_res.resize(col_right->size()); | 310 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 311 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 312 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 313 | 0 | col_right->get_data(), vec_res); | 314 | |
| 315 | 0 | block.replace_by_position(result, std::move(col_res)); | 316 | 0 | } | 317 | 128 | return Status::OK(); | 318 | 128 | } |
_ZNK5doris18FunctionComparisonINS_17GreaterOrEqualsOpENS_19NameGreaterOrEqualsEE16execute_num_typeILNS_13PrimitiveTypeE9EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 274 | 144 | const ColumnPtr& col_right_ptr) const { | 275 | 144 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 276 | 144 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 277 | | | 278 | 144 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 279 | 144 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 280 | | | 281 | 144 | DCHECK(!(left_is_const && right_is_const)); | 282 | | | 283 | 144 | if (!left_is_const && !right_is_const) { | 284 | 35 | auto col_res = ColumnUInt8::create(); | 285 | | | 286 | 35 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 287 | 35 | vec_res.resize(col_left->get_data().size()); | 288 | 35 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 289 | 35 | typename PrimitiveTypeTraits<PT>::CppType, | 290 | 35 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 291 | 35 | vec_res); | 292 | | | 293 | 35 | block.replace_by_position(result, std::move(col_res)); | 294 | 109 | } else if (!left_is_const && right_is_const) { | 295 | 109 | auto col_res = ColumnUInt8::create(); | 296 | | | 297 | 109 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 298 | 109 | vec_res.resize(col_left->size()); | 299 | 109 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 300 | 109 | typename PrimitiveTypeTraits<PT>::CppType, | 301 | 109 | Op<PT>>::vector_constant(col_left->get_data(), | 302 | 109 | col_right->get_element(0), vec_res); | 303 | | | 304 | 109 | block.replace_by_position(result, std::move(col_res)); | 305 | 109 | } else if (left_is_const && !right_is_const) { | 306 | 0 | auto col_res = ColumnUInt8::create(); | 307 | |
| 308 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 309 | 0 | vec_res.resize(col_right->size()); | 310 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 311 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 312 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 313 | 0 | col_right->get_data(), vec_res); | 314 | |
| 315 | 0 | block.replace_by_position(result, std::move(col_res)); | 316 | 0 | } | 317 | 144 | return Status::OK(); | 318 | 144 | } |
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 | 274 | 78 | const ColumnPtr& col_right_ptr) const { | 275 | 78 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 276 | 78 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 277 | | | 278 | 78 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 279 | 78 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 280 | | | 281 | 78 | DCHECK(!(left_is_const && right_is_const)); | 282 | | | 283 | 78 | if (!left_is_const && !right_is_const) { | 284 | 78 | auto col_res = ColumnUInt8::create(); | 285 | | | 286 | 78 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 287 | 78 | vec_res.resize(col_left->get_data().size()); | 288 | 78 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 289 | 78 | typename PrimitiveTypeTraits<PT>::CppType, | 290 | 78 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 291 | 78 | vec_res); | 292 | | | 293 | 78 | block.replace_by_position(result, std::move(col_res)); | 294 | 78 | } else if (!left_is_const && right_is_const) { | 295 | 0 | auto col_res = ColumnUInt8::create(); | 296 | |
| 297 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 298 | 0 | vec_res.resize(col_left->size()); | 299 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 300 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 301 | 0 | Op<PT>>::vector_constant(col_left->get_data(), | 302 | 0 | col_right->get_element(0), vec_res); | 303 | |
| 304 | 0 | block.replace_by_position(result, std::move(col_res)); | 305 | 0 | } else if (left_is_const && !right_is_const) { | 306 | 0 | auto col_res = ColumnUInt8::create(); | 307 | |
| 308 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 309 | 0 | vec_res.resize(col_right->size()); | 310 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 311 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 312 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 313 | 0 | col_right->get_data(), vec_res); | 314 | |
| 315 | 0 | block.replace_by_position(result, std::move(col_res)); | 316 | 0 | } | 317 | 78 | return Status::OK(); | 318 | 78 | } |
_ZNK5doris18FunctionComparisonINS_6LessOpENS_8NameLessEE16execute_num_typeILNS_13PrimitiveTypeE25EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 274 | 2.17k | const ColumnPtr& col_right_ptr) const { | 275 | 2.17k | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 276 | 2.17k | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 277 | | | 278 | 2.17k | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 279 | 2.17k | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 280 | | | 281 | 2.17k | DCHECK(!(left_is_const && right_is_const)); | 282 | | | 283 | 2.17k | if (!left_is_const && !right_is_const) { | 284 | 1.67k | auto col_res = ColumnUInt8::create(); | 285 | | | 286 | 1.67k | ColumnUInt8::Container& vec_res = col_res->get_data(); | 287 | 1.67k | vec_res.resize(col_left->get_data().size()); | 288 | 1.67k | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 289 | 1.67k | typename PrimitiveTypeTraits<PT>::CppType, | 290 | 1.67k | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 291 | 1.67k | vec_res); | 292 | | | 293 | 1.67k | block.replace_by_position(result, std::move(col_res)); | 294 | 1.67k | } else if (!left_is_const && right_is_const) { | 295 | 501 | auto col_res = ColumnUInt8::create(); | 296 | | | 297 | 501 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 298 | 501 | vec_res.resize(col_left->size()); | 299 | 501 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 300 | 501 | typename PrimitiveTypeTraits<PT>::CppType, | 301 | 501 | Op<PT>>::vector_constant(col_left->get_data(), | 302 | 501 | col_right->get_element(0), vec_res); | 303 | | | 304 | 501 | block.replace_by_position(result, std::move(col_res)); | 305 | 18.4E | } else if (left_is_const && !right_is_const) { | 306 | 0 | auto col_res = ColumnUInt8::create(); | 307 | |
| 308 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 309 | 0 | vec_res.resize(col_right->size()); | 310 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 311 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 312 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 313 | 0 | col_right->get_data(), vec_res); | 314 | |
| 315 | 0 | block.replace_by_position(result, std::move(col_res)); | 316 | 0 | } | 317 | 2.17k | return Status::OK(); | 318 | 2.17k | } |
_ZNK5doris18FunctionComparisonINS_6LessOpENS_8NameLessEE16execute_num_typeILNS_13PrimitiveTypeE26EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 274 | 578 | const ColumnPtr& col_right_ptr) const { | 275 | 578 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 276 | 578 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 277 | | | 278 | 578 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 279 | 578 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 280 | | | 281 | 578 | DCHECK(!(left_is_const && right_is_const)); | 282 | | | 283 | 578 | if (!left_is_const && !right_is_const) { | 284 | 241 | auto col_res = ColumnUInt8::create(); | 285 | | | 286 | 241 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 287 | 241 | vec_res.resize(col_left->get_data().size()); | 288 | 241 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 289 | 241 | typename PrimitiveTypeTraits<PT>::CppType, | 290 | 241 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 291 | 241 | vec_res); | 292 | | | 293 | 241 | block.replace_by_position(result, std::move(col_res)); | 294 | 337 | } else if (!left_is_const && right_is_const) { | 295 | 337 | auto col_res = ColumnUInt8::create(); | 296 | | | 297 | 337 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 298 | 337 | vec_res.resize(col_left->size()); | 299 | 337 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 300 | 337 | typename PrimitiveTypeTraits<PT>::CppType, | 301 | 337 | Op<PT>>::vector_constant(col_left->get_data(), | 302 | 337 | col_right->get_element(0), vec_res); | 303 | | | 304 | 337 | block.replace_by_position(result, std::move(col_res)); | 305 | 337 | } else if (left_is_const && !right_is_const) { | 306 | 0 | auto col_res = ColumnUInt8::create(); | 307 | |
| 308 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 309 | 0 | vec_res.resize(col_right->size()); | 310 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 311 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 312 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 313 | 0 | col_right->get_data(), vec_res); | 314 | |
| 315 | 0 | block.replace_by_position(result, std::move(col_res)); | 316 | 0 | } | 317 | 578 | return Status::OK(); | 318 | 578 | } |
_ZNK5doris18FunctionComparisonINS_6LessOpENS_8NameLessEE16execute_num_typeILNS_13PrimitiveTypeE42EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 274 | 2 | const ColumnPtr& col_right_ptr) const { | 275 | 2 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 276 | 2 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 277 | | | 278 | 2 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 279 | 2 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 280 | | | 281 | 2 | DCHECK(!(left_is_const && right_is_const)); | 282 | | | 283 | 2 | if (!left_is_const && !right_is_const) { | 284 | 1 | auto col_res = ColumnUInt8::create(); | 285 | | | 286 | 1 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 287 | 1 | vec_res.resize(col_left->get_data().size()); | 288 | 1 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 289 | 1 | typename PrimitiveTypeTraits<PT>::CppType, | 290 | 1 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 291 | 1 | vec_res); | 292 | | | 293 | 1 | block.replace_by_position(result, std::move(col_res)); | 294 | 1 | } else if (!left_is_const && right_is_const) { | 295 | 1 | auto col_res = ColumnUInt8::create(); | 296 | | | 297 | 1 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 298 | 1 | vec_res.resize(col_left->size()); | 299 | 1 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 300 | 1 | typename PrimitiveTypeTraits<PT>::CppType, | 301 | 1 | Op<PT>>::vector_constant(col_left->get_data(), | 302 | 1 | col_right->get_element(0), vec_res); | 303 | | | 304 | 1 | block.replace_by_position(result, std::move(col_res)); | 305 | 1 | } else if (left_is_const && !right_is_const) { | 306 | 0 | auto col_res = ColumnUInt8::create(); | 307 | |
| 308 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 309 | 0 | vec_res.resize(col_right->size()); | 310 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 311 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 312 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 313 | 0 | col_right->get_data(), vec_res); | 314 | |
| 315 | 0 | block.replace_by_position(result, std::move(col_res)); | 316 | 0 | } | 317 | 2 | return Status::OK(); | 318 | 2 | } |
_ZNK5doris18FunctionComparisonINS_6LessOpENS_8NameLessEE16execute_num_typeILNS_13PrimitiveTypeE3EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 274 | 630 | const ColumnPtr& col_right_ptr) const { | 275 | 630 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 276 | 630 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 277 | | | 278 | 630 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 279 | 630 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 280 | | | 281 | 630 | DCHECK(!(left_is_const && right_is_const)); | 282 | | | 283 | 630 | if (!left_is_const && !right_is_const) { | 284 | 566 | auto col_res = ColumnUInt8::create(); | 285 | | | 286 | 566 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 287 | 566 | vec_res.resize(col_left->get_data().size()); | 288 | 566 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 289 | 566 | typename PrimitiveTypeTraits<PT>::CppType, | 290 | 566 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 291 | 566 | vec_res); | 292 | | | 293 | 566 | block.replace_by_position(result, std::move(col_res)); | 294 | 566 | } else if (!left_is_const && right_is_const) { | 295 | 64 | auto col_res = ColumnUInt8::create(); | 296 | | | 297 | 64 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 298 | 64 | vec_res.resize(col_left->size()); | 299 | 64 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 300 | 64 | typename PrimitiveTypeTraits<PT>::CppType, | 301 | 64 | Op<PT>>::vector_constant(col_left->get_data(), | 302 | 64 | col_right->get_element(0), vec_res); | 303 | | | 304 | 64 | block.replace_by_position(result, std::move(col_res)); | 305 | 64 | } else if (left_is_const && !right_is_const) { | 306 | 0 | auto col_res = ColumnUInt8::create(); | 307 | |
| 308 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 309 | 0 | vec_res.resize(col_right->size()); | 310 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 311 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 312 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 313 | 0 | col_right->get_data(), vec_res); | 314 | |
| 315 | 0 | block.replace_by_position(result, std::move(col_res)); | 316 | 0 | } | 317 | 630 | return Status::OK(); | 318 | 630 | } |
_ZNK5doris18FunctionComparisonINS_6LessOpENS_8NameLessEE16execute_num_typeILNS_13PrimitiveTypeE4EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 274 | 391 | const ColumnPtr& col_right_ptr) const { | 275 | 391 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 276 | 391 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 277 | | | 278 | 391 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 279 | 391 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 280 | | | 281 | 391 | DCHECK(!(left_is_const && right_is_const)); | 282 | | | 283 | 391 | if (!left_is_const && !right_is_const) { | 284 | 123 | auto col_res = ColumnUInt8::create(); | 285 | | | 286 | 123 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 287 | 123 | vec_res.resize(col_left->get_data().size()); | 288 | 123 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 289 | 123 | typename PrimitiveTypeTraits<PT>::CppType, | 290 | 123 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 291 | 123 | vec_res); | 292 | | | 293 | 123 | block.replace_by_position(result, std::move(col_res)); | 294 | 268 | } else if (!left_is_const && right_is_const) { | 295 | 268 | auto col_res = ColumnUInt8::create(); | 296 | | | 297 | 268 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 298 | 268 | vec_res.resize(col_left->size()); | 299 | 268 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 300 | 268 | typename PrimitiveTypeTraits<PT>::CppType, | 301 | 268 | Op<PT>>::vector_constant(col_left->get_data(), | 302 | 268 | col_right->get_element(0), vec_res); | 303 | | | 304 | 268 | block.replace_by_position(result, std::move(col_res)); | 305 | 268 | } else if (left_is_const && !right_is_const) { | 306 | 0 | auto col_res = ColumnUInt8::create(); | 307 | |
| 308 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 309 | 0 | vec_res.resize(col_right->size()); | 310 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 311 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 312 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 313 | 0 | col_right->get_data(), vec_res); | 314 | |
| 315 | 0 | block.replace_by_position(result, std::move(col_res)); | 316 | 0 | } | 317 | 391 | return Status::OK(); | 318 | 391 | } |
_ZNK5doris18FunctionComparisonINS_6LessOpENS_8NameLessEE16execute_num_typeILNS_13PrimitiveTypeE5EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 274 | 5.90k | const ColumnPtr& col_right_ptr) const { | 275 | 5.90k | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 276 | 5.90k | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 277 | | | 278 | 5.90k | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 279 | 5.90k | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 280 | | | 281 | 5.90k | DCHECK(!(left_is_const && right_is_const)); | 282 | | | 283 | 5.90k | if (!left_is_const && !right_is_const) { | 284 | 168 | auto col_res = ColumnUInt8::create(); | 285 | | | 286 | 168 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 287 | 168 | vec_res.resize(col_left->get_data().size()); | 288 | 168 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 289 | 168 | typename PrimitiveTypeTraits<PT>::CppType, | 290 | 168 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 291 | 168 | vec_res); | 292 | | | 293 | 168 | block.replace_by_position(result, std::move(col_res)); | 294 | 5.73k | } else if (!left_is_const && right_is_const) { | 295 | 5.73k | auto col_res = ColumnUInt8::create(); | 296 | | | 297 | 5.73k | ColumnUInt8::Container& vec_res = col_res->get_data(); | 298 | 5.73k | vec_res.resize(col_left->size()); | 299 | 5.73k | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 300 | 5.73k | typename PrimitiveTypeTraits<PT>::CppType, | 301 | 5.73k | Op<PT>>::vector_constant(col_left->get_data(), | 302 | 5.73k | col_right->get_element(0), vec_res); | 303 | | | 304 | 5.73k | block.replace_by_position(result, std::move(col_res)); | 305 | 18.4E | } else if (left_is_const && !right_is_const) { | 306 | 0 | auto col_res = ColumnUInt8::create(); | 307 | |
| 308 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 309 | 0 | vec_res.resize(col_right->size()); | 310 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 311 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 312 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 313 | 0 | col_right->get_data(), vec_res); | 314 | |
| 315 | 0 | block.replace_by_position(result, std::move(col_res)); | 316 | 0 | } | 317 | 5.90k | return Status::OK(); | 318 | 5.90k | } |
_ZNK5doris18FunctionComparisonINS_6LessOpENS_8NameLessEE16execute_num_typeILNS_13PrimitiveTypeE6EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 274 | 1.66k | const ColumnPtr& col_right_ptr) const { | 275 | 1.66k | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 276 | 1.66k | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 277 | | | 278 | 1.66k | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 279 | 1.66k | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 280 | | | 281 | 1.66k | DCHECK(!(left_is_const && right_is_const)); | 282 | | | 283 | 1.66k | if (!left_is_const && !right_is_const) { | 284 | 246 | auto col_res = ColumnUInt8::create(); | 285 | | | 286 | 246 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 287 | 246 | vec_res.resize(col_left->get_data().size()); | 288 | 246 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 289 | 246 | typename PrimitiveTypeTraits<PT>::CppType, | 290 | 246 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 291 | 246 | vec_res); | 292 | | | 293 | 246 | block.replace_by_position(result, std::move(col_res)); | 294 | 1.41k | } else if (!left_is_const && right_is_const) { | 295 | 1.41k | auto col_res = ColumnUInt8::create(); | 296 | | | 297 | 1.41k | ColumnUInt8::Container& vec_res = col_res->get_data(); | 298 | 1.41k | vec_res.resize(col_left->size()); | 299 | 1.41k | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 300 | 1.41k | typename PrimitiveTypeTraits<PT>::CppType, | 301 | 1.41k | Op<PT>>::vector_constant(col_left->get_data(), | 302 | 1.41k | col_right->get_element(0), vec_res); | 303 | | | 304 | 1.41k | block.replace_by_position(result, std::move(col_res)); | 305 | 1.41k | } else if (left_is_const && !right_is_const) { | 306 | 0 | auto col_res = ColumnUInt8::create(); | 307 | |
| 308 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 309 | 0 | vec_res.resize(col_right->size()); | 310 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 311 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 312 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 313 | 0 | col_right->get_data(), vec_res); | 314 | |
| 315 | 0 | block.replace_by_position(result, std::move(col_res)); | 316 | 0 | } | 317 | 1.66k | return Status::OK(); | 318 | 1.66k | } |
_ZNK5doris18FunctionComparisonINS_6LessOpENS_8NameLessEE16execute_num_typeILNS_13PrimitiveTypeE7EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 274 | 165 | const ColumnPtr& col_right_ptr) const { | 275 | 165 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 276 | 165 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 277 | | | 278 | 165 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 279 | 165 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 280 | | | 281 | 165 | DCHECK(!(left_is_const && right_is_const)); | 282 | | | 283 | 165 | if (!left_is_const && !right_is_const) { | 284 | 143 | auto col_res = ColumnUInt8::create(); | 285 | | | 286 | 143 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 287 | 143 | vec_res.resize(col_left->get_data().size()); | 288 | 143 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 289 | 143 | typename PrimitiveTypeTraits<PT>::CppType, | 290 | 143 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 291 | 143 | vec_res); | 292 | | | 293 | 143 | block.replace_by_position(result, std::move(col_res)); | 294 | 143 | } else if (!left_is_const && right_is_const) { | 295 | 22 | auto col_res = ColumnUInt8::create(); | 296 | | | 297 | 22 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 298 | 22 | vec_res.resize(col_left->size()); | 299 | 22 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 300 | 22 | typename PrimitiveTypeTraits<PT>::CppType, | 301 | 22 | Op<PT>>::vector_constant(col_left->get_data(), | 302 | 22 | col_right->get_element(0), vec_res); | 303 | | | 304 | 22 | block.replace_by_position(result, std::move(col_res)); | 305 | 22 | } else if (left_is_const && !right_is_const) { | 306 | 0 | auto col_res = ColumnUInt8::create(); | 307 | |
| 308 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 309 | 0 | vec_res.resize(col_right->size()); | 310 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 311 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 312 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 313 | 0 | col_right->get_data(), vec_res); | 314 | |
| 315 | 0 | block.replace_by_position(result, std::move(col_res)); | 316 | 0 | } | 317 | 165 | return Status::OK(); | 318 | 165 | } |
_ZNK5doris18FunctionComparisonINS_6LessOpENS_8NameLessEE16execute_num_typeILNS_13PrimitiveTypeE36EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 274 | 16 | const ColumnPtr& col_right_ptr) const { | 275 | 16 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 276 | 16 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 277 | | | 278 | 16 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 279 | 16 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 280 | | | 281 | 16 | DCHECK(!(left_is_const && right_is_const)); | 282 | | | 283 | 16 | if (!left_is_const && !right_is_const) { | 284 | 16 | auto col_res = ColumnUInt8::create(); | 285 | | | 286 | 16 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 287 | 16 | vec_res.resize(col_left->get_data().size()); | 288 | 16 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 289 | 16 | typename PrimitiveTypeTraits<PT>::CppType, | 290 | 16 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 291 | 16 | vec_res); | 292 | | | 293 | 16 | block.replace_by_position(result, std::move(col_res)); | 294 | 16 | } else if (!left_is_const && right_is_const) { | 295 | 0 | auto col_res = ColumnUInt8::create(); | 296 | |
| 297 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 298 | 0 | vec_res.resize(col_left->size()); | 299 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 300 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 301 | 0 | Op<PT>>::vector_constant(col_left->get_data(), | 302 | 0 | col_right->get_element(0), vec_res); | 303 | |
| 304 | 0 | block.replace_by_position(result, std::move(col_res)); | 305 | 0 | } else if (left_is_const && !right_is_const) { | 306 | 0 | auto col_res = ColumnUInt8::create(); | 307 | |
| 308 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 309 | 0 | vec_res.resize(col_right->size()); | 310 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 311 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 312 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 313 | 0 | col_right->get_data(), vec_res); | 314 | |
| 315 | 0 | block.replace_by_position(result, std::move(col_res)); | 316 | 0 | } | 317 | 16 | return Status::OK(); | 318 | 16 | } |
_ZNK5doris18FunctionComparisonINS_6LessOpENS_8NameLessEE16execute_num_typeILNS_13PrimitiveTypeE37EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 274 | 16 | const ColumnPtr& col_right_ptr) const { | 275 | 16 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 276 | 16 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 277 | | | 278 | 16 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 279 | 16 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 280 | | | 281 | 16 | DCHECK(!(left_is_const && right_is_const)); | 282 | | | 283 | 16 | if (!left_is_const && !right_is_const) { | 284 | 16 | auto col_res = ColumnUInt8::create(); | 285 | | | 286 | 16 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 287 | 16 | vec_res.resize(col_left->get_data().size()); | 288 | 16 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 289 | 16 | typename PrimitiveTypeTraits<PT>::CppType, | 290 | 16 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 291 | 16 | vec_res); | 292 | | | 293 | 16 | block.replace_by_position(result, std::move(col_res)); | 294 | 16 | } else if (!left_is_const && right_is_const) { | 295 | 0 | auto col_res = ColumnUInt8::create(); | 296 | |
| 297 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 298 | 0 | vec_res.resize(col_left->size()); | 299 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 300 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 301 | 0 | Op<PT>>::vector_constant(col_left->get_data(), | 302 | 0 | col_right->get_element(0), vec_res); | 303 | |
| 304 | 0 | block.replace_by_position(result, std::move(col_res)); | 305 | 0 | } else if (left_is_const && !right_is_const) { | 306 | 0 | auto col_res = ColumnUInt8::create(); | 307 | |
| 308 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 309 | 0 | vec_res.resize(col_right->size()); | 310 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 311 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 312 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 313 | 0 | col_right->get_data(), vec_res); | 314 | |
| 315 | 0 | block.replace_by_position(result, std::move(col_res)); | 316 | 0 | } | 317 | 16 | return Status::OK(); | 318 | 16 | } |
_ZNK5doris18FunctionComparisonINS_6LessOpENS_8NameLessEE16execute_num_typeILNS_13PrimitiveTypeE8EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 274 | 162 | const ColumnPtr& col_right_ptr) const { | 275 | 162 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 276 | 162 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 277 | | | 278 | 162 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 279 | 162 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 280 | | | 281 | 162 | DCHECK(!(left_is_const && right_is_const)); | 282 | | | 283 | 162 | if (!left_is_const && !right_is_const) { | 284 | 136 | auto col_res = ColumnUInt8::create(); | 285 | | | 286 | 136 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 287 | 136 | vec_res.resize(col_left->get_data().size()); | 288 | 136 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 289 | 136 | typename PrimitiveTypeTraits<PT>::CppType, | 290 | 136 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 291 | 136 | vec_res); | 292 | | | 293 | 136 | block.replace_by_position(result, std::move(col_res)); | 294 | 136 | } else if (!left_is_const && right_is_const) { | 295 | 26 | auto col_res = ColumnUInt8::create(); | 296 | | | 297 | 26 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 298 | 26 | vec_res.resize(col_left->size()); | 299 | 26 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 300 | 26 | typename PrimitiveTypeTraits<PT>::CppType, | 301 | 26 | Op<PT>>::vector_constant(col_left->get_data(), | 302 | 26 | col_right->get_element(0), vec_res); | 303 | | | 304 | 26 | block.replace_by_position(result, std::move(col_res)); | 305 | 26 | } else if (left_is_const && !right_is_const) { | 306 | 0 | auto col_res = ColumnUInt8::create(); | 307 | |
| 308 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 309 | 0 | vec_res.resize(col_right->size()); | 310 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 311 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 312 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 313 | 0 | col_right->get_data(), vec_res); | 314 | |
| 315 | 0 | block.replace_by_position(result, std::move(col_res)); | 316 | 0 | } | 317 | 162 | return Status::OK(); | 318 | 162 | } |
_ZNK5doris18FunctionComparisonINS_6LessOpENS_8NameLessEE16execute_num_typeILNS_13PrimitiveTypeE9EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 274 | 358 | const ColumnPtr& col_right_ptr) const { | 275 | 358 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 276 | 358 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 277 | | | 278 | 358 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 279 | 358 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 280 | | | 281 | 358 | DCHECK(!(left_is_const && right_is_const)); | 282 | | | 283 | 358 | if (!left_is_const && !right_is_const) { | 284 | 147 | auto col_res = ColumnUInt8::create(); | 285 | | | 286 | 147 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 287 | 147 | vec_res.resize(col_left->get_data().size()); | 288 | 147 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 289 | 147 | typename PrimitiveTypeTraits<PT>::CppType, | 290 | 147 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 291 | 147 | vec_res); | 292 | | | 293 | 147 | block.replace_by_position(result, std::move(col_res)); | 294 | 211 | } else if (!left_is_const && right_is_const) { | 295 | 211 | auto col_res = ColumnUInt8::create(); | 296 | | | 297 | 211 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 298 | 211 | vec_res.resize(col_left->size()); | 299 | 211 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 300 | 211 | typename PrimitiveTypeTraits<PT>::CppType, | 301 | 211 | Op<PT>>::vector_constant(col_left->get_data(), | 302 | 211 | col_right->get_element(0), vec_res); | 303 | | | 304 | 211 | block.replace_by_position(result, std::move(col_res)); | 305 | 211 | } else if (left_is_const && !right_is_const) { | 306 | 0 | auto col_res = ColumnUInt8::create(); | 307 | |
| 308 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 309 | 0 | vec_res.resize(col_right->size()); | 310 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 311 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 312 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 313 | 0 | col_right->get_data(), vec_res); | 314 | |
| 315 | 0 | block.replace_by_position(result, std::move(col_res)); | 316 | 0 | } | 317 | 358 | return Status::OK(); | 318 | 358 | } |
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 | 274 | 380 | const ColumnPtr& col_right_ptr) const { | 275 | 380 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 276 | 380 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 277 | | | 278 | 380 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 279 | 380 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 280 | | | 281 | 380 | DCHECK(!(left_is_const && right_is_const)); | 282 | | | 283 | 380 | if (!left_is_const && !right_is_const) { | 284 | 0 | auto col_res = ColumnUInt8::create(); | 285 | |
| 286 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 287 | 0 | vec_res.resize(col_left->get_data().size()); | 288 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 289 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 290 | 0 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 291 | 0 | vec_res); | 292 | |
| 293 | 0 | block.replace_by_position(result, std::move(col_res)); | 294 | 380 | } else if (!left_is_const && right_is_const) { | 295 | 380 | auto col_res = ColumnUInt8::create(); | 296 | | | 297 | 380 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 298 | 380 | vec_res.resize(col_left->size()); | 299 | 380 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 300 | 380 | typename PrimitiveTypeTraits<PT>::CppType, | 301 | 380 | Op<PT>>::vector_constant(col_left->get_data(), | 302 | 380 | col_right->get_element(0), vec_res); | 303 | | | 304 | 380 | block.replace_by_position(result, std::move(col_res)); | 305 | 380 | } else if (left_is_const && !right_is_const) { | 306 | 0 | auto col_res = ColumnUInt8::create(); | 307 | |
| 308 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 309 | 0 | vec_res.resize(col_right->size()); | 310 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 311 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 312 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 313 | 0 | col_right->get_data(), vec_res); | 314 | |
| 315 | 0 | block.replace_by_position(result, std::move(col_res)); | 316 | 0 | } | 317 | 380 | return Status::OK(); | 318 | 380 | } |
_ZNK5doris18FunctionComparisonINS_14LessOrEqualsOpENS_16NameLessOrEqualsEE16execute_num_typeILNS_13PrimitiveTypeE25EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 274 | 7.75k | const ColumnPtr& col_right_ptr) const { | 275 | 7.75k | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 276 | 7.75k | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 277 | | | 278 | 7.75k | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 279 | 7.75k | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 280 | | | 281 | 7.75k | DCHECK(!(left_is_const && right_is_const)); | 282 | | | 283 | 7.75k | if (!left_is_const && !right_is_const) { | 284 | 445 | auto col_res = ColumnUInt8::create(); | 285 | | | 286 | 445 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 287 | 445 | vec_res.resize(col_left->get_data().size()); | 288 | 445 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 289 | 445 | typename PrimitiveTypeTraits<PT>::CppType, | 290 | 445 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 291 | 445 | vec_res); | 292 | | | 293 | 445 | block.replace_by_position(result, std::move(col_res)); | 294 | 7.30k | } else if (!left_is_const && right_is_const) { | 295 | 7.30k | auto col_res = ColumnUInt8::create(); | 296 | | | 297 | 7.30k | ColumnUInt8::Container& vec_res = col_res->get_data(); | 298 | 7.30k | vec_res.resize(col_left->size()); | 299 | 7.30k | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 300 | 7.30k | typename PrimitiveTypeTraits<PT>::CppType, | 301 | 7.30k | Op<PT>>::vector_constant(col_left->get_data(), | 302 | 7.30k | col_right->get_element(0), vec_res); | 303 | | | 304 | 7.30k | block.replace_by_position(result, std::move(col_res)); | 305 | 7.30k | } else if (left_is_const && !right_is_const) { | 306 | 0 | auto col_res = ColumnUInt8::create(); | 307 | |
| 308 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 309 | 0 | vec_res.resize(col_right->size()); | 310 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 311 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 312 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 313 | 0 | col_right->get_data(), vec_res); | 314 | |
| 315 | 0 | block.replace_by_position(result, std::move(col_res)); | 316 | 0 | } | 317 | 7.75k | return Status::OK(); | 318 | 7.75k | } |
_ZNK5doris18FunctionComparisonINS_14LessOrEqualsOpENS_16NameLessOrEqualsEE16execute_num_typeILNS_13PrimitiveTypeE26EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 274 | 539 | const ColumnPtr& col_right_ptr) const { | 275 | 539 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 276 | 539 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 277 | | | 278 | 539 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 279 | 539 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 280 | | | 281 | 539 | DCHECK(!(left_is_const && right_is_const)); | 282 | | | 283 | 539 | if (!left_is_const && !right_is_const) { | 284 | 0 | auto col_res = ColumnUInt8::create(); | 285 | |
| 286 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 287 | 0 | vec_res.resize(col_left->get_data().size()); | 288 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 289 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 290 | 0 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 291 | 0 | vec_res); | 292 | |
| 293 | 0 | block.replace_by_position(result, std::move(col_res)); | 294 | 539 | } else if (!left_is_const && right_is_const) { | 295 | 539 | auto col_res = ColumnUInt8::create(); | 296 | | | 297 | 539 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 298 | 539 | vec_res.resize(col_left->size()); | 299 | 539 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 300 | 539 | typename PrimitiveTypeTraits<PT>::CppType, | 301 | 539 | Op<PT>>::vector_constant(col_left->get_data(), | 302 | 539 | col_right->get_element(0), vec_res); | 303 | | | 304 | 539 | block.replace_by_position(result, std::move(col_res)); | 305 | 539 | } else if (left_is_const && !right_is_const) { | 306 | 0 | auto col_res = ColumnUInt8::create(); | 307 | |
| 308 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 309 | 0 | vec_res.resize(col_right->size()); | 310 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 311 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 312 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 313 | 0 | col_right->get_data(), vec_res); | 314 | |
| 315 | 0 | block.replace_by_position(result, std::move(col_res)); | 316 | 0 | } | 317 | 539 | return Status::OK(); | 318 | 539 | } |
_ZNK5doris18FunctionComparisonINS_14LessOrEqualsOpENS_16NameLessOrEqualsEE16execute_num_typeILNS_13PrimitiveTypeE42EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 274 | 1 | const ColumnPtr& col_right_ptr) const { | 275 | 1 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 276 | 1 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 277 | | | 278 | 1 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 279 | 1 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 280 | | | 281 | 1 | DCHECK(!(left_is_const && right_is_const)); | 282 | | | 283 | 1 | if (!left_is_const && !right_is_const) { | 284 | 1 | auto col_res = ColumnUInt8::create(); | 285 | | | 286 | 1 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 287 | 1 | vec_res.resize(col_left->get_data().size()); | 288 | 1 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 289 | 1 | typename PrimitiveTypeTraits<PT>::CppType, | 290 | 1 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 291 | 1 | vec_res); | 292 | | | 293 | 1 | block.replace_by_position(result, std::move(col_res)); | 294 | 1 | } else if (!left_is_const && right_is_const) { | 295 | 0 | auto col_res = ColumnUInt8::create(); | 296 | |
| 297 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 298 | 0 | vec_res.resize(col_left->size()); | 299 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 300 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 301 | 0 | Op<PT>>::vector_constant(col_left->get_data(), | 302 | 0 | col_right->get_element(0), vec_res); | 303 | |
| 304 | 0 | block.replace_by_position(result, std::move(col_res)); | 305 | 0 | } else if (left_is_const && !right_is_const) { | 306 | 0 | auto col_res = ColumnUInt8::create(); | 307 | |
| 308 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 309 | 0 | vec_res.resize(col_right->size()); | 310 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 311 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 312 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 313 | 0 | col_right->get_data(), vec_res); | 314 | |
| 315 | 0 | block.replace_by_position(result, std::move(col_res)); | 316 | 0 | } | 317 | 1 | return Status::OK(); | 318 | 1 | } |
_ZNK5doris18FunctionComparisonINS_14LessOrEqualsOpENS_16NameLessOrEqualsEE16execute_num_typeILNS_13PrimitiveTypeE3EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 274 | 360 | const ColumnPtr& col_right_ptr) const { | 275 | 360 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 276 | 360 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 277 | | | 278 | 360 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 279 | 360 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 280 | | | 281 | 360 | DCHECK(!(left_is_const && right_is_const)); | 282 | | | 283 | 360 | if (!left_is_const && !right_is_const) { | 284 | 1 | auto col_res = ColumnUInt8::create(); | 285 | | | 286 | 1 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 287 | 1 | vec_res.resize(col_left->get_data().size()); | 288 | 1 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 289 | 1 | typename PrimitiveTypeTraits<PT>::CppType, | 290 | 1 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 291 | 1 | vec_res); | 292 | | | 293 | 1 | block.replace_by_position(result, std::move(col_res)); | 294 | 359 | } else if (!left_is_const && right_is_const) { | 295 | 359 | auto col_res = ColumnUInt8::create(); | 296 | | | 297 | 359 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 298 | 359 | vec_res.resize(col_left->size()); | 299 | 359 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 300 | 359 | typename PrimitiveTypeTraits<PT>::CppType, | 301 | 359 | Op<PT>>::vector_constant(col_left->get_data(), | 302 | 359 | col_right->get_element(0), vec_res); | 303 | | | 304 | 359 | block.replace_by_position(result, std::move(col_res)); | 305 | 359 | } else if (left_is_const && !right_is_const) { | 306 | 0 | auto col_res = ColumnUInt8::create(); | 307 | |
| 308 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 309 | 0 | vec_res.resize(col_right->size()); | 310 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 311 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 312 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 313 | 0 | col_right->get_data(), vec_res); | 314 | |
| 315 | 0 | block.replace_by_position(result, std::move(col_res)); | 316 | 0 | } | 317 | 360 | return Status::OK(); | 318 | 360 | } |
_ZNK5doris18FunctionComparisonINS_14LessOrEqualsOpENS_16NameLessOrEqualsEE16execute_num_typeILNS_13PrimitiveTypeE4EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 274 | 409 | const ColumnPtr& col_right_ptr) const { | 275 | 409 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 276 | 409 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 277 | | | 278 | 409 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 279 | 409 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 280 | | | 281 | 409 | DCHECK(!(left_is_const && right_is_const)); | 282 | | | 283 | 409 | if (!left_is_const && !right_is_const) { | 284 | 0 | auto col_res = ColumnUInt8::create(); | 285 | |
| 286 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 287 | 0 | vec_res.resize(col_left->get_data().size()); | 288 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 289 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 290 | 0 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 291 | 0 | vec_res); | 292 | |
| 293 | 0 | block.replace_by_position(result, std::move(col_res)); | 294 | 409 | } else if (!left_is_const && right_is_const) { | 295 | 409 | auto col_res = ColumnUInt8::create(); | 296 | | | 297 | 409 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 298 | 409 | vec_res.resize(col_left->size()); | 299 | 409 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 300 | 409 | typename PrimitiveTypeTraits<PT>::CppType, | 301 | 409 | Op<PT>>::vector_constant(col_left->get_data(), | 302 | 409 | col_right->get_element(0), vec_res); | 303 | | | 304 | 409 | block.replace_by_position(result, std::move(col_res)); | 305 | 409 | } else if (left_is_const && !right_is_const) { | 306 | 0 | auto col_res = ColumnUInt8::create(); | 307 | |
| 308 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 309 | 0 | vec_res.resize(col_right->size()); | 310 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 311 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 312 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 313 | 0 | col_right->get_data(), vec_res); | 314 | |
| 315 | 0 | block.replace_by_position(result, std::move(col_res)); | 316 | 0 | } | 317 | 409 | return Status::OK(); | 318 | 409 | } |
_ZNK5doris18FunctionComparisonINS_14LessOrEqualsOpENS_16NameLessOrEqualsEE16execute_num_typeILNS_13PrimitiveTypeE5EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 274 | 23.5k | const ColumnPtr& col_right_ptr) const { | 275 | 23.5k | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 276 | 23.5k | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 277 | | | 278 | 23.5k | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 279 | 23.5k | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 280 | | | 281 | 23.5k | DCHECK(!(left_is_const && right_is_const)); | 282 | | | 283 | 23.5k | if (!left_is_const && !right_is_const) { | 284 | 38 | auto col_res = ColumnUInt8::create(); | 285 | | | 286 | 38 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 287 | 38 | vec_res.resize(col_left->get_data().size()); | 288 | 38 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 289 | 38 | typename PrimitiveTypeTraits<PT>::CppType, | 290 | 38 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 291 | 38 | vec_res); | 292 | | | 293 | 38 | block.replace_by_position(result, std::move(col_res)); | 294 | 23.4k | } else if (!left_is_const && right_is_const) { | 295 | 23.4k | auto col_res = ColumnUInt8::create(); | 296 | | | 297 | 23.4k | ColumnUInt8::Container& vec_res = col_res->get_data(); | 298 | 23.4k | vec_res.resize(col_left->size()); | 299 | 23.4k | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 300 | 23.4k | typename PrimitiveTypeTraits<PT>::CppType, | 301 | 23.4k | Op<PT>>::vector_constant(col_left->get_data(), | 302 | 23.4k | col_right->get_element(0), vec_res); | 303 | | | 304 | 23.4k | block.replace_by_position(result, std::move(col_res)); | 305 | 23.4k | } else if (left_is_const && !right_is_const) { | 306 | 0 | auto col_res = ColumnUInt8::create(); | 307 | |
| 308 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 309 | 0 | vec_res.resize(col_right->size()); | 310 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 311 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 312 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 313 | 0 | col_right->get_data(), vec_res); | 314 | |
| 315 | 0 | block.replace_by_position(result, std::move(col_res)); | 316 | 0 | } | 317 | 23.5k | return Status::OK(); | 318 | 23.5k | } |
_ZNK5doris18FunctionComparisonINS_14LessOrEqualsOpENS_16NameLessOrEqualsEE16execute_num_typeILNS_13PrimitiveTypeE6EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 274 | 850 | const ColumnPtr& col_right_ptr) const { | 275 | 850 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 276 | 850 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 277 | | | 278 | 850 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 279 | 850 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 280 | | | 281 | 850 | DCHECK(!(left_is_const && right_is_const)); | 282 | | | 283 | 850 | if (!left_is_const && !right_is_const) { | 284 | 77 | auto col_res = ColumnUInt8::create(); | 285 | | | 286 | 77 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 287 | 77 | vec_res.resize(col_left->get_data().size()); | 288 | 77 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 289 | 77 | typename PrimitiveTypeTraits<PT>::CppType, | 290 | 77 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 291 | 77 | vec_res); | 292 | | | 293 | 77 | block.replace_by_position(result, std::move(col_res)); | 294 | 773 | } else if (!left_is_const && right_is_const) { | 295 | 773 | auto col_res = ColumnUInt8::create(); | 296 | | | 297 | 773 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 298 | 773 | vec_res.resize(col_left->size()); | 299 | 773 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 300 | 773 | typename PrimitiveTypeTraits<PT>::CppType, | 301 | 773 | Op<PT>>::vector_constant(col_left->get_data(), | 302 | 773 | col_right->get_element(0), vec_res); | 303 | | | 304 | 773 | block.replace_by_position(result, std::move(col_res)); | 305 | 773 | } else if (left_is_const && !right_is_const) { | 306 | 0 | auto col_res = ColumnUInt8::create(); | 307 | |
| 308 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 309 | 0 | vec_res.resize(col_right->size()); | 310 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 311 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 312 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 313 | 0 | col_right->get_data(), vec_res); | 314 | |
| 315 | 0 | block.replace_by_position(result, std::move(col_res)); | 316 | 0 | } | 317 | 850 | return Status::OK(); | 318 | 850 | } |
_ZNK5doris18FunctionComparisonINS_14LessOrEqualsOpENS_16NameLessOrEqualsEE16execute_num_typeILNS_13PrimitiveTypeE7EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 274 | 50 | const ColumnPtr& col_right_ptr) const { | 275 | 50 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 276 | 50 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 277 | | | 278 | 50 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 279 | 50 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 280 | | | 281 | 50 | DCHECK(!(left_is_const && right_is_const)); | 282 | | | 283 | 50 | if (!left_is_const && !right_is_const) { | 284 | 0 | auto col_res = ColumnUInt8::create(); | 285 | |
| 286 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 287 | 0 | vec_res.resize(col_left->get_data().size()); | 288 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 289 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 290 | 0 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 291 | 0 | vec_res); | 292 | |
| 293 | 0 | block.replace_by_position(result, std::move(col_res)); | 294 | 50 | } else if (!left_is_const && right_is_const) { | 295 | 50 | auto col_res = ColumnUInt8::create(); | 296 | | | 297 | 50 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 298 | 50 | vec_res.resize(col_left->size()); | 299 | 50 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 300 | 50 | typename PrimitiveTypeTraits<PT>::CppType, | 301 | 50 | Op<PT>>::vector_constant(col_left->get_data(), | 302 | 50 | col_right->get_element(0), vec_res); | 303 | | | 304 | 50 | block.replace_by_position(result, std::move(col_res)); | 305 | 50 | } else if (left_is_const && !right_is_const) { | 306 | 0 | auto col_res = ColumnUInt8::create(); | 307 | |
| 308 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 309 | 0 | vec_res.resize(col_right->size()); | 310 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 311 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 312 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 313 | 0 | col_right->get_data(), vec_res); | 314 | |
| 315 | 0 | block.replace_by_position(result, std::move(col_res)); | 316 | 0 | } | 317 | 50 | return Status::OK(); | 318 | 50 | } |
_ZNK5doris18FunctionComparisonINS_14LessOrEqualsOpENS_16NameLessOrEqualsEE16execute_num_typeILNS_13PrimitiveTypeE36EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 274 | 10 | const ColumnPtr& col_right_ptr) const { | 275 | 10 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 276 | 10 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 277 | | | 278 | 10 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 279 | 10 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 280 | | | 281 | 10 | DCHECK(!(left_is_const && right_is_const)); | 282 | | | 283 | 10 | if (!left_is_const && !right_is_const) { | 284 | 0 | auto col_res = ColumnUInt8::create(); | 285 | |
| 286 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 287 | 0 | vec_res.resize(col_left->get_data().size()); | 288 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 289 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 290 | 0 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 291 | 0 | vec_res); | 292 | |
| 293 | 0 | block.replace_by_position(result, std::move(col_res)); | 294 | 10 | } else if (!left_is_const && right_is_const) { | 295 | 10 | auto col_res = ColumnUInt8::create(); | 296 | | | 297 | 10 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 298 | 10 | vec_res.resize(col_left->size()); | 299 | 10 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 300 | 10 | typename PrimitiveTypeTraits<PT>::CppType, | 301 | 10 | Op<PT>>::vector_constant(col_left->get_data(), | 302 | 10 | col_right->get_element(0), vec_res); | 303 | | | 304 | 10 | block.replace_by_position(result, std::move(col_res)); | 305 | 10 | } else if (left_is_const && !right_is_const) { | 306 | 0 | auto col_res = ColumnUInt8::create(); | 307 | |
| 308 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 309 | 0 | vec_res.resize(col_right->size()); | 310 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 311 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 312 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 313 | 0 | col_right->get_data(), vec_res); | 314 | |
| 315 | 0 | block.replace_by_position(result, std::move(col_res)); | 316 | 0 | } | 317 | 10 | return Status::OK(); | 318 | 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 | 274 | 124 | const ColumnPtr& col_right_ptr) const { | 275 | 124 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 276 | 124 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 277 | | | 278 | 124 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 279 | 124 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 280 | | | 281 | 124 | DCHECK(!(left_is_const && right_is_const)); | 282 | | | 283 | 124 | if (!left_is_const && !right_is_const) { | 284 | 20 | auto col_res = ColumnUInt8::create(); | 285 | | | 286 | 20 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 287 | 20 | vec_res.resize(col_left->get_data().size()); | 288 | 20 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 289 | 20 | typename PrimitiveTypeTraits<PT>::CppType, | 290 | 20 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 291 | 20 | vec_res); | 292 | | | 293 | 20 | block.replace_by_position(result, std::move(col_res)); | 294 | 104 | } else if (!left_is_const && right_is_const) { | 295 | 104 | auto col_res = ColumnUInt8::create(); | 296 | | | 297 | 104 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 298 | 104 | vec_res.resize(col_left->size()); | 299 | 104 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 300 | 104 | typename PrimitiveTypeTraits<PT>::CppType, | 301 | 104 | Op<PT>>::vector_constant(col_left->get_data(), | 302 | 104 | col_right->get_element(0), vec_res); | 303 | | | 304 | 104 | block.replace_by_position(result, std::move(col_res)); | 305 | 104 | } else if (left_is_const && !right_is_const) { | 306 | 0 | auto col_res = ColumnUInt8::create(); | 307 | |
| 308 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 309 | 0 | vec_res.resize(col_right->size()); | 310 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 311 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 312 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 313 | 0 | col_right->get_data(), vec_res); | 314 | |
| 315 | 0 | block.replace_by_position(result, std::move(col_res)); | 316 | 0 | } | 317 | 124 | return Status::OK(); | 318 | 124 | } |
_ZNK5doris18FunctionComparisonINS_14LessOrEqualsOpENS_16NameLessOrEqualsEE16execute_num_typeILNS_13PrimitiveTypeE9EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 274 | 149 | const ColumnPtr& col_right_ptr) const { | 275 | 149 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 276 | 149 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 277 | | | 278 | 149 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 279 | 149 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 280 | | | 281 | 149 | DCHECK(!(left_is_const && right_is_const)); | 282 | | | 283 | 149 | if (!left_is_const && !right_is_const) { | 284 | 20 | auto col_res = ColumnUInt8::create(); | 285 | | | 286 | 20 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 287 | 20 | vec_res.resize(col_left->get_data().size()); | 288 | 20 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 289 | 20 | typename PrimitiveTypeTraits<PT>::CppType, | 290 | 20 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 291 | 20 | vec_res); | 292 | | | 293 | 20 | block.replace_by_position(result, std::move(col_res)); | 294 | 129 | } else if (!left_is_const && right_is_const) { | 295 | 129 | auto col_res = ColumnUInt8::create(); | 296 | | | 297 | 129 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 298 | 129 | vec_res.resize(col_left->size()); | 299 | 129 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 300 | 129 | typename PrimitiveTypeTraits<PT>::CppType, | 301 | 129 | Op<PT>>::vector_constant(col_left->get_data(), | 302 | 129 | col_right->get_element(0), vec_res); | 303 | | | 304 | 129 | block.replace_by_position(result, std::move(col_res)); | 305 | 129 | } else if (left_is_const && !right_is_const) { | 306 | 0 | auto col_res = ColumnUInt8::create(); | 307 | |
| 308 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 309 | 0 | vec_res.resize(col_right->size()); | 310 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 311 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 312 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 313 | 0 | col_right->get_data(), vec_res); | 314 | |
| 315 | 0 | block.replace_by_position(result, std::move(col_res)); | 316 | 0 | } | 317 | 149 | return Status::OK(); | 318 | 149 | } |
Unexecuted instantiation: _ZNK5doris18FunctionComparisonINS_14LessOrEqualsOpENS_16NameLessOrEqualsEE16execute_num_typeILNS_13PrimitiveTypeE27EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ |
319 | | |
320 | | Status execute_decimal(Block& block, uint32_t result, const ColumnWithTypeAndName& col_left, |
321 | 154k | const ColumnWithTypeAndName& col_right) const { |
322 | 154k | auto call = [&](const auto& type) -> bool { |
323 | 154k | using DispatchType = std::decay_t<decltype(type)>; |
324 | 154k | DecimalComparison<DispatchType::PType, DispatchType::PType, Op, false>( |
325 | 154k | block, result, col_left, col_right); |
326 | 154k | return true; |
327 | 154k | }; _ZZNK5doris18FunctionComparisonINS_8EqualsOpENS_10NameEqualsEE15execute_decimalERNS_5BlockEjRKNS_21ColumnWithTypeAndNameES8_ENKUlRKT_E_clINS_16DispatchDataTypeILNS_13PrimitiveTypeE28EEEEEbSB_ Line | Count | Source | 322 | 247 | auto call = [&](const auto& type) -> bool { | 323 | 247 | using DispatchType = std::decay_t<decltype(type)>; | 324 | 247 | DecimalComparison<DispatchType::PType, DispatchType::PType, Op, false>( | 325 | 247 | block, result, col_left, col_right); | 326 | 247 | return true; | 327 | 247 | }; |
_ZZNK5doris18FunctionComparisonINS_8EqualsOpENS_10NameEqualsEE15execute_decimalERNS_5BlockEjRKNS_21ColumnWithTypeAndNameES8_ENKUlRKT_E_clINS_16DispatchDataTypeILNS_13PrimitiveTypeE29EEEEEbSB_ Line | Count | Source | 322 | 275 | auto call = [&](const auto& type) -> bool { | 323 | 275 | using DispatchType = std::decay_t<decltype(type)>; | 324 | 275 | DecimalComparison<DispatchType::PType, DispatchType::PType, Op, false>( | 325 | 275 | block, result, col_left, col_right); | 326 | 275 | return true; | 327 | 275 | }; |
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 | 322 | 1.19k | auto call = [&](const auto& type) -> bool { | 323 | 1.19k | using DispatchType = std::decay_t<decltype(type)>; | 324 | 1.19k | DecimalComparison<DispatchType::PType, DispatchType::PType, Op, false>( | 325 | 1.19k | block, result, col_left, col_right); | 326 | 1.19k | return true; | 327 | 1.19k | }; |
_ZZNK5doris18FunctionComparisonINS_8EqualsOpENS_10NameEqualsEE15execute_decimalERNS_5BlockEjRKNS_21ColumnWithTypeAndNameES8_ENKUlRKT_E_clINS_16DispatchDataTypeILNS_13PrimitiveTypeE35EEEEEbSB_ Line | Count | Source | 322 | 30 | auto call = [&](const auto& type) -> bool { | 323 | 30 | using DispatchType = std::decay_t<decltype(type)>; | 324 | 30 | DecimalComparison<DispatchType::PType, DispatchType::PType, Op, false>( | 325 | 30 | block, result, col_left, col_right); | 326 | 30 | return true; | 327 | 30 | }; |
Unexecuted instantiation: _ZZNK5doris18FunctionComparisonINS_11NotEqualsOpENS_13NameNotEqualsEE15execute_decimalERNS_5BlockEjRKNS_21ColumnWithTypeAndNameES8_ENKUlRKT_E_clINS_16DispatchDataTypeILNS_13PrimitiveTypeE28EEEEEbSB_ _ZZNK5doris18FunctionComparisonINS_11NotEqualsOpENS_13NameNotEqualsEE15execute_decimalERNS_5BlockEjRKNS_21ColumnWithTypeAndNameES8_ENKUlRKT_E_clINS_16DispatchDataTypeILNS_13PrimitiveTypeE29EEEEEbSB_ Line | Count | Source | 322 | 61 | auto call = [&](const auto& type) -> bool { | 323 | 61 | using DispatchType = std::decay_t<decltype(type)>; | 324 | 61 | DecimalComparison<DispatchType::PType, DispatchType::PType, Op, false>( | 325 | 61 | block, result, col_left, col_right); | 326 | 61 | return true; | 327 | 61 | }; |
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 | 322 | 324 | auto call = [&](const auto& type) -> bool { | 323 | 324 | using DispatchType = std::decay_t<decltype(type)>; | 324 | 324 | DecimalComparison<DispatchType::PType, DispatchType::PType, Op, false>( | 325 | 324 | block, result, col_left, col_right); | 326 | 324 | return true; | 327 | 324 | }; |
_ZZNK5doris18FunctionComparisonINS_11NotEqualsOpENS_13NameNotEqualsEE15execute_decimalERNS_5BlockEjRKNS_21ColumnWithTypeAndNameES8_ENKUlRKT_E_clINS_16DispatchDataTypeILNS_13PrimitiveTypeE35EEEEEbSB_ Line | Count | Source | 322 | 30 | auto call = [&](const auto& type) -> bool { | 323 | 30 | using DispatchType = std::decay_t<decltype(type)>; | 324 | 30 | DecimalComparison<DispatchType::PType, DispatchType::PType, Op, false>( | 325 | 30 | block, result, col_left, col_right); | 326 | 30 | return true; | 327 | 30 | }; |
_ZZNK5doris18FunctionComparisonINS_9GreaterOpENS_11NameGreaterEE15execute_decimalERNS_5BlockEjRKNS_21ColumnWithTypeAndNameES8_ENKUlRKT_E_clINS_16DispatchDataTypeILNS_13PrimitiveTypeE28EEEEEbSB_ Line | Count | Source | 322 | 46 | auto call = [&](const auto& type) -> bool { | 323 | 46 | using DispatchType = std::decay_t<decltype(type)>; | 324 | 46 | DecimalComparison<DispatchType::PType, DispatchType::PType, Op, false>( | 325 | 46 | block, result, col_left, col_right); | 326 | 46 | return true; | 327 | 46 | }; |
_ZZNK5doris18FunctionComparisonINS_9GreaterOpENS_11NameGreaterEE15execute_decimalERNS_5BlockEjRKNS_21ColumnWithTypeAndNameES8_ENKUlRKT_E_clINS_16DispatchDataTypeILNS_13PrimitiveTypeE29EEEEEbSB_ Line | Count | Source | 322 | 1.59k | auto call = [&](const auto& type) -> bool { | 323 | 1.59k | using DispatchType = std::decay_t<decltype(type)>; | 324 | 1.59k | DecimalComparison<DispatchType::PType, DispatchType::PType, Op, false>( | 325 | 1.59k | block, result, col_left, col_right); | 326 | 1.59k | return true; | 327 | 1.59k | }; |
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 | 322 | 1.39k | auto call = [&](const auto& type) -> bool { | 323 | 1.39k | using DispatchType = std::decay_t<decltype(type)>; | 324 | 1.39k | DecimalComparison<DispatchType::PType, DispatchType::PType, Op, false>( | 325 | 1.39k | block, result, col_left, col_right); | 326 | 1.39k | return true; | 327 | 1.39k | }; |
_ZZNK5doris18FunctionComparisonINS_9GreaterOpENS_11NameGreaterEE15execute_decimalERNS_5BlockEjRKNS_21ColumnWithTypeAndNameES8_ENKUlRKT_E_clINS_16DispatchDataTypeILNS_13PrimitiveTypeE35EEEEEbSB_ Line | Count | Source | 322 | 2 | auto call = [&](const auto& type) -> bool { | 323 | 2 | using DispatchType = std::decay_t<decltype(type)>; | 324 | 2 | DecimalComparison<DispatchType::PType, DispatchType::PType, Op, false>( | 325 | 2 | block, result, col_left, col_right); | 326 | 2 | return true; | 327 | 2 | }; |
_ZZNK5doris18FunctionComparisonINS_17GreaterOrEqualsOpENS_19NameGreaterOrEqualsEE15execute_decimalERNS_5BlockEjRKNS_21ColumnWithTypeAndNameES8_ENKUlRKT_E_clINS_16DispatchDataTypeILNS_13PrimitiveTypeE28EEEEEbSB_ Line | Count | Source | 322 | 9 | auto call = [&](const auto& type) -> bool { | 323 | 9 | using DispatchType = std::decay_t<decltype(type)>; | 324 | 9 | DecimalComparison<DispatchType::PType, DispatchType::PType, Op, false>( | 325 | 9 | block, result, col_left, col_right); | 326 | 9 | return true; | 327 | 9 | }; |
_ZZNK5doris18FunctionComparisonINS_17GreaterOrEqualsOpENS_19NameGreaterOrEqualsEE15execute_decimalERNS_5BlockEjRKNS_21ColumnWithTypeAndNameES8_ENKUlRKT_E_clINS_16DispatchDataTypeILNS_13PrimitiveTypeE29EEEEEbSB_ Line | Count | Source | 322 | 259 | auto call = [&](const auto& type) -> bool { | 323 | 259 | using DispatchType = std::decay_t<decltype(type)>; | 324 | 259 | DecimalComparison<DispatchType::PType, DispatchType::PType, Op, false>( | 325 | 259 | block, result, col_left, col_right); | 326 | 259 | return true; | 327 | 259 | }; |
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 | 322 | 60 | auto call = [&](const auto& type) -> bool { | 323 | 60 | using DispatchType = std::decay_t<decltype(type)>; | 324 | 60 | DecimalComparison<DispatchType::PType, DispatchType::PType, Op, false>( | 325 | 60 | block, result, col_left, col_right); | 326 | 60 | return true; | 327 | 60 | }; |
_ZZNK5doris18FunctionComparisonINS_17GreaterOrEqualsOpENS_19NameGreaterOrEqualsEE15execute_decimalERNS_5BlockEjRKNS_21ColumnWithTypeAndNameES8_ENKUlRKT_E_clINS_16DispatchDataTypeILNS_13PrimitiveTypeE35EEEEEbSB_ Line | Count | Source | 322 | 21 | auto call = [&](const auto& type) -> bool { | 323 | 21 | using DispatchType = std::decay_t<decltype(type)>; | 324 | 21 | DecimalComparison<DispatchType::PType, DispatchType::PType, Op, false>( | 325 | 21 | block, result, col_left, col_right); | 326 | 21 | return true; | 327 | 21 | }; |
_ZZNK5doris18FunctionComparisonINS_6LessOpENS_8NameLessEE15execute_decimalERNS_5BlockEjRKNS_21ColumnWithTypeAndNameES8_ENKUlRKT_E_clINS_16DispatchDataTypeILNS_13PrimitiveTypeE28EEEEEbSB_ Line | Count | Source | 322 | 212 | auto call = [&](const auto& type) -> bool { | 323 | 212 | using DispatchType = std::decay_t<decltype(type)>; | 324 | 212 | DecimalComparison<DispatchType::PType, DispatchType::PType, Op, false>( | 325 | 212 | block, result, col_left, col_right); | 326 | 212 | return true; | 327 | 212 | }; |
_ZZNK5doris18FunctionComparisonINS_6LessOpENS_8NameLessEE15execute_decimalERNS_5BlockEjRKNS_21ColumnWithTypeAndNameES8_ENKUlRKT_E_clINS_16DispatchDataTypeILNS_13PrimitiveTypeE29EEEEEbSB_ Line | Count | Source | 322 | 253 | auto call = [&](const auto& type) -> bool { | 323 | 253 | using DispatchType = std::decay_t<decltype(type)>; | 324 | 253 | DecimalComparison<DispatchType::PType, DispatchType::PType, Op, false>( | 325 | 253 | block, result, col_left, col_right); | 326 | 253 | return true; | 327 | 253 | }; |
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 | 322 | 620 | auto call = [&](const auto& type) -> bool { | 323 | 620 | using DispatchType = std::decay_t<decltype(type)>; | 324 | 620 | DecimalComparison<DispatchType::PType, DispatchType::PType, Op, false>( | 325 | 620 | block, result, col_left, col_right); | 326 | 620 | return true; | 327 | 620 | }; |
_ZZNK5doris18FunctionComparisonINS_6LessOpENS_8NameLessEE15execute_decimalERNS_5BlockEjRKNS_21ColumnWithTypeAndNameES8_ENKUlRKT_E_clINS_16DispatchDataTypeILNS_13PrimitiveTypeE35EEEEEbSB_ Line | Count | Source | 322 | 1 | auto call = [&](const auto& type) -> bool { | 323 | 1 | using DispatchType = std::decay_t<decltype(type)>; | 324 | 1 | DecimalComparison<DispatchType::PType, DispatchType::PType, Op, false>( | 325 | 1 | block, result, col_left, col_right); | 326 | 1 | return true; | 327 | 1 | }; |
_ZZNK5doris18FunctionComparisonINS_14LessOrEqualsOpENS_16NameLessOrEqualsEE15execute_decimalERNS_5BlockEjRKNS_21ColumnWithTypeAndNameES8_ENKUlRKT_E_clINS_16DispatchDataTypeILNS_13PrimitiveTypeE28EEEEEbSB_ Line | Count | Source | 322 | 5 | auto call = [&](const auto& type) -> bool { | 323 | 5 | using DispatchType = std::decay_t<decltype(type)>; | 324 | 5 | DecimalComparison<DispatchType::PType, DispatchType::PType, Op, false>( | 325 | 5 | block, result, col_left, col_right); | 326 | 5 | return true; | 327 | 5 | }; |
_ZZNK5doris18FunctionComparisonINS_14LessOrEqualsOpENS_16NameLessOrEqualsEE15execute_decimalERNS_5BlockEjRKNS_21ColumnWithTypeAndNameES8_ENKUlRKT_E_clINS_16DispatchDataTypeILNS_13PrimitiveTypeE29EEEEEbSB_ Line | Count | Source | 322 | 147k | auto call = [&](const auto& type) -> bool { | 323 | 147k | using DispatchType = std::decay_t<decltype(type)>; | 324 | 147k | DecimalComparison<DispatchType::PType, DispatchType::PType, Op, false>( | 325 | 147k | block, result, col_left, col_right); | 326 | 147k | return true; | 327 | 147k | }; |
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 | 322 | 773 | auto call = [&](const auto& type) -> bool { | 323 | 773 | using DispatchType = std::decay_t<decltype(type)>; | 324 | 773 | DecimalComparison<DispatchType::PType, DispatchType::PType, Op, false>( | 325 | 773 | block, result, col_left, col_right); | 326 | 773 | return true; | 327 | 773 | }; |
_ZZNK5doris18FunctionComparisonINS_14LessOrEqualsOpENS_16NameLessOrEqualsEE15execute_decimalERNS_5BlockEjRKNS_21ColumnWithTypeAndNameES8_ENKUlRKT_E_clINS_16DispatchDataTypeILNS_13PrimitiveTypeE35EEEEEbSB_ Line | Count | Source | 322 | 16 | auto call = [&](const auto& type) -> bool { | 323 | 16 | using DispatchType = std::decay_t<decltype(type)>; | 324 | 16 | DecimalComparison<DispatchType::PType, DispatchType::PType, Op, false>( | 325 | 16 | block, result, col_left, col_right); | 326 | 16 | return true; | 327 | 16 | }; |
|
328 | | |
329 | 154k | if (col_left.type->get_primitive_type() != col_right.type->get_primitive_type()) { |
330 | 0 | return Status::RuntimeError( |
331 | 0 | "type of left column {} is not equal to type of right column {}", |
332 | 0 | col_left.type->get_name(), col_right.type->get_name()); |
333 | 0 | } |
334 | | |
335 | 154k | if (!dispatch_switch_decimal(col_right.type->get_primitive_type(), call)) { |
336 | 0 | return Status::RuntimeError("Wrong call for {} with {} and {}", get_name(), |
337 | 0 | col_left.type->get_name(), col_right.type->get_name()); |
338 | 0 | } |
339 | 154k | return Status::OK(); |
340 | 154k | } _ZNK5doris18FunctionComparisonINS_8EqualsOpENS_10NameEqualsEE15execute_decimalERNS_5BlockEjRKNS_21ColumnWithTypeAndNameES8_ Line | Count | Source | 321 | 1.74k | const ColumnWithTypeAndName& col_right) const { | 322 | 1.74k | auto call = [&](const auto& type) -> bool { | 323 | 1.74k | using DispatchType = std::decay_t<decltype(type)>; | 324 | 1.74k | DecimalComparison<DispatchType::PType, DispatchType::PType, Op, false>( | 325 | 1.74k | block, result, col_left, col_right); | 326 | 1.74k | return true; | 327 | 1.74k | }; | 328 | | | 329 | 1.74k | if (col_left.type->get_primitive_type() != col_right.type->get_primitive_type()) { | 330 | 0 | return Status::RuntimeError( | 331 | 0 | "type of left column {} is not equal to type of right column {}", | 332 | 0 | col_left.type->get_name(), col_right.type->get_name()); | 333 | 0 | } | 334 | | | 335 | 1.74k | if (!dispatch_switch_decimal(col_right.type->get_primitive_type(), call)) { | 336 | 0 | return Status::RuntimeError("Wrong call for {} with {} and {}", get_name(), | 337 | 0 | col_left.type->get_name(), col_right.type->get_name()); | 338 | 0 | } | 339 | 1.74k | return Status::OK(); | 340 | 1.74k | } |
_ZNK5doris18FunctionComparisonINS_11NotEqualsOpENS_13NameNotEqualsEE15execute_decimalERNS_5BlockEjRKNS_21ColumnWithTypeAndNameES8_ Line | Count | Source | 321 | 415 | const ColumnWithTypeAndName& col_right) const { | 322 | 415 | auto call = [&](const auto& type) -> bool { | 323 | 415 | using DispatchType = std::decay_t<decltype(type)>; | 324 | 415 | DecimalComparison<DispatchType::PType, DispatchType::PType, Op, false>( | 325 | 415 | block, result, col_left, col_right); | 326 | 415 | return true; | 327 | 415 | }; | 328 | | | 329 | 415 | if (col_left.type->get_primitive_type() != col_right.type->get_primitive_type()) { | 330 | 0 | return Status::RuntimeError( | 331 | 0 | "type of left column {} is not equal to type of right column {}", | 332 | 0 | col_left.type->get_name(), col_right.type->get_name()); | 333 | 0 | } | 334 | | | 335 | 415 | if (!dispatch_switch_decimal(col_right.type->get_primitive_type(), call)) { | 336 | 0 | return Status::RuntimeError("Wrong call for {} with {} and {}", get_name(), | 337 | 0 | col_left.type->get_name(), col_right.type->get_name()); | 338 | 0 | } | 339 | 415 | return Status::OK(); | 340 | 415 | } |
_ZNK5doris18FunctionComparisonINS_9GreaterOpENS_11NameGreaterEE15execute_decimalERNS_5BlockEjRKNS_21ColumnWithTypeAndNameES8_ Line | Count | Source | 321 | 3.04k | const ColumnWithTypeAndName& col_right) const { | 322 | 3.04k | auto call = [&](const auto& type) -> bool { | 323 | 3.04k | using DispatchType = std::decay_t<decltype(type)>; | 324 | 3.04k | DecimalComparison<DispatchType::PType, DispatchType::PType, Op, false>( | 325 | 3.04k | block, result, col_left, col_right); | 326 | 3.04k | return true; | 327 | 3.04k | }; | 328 | | | 329 | 3.04k | if (col_left.type->get_primitive_type() != col_right.type->get_primitive_type()) { | 330 | 0 | return Status::RuntimeError( | 331 | 0 | "type of left column {} is not equal to type of right column {}", | 332 | 0 | col_left.type->get_name(), col_right.type->get_name()); | 333 | 0 | } | 334 | | | 335 | 3.04k | if (!dispatch_switch_decimal(col_right.type->get_primitive_type(), call)) { | 336 | 0 | return Status::RuntimeError("Wrong call for {} with {} and {}", get_name(), | 337 | 0 | col_left.type->get_name(), col_right.type->get_name()); | 338 | 0 | } | 339 | 3.04k | return Status::OK(); | 340 | 3.04k | } |
_ZNK5doris18FunctionComparisonINS_17GreaterOrEqualsOpENS_19NameGreaterOrEqualsEE15execute_decimalERNS_5BlockEjRKNS_21ColumnWithTypeAndNameES8_ Line | Count | Source | 321 | 349 | const ColumnWithTypeAndName& col_right) const { | 322 | 349 | auto call = [&](const auto& type) -> bool { | 323 | 349 | using DispatchType = std::decay_t<decltype(type)>; | 324 | 349 | DecimalComparison<DispatchType::PType, DispatchType::PType, Op, false>( | 325 | 349 | block, result, col_left, col_right); | 326 | 349 | return true; | 327 | 349 | }; | 328 | | | 329 | 349 | if (col_left.type->get_primitive_type() != col_right.type->get_primitive_type()) { | 330 | 0 | return Status::RuntimeError( | 331 | 0 | "type of left column {} is not equal to type of right column {}", | 332 | 0 | col_left.type->get_name(), col_right.type->get_name()); | 333 | 0 | } | 334 | | | 335 | 349 | if (!dispatch_switch_decimal(col_right.type->get_primitive_type(), call)) { | 336 | 0 | return Status::RuntimeError("Wrong call for {} with {} and {}", get_name(), | 337 | 0 | col_left.type->get_name(), col_right.type->get_name()); | 338 | 0 | } | 339 | 349 | return Status::OK(); | 340 | 349 | } |
_ZNK5doris18FunctionComparisonINS_6LessOpENS_8NameLessEE15execute_decimalERNS_5BlockEjRKNS_21ColumnWithTypeAndNameES8_ Line | Count | Source | 321 | 1.08k | const ColumnWithTypeAndName& col_right) const { | 322 | 1.08k | auto call = [&](const auto& type) -> bool { | 323 | 1.08k | using DispatchType = std::decay_t<decltype(type)>; | 324 | 1.08k | DecimalComparison<DispatchType::PType, DispatchType::PType, Op, false>( | 325 | 1.08k | block, result, col_left, col_right); | 326 | 1.08k | return true; | 327 | 1.08k | }; | 328 | | | 329 | 1.08k | if (col_left.type->get_primitive_type() != col_right.type->get_primitive_type()) { | 330 | 0 | return Status::RuntimeError( | 331 | 0 | "type of left column {} is not equal to type of right column {}", | 332 | 0 | col_left.type->get_name(), col_right.type->get_name()); | 333 | 0 | } | 334 | | | 335 | 1.08k | if (!dispatch_switch_decimal(col_right.type->get_primitive_type(), call)) { | 336 | 0 | return Status::RuntimeError("Wrong call for {} with {} and {}", get_name(), | 337 | 0 | col_left.type->get_name(), col_right.type->get_name()); | 338 | 0 | } | 339 | 1.08k | return Status::OK(); | 340 | 1.08k | } |
_ZNK5doris18FunctionComparisonINS_14LessOrEqualsOpENS_16NameLessOrEqualsEE15execute_decimalERNS_5BlockEjRKNS_21ColumnWithTypeAndNameES8_ Line | Count | Source | 321 | 148k | const ColumnWithTypeAndName& col_right) const { | 322 | 148k | auto call = [&](const auto& type) -> bool { | 323 | 148k | using DispatchType = std::decay_t<decltype(type)>; | 324 | 148k | DecimalComparison<DispatchType::PType, DispatchType::PType, Op, false>( | 325 | 148k | block, result, col_left, col_right); | 326 | 148k | return true; | 327 | 148k | }; | 328 | | | 329 | 148k | if (col_left.type->get_primitive_type() != col_right.type->get_primitive_type()) { | 330 | 0 | return Status::RuntimeError( | 331 | 0 | "type of left column {} is not equal to type of right column {}", | 332 | 0 | col_left.type->get_name(), col_right.type->get_name()); | 333 | 0 | } | 334 | | | 335 | 148k | if (!dispatch_switch_decimal(col_right.type->get_primitive_type(), call)) { | 336 | 0 | return Status::RuntimeError("Wrong call for {} with {} and {}", get_name(), | 337 | 0 | col_left.type->get_name(), col_right.type->get_name()); | 338 | 0 | } | 339 | 148k | return Status::OK(); | 340 | 148k | } |
|
341 | | |
342 | | Status execute_string(Block& block, uint32_t result, const IColumn* c0, |
343 | 27.3k | const IColumn* c1) const { |
344 | 27.3k | const ColumnString* c0_string = check_and_get_column<ColumnString>(c0); |
345 | 27.3k | const ColumnString* c1_string = check_and_get_column<ColumnString>(c1); |
346 | 27.3k | const ColumnConst* c0_const = check_and_get_column_const_string_or_fixedstring(c0); |
347 | 27.3k | const ColumnConst* c1_const = check_and_get_column_const_string_or_fixedstring(c1); |
348 | 27.3k | if (!((c0_string || c0_const) && (c1_string || c1_const))) { |
349 | 0 | return Status::NotSupported("Illegal columns {}, {} of argument of function {}", |
350 | 0 | c0->get_name(), c1->get_name(), name); |
351 | 0 | } |
352 | 27.3k | DCHECK(!(c0_const && c1_const)); |
353 | 27.3k | const ColumnString::Chars* c0_const_chars = nullptr; |
354 | 27.3k | const ColumnString::Chars* c1_const_chars = nullptr; |
355 | 27.3k | ColumnString::Offset c0_const_size = 0; |
356 | 27.3k | ColumnString::Offset c1_const_size = 0; |
357 | | |
358 | 27.3k | if (c0_const) { |
359 | 0 | const ColumnString* c0_const_string = |
360 | 0 | check_and_get_column<ColumnString>(&c0_const->get_data_column()); |
361 | |
|
362 | 0 | if (c0_const_string) { |
363 | 0 | c0_const_chars = &c0_const_string->get_chars(); |
364 | 0 | c0_const_size = c0_const_string->get_offsets()[0]; |
365 | 0 | } else { |
366 | 0 | return Status::NotSupported("Illegal columns {}, of argument of function {}", |
367 | 0 | c0->get_name(), name); |
368 | 0 | } |
369 | 0 | } |
370 | | |
371 | 27.3k | if (c1_const) { |
372 | 26.4k | const ColumnString* c1_const_string = |
373 | 26.4k | check_and_get_column<ColumnString>(&c1_const->get_data_column()); |
374 | | |
375 | 26.4k | if (c1_const_string) { |
376 | 26.4k | c1_const_chars = &c1_const_string->get_chars(); |
377 | 26.4k | c1_const_size = c1_const_string->get_offsets()[0]; |
378 | 26.4k | } else { |
379 | 0 | return Status::NotSupported("Illegal columns {}, of argument of function {}", |
380 | 0 | c1->get_name(), name); |
381 | 0 | } |
382 | 26.4k | } |
383 | | |
384 | 27.3k | using StringImpl = StringComparisonImpl<Op<TYPE_INT>>; |
385 | | |
386 | 27.3k | auto c_res = ColumnUInt8::create(); |
387 | 27.3k | ColumnUInt8::Container& vec_res = c_res->get_data(); |
388 | 27.3k | vec_res.resize(c0->size()); |
389 | | |
390 | 27.3k | if (c0_string && c1_string) { |
391 | 863 | StringImpl::string_vector_string_vector( |
392 | 863 | c0_string->get_chars(), c0_string->get_offsets(), c1_string->get_chars(), |
393 | 863 | c1_string->get_offsets(), vec_res); |
394 | 26.4k | } else if (c0_string && c1_const) { |
395 | 26.4k | StringImpl::string_vector_constant(c0_string->get_chars(), c0_string->get_offsets(), |
396 | 26.4k | *c1_const_chars, c1_const_size, vec_res); |
397 | 18.4E | } else if (c0_const && c1_string) { |
398 | 0 | StringImpl::constant_string_vector(*c0_const_chars, c0_const_size, |
399 | 0 | c1_string->get_chars(), c1_string->get_offsets(), |
400 | 0 | vec_res); |
401 | 18.4E | } else { |
402 | 18.4E | return Status::NotSupported("Illegal columns {}, {} of argument of function {}", |
403 | 18.4E | c0->get_name(), c1->get_name(), name); |
404 | 18.4E | } |
405 | 27.3k | block.replace_by_position(result, std::move(c_res)); |
406 | 27.3k | return Status::OK(); |
407 | 27.3k | } _ZNK5doris18FunctionComparisonINS_8EqualsOpENS_10NameEqualsEE14execute_stringERNS_5BlockEjPKNS_7IColumnES8_ Line | Count | Source | 343 | 22.3k | const IColumn* c1) const { | 344 | 22.3k | const ColumnString* c0_string = check_and_get_column<ColumnString>(c0); | 345 | 22.3k | const ColumnString* c1_string = check_and_get_column<ColumnString>(c1); | 346 | 22.3k | const ColumnConst* c0_const = check_and_get_column_const_string_or_fixedstring(c0); | 347 | 22.3k | const ColumnConst* c1_const = check_and_get_column_const_string_or_fixedstring(c1); | 348 | 22.3k | if (!((c0_string || c0_const) && (c1_string || c1_const))) { | 349 | 0 | return Status::NotSupported("Illegal columns {}, {} of argument of function {}", | 350 | 0 | c0->get_name(), c1->get_name(), name); | 351 | 0 | } | 352 | 22.3k | DCHECK(!(c0_const && c1_const)); | 353 | 22.3k | const ColumnString::Chars* c0_const_chars = nullptr; | 354 | 22.3k | const ColumnString::Chars* c1_const_chars = nullptr; | 355 | 22.3k | ColumnString::Offset c0_const_size = 0; | 356 | 22.3k | ColumnString::Offset c1_const_size = 0; | 357 | | | 358 | 22.3k | if (c0_const) { | 359 | 0 | const ColumnString* c0_const_string = | 360 | 0 | check_and_get_column<ColumnString>(&c0_const->get_data_column()); | 361 | |
| 362 | 0 | if (c0_const_string) { | 363 | 0 | c0_const_chars = &c0_const_string->get_chars(); | 364 | 0 | c0_const_size = c0_const_string->get_offsets()[0]; | 365 | 0 | } else { | 366 | 0 | return Status::NotSupported("Illegal columns {}, of argument of function {}", | 367 | 0 | c0->get_name(), name); | 368 | 0 | } | 369 | 0 | } | 370 | | | 371 | 22.3k | if (c1_const) { | 372 | 21.9k | const ColumnString* c1_const_string = | 373 | 21.9k | check_and_get_column<ColumnString>(&c1_const->get_data_column()); | 374 | | | 375 | 21.9k | if (c1_const_string) { | 376 | 21.9k | c1_const_chars = &c1_const_string->get_chars(); | 377 | 21.9k | c1_const_size = c1_const_string->get_offsets()[0]; | 378 | 18.4E | } else { | 379 | 18.4E | return Status::NotSupported("Illegal columns {}, of argument of function {}", | 380 | 18.4E | c1->get_name(), name); | 381 | 18.4E | } | 382 | 21.9k | } | 383 | | | 384 | 22.3k | using StringImpl = StringComparisonImpl<Op<TYPE_INT>>; | 385 | | | 386 | 22.3k | auto c_res = ColumnUInt8::create(); | 387 | 22.3k | ColumnUInt8::Container& vec_res = c_res->get_data(); | 388 | 22.3k | vec_res.resize(c0->size()); | 389 | | | 390 | 22.3k | if (c0_string && c1_string) { | 391 | 426 | StringImpl::string_vector_string_vector( | 392 | 426 | c0_string->get_chars(), c0_string->get_offsets(), c1_string->get_chars(), | 393 | 426 | c1_string->get_offsets(), vec_res); | 394 | 21.9k | } else if (c0_string && c1_const) { | 395 | 21.9k | StringImpl::string_vector_constant(c0_string->get_chars(), c0_string->get_offsets(), | 396 | 21.9k | *c1_const_chars, c1_const_size, vec_res); | 397 | 18.4E | } else if (c0_const && c1_string) { | 398 | 0 | StringImpl::constant_string_vector(*c0_const_chars, c0_const_size, | 399 | 0 | c1_string->get_chars(), c1_string->get_offsets(), | 400 | 0 | vec_res); | 401 | 18.4E | } else { | 402 | 18.4E | return Status::NotSupported("Illegal columns {}, {} of argument of function {}", | 403 | 18.4E | c0->get_name(), c1->get_name(), name); | 404 | 18.4E | } | 405 | 22.3k | block.replace_by_position(result, std::move(c_res)); | 406 | 22.3k | return Status::OK(); | 407 | 22.3k | } |
_ZNK5doris18FunctionComparisonINS_11NotEqualsOpENS_13NameNotEqualsEE14execute_stringERNS_5BlockEjPKNS_7IColumnES8_ Line | Count | Source | 343 | 1.47k | const IColumn* c1) const { | 344 | 1.47k | const ColumnString* c0_string = check_and_get_column<ColumnString>(c0); | 345 | 1.47k | const ColumnString* c1_string = check_and_get_column<ColumnString>(c1); | 346 | 1.47k | const ColumnConst* c0_const = check_and_get_column_const_string_or_fixedstring(c0); | 347 | 1.47k | const ColumnConst* c1_const = check_and_get_column_const_string_or_fixedstring(c1); | 348 | 1.47k | if (!((c0_string || c0_const) && (c1_string || c1_const))) { | 349 | 0 | return Status::NotSupported("Illegal columns {}, {} of argument of function {}", | 350 | 0 | c0->get_name(), c1->get_name(), name); | 351 | 0 | } | 352 | 1.47k | DCHECK(!(c0_const && c1_const)); | 353 | 1.47k | const ColumnString::Chars* c0_const_chars = nullptr; | 354 | 1.47k | const ColumnString::Chars* c1_const_chars = nullptr; | 355 | 1.47k | ColumnString::Offset c0_const_size = 0; | 356 | 1.47k | ColumnString::Offset c1_const_size = 0; | 357 | | | 358 | 1.47k | if (c0_const) { | 359 | 0 | const ColumnString* c0_const_string = | 360 | 0 | check_and_get_column<ColumnString>(&c0_const->get_data_column()); | 361 | |
| 362 | 0 | if (c0_const_string) { | 363 | 0 | c0_const_chars = &c0_const_string->get_chars(); | 364 | 0 | c0_const_size = c0_const_string->get_offsets()[0]; | 365 | 0 | } else { | 366 | 0 | return Status::NotSupported("Illegal columns {}, of argument of function {}", | 367 | 0 | c0->get_name(), name); | 368 | 0 | } | 369 | 0 | } | 370 | | | 371 | 1.47k | if (c1_const) { | 372 | 1.47k | const ColumnString* c1_const_string = | 373 | 1.47k | check_and_get_column<ColumnString>(&c1_const->get_data_column()); | 374 | | | 375 | 1.47k | if (c1_const_string) { | 376 | 1.47k | c1_const_chars = &c1_const_string->get_chars(); | 377 | 1.47k | c1_const_size = c1_const_string->get_offsets()[0]; | 378 | 1.47k | } else { | 379 | 0 | return Status::NotSupported("Illegal columns {}, of argument of function {}", | 380 | 0 | c1->get_name(), name); | 381 | 0 | } | 382 | 1.47k | } | 383 | | | 384 | 1.47k | using StringImpl = StringComparisonImpl<Op<TYPE_INT>>; | 385 | | | 386 | 1.47k | auto c_res = ColumnUInt8::create(); | 387 | 1.47k | ColumnUInt8::Container& vec_res = c_res->get_data(); | 388 | 1.47k | vec_res.resize(c0->size()); | 389 | | | 390 | 1.47k | if (c0_string && c1_string) { | 391 | 1 | StringImpl::string_vector_string_vector( | 392 | 1 | c0_string->get_chars(), c0_string->get_offsets(), c1_string->get_chars(), | 393 | 1 | c1_string->get_offsets(), vec_res); | 394 | 1.47k | } else if (c0_string && c1_const) { | 395 | 1.47k | StringImpl::string_vector_constant(c0_string->get_chars(), c0_string->get_offsets(), | 396 | 1.47k | *c1_const_chars, c1_const_size, vec_res); | 397 | 1.47k | } else if (c0_const && c1_string) { | 398 | 0 | StringImpl::constant_string_vector(*c0_const_chars, c0_const_size, | 399 | 0 | c1_string->get_chars(), c1_string->get_offsets(), | 400 | 0 | vec_res); | 401 | 0 | } else { | 402 | 0 | return Status::NotSupported("Illegal columns {}, {} of argument of function {}", | 403 | 0 | c0->get_name(), c1->get_name(), name); | 404 | 0 | } | 405 | 1.47k | block.replace_by_position(result, std::move(c_res)); | 406 | 1.47k | return Status::OK(); | 407 | 1.47k | } |
_ZNK5doris18FunctionComparisonINS_9GreaterOpENS_11NameGreaterEE14execute_stringERNS_5BlockEjPKNS_7IColumnES8_ Line | Count | Source | 343 | 188 | const IColumn* c1) const { | 344 | 188 | const ColumnString* c0_string = check_and_get_column<ColumnString>(c0); | 345 | 188 | const ColumnString* c1_string = check_and_get_column<ColumnString>(c1); | 346 | 188 | const ColumnConst* c0_const = check_and_get_column_const_string_or_fixedstring(c0); | 347 | 188 | const ColumnConst* c1_const = check_and_get_column_const_string_or_fixedstring(c1); | 348 | 188 | if (!((c0_string || c0_const) && (c1_string || c1_const))) { | 349 | 0 | return Status::NotSupported("Illegal columns {}, {} of argument of function {}", | 350 | 0 | c0->get_name(), c1->get_name(), name); | 351 | 0 | } | 352 | 188 | DCHECK(!(c0_const && c1_const)); | 353 | 188 | const ColumnString::Chars* c0_const_chars = nullptr; | 354 | 188 | const ColumnString::Chars* c1_const_chars = nullptr; | 355 | 188 | ColumnString::Offset c0_const_size = 0; | 356 | 188 | ColumnString::Offset c1_const_size = 0; | 357 | | | 358 | 188 | if (c0_const) { | 359 | 0 | const ColumnString* c0_const_string = | 360 | 0 | check_and_get_column<ColumnString>(&c0_const->get_data_column()); | 361 | |
| 362 | 0 | if (c0_const_string) { | 363 | 0 | c0_const_chars = &c0_const_string->get_chars(); | 364 | 0 | c0_const_size = c0_const_string->get_offsets()[0]; | 365 | 0 | } else { | 366 | 0 | return Status::NotSupported("Illegal columns {}, of argument of function {}", | 367 | 0 | c0->get_name(), name); | 368 | 0 | } | 369 | 0 | } | 370 | | | 371 | 188 | if (c1_const) { | 372 | 186 | const ColumnString* c1_const_string = | 373 | 186 | check_and_get_column<ColumnString>(&c1_const->get_data_column()); | 374 | | | 375 | 186 | if (c1_const_string) { | 376 | 185 | c1_const_chars = &c1_const_string->get_chars(); | 377 | 185 | c1_const_size = c1_const_string->get_offsets()[0]; | 378 | 185 | } else { | 379 | 1 | return Status::NotSupported("Illegal columns {}, of argument of function {}", | 380 | 1 | c1->get_name(), name); | 381 | 1 | } | 382 | 186 | } | 383 | | | 384 | 187 | using StringImpl = StringComparisonImpl<Op<TYPE_INT>>; | 385 | | | 386 | 187 | auto c_res = ColumnUInt8::create(); | 387 | 187 | ColumnUInt8::Container& vec_res = c_res->get_data(); | 388 | 187 | vec_res.resize(c0->size()); | 389 | | | 390 | 188 | if (c0_string && c1_string) { | 391 | 2 | StringImpl::string_vector_string_vector( | 392 | 2 | c0_string->get_chars(), c0_string->get_offsets(), c1_string->get_chars(), | 393 | 2 | c1_string->get_offsets(), vec_res); | 394 | 186 | } else if (c0_string && c1_const) { | 395 | 186 | StringImpl::string_vector_constant(c0_string->get_chars(), c0_string->get_offsets(), | 396 | 186 | *c1_const_chars, c1_const_size, vec_res); | 397 | 18.4E | } else if (c0_const && c1_string) { | 398 | 0 | StringImpl::constant_string_vector(*c0_const_chars, c0_const_size, | 399 | 0 | c1_string->get_chars(), c1_string->get_offsets(), | 400 | 0 | vec_res); | 401 | 18.4E | } else { | 402 | 18.4E | return Status::NotSupported("Illegal columns {}, {} of argument of function {}", | 403 | 18.4E | c0->get_name(), c1->get_name(), name); | 404 | 18.4E | } | 405 | 188 | block.replace_by_position(result, std::move(c_res)); | 406 | 188 | return Status::OK(); | 407 | 187 | } |
_ZNK5doris18FunctionComparisonINS_17GreaterOrEqualsOpENS_19NameGreaterOrEqualsEE14execute_stringERNS_5BlockEjPKNS_7IColumnES8_ Line | Count | Source | 343 | 673 | const IColumn* c1) const { | 344 | 673 | const ColumnString* c0_string = check_and_get_column<ColumnString>(c0); | 345 | 673 | const ColumnString* c1_string = check_and_get_column<ColumnString>(c1); | 346 | 673 | const ColumnConst* c0_const = check_and_get_column_const_string_or_fixedstring(c0); | 347 | 673 | const ColumnConst* c1_const = check_and_get_column_const_string_or_fixedstring(c1); | 348 | 673 | if (!((c0_string || c0_const) && (c1_string || c1_const))) { | 349 | 0 | return Status::NotSupported("Illegal columns {}, {} of argument of function {}", | 350 | 0 | c0->get_name(), c1->get_name(), name); | 351 | 0 | } | 352 | 673 | DCHECK(!(c0_const && c1_const)); | 353 | 673 | const ColumnString::Chars* c0_const_chars = nullptr; | 354 | 673 | const ColumnString::Chars* c1_const_chars = nullptr; | 355 | 673 | ColumnString::Offset c0_const_size = 0; | 356 | 673 | ColumnString::Offset c1_const_size = 0; | 357 | | | 358 | 673 | if (c0_const) { | 359 | 0 | const ColumnString* c0_const_string = | 360 | 0 | check_and_get_column<ColumnString>(&c0_const->get_data_column()); | 361 | |
| 362 | 0 | if (c0_const_string) { | 363 | 0 | c0_const_chars = &c0_const_string->get_chars(); | 364 | 0 | c0_const_size = c0_const_string->get_offsets()[0]; | 365 | 0 | } else { | 366 | 0 | return Status::NotSupported("Illegal columns {}, of argument of function {}", | 367 | 0 | c0->get_name(), name); | 368 | 0 | } | 369 | 0 | } | 370 | | | 371 | 673 | if (c1_const) { | 372 | 633 | const ColumnString* c1_const_string = | 373 | 633 | check_and_get_column<ColumnString>(&c1_const->get_data_column()); | 374 | | | 375 | 633 | if (c1_const_string) { | 376 | 633 | c1_const_chars = &c1_const_string->get_chars(); | 377 | 633 | c1_const_size = c1_const_string->get_offsets()[0]; | 378 | 633 | } else { | 379 | 0 | return Status::NotSupported("Illegal columns {}, of argument of function {}", | 380 | 0 | c1->get_name(), name); | 381 | 0 | } | 382 | 633 | } | 383 | | | 384 | 673 | using StringImpl = StringComparisonImpl<Op<TYPE_INT>>; | 385 | | | 386 | 673 | auto c_res = ColumnUInt8::create(); | 387 | 673 | ColumnUInt8::Container& vec_res = c_res->get_data(); | 388 | 673 | vec_res.resize(c0->size()); | 389 | | | 390 | 673 | if (c0_string && c1_string) { | 391 | 40 | StringImpl::string_vector_string_vector( | 392 | 40 | c0_string->get_chars(), c0_string->get_offsets(), c1_string->get_chars(), | 393 | 40 | c1_string->get_offsets(), vec_res); | 394 | 633 | } else if (c0_string && c1_const) { | 395 | 633 | StringImpl::string_vector_constant(c0_string->get_chars(), c0_string->get_offsets(), | 396 | 633 | *c1_const_chars, c1_const_size, vec_res); | 397 | 633 | } else if (c0_const && c1_string) { | 398 | 0 | StringImpl::constant_string_vector(*c0_const_chars, c0_const_size, | 399 | 0 | c1_string->get_chars(), c1_string->get_offsets(), | 400 | 0 | vec_res); | 401 | 0 | } else { | 402 | 0 | return Status::NotSupported("Illegal columns {}, {} of argument of function {}", | 403 | 0 | c0->get_name(), c1->get_name(), name); | 404 | 0 | } | 405 | 673 | block.replace_by_position(result, std::move(c_res)); | 406 | 673 | return Status::OK(); | 407 | 673 | } |
_ZNK5doris18FunctionComparisonINS_6LessOpENS_8NameLessEE14execute_stringERNS_5BlockEjPKNS_7IColumnES8_ Line | Count | Source | 343 | 647 | const IColumn* c1) const { | 344 | 647 | const ColumnString* c0_string = check_and_get_column<ColumnString>(c0); | 345 | 647 | const ColumnString* c1_string = check_and_get_column<ColumnString>(c1); | 346 | 647 | const ColumnConst* c0_const = check_and_get_column_const_string_or_fixedstring(c0); | 347 | 647 | const ColumnConst* c1_const = check_and_get_column_const_string_or_fixedstring(c1); | 348 | 647 | if (!((c0_string || c0_const) && (c1_string || c1_const))) { | 349 | 0 | return Status::NotSupported("Illegal columns {}, {} of argument of function {}", | 350 | 0 | c0->get_name(), c1->get_name(), name); | 351 | 0 | } | 352 | 647 | DCHECK(!(c0_const && c1_const)); | 353 | 647 | const ColumnString::Chars* c0_const_chars = nullptr; | 354 | 647 | const ColumnString::Chars* c1_const_chars = nullptr; | 355 | 647 | ColumnString::Offset c0_const_size = 0; | 356 | 647 | ColumnString::Offset c1_const_size = 0; | 357 | | | 358 | 647 | if (c0_const) { | 359 | 0 | const ColumnString* c0_const_string = | 360 | 0 | check_and_get_column<ColumnString>(&c0_const->get_data_column()); | 361 | |
| 362 | 0 | if (c0_const_string) { | 363 | 0 | c0_const_chars = &c0_const_string->get_chars(); | 364 | 0 | c0_const_size = c0_const_string->get_offsets()[0]; | 365 | 0 | } else { | 366 | 0 | return Status::NotSupported("Illegal columns {}, of argument of function {}", | 367 | 0 | c0->get_name(), name); | 368 | 0 | } | 369 | 0 | } | 370 | | | 371 | 647 | if (c1_const) { | 372 | 253 | const ColumnString* c1_const_string = | 373 | 253 | check_and_get_column<ColumnString>(&c1_const->get_data_column()); | 374 | | | 375 | 253 | if (c1_const_string) { | 376 | 253 | c1_const_chars = &c1_const_string->get_chars(); | 377 | 253 | c1_const_size = c1_const_string->get_offsets()[0]; | 378 | 253 | } else { | 379 | 0 | return Status::NotSupported("Illegal columns {}, of argument of function {}", | 380 | 0 | c1->get_name(), name); | 381 | 0 | } | 382 | 253 | } | 383 | | | 384 | 647 | using StringImpl = StringComparisonImpl<Op<TYPE_INT>>; | 385 | | | 386 | 647 | auto c_res = ColumnUInt8::create(); | 387 | 647 | ColumnUInt8::Container& vec_res = c_res->get_data(); | 388 | 647 | vec_res.resize(c0->size()); | 389 | | | 390 | 647 | if (c0_string && c1_string) { | 391 | 394 | StringImpl::string_vector_string_vector( | 392 | 394 | c0_string->get_chars(), c0_string->get_offsets(), c1_string->get_chars(), | 393 | 394 | c1_string->get_offsets(), vec_res); | 394 | 394 | } else if (c0_string && c1_const) { | 395 | 253 | StringImpl::string_vector_constant(c0_string->get_chars(), c0_string->get_offsets(), | 396 | 253 | *c1_const_chars, c1_const_size, vec_res); | 397 | 253 | } else if (c0_const && c1_string) { | 398 | 0 | StringImpl::constant_string_vector(*c0_const_chars, c0_const_size, | 399 | 0 | c1_string->get_chars(), c1_string->get_offsets(), | 400 | 0 | vec_res); | 401 | 0 | } else { | 402 | 0 | return Status::NotSupported("Illegal columns {}, {} of argument of function {}", | 403 | 0 | c0->get_name(), c1->get_name(), name); | 404 | 0 | } | 405 | 647 | block.replace_by_position(result, std::move(c_res)); | 406 | 647 | return Status::OK(); | 407 | 647 | } |
_ZNK5doris18FunctionComparisonINS_14LessOrEqualsOpENS_16NameLessOrEqualsEE14execute_stringERNS_5BlockEjPKNS_7IColumnES8_ Line | Count | Source | 343 | 2.00k | const IColumn* c1) const { | 344 | 2.00k | const ColumnString* c0_string = check_and_get_column<ColumnString>(c0); | 345 | 2.00k | const ColumnString* c1_string = check_and_get_column<ColumnString>(c1); | 346 | 2.00k | const ColumnConst* c0_const = check_and_get_column_const_string_or_fixedstring(c0); | 347 | 2.00k | const ColumnConst* c1_const = check_and_get_column_const_string_or_fixedstring(c1); | 348 | 2.00k | if (!((c0_string || c0_const) && (c1_string || c1_const))) { | 349 | 0 | return Status::NotSupported("Illegal columns {}, {} of argument of function {}", | 350 | 0 | c0->get_name(), c1->get_name(), name); | 351 | 0 | } | 352 | 2.00k | DCHECK(!(c0_const && c1_const)); | 353 | 2.00k | const ColumnString::Chars* c0_const_chars = nullptr; | 354 | 2.00k | const ColumnString::Chars* c1_const_chars = nullptr; | 355 | 2.00k | ColumnString::Offset c0_const_size = 0; | 356 | 2.00k | ColumnString::Offset c1_const_size = 0; | 357 | | | 358 | 2.00k | if (c0_const) { | 359 | 0 | const ColumnString* c0_const_string = | 360 | 0 | check_and_get_column<ColumnString>(&c0_const->get_data_column()); | 361 | |
| 362 | 0 | if (c0_const_string) { | 363 | 0 | c0_const_chars = &c0_const_string->get_chars(); | 364 | 0 | c0_const_size = c0_const_string->get_offsets()[0]; | 365 | 0 | } else { | 366 | 0 | return Status::NotSupported("Illegal columns {}, of argument of function {}", | 367 | 0 | c0->get_name(), name); | 368 | 0 | } | 369 | 0 | } | 370 | | | 371 | 2.00k | if (c1_const) { | 372 | 2.00k | const ColumnString* c1_const_string = | 373 | 2.00k | check_and_get_column<ColumnString>(&c1_const->get_data_column()); | 374 | | | 375 | 2.00k | if (c1_const_string) { | 376 | 2.00k | c1_const_chars = &c1_const_string->get_chars(); | 377 | 2.00k | c1_const_size = c1_const_string->get_offsets()[0]; | 378 | 2.00k | } else { | 379 | 0 | return Status::NotSupported("Illegal columns {}, of argument of function {}", | 380 | 0 | c1->get_name(), name); | 381 | 0 | } | 382 | 2.00k | } | 383 | | | 384 | 2.00k | using StringImpl = StringComparisonImpl<Op<TYPE_INT>>; | 385 | | | 386 | 2.00k | auto c_res = ColumnUInt8::create(); | 387 | 2.00k | ColumnUInt8::Container& vec_res = c_res->get_data(); | 388 | 2.00k | vec_res.resize(c0->size()); | 389 | | | 390 | 2.00k | if (c0_string && c1_string) { | 391 | 0 | StringImpl::string_vector_string_vector( | 392 | 0 | c0_string->get_chars(), c0_string->get_offsets(), c1_string->get_chars(), | 393 | 0 | c1_string->get_offsets(), vec_res); | 394 | 2.00k | } else if (c0_string && c1_const) { | 395 | 2.00k | StringImpl::string_vector_constant(c0_string->get_chars(), c0_string->get_offsets(), | 396 | 2.00k | *c1_const_chars, c1_const_size, vec_res); | 397 | 2.00k | } else if (c0_const && c1_string) { | 398 | 0 | StringImpl::constant_string_vector(*c0_const_chars, c0_const_size, | 399 | 0 | c1_string->get_chars(), c1_string->get_offsets(), | 400 | 0 | vec_res); | 401 | 0 | } else { | 402 | 0 | return Status::NotSupported("Illegal columns {}, {} of argument of function {}", | 403 | 0 | c0->get_name(), c1->get_name(), name); | 404 | 0 | } | 405 | 2.00k | block.replace_by_position(result, std::move(c_res)); | 406 | 2.00k | return Status::OK(); | 407 | 2.00k | } |
|
408 | | |
409 | | void execute_generic_identical_types(Block& block, uint32_t result, const IColumn* c0, |
410 | 135 | const IColumn* c1) const { |
411 | 135 | bool c0_const = is_column_const(*c0); |
412 | 135 | bool c1_const = is_column_const(*c1); |
413 | | |
414 | 135 | DCHECK(!(c0_const && c1_const)); |
415 | | |
416 | 135 | auto c_res = ColumnUInt8::create(); |
417 | 135 | ColumnUInt8::Container& vec_res = c_res->get_data(); |
418 | 135 | vec_res.resize(c0->size()); |
419 | | |
420 | 135 | if (c0_const) { |
421 | 0 | GenericComparisonImpl<Op<TYPE_INT>>::constant_vector(*c0, *c1, vec_res); |
422 | 135 | } else if (c1_const) { |
423 | 126 | GenericComparisonImpl<Op<TYPE_INT>>::vector_constant(*c0, *c1, vec_res); |
424 | 126 | } else { |
425 | 9 | GenericComparisonImpl<Op<TYPE_INT>>::vector_vector(*c0, *c1, vec_res); |
426 | 9 | } |
427 | | |
428 | 135 | block.replace_by_position(result, std::move(c_res)); |
429 | 135 | } _ZNK5doris18FunctionComparisonINS_8EqualsOpENS_10NameEqualsEE31execute_generic_identical_typesERNS_5BlockEjPKNS_7IColumnES8_ Line | Count | Source | 410 | 17 | const IColumn* c1) const { | 411 | 17 | bool c0_const = is_column_const(*c0); | 412 | 17 | bool c1_const = is_column_const(*c1); | 413 | | | 414 | 17 | DCHECK(!(c0_const && c1_const)); | 415 | | | 416 | 17 | auto c_res = ColumnUInt8::create(); | 417 | 17 | ColumnUInt8::Container& vec_res = c_res->get_data(); | 418 | 17 | vec_res.resize(c0->size()); | 419 | | | 420 | 17 | if (c0_const) { | 421 | 0 | GenericComparisonImpl<Op<TYPE_INT>>::constant_vector(*c0, *c1, vec_res); | 422 | 17 | } else if (c1_const) { | 423 | 13 | GenericComparisonImpl<Op<TYPE_INT>>::vector_constant(*c0, *c1, vec_res); | 424 | 13 | } else { | 425 | 4 | GenericComparisonImpl<Op<TYPE_INT>>::vector_vector(*c0, *c1, vec_res); | 426 | 4 | } | 427 | | | 428 | 17 | block.replace_by_position(result, std::move(c_res)); | 429 | 17 | } |
_ZNK5doris18FunctionComparisonINS_11NotEqualsOpENS_13NameNotEqualsEE31execute_generic_identical_typesERNS_5BlockEjPKNS_7IColumnES8_ Line | Count | Source | 410 | 8 | const IColumn* c1) const { | 411 | 8 | bool c0_const = is_column_const(*c0); | 412 | 8 | bool c1_const = is_column_const(*c1); | 413 | | | 414 | 8 | DCHECK(!(c0_const && c1_const)); | 415 | | | 416 | 8 | auto c_res = ColumnUInt8::create(); | 417 | 8 | ColumnUInt8::Container& vec_res = c_res->get_data(); | 418 | 8 | vec_res.resize(c0->size()); | 419 | | | 420 | 8 | if (c0_const) { | 421 | 0 | GenericComparisonImpl<Op<TYPE_INT>>::constant_vector(*c0, *c1, vec_res); | 422 | 8 | } else if (c1_const) { | 423 | 8 | GenericComparisonImpl<Op<TYPE_INT>>::vector_constant(*c0, *c1, vec_res); | 424 | 8 | } else { | 425 | 0 | GenericComparisonImpl<Op<TYPE_INT>>::vector_vector(*c0, *c1, vec_res); | 426 | 0 | } | 427 | | | 428 | 8 | block.replace_by_position(result, std::move(c_res)); | 429 | 8 | } |
_ZNK5doris18FunctionComparisonINS_9GreaterOpENS_11NameGreaterEE31execute_generic_identical_typesERNS_5BlockEjPKNS_7IColumnES8_ Line | Count | Source | 410 | 9 | const IColumn* c1) const { | 411 | 9 | bool c0_const = is_column_const(*c0); | 412 | 9 | bool c1_const = is_column_const(*c1); | 413 | | | 414 | 9 | DCHECK(!(c0_const && c1_const)); | 415 | | | 416 | 9 | auto c_res = ColumnUInt8::create(); | 417 | 9 | ColumnUInt8::Container& vec_res = c_res->get_data(); | 418 | 9 | vec_res.resize(c0->size()); | 419 | | | 420 | 9 | if (c0_const) { | 421 | 0 | GenericComparisonImpl<Op<TYPE_INT>>::constant_vector(*c0, *c1, vec_res); | 422 | 9 | } else if (c1_const) { | 423 | 8 | GenericComparisonImpl<Op<TYPE_INT>>::vector_constant(*c0, *c1, vec_res); | 424 | 8 | } else { | 425 | 1 | GenericComparisonImpl<Op<TYPE_INT>>::vector_vector(*c0, *c1, vec_res); | 426 | 1 | } | 427 | | | 428 | 9 | block.replace_by_position(result, std::move(c_res)); | 429 | 9 | } |
_ZNK5doris18FunctionComparisonINS_17GreaterOrEqualsOpENS_19NameGreaterOrEqualsEE31execute_generic_identical_typesERNS_5BlockEjPKNS_7IColumnES8_ Line | Count | Source | 410 | 50 | const IColumn* c1) const { | 411 | 50 | bool c0_const = is_column_const(*c0); | 412 | 50 | bool c1_const = is_column_const(*c1); | 413 | | | 414 | 50 | DCHECK(!(c0_const && c1_const)); | 415 | | | 416 | 50 | auto c_res = ColumnUInt8::create(); | 417 | 50 | ColumnUInt8::Container& vec_res = c_res->get_data(); | 418 | 50 | vec_res.resize(c0->size()); | 419 | | | 420 | 50 | if (c0_const) { | 421 | 0 | GenericComparisonImpl<Op<TYPE_INT>>::constant_vector(*c0, *c1, vec_res); | 422 | 50 | } else if (c1_const) { | 423 | 49 | GenericComparisonImpl<Op<TYPE_INT>>::vector_constant(*c0, *c1, vec_res); | 424 | 49 | } else { | 425 | 1 | GenericComparisonImpl<Op<TYPE_INT>>::vector_vector(*c0, *c1, vec_res); | 426 | 1 | } | 427 | | | 428 | 50 | block.replace_by_position(result, std::move(c_res)); | 429 | 50 | } |
_ZNK5doris18FunctionComparisonINS_6LessOpENS_8NameLessEE31execute_generic_identical_typesERNS_5BlockEjPKNS_7IColumnES8_ Line | Count | Source | 410 | 11 | const IColumn* c1) const { | 411 | 11 | bool c0_const = is_column_const(*c0); | 412 | 11 | bool c1_const = is_column_const(*c1); | 413 | | | 414 | 11 | DCHECK(!(c0_const && c1_const)); | 415 | | | 416 | 11 | auto c_res = ColumnUInt8::create(); | 417 | 11 | ColumnUInt8::Container& vec_res = c_res->get_data(); | 418 | 11 | vec_res.resize(c0->size()); | 419 | | | 420 | 11 | if (c0_const) { | 421 | 0 | GenericComparisonImpl<Op<TYPE_INT>>::constant_vector(*c0, *c1, vec_res); | 422 | 11 | } else if (c1_const) { | 423 | 8 | GenericComparisonImpl<Op<TYPE_INT>>::vector_constant(*c0, *c1, vec_res); | 424 | 8 | } else { | 425 | 3 | GenericComparisonImpl<Op<TYPE_INT>>::vector_vector(*c0, *c1, vec_res); | 426 | 3 | } | 427 | | | 428 | 11 | block.replace_by_position(result, std::move(c_res)); | 429 | 11 | } |
_ZNK5doris18FunctionComparisonINS_14LessOrEqualsOpENS_16NameLessOrEqualsEE31execute_generic_identical_typesERNS_5BlockEjPKNS_7IColumnES8_ Line | Count | Source | 410 | 40 | const IColumn* c1) const { | 411 | 40 | bool c0_const = is_column_const(*c0); | 412 | 40 | bool c1_const = is_column_const(*c1); | 413 | | | 414 | 40 | DCHECK(!(c0_const && c1_const)); | 415 | | | 416 | 40 | auto c_res = ColumnUInt8::create(); | 417 | 40 | ColumnUInt8::Container& vec_res = c_res->get_data(); | 418 | 40 | vec_res.resize(c0->size()); | 419 | | | 420 | 40 | if (c0_const) { | 421 | 0 | GenericComparisonImpl<Op<TYPE_INT>>::constant_vector(*c0, *c1, vec_res); | 422 | 40 | } else if (c1_const) { | 423 | 40 | GenericComparisonImpl<Op<TYPE_INT>>::vector_constant(*c0, *c1, vec_res); | 424 | 40 | } else { | 425 | 0 | GenericComparisonImpl<Op<TYPE_INT>>::vector_vector(*c0, *c1, vec_res); | 426 | 0 | } | 427 | | | 428 | 40 | block.replace_by_position(result, std::move(c_res)); | 429 | 40 | } |
|
430 | | |
431 | | Status execute_generic(Block& block, uint32_t result, const ColumnWithTypeAndName& c0, |
432 | 135 | const ColumnWithTypeAndName& c1) const { |
433 | 135 | execute_generic_identical_types(block, result, c0.column.get(), c1.column.get()); |
434 | 135 | return Status::OK(); |
435 | 135 | } _ZNK5doris18FunctionComparisonINS_8EqualsOpENS_10NameEqualsEE15execute_genericERNS_5BlockEjRKNS_21ColumnWithTypeAndNameES8_ Line | Count | Source | 432 | 17 | const ColumnWithTypeAndName& c1) const { | 433 | 17 | execute_generic_identical_types(block, result, c0.column.get(), c1.column.get()); | 434 | 17 | return Status::OK(); | 435 | 17 | } |
_ZNK5doris18FunctionComparisonINS_11NotEqualsOpENS_13NameNotEqualsEE15execute_genericERNS_5BlockEjRKNS_21ColumnWithTypeAndNameES8_ Line | Count | Source | 432 | 8 | const ColumnWithTypeAndName& c1) const { | 433 | 8 | execute_generic_identical_types(block, result, c0.column.get(), c1.column.get()); | 434 | 8 | return Status::OK(); | 435 | 8 | } |
_ZNK5doris18FunctionComparisonINS_9GreaterOpENS_11NameGreaterEE15execute_genericERNS_5BlockEjRKNS_21ColumnWithTypeAndNameES8_ Line | Count | Source | 432 | 9 | const ColumnWithTypeAndName& c1) const { | 433 | 9 | execute_generic_identical_types(block, result, c0.column.get(), c1.column.get()); | 434 | 9 | return Status::OK(); | 435 | 9 | } |
_ZNK5doris18FunctionComparisonINS_17GreaterOrEqualsOpENS_19NameGreaterOrEqualsEE15execute_genericERNS_5BlockEjRKNS_21ColumnWithTypeAndNameES8_ Line | Count | Source | 432 | 50 | const ColumnWithTypeAndName& c1) const { | 433 | 50 | execute_generic_identical_types(block, result, c0.column.get(), c1.column.get()); | 434 | 50 | return Status::OK(); | 435 | 50 | } |
_ZNK5doris18FunctionComparisonINS_6LessOpENS_8NameLessEE15execute_genericERNS_5BlockEjRKNS_21ColumnWithTypeAndNameES8_ Line | Count | Source | 432 | 11 | const ColumnWithTypeAndName& c1) const { | 433 | 11 | execute_generic_identical_types(block, result, c0.column.get(), c1.column.get()); | 434 | 11 | return Status::OK(); | 435 | 11 | } |
_ZNK5doris18FunctionComparisonINS_14LessOrEqualsOpENS_16NameLessOrEqualsEE15execute_genericERNS_5BlockEjRKNS_21ColumnWithTypeAndNameES8_ Line | Count | Source | 432 | 40 | const ColumnWithTypeAndName& c1) const { | 433 | 40 | execute_generic_identical_types(block, result, c0.column.get(), c1.column.get()); | 434 | 40 | return Status::OK(); | 435 | 40 | } |
|
436 | | |
437 | | public: |
438 | 219 | String get_name() const override { return name; }_ZNK5doris18FunctionComparisonINS_8EqualsOpENS_10NameEqualsEE8get_nameB5cxx11Ev Line | Count | Source | 438 | 63 | String get_name() const override { return name; } |
_ZNK5doris18FunctionComparisonINS_11NotEqualsOpENS_13NameNotEqualsEE8get_nameB5cxx11Ev Line | Count | Source | 438 | 37 | String get_name() const override { return name; } |
_ZNK5doris18FunctionComparisonINS_9GreaterOpENS_11NameGreaterEE8get_nameB5cxx11Ev Line | Count | Source | 438 | 39 | String get_name() const override { return name; } |
_ZNK5doris18FunctionComparisonINS_17GreaterOrEqualsOpENS_19NameGreaterOrEqualsEE8get_nameB5cxx11Ev Line | Count | Source | 438 | 78 | String get_name() const override { return name; } |
_ZNK5doris18FunctionComparisonINS_6LessOpENS_8NameLessEE8get_nameB5cxx11Ev Line | Count | Source | 438 | 1 | String get_name() const override { return name; } |
_ZNK5doris18FunctionComparisonINS_14LessOrEqualsOpENS_16NameLessOrEqualsEE8get_nameB5cxx11Ev Line | Count | Source | 438 | 1 | String get_name() const override { return name; } |
|
439 | | |
440 | 457k | size_t get_number_of_arguments() const override { return 2; }_ZNK5doris18FunctionComparisonINS_8EqualsOpENS_10NameEqualsEE23get_number_of_argumentsEv Line | Count | Source | 440 | 424k | size_t get_number_of_arguments() const override { return 2; } |
_ZNK5doris18FunctionComparisonINS_11NotEqualsOpENS_13NameNotEqualsEE23get_number_of_argumentsEv Line | Count | Source | 440 | 1.31k | size_t get_number_of_arguments() const override { return 2; } |
_ZNK5doris18FunctionComparisonINS_9GreaterOpENS_11NameGreaterEE23get_number_of_argumentsEv Line | Count | Source | 440 | 6.20k | size_t get_number_of_arguments() const override { return 2; } |
_ZNK5doris18FunctionComparisonINS_17GreaterOrEqualsOpENS_19NameGreaterOrEqualsEE23get_number_of_argumentsEv Line | Count | Source | 440 | 9.50k | size_t get_number_of_arguments() const override { return 2; } |
_ZNK5doris18FunctionComparisonINS_6LessOpENS_8NameLessEE23get_number_of_argumentsEv Line | Count | Source | 440 | 3.09k | size_t get_number_of_arguments() const override { return 2; } |
_ZNK5doris18FunctionComparisonINS_14LessOrEqualsOpENS_16NameLessOrEqualsEE23get_number_of_argumentsEv Line | Count | Source | 440 | 12.8k | size_t get_number_of_arguments() const override { return 2; } |
|
441 | | |
442 | | /// Get result types by argument types. If the function does not apply to these arguments, throw an exception. |
443 | 457k | DataTypePtr get_return_type_impl(const DataTypes& arguments) const override { |
444 | 457k | return std::make_shared<DataTypeUInt8>(); |
445 | 457k | } _ZNK5doris18FunctionComparisonINS_8EqualsOpENS_10NameEqualsEE20get_return_type_implERKSt6vectorISt10shared_ptrIKNS_9IDataTypeEESaIS8_EE Line | Count | Source | 443 | 424k | DataTypePtr get_return_type_impl(const DataTypes& arguments) const override { | 444 | 424k | return std::make_shared<DataTypeUInt8>(); | 445 | 424k | } |
_ZNK5doris18FunctionComparisonINS_11NotEqualsOpENS_13NameNotEqualsEE20get_return_type_implERKSt6vectorISt10shared_ptrIKNS_9IDataTypeEESaIS8_EE Line | Count | Source | 443 | 1.31k | DataTypePtr get_return_type_impl(const DataTypes& arguments) const override { | 444 | 1.31k | return std::make_shared<DataTypeUInt8>(); | 445 | 1.31k | } |
_ZNK5doris18FunctionComparisonINS_9GreaterOpENS_11NameGreaterEE20get_return_type_implERKSt6vectorISt10shared_ptrIKNS_9IDataTypeEESaIS8_EE Line | Count | Source | 443 | 6.20k | DataTypePtr get_return_type_impl(const DataTypes& arguments) const override { | 444 | 6.20k | return std::make_shared<DataTypeUInt8>(); | 445 | 6.20k | } |
_ZNK5doris18FunctionComparisonINS_17GreaterOrEqualsOpENS_19NameGreaterOrEqualsEE20get_return_type_implERKSt6vectorISt10shared_ptrIKNS_9IDataTypeEESaIS8_EE Line | Count | Source | 443 | 9.52k | DataTypePtr get_return_type_impl(const DataTypes& arguments) const override { | 444 | 9.52k | return std::make_shared<DataTypeUInt8>(); | 445 | 9.52k | } |
_ZNK5doris18FunctionComparisonINS_6LessOpENS_8NameLessEE20get_return_type_implERKSt6vectorISt10shared_ptrIKNS_9IDataTypeEESaIS8_EE Line | Count | Source | 443 | 3.09k | DataTypePtr get_return_type_impl(const DataTypes& arguments) const override { | 444 | 3.09k | return std::make_shared<DataTypeUInt8>(); | 445 | 3.09k | } |
_ZNK5doris18FunctionComparisonINS_14LessOrEqualsOpENS_16NameLessOrEqualsEE20get_return_type_implERKSt6vectorISt10shared_ptrIKNS_9IDataTypeEESaIS8_EE Line | Count | Source | 443 | 12.8k | DataTypePtr get_return_type_impl(const DataTypes& arguments) const override { | 444 | 12.8k | return std::make_shared<DataTypeUInt8>(); | 445 | 12.8k | } |
|
446 | | |
447 | | Status evaluate_inverted_index( |
448 | | const ColumnsWithTypeAndName& arguments, |
449 | | const std::vector<IndexFieldNameAndTypePair>& data_type_with_names, |
450 | | std::vector<segment_v2::IndexIterator*> iterators, uint32_t num_rows, |
451 | | const InvertedIndexAnalyzerCtx* analyzer_ctx, |
452 | 1.77k | segment_v2::InvertedIndexResultBitmap& bitmap_result) const override { |
453 | 1.77k | DCHECK(arguments.size() == 1); |
454 | 1.77k | DCHECK(data_type_with_names.size() == 1); |
455 | 1.77k | DCHECK(iterators.size() == 1); |
456 | 1.77k | auto* iter = iterators[0]; |
457 | 1.77k | auto data_type_with_name = data_type_with_names[0]; |
458 | 1.77k | if (iter == nullptr) { |
459 | 0 | return Status::OK(); |
460 | 0 | } |
461 | 1.77k | if (!segment_v2::IndexReaderHelper::has_string_or_bkd_index(iter)) { |
462 | 440 | return Status::OK(); |
463 | 440 | } |
464 | 1.33k | segment_v2::InvertedIndexQueryType query_type; |
465 | 1.33k | std::string_view name_view(name); |
466 | 1.33k | if (name_view == NameEquals::name || name_view == NameNotEquals::name) { |
467 | 879 | query_type = segment_v2::InvertedIndexQueryType::EQUAL_QUERY; |
468 | 879 | } else if (name_view == NameLess::name) { |
469 | 111 | query_type = segment_v2::InvertedIndexQueryType::LESS_THAN_QUERY; |
470 | 341 | } else if (name_view == NameLessOrEquals::name) { |
471 | 98 | query_type = segment_v2::InvertedIndexQueryType::LESS_EQUAL_QUERY; |
472 | 243 | } else if (name_view == NameGreater::name) { |
473 | 114 | query_type = segment_v2::InvertedIndexQueryType::GREATER_THAN_QUERY; |
474 | 135 | } else if (name_view == NameGreaterOrEquals::name) { |
475 | 135 | query_type = segment_v2::InvertedIndexQueryType::GREATER_EQUAL_QUERY; |
476 | 18.4E | } else { |
477 | 18.4E | return Status::InvalidArgument("invalid comparison op type {}", Name::name); |
478 | 18.4E | } |
479 | | |
480 | 1.33k | if (segment_v2::is_range_query(query_type) && |
481 | 1.33k | iter->get_reader(segment_v2::InvertedIndexReaderType::STRING_TYPE)) { |
482 | | // untokenized strings exceed ignore_above, they are written as null, causing range query errors |
483 | 171 | return Status::OK(); |
484 | 171 | } |
485 | 1.16k | Field param_value; |
486 | 1.16k | arguments[0].column->get(0, param_value); |
487 | 1.16k | if (param_value.is_null()) { |
488 | 2 | return Status::OK(); |
489 | 2 | } |
490 | 1.16k | segment_v2::InvertedIndexParam param; |
491 | 1.16k | param.column_name = data_type_with_name.first; |
492 | 1.16k | param.column_type = data_type_with_name.second; |
493 | 1.16k | param.query_value = param_value; |
494 | 1.16k | param.query_type = query_type; |
495 | 1.16k | param.num_rows = num_rows; |
496 | 1.16k | param.roaring = std::make_shared<roaring::Roaring>(); |
497 | 1.16k | param.analyzer_ctx = analyzer_ctx; |
498 | 1.16k | RETURN_IF_ERROR(iter->read_from_index(segment_v2::IndexParam {¶m})); |
499 | 1.00k | std::shared_ptr<roaring::Roaring> null_bitmap = std::make_shared<roaring::Roaring>(); |
500 | 1.00k | if (iter->has_null()) { |
501 | 1.00k | segment_v2::InvertedIndexQueryCacheHandle null_bitmap_cache_handle; |
502 | 1.00k | RETURN_IF_ERROR(iter->read_null_bitmap(&null_bitmap_cache_handle)); |
503 | 1.00k | null_bitmap = null_bitmap_cache_handle.get_bitmap(); |
504 | 1.00k | } |
505 | 1.00k | segment_v2::InvertedIndexResultBitmap result(param.roaring, null_bitmap); |
506 | 1.00k | bitmap_result = result; |
507 | 1.00k | bitmap_result.mask_out_null(); |
508 | | |
509 | 1.00k | if (name_view == NameNotEquals::name) { |
510 | 63 | roaring::Roaring full_result; |
511 | 63 | full_result.addRange(0, num_rows); |
512 | 63 | bitmap_result.op_not(&full_result); |
513 | 63 | } |
514 | | |
515 | 1.00k | return Status::OK(); |
516 | 1.00k | } _ZNK5doris18FunctionComparisonINS_8EqualsOpENS_10NameEqualsEE23evaluate_inverted_indexERKSt6vectorINS_21ColumnWithTypeAndNameESaIS5_EERKS4_ISt4pairINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt10shared_ptrIKNS_9IDataTypeEEESaISL_EES4_IPNS_10segment_v213IndexIteratorESaISS_EEjPKNS_24InvertedIndexAnalyzerCtxERNSQ_25InvertedIndexResultBitmapE Line | Count | Source | 452 | 887 | segment_v2::InvertedIndexResultBitmap& bitmap_result) const override { | 453 | 887 | DCHECK(arguments.size() == 1); | 454 | 887 | DCHECK(data_type_with_names.size() == 1); | 455 | 887 | DCHECK(iterators.size() == 1); | 456 | 887 | auto* iter = iterators[0]; | 457 | 887 | auto data_type_with_name = data_type_with_names[0]; | 458 | 887 | if (iter == nullptr) { | 459 | 0 | return Status::OK(); | 460 | 0 | } | 461 | 887 | if (!segment_v2::IndexReaderHelper::has_string_or_bkd_index(iter)) { | 462 | 82 | return Status::OK(); | 463 | 82 | } | 464 | 805 | segment_v2::InvertedIndexQueryType query_type; | 465 | 805 | std::string_view name_view(name); | 466 | 809 | if (name_view == NameEquals::name || name_view == NameNotEquals::name) { | 467 | 809 | query_type = segment_v2::InvertedIndexQueryType::EQUAL_QUERY; | 468 | 18.4E | } else if (name_view == NameLess::name) { | 469 | 0 | query_type = segment_v2::InvertedIndexQueryType::LESS_THAN_QUERY; | 470 | 18.4E | } else if (name_view == NameLessOrEquals::name) { | 471 | 0 | query_type = segment_v2::InvertedIndexQueryType::LESS_EQUAL_QUERY; | 472 | 18.4E | } else if (name_view == NameGreater::name) { | 473 | 0 | query_type = segment_v2::InvertedIndexQueryType::GREATER_THAN_QUERY; | 474 | 18.4E | } else if (name_view == NameGreaterOrEquals::name) { | 475 | 0 | query_type = segment_v2::InvertedIndexQueryType::GREATER_EQUAL_QUERY; | 476 | 18.4E | } else { | 477 | 18.4E | return Status::InvalidArgument("invalid comparison op type {}", Name::name); | 478 | 18.4E | } | 479 | | | 480 | 809 | if (segment_v2::is_range_query(query_type) && | 481 | 809 | iter->get_reader(segment_v2::InvertedIndexReaderType::STRING_TYPE)) { | 482 | | // untokenized strings exceed ignore_above, they are written as null, causing range query errors | 483 | 0 | return Status::OK(); | 484 | 0 | } | 485 | 809 | Field param_value; | 486 | 809 | arguments[0].column->get(0, param_value); | 487 | 809 | if (param_value.is_null()) { | 488 | 2 | return Status::OK(); | 489 | 2 | } | 490 | 807 | segment_v2::InvertedIndexParam param; | 491 | 807 | param.column_name = data_type_with_name.first; | 492 | 807 | param.column_type = data_type_with_name.second; | 493 | 807 | param.query_value = param_value; | 494 | 807 | param.query_type = query_type; | 495 | 807 | param.num_rows = num_rows; | 496 | 807 | param.roaring = std::make_shared<roaring::Roaring>(); | 497 | 807 | param.analyzer_ctx = analyzer_ctx; | 498 | 807 | RETURN_IF_ERROR(iter->read_from_index(segment_v2::IndexParam {¶m})); | 499 | 754 | std::shared_ptr<roaring::Roaring> null_bitmap = std::make_shared<roaring::Roaring>(); | 500 | 754 | if (iter->has_null()) { | 501 | 754 | segment_v2::InvertedIndexQueryCacheHandle null_bitmap_cache_handle; | 502 | 754 | RETURN_IF_ERROR(iter->read_null_bitmap(&null_bitmap_cache_handle)); | 503 | 754 | null_bitmap = null_bitmap_cache_handle.get_bitmap(); | 504 | 754 | } | 505 | 754 | segment_v2::InvertedIndexResultBitmap result(param.roaring, null_bitmap); | 506 | 754 | bitmap_result = result; | 507 | 754 | bitmap_result.mask_out_null(); | 508 | | | 509 | 754 | if (name_view == NameNotEquals::name) { | 510 | 0 | roaring::Roaring full_result; | 511 | 0 | full_result.addRange(0, num_rows); | 512 | 0 | bitmap_result.op_not(&full_result); | 513 | 0 | } | 514 | | | 515 | 754 | return Status::OK(); | 516 | 754 | } |
_ZNK5doris18FunctionComparisonINS_11NotEqualsOpENS_13NameNotEqualsEE23evaluate_inverted_indexERKSt6vectorINS_21ColumnWithTypeAndNameESaIS5_EERKS4_ISt4pairINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt10shared_ptrIKNS_9IDataTypeEEESaISL_EES4_IPNS_10segment_v213IndexIteratorESaISS_EEjPKNS_24InvertedIndexAnalyzerCtxERNSQ_25InvertedIndexResultBitmapE Line | Count | Source | 452 | 78 | segment_v2::InvertedIndexResultBitmap& bitmap_result) const override { | 453 | 78 | DCHECK(arguments.size() == 1); | 454 | 78 | DCHECK(data_type_with_names.size() == 1); | 455 | 78 | DCHECK(iterators.size() == 1); | 456 | 78 | auto* iter = iterators[0]; | 457 | 78 | auto data_type_with_name = data_type_with_names[0]; | 458 | 78 | if (iter == nullptr) { | 459 | 0 | return Status::OK(); | 460 | 0 | } | 461 | 78 | if (!segment_v2::IndexReaderHelper::has_string_or_bkd_index(iter)) { | 462 | 8 | return Status::OK(); | 463 | 8 | } | 464 | 70 | segment_v2::InvertedIndexQueryType query_type; | 465 | 70 | std::string_view name_view(name); | 466 | 70 | if (name_view == NameEquals::name || name_view == NameNotEquals::name) { | 467 | 70 | query_type = segment_v2::InvertedIndexQueryType::EQUAL_QUERY; | 468 | 70 | } else if (name_view == NameLess::name) { | 469 | 0 | query_type = segment_v2::InvertedIndexQueryType::LESS_THAN_QUERY; | 470 | 0 | } else if (name_view == NameLessOrEquals::name) { | 471 | 0 | query_type = segment_v2::InvertedIndexQueryType::LESS_EQUAL_QUERY; | 472 | 0 | } else if (name_view == NameGreater::name) { | 473 | 0 | query_type = segment_v2::InvertedIndexQueryType::GREATER_THAN_QUERY; | 474 | 0 | } else if (name_view == NameGreaterOrEquals::name) { | 475 | 0 | query_type = segment_v2::InvertedIndexQueryType::GREATER_EQUAL_QUERY; | 476 | 0 | } else { | 477 | 0 | return Status::InvalidArgument("invalid comparison op type {}", Name::name); | 478 | 0 | } | 479 | | | 480 | 70 | if (segment_v2::is_range_query(query_type) && | 481 | 70 | iter->get_reader(segment_v2::InvertedIndexReaderType::STRING_TYPE)) { | 482 | | // untokenized strings exceed ignore_above, they are written as null, causing range query errors | 483 | 0 | return Status::OK(); | 484 | 0 | } | 485 | 70 | Field param_value; | 486 | 70 | arguments[0].column->get(0, param_value); | 487 | 70 | if (param_value.is_null()) { | 488 | 0 | return Status::OK(); | 489 | 0 | } | 490 | 70 | segment_v2::InvertedIndexParam param; | 491 | 70 | param.column_name = data_type_with_name.first; | 492 | 70 | param.column_type = data_type_with_name.second; | 493 | 70 | param.query_value = param_value; | 494 | 70 | param.query_type = query_type; | 495 | 70 | param.num_rows = num_rows; | 496 | 70 | param.roaring = std::make_shared<roaring::Roaring>(); | 497 | 70 | param.analyzer_ctx = analyzer_ctx; | 498 | 70 | RETURN_IF_ERROR(iter->read_from_index(segment_v2::IndexParam {¶m})); | 499 | 63 | std::shared_ptr<roaring::Roaring> null_bitmap = std::make_shared<roaring::Roaring>(); | 500 | 63 | if (iter->has_null()) { | 501 | 63 | segment_v2::InvertedIndexQueryCacheHandle null_bitmap_cache_handle; | 502 | 63 | RETURN_IF_ERROR(iter->read_null_bitmap(&null_bitmap_cache_handle)); | 503 | 63 | null_bitmap = null_bitmap_cache_handle.get_bitmap(); | 504 | 63 | } | 505 | 63 | segment_v2::InvertedIndexResultBitmap result(param.roaring, null_bitmap); | 506 | 63 | bitmap_result = result; | 507 | 63 | bitmap_result.mask_out_null(); | 508 | | | 509 | 63 | if (name_view == NameNotEquals::name) { | 510 | 63 | roaring::Roaring full_result; | 511 | 63 | full_result.addRange(0, num_rows); | 512 | 63 | bitmap_result.op_not(&full_result); | 513 | 63 | } | 514 | | | 515 | 63 | return Status::OK(); | 516 | 63 | } |
_ZNK5doris18FunctionComparisonINS_9GreaterOpENS_11NameGreaterEE23evaluate_inverted_indexERKSt6vectorINS_21ColumnWithTypeAndNameESaIS5_EERKS4_ISt4pairINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt10shared_ptrIKNS_9IDataTypeEEESaISL_EES4_IPNS_10segment_v213IndexIteratorESaISS_EEjPKNS_24InvertedIndexAnalyzerCtxERNSQ_25InvertedIndexResultBitmapE Line | Count | Source | 452 | 176 | segment_v2::InvertedIndexResultBitmap& bitmap_result) const override { | 453 | 176 | DCHECK(arguments.size() == 1); | 454 | 176 | DCHECK(data_type_with_names.size() == 1); | 455 | 176 | DCHECK(iterators.size() == 1); | 456 | 176 | auto* iter = iterators[0]; | 457 | 176 | auto data_type_with_name = data_type_with_names[0]; | 458 | 176 | if (iter == nullptr) { | 459 | 0 | return Status::OK(); | 460 | 0 | } | 461 | 176 | if (!segment_v2::IndexReaderHelper::has_string_or_bkd_index(iter)) { | 462 | 62 | return Status::OK(); | 463 | 62 | } | 464 | 114 | segment_v2::InvertedIndexQueryType query_type; | 465 | 114 | std::string_view name_view(name); | 466 | 114 | if (name_view == NameEquals::name || name_view == NameNotEquals::name) { | 467 | 0 | query_type = segment_v2::InvertedIndexQueryType::EQUAL_QUERY; | 468 | 114 | } else if (name_view == NameLess::name) { | 469 | 0 | query_type = segment_v2::InvertedIndexQueryType::LESS_THAN_QUERY; | 470 | 114 | } else if (name_view == NameLessOrEquals::name) { | 471 | 0 | query_type = segment_v2::InvertedIndexQueryType::LESS_EQUAL_QUERY; | 472 | 114 | } else if (name_view == NameGreater::name) { | 473 | 114 | query_type = segment_v2::InvertedIndexQueryType::GREATER_THAN_QUERY; | 474 | 114 | } else if (name_view == NameGreaterOrEquals::name) { | 475 | 0 | query_type = segment_v2::InvertedIndexQueryType::GREATER_EQUAL_QUERY; | 476 | 0 | } else { | 477 | 0 | return Status::InvalidArgument("invalid comparison op type {}", Name::name); | 478 | 0 | } | 479 | | | 480 | 114 | if (segment_v2::is_range_query(query_type) && | 481 | 114 | iter->get_reader(segment_v2::InvertedIndexReaderType::STRING_TYPE)) { | 482 | | // untokenized strings exceed ignore_above, they are written as null, causing range query errors | 483 | 28 | return Status::OK(); | 484 | 28 | } | 485 | 86 | Field param_value; | 486 | 86 | arguments[0].column->get(0, param_value); | 487 | 86 | if (param_value.is_null()) { | 488 | 0 | return Status::OK(); | 489 | 0 | } | 490 | 86 | segment_v2::InvertedIndexParam param; | 491 | 86 | param.column_name = data_type_with_name.first; | 492 | 86 | param.column_type = data_type_with_name.second; | 493 | 86 | param.query_value = param_value; | 494 | 86 | param.query_type = query_type; | 495 | 86 | param.num_rows = num_rows; | 496 | 86 | param.roaring = std::make_shared<roaring::Roaring>(); | 497 | 86 | param.analyzer_ctx = analyzer_ctx; | 498 | 86 | RETURN_IF_ERROR(iter->read_from_index(segment_v2::IndexParam {¶m})); | 499 | 67 | std::shared_ptr<roaring::Roaring> null_bitmap = std::make_shared<roaring::Roaring>(); | 500 | 67 | if (iter->has_null()) { | 501 | 66 | segment_v2::InvertedIndexQueryCacheHandle null_bitmap_cache_handle; | 502 | 66 | RETURN_IF_ERROR(iter->read_null_bitmap(&null_bitmap_cache_handle)); | 503 | 66 | null_bitmap = null_bitmap_cache_handle.get_bitmap(); | 504 | 66 | } | 505 | 67 | segment_v2::InvertedIndexResultBitmap result(param.roaring, null_bitmap); | 506 | 67 | bitmap_result = result; | 507 | 67 | bitmap_result.mask_out_null(); | 508 | | | 509 | 67 | if (name_view == NameNotEquals::name) { | 510 | 0 | roaring::Roaring full_result; | 511 | 0 | full_result.addRange(0, num_rows); | 512 | 0 | bitmap_result.op_not(&full_result); | 513 | 0 | } | 514 | | | 515 | 67 | return Status::OK(); | 516 | 67 | } |
_ZNK5doris18FunctionComparisonINS_17GreaterOrEqualsOpENS_19NameGreaterOrEqualsEE23evaluate_inverted_indexERKSt6vectorINS_21ColumnWithTypeAndNameESaIS5_EERKS4_ISt4pairINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt10shared_ptrIKNS_9IDataTypeEEESaISL_EES4_IPNS_10segment_v213IndexIteratorESaISS_EEjPKNS_24InvertedIndexAnalyzerCtxERNSQ_25InvertedIndexResultBitmapE Line | Count | Source | 452 | 248 | segment_v2::InvertedIndexResultBitmap& bitmap_result) const override { | 453 | 248 | DCHECK(arguments.size() == 1); | 454 | 248 | DCHECK(data_type_with_names.size() == 1); | 455 | 248 | DCHECK(iterators.size() == 1); | 456 | 248 | auto* iter = iterators[0]; | 457 | 248 | auto data_type_with_name = data_type_with_names[0]; | 458 | 248 | if (iter == nullptr) { | 459 | 0 | return Status::OK(); | 460 | 0 | } | 461 | 248 | if (!segment_v2::IndexReaderHelper::has_string_or_bkd_index(iter)) { | 462 | 114 | return Status::OK(); | 463 | 114 | } | 464 | 134 | segment_v2::InvertedIndexQueryType query_type; | 465 | 134 | std::string_view name_view(name); | 466 | 135 | if (name_view == NameEquals::name || name_view == NameNotEquals::name) { | 467 | 0 | query_type = segment_v2::InvertedIndexQueryType::EQUAL_QUERY; | 468 | 134 | } else if (name_view == NameLess::name) { | 469 | 0 | query_type = segment_v2::InvertedIndexQueryType::LESS_THAN_QUERY; | 470 | 134 | } else if (name_view == NameLessOrEquals::name) { | 471 | 0 | query_type = segment_v2::InvertedIndexQueryType::LESS_EQUAL_QUERY; | 472 | 134 | } else if (name_view == NameGreater::name) { | 473 | 0 | query_type = segment_v2::InvertedIndexQueryType::GREATER_THAN_QUERY; | 474 | 135 | } else if (name_view == NameGreaterOrEquals::name) { | 475 | 135 | query_type = segment_v2::InvertedIndexQueryType::GREATER_EQUAL_QUERY; | 476 | 18.4E | } else { | 477 | 18.4E | return Status::InvalidArgument("invalid comparison op type {}", Name::name); | 478 | 18.4E | } | 479 | | | 480 | 135 | if (segment_v2::is_range_query(query_type) && | 481 | 135 | iter->get_reader(segment_v2::InvertedIndexReaderType::STRING_TYPE)) { | 482 | | // untokenized strings exceed ignore_above, they are written as null, causing range query errors | 483 | 59 | return Status::OK(); | 484 | 59 | } | 485 | 76 | Field param_value; | 486 | 76 | arguments[0].column->get(0, param_value); | 487 | 76 | if (param_value.is_null()) { | 488 | 0 | return Status::OK(); | 489 | 0 | } | 490 | 76 | segment_v2::InvertedIndexParam param; | 491 | 76 | param.column_name = data_type_with_name.first; | 492 | 76 | param.column_type = data_type_with_name.second; | 493 | 76 | param.query_value = param_value; | 494 | 76 | param.query_type = query_type; | 495 | 76 | param.num_rows = num_rows; | 496 | 76 | param.roaring = std::make_shared<roaring::Roaring>(); | 497 | 76 | param.analyzer_ctx = analyzer_ctx; | 498 | 76 | RETURN_IF_ERROR(iter->read_from_index(segment_v2::IndexParam {¶m})); | 499 | 36 | std::shared_ptr<roaring::Roaring> null_bitmap = std::make_shared<roaring::Roaring>(); | 500 | 36 | if (iter->has_null()) { | 501 | 34 | segment_v2::InvertedIndexQueryCacheHandle null_bitmap_cache_handle; | 502 | 34 | RETURN_IF_ERROR(iter->read_null_bitmap(&null_bitmap_cache_handle)); | 503 | 34 | null_bitmap = null_bitmap_cache_handle.get_bitmap(); | 504 | 34 | } | 505 | 36 | segment_v2::InvertedIndexResultBitmap result(param.roaring, null_bitmap); | 506 | 36 | bitmap_result = result; | 507 | 36 | bitmap_result.mask_out_null(); | 508 | | | 509 | 36 | if (name_view == NameNotEquals::name) { | 510 | 0 | roaring::Roaring full_result; | 511 | 0 | full_result.addRange(0, num_rows); | 512 | 0 | bitmap_result.op_not(&full_result); | 513 | 0 | } | 514 | | | 515 | 36 | return Status::OK(); | 516 | 36 | } |
_ZNK5doris18FunctionComparisonINS_6LessOpENS_8NameLessEE23evaluate_inverted_indexERKSt6vectorINS_21ColumnWithTypeAndNameESaIS5_EERKS4_ISt4pairINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt10shared_ptrIKNS_9IDataTypeEEESaISL_EES4_IPNS_10segment_v213IndexIteratorESaISS_EEjPKNS_24InvertedIndexAnalyzerCtxERNSQ_25InvertedIndexResultBitmapE Line | Count | Source | 452 | 171 | segment_v2::InvertedIndexResultBitmap& bitmap_result) const override { | 453 | 171 | DCHECK(arguments.size() == 1); | 454 | 171 | DCHECK(data_type_with_names.size() == 1); | 455 | 171 | DCHECK(iterators.size() == 1); | 456 | 171 | auto* iter = iterators[0]; | 457 | 171 | auto data_type_with_name = data_type_with_names[0]; | 458 | 171 | if (iter == nullptr) { | 459 | 0 | return Status::OK(); | 460 | 0 | } | 461 | 171 | if (!segment_v2::IndexReaderHelper::has_string_or_bkd_index(iter)) { | 462 | 61 | return Status::OK(); | 463 | 61 | } | 464 | 110 | segment_v2::InvertedIndexQueryType query_type; | 465 | 110 | std::string_view name_view(name); | 466 | 111 | if (name_view == NameEquals::name || name_view == NameNotEquals::name) { | 467 | 0 | query_type = segment_v2::InvertedIndexQueryType::EQUAL_QUERY; | 468 | 111 | } else if (name_view == NameLess::name) { | 469 | 111 | query_type = segment_v2::InvertedIndexQueryType::LESS_THAN_QUERY; | 470 | 18.4E | } else if (name_view == NameLessOrEquals::name) { | 471 | 0 | query_type = segment_v2::InvertedIndexQueryType::LESS_EQUAL_QUERY; | 472 | 18.4E | } else if (name_view == NameGreater::name) { | 473 | 0 | query_type = segment_v2::InvertedIndexQueryType::GREATER_THAN_QUERY; | 474 | 18.4E | } else if (name_view == NameGreaterOrEquals::name) { | 475 | 0 | query_type = segment_v2::InvertedIndexQueryType::GREATER_EQUAL_QUERY; | 476 | 18.4E | } else { | 477 | 18.4E | return Status::InvalidArgument("invalid comparison op type {}", Name::name); | 478 | 18.4E | } | 479 | | | 480 | 111 | if (segment_v2::is_range_query(query_type) && | 481 | 111 | iter->get_reader(segment_v2::InvertedIndexReaderType::STRING_TYPE)) { | 482 | | // untokenized strings exceed ignore_above, they are written as null, causing range query errors | 483 | 26 | return Status::OK(); | 484 | 26 | } | 485 | 85 | Field param_value; | 486 | 85 | arguments[0].column->get(0, param_value); | 487 | 85 | if (param_value.is_null()) { | 488 | 0 | return Status::OK(); | 489 | 0 | } | 490 | 85 | segment_v2::InvertedIndexParam param; | 491 | 85 | param.column_name = data_type_with_name.first; | 492 | 85 | param.column_type = data_type_with_name.second; | 493 | 85 | param.query_value = param_value; | 494 | 85 | param.query_type = query_type; | 495 | 85 | param.num_rows = num_rows; | 496 | 85 | param.roaring = std::make_shared<roaring::Roaring>(); | 497 | 85 | param.analyzer_ctx = analyzer_ctx; | 498 | 85 | RETURN_IF_ERROR(iter->read_from_index(segment_v2::IndexParam {¶m})); | 499 | 66 | std::shared_ptr<roaring::Roaring> null_bitmap = std::make_shared<roaring::Roaring>(); | 500 | 66 | if (iter->has_null()) { | 501 | 66 | segment_v2::InvertedIndexQueryCacheHandle null_bitmap_cache_handle; | 502 | 66 | RETURN_IF_ERROR(iter->read_null_bitmap(&null_bitmap_cache_handle)); | 503 | 66 | null_bitmap = null_bitmap_cache_handle.get_bitmap(); | 504 | 66 | } | 505 | 66 | segment_v2::InvertedIndexResultBitmap result(param.roaring, null_bitmap); | 506 | 66 | bitmap_result = result; | 507 | 66 | bitmap_result.mask_out_null(); | 508 | | | 509 | 66 | if (name_view == NameNotEquals::name) { | 510 | 0 | roaring::Roaring full_result; | 511 | 0 | full_result.addRange(0, num_rows); | 512 | 0 | bitmap_result.op_not(&full_result); | 513 | 0 | } | 514 | | | 515 | 66 | return Status::OK(); | 516 | 66 | } |
_ZNK5doris18FunctionComparisonINS_14LessOrEqualsOpENS_16NameLessOrEqualsEE23evaluate_inverted_indexERKSt6vectorINS_21ColumnWithTypeAndNameESaIS5_EERKS4_ISt4pairINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt10shared_ptrIKNS_9IDataTypeEEESaISL_EES4_IPNS_10segment_v213IndexIteratorESaISS_EEjPKNS_24InvertedIndexAnalyzerCtxERNSQ_25InvertedIndexResultBitmapE Line | Count | Source | 452 | 211 | segment_v2::InvertedIndexResultBitmap& bitmap_result) const override { | 453 | 211 | DCHECK(arguments.size() == 1); | 454 | 211 | DCHECK(data_type_with_names.size() == 1); | 455 | 211 | DCHECK(iterators.size() == 1); | 456 | 211 | auto* iter = iterators[0]; | 457 | 211 | auto data_type_with_name = data_type_with_names[0]; | 458 | 211 | if (iter == nullptr) { | 459 | 0 | return Status::OK(); | 460 | 0 | } | 461 | 211 | if (!segment_v2::IndexReaderHelper::has_string_or_bkd_index(iter)) { | 462 | 113 | return Status::OK(); | 463 | 113 | } | 464 | 98 | segment_v2::InvertedIndexQueryType query_type; | 465 | 98 | std::string_view name_view(name); | 466 | 98 | if (name_view == NameEquals::name || name_view == NameNotEquals::name) { | 467 | 0 | query_type = segment_v2::InvertedIndexQueryType::EQUAL_QUERY; | 468 | 98 | } else if (name_view == NameLess::name) { | 469 | 0 | query_type = segment_v2::InvertedIndexQueryType::LESS_THAN_QUERY; | 470 | 98 | } else if (name_view == NameLessOrEquals::name) { | 471 | 98 | query_type = segment_v2::InvertedIndexQueryType::LESS_EQUAL_QUERY; | 472 | 98 | } else if (name_view == NameGreater::name) { | 473 | 0 | query_type = segment_v2::InvertedIndexQueryType::GREATER_THAN_QUERY; | 474 | 0 | } else if (name_view == NameGreaterOrEquals::name) { | 475 | 0 | query_type = segment_v2::InvertedIndexQueryType::GREATER_EQUAL_QUERY; | 476 | 0 | } else { | 477 | 0 | return Status::InvalidArgument("invalid comparison op type {}", Name::name); | 478 | 0 | } | 479 | | | 480 | 98 | if (segment_v2::is_range_query(query_type) && | 481 | 98 | iter->get_reader(segment_v2::InvertedIndexReaderType::STRING_TYPE)) { | 482 | | // untokenized strings exceed ignore_above, they are written as null, causing range query errors | 483 | 58 | return Status::OK(); | 484 | 58 | } | 485 | 40 | Field param_value; | 486 | 40 | arguments[0].column->get(0, param_value); | 487 | 40 | if (param_value.is_null()) { | 488 | 0 | return Status::OK(); | 489 | 0 | } | 490 | 40 | segment_v2::InvertedIndexParam param; | 491 | 40 | param.column_name = data_type_with_name.first; | 492 | 40 | param.column_type = data_type_with_name.second; | 493 | 40 | param.query_value = param_value; | 494 | 40 | param.query_type = query_type; | 495 | 40 | param.num_rows = num_rows; | 496 | 40 | param.roaring = std::make_shared<roaring::Roaring>(); | 497 | 40 | param.analyzer_ctx = analyzer_ctx; | 498 | 40 | RETURN_IF_ERROR(iter->read_from_index(segment_v2::IndexParam {¶m})); | 499 | 19 | std::shared_ptr<roaring::Roaring> null_bitmap = std::make_shared<roaring::Roaring>(); | 500 | 19 | if (iter->has_null()) { | 501 | 19 | segment_v2::InvertedIndexQueryCacheHandle null_bitmap_cache_handle; | 502 | 19 | RETURN_IF_ERROR(iter->read_null_bitmap(&null_bitmap_cache_handle)); | 503 | 19 | null_bitmap = null_bitmap_cache_handle.get_bitmap(); | 504 | 19 | } | 505 | 19 | segment_v2::InvertedIndexResultBitmap result(param.roaring, null_bitmap); | 506 | 19 | bitmap_result = result; | 507 | 19 | bitmap_result.mask_out_null(); | 508 | | | 509 | 19 | if (name_view == NameNotEquals::name) { | 510 | 0 | roaring::Roaring full_result; | 511 | 0 | full_result.addRange(0, num_rows); | 512 | 0 | bitmap_result.op_not(&full_result); | 513 | 0 | } | 514 | | | 515 | 19 | return Status::OK(); | 516 | 19 | } |
|
517 | | |
518 | | Status execute_impl(FunctionContext* context, Block& block, const ColumnNumbers& arguments, |
519 | 359k | uint32_t result, size_t input_rows_count) const override { |
520 | 359k | const auto& col_with_type_and_name_left = block.get_by_position(arguments[0]); |
521 | 359k | const auto& col_with_type_and_name_right = block.get_by_position(arguments[1]); |
522 | | |
523 | 359k | const auto& col_left_ptr = col_with_type_and_name_left.column; |
524 | 359k | const auto& col_right_ptr = col_with_type_and_name_right.column; |
525 | 359k | const IColumn* col_left_untyped = col_with_type_and_name_left.column.get(); |
526 | 359k | const IColumn* col_right_untyped = col_with_type_and_name_right.column.get(); |
527 | | |
528 | 359k | const DataTypePtr& left_type = col_with_type_and_name_left.type; |
529 | 359k | const DataTypePtr& right_type = col_with_type_and_name_right.type; |
530 | | |
531 | | /// The case when arguments are the same (tautological comparison). Return constant. |
532 | | /// NOTE: Nullable types are special case. (BTW, this function use default implementation for Nullable, so Nullable types cannot be here. Check just in case.) |
533 | | /// NOTE: We consider NaN comparison to be implementation specific (and in our implementation NaNs are sometimes equal sometimes not). |
534 | 359k | if (left_type->equals(*right_type) && !left_type->is_nullable() && |
535 | 359k | col_left_untyped == col_right_untyped) { |
536 | | /// Always true: =, <=, >= |
537 | | // TODO: Return const column in the future. But seems so far to do. We need a unified approach for passing const column. |
538 | | if constexpr (std::is_same_v<Op<TYPE_INT>, EqualsOp<TYPE_INT>> || |
539 | | std::is_same_v<Op<TYPE_INT>, LessOrEqualsOp<TYPE_INT>> || |
540 | 0 | std::is_same_v<Op<TYPE_INT>, GreaterOrEqualsOp<TYPE_INT>>) { |
541 | 0 | block.get_by_position(result).column = |
542 | 0 | DataTypeUInt8() |
543 | 0 | .create_column_const(input_rows_count, |
544 | 0 | Field::create_field<TYPE_BOOLEAN>(1)) |
545 | 0 | ->convert_to_full_column_if_const(); |
546 | 0 | return Status::OK(); |
547 | 0 | } else { |
548 | 0 | block.get_by_position(result).column = |
549 | 0 | DataTypeUInt8() |
550 | 0 | .create_column_const(input_rows_count, |
551 | 0 | Field::create_field<TYPE_BOOLEAN>(0)) |
552 | 0 | ->convert_to_full_column_if_const(); |
553 | 0 | return Status::OK(); |
554 | 0 | } |
555 | 0 | } |
556 | | |
557 | 537k | auto can_compare = [](PrimitiveType t) -> bool { |
558 | 537k | return is_int_or_bool(t) || is_float_or_double(t) || is_ip(t) || is_date_type(t); |
559 | 537k | }; _ZZNK5doris18FunctionComparisonINS_8EqualsOpENS_10NameEqualsEE12execute_implEPNS_15FunctionContextERNS_5BlockERKSt6vectorIjSaIjEEjmENKUlNS_13PrimitiveTypeEE_clESD_ Line | Count | Source | 557 | 155k | auto can_compare = [](PrimitiveType t) -> bool { | 558 | 155k | return is_int_or_bool(t) || is_float_or_double(t) || is_ip(t) || is_date_type(t); | 559 | 155k | }; |
_ZZNK5doris18FunctionComparisonINS_11NotEqualsOpENS_13NameNotEqualsEE12execute_implEPNS_15FunctionContextERNS_5BlockERKSt6vectorIjSaIjEEjmENKUlNS_13PrimitiveTypeEE_clESD_ Line | Count | Source | 557 | 14.5k | auto can_compare = [](PrimitiveType t) -> bool { | 558 | 14.5k | return is_int_or_bool(t) || is_float_or_double(t) || is_ip(t) || is_date_type(t); | 559 | 14.5k | }; |
_ZZNK5doris18FunctionComparisonINS_9GreaterOpENS_11NameGreaterEE12execute_implEPNS_15FunctionContextERNS_5BlockERKSt6vectorIjSaIjEEjmENKUlNS_13PrimitiveTypeEE_clESD_ Line | Count | Source | 557 | 81.8k | auto can_compare = [](PrimitiveType t) -> bool { | 558 | 81.8k | return is_int_or_bool(t) || is_float_or_double(t) || is_ip(t) || is_date_type(t); | 559 | 81.8k | }; |
_ZZNK5doris18FunctionComparisonINS_17GreaterOrEqualsOpENS_19NameGreaterOrEqualsEE12execute_implEPNS_15FunctionContextERNS_5BlockERKSt6vectorIjSaIjEEjmENKUlNS_13PrimitiveTypeEE_clESD_ Line | Count | Source | 557 | 41.1k | auto can_compare = [](PrimitiveType t) -> bool { | 558 | 41.1k | return is_int_or_bool(t) || is_float_or_double(t) || is_ip(t) || is_date_type(t); | 559 | 41.1k | }; |
_ZZNK5doris18FunctionComparisonINS_6LessOpENS_8NameLessEE12execute_implEPNS_15FunctionContextERNS_5BlockERKSt6vectorIjSaIjEEjmENKUlNS_13PrimitiveTypeEE_clESD_ Line | Count | Source | 557 | 26.0k | auto can_compare = [](PrimitiveType t) -> bool { | 558 | 26.0k | return is_int_or_bool(t) || is_float_or_double(t) || is_ip(t) || is_date_type(t); | 559 | 26.0k | }; |
_ZZNK5doris18FunctionComparisonINS_14LessOrEqualsOpENS_16NameLessOrEqualsEE12execute_implEPNS_15FunctionContextERNS_5BlockERKSt6vectorIjSaIjEEjmENKUlNS_13PrimitiveTypeEE_clESD_ Line | Count | Source | 557 | 218k | auto can_compare = [](PrimitiveType t) -> bool { | 558 | 218k | return is_int_or_bool(t) || is_float_or_double(t) || is_ip(t) || is_date_type(t); | 559 | 218k | }; |
|
560 | | |
561 | 359k | if (can_compare(left_type->get_primitive_type()) && |
562 | 359k | can_compare(right_type->get_primitive_type())) { |
563 | | // check left type equals right type TODO: remove this after FE is aware of scales difference |
564 | 177k | if (!left_type->equals_ignore_precision(*right_type)) { |
565 | 0 | return Status::RuntimeError("not same type in function {} , left : {} , right : {}", |
566 | 0 | get_name(), left_type->get_name(), |
567 | 0 | right_type->get_name()); |
568 | 0 | } |
569 | 177k | } |
570 | | |
571 | 359k | auto compare_type = left_type->get_primitive_type(); |
572 | 359k | switch (compare_type) { |
573 | 2.22k | case TYPE_BOOLEAN: |
574 | 2.22k | return execute_num_type<TYPE_BOOLEAN>(block, result, col_left_ptr, col_right_ptr); |
575 | 14.1k | case TYPE_DATEV2: |
576 | 14.1k | return execute_num_type<TYPE_DATEV2>(block, result, col_left_ptr, col_right_ptr); |
577 | 2.46k | case TYPE_DATETIMEV2: |
578 | 2.46k | return execute_num_type<TYPE_DATETIMEV2>(block, result, col_left_ptr, col_right_ptr); |
579 | 7 | case TYPE_TIMESTAMPTZ: |
580 | 7 | return execute_num_type<TYPE_TIMESTAMPTZ>(block, result, col_left_ptr, col_right_ptr); |
581 | 7.11k | case TYPE_TINYINT: |
582 | 7.11k | return execute_num_type<TYPE_TINYINT>(block, result, col_left_ptr, col_right_ptr); |
583 | 3.32k | case TYPE_SMALLINT: |
584 | 3.32k | return execute_num_type<TYPE_SMALLINT>(block, result, col_left_ptr, col_right_ptr); |
585 | 101k | case TYPE_INT: |
586 | 101k | return execute_num_type<TYPE_INT>(block, result, col_left_ptr, col_right_ptr); |
587 | 41.8k | case TYPE_BIGINT: |
588 | 41.8k | return execute_num_type<TYPE_BIGINT>(block, result, col_left_ptr, col_right_ptr); |
589 | 602 | case TYPE_LARGEINT: |
590 | 602 | return execute_num_type<TYPE_LARGEINT>(block, result, col_left_ptr, col_right_ptr); |
591 | 61 | case TYPE_IPV4: |
592 | 61 | return execute_num_type<TYPE_IPV4>(block, result, col_left_ptr, col_right_ptr); |
593 | 37 | case TYPE_IPV6: |
594 | 37 | return execute_num_type<TYPE_IPV6>(block, result, col_left_ptr, col_right_ptr); |
595 | 800 | case TYPE_FLOAT: |
596 | 800 | return execute_num_type<TYPE_FLOAT>(block, result, col_left_ptr, col_right_ptr); |
597 | 3.60k | case TYPE_DOUBLE: |
598 | 3.60k | return execute_num_type<TYPE_DOUBLE>(block, result, col_left_ptr, col_right_ptr); |
599 | 4 | case TYPE_TIMEV2: |
600 | 4 | return execute_num_type<TYPE_TIMEV2>(block, result, col_left_ptr, col_right_ptr); |
601 | 0 | case TYPE_DECIMALV2: |
602 | 519 | case TYPE_DECIMAL32: |
603 | 150k | case TYPE_DECIMAL64: |
604 | 154k | case TYPE_DECIMAL128I: |
605 | 154k | case TYPE_DECIMAL256: |
606 | 154k | return execute_decimal(block, result, col_with_type_and_name_left, |
607 | 154k | col_with_type_and_name_right); |
608 | 1.25k | case TYPE_CHAR: |
609 | 10.7k | case TYPE_VARCHAR: |
610 | 27.3k | case TYPE_STRING: |
611 | 27.3k | return execute_string(block, result, col_left_untyped, col_right_untyped); |
612 | 135 | default: |
613 | 135 | return execute_generic(block, result, col_with_type_and_name_left, |
614 | 135 | col_with_type_and_name_right); |
615 | 359k | } |
616 | 0 | return Status::OK(); |
617 | 359k | } _ZNK5doris18FunctionComparisonINS_8EqualsOpENS_10NameEqualsEE12execute_implEPNS_15FunctionContextERNS_5BlockERKSt6vectorIjSaIjEEjm Line | Count | Source | 519 | 89.5k | uint32_t result, size_t input_rows_count) const override { | 520 | 89.5k | const auto& col_with_type_and_name_left = block.get_by_position(arguments[0]); | 521 | 89.5k | const auto& col_with_type_and_name_right = block.get_by_position(arguments[1]); | 522 | | | 523 | 89.5k | const auto& col_left_ptr = col_with_type_and_name_left.column; | 524 | 89.5k | const auto& col_right_ptr = col_with_type_and_name_right.column; | 525 | 89.5k | const IColumn* col_left_untyped = col_with_type_and_name_left.column.get(); | 526 | 89.5k | const IColumn* col_right_untyped = col_with_type_and_name_right.column.get(); | 527 | | | 528 | 89.5k | const DataTypePtr& left_type = col_with_type_and_name_left.type; | 529 | 89.5k | const DataTypePtr& right_type = col_with_type_and_name_right.type; | 530 | | | 531 | | /// The case when arguments are the same (tautological comparison). Return constant. | 532 | | /// NOTE: Nullable types are special case. (BTW, this function use default implementation for Nullable, so Nullable types cannot be here. Check just in case.) | 533 | | /// NOTE: We consider NaN comparison to be implementation specific (and in our implementation NaNs are sometimes equal sometimes not). | 534 | 89.5k | if (left_type->equals(*right_type) && !left_type->is_nullable() && | 535 | 89.5k | col_left_untyped == col_right_untyped) { | 536 | | /// Always true: =, <=, >= | 537 | | // TODO: Return const column in the future. But seems so far to do. We need a unified approach for passing const column. | 538 | | if constexpr (std::is_same_v<Op<TYPE_INT>, EqualsOp<TYPE_INT>> || | 539 | | std::is_same_v<Op<TYPE_INT>, LessOrEqualsOp<TYPE_INT>> || | 540 | 0 | std::is_same_v<Op<TYPE_INT>, GreaterOrEqualsOp<TYPE_INT>>) { | 541 | 0 | block.get_by_position(result).column = | 542 | 0 | DataTypeUInt8() | 543 | 0 | .create_column_const(input_rows_count, | 544 | 0 | Field::create_field<TYPE_BOOLEAN>(1)) | 545 | 0 | ->convert_to_full_column_if_const(); | 546 | 0 | return Status::OK(); | 547 | | } else { | 548 | | block.get_by_position(result).column = | 549 | | DataTypeUInt8() | 550 | | .create_column_const(input_rows_count, | 551 | | Field::create_field<TYPE_BOOLEAN>(0)) | 552 | | ->convert_to_full_column_if_const(); | 553 | | return Status::OK(); | 554 | | } | 555 | 0 | } | 556 | | | 557 | 0 | auto can_compare = [](PrimitiveType t) -> bool { | 558 | 89.5k | return is_int_or_bool(t) || is_float_or_double(t) || is_ip(t) || is_date_type(t); | 559 | 89.5k | }; | 560 | | | 561 | 89.5k | if (can_compare(left_type->get_primitive_type()) && | 562 | 89.5k | can_compare(right_type->get_primitive_type())) { | 563 | | // check left type equals right type TODO: remove this after FE is aware of scales difference | 564 | 65.4k | if (!left_type->equals_ignore_precision(*right_type)) { | 565 | 0 | return Status::RuntimeError("not same type in function {} , left : {} , right : {}", | 566 | 0 | get_name(), left_type->get_name(), | 567 | 0 | right_type->get_name()); | 568 | 0 | } | 569 | 65.4k | } | 570 | | | 571 | 89.5k | auto compare_type = left_type->get_primitive_type(); | 572 | 89.5k | switch (compare_type) { | 573 | 1.61k | case TYPE_BOOLEAN: | 574 | 1.61k | return execute_num_type<TYPE_BOOLEAN>(block, result, col_left_ptr, col_right_ptr); | 575 | 1.45k | case TYPE_DATEV2: | 576 | 1.45k | return execute_num_type<TYPE_DATEV2>(block, result, col_left_ptr, col_right_ptr); | 577 | 637 | case TYPE_DATETIMEV2: | 578 | 637 | return execute_num_type<TYPE_DATETIMEV2>(block, result, col_left_ptr, col_right_ptr); | 579 | 2 | case TYPE_TIMESTAMPTZ: | 580 | 2 | return execute_num_type<TYPE_TIMESTAMPTZ>(block, result, col_left_ptr, col_right_ptr); | 581 | 5.33k | case TYPE_TINYINT: | 582 | 5.33k | return execute_num_type<TYPE_TINYINT>(block, result, col_left_ptr, col_right_ptr); | 583 | 1.33k | case TYPE_SMALLINT: | 584 | 1.33k | return execute_num_type<TYPE_SMALLINT>(block, result, col_left_ptr, col_right_ptr); | 585 | 31.3k | case TYPE_INT: | 586 | 31.3k | return execute_num_type<TYPE_INT>(block, result, col_left_ptr, col_right_ptr); | 587 | 23.0k | case TYPE_BIGINT: | 588 | 23.0k | return execute_num_type<TYPE_BIGINT>(block, result, col_left_ptr, col_right_ptr); | 589 | 129 | case TYPE_LARGEINT: | 590 | 129 | return execute_num_type<TYPE_LARGEINT>(block, result, col_left_ptr, col_right_ptr); | 591 | 22 | case TYPE_IPV4: | 592 | 22 | return execute_num_type<TYPE_IPV4>(block, result, col_left_ptr, col_right_ptr); | 593 | 19 | case TYPE_IPV6: | 594 | 19 | return execute_num_type<TYPE_IPV6>(block, result, col_left_ptr, col_right_ptr); | 595 | 103 | case TYPE_FLOAT: | 596 | 103 | return execute_num_type<TYPE_FLOAT>(block, result, col_left_ptr, col_right_ptr); | 597 | 387 | case TYPE_DOUBLE: | 598 | 387 | return execute_num_type<TYPE_DOUBLE>(block, result, col_left_ptr, col_right_ptr); | 599 | 4 | case TYPE_TIMEV2: | 600 | 4 | return execute_num_type<TYPE_TIMEV2>(block, result, col_left_ptr, col_right_ptr); | 601 | 0 | case TYPE_DECIMALV2: | 602 | 247 | case TYPE_DECIMAL32: | 603 | 522 | case TYPE_DECIMAL64: | 604 | 1.71k | case TYPE_DECIMAL128I: | 605 | 1.74k | case TYPE_DECIMAL256: | 606 | 1.74k | return execute_decimal(block, result, col_with_type_and_name_left, | 607 | 1.74k | col_with_type_and_name_right); | 608 | 685 | case TYPE_CHAR: | 609 | 8.52k | case TYPE_VARCHAR: | 610 | 22.3k | case TYPE_STRING: | 611 | 22.3k | return execute_string(block, result, col_left_untyped, col_right_untyped); | 612 | 17 | default: | 613 | 17 | return execute_generic(block, result, col_with_type_and_name_left, | 614 | 17 | col_with_type_and_name_right); | 615 | 89.5k | } | 616 | 0 | return Status::OK(); | 617 | 89.5k | } |
_ZNK5doris18FunctionComparisonINS_11NotEqualsOpENS_13NameNotEqualsEE12execute_implEPNS_15FunctionContextERNS_5BlockERKSt6vectorIjSaIjEEjm Line | Count | Source | 519 | 8.20k | uint32_t result, size_t input_rows_count) const override { | 520 | 8.20k | const auto& col_with_type_and_name_left = block.get_by_position(arguments[0]); | 521 | 8.20k | const auto& col_with_type_and_name_right = block.get_by_position(arguments[1]); | 522 | | | 523 | 8.20k | const auto& col_left_ptr = col_with_type_and_name_left.column; | 524 | 8.20k | const auto& col_right_ptr = col_with_type_and_name_right.column; | 525 | 8.20k | const IColumn* col_left_untyped = col_with_type_and_name_left.column.get(); | 526 | 8.20k | const IColumn* col_right_untyped = col_with_type_and_name_right.column.get(); | 527 | | | 528 | 8.20k | const DataTypePtr& left_type = col_with_type_and_name_left.type; | 529 | 8.20k | const DataTypePtr& right_type = col_with_type_and_name_right.type; | 530 | | | 531 | | /// The case when arguments are the same (tautological comparison). Return constant. | 532 | | /// NOTE: Nullable types are special case. (BTW, this function use default implementation for Nullable, so Nullable types cannot be here. Check just in case.) | 533 | | /// NOTE: We consider NaN comparison to be implementation specific (and in our implementation NaNs are sometimes equal sometimes not). | 534 | 8.20k | if (left_type->equals(*right_type) && !left_type->is_nullable() && | 535 | 8.20k | col_left_untyped == col_right_untyped) { | 536 | | /// Always true: =, <=, >= | 537 | | // TODO: Return const column in the future. But seems so far to do. We need a unified approach for passing const column. | 538 | | if constexpr (std::is_same_v<Op<TYPE_INT>, EqualsOp<TYPE_INT>> || | 539 | | std::is_same_v<Op<TYPE_INT>, LessOrEqualsOp<TYPE_INT>> || | 540 | | std::is_same_v<Op<TYPE_INT>, GreaterOrEqualsOp<TYPE_INT>>) { | 541 | | block.get_by_position(result).column = | 542 | | DataTypeUInt8() | 543 | | .create_column_const(input_rows_count, | 544 | | Field::create_field<TYPE_BOOLEAN>(1)) | 545 | | ->convert_to_full_column_if_const(); | 546 | | return Status::OK(); | 547 | 0 | } else { | 548 | 0 | block.get_by_position(result).column = | 549 | 0 | DataTypeUInt8() | 550 | 0 | .create_column_const(input_rows_count, | 551 | 0 | Field::create_field<TYPE_BOOLEAN>(0)) | 552 | 0 | ->convert_to_full_column_if_const(); | 553 | 0 | return Status::OK(); | 554 | 0 | } | 555 | 0 | } | 556 | | | 557 | 0 | auto can_compare = [](PrimitiveType t) -> bool { | 558 | 8.20k | return is_int_or_bool(t) || is_float_or_double(t) || is_ip(t) || is_date_type(t); | 559 | 8.20k | }; | 560 | | | 561 | 8.20k | if (can_compare(left_type->get_primitive_type()) && | 562 | 8.20k | can_compare(right_type->get_primitive_type())) { | 563 | | // check left type equals right type TODO: remove this after FE is aware of scales difference | 564 | 6.30k | if (!left_type->equals_ignore_precision(*right_type)) { | 565 | 0 | return Status::RuntimeError("not same type in function {} , left : {} , right : {}", | 566 | 0 | get_name(), left_type->get_name(), | 567 | 0 | right_type->get_name()); | 568 | 0 | } | 569 | 6.30k | } | 570 | | | 571 | 8.20k | auto compare_type = left_type->get_primitive_type(); | 572 | 8.20k | switch (compare_type) { | 573 | 0 | case TYPE_BOOLEAN: | 574 | 0 | return execute_num_type<TYPE_BOOLEAN>(block, result, col_left_ptr, col_right_ptr); | 575 | 78 | case TYPE_DATEV2: | 576 | 78 | return execute_num_type<TYPE_DATEV2>(block, result, col_left_ptr, col_right_ptr); | 577 | 2 | case TYPE_DATETIMEV2: | 578 | 2 | return execute_num_type<TYPE_DATETIMEV2>(block, result, col_left_ptr, col_right_ptr); | 579 | 0 | case TYPE_TIMESTAMPTZ: | 580 | 0 | return execute_num_type<TYPE_TIMESTAMPTZ>(block, result, col_left_ptr, col_right_ptr); | 581 | 100 | case TYPE_TINYINT: | 582 | 100 | return execute_num_type<TYPE_TINYINT>(block, result, col_left_ptr, col_right_ptr); | 583 | 26 | case TYPE_SMALLINT: | 584 | 26 | return execute_num_type<TYPE_SMALLINT>(block, result, col_left_ptr, col_right_ptr); | 585 | 3.71k | case TYPE_INT: | 586 | 3.71k | return execute_num_type<TYPE_INT>(block, result, col_left_ptr, col_right_ptr); | 587 | 2.28k | case TYPE_BIGINT: | 588 | 2.28k | return execute_num_type<TYPE_BIGINT>(block, result, col_left_ptr, col_right_ptr); | 589 | 0 | case TYPE_LARGEINT: | 590 | 0 | return execute_num_type<TYPE_LARGEINT>(block, result, col_left_ptr, col_right_ptr); | 591 | 0 | case TYPE_IPV4: | 592 | 0 | return execute_num_type<TYPE_IPV4>(block, result, col_left_ptr, col_right_ptr); | 593 | 0 | case TYPE_IPV6: | 594 | 0 | return execute_num_type<TYPE_IPV6>(block, result, col_left_ptr, col_right_ptr); | 595 | 47 | case TYPE_FLOAT: | 596 | 47 | return execute_num_type<TYPE_FLOAT>(block, result, col_left_ptr, col_right_ptr); | 597 | 60 | case TYPE_DOUBLE: | 598 | 60 | return execute_num_type<TYPE_DOUBLE>(block, result, col_left_ptr, col_right_ptr); | 599 | 0 | case TYPE_TIMEV2: | 600 | 0 | return execute_num_type<TYPE_TIMEV2>(block, result, col_left_ptr, col_right_ptr); | 601 | 0 | case TYPE_DECIMALV2: | 602 | 0 | case TYPE_DECIMAL32: | 603 | 61 | case TYPE_DECIMAL64: | 604 | 385 | case TYPE_DECIMAL128I: | 605 | 415 | case TYPE_DECIMAL256: | 606 | 415 | return execute_decimal(block, result, col_with_type_and_name_left, | 607 | 415 | col_with_type_and_name_right); | 608 | 17 | case TYPE_CHAR: | 609 | 316 | case TYPE_VARCHAR: | 610 | 1.47k | case TYPE_STRING: | 611 | 1.47k | return execute_string(block, result, col_left_untyped, col_right_untyped); | 612 | 8 | default: | 613 | 8 | return execute_generic(block, result, col_with_type_and_name_left, | 614 | 8 | col_with_type_and_name_right); | 615 | 8.20k | } | 616 | 0 | return Status::OK(); | 617 | 8.20k | } |
_ZNK5doris18FunctionComparisonINS_9GreaterOpENS_11NameGreaterEE12execute_implEPNS_15FunctionContextERNS_5BlockERKSt6vectorIjSaIjEEjm Line | Count | Source | 519 | 42.5k | uint32_t result, size_t input_rows_count) const override { | 520 | 42.5k | const auto& col_with_type_and_name_left = block.get_by_position(arguments[0]); | 521 | 42.5k | const auto& col_with_type_and_name_right = block.get_by_position(arguments[1]); | 522 | | | 523 | 42.5k | const auto& col_left_ptr = col_with_type_and_name_left.column; | 524 | 42.5k | const auto& col_right_ptr = col_with_type_and_name_right.column; | 525 | 42.5k | const IColumn* col_left_untyped = col_with_type_and_name_left.column.get(); | 526 | 42.5k | const IColumn* col_right_untyped = col_with_type_and_name_right.column.get(); | 527 | | | 528 | 42.5k | const DataTypePtr& left_type = col_with_type_and_name_left.type; | 529 | 42.5k | const DataTypePtr& right_type = col_with_type_and_name_right.type; | 530 | | | 531 | | /// The case when arguments are the same (tautological comparison). Return constant. | 532 | | /// NOTE: Nullable types are special case. (BTW, this function use default implementation for Nullable, so Nullable types cannot be here. Check just in case.) | 533 | | /// NOTE: We consider NaN comparison to be implementation specific (and in our implementation NaNs are sometimes equal sometimes not). | 534 | 42.5k | if (left_type->equals(*right_type) && !left_type->is_nullable() && | 535 | 42.5k | col_left_untyped == col_right_untyped) { | 536 | | /// Always true: =, <=, >= | 537 | | // TODO: Return const column in the future. But seems so far to do. We need a unified approach for passing const column. | 538 | | if constexpr (std::is_same_v<Op<TYPE_INT>, EqualsOp<TYPE_INT>> || | 539 | | std::is_same_v<Op<TYPE_INT>, LessOrEqualsOp<TYPE_INT>> || | 540 | | std::is_same_v<Op<TYPE_INT>, GreaterOrEqualsOp<TYPE_INT>>) { | 541 | | block.get_by_position(result).column = | 542 | | DataTypeUInt8() | 543 | | .create_column_const(input_rows_count, | 544 | | Field::create_field<TYPE_BOOLEAN>(1)) | 545 | | ->convert_to_full_column_if_const(); | 546 | | return Status::OK(); | 547 | 0 | } else { | 548 | 0 | block.get_by_position(result).column = | 549 | 0 | DataTypeUInt8() | 550 | 0 | .create_column_const(input_rows_count, | 551 | 0 | Field::create_field<TYPE_BOOLEAN>(0)) | 552 | 0 | ->convert_to_full_column_if_const(); | 553 | 0 | return Status::OK(); | 554 | 0 | } | 555 | 0 | } | 556 | | | 557 | 0 | auto can_compare = [](PrimitiveType t) -> bool { | 558 | 42.5k | return is_int_or_bool(t) || is_float_or_double(t) || is_ip(t) || is_date_type(t); | 559 | 42.5k | }; | 560 | | | 561 | 42.5k | if (can_compare(left_type->get_primitive_type()) && | 562 | 42.5k | can_compare(right_type->get_primitive_type())) { | 563 | | // check left type equals right type TODO: remove this after FE is aware of scales difference | 564 | 39.3k | if (!left_type->equals_ignore_precision(*right_type)) { | 565 | 0 | return Status::RuntimeError("not same type in function {} , left : {} , right : {}", | 566 | 0 | get_name(), left_type->get_name(), | 567 | 0 | right_type->get_name()); | 568 | 0 | } | 569 | 39.3k | } | 570 | | | 571 | 42.5k | auto compare_type = left_type->get_primitive_type(); | 572 | 42.5k | switch (compare_type) { | 573 | 0 | case TYPE_BOOLEAN: | 574 | 0 | return execute_num_type<TYPE_BOOLEAN>(block, result, col_left_ptr, col_right_ptr); | 575 | 1.15k | case TYPE_DATEV2: | 576 | 1.15k | return execute_num_type<TYPE_DATEV2>(block, result, col_left_ptr, col_right_ptr); | 577 | 94 | case TYPE_DATETIMEV2: | 578 | 94 | return execute_num_type<TYPE_DATETIMEV2>(block, result, col_left_ptr, col_right_ptr); | 579 | 1 | case TYPE_TIMESTAMPTZ: | 580 | 1 | return execute_num_type<TYPE_TIMESTAMPTZ>(block, result, col_left_ptr, col_right_ptr); | 581 | 589 | case TYPE_TINYINT: | 582 | 589 | return execute_num_type<TYPE_TINYINT>(block, result, col_left_ptr, col_right_ptr); | 583 | 1.01k | case TYPE_SMALLINT: | 584 | 1.01k | return execute_num_type<TYPE_SMALLINT>(block, result, col_left_ptr, col_right_ptr); | 585 | 20.1k | case TYPE_INT: | 586 | 20.1k | return execute_num_type<TYPE_INT>(block, result, col_left_ptr, col_right_ptr); | 587 | 13.3k | case TYPE_BIGINT: | 588 | 13.3k | return execute_num_type<TYPE_BIGINT>(block, result, col_left_ptr, col_right_ptr); | 589 | 215 | case TYPE_LARGEINT: | 590 | 215 | return execute_num_type<TYPE_LARGEINT>(block, result, col_left_ptr, col_right_ptr); | 591 | 2 | case TYPE_IPV4: | 592 | 2 | return execute_num_type<TYPE_IPV4>(block, result, col_left_ptr, col_right_ptr); | 593 | 1 | case TYPE_IPV6: | 594 | 1 | return execute_num_type<TYPE_IPV6>(block, result, col_left_ptr, col_right_ptr); | 595 | 236 | case TYPE_FLOAT: | 596 | 236 | return execute_num_type<TYPE_FLOAT>(block, result, col_left_ptr, col_right_ptr); | 597 | 2.50k | case TYPE_DOUBLE: | 598 | 2.50k | return execute_num_type<TYPE_DOUBLE>(block, result, col_left_ptr, col_right_ptr); | 599 | 0 | case TYPE_TIMEV2: | 600 | 0 | return execute_num_type<TYPE_TIMEV2>(block, result, col_left_ptr, col_right_ptr); | 601 | 0 | case TYPE_DECIMALV2: | 602 | 46 | case TYPE_DECIMAL32: | 603 | 1.64k | case TYPE_DECIMAL64: | 604 | 3.04k | case TYPE_DECIMAL128I: | 605 | 3.04k | case TYPE_DECIMAL256: | 606 | 3.04k | return execute_decimal(block, result, col_with_type_and_name_left, | 607 | 3.04k | col_with_type_and_name_right); | 608 | 21 | case TYPE_CHAR: | 609 | 83 | case TYPE_VARCHAR: | 610 | 188 | case TYPE_STRING: | 611 | 188 | return execute_string(block, result, col_left_untyped, col_right_untyped); | 612 | 9 | default: | 613 | 9 | return execute_generic(block, result, col_with_type_and_name_left, | 614 | 9 | col_with_type_and_name_right); | 615 | 42.5k | } | 616 | 0 | return Status::OK(); | 617 | 42.5k | } |
_ZNK5doris18FunctionComparisonINS_17GreaterOrEqualsOpENS_19NameGreaterOrEqualsEE12execute_implEPNS_15FunctionContextERNS_5BlockERKSt6vectorIjSaIjEEjm Line | Count | Source | 519 | 21.1k | uint32_t result, size_t input_rows_count) const override { | 520 | 21.1k | const auto& col_with_type_and_name_left = block.get_by_position(arguments[0]); | 521 | 21.1k | const auto& col_with_type_and_name_right = block.get_by_position(arguments[1]); | 522 | | | 523 | 21.1k | const auto& col_left_ptr = col_with_type_and_name_left.column; | 524 | 21.1k | const auto& col_right_ptr = col_with_type_and_name_right.column; | 525 | 21.1k | const IColumn* col_left_untyped = col_with_type_and_name_left.column.get(); | 526 | 21.1k | const IColumn* col_right_untyped = col_with_type_and_name_right.column.get(); | 527 | | | 528 | 21.1k | const DataTypePtr& left_type = col_with_type_and_name_left.type; | 529 | 21.1k | const DataTypePtr& right_type = col_with_type_and_name_right.type; | 530 | | | 531 | | /// The case when arguments are the same (tautological comparison). Return constant. | 532 | | /// NOTE: Nullable types are special case. (BTW, this function use default implementation for Nullable, so Nullable types cannot be here. Check just in case.) | 533 | | /// NOTE: We consider NaN comparison to be implementation specific (and in our implementation NaNs are sometimes equal sometimes not). | 534 | 21.1k | if (left_type->equals(*right_type) && !left_type->is_nullable() && | 535 | 21.1k | col_left_untyped == col_right_untyped) { | 536 | | /// Always true: =, <=, >= | 537 | | // TODO: Return const column in the future. But seems so far to do. We need a unified approach for passing const column. | 538 | | if constexpr (std::is_same_v<Op<TYPE_INT>, EqualsOp<TYPE_INT>> || | 539 | | std::is_same_v<Op<TYPE_INT>, LessOrEqualsOp<TYPE_INT>> || | 540 | 0 | std::is_same_v<Op<TYPE_INT>, GreaterOrEqualsOp<TYPE_INT>>) { | 541 | 0 | block.get_by_position(result).column = | 542 | 0 | DataTypeUInt8() | 543 | 0 | .create_column_const(input_rows_count, | 544 | 0 | Field::create_field<TYPE_BOOLEAN>(1)) | 545 | 0 | ->convert_to_full_column_if_const(); | 546 | 0 | return Status::OK(); | 547 | | } else { | 548 | | block.get_by_position(result).column = | 549 | | DataTypeUInt8() | 550 | | .create_column_const(input_rows_count, | 551 | | Field::create_field<TYPE_BOOLEAN>(0)) | 552 | | ->convert_to_full_column_if_const(); | 553 | | return Status::OK(); | 554 | | } | 555 | 0 | } | 556 | | | 557 | 0 | auto can_compare = [](PrimitiveType t) -> bool { | 558 | 21.1k | return is_int_or_bool(t) || is_float_or_double(t) || is_ip(t) || is_date_type(t); | 559 | 21.1k | }; | 560 | | | 561 | 21.1k | if (can_compare(left_type->get_primitive_type()) && | 562 | 21.1k | can_compare(right_type->get_primitive_type())) { | 563 | | // check left type equals right type TODO: remove this after FE is aware of scales difference | 564 | 20.0k | if (!left_type->equals_ignore_precision(*right_type)) { | 565 | 0 | return Status::RuntimeError("not same type in function {} , left : {} , right : {}", | 566 | 0 | get_name(), left_type->get_name(), | 567 | 0 | right_type->get_name()); | 568 | 0 | } | 569 | 20.0k | } | 570 | | | 571 | 21.1k | auto compare_type = left_type->get_primitive_type(); | 572 | 21.1k | switch (compare_type) { | 573 | 150 | case TYPE_BOOLEAN: | 574 | 150 | return execute_num_type<TYPE_BOOLEAN>(block, result, col_left_ptr, col_right_ptr); | 575 | 1.57k | case TYPE_DATEV2: | 576 | 1.57k | return execute_num_type<TYPE_DATEV2>(block, result, col_left_ptr, col_right_ptr); | 577 | 617 | case TYPE_DATETIMEV2: | 578 | 617 | return execute_num_type<TYPE_DATETIMEV2>(block, result, col_left_ptr, col_right_ptr); | 579 | 1 | case TYPE_TIMESTAMPTZ: | 580 | 1 | return execute_num_type<TYPE_TIMESTAMPTZ>(block, result, col_left_ptr, col_right_ptr); | 581 | 95 | case TYPE_TINYINT: | 582 | 95 | return execute_num_type<TYPE_TINYINT>(block, result, col_left_ptr, col_right_ptr); | 583 | 148 | case TYPE_SMALLINT: | 584 | 148 | return execute_num_type<TYPE_SMALLINT>(block, result, col_left_ptr, col_right_ptr); | 585 | 16.3k | case TYPE_INT: | 586 | 16.3k | return execute_num_type<TYPE_INT>(block, result, col_left_ptr, col_right_ptr); | 587 | 771 | case TYPE_BIGINT: | 588 | 771 | return execute_num_type<TYPE_BIGINT>(block, result, col_left_ptr, col_right_ptr); | 589 | 43 | case TYPE_LARGEINT: | 590 | 43 | return execute_num_type<TYPE_LARGEINT>(block, result, col_left_ptr, col_right_ptr); | 591 | 11 | case TYPE_IPV4: | 592 | 11 | return execute_num_type<TYPE_IPV4>(block, result, col_left_ptr, col_right_ptr); | 593 | 1 | case TYPE_IPV6: | 594 | 1 | return execute_num_type<TYPE_IPV6>(block, result, col_left_ptr, col_right_ptr); | 595 | 128 | case TYPE_FLOAT: | 596 | 128 | return execute_num_type<TYPE_FLOAT>(block, result, col_left_ptr, col_right_ptr); | 597 | 144 | case TYPE_DOUBLE: | 598 | 144 | return execute_num_type<TYPE_DOUBLE>(block, result, col_left_ptr, col_right_ptr); | 599 | 0 | case TYPE_TIMEV2: | 600 | 0 | return execute_num_type<TYPE_TIMEV2>(block, result, col_left_ptr, col_right_ptr); | 601 | 0 | case TYPE_DECIMALV2: | 602 | 9 | case TYPE_DECIMAL32: | 603 | 268 | case TYPE_DECIMAL64: | 604 | 328 | case TYPE_DECIMAL128I: | 605 | 349 | case TYPE_DECIMAL256: | 606 | 349 | return execute_decimal(block, result, col_with_type_and_name_left, | 607 | 349 | col_with_type_and_name_right); | 608 | 42 | case TYPE_CHAR: | 609 | 287 | case TYPE_VARCHAR: | 610 | 673 | case TYPE_STRING: | 611 | 673 | return execute_string(block, result, col_left_untyped, col_right_untyped); | 612 | 50 | default: | 613 | 50 | return execute_generic(block, result, col_with_type_and_name_left, | 614 | 50 | col_with_type_and_name_right); | 615 | 21.1k | } | 616 | 0 | return Status::OK(); | 617 | 21.1k | } |
_ZNK5doris18FunctionComparisonINS_6LessOpENS_8NameLessEE12execute_implEPNS_15FunctionContextERNS_5BlockERKSt6vectorIjSaIjEEjm Line | Count | Source | 519 | 13.8k | uint32_t result, size_t input_rows_count) const override { | 520 | 13.8k | const auto& col_with_type_and_name_left = block.get_by_position(arguments[0]); | 521 | 13.8k | const auto& col_with_type_and_name_right = block.get_by_position(arguments[1]); | 522 | | | 523 | 13.8k | const auto& col_left_ptr = col_with_type_and_name_left.column; | 524 | 13.8k | const auto& col_right_ptr = col_with_type_and_name_right.column; | 525 | 13.8k | const IColumn* col_left_untyped = col_with_type_and_name_left.column.get(); | 526 | 13.8k | const IColumn* col_right_untyped = col_with_type_and_name_right.column.get(); | 527 | | | 528 | 13.8k | const DataTypePtr& left_type = col_with_type_and_name_left.type; | 529 | 13.8k | const DataTypePtr& right_type = col_with_type_and_name_right.type; | 530 | | | 531 | | /// The case when arguments are the same (tautological comparison). Return constant. | 532 | | /// NOTE: Nullable types are special case. (BTW, this function use default implementation for Nullable, so Nullable types cannot be here. Check just in case.) | 533 | | /// NOTE: We consider NaN comparison to be implementation specific (and in our implementation NaNs are sometimes equal sometimes not). | 534 | 13.8k | if (left_type->equals(*right_type) && !left_type->is_nullable() && | 535 | 13.8k | col_left_untyped == col_right_untyped) { | 536 | | /// Always true: =, <=, >= | 537 | | // TODO: Return const column in the future. But seems so far to do. We need a unified approach for passing const column. | 538 | | if constexpr (std::is_same_v<Op<TYPE_INT>, EqualsOp<TYPE_INT>> || | 539 | | std::is_same_v<Op<TYPE_INT>, LessOrEqualsOp<TYPE_INT>> || | 540 | | std::is_same_v<Op<TYPE_INT>, GreaterOrEqualsOp<TYPE_INT>>) { | 541 | | block.get_by_position(result).column = | 542 | | DataTypeUInt8() | 543 | | .create_column_const(input_rows_count, | 544 | | Field::create_field<TYPE_BOOLEAN>(1)) | 545 | | ->convert_to_full_column_if_const(); | 546 | | return Status::OK(); | 547 | 0 | } else { | 548 | 0 | block.get_by_position(result).column = | 549 | 0 | DataTypeUInt8() | 550 | 0 | .create_column_const(input_rows_count, | 551 | 0 | Field::create_field<TYPE_BOOLEAN>(0)) | 552 | 0 | ->convert_to_full_column_if_const(); | 553 | 0 | return Status::OK(); | 554 | 0 | } | 555 | 0 | } | 556 | | | 557 | 0 | auto can_compare = [](PrimitiveType t) -> bool { | 558 | 13.8k | return is_int_or_bool(t) || is_float_or_double(t) || is_ip(t) || is_date_type(t); | 559 | 13.8k | }; | 560 | | | 561 | 13.8k | if (can_compare(left_type->get_primitive_type()) && | 562 | 13.8k | can_compare(right_type->get_primitive_type())) { | 563 | | // check left type equals right type TODO: remove this after FE is aware of scales difference | 564 | 12.1k | if (!left_type->equals_ignore_precision(*right_type)) { | 565 | 0 | return Status::RuntimeError("not same type in function {} , left : {} , right : {}", | 566 | 0 | get_name(), left_type->get_name(), | 567 | 0 | right_type->get_name()); | 568 | 0 | } | 569 | 12.1k | } | 570 | | | 571 | 13.8k | auto compare_type = left_type->get_primitive_type(); | 572 | 13.8k | switch (compare_type) { | 573 | 78 | case TYPE_BOOLEAN: | 574 | 78 | return execute_num_type<TYPE_BOOLEAN>(block, result, col_left_ptr, col_right_ptr); | 575 | 2.17k | case TYPE_DATEV2: | 576 | 2.17k | return execute_num_type<TYPE_DATEV2>(block, result, col_left_ptr, col_right_ptr); | 577 | 578 | case TYPE_DATETIMEV2: | 578 | 578 | return execute_num_type<TYPE_DATETIMEV2>(block, result, col_left_ptr, col_right_ptr); | 579 | 2 | case TYPE_TIMESTAMPTZ: | 580 | 2 | return execute_num_type<TYPE_TIMESTAMPTZ>(block, result, col_left_ptr, col_right_ptr); | 581 | 630 | case TYPE_TINYINT: | 582 | 630 | return execute_num_type<TYPE_TINYINT>(block, result, col_left_ptr, col_right_ptr); | 583 | 391 | case TYPE_SMALLINT: | 584 | 391 | return execute_num_type<TYPE_SMALLINT>(block, result, col_left_ptr, col_right_ptr); | 585 | 5.90k | case TYPE_INT: | 586 | 5.90k | return execute_num_type<TYPE_INT>(block, result, col_left_ptr, col_right_ptr); | 587 | 1.66k | case TYPE_BIGINT: | 588 | 1.66k | return execute_num_type<TYPE_BIGINT>(block, result, col_left_ptr, col_right_ptr); | 589 | 165 | case TYPE_LARGEINT: | 590 | 165 | return execute_num_type<TYPE_LARGEINT>(block, result, col_left_ptr, col_right_ptr); | 591 | 16 | case TYPE_IPV4: | 592 | 16 | return execute_num_type<TYPE_IPV4>(block, result, col_left_ptr, col_right_ptr); | 593 | 16 | case TYPE_IPV6: | 594 | 16 | return execute_num_type<TYPE_IPV6>(block, result, col_left_ptr, col_right_ptr); | 595 | 162 | case TYPE_FLOAT: | 596 | 162 | return execute_num_type<TYPE_FLOAT>(block, result, col_left_ptr, col_right_ptr); | 597 | 359 | case TYPE_DOUBLE: | 598 | 359 | return execute_num_type<TYPE_DOUBLE>(block, result, col_left_ptr, col_right_ptr); | 599 | 0 | case TYPE_TIMEV2: | 600 | 0 | return execute_num_type<TYPE_TIMEV2>(block, result, col_left_ptr, col_right_ptr); | 601 | 0 | case TYPE_DECIMALV2: | 602 | 212 | case TYPE_DECIMAL32: | 603 | 465 | case TYPE_DECIMAL64: | 604 | 1.08k | case TYPE_DECIMAL128I: | 605 | 1.08k | case TYPE_DECIMAL256: | 606 | 1.08k | return execute_decimal(block, result, col_with_type_and_name_left, | 607 | 1.08k | col_with_type_and_name_right); | 608 | 177 | case TYPE_CHAR: | 609 | 336 | case TYPE_VARCHAR: | 610 | 647 | case TYPE_STRING: | 611 | 647 | return execute_string(block, result, col_left_untyped, col_right_untyped); | 612 | 11 | default: | 613 | 11 | return execute_generic(block, result, col_with_type_and_name_left, | 614 | 11 | col_with_type_and_name_right); | 615 | 13.8k | } | 616 | 0 | return Status::OK(); | 617 | 13.8k | } |
_ZNK5doris18FunctionComparisonINS_14LessOrEqualsOpENS_16NameLessOrEqualsEE12execute_implEPNS_15FunctionContextERNS_5BlockERKSt6vectorIjSaIjEEjm Line | Count | Source | 519 | 184k | uint32_t result, size_t input_rows_count) const override { | 520 | 184k | const auto& col_with_type_and_name_left = block.get_by_position(arguments[0]); | 521 | 184k | const auto& col_with_type_and_name_right = block.get_by_position(arguments[1]); | 522 | | | 523 | 184k | const auto& col_left_ptr = col_with_type_and_name_left.column; | 524 | 184k | const auto& col_right_ptr = col_with_type_and_name_right.column; | 525 | 184k | const IColumn* col_left_untyped = col_with_type_and_name_left.column.get(); | 526 | 184k | const IColumn* col_right_untyped = col_with_type_and_name_right.column.get(); | 527 | | | 528 | 184k | const DataTypePtr& left_type = col_with_type_and_name_left.type; | 529 | 184k | const DataTypePtr& right_type = col_with_type_and_name_right.type; | 530 | | | 531 | | /// The case when arguments are the same (tautological comparison). Return constant. | 532 | | /// NOTE: Nullable types are special case. (BTW, this function use default implementation for Nullable, so Nullable types cannot be here. Check just in case.) | 533 | | /// NOTE: We consider NaN comparison to be implementation specific (and in our implementation NaNs are sometimes equal sometimes not). | 534 | 184k | if (left_type->equals(*right_type) && !left_type->is_nullable() && | 535 | 184k | col_left_untyped == col_right_untyped) { | 536 | | /// Always true: =, <=, >= | 537 | | // TODO: Return const column in the future. But seems so far to do. We need a unified approach for passing const column. | 538 | | if constexpr (std::is_same_v<Op<TYPE_INT>, EqualsOp<TYPE_INT>> || | 539 | | std::is_same_v<Op<TYPE_INT>, LessOrEqualsOp<TYPE_INT>> || | 540 | 0 | std::is_same_v<Op<TYPE_INT>, GreaterOrEqualsOp<TYPE_INT>>) { | 541 | 0 | block.get_by_position(result).column = | 542 | 0 | DataTypeUInt8() | 543 | 0 | .create_column_const(input_rows_count, | 544 | 0 | Field::create_field<TYPE_BOOLEAN>(1)) | 545 | 0 | ->convert_to_full_column_if_const(); | 546 | 0 | return Status::OK(); | 547 | | } else { | 548 | | block.get_by_position(result).column = | 549 | | DataTypeUInt8() | 550 | | .create_column_const(input_rows_count, | 551 | | Field::create_field<TYPE_BOOLEAN>(0)) | 552 | | ->convert_to_full_column_if_const(); | 553 | | return Status::OK(); | 554 | | } | 555 | 0 | } | 556 | | | 557 | 0 | auto can_compare = [](PrimitiveType t) -> bool { | 558 | 184k | return is_int_or_bool(t) || is_float_or_double(t) || is_ip(t) || is_date_type(t); | 559 | 184k | }; | 560 | | | 561 | 184k | if (can_compare(left_type->get_primitive_type()) && | 562 | 184k | can_compare(right_type->get_primitive_type())) { | 563 | | // check left type equals right type TODO: remove this after FE is aware of scales difference | 564 | 34.1k | if (!left_type->equals_ignore_precision(*right_type)) { | 565 | 0 | return Status::RuntimeError("not same type in function {} , left : {} , right : {}", | 566 | 0 | get_name(), left_type->get_name(), | 567 | 0 | right_type->get_name()); | 568 | 0 | } | 569 | 34.1k | } | 570 | | | 571 | 184k | auto compare_type = left_type->get_primitive_type(); | 572 | 184k | switch (compare_type) { | 573 | 380 | case TYPE_BOOLEAN: | 574 | 380 | return execute_num_type<TYPE_BOOLEAN>(block, result, col_left_ptr, col_right_ptr); | 575 | 7.75k | case TYPE_DATEV2: | 576 | 7.75k | return execute_num_type<TYPE_DATEV2>(block, result, col_left_ptr, col_right_ptr); | 577 | 539 | case TYPE_DATETIMEV2: | 578 | 539 | return execute_num_type<TYPE_DATETIMEV2>(block, result, col_left_ptr, col_right_ptr); | 579 | 1 | case TYPE_TIMESTAMPTZ: | 580 | 1 | return execute_num_type<TYPE_TIMESTAMPTZ>(block, result, col_left_ptr, col_right_ptr); | 581 | 360 | case TYPE_TINYINT: | 582 | 360 | return execute_num_type<TYPE_TINYINT>(block, result, col_left_ptr, col_right_ptr); | 583 | 409 | case TYPE_SMALLINT: | 584 | 409 | return execute_num_type<TYPE_SMALLINT>(block, result, col_left_ptr, col_right_ptr); | 585 | 23.5k | case TYPE_INT: | 586 | 23.5k | return execute_num_type<TYPE_INT>(block, result, col_left_ptr, col_right_ptr); | 587 | 850 | case TYPE_BIGINT: | 588 | 850 | return execute_num_type<TYPE_BIGINT>(block, result, col_left_ptr, col_right_ptr); | 589 | 50 | case TYPE_LARGEINT: | 590 | 50 | return execute_num_type<TYPE_LARGEINT>(block, result, col_left_ptr, col_right_ptr); | 591 | 10 | case TYPE_IPV4: | 592 | 10 | return execute_num_type<TYPE_IPV4>(block, result, col_left_ptr, col_right_ptr); | 593 | 0 | case TYPE_IPV6: | 594 | 0 | return execute_num_type<TYPE_IPV6>(block, result, col_left_ptr, col_right_ptr); | 595 | 124 | case TYPE_FLOAT: | 596 | 124 | return execute_num_type<TYPE_FLOAT>(block, result, col_left_ptr, col_right_ptr); | 597 | 149 | case TYPE_DOUBLE: | 598 | 149 | return execute_num_type<TYPE_DOUBLE>(block, result, col_left_ptr, col_right_ptr); | 599 | 0 | case TYPE_TIMEV2: | 600 | 0 | return execute_num_type<TYPE_TIMEV2>(block, result, col_left_ptr, col_right_ptr); | 601 | 0 | case TYPE_DECIMALV2: | 602 | 5 | case TYPE_DECIMAL32: | 603 | 147k | case TYPE_DECIMAL64: | 604 | 148k | case TYPE_DECIMAL128I: | 605 | 148k | case TYPE_DECIMAL256: | 606 | 148k | return execute_decimal(block, result, col_with_type_and_name_left, | 607 | 148k | col_with_type_and_name_right); | 608 | 311 | case TYPE_CHAR: | 609 | 1.19k | case TYPE_VARCHAR: | 610 | 2.00k | case TYPE_STRING: | 611 | 2.00k | return execute_string(block, result, col_left_untyped, col_right_untyped); | 612 | 40 | default: | 613 | 40 | return execute_generic(block, result, col_with_type_and_name_left, | 614 | 40 | col_with_type_and_name_right); | 615 | 184k | } | 616 | 0 | return Status::OK(); | 617 | 184k | } |
|
618 | | }; |
619 | | |
620 | | } // namespace doris |