be/src/exprs/function/functions_comparison.h
Line | Count | Source |
1 | | // Licensed to the Apache Software Foundation (ASF) under one |
2 | | // or more contributor license agreements. See the NOTICE file |
3 | | // distributed with this work for additional information |
4 | | // regarding copyright ownership. The ASF licenses this file |
5 | | // to you under the Apache License, Version 2.0 (the |
6 | | // "License"); you may not use this file except in compliance |
7 | | // with the License. You may obtain a copy of the License at |
8 | | // |
9 | | // http://www.apache.org/licenses/LICENSE-2.0 |
10 | | // |
11 | | // Unless required by applicable law or agreed to in writing, |
12 | | // software distributed under the License is distributed on an |
13 | | // "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY |
14 | | // KIND, either express or implied. See the License for the |
15 | | // specific language governing permissions and limitations |
16 | | // under the License. |
17 | | // This file is copied from |
18 | | // https://github.com/ClickHouse/ClickHouse/blob/master/src/Functions/FunctionsComparison.h |
19 | | // and modified by Doris |
20 | | |
21 | | #pragma once |
22 | | |
23 | | #include <compare> |
24 | | #include <limits> |
25 | | #include <optional> |
26 | | #include <string_view> |
27 | | #include <type_traits> |
28 | | |
29 | | #include "common/check.h" |
30 | | #include "common/logging.h" |
31 | | #include "core/accurate_comparison.h" |
32 | | #include "core/assert_cast.h" |
33 | | #include "core/column/column_const.h" |
34 | | #include "core/column/column_decimal.h" |
35 | | #include "core/column/column_nullable.h" |
36 | | #include "core/column/column_string.h" |
37 | | #include "core/data_type/data_type_nullable.h" |
38 | | #include "core/data_type/data_type_number.h" |
39 | | #include "core/data_type/data_type_string.h" |
40 | | #include "core/data_type/define_primitive_type.h" |
41 | | #include "core/decimal_comparison.h" |
42 | | #include "core/field.h" |
43 | | #include "core/memcmp_small.h" |
44 | | #include "core/value/vdatetime_value.h" |
45 | | #include "exprs/expr_zonemap_filter.h" |
46 | | #include "exprs/function/function.h" |
47 | | #include "exprs/function/function_helpers.h" |
48 | | #include "exprs/function/functions_logical.h" |
49 | | #include "exprs/vexpr.h" |
50 | | #include "storage/index/index_reader_helper.h" |
51 | | |
52 | | namespace doris { |
53 | | /** Comparison functions: ==, !=, <, >, <=, >=. |
54 | | * The comparison functions always return 0 or 1 (UInt8). |
55 | | * |
56 | | * You can compare the following types: |
57 | | * - numbers and decimals; |
58 | | * - strings and fixed strings; |
59 | | * - dates; |
60 | | * - datetimes; |
61 | | * within each group, but not from different groups; |
62 | | * - tuples (lexicographic comparison). |
63 | | * |
64 | | * Exception: You can compare the date and datetime with a constant string. Example: EventDate = '2015-01-01'. |
65 | | */ |
66 | | |
67 | | template <typename A, typename B, typename Op> |
68 | | struct NumComparisonImpl { |
69 | | /// If you don't specify NO_INLINE, the compiler will inline this function, but we don't need this as this function contains tight loop inside. |
70 | | static void NO_INLINE vector_vector(const PaddedPODArray<A>& a, const PaddedPODArray<B>& b, |
71 | 11.4k | PaddedPODArray<UInt8>& c) { |
72 | 11.4k | size_t size = a.size(); |
73 | 11.4k | const A* __restrict a_pos = a.data(); |
74 | 11.4k | const B* __restrict b_pos = b.data(); |
75 | 11.4k | UInt8* __restrict c_pos = c.data(); |
76 | 11.4k | const A* __restrict a_end = a_pos + size; |
77 | | |
78 | 4.22M | while (a_pos < a_end) { |
79 | 4.21M | *c_pos = Op::apply(*a_pos, *b_pos); |
80 | 4.21M | ++a_pos; |
81 | 4.21M | ++b_pos; |
82 | 4.21M | ++c_pos; |
83 | 4.21M | } |
84 | 11.4k | } _ZN5doris17NumComparisonImplIhhNS_8EqualsOpILNS_13PrimitiveTypeE2EEEE13vector_vectorERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RS9_ Line | Count | Source | 71 | 76 | PaddedPODArray<UInt8>& c) { | 72 | 76 | size_t size = a.size(); | 73 | 76 | const A* __restrict a_pos = a.data(); | 74 | 76 | const B* __restrict b_pos = b.data(); | 75 | 76 | UInt8* __restrict c_pos = c.data(); | 76 | 76 | const A* __restrict a_end = a_pos + size; | 77 | | | 78 | 152 | while (a_pos < a_end) { | 79 | 76 | *c_pos = Op::apply(*a_pos, *b_pos); | 80 | 76 | ++a_pos; | 81 | 76 | ++b_pos; | 82 | 76 | ++c_pos; | 83 | 76 | } | 84 | 76 | } |
_ZN5doris17NumComparisonImplINS_11DateV2ValueINS_15DateV2ValueTypeEEES3_NS_8EqualsOpILNS_13PrimitiveTypeE25EEEE13vector_vectorERKNS_8PODArrayIS3_Lm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESE_RNS8_IhLm4096ESB_Lm16ELm15EEE Line | Count | Source | 71 | 627 | PaddedPODArray<UInt8>& c) { | 72 | 627 | size_t size = a.size(); | 73 | 627 | const A* __restrict a_pos = a.data(); | 74 | 627 | const B* __restrict b_pos = b.data(); | 75 | 627 | UInt8* __restrict c_pos = c.data(); | 76 | 627 | const A* __restrict a_end = a_pos + size; | 77 | | | 78 | 1.26k | while (a_pos < a_end) { | 79 | 633 | *c_pos = Op::apply(*a_pos, *b_pos); | 80 | 633 | ++a_pos; | 81 | 633 | ++b_pos; | 82 | 633 | ++c_pos; | 83 | 633 | } | 84 | 627 | } |
_ZN5doris17NumComparisonImplINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEES3_NS_8EqualsOpILNS_13PrimitiveTypeE26EEEE13vector_vectorERKNS_8PODArrayIS3_Lm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESE_RNS8_IhLm4096ESB_Lm16ELm15EEE Line | Count | Source | 71 | 411 | PaddedPODArray<UInt8>& c) { | 72 | 411 | size_t size = a.size(); | 73 | 411 | const A* __restrict a_pos = a.data(); | 74 | 411 | const B* __restrict b_pos = b.data(); | 75 | 411 | UInt8* __restrict c_pos = c.data(); | 76 | 411 | const A* __restrict a_end = a_pos + size; | 77 | | | 78 | 840 | while (a_pos < a_end) { | 79 | 429 | *c_pos = Op::apply(*a_pos, *b_pos); | 80 | 429 | ++a_pos; | 81 | 429 | ++b_pos; | 82 | 429 | ++c_pos; | 83 | 429 | } | 84 | 411 | } |
_ZN5doris17NumComparisonImplINS_16TimestampTzValueES1_NS_8EqualsOpILNS_13PrimitiveTypeE42EEEE13vector_vectorERKNS_8PODArrayIS1_Lm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESC_RNS6_IhLm4096ES9_Lm16ELm15EEE Line | Count | Source | 71 | 2 | PaddedPODArray<UInt8>& c) { | 72 | 2 | size_t size = a.size(); | 73 | 2 | const A* __restrict a_pos = a.data(); | 74 | 2 | const B* __restrict b_pos = b.data(); | 75 | 2 | UInt8* __restrict c_pos = c.data(); | 76 | 2 | const A* __restrict a_end = a_pos + size; | 77 | | | 78 | 12 | while (a_pos < a_end) { | 79 | 10 | *c_pos = Op::apply(*a_pos, *b_pos); | 80 | 10 | ++a_pos; | 81 | 10 | ++b_pos; | 82 | 10 | ++c_pos; | 83 | 10 | } | 84 | 2 | } |
_ZN5doris17NumComparisonImplIaaNS_8EqualsOpILNS_13PrimitiveTypeE3EEEE13vector_vectorERKNS_8PODArrayIaLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 71 | 172 | PaddedPODArray<UInt8>& c) { | 72 | 172 | size_t size = a.size(); | 73 | 172 | const A* __restrict a_pos = a.data(); | 74 | 172 | const B* __restrict b_pos = b.data(); | 75 | 172 | UInt8* __restrict c_pos = c.data(); | 76 | 172 | const A* __restrict a_end = a_pos + size; | 77 | | | 78 | 486 | while (a_pos < a_end) { | 79 | 314 | *c_pos = Op::apply(*a_pos, *b_pos); | 80 | 314 | ++a_pos; | 81 | 314 | ++b_pos; | 82 | 314 | ++c_pos; | 83 | 314 | } | 84 | 172 | } |
_ZN5doris17NumComparisonImplIssNS_8EqualsOpILNS_13PrimitiveTypeE4EEEE13vector_vectorERKNS_8PODArrayIsLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 71 | 102 | PaddedPODArray<UInt8>& c) { | 72 | 102 | size_t size = a.size(); | 73 | 102 | const A* __restrict a_pos = a.data(); | 74 | 102 | const B* __restrict b_pos = b.data(); | 75 | 102 | UInt8* __restrict c_pos = c.data(); | 76 | 102 | const A* __restrict a_end = a_pos + size; | 77 | | | 78 | 204 | while (a_pos < a_end) { | 79 | 102 | *c_pos = Op::apply(*a_pos, *b_pos); | 80 | 102 | ++a_pos; | 81 | 102 | ++b_pos; | 82 | 102 | ++c_pos; | 83 | 102 | } | 84 | 102 | } |
_ZN5doris17NumComparisonImplIiiNS_8EqualsOpILNS_13PrimitiveTypeE5EEEE13vector_vectorERKNS_8PODArrayIiLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 71 | 1.01k | PaddedPODArray<UInt8>& c) { | 72 | 1.01k | size_t size = a.size(); | 73 | 1.01k | const A* __restrict a_pos = a.data(); | 74 | 1.01k | const B* __restrict b_pos = b.data(); | 75 | 1.01k | UInt8* __restrict c_pos = c.data(); | 76 | 1.01k | const A* __restrict a_end = a_pos + size; | 77 | | | 78 | 3.32k | while (a_pos < a_end) { | 79 | 2.31k | *c_pos = Op::apply(*a_pos, *b_pos); | 80 | 2.31k | ++a_pos; | 81 | 2.31k | ++b_pos; | 82 | 2.31k | ++c_pos; | 83 | 2.31k | } | 84 | 1.01k | } |
_ZN5doris17NumComparisonImplIllNS_8EqualsOpILNS_13PrimitiveTypeE6EEEE13vector_vectorERKNS_8PODArrayIlLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 71 | 291 | PaddedPODArray<UInt8>& c) { | 72 | 291 | size_t size = a.size(); | 73 | 291 | const A* __restrict a_pos = a.data(); | 74 | 291 | const B* __restrict b_pos = b.data(); | 75 | 291 | UInt8* __restrict c_pos = c.data(); | 76 | 291 | const A* __restrict a_end = a_pos + size; | 77 | | | 78 | 1.85k | while (a_pos < a_end) { | 79 | 1.56k | *c_pos = Op::apply(*a_pos, *b_pos); | 80 | 1.56k | ++a_pos; | 81 | 1.56k | ++b_pos; | 82 | 1.56k | ++c_pos; | 83 | 1.56k | } | 84 | 291 | } |
_ZN5doris17NumComparisonImplInnNS_8EqualsOpILNS_13PrimitiveTypeE7EEEE13vector_vectorERKNS_8PODArrayInLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 71 | 88 | PaddedPODArray<UInt8>& c) { | 72 | 88 | size_t size = a.size(); | 73 | 88 | const A* __restrict a_pos = a.data(); | 74 | 88 | const B* __restrict b_pos = b.data(); | 75 | 88 | UInt8* __restrict c_pos = c.data(); | 76 | 88 | const A* __restrict a_end = a_pos + size; | 77 | | | 78 | 176 | while (a_pos < a_end) { | 79 | 88 | *c_pos = Op::apply(*a_pos, *b_pos); | 80 | 88 | ++a_pos; | 81 | 88 | ++b_pos; | 82 | 88 | ++c_pos; | 83 | 88 | } | 84 | 88 | } |
_ZN5doris17NumComparisonImplIjjNS_8EqualsOpILNS_13PrimitiveTypeE36EEEE13vector_vectorERKNS_8PODArrayIjLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 71 | 16 | PaddedPODArray<UInt8>& c) { | 72 | 16 | size_t size = a.size(); | 73 | 16 | const A* __restrict a_pos = a.data(); | 74 | 16 | const B* __restrict b_pos = b.data(); | 75 | 16 | UInt8* __restrict c_pos = c.data(); | 76 | 16 | const A* __restrict a_end = a_pos + size; | 77 | | | 78 | 32 | while (a_pos < a_end) { | 79 | 16 | *c_pos = Op::apply(*a_pos, *b_pos); | 80 | 16 | ++a_pos; | 81 | 16 | ++b_pos; | 82 | 16 | ++c_pos; | 83 | 16 | } | 84 | 16 | } |
_ZN5doris17NumComparisonImplIooNS_8EqualsOpILNS_13PrimitiveTypeE37EEEE13vector_vectorERKNS_8PODArrayIoLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 71 | 24 | PaddedPODArray<UInt8>& c) { | 72 | 24 | size_t size = a.size(); | 73 | 24 | const A* __restrict a_pos = a.data(); | 74 | 24 | const B* __restrict b_pos = b.data(); | 75 | 24 | UInt8* __restrict c_pos = c.data(); | 76 | 24 | const A* __restrict a_end = a_pos + size; | 77 | | | 78 | 48 | while (a_pos < a_end) { | 79 | 24 | *c_pos = Op::apply(*a_pos, *b_pos); | 80 | 24 | ++a_pos; | 81 | 24 | ++b_pos; | 82 | 24 | ++c_pos; | 83 | 24 | } | 84 | 24 | } |
_ZN5doris17NumComparisonImplIffNS_8EqualsOpILNS_13PrimitiveTypeE8EEEE13vector_vectorERKNS_8PODArrayIfLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 71 | 111 | PaddedPODArray<UInt8>& c) { | 72 | 111 | size_t size = a.size(); | 73 | 111 | const A* __restrict a_pos = a.data(); | 74 | 111 | const B* __restrict b_pos = b.data(); | 75 | 111 | UInt8* __restrict c_pos = c.data(); | 76 | 111 | const A* __restrict a_end = a_pos + size; | 77 | | | 78 | 241 | while (a_pos < a_end) { | 79 | 130 | *c_pos = Op::apply(*a_pos, *b_pos); | 80 | 130 | ++a_pos; | 81 | 130 | ++b_pos; | 82 | 130 | ++c_pos; | 83 | 130 | } | 84 | 111 | } |
_ZN5doris17NumComparisonImplIddNS_8EqualsOpILNS_13PrimitiveTypeE9EEEE13vector_vectorERKNS_8PODArrayIdLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 71 | 119 | PaddedPODArray<UInt8>& c) { | 72 | 119 | size_t size = a.size(); | 73 | 119 | const A* __restrict a_pos = a.data(); | 74 | 119 | const B* __restrict b_pos = b.data(); | 75 | 119 | UInt8* __restrict c_pos = c.data(); | 76 | 119 | const A* __restrict a_end = a_pos + size; | 77 | | | 78 | 259 | while (a_pos < a_end) { | 79 | 140 | *c_pos = Op::apply(*a_pos, *b_pos); | 80 | 140 | ++a_pos; | 81 | 140 | ++b_pos; | 82 | 140 | ++c_pos; | 83 | 140 | } | 84 | 119 | } |
_ZN5doris17NumComparisonImplIddNS_8EqualsOpILNS_13PrimitiveTypeE27EEEE13vector_vectorERKNS_8PODArrayIdLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 71 | 4 | PaddedPODArray<UInt8>& c) { | 72 | 4 | size_t size = a.size(); | 73 | 4 | const A* __restrict a_pos = a.data(); | 74 | 4 | const B* __restrict b_pos = b.data(); | 75 | 4 | UInt8* __restrict c_pos = c.data(); | 76 | 4 | const A* __restrict a_end = a_pos + size; | 77 | | | 78 | 8 | while (a_pos < a_end) { | 79 | 4 | *c_pos = Op::apply(*a_pos, *b_pos); | 80 | 4 | ++a_pos; | 81 | 4 | ++b_pos; | 82 | 4 | ++c_pos; | 83 | 4 | } | 84 | 4 | } |
Unexecuted instantiation: _ZN5doris17NumComparisonImplIhhNS_11NotEqualsOpILNS_13PrimitiveTypeE2EEEE13vector_vectorERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RS9_ _ZN5doris17NumComparisonImplINS_11DateV2ValueINS_15DateV2ValueTypeEEES3_NS_11NotEqualsOpILNS_13PrimitiveTypeE25EEEE13vector_vectorERKNS_8PODArrayIS3_Lm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESE_RNS8_IhLm4096ESB_Lm16ELm15EEE Line | Count | Source | 71 | 47 | PaddedPODArray<UInt8>& c) { | 72 | 47 | size_t size = a.size(); | 73 | 47 | const A* __restrict a_pos = a.data(); | 74 | 47 | const B* __restrict b_pos = b.data(); | 75 | 47 | UInt8* __restrict c_pos = c.data(); | 76 | 47 | const A* __restrict a_end = a_pos + size; | 77 | | | 78 | 124 | while (a_pos < a_end) { | 79 | 77 | *c_pos = Op::apply(*a_pos, *b_pos); | 80 | 77 | ++a_pos; | 81 | 77 | ++b_pos; | 82 | 77 | ++c_pos; | 83 | 77 | } | 84 | 47 | } |
Unexecuted instantiation: _ZN5doris17NumComparisonImplINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEES3_NS_11NotEqualsOpILNS_13PrimitiveTypeE26EEEE13vector_vectorERKNS_8PODArrayIS3_Lm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESE_RNS8_IhLm4096ESB_Lm16ELm15EEE Unexecuted instantiation: _ZN5doris17NumComparisonImplINS_16TimestampTzValueES1_NS_11NotEqualsOpILNS_13PrimitiveTypeE42EEEE13vector_vectorERKNS_8PODArrayIS1_Lm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESC_RNS6_IhLm4096ES9_Lm16ELm15EEE _ZN5doris17NumComparisonImplIaaNS_11NotEqualsOpILNS_13PrimitiveTypeE3EEEE13vector_vectorERKNS_8PODArrayIaLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 71 | 56 | PaddedPODArray<UInt8>& c) { | 72 | 56 | size_t size = a.size(); | 73 | 56 | const A* __restrict a_pos = a.data(); | 74 | 56 | const B* __restrict b_pos = b.data(); | 75 | 56 | UInt8* __restrict c_pos = c.data(); | 76 | 56 | const A* __restrict a_end = a_pos + size; | 77 | | | 78 | 252 | while (a_pos < a_end) { | 79 | 196 | *c_pos = Op::apply(*a_pos, *b_pos); | 80 | 196 | ++a_pos; | 81 | 196 | ++b_pos; | 82 | 196 | ++c_pos; | 83 | 196 | } | 84 | 56 | } |
Unexecuted instantiation: _ZN5doris17NumComparisonImplIssNS_11NotEqualsOpILNS_13PrimitiveTypeE4EEEE13vector_vectorERKNS_8PODArrayIsLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE _ZN5doris17NumComparisonImplIiiNS_11NotEqualsOpILNS_13PrimitiveTypeE5EEEE13vector_vectorERKNS_8PODArrayIiLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 71 | 1.81k | PaddedPODArray<UInt8>& c) { | 72 | 1.81k | size_t size = a.size(); | 73 | 1.81k | const A* __restrict a_pos = a.data(); | 74 | 1.81k | const B* __restrict b_pos = b.data(); | 75 | 1.81k | UInt8* __restrict c_pos = c.data(); | 76 | 1.81k | const A* __restrict a_end = a_pos + size; | 77 | | | 78 | 297k | while (a_pos < a_end) { | 79 | 295k | *c_pos = Op::apply(*a_pos, *b_pos); | 80 | 295k | ++a_pos; | 81 | 295k | ++b_pos; | 82 | 295k | ++c_pos; | 83 | 295k | } | 84 | 1.81k | } |
_ZN5doris17NumComparisonImplIllNS_11NotEqualsOpILNS_13PrimitiveTypeE6EEEE13vector_vectorERKNS_8PODArrayIlLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 71 | 359 | PaddedPODArray<UInt8>& c) { | 72 | 359 | size_t size = a.size(); | 73 | 359 | const A* __restrict a_pos = a.data(); | 74 | 359 | const B* __restrict b_pos = b.data(); | 75 | 359 | UInt8* __restrict c_pos = c.data(); | 76 | 359 | const A* __restrict a_end = a_pos + size; | 77 | | | 78 | 6.58k | while (a_pos < a_end) { | 79 | 6.22k | *c_pos = Op::apply(*a_pos, *b_pos); | 80 | 6.22k | ++a_pos; | 81 | 6.22k | ++b_pos; | 82 | 6.22k | ++c_pos; | 83 | 6.22k | } | 84 | 359 | } |
Unexecuted instantiation: _ZN5doris17NumComparisonImplInnNS_11NotEqualsOpILNS_13PrimitiveTypeE7EEEE13vector_vectorERKNS_8PODArrayInLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Unexecuted instantiation: _ZN5doris17NumComparisonImplIjjNS_11NotEqualsOpILNS_13PrimitiveTypeE36EEEE13vector_vectorERKNS_8PODArrayIjLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Unexecuted instantiation: _ZN5doris17NumComparisonImplIooNS_11NotEqualsOpILNS_13PrimitiveTypeE37EEEE13vector_vectorERKNS_8PODArrayIoLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE _ZN5doris17NumComparisonImplIffNS_11NotEqualsOpILNS_13PrimitiveTypeE8EEEE13vector_vectorERKNS_8PODArrayIfLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 71 | 20 | PaddedPODArray<UInt8>& c) { | 72 | 20 | size_t size = a.size(); | 73 | 20 | const A* __restrict a_pos = a.data(); | 74 | 20 | const B* __restrict b_pos = b.data(); | 75 | 20 | UInt8* __restrict c_pos = c.data(); | 76 | 20 | const A* __restrict a_end = a_pos + size; | 77 | | | 78 | 59 | while (a_pos < a_end) { | 79 | 39 | *c_pos = Op::apply(*a_pos, *b_pos); | 80 | 39 | ++a_pos; | 81 | 39 | ++b_pos; | 82 | 39 | ++c_pos; | 83 | 39 | } | 84 | 20 | } |
_ZN5doris17NumComparisonImplIddNS_11NotEqualsOpILNS_13PrimitiveTypeE9EEEE13vector_vectorERKNS_8PODArrayIdLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 71 | 20 | PaddedPODArray<UInt8>& c) { | 72 | 20 | size_t size = a.size(); | 73 | 20 | const A* __restrict a_pos = a.data(); | 74 | 20 | const B* __restrict b_pos = b.data(); | 75 | 20 | UInt8* __restrict c_pos = c.data(); | 76 | 20 | const A* __restrict a_end = a_pos + size; | 77 | | | 78 | 59 | while (a_pos < a_end) { | 79 | 39 | *c_pos = Op::apply(*a_pos, *b_pos); | 80 | 39 | ++a_pos; | 81 | 39 | ++b_pos; | 82 | 39 | ++c_pos; | 83 | 39 | } | 84 | 20 | } |
Unexecuted instantiation: _ZN5doris17NumComparisonImplIddNS_11NotEqualsOpILNS_13PrimitiveTypeE27EEEE13vector_vectorERKNS_8PODArrayIdLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Unexecuted instantiation: _ZN5doris17NumComparisonImplIhhNS_9GreaterOpILNS_13PrimitiveTypeE2EEEE13vector_vectorERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RS9_ _ZN5doris17NumComparisonImplINS_11DateV2ValueINS_15DateV2ValueTypeEEES3_NS_9GreaterOpILNS_13PrimitiveTypeE25EEEE13vector_vectorERKNS_8PODArrayIS3_Lm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESE_RNS8_IhLm4096ESB_Lm16ELm15EEE Line | Count | Source | 71 | 1.01k | PaddedPODArray<UInt8>& c) { | 72 | 1.01k | size_t size = a.size(); | 73 | 1.01k | const A* __restrict a_pos = a.data(); | 74 | 1.01k | const B* __restrict b_pos = b.data(); | 75 | 1.01k | UInt8* __restrict c_pos = c.data(); | 76 | 1.01k | const A* __restrict a_end = a_pos + size; | 77 | | | 78 | 2.66M | while (a_pos < a_end) { | 79 | 2.66M | *c_pos = Op::apply(*a_pos, *b_pos); | 80 | 2.66M | ++a_pos; | 81 | 2.66M | ++b_pos; | 82 | 2.66M | ++c_pos; | 83 | 2.66M | } | 84 | 1.01k | } |
_ZN5doris17NumComparisonImplINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEES3_NS_9GreaterOpILNS_13PrimitiveTypeE26EEEE13vector_vectorERKNS_8PODArrayIS3_Lm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESE_RNS8_IhLm4096ESB_Lm16ELm15EEE Line | Count | Source | 71 | 8 | PaddedPODArray<UInt8>& c) { | 72 | 8 | size_t size = a.size(); | 73 | 8 | const A* __restrict a_pos = a.data(); | 74 | 8 | const B* __restrict b_pos = b.data(); | 75 | 8 | UInt8* __restrict c_pos = c.data(); | 76 | 8 | const A* __restrict a_end = a_pos + size; | 77 | | | 78 | 16 | while (a_pos < a_end) { | 79 | 8 | *c_pos = Op::apply(*a_pos, *b_pos); | 80 | 8 | ++a_pos; | 81 | 8 | ++b_pos; | 82 | 8 | ++c_pos; | 83 | 8 | } | 84 | 8 | } |
_ZN5doris17NumComparisonImplINS_16TimestampTzValueES1_NS_9GreaterOpILNS_13PrimitiveTypeE42EEEE13vector_vectorERKNS_8PODArrayIS1_Lm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESC_RNS6_IhLm4096ES9_Lm16ELm15EEE Line | Count | Source | 71 | 1 | PaddedPODArray<UInt8>& c) { | 72 | 1 | size_t size = a.size(); | 73 | 1 | const A* __restrict a_pos = a.data(); | 74 | 1 | const B* __restrict b_pos = b.data(); | 75 | 1 | UInt8* __restrict c_pos = c.data(); | 76 | 1 | const A* __restrict a_end = a_pos + size; | 77 | | | 78 | 10 | while (a_pos < a_end) { | 79 | 9 | *c_pos = Op::apply(*a_pos, *b_pos); | 80 | 9 | ++a_pos; | 81 | 9 | ++b_pos; | 82 | 9 | ++c_pos; | 83 | 9 | } | 84 | 1 | } |
_ZN5doris17NumComparisonImplIaaNS_9GreaterOpILNS_13PrimitiveTypeE3EEEE13vector_vectorERKNS_8PODArrayIaLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 71 | 40 | PaddedPODArray<UInt8>& c) { | 72 | 40 | size_t size = a.size(); | 73 | 40 | const A* __restrict a_pos = a.data(); | 74 | 40 | const B* __restrict b_pos = b.data(); | 75 | 40 | UInt8* __restrict c_pos = c.data(); | 76 | 40 | const A* __restrict a_end = a_pos + size; | 77 | | | 78 | 324 | while (a_pos < a_end) { | 79 | 284 | *c_pos = Op::apply(*a_pos, *b_pos); | 80 | 284 | ++a_pos; | 81 | 284 | ++b_pos; | 82 | 284 | ++c_pos; | 83 | 284 | } | 84 | 40 | } |
_ZN5doris17NumComparisonImplIssNS_9GreaterOpILNS_13PrimitiveTypeE4EEEE13vector_vectorERKNS_8PODArrayIsLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 71 | 112 | PaddedPODArray<UInt8>& c) { | 72 | 112 | size_t size = a.size(); | 73 | 112 | const A* __restrict a_pos = a.data(); | 74 | 112 | const B* __restrict b_pos = b.data(); | 75 | 112 | UInt8* __restrict c_pos = c.data(); | 76 | 112 | const A* __restrict a_end = a_pos + size; | 77 | | | 78 | 376 | while (a_pos < a_end) { | 79 | 264 | *c_pos = Op::apply(*a_pos, *b_pos); | 80 | 264 | ++a_pos; | 81 | 264 | ++b_pos; | 82 | 264 | ++c_pos; | 83 | 264 | } | 84 | 112 | } |
_ZN5doris17NumComparisonImplIiiNS_9GreaterOpILNS_13PrimitiveTypeE5EEEE13vector_vectorERKNS_8PODArrayIiLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 71 | 80 | PaddedPODArray<UInt8>& c) { | 72 | 80 | size_t size = a.size(); | 73 | 80 | const A* __restrict a_pos = a.data(); | 74 | 80 | const B* __restrict b_pos = b.data(); | 75 | 80 | UInt8* __restrict c_pos = c.data(); | 76 | 80 | const A* __restrict a_end = a_pos + size; | 77 | | | 78 | 338 | while (a_pos < a_end) { | 79 | 258 | *c_pos = Op::apply(*a_pos, *b_pos); | 80 | 258 | ++a_pos; | 81 | 258 | ++b_pos; | 82 | 258 | ++c_pos; | 83 | 258 | } | 84 | 80 | } |
_ZN5doris17NumComparisonImplIllNS_9GreaterOpILNS_13PrimitiveTypeE6EEEE13vector_vectorERKNS_8PODArrayIlLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 71 | 64 | PaddedPODArray<UInt8>& c) { | 72 | 64 | size_t size = a.size(); | 73 | 64 | const A* __restrict a_pos = a.data(); | 74 | 64 | const B* __restrict b_pos = b.data(); | 75 | 64 | UInt8* __restrict c_pos = c.data(); | 76 | 64 | const A* __restrict a_end = a_pos + size; | 77 | | | 78 | 567 | while (a_pos < a_end) { | 79 | 503 | *c_pos = Op::apply(*a_pos, *b_pos); | 80 | 503 | ++a_pos; | 81 | 503 | ++b_pos; | 82 | 503 | ++c_pos; | 83 | 503 | } | 84 | 64 | } |
_ZN5doris17NumComparisonImplInnNS_9GreaterOpILNS_13PrimitiveTypeE7EEEE13vector_vectorERKNS_8PODArrayInLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 71 | 2 | PaddedPODArray<UInt8>& c) { | 72 | 2 | size_t size = a.size(); | 73 | 2 | const A* __restrict a_pos = a.data(); | 74 | 2 | const B* __restrict b_pos = b.data(); | 75 | 2 | UInt8* __restrict c_pos = c.data(); | 76 | 2 | const A* __restrict a_end = a_pos + size; | 77 | | | 78 | 6 | while (a_pos < a_end) { | 79 | 4 | *c_pos = Op::apply(*a_pos, *b_pos); | 80 | 4 | ++a_pos; | 81 | 4 | ++b_pos; | 82 | 4 | ++c_pos; | 83 | 4 | } | 84 | 2 | } |
_ZN5doris17NumComparisonImplIjjNS_9GreaterOpILNS_13PrimitiveTypeE36EEEE13vector_vectorERKNS_8PODArrayIjLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 71 | 1 | PaddedPODArray<UInt8>& c) { | 72 | 1 | size_t size = a.size(); | 73 | 1 | const A* __restrict a_pos = a.data(); | 74 | 1 | const B* __restrict b_pos = b.data(); | 75 | 1 | UInt8* __restrict c_pos = c.data(); | 76 | 1 | const A* __restrict a_end = a_pos + size; | 77 | | | 78 | 2 | while (a_pos < a_end) { | 79 | 1 | *c_pos = Op::apply(*a_pos, *b_pos); | 80 | 1 | ++a_pos; | 81 | 1 | ++b_pos; | 82 | 1 | ++c_pos; | 83 | 1 | } | 84 | 1 | } |
_ZN5doris17NumComparisonImplIooNS_9GreaterOpILNS_13PrimitiveTypeE37EEEE13vector_vectorERKNS_8PODArrayIoLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 71 | 1 | PaddedPODArray<UInt8>& c) { | 72 | 1 | size_t size = a.size(); | 73 | 1 | const A* __restrict a_pos = a.data(); | 74 | 1 | const B* __restrict b_pos = b.data(); | 75 | 1 | UInt8* __restrict c_pos = c.data(); | 76 | 1 | const A* __restrict a_end = a_pos + size; | 77 | | | 78 | 2 | while (a_pos < a_end) { | 79 | 1 | *c_pos = Op::apply(*a_pos, *b_pos); | 80 | 1 | ++a_pos; | 81 | 1 | ++b_pos; | 82 | 1 | ++c_pos; | 83 | 1 | } | 84 | 1 | } |
_ZN5doris17NumComparisonImplIffNS_9GreaterOpILNS_13PrimitiveTypeE8EEEE13vector_vectorERKNS_8PODArrayIfLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 71 | 20 | PaddedPODArray<UInt8>& c) { | 72 | 20 | size_t size = a.size(); | 73 | 20 | const A* __restrict a_pos = a.data(); | 74 | 20 | const B* __restrict b_pos = b.data(); | 75 | 20 | UInt8* __restrict c_pos = c.data(); | 76 | 20 | const A* __restrict a_end = a_pos + size; | 77 | | | 78 | 59 | while (a_pos < a_end) { | 79 | 39 | *c_pos = Op::apply(*a_pos, *b_pos); | 80 | 39 | ++a_pos; | 81 | 39 | ++b_pos; | 82 | 39 | ++c_pos; | 83 | 39 | } | 84 | 20 | } |
_ZN5doris17NumComparisonImplIddNS_9GreaterOpILNS_13PrimitiveTypeE9EEEE13vector_vectorERKNS_8PODArrayIdLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 71 | 32 | PaddedPODArray<UInt8>& c) { | 72 | 32 | size_t size = a.size(); | 73 | 32 | const A* __restrict a_pos = a.data(); | 74 | 32 | const B* __restrict b_pos = b.data(); | 75 | 32 | UInt8* __restrict c_pos = c.data(); | 76 | 32 | const A* __restrict a_end = a_pos + size; | 77 | | | 78 | 102 | while (a_pos < a_end) { | 79 | 70 | *c_pos = Op::apply(*a_pos, *b_pos); | 80 | 70 | ++a_pos; | 81 | 70 | ++b_pos; | 82 | 70 | ++c_pos; | 83 | 70 | } | 84 | 32 | } |
Unexecuted instantiation: _ZN5doris17NumComparisonImplIddNS_9GreaterOpILNS_13PrimitiveTypeE27EEEE13vector_vectorERKNS_8PODArrayIdLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE _ZN5doris17NumComparisonImplIhhNS_17GreaterOrEqualsOpILNS_13PrimitiveTypeE2EEEE13vector_vectorERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RS9_ Line | Count | Source | 71 | 42 | PaddedPODArray<UInt8>& c) { | 72 | 42 | size_t size = a.size(); | 73 | 42 | const A* __restrict a_pos = a.data(); | 74 | 42 | const B* __restrict b_pos = b.data(); | 75 | 42 | UInt8* __restrict c_pos = c.data(); | 76 | 42 | const A* __restrict a_end = a_pos + size; | 77 | | | 78 | 84 | while (a_pos < a_end) { | 79 | 42 | *c_pos = Op::apply(*a_pos, *b_pos); | 80 | 42 | ++a_pos; | 81 | 42 | ++b_pos; | 82 | 42 | ++c_pos; | 83 | 42 | } | 84 | 42 | } |
_ZN5doris17NumComparisonImplINS_11DateV2ValueINS_15DateV2ValueTypeEEES3_NS_17GreaterOrEqualsOpILNS_13PrimitiveTypeE25EEEE13vector_vectorERKNS_8PODArrayIS3_Lm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESE_RNS8_IhLm4096ESB_Lm16ELm15EEE Line | Count | Source | 71 | 61 | PaddedPODArray<UInt8>& c) { | 72 | 61 | size_t size = a.size(); | 73 | 61 | const A* __restrict a_pos = a.data(); | 74 | 61 | const B* __restrict b_pos = b.data(); | 75 | 61 | UInt8* __restrict c_pos = c.data(); | 76 | 61 | const A* __restrict a_end = a_pos + size; | 77 | | | 78 | 122 | while (a_pos < a_end) { | 79 | 61 | *c_pos = Op::apply(*a_pos, *b_pos); | 80 | 61 | ++a_pos; | 81 | 61 | ++b_pos; | 82 | 61 | ++c_pos; | 83 | 61 | } | 84 | 61 | } |
_ZN5doris17NumComparisonImplINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEES3_NS_17GreaterOrEqualsOpILNS_13PrimitiveTypeE26EEEE13vector_vectorERKNS_8PODArrayIS3_Lm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESE_RNS8_IhLm4096ESB_Lm16ELm15EEE Line | Count | Source | 71 | 96 | PaddedPODArray<UInt8>& c) { | 72 | 96 | size_t size = a.size(); | 73 | 96 | const A* __restrict a_pos = a.data(); | 74 | 96 | const B* __restrict b_pos = b.data(); | 75 | 96 | UInt8* __restrict c_pos = c.data(); | 76 | 96 | const A* __restrict a_end = a_pos + size; | 77 | | | 78 | 250 | while (a_pos < a_end) { | 79 | 154 | *c_pos = Op::apply(*a_pos, *b_pos); | 80 | 154 | ++a_pos; | 81 | 154 | ++b_pos; | 82 | 154 | ++c_pos; | 83 | 154 | } | 84 | 96 | } |
_ZN5doris17NumComparisonImplINS_16TimestampTzValueES1_NS_17GreaterOrEqualsOpILNS_13PrimitiveTypeE42EEEE13vector_vectorERKNS_8PODArrayIS1_Lm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESC_RNS6_IhLm4096ES9_Lm16ELm15EEE Line | Count | Source | 71 | 1 | PaddedPODArray<UInt8>& c) { | 72 | 1 | size_t size = a.size(); | 73 | 1 | const A* __restrict a_pos = a.data(); | 74 | 1 | const B* __restrict b_pos = b.data(); | 75 | 1 | UInt8* __restrict c_pos = c.data(); | 76 | 1 | const A* __restrict a_end = a_pos + size; | 77 | | | 78 | 10 | while (a_pos < a_end) { | 79 | 9 | *c_pos = Op::apply(*a_pos, *b_pos); | 80 | 9 | ++a_pos; | 81 | 9 | ++b_pos; | 82 | 9 | ++c_pos; | 83 | 9 | } | 84 | 1 | } |
Unexecuted instantiation: _ZN5doris17NumComparisonImplIaaNS_17GreaterOrEqualsOpILNS_13PrimitiveTypeE3EEEE13vector_vectorERKNS_8PODArrayIaLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Unexecuted instantiation: _ZN5doris17NumComparisonImplIssNS_17GreaterOrEqualsOpILNS_13PrimitiveTypeE4EEEE13vector_vectorERKNS_8PODArrayIsLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE _ZN5doris17NumComparisonImplIiiNS_17GreaterOrEqualsOpILNS_13PrimitiveTypeE5EEEE13vector_vectorERKNS_8PODArrayIiLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 71 | 79 | PaddedPODArray<UInt8>& c) { | 72 | 79 | size_t size = a.size(); | 73 | 79 | const A* __restrict a_pos = a.data(); | 74 | 79 | const B* __restrict b_pos = b.data(); | 75 | 79 | UInt8* __restrict c_pos = c.data(); | 76 | 79 | const A* __restrict a_end = a_pos + size; | 77 | | | 78 | 159 | while (a_pos < a_end) { | 79 | 80 | *c_pos = Op::apply(*a_pos, *b_pos); | 80 | 80 | ++a_pos; | 81 | 80 | ++b_pos; | 82 | 80 | ++c_pos; | 83 | 80 | } | 84 | 79 | } |
_ZN5doris17NumComparisonImplIllNS_17GreaterOrEqualsOpILNS_13PrimitiveTypeE6EEEE13vector_vectorERKNS_8PODArrayIlLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 71 | 39 | PaddedPODArray<UInt8>& c) { | 72 | 39 | size_t size = a.size(); | 73 | 39 | const A* __restrict a_pos = a.data(); | 74 | 39 | const B* __restrict b_pos = b.data(); | 75 | 39 | UInt8* __restrict c_pos = c.data(); | 76 | 39 | const A* __restrict a_end = a_pos + size; | 77 | | | 78 | 128 | while (a_pos < a_end) { | 79 | 89 | *c_pos = Op::apply(*a_pos, *b_pos); | 80 | 89 | ++a_pos; | 81 | 89 | ++b_pos; | 82 | 89 | ++c_pos; | 83 | 89 | } | 84 | 39 | } |
Unexecuted instantiation: _ZN5doris17NumComparisonImplInnNS_17GreaterOrEqualsOpILNS_13PrimitiveTypeE7EEEE13vector_vectorERKNS_8PODArrayInLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE _ZN5doris17NumComparisonImplIjjNS_17GreaterOrEqualsOpILNS_13PrimitiveTypeE36EEEE13vector_vectorERKNS_8PODArrayIjLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 71 | 1 | PaddedPODArray<UInt8>& c) { | 72 | 1 | size_t size = a.size(); | 73 | 1 | const A* __restrict a_pos = a.data(); | 74 | 1 | const B* __restrict b_pos = b.data(); | 75 | 1 | UInt8* __restrict c_pos = c.data(); | 76 | 1 | const A* __restrict a_end = a_pos + size; | 77 | | | 78 | 2 | while (a_pos < a_end) { | 79 | 1 | *c_pos = Op::apply(*a_pos, *b_pos); | 80 | 1 | ++a_pos; | 81 | 1 | ++b_pos; | 82 | 1 | ++c_pos; | 83 | 1 | } | 84 | 1 | } |
_ZN5doris17NumComparisonImplIooNS_17GreaterOrEqualsOpILNS_13PrimitiveTypeE37EEEE13vector_vectorERKNS_8PODArrayIoLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 71 | 1 | PaddedPODArray<UInt8>& c) { | 72 | 1 | size_t size = a.size(); | 73 | 1 | const A* __restrict a_pos = a.data(); | 74 | 1 | const B* __restrict b_pos = b.data(); | 75 | 1 | UInt8* __restrict c_pos = c.data(); | 76 | 1 | const A* __restrict a_end = a_pos + size; | 77 | | | 78 | 2 | while (a_pos < a_end) { | 79 | 1 | *c_pos = Op::apply(*a_pos, *b_pos); | 80 | 1 | ++a_pos; | 81 | 1 | ++b_pos; | 82 | 1 | ++c_pos; | 83 | 1 | } | 84 | 1 | } |
_ZN5doris17NumComparisonImplIffNS_17GreaterOrEqualsOpILNS_13PrimitiveTypeE8EEEE13vector_vectorERKNS_8PODArrayIfLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 71 | 80 | PaddedPODArray<UInt8>& c) { | 72 | 80 | size_t size = a.size(); | 73 | 80 | const A* __restrict a_pos = a.data(); | 74 | 80 | const B* __restrict b_pos = b.data(); | 75 | 80 | UInt8* __restrict c_pos = c.data(); | 76 | 80 | const A* __restrict a_end = a_pos + size; | 77 | | | 78 | 179 | while (a_pos < a_end) { | 79 | 99 | *c_pos = Op::apply(*a_pos, *b_pos); | 80 | 99 | ++a_pos; | 81 | 99 | ++b_pos; | 82 | 99 | ++c_pos; | 83 | 99 | } | 84 | 80 | } |
_ZN5doris17NumComparisonImplIddNS_17GreaterOrEqualsOpILNS_13PrimitiveTypeE9EEEE13vector_vectorERKNS_8PODArrayIdLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 71 | 24 | PaddedPODArray<UInt8>& c) { | 72 | 24 | size_t size = a.size(); | 73 | 24 | const A* __restrict a_pos = a.data(); | 74 | 24 | const B* __restrict b_pos = b.data(); | 75 | 24 | UInt8* __restrict c_pos = c.data(); | 76 | 24 | const A* __restrict a_end = a_pos + size; | 77 | | | 78 | 67 | while (a_pos < a_end) { | 79 | 43 | *c_pos = Op::apply(*a_pos, *b_pos); | 80 | 43 | ++a_pos; | 81 | 43 | ++b_pos; | 82 | 43 | ++c_pos; | 83 | 43 | } | 84 | 24 | } |
Unexecuted instantiation: _ZN5doris17NumComparisonImplIddNS_17GreaterOrEqualsOpILNS_13PrimitiveTypeE27EEEE13vector_vectorERKNS_8PODArrayIdLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE _ZN5doris17NumComparisonImplIhhNS_6LessOpILNS_13PrimitiveTypeE2EEEE13vector_vectorERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RS9_ Line | Count | Source | 71 | 101 | PaddedPODArray<UInt8>& c) { | 72 | 101 | size_t size = a.size(); | 73 | 101 | const A* __restrict a_pos = a.data(); | 74 | 101 | const B* __restrict b_pos = b.data(); | 75 | 101 | UInt8* __restrict c_pos = c.data(); | 76 | 101 | const A* __restrict a_end = a_pos + size; | 77 | | | 78 | 376 | while (a_pos < a_end) { | 79 | 275 | *c_pos = Op::apply(*a_pos, *b_pos); | 80 | 275 | ++a_pos; | 81 | 275 | ++b_pos; | 82 | 275 | ++c_pos; | 83 | 275 | } | 84 | 101 | } |
_ZN5doris17NumComparisonImplINS_11DateV2ValueINS_15DateV2ValueTypeEEES3_NS_6LessOpILNS_13PrimitiveTypeE25EEEE13vector_vectorERKNS_8PODArrayIS3_Lm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESE_RNS8_IhLm4096ESB_Lm16ELm15EEE Line | Count | Source | 71 | 1.88k | PaddedPODArray<UInt8>& c) { | 72 | 1.88k | size_t size = a.size(); | 73 | 1.88k | const A* __restrict a_pos = a.data(); | 74 | 1.88k | const B* __restrict b_pos = b.data(); | 75 | 1.88k | UInt8* __restrict c_pos = c.data(); | 76 | 1.88k | const A* __restrict a_end = a_pos + size; | 77 | | | 78 | 1.22M | while (a_pos < a_end) { | 79 | 1.22M | *c_pos = Op::apply(*a_pos, *b_pos); | 80 | 1.22M | ++a_pos; | 81 | 1.22M | ++b_pos; | 82 | 1.22M | ++c_pos; | 83 | 1.22M | } | 84 | 1.88k | } |
_ZN5doris17NumComparisonImplINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEES3_NS_6LessOpILNS_13PrimitiveTypeE26EEEE13vector_vectorERKNS_8PODArrayIS3_Lm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESE_RNS8_IhLm4096ESB_Lm16ELm15EEE Line | Count | Source | 71 | 277 | PaddedPODArray<UInt8>& c) { | 72 | 277 | size_t size = a.size(); | 73 | 277 | const A* __restrict a_pos = a.data(); | 74 | 277 | const B* __restrict b_pos = b.data(); | 75 | 277 | UInt8* __restrict c_pos = c.data(); | 76 | 277 | const A* __restrict a_end = a_pos + size; | 77 | | | 78 | 902 | while (a_pos < a_end) { | 79 | 625 | *c_pos = Op::apply(*a_pos, *b_pos); | 80 | 625 | ++a_pos; | 81 | 625 | ++b_pos; | 82 | 625 | ++c_pos; | 83 | 625 | } | 84 | 277 | } |
_ZN5doris17NumComparisonImplINS_16TimestampTzValueES1_NS_6LessOpILNS_13PrimitiveTypeE42EEEE13vector_vectorERKNS_8PODArrayIS1_Lm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESC_RNS6_IhLm4096ES9_Lm16ELm15EEE Line | Count | Source | 71 | 1 | PaddedPODArray<UInt8>& c) { | 72 | 1 | size_t size = a.size(); | 73 | 1 | const A* __restrict a_pos = a.data(); | 74 | 1 | const B* __restrict b_pos = b.data(); | 75 | 1 | UInt8* __restrict c_pos = c.data(); | 76 | 1 | const A* __restrict a_end = a_pos + size; | 77 | | | 78 | 10 | while (a_pos < a_end) { | 79 | 9 | *c_pos = Op::apply(*a_pos, *b_pos); | 80 | 9 | ++a_pos; | 81 | 9 | ++b_pos; | 82 | 9 | ++c_pos; | 83 | 9 | } | 84 | 1 | } |
_ZN5doris17NumComparisonImplIaaNS_6LessOpILNS_13PrimitiveTypeE3EEEE13vector_vectorERKNS_8PODArrayIaLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 71 | 153 | PaddedPODArray<UInt8>& c) { | 72 | 153 | size_t size = a.size(); | 73 | 153 | const A* __restrict a_pos = a.data(); | 74 | 153 | const B* __restrict b_pos = b.data(); | 75 | 153 | UInt8* __restrict c_pos = c.data(); | 76 | 153 | const A* __restrict a_end = a_pos + size; | 77 | | | 78 | 480 | while (a_pos < a_end) { | 79 | 327 | *c_pos = Op::apply(*a_pos, *b_pos); | 80 | 327 | ++a_pos; | 81 | 327 | ++b_pos; | 82 | 327 | ++c_pos; | 83 | 327 | } | 84 | 153 | } |
_ZN5doris17NumComparisonImplIssNS_6LessOpILNS_13PrimitiveTypeE4EEEE13vector_vectorERKNS_8PODArrayIsLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 71 | 144 | PaddedPODArray<UInt8>& c) { | 72 | 144 | size_t size = a.size(); | 73 | 144 | const A* __restrict a_pos = a.data(); | 74 | 144 | const B* __restrict b_pos = b.data(); | 75 | 144 | UInt8* __restrict c_pos = c.data(); | 76 | 144 | const A* __restrict a_end = a_pos + size; | 77 | | | 78 | 464 | while (a_pos < a_end) { | 79 | 320 | *c_pos = Op::apply(*a_pos, *b_pos); | 80 | 320 | ++a_pos; | 81 | 320 | ++b_pos; | 82 | 320 | ++c_pos; | 83 | 320 | } | 84 | 144 | } |
_ZN5doris17NumComparisonImplIiiNS_6LessOpILNS_13PrimitiveTypeE5EEEE13vector_vectorERKNS_8PODArrayIiLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 71 | 177 | PaddedPODArray<UInt8>& c) { | 72 | 177 | size_t size = a.size(); | 73 | 177 | const A* __restrict a_pos = a.data(); | 74 | 177 | const B* __restrict b_pos = b.data(); | 75 | 177 | UInt8* __restrict c_pos = c.data(); | 76 | 177 | const A* __restrict a_end = a_pos + size; | 77 | | | 78 | 1.04k | while (a_pos < a_end) { | 79 | 868 | *c_pos = Op::apply(*a_pos, *b_pos); | 80 | 868 | ++a_pos; | 81 | 868 | ++b_pos; | 82 | 868 | ++c_pos; | 83 | 868 | } | 84 | 177 | } |
_ZN5doris17NumComparisonImplIllNS_6LessOpILNS_13PrimitiveTypeE6EEEE13vector_vectorERKNS_8PODArrayIlLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 71 | 221 | PaddedPODArray<UInt8>& c) { | 72 | 221 | size_t size = a.size(); | 73 | 221 | const A* __restrict a_pos = a.data(); | 74 | 221 | const B* __restrict b_pos = b.data(); | 75 | 221 | UInt8* __restrict c_pos = c.data(); | 76 | 221 | const A* __restrict a_end = a_pos + size; | 77 | | | 78 | 5.43k | while (a_pos < a_end) { | 79 | 5.21k | *c_pos = Op::apply(*a_pos, *b_pos); | 80 | 5.21k | ++a_pos; | 81 | 5.21k | ++b_pos; | 82 | 5.21k | ++c_pos; | 83 | 5.21k | } | 84 | 221 | } |
_ZN5doris17NumComparisonImplInnNS_6LessOpILNS_13PrimitiveTypeE7EEEE13vector_vectorERKNS_8PODArrayInLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 71 | 146 | PaddedPODArray<UInt8>& c) { | 72 | 146 | size_t size = a.size(); | 73 | 146 | const A* __restrict a_pos = a.data(); | 74 | 146 | const B* __restrict b_pos = b.data(); | 75 | 146 | UInt8* __restrict c_pos = c.data(); | 76 | 146 | const A* __restrict a_end = a_pos + size; | 77 | | | 78 | 466 | while (a_pos < a_end) { | 79 | 320 | *c_pos = Op::apply(*a_pos, *b_pos); | 80 | 320 | ++a_pos; | 81 | 320 | ++b_pos; | 82 | 320 | ++c_pos; | 83 | 320 | } | 84 | 146 | } |
_ZN5doris17NumComparisonImplIjjNS_6LessOpILNS_13PrimitiveTypeE36EEEE13vector_vectorERKNS_8PODArrayIjLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 71 | 16 | PaddedPODArray<UInt8>& c) { | 72 | 16 | size_t size = a.size(); | 73 | 16 | const A* __restrict a_pos = a.data(); | 74 | 16 | const B* __restrict b_pos = b.data(); | 75 | 16 | UInt8* __restrict c_pos = c.data(); | 76 | 16 | const A* __restrict a_end = a_pos + size; | 77 | | | 78 | 32 | while (a_pos < a_end) { | 79 | 16 | *c_pos = Op::apply(*a_pos, *b_pos); | 80 | 16 | ++a_pos; | 81 | 16 | ++b_pos; | 82 | 16 | ++c_pos; | 83 | 16 | } | 84 | 16 | } |
_ZN5doris17NumComparisonImplIooNS_6LessOpILNS_13PrimitiveTypeE37EEEE13vector_vectorERKNS_8PODArrayIoLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 71 | 16 | PaddedPODArray<UInt8>& c) { | 72 | 16 | size_t size = a.size(); | 73 | 16 | const A* __restrict a_pos = a.data(); | 74 | 16 | const B* __restrict b_pos = b.data(); | 75 | 16 | UInt8* __restrict c_pos = c.data(); | 76 | 16 | const A* __restrict a_end = a_pos + size; | 77 | | | 78 | 32 | while (a_pos < a_end) { | 79 | 16 | *c_pos = Op::apply(*a_pos, *b_pos); | 80 | 16 | ++a_pos; | 81 | 16 | ++b_pos; | 82 | 16 | ++c_pos; | 83 | 16 | } | 84 | 16 | } |
_ZN5doris17NumComparisonImplIffNS_6LessOpILNS_13PrimitiveTypeE8EEEE13vector_vectorERKNS_8PODArrayIfLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 71 | 147 | PaddedPODArray<UInt8>& c) { | 72 | 147 | size_t size = a.size(); | 73 | 147 | const A* __restrict a_pos = a.data(); | 74 | 147 | const B* __restrict b_pos = b.data(); | 75 | 147 | UInt8* __restrict c_pos = c.data(); | 76 | 147 | const A* __restrict a_end = a_pos + size; | 77 | | | 78 | 487 | while (a_pos < a_end) { | 79 | 340 | *c_pos = Op::apply(*a_pos, *b_pos); | 80 | 340 | ++a_pos; | 81 | 340 | ++b_pos; | 82 | 340 | ++c_pos; | 83 | 340 | } | 84 | 147 | } |
_ZN5doris17NumComparisonImplIddNS_6LessOpILNS_13PrimitiveTypeE9EEEE13vector_vectorERKNS_8PODArrayIdLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 71 | 163 | PaddedPODArray<UInt8>& c) { | 72 | 163 | size_t size = a.size(); | 73 | 163 | const A* __restrict a_pos = a.data(); | 74 | 163 | const B* __restrict b_pos = b.data(); | 75 | 163 | UInt8* __restrict c_pos = c.data(); | 76 | 163 | const A* __restrict a_end = a_pos + size; | 77 | | | 78 | 527 | while (a_pos < a_end) { | 79 | 364 | *c_pos = Op::apply(*a_pos, *b_pos); | 80 | 364 | ++a_pos; | 81 | 364 | ++b_pos; | 82 | 364 | ++c_pos; | 83 | 364 | } | 84 | 163 | } |
Unexecuted instantiation: _ZN5doris17NumComparisonImplIddNS_6LessOpILNS_13PrimitiveTypeE27EEEE13vector_vectorERKNS_8PODArrayIdLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE _ZN5doris17NumComparisonImplIhhNS_14LessOrEqualsOpILNS_13PrimitiveTypeE2EEEE13vector_vectorERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RS9_ Line | Count | Source | 71 | 42 | PaddedPODArray<UInt8>& c) { | 72 | 42 | size_t size = a.size(); | 73 | 42 | const A* __restrict a_pos = a.data(); | 74 | 42 | const B* __restrict b_pos = b.data(); | 75 | 42 | UInt8* __restrict c_pos = c.data(); | 76 | 42 | const A* __restrict a_end = a_pos + size; | 77 | | | 78 | 84 | while (a_pos < a_end) { | 79 | 42 | *c_pos = Op::apply(*a_pos, *b_pos); | 80 | 42 | ++a_pos; | 81 | 42 | ++b_pos; | 82 | 42 | ++c_pos; | 83 | 42 | } | 84 | 42 | } |
_ZN5doris17NumComparisonImplINS_11DateV2ValueINS_15DateV2ValueTypeEEES3_NS_14LessOrEqualsOpILNS_13PrimitiveTypeE25EEEE13vector_vectorERKNS_8PODArrayIS3_Lm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESE_RNS8_IhLm4096ESB_Lm16ELm15EEE Line | Count | Source | 71 | 487 | PaddedPODArray<UInt8>& c) { | 72 | 487 | size_t size = a.size(); | 73 | 487 | const A* __restrict a_pos = a.data(); | 74 | 487 | const B* __restrict b_pos = b.data(); | 75 | 487 | UInt8* __restrict c_pos = c.data(); | 76 | 487 | const A* __restrict a_end = a_pos + size; | 77 | | | 78 | 6.83k | while (a_pos < a_end) { | 79 | 6.35k | *c_pos = Op::apply(*a_pos, *b_pos); | 80 | 6.35k | ++a_pos; | 81 | 6.35k | ++b_pos; | 82 | 6.35k | ++c_pos; | 83 | 6.35k | } | 84 | 487 | } |
_ZN5doris17NumComparisonImplINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEES3_NS_14LessOrEqualsOpILNS_13PrimitiveTypeE26EEEE13vector_vectorERKNS_8PODArrayIS3_Lm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESE_RNS8_IhLm4096ESB_Lm16ELm15EEE Line | Count | Source | 71 | 90 | PaddedPODArray<UInt8>& c) { | 72 | 90 | size_t size = a.size(); | 73 | 90 | const A* __restrict a_pos = a.data(); | 74 | 90 | const B* __restrict b_pos = b.data(); | 75 | 90 | UInt8* __restrict c_pos = c.data(); | 76 | 90 | const A* __restrict a_end = a_pos + size; | 77 | | | 78 | 180 | while (a_pos < a_end) { | 79 | 90 | *c_pos = Op::apply(*a_pos, *b_pos); | 80 | 90 | ++a_pos; | 81 | 90 | ++b_pos; | 82 | 90 | ++c_pos; | 83 | 90 | } | 84 | 90 | } |
_ZN5doris17NumComparisonImplINS_16TimestampTzValueES1_NS_14LessOrEqualsOpILNS_13PrimitiveTypeE42EEEE13vector_vectorERKNS_8PODArrayIS1_Lm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESC_RNS6_IhLm4096ES9_Lm16ELm15EEE Line | Count | Source | 71 | 1 | PaddedPODArray<UInt8>& c) { | 72 | 1 | size_t size = a.size(); | 73 | 1 | const A* __restrict a_pos = a.data(); | 74 | 1 | const B* __restrict b_pos = b.data(); | 75 | 1 | UInt8* __restrict c_pos = c.data(); | 76 | 1 | const A* __restrict a_end = a_pos + size; | 77 | | | 78 | 10 | while (a_pos < a_end) { | 79 | 9 | *c_pos = Op::apply(*a_pos, *b_pos); | 80 | 9 | ++a_pos; | 81 | 9 | ++b_pos; | 82 | 9 | ++c_pos; | 83 | 9 | } | 84 | 1 | } |
_ZN5doris17NumComparisonImplIaaNS_14LessOrEqualsOpILNS_13PrimitiveTypeE3EEEE13vector_vectorERKNS_8PODArrayIaLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 71 | 1 | PaddedPODArray<UInt8>& c) { | 72 | 1 | size_t size = a.size(); | 73 | 1 | const A* __restrict a_pos = a.data(); | 74 | 1 | const B* __restrict b_pos = b.data(); | 75 | 1 | UInt8* __restrict c_pos = c.data(); | 76 | 1 | const A* __restrict a_end = a_pos + size; | 77 | | | 78 | 5 | while (a_pos < a_end) { | 79 | 4 | *c_pos = Op::apply(*a_pos, *b_pos); | 80 | 4 | ++a_pos; | 81 | 4 | ++b_pos; | 82 | 4 | ++c_pos; | 83 | 4 | } | 84 | 1 | } |
Unexecuted instantiation: _ZN5doris17NumComparisonImplIssNS_14LessOrEqualsOpILNS_13PrimitiveTypeE4EEEE13vector_vectorERKNS_8PODArrayIsLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE _ZN5doris17NumComparisonImplIiiNS_14LessOrEqualsOpILNS_13PrimitiveTypeE5EEEE13vector_vectorERKNS_8PODArrayIiLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 71 | 83 | PaddedPODArray<UInt8>& c) { | 72 | 83 | size_t size = a.size(); | 73 | 83 | const A* __restrict a_pos = a.data(); | 74 | 83 | const B* __restrict b_pos = b.data(); | 75 | 83 | UInt8* __restrict c_pos = c.data(); | 76 | 83 | const A* __restrict a_end = a_pos + size; | 77 | | | 78 | 225 | while (a_pos < a_end) { | 79 | 142 | *c_pos = Op::apply(*a_pos, *b_pos); | 80 | 142 | ++a_pos; | 81 | 142 | ++b_pos; | 82 | 142 | ++c_pos; | 83 | 142 | } | 84 | 83 | } |
_ZN5doris17NumComparisonImplIllNS_14LessOrEqualsOpILNS_13PrimitiveTypeE6EEEE13vector_vectorERKNS_8PODArrayIlLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 71 | 61 | PaddedPODArray<UInt8>& c) { | 72 | 61 | size_t size = a.size(); | 73 | 61 | const A* __restrict a_pos = a.data(); | 74 | 61 | const B* __restrict b_pos = b.data(); | 75 | 61 | UInt8* __restrict c_pos = c.data(); | 76 | 61 | const A* __restrict a_end = a_pos + size; | 77 | | | 78 | 129 | while (a_pos < a_end) { | 79 | 68 | *c_pos = Op::apply(*a_pos, *b_pos); | 80 | 68 | ++a_pos; | 81 | 68 | ++b_pos; | 82 | 68 | ++c_pos; | 83 | 68 | } | 84 | 61 | } |
Unexecuted instantiation: _ZN5doris17NumComparisonImplInnNS_14LessOrEqualsOpILNS_13PrimitiveTypeE7EEEE13vector_vectorERKNS_8PODArrayInLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Unexecuted instantiation: _ZN5doris17NumComparisonImplIjjNS_14LessOrEqualsOpILNS_13PrimitiveTypeE36EEEE13vector_vectorERKNS_8PODArrayIjLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Unexecuted instantiation: _ZN5doris17NumComparisonImplIooNS_14LessOrEqualsOpILNS_13PrimitiveTypeE37EEEE13vector_vectorERKNS_8PODArrayIoLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE _ZN5doris17NumComparisonImplIffNS_14LessOrEqualsOpILNS_13PrimitiveTypeE8EEEE13vector_vectorERKNS_8PODArrayIfLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 71 | 80 | PaddedPODArray<UInt8>& c) { | 72 | 80 | size_t size = a.size(); | 73 | 80 | const A* __restrict a_pos = a.data(); | 74 | 80 | const B* __restrict b_pos = b.data(); | 75 | 80 | UInt8* __restrict c_pos = c.data(); | 76 | 80 | const A* __restrict a_end = a_pos + size; | 77 | | | 78 | 179 | while (a_pos < a_end) { | 79 | 99 | *c_pos = Op::apply(*a_pos, *b_pos); | 80 | 99 | ++a_pos; | 81 | 99 | ++b_pos; | 82 | 99 | ++c_pos; | 83 | 99 | } | 84 | 80 | } |
_ZN5doris17NumComparisonImplIddNS_14LessOrEqualsOpILNS_13PrimitiveTypeE9EEEE13vector_vectorERKNS_8PODArrayIdLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 71 | 20 | PaddedPODArray<UInt8>& c) { | 72 | 20 | size_t size = a.size(); | 73 | 20 | const A* __restrict a_pos = a.data(); | 74 | 20 | const B* __restrict b_pos = b.data(); | 75 | 20 | UInt8* __restrict c_pos = c.data(); | 76 | 20 | const A* __restrict a_end = a_pos + size; | 77 | | | 78 | 59 | while (a_pos < a_end) { | 79 | 39 | *c_pos = Op::apply(*a_pos, *b_pos); | 80 | 39 | ++a_pos; | 81 | 39 | ++b_pos; | 82 | 39 | ++c_pos; | 83 | 39 | } | 84 | 20 | } |
Unexecuted instantiation: _ZN5doris17NumComparisonImplIddNS_14LessOrEqualsOpILNS_13PrimitiveTypeE27EEEE13vector_vectorERKNS_8PODArrayIdLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE |
85 | | |
86 | | static void NO_INLINE vector_constant(const PaddedPODArray<A>& a, B b, |
87 | 178k | PaddedPODArray<UInt8>& c) { |
88 | 178k | size_t size = a.size(); |
89 | 178k | const A* __restrict a_pos = a.data(); |
90 | 178k | UInt8* __restrict c_pos = c.data(); |
91 | 178k | const A* __restrict a_end = a_pos + size; |
92 | | |
93 | 97.2M | while (a_pos < a_end) { |
94 | 97.0M | *c_pos = Op::apply(*a_pos, b); |
95 | 97.0M | ++a_pos; |
96 | 97.0M | ++c_pos; |
97 | 97.0M | } |
98 | 178k | } _ZN5doris17NumComparisonImplIhhNS_8EqualsOpILNS_13PrimitiveTypeE2EEEE15vector_constantERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEhRS9_ Line | Count | Source | 87 | 1.56k | PaddedPODArray<UInt8>& c) { | 88 | 1.56k | size_t size = a.size(); | 89 | 1.56k | const A* __restrict a_pos = a.data(); | 90 | 1.56k | UInt8* __restrict c_pos = c.data(); | 91 | 1.56k | const A* __restrict a_end = a_pos + size; | 92 | | | 93 | 5.08k | while (a_pos < a_end) { | 94 | 3.52k | *c_pos = Op::apply(*a_pos, b); | 95 | 3.52k | ++a_pos; | 96 | 3.52k | ++c_pos; | 97 | 3.52k | } | 98 | 1.56k | } |
_ZN5doris17NumComparisonImplINS_11DateV2ValueINS_15DateV2ValueTypeEEES3_NS_8EqualsOpILNS_13PrimitiveTypeE25EEEE15vector_constantERKNS_8PODArrayIS3_Lm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEES3_RNS8_IhLm4096ESB_Lm16ELm15EEE Line | Count | Source | 87 | 892 | PaddedPODArray<UInt8>& c) { | 88 | 892 | size_t size = a.size(); | 89 | 892 | const A* __restrict a_pos = a.data(); | 90 | 892 | UInt8* __restrict c_pos = c.data(); | 91 | 892 | const A* __restrict a_end = a_pos + size; | 92 | | | 93 | 205k | while (a_pos < a_end) { | 94 | 204k | *c_pos = Op::apply(*a_pos, b); | 95 | 204k | ++a_pos; | 96 | 204k | ++c_pos; | 97 | 204k | } | 98 | 892 | } |
_ZN5doris17NumComparisonImplINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEES3_NS_8EqualsOpILNS_13PrimitiveTypeE26EEEE15vector_constantERKNS_8PODArrayIS3_Lm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEES3_RNS8_IhLm4096ESB_Lm16ELm15EEE Line | Count | Source | 87 | 334 | PaddedPODArray<UInt8>& c) { | 88 | 334 | size_t size = a.size(); | 89 | 334 | const A* __restrict a_pos = a.data(); | 90 | 334 | UInt8* __restrict c_pos = c.data(); | 91 | 334 | const A* __restrict a_end = a_pos + size; | 92 | | | 93 | 101k | while (a_pos < a_end) { | 94 | 100k | *c_pos = Op::apply(*a_pos, b); | 95 | 100k | ++a_pos; | 96 | 100k | ++c_pos; | 97 | 100k | } | 98 | 334 | } |
Unexecuted instantiation: _ZN5doris17NumComparisonImplINS_16TimestampTzValueES1_NS_8EqualsOpILNS_13PrimitiveTypeE42EEEE15vector_constantERKNS_8PODArrayIS1_Lm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEES1_RNS6_IhLm4096ES9_Lm16ELm15EEE _ZN5doris17NumComparisonImplIaaNS_8EqualsOpILNS_13PrimitiveTypeE3EEEE15vector_constantERKNS_8PODArrayIaLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEaRNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 87 | 5.38k | PaddedPODArray<UInt8>& c) { | 88 | 5.38k | size_t size = a.size(); | 89 | 5.38k | const A* __restrict a_pos = a.data(); | 90 | 5.38k | UInt8* __restrict c_pos = c.data(); | 91 | 5.38k | const A* __restrict a_end = a_pos + size; | 92 | | | 93 | 9.19M | while (a_pos < a_end) { | 94 | 9.18M | *c_pos = Op::apply(*a_pos, b); | 95 | 9.18M | ++a_pos; | 96 | 9.18M | ++c_pos; | 97 | 9.18M | } | 98 | 5.38k | } |
_ZN5doris17NumComparisonImplIssNS_8EqualsOpILNS_13PrimitiveTypeE4EEEE15vector_constantERKNS_8PODArrayIsLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEsRNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 87 | 709 | PaddedPODArray<UInt8>& c) { | 88 | 709 | size_t size = a.size(); | 89 | 709 | const A* __restrict a_pos = a.data(); | 90 | 709 | UInt8* __restrict c_pos = c.data(); | 91 | 709 | const A* __restrict a_end = a_pos + size; | 92 | | | 93 | 160k | while (a_pos < a_end) { | 94 | 159k | *c_pos = Op::apply(*a_pos, b); | 95 | 159k | ++a_pos; | 96 | 159k | ++c_pos; | 97 | 159k | } | 98 | 709 | } |
_ZN5doris17NumComparisonImplIiiNS_8EqualsOpILNS_13PrimitiveTypeE5EEEE15vector_constantERKNS_8PODArrayIiLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEiRNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 87 | 6.94k | PaddedPODArray<UInt8>& c) { | 88 | 6.94k | size_t size = a.size(); | 89 | 6.94k | const A* __restrict a_pos = a.data(); | 90 | 6.94k | UInt8* __restrict c_pos = c.data(); | 91 | 6.94k | const A* __restrict a_end = a_pos + size; | 92 | | | 93 | 1.25M | while (a_pos < a_end) { | 94 | 1.25M | *c_pos = Op::apply(*a_pos, b); | 95 | 1.25M | ++a_pos; | 96 | 1.25M | ++c_pos; | 97 | 1.25M | } | 98 | 6.94k | } |
_ZN5doris17NumComparisonImplIllNS_8EqualsOpILNS_13PrimitiveTypeE6EEEE15vector_constantERKNS_8PODArrayIlLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEElRNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 87 | 17.3k | PaddedPODArray<UInt8>& c) { | 88 | 17.3k | size_t size = a.size(); | 89 | 17.3k | const A* __restrict a_pos = a.data(); | 90 | 17.3k | UInt8* __restrict c_pos = c.data(); | 91 | 17.3k | const A* __restrict a_end = a_pos + size; | 92 | | | 93 | 3.16M | while (a_pos < a_end) { | 94 | 3.14M | *c_pos = Op::apply(*a_pos, b); | 95 | 3.14M | ++a_pos; | 96 | 3.14M | ++c_pos; | 97 | 3.14M | } | 98 | 17.3k | } |
_ZN5doris17NumComparisonImplInnNS_8EqualsOpILNS_13PrimitiveTypeE7EEEE15vector_constantERKNS_8PODArrayInLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEnRNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 87 | 67 | PaddedPODArray<UInt8>& c) { | 88 | 67 | size_t size = a.size(); | 89 | 67 | const A* __restrict a_pos = a.data(); | 90 | 67 | UInt8* __restrict c_pos = c.data(); | 91 | 67 | const A* __restrict a_end = a_pos + size; | 92 | | | 93 | 100k | while (a_pos < a_end) { | 94 | 100k | *c_pos = Op::apply(*a_pos, b); | 95 | 100k | ++a_pos; | 96 | 100k | ++c_pos; | 97 | 100k | } | 98 | 67 | } |
_ZN5doris17NumComparisonImplIjjNS_8EqualsOpILNS_13PrimitiveTypeE36EEEE15vector_constantERKNS_8PODArrayIjLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEjRNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 87 | 15 | PaddedPODArray<UInt8>& c) { | 88 | 15 | size_t size = a.size(); | 89 | 15 | const A* __restrict a_pos = a.data(); | 90 | 15 | UInt8* __restrict c_pos = c.data(); | 91 | 15 | const A* __restrict a_end = a_pos + size; | 92 | | | 93 | 129 | while (a_pos < a_end) { | 94 | 114 | *c_pos = Op::apply(*a_pos, b); | 95 | 114 | ++a_pos; | 96 | 114 | ++c_pos; | 97 | 114 | } | 98 | 15 | } |
_ZN5doris17NumComparisonImplIooNS_8EqualsOpILNS_13PrimitiveTypeE37EEEE15vector_constantERKNS_8PODArrayIoLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEoRNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 87 | 6 | PaddedPODArray<UInt8>& c) { | 88 | 6 | size_t size = a.size(); | 89 | 6 | const A* __restrict a_pos = a.data(); | 90 | 6 | UInt8* __restrict c_pos = c.data(); | 91 | 6 | const A* __restrict a_end = a_pos + size; | 92 | | | 93 | 12 | while (a_pos < a_end) { | 94 | 6 | *c_pos = Op::apply(*a_pos, b); | 95 | 6 | ++a_pos; | 96 | 6 | ++c_pos; | 97 | 6 | } | 98 | 6 | } |
_ZN5doris17NumComparisonImplIffNS_8EqualsOpILNS_13PrimitiveTypeE8EEEE15vector_constantERKNS_8PODArrayIfLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEfRNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 87 | 2 | PaddedPODArray<UInt8>& c) { | 88 | 2 | size_t size = a.size(); | 89 | 2 | const A* __restrict a_pos = a.data(); | 90 | 2 | UInt8* __restrict c_pos = c.data(); | 91 | 2 | const A* __restrict a_end = a_pos + size; | 92 | | | 93 | 4 | while (a_pos < a_end) { | 94 | 2 | *c_pos = Op::apply(*a_pos, b); | 95 | 2 | ++a_pos; | 96 | 2 | ++c_pos; | 97 | 2 | } | 98 | 2 | } |
_ZN5doris17NumComparisonImplIddNS_8EqualsOpILNS_13PrimitiveTypeE9EEEE15vector_constantERKNS_8PODArrayIdLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEdRNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 87 | 653 | PaddedPODArray<UInt8>& c) { | 88 | 653 | size_t size = a.size(); | 89 | 653 | const A* __restrict a_pos = a.data(); | 90 | 653 | UInt8* __restrict c_pos = c.data(); | 91 | 653 | const A* __restrict a_end = a_pos + size; | 92 | | | 93 | 714k | while (a_pos < a_end) { | 94 | 713k | *c_pos = Op::apply(*a_pos, b); | 95 | 713k | ++a_pos; | 96 | 713k | ++c_pos; | 97 | 713k | } | 98 | 653 | } |
Unexecuted instantiation: _ZN5doris17NumComparisonImplIddNS_8EqualsOpILNS_13PrimitiveTypeE27EEEE15vector_constantERKNS_8PODArrayIdLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEdRNS5_IhLm4096ES8_Lm16ELm15EEE Unexecuted instantiation: _ZN5doris17NumComparisonImplIhhNS_11NotEqualsOpILNS_13PrimitiveTypeE2EEEE15vector_constantERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEhRS9_ _ZN5doris17NumComparisonImplINS_11DateV2ValueINS_15DateV2ValueTypeEEES3_NS_11NotEqualsOpILNS_13PrimitiveTypeE25EEEE15vector_constantERKNS_8PODArrayIS3_Lm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEES3_RNS8_IhLm4096ESB_Lm16ELm15EEE Line | Count | Source | 87 | 35 | PaddedPODArray<UInt8>& c) { | 88 | 35 | size_t size = a.size(); | 89 | 35 | const A* __restrict a_pos = a.data(); | 90 | 35 | UInt8* __restrict c_pos = c.data(); | 91 | 35 | const A* __restrict a_end = a_pos + size; | 92 | | | 93 | 90 | while (a_pos < a_end) { | 94 | 55 | *c_pos = Op::apply(*a_pos, b); | 95 | 55 | ++a_pos; | 96 | 55 | ++c_pos; | 97 | 55 | } | 98 | 35 | } |
_ZN5doris17NumComparisonImplINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEES3_NS_11NotEqualsOpILNS_13PrimitiveTypeE26EEEE15vector_constantERKNS_8PODArrayIS3_Lm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEES3_RNS8_IhLm4096ESB_Lm16ELm15EEE Line | Count | Source | 87 | 4 | PaddedPODArray<UInt8>& c) { | 88 | 4 | size_t size = a.size(); | 89 | 4 | const A* __restrict a_pos = a.data(); | 90 | 4 | UInt8* __restrict c_pos = c.data(); | 91 | 4 | const A* __restrict a_end = a_pos + size; | 92 | | | 93 | 8 | while (a_pos < a_end) { | 94 | 4 | *c_pos = Op::apply(*a_pos, b); | 95 | 4 | ++a_pos; | 96 | 4 | ++c_pos; | 97 | 4 | } | 98 | 4 | } |
Unexecuted instantiation: _ZN5doris17NumComparisonImplINS_16TimestampTzValueES1_NS_11NotEqualsOpILNS_13PrimitiveTypeE42EEEE15vector_constantERKNS_8PODArrayIS1_Lm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEES1_RNS6_IhLm4096ES9_Lm16ELm15EEE _ZN5doris17NumComparisonImplIaaNS_11NotEqualsOpILNS_13PrimitiveTypeE3EEEE15vector_constantERKNS_8PODArrayIaLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEaRNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 87 | 44 | PaddedPODArray<UInt8>& c) { | 88 | 44 | size_t size = a.size(); | 89 | 44 | const A* __restrict a_pos = a.data(); | 90 | 44 | UInt8* __restrict c_pos = c.data(); | 91 | 44 | const A* __restrict a_end = a_pos + size; | 92 | | | 93 | 1.24k | while (a_pos < a_end) { | 94 | 1.19k | *c_pos = Op::apply(*a_pos, b); | 95 | 1.19k | ++a_pos; | 96 | 1.19k | ++c_pos; | 97 | 1.19k | } | 98 | 44 | } |
_ZN5doris17NumComparisonImplIssNS_11NotEqualsOpILNS_13PrimitiveTypeE4EEEE15vector_constantERKNS_8PODArrayIsLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEsRNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 87 | 10 | PaddedPODArray<UInt8>& c) { | 88 | 10 | size_t size = a.size(); | 89 | 10 | const A* __restrict a_pos = a.data(); | 90 | 10 | UInt8* __restrict c_pos = c.data(); | 91 | 10 | const A* __restrict a_end = a_pos + size; | 92 | | | 93 | 786 | while (a_pos < a_end) { | 94 | 776 | *c_pos = Op::apply(*a_pos, b); | 95 | 776 | ++a_pos; | 96 | 776 | ++c_pos; | 97 | 776 | } | 98 | 10 | } |
_ZN5doris17NumComparisonImplIiiNS_11NotEqualsOpILNS_13PrimitiveTypeE5EEEE15vector_constantERKNS_8PODArrayIiLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEiRNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 87 | 1.19k | PaddedPODArray<UInt8>& c) { | 88 | 1.19k | size_t size = a.size(); | 89 | 1.19k | const A* __restrict a_pos = a.data(); | 90 | 1.19k | UInt8* __restrict c_pos = c.data(); | 91 | 1.19k | const A* __restrict a_end = a_pos + size; | 92 | | | 93 | 629k | while (a_pos < a_end) { | 94 | 628k | *c_pos = Op::apply(*a_pos, b); | 95 | 628k | ++a_pos; | 96 | 628k | ++c_pos; | 97 | 628k | } | 98 | 1.19k | } |
_ZN5doris17NumComparisonImplIllNS_11NotEqualsOpILNS_13PrimitiveTypeE6EEEE15vector_constantERKNS_8PODArrayIlLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEElRNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 87 | 2.70k | PaddedPODArray<UInt8>& c) { | 88 | 2.70k | size_t size = a.size(); | 89 | 2.70k | const A* __restrict a_pos = a.data(); | 90 | 2.70k | UInt8* __restrict c_pos = c.data(); | 91 | 2.70k | const A* __restrict a_end = a_pos + size; | 92 | | | 93 | 272k | while (a_pos < a_end) { | 94 | 270k | *c_pos = Op::apply(*a_pos, b); | 95 | 270k | ++a_pos; | 96 | 270k | ++c_pos; | 97 | 270k | } | 98 | 2.70k | } |
Unexecuted instantiation: _ZN5doris17NumComparisonImplInnNS_11NotEqualsOpILNS_13PrimitiveTypeE7EEEE15vector_constantERKNS_8PODArrayInLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEnRNS5_IhLm4096ES8_Lm16ELm15EEE Unexecuted instantiation: _ZN5doris17NumComparisonImplIjjNS_11NotEqualsOpILNS_13PrimitiveTypeE36EEEE15vector_constantERKNS_8PODArrayIjLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEjRNS5_IhLm4096ES8_Lm16ELm15EEE Unexecuted instantiation: _ZN5doris17NumComparisonImplIooNS_11NotEqualsOpILNS_13PrimitiveTypeE37EEEE15vector_constantERKNS_8PODArrayIoLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEoRNS5_IhLm4096ES8_Lm16ELm15EEE _ZN5doris17NumComparisonImplIffNS_11NotEqualsOpILNS_13PrimitiveTypeE8EEEE15vector_constantERKNS_8PODArrayIfLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEfRNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 87 | 28 | PaddedPODArray<UInt8>& c) { | 88 | 28 | size_t size = a.size(); | 89 | 28 | const A* __restrict a_pos = a.data(); | 90 | 28 | UInt8* __restrict c_pos = c.data(); | 91 | 28 | const A* __restrict a_end = a_pos + size; | 92 | | | 93 | 70 | while (a_pos < a_end) { | 94 | 42 | *c_pos = Op::apply(*a_pos, b); | 95 | 42 | ++a_pos; | 96 | 42 | ++c_pos; | 97 | 42 | } | 98 | 28 | } |
_ZN5doris17NumComparisonImplIddNS_11NotEqualsOpILNS_13PrimitiveTypeE9EEEE15vector_constantERKNS_8PODArrayIdLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEdRNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 87 | 40 | PaddedPODArray<UInt8>& c) { | 88 | 40 | size_t size = a.size(); | 89 | 40 | const A* __restrict a_pos = a.data(); | 90 | 40 | UInt8* __restrict c_pos = c.data(); | 91 | 40 | const A* __restrict a_end = a_pos + size; | 92 | | | 93 | 282 | while (a_pos < a_end) { | 94 | 242 | *c_pos = Op::apply(*a_pos, b); | 95 | 242 | ++a_pos; | 96 | 242 | ++c_pos; | 97 | 242 | } | 98 | 40 | } |
Unexecuted instantiation: _ZN5doris17NumComparisonImplIddNS_11NotEqualsOpILNS_13PrimitiveTypeE27EEEE15vector_constantERKNS_8PODArrayIdLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEdRNS5_IhLm4096ES8_Lm16ELm15EEE Unexecuted instantiation: _ZN5doris17NumComparisonImplIhhNS_9GreaterOpILNS_13PrimitiveTypeE2EEEE15vector_constantERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEhRS9_ Unexecuted instantiation: _ZN5doris17NumComparisonImplIhhNS_6LessOpILNS_13PrimitiveTypeE2EEEE15vector_constantERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEhRS9_ _ZN5doris17NumComparisonImplINS_11DateV2ValueINS_15DateV2ValueTypeEEES3_NS_9GreaterOpILNS_13PrimitiveTypeE25EEEE15vector_constantERKNS_8PODArrayIS3_Lm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEES3_RNS8_IhLm4096ESB_Lm16ELm15EEE Line | Count | Source | 87 | 163 | PaddedPODArray<UInt8>& c) { | 88 | 163 | size_t size = a.size(); | 89 | 163 | const A* __restrict a_pos = a.data(); | 90 | 163 | UInt8* __restrict c_pos = c.data(); | 91 | 163 | const A* __restrict a_end = a_pos + size; | 92 | | | 93 | 4.51k | while (a_pos < a_end) { | 94 | 4.35k | *c_pos = Op::apply(*a_pos, b); | 95 | 4.35k | ++a_pos; | 96 | 4.35k | ++c_pos; | 97 | 4.35k | } | 98 | 163 | } |
_ZN5doris17NumComparisonImplINS_11DateV2ValueINS_15DateV2ValueTypeEEES3_NS_6LessOpILNS_13PrimitiveTypeE25EEEE15vector_constantERKNS_8PODArrayIS3_Lm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEES3_RNS8_IhLm4096ESB_Lm16ELm15EEE Line | Count | Source | 87 | 484 | PaddedPODArray<UInt8>& c) { | 88 | 484 | size_t size = a.size(); | 89 | 484 | const A* __restrict a_pos = a.data(); | 90 | 484 | UInt8* __restrict c_pos = c.data(); | 91 | 484 | const A* __restrict a_end = a_pos + size; | 92 | | | 93 | 1.67M | while (a_pos < a_end) { | 94 | 1.67M | *c_pos = Op::apply(*a_pos, b); | 95 | 1.67M | ++a_pos; | 96 | 1.67M | ++c_pos; | 97 | 1.67M | } | 98 | 484 | } |
_ZN5doris17NumComparisonImplINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEES3_NS_9GreaterOpILNS_13PrimitiveTypeE26EEEE15vector_constantERKNS_8PODArrayIS3_Lm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEES3_RNS8_IhLm4096ESB_Lm16ELm15EEE Line | Count | Source | 87 | 122 | PaddedPODArray<UInt8>& c) { | 88 | 122 | size_t size = a.size(); | 89 | 122 | const A* __restrict a_pos = a.data(); | 90 | 122 | UInt8* __restrict c_pos = c.data(); | 91 | 122 | const A* __restrict a_end = a_pos + size; | 92 | | | 93 | 286 | while (a_pos < a_end) { | 94 | 164 | *c_pos = Op::apply(*a_pos, b); | 95 | 164 | ++a_pos; | 96 | 164 | ++c_pos; | 97 | 164 | } | 98 | 122 | } |
_ZN5doris17NumComparisonImplINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEES3_NS_6LessOpILNS_13PrimitiveTypeE26EEEE15vector_constantERKNS_8PODArrayIS3_Lm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEES3_RNS8_IhLm4096ESB_Lm16ELm15EEE Line | Count | Source | 87 | 525 | PaddedPODArray<UInt8>& c) { | 88 | 525 | size_t size = a.size(); | 89 | 525 | const A* __restrict a_pos = a.data(); | 90 | 525 | UInt8* __restrict c_pos = c.data(); | 91 | 525 | const A* __restrict a_end = a_pos + size; | 92 | | | 93 | 45.8k | while (a_pos < a_end) { | 94 | 45.3k | *c_pos = Op::apply(*a_pos, b); | 95 | 45.3k | ++a_pos; | 96 | 45.3k | ++c_pos; | 97 | 45.3k | } | 98 | 525 | } |
Unexecuted instantiation: _ZN5doris17NumComparisonImplINS_16TimestampTzValueES1_NS_9GreaterOpILNS_13PrimitiveTypeE42EEEE15vector_constantERKNS_8PODArrayIS1_Lm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEES1_RNS6_IhLm4096ES9_Lm16ELm15EEE _ZN5doris17NumComparisonImplINS_16TimestampTzValueES1_NS_6LessOpILNS_13PrimitiveTypeE42EEEE15vector_constantERKNS_8PODArrayIS1_Lm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEES1_RNS6_IhLm4096ES9_Lm16ELm15EEE Line | Count | Source | 87 | 1 | PaddedPODArray<UInt8>& c) { | 88 | 1 | size_t size = a.size(); | 89 | 1 | const A* __restrict a_pos = a.data(); | 90 | 1 | UInt8* __restrict c_pos = c.data(); | 91 | 1 | const A* __restrict a_end = a_pos + size; | 92 | | | 93 | 8 | while (a_pos < a_end) { | 94 | 7 | *c_pos = Op::apply(*a_pos, b); | 95 | 7 | ++a_pos; | 96 | 7 | ++c_pos; | 97 | 7 | } | 98 | 1 | } |
_ZN5doris17NumComparisonImplIaaNS_9GreaterOpILNS_13PrimitiveTypeE3EEEE15vector_constantERKNS_8PODArrayIaLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEaRNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 87 | 1.28k | PaddedPODArray<UInt8>& c) { | 88 | 1.28k | size_t size = a.size(); | 89 | 1.28k | const A* __restrict a_pos = a.data(); | 90 | 1.28k | UInt8* __restrict c_pos = c.data(); | 91 | 1.28k | const A* __restrict a_end = a_pos + size; | 92 | | | 93 | 7.00k | while (a_pos < a_end) { | 94 | 5.72k | *c_pos = Op::apply(*a_pos, b); | 95 | 5.72k | ++a_pos; | 96 | 5.72k | ++c_pos; | 97 | 5.72k | } | 98 | 1.28k | } |
_ZN5doris17NumComparisonImplIaaNS_6LessOpILNS_13PrimitiveTypeE3EEEE15vector_constantERKNS_8PODArrayIaLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEaRNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 87 | 2.02k | PaddedPODArray<UInt8>& c) { | 88 | 2.02k | size_t size = a.size(); | 89 | 2.02k | const A* __restrict a_pos = a.data(); | 90 | 2.02k | UInt8* __restrict c_pos = c.data(); | 91 | 2.02k | const A* __restrict a_end = a_pos + size; | 92 | | | 93 | 7.76k | while (a_pos < a_end) { | 94 | 5.74k | *c_pos = Op::apply(*a_pos, b); | 95 | 5.74k | ++a_pos; | 96 | 5.74k | ++c_pos; | 97 | 5.74k | } | 98 | 2.02k | } |
_ZN5doris17NumComparisonImplIssNS_9GreaterOpILNS_13PrimitiveTypeE4EEEE15vector_constantERKNS_8PODArrayIsLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEsRNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 87 | 1.45k | PaddedPODArray<UInt8>& c) { | 88 | 1.45k | size_t size = a.size(); | 89 | 1.45k | const A* __restrict a_pos = a.data(); | 90 | 1.45k | UInt8* __restrict c_pos = c.data(); | 91 | 1.45k | const A* __restrict a_end = a_pos + size; | 92 | | | 93 | 6.46k | while (a_pos < a_end) { | 94 | 5.01k | *c_pos = Op::apply(*a_pos, b); | 95 | 5.01k | ++a_pos; | 96 | 5.01k | ++c_pos; | 97 | 5.01k | } | 98 | 1.45k | } |
_ZN5doris17NumComparisonImplIssNS_6LessOpILNS_13PrimitiveTypeE4EEEE15vector_constantERKNS_8PODArrayIsLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEsRNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 87 | 384 | PaddedPODArray<UInt8>& c) { | 88 | 384 | size_t size = a.size(); | 89 | 384 | const A* __restrict a_pos = a.data(); | 90 | 384 | UInt8* __restrict c_pos = c.data(); | 91 | 384 | const A* __restrict a_end = a_pos + size; | 92 | | | 93 | 13.7k | while (a_pos < a_end) { | 94 | 13.3k | *c_pos = Op::apply(*a_pos, b); | 95 | 13.3k | ++a_pos; | 96 | 13.3k | ++c_pos; | 97 | 13.3k | } | 98 | 384 | } |
_ZN5doris17NumComparisonImplIiiNS_9GreaterOpILNS_13PrimitiveTypeE5EEEE15vector_constantERKNS_8PODArrayIiLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEiRNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 87 | 10.0k | PaddedPODArray<UInt8>& c) { | 88 | 10.0k | size_t size = a.size(); | 89 | 10.0k | const A* __restrict a_pos = a.data(); | 90 | 10.0k | UInt8* __restrict c_pos = c.data(); | 91 | 10.0k | const A* __restrict a_end = a_pos + size; | 92 | | | 93 | 1.90M | while (a_pos < a_end) { | 94 | 1.89M | *c_pos = Op::apply(*a_pos, b); | 95 | 1.89M | ++a_pos; | 96 | 1.89M | ++c_pos; | 97 | 1.89M | } | 98 | 10.0k | } |
_ZN5doris17NumComparisonImplIiiNS_6LessOpILNS_13PrimitiveTypeE5EEEE15vector_constantERKNS_8PODArrayIiLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEiRNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 87 | 65.4k | PaddedPODArray<UInt8>& c) { | 88 | 65.4k | size_t size = a.size(); | 89 | 65.4k | const A* __restrict a_pos = a.data(); | 90 | 65.4k | UInt8* __restrict c_pos = c.data(); | 91 | 65.4k | const A* __restrict a_end = a_pos + size; | 92 | | | 93 | 9.46M | while (a_pos < a_end) { | 94 | 9.39M | *c_pos = Op::apply(*a_pos, b); | 95 | 9.39M | ++a_pos; | 96 | 9.39M | ++c_pos; | 97 | 9.39M | } | 98 | 65.4k | } |
_ZN5doris17NumComparisonImplIllNS_9GreaterOpILNS_13PrimitiveTypeE6EEEE15vector_constantERKNS_8PODArrayIlLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEElRNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 87 | 13.4k | PaddedPODArray<UInt8>& c) { | 88 | 13.4k | size_t size = a.size(); | 89 | 13.4k | const A* __restrict a_pos = a.data(); | 90 | 13.4k | UInt8* __restrict c_pos = c.data(); | 91 | 13.4k | const A* __restrict a_end = a_pos + size; | 92 | | | 93 | 170k | while (a_pos < a_end) { | 94 | 156k | *c_pos = Op::apply(*a_pos, b); | 95 | 156k | ++a_pos; | 96 | 156k | ++c_pos; | 97 | 156k | } | 98 | 13.4k | } |
_ZN5doris17NumComparisonImplIllNS_6LessOpILNS_13PrimitiveTypeE6EEEE15vector_constantERKNS_8PODArrayIlLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEElRNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 87 | 1.92k | PaddedPODArray<UInt8>& c) { | 88 | 1.92k | size_t size = a.size(); | 89 | 1.92k | const A* __restrict a_pos = a.data(); | 90 | 1.92k | UInt8* __restrict c_pos = c.data(); | 91 | 1.92k | const A* __restrict a_end = a_pos + size; | 92 | | | 93 | 14.1k | while (a_pos < a_end) { | 94 | 12.2k | *c_pos = Op::apply(*a_pos, b); | 95 | 12.2k | ++a_pos; | 96 | 12.2k | ++c_pos; | 97 | 12.2k | } | 98 | 1.92k | } |
_ZN5doris17NumComparisonImplInnNS_9GreaterOpILNS_13PrimitiveTypeE7EEEE15vector_constantERKNS_8PODArrayInLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEnRNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 87 | 293 | PaddedPODArray<UInt8>& c) { | 88 | 293 | size_t size = a.size(); | 89 | 293 | const A* __restrict a_pos = a.data(); | 90 | 293 | UInt8* __restrict c_pos = c.data(); | 91 | 293 | const A* __restrict a_end = a_pos + size; | 92 | | | 93 | 1.93k | while (a_pos < a_end) { | 94 | 1.63k | *c_pos = Op::apply(*a_pos, b); | 95 | 1.63k | ++a_pos; | 96 | 1.63k | ++c_pos; | 97 | 1.63k | } | 98 | 293 | } |
_ZN5doris17NumComparisonImplInnNS_6LessOpILNS_13PrimitiveTypeE7EEEE15vector_constantERKNS_8PODArrayInLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEnRNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 87 | 89 | PaddedPODArray<UInt8>& c) { | 88 | 89 | size_t size = a.size(); | 89 | 89 | const A* __restrict a_pos = a.data(); | 90 | 89 | UInt8* __restrict c_pos = c.data(); | 91 | 89 | const A* __restrict a_end = a_pos + size; | 92 | | | 93 | 86.2k | while (a_pos < a_end) { | 94 | 86.1k | *c_pos = Op::apply(*a_pos, b); | 95 | 86.1k | ++a_pos; | 96 | 86.1k | ++c_pos; | 97 | 86.1k | } | 98 | 89 | } |
_ZN5doris17NumComparisonImplIjjNS_9GreaterOpILNS_13PrimitiveTypeE36EEEE15vector_constantERKNS_8PODArrayIjLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEjRNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 87 | 3 | PaddedPODArray<UInt8>& c) { | 88 | 3 | size_t size = a.size(); | 89 | 3 | const A* __restrict a_pos = a.data(); | 90 | 3 | UInt8* __restrict c_pos = c.data(); | 91 | 3 | const A* __restrict a_end = a_pos + size; | 92 | | | 93 | 31 | while (a_pos < a_end) { | 94 | 28 | *c_pos = Op::apply(*a_pos, b); | 95 | 28 | ++a_pos; | 96 | 28 | ++c_pos; | 97 | 28 | } | 98 | 3 | } |
_ZN5doris17NumComparisonImplIjjNS_6LessOpILNS_13PrimitiveTypeE36EEEE15vector_constantERKNS_8PODArrayIjLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEjRNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 87 | 2 | PaddedPODArray<UInt8>& c) { | 88 | 2 | size_t size = a.size(); | 89 | 2 | const A* __restrict a_pos = a.data(); | 90 | 2 | UInt8* __restrict c_pos = c.data(); | 91 | 2 | const A* __restrict a_end = a_pos + size; | 92 | | | 93 | 22 | while (a_pos < a_end) { | 94 | 20 | *c_pos = Op::apply(*a_pos, b); | 95 | 20 | ++a_pos; | 96 | 20 | ++c_pos; | 97 | 20 | } | 98 | 2 | } |
Unexecuted instantiation: _ZN5doris17NumComparisonImplIooNS_9GreaterOpILNS_13PrimitiveTypeE37EEEE15vector_constantERKNS_8PODArrayIoLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEoRNS5_IhLm4096ES8_Lm16ELm15EEE Unexecuted instantiation: _ZN5doris17NumComparisonImplIooNS_6LessOpILNS_13PrimitiveTypeE37EEEE15vector_constantERKNS_8PODArrayIoLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEoRNS5_IhLm4096ES8_Lm16ELm15EEE _ZN5doris17NumComparisonImplIffNS_9GreaterOpILNS_13PrimitiveTypeE8EEEE15vector_constantERKNS_8PODArrayIfLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEfRNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 87 | 216 | PaddedPODArray<UInt8>& c) { | 88 | 216 | size_t size = a.size(); | 89 | 216 | const A* __restrict a_pos = a.data(); | 90 | 216 | UInt8* __restrict c_pos = c.data(); | 91 | 216 | const A* __restrict a_end = a_pos + size; | 92 | | | 93 | 3.77k | while (a_pos < a_end) { | 94 | 3.55k | *c_pos = Op::apply(*a_pos, b); | 95 | 3.55k | ++a_pos; | 96 | 3.55k | ++c_pos; | 97 | 3.55k | } | 98 | 216 | } |
_ZN5doris17NumComparisonImplIffNS_6LessOpILNS_13PrimitiveTypeE8EEEE15vector_constantERKNS_8PODArrayIfLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEfRNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 87 | 28 | PaddedPODArray<UInt8>& c) { | 88 | 28 | size_t size = a.size(); | 89 | 28 | const A* __restrict a_pos = a.data(); | 90 | 28 | UInt8* __restrict c_pos = c.data(); | 91 | 28 | const A* __restrict a_end = a_pos + size; | 92 | | | 93 | 64 | while (a_pos < a_end) { | 94 | 36 | *c_pos = Op::apply(*a_pos, b); | 95 | 36 | ++a_pos; | 96 | 36 | ++c_pos; | 97 | 36 | } | 98 | 28 | } |
_ZN5doris17NumComparisonImplIddNS_9GreaterOpILNS_13PrimitiveTypeE9EEEE15vector_constantERKNS_8PODArrayIdLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEdRNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 87 | 2.20k | PaddedPODArray<UInt8>& c) { | 88 | 2.20k | size_t size = a.size(); | 89 | 2.20k | const A* __restrict a_pos = a.data(); | 90 | 2.20k | UInt8* __restrict c_pos = c.data(); | 91 | 2.20k | const A* __restrict a_end = a_pos + size; | 92 | | | 93 | 342k | while (a_pos < a_end) { | 94 | 339k | *c_pos = Op::apply(*a_pos, b); | 95 | 339k | ++a_pos; | 96 | 339k | ++c_pos; | 97 | 339k | } | 98 | 2.20k | } |
_ZN5doris17NumComparisonImplIddNS_6LessOpILNS_13PrimitiveTypeE9EEEE15vector_constantERKNS_8PODArrayIdLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEdRNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 87 | 233 | PaddedPODArray<UInt8>& c) { | 88 | 233 | size_t size = a.size(); | 89 | 233 | const A* __restrict a_pos = a.data(); | 90 | 233 | UInt8* __restrict c_pos = c.data(); | 91 | 233 | const A* __restrict a_end = a_pos + size; | 92 | | | 93 | 640k | while (a_pos < a_end) { | 94 | 640k | *c_pos = Op::apply(*a_pos, b); | 95 | 640k | ++a_pos; | 96 | 640k | ++c_pos; | 97 | 640k | } | 98 | 233 | } |
Unexecuted instantiation: _ZN5doris17NumComparisonImplIddNS_9GreaterOpILNS_13PrimitiveTypeE27EEEE15vector_constantERKNS_8PODArrayIdLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEdRNS5_IhLm4096ES8_Lm16ELm15EEE Unexecuted instantiation: _ZN5doris17NumComparisonImplIddNS_6LessOpILNS_13PrimitiveTypeE27EEEE15vector_constantERKNS_8PODArrayIdLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEdRNS5_IhLm4096ES8_Lm16ELm15EEE _ZN5doris17NumComparisonImplIhhNS_17GreaterOrEqualsOpILNS_13PrimitiveTypeE2EEEE15vector_constantERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEhRS9_ Line | Count | Source | 87 | 106 | PaddedPODArray<UInt8>& c) { | 88 | 106 | size_t size = a.size(); | 89 | 106 | const A* __restrict a_pos = a.data(); | 90 | 106 | UInt8* __restrict c_pos = c.data(); | 91 | 106 | const A* __restrict a_end = a_pos + size; | 92 | | | 93 | 172k | while (a_pos < a_end) { | 94 | 172k | *c_pos = Op::apply(*a_pos, b); | 95 | 172k | ++a_pos; | 96 | 172k | ++c_pos; | 97 | 172k | } | 98 | 106 | } |
_ZN5doris17NumComparisonImplIhhNS_14LessOrEqualsOpILNS_13PrimitiveTypeE2EEEE15vector_constantERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEhRS9_ Line | Count | Source | 87 | 119 | PaddedPODArray<UInt8>& c) { | 88 | 119 | size_t size = a.size(); | 89 | 119 | const A* __restrict a_pos = a.data(); | 90 | 119 | UInt8* __restrict c_pos = c.data(); | 91 | 119 | const A* __restrict a_end = a_pos + size; | 92 | | | 93 | 157k | while (a_pos < a_end) { | 94 | 157k | *c_pos = Op::apply(*a_pos, b); | 95 | 157k | ++a_pos; | 96 | 157k | ++c_pos; | 97 | 157k | } | 98 | 119 | } |
_ZN5doris17NumComparisonImplINS_11DateV2ValueINS_15DateV2ValueTypeEEES3_NS_17GreaterOrEqualsOpILNS_13PrimitiveTypeE25EEEE15vector_constantERKNS_8PODArrayIS3_Lm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEES3_RNS8_IhLm4096ESB_Lm16ELm15EEE Line | Count | Source | 87 | 2.18k | PaddedPODArray<UInt8>& c) { | 88 | 2.18k | size_t size = a.size(); | 89 | 2.18k | const A* __restrict a_pos = a.data(); | 90 | 2.18k | UInt8* __restrict c_pos = c.data(); | 91 | 2.18k | const A* __restrict a_end = a_pos + size; | 92 | | | 93 | 4.99M | while (a_pos < a_end) { | 94 | 4.98M | *c_pos = Op::apply(*a_pos, b); | 95 | 4.98M | ++a_pos; | 96 | 4.98M | ++c_pos; | 97 | 4.98M | } | 98 | 2.18k | } |
_ZN5doris17NumComparisonImplINS_11DateV2ValueINS_15DateV2ValueTypeEEES3_NS_14LessOrEqualsOpILNS_13PrimitiveTypeE25EEEE15vector_constantERKNS_8PODArrayIS3_Lm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEES3_RNS8_IhLm4096ESB_Lm16ELm15EEE Line | Count | Source | 87 | 6.27k | PaddedPODArray<UInt8>& c) { | 88 | 6.27k | size_t size = a.size(); | 89 | 6.27k | const A* __restrict a_pos = a.data(); | 90 | 6.27k | UInt8* __restrict c_pos = c.data(); | 91 | 6.27k | const A* __restrict a_end = a_pos + size; | 92 | | | 93 | 39.4M | while (a_pos < a_end) { | 94 | 39.4M | *c_pos = Op::apply(*a_pos, b); | 95 | 39.4M | ++a_pos; | 96 | 39.4M | ++c_pos; | 97 | 39.4M | } | 98 | 6.27k | } |
_ZN5doris17NumComparisonImplINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEES3_NS_17GreaterOrEqualsOpILNS_13PrimitiveTypeE26EEEE15vector_constantERKNS_8PODArrayIS3_Lm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEES3_RNS8_IhLm4096ESB_Lm16ELm15EEE Line | Count | Source | 87 | 944 | PaddedPODArray<UInt8>& c) { | 88 | 944 | size_t size = a.size(); | 89 | 944 | const A* __restrict a_pos = a.data(); | 90 | 944 | UInt8* __restrict c_pos = c.data(); | 91 | 944 | const A* __restrict a_end = a_pos + size; | 92 | | | 93 | 31.3k | while (a_pos < a_end) { | 94 | 30.3k | *c_pos = Op::apply(*a_pos, b); | 95 | 30.3k | ++a_pos; | 96 | 30.3k | ++c_pos; | 97 | 30.3k | } | 98 | 944 | } |
_ZN5doris17NumComparisonImplINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEES3_NS_14LessOrEqualsOpILNS_13PrimitiveTypeE26EEEE15vector_constantERKNS_8PODArrayIS3_Lm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEES3_RNS8_IhLm4096ESB_Lm16ELm15EEE Line | Count | Source | 87 | 363 | PaddedPODArray<UInt8>& c) { | 88 | 363 | size_t size = a.size(); | 89 | 363 | const A* __restrict a_pos = a.data(); | 90 | 363 | UInt8* __restrict c_pos = c.data(); | 91 | 363 | const A* __restrict a_end = a_pos + size; | 92 | | | 93 | 15.7k | while (a_pos < a_end) { | 94 | 15.4k | *c_pos = Op::apply(*a_pos, b); | 95 | 15.4k | ++a_pos; | 96 | 15.4k | ++c_pos; | 97 | 15.4k | } | 98 | 363 | } |
Unexecuted instantiation: _ZN5doris17NumComparisonImplINS_16TimestampTzValueES1_NS_17GreaterOrEqualsOpILNS_13PrimitiveTypeE42EEEE15vector_constantERKNS_8PODArrayIS1_Lm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEES1_RNS6_IhLm4096ES9_Lm16ELm15EEE Unexecuted instantiation: _ZN5doris17NumComparisonImplINS_16TimestampTzValueES1_NS_14LessOrEqualsOpILNS_13PrimitiveTypeE42EEEE15vector_constantERKNS_8PODArrayIS1_Lm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEES1_RNS6_IhLm4096ES9_Lm16ELm15EEE _ZN5doris17NumComparisonImplIaaNS_17GreaterOrEqualsOpILNS_13PrimitiveTypeE3EEEE15vector_constantERKNS_8PODArrayIaLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEaRNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 87 | 81 | PaddedPODArray<UInt8>& c) { | 88 | 81 | size_t size = a.size(); | 89 | 81 | const A* __restrict a_pos = a.data(); | 90 | 81 | UInt8* __restrict c_pos = c.data(); | 91 | 81 | const A* __restrict a_end = a_pos + size; | 92 | | | 93 | 180k | while (a_pos < a_end) { | 94 | 180k | *c_pos = Op::apply(*a_pos, b); | 95 | 180k | ++a_pos; | 96 | 180k | ++c_pos; | 97 | 180k | } | 98 | 81 | } |
_ZN5doris17NumComparisonImplIaaNS_14LessOrEqualsOpILNS_13PrimitiveTypeE3EEEE15vector_constantERKNS_8PODArrayIaLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEaRNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 87 | 90 | PaddedPODArray<UInt8>& c) { | 88 | 90 | size_t size = a.size(); | 89 | 90 | const A* __restrict a_pos = a.data(); | 90 | 90 | UInt8* __restrict c_pos = c.data(); | 91 | 90 | const A* __restrict a_end = a_pos + size; | 92 | | | 93 | 132k | while (a_pos < a_end) { | 94 | 132k | *c_pos = Op::apply(*a_pos, b); | 95 | 132k | ++a_pos; | 96 | 132k | ++c_pos; | 97 | 132k | } | 98 | 90 | } |
_ZN5doris17NumComparisonImplIssNS_17GreaterOrEqualsOpILNS_13PrimitiveTypeE4EEEE15vector_constantERKNS_8PODArrayIsLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEsRNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 87 | 95 | PaddedPODArray<UInt8>& c) { | 88 | 95 | size_t size = a.size(); | 89 | 95 | const A* __restrict a_pos = a.data(); | 90 | 95 | UInt8* __restrict c_pos = c.data(); | 91 | 95 | const A* __restrict a_end = a_pos + size; | 92 | | | 93 | 152k | while (a_pos < a_end) { | 94 | 152k | *c_pos = Op::apply(*a_pos, b); | 95 | 152k | ++a_pos; | 96 | 152k | ++c_pos; | 97 | 152k | } | 98 | 95 | } |
_ZN5doris17NumComparisonImplIssNS_14LessOrEqualsOpILNS_13PrimitiveTypeE4EEEE15vector_constantERKNS_8PODArrayIsLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEsRNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 87 | 127 | PaddedPODArray<UInt8>& c) { | 88 | 127 | size_t size = a.size(); | 89 | 127 | const A* __restrict a_pos = a.data(); | 90 | 127 | UInt8* __restrict c_pos = c.data(); | 91 | 127 | const A* __restrict a_end = a_pos + size; | 92 | | | 93 | 152k | while (a_pos < a_end) { | 94 | 152k | *c_pos = Op::apply(*a_pos, b); | 95 | 152k | ++a_pos; | 96 | 152k | ++c_pos; | 97 | 152k | } | 98 | 127 | } |
_ZN5doris17NumComparisonImplIiiNS_17GreaterOrEqualsOpILNS_13PrimitiveTypeE5EEEE15vector_constantERKNS_8PODArrayIiLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEiRNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 87 | 10.0k | PaddedPODArray<UInt8>& c) { | 88 | 10.0k | size_t size = a.size(); | 89 | 10.0k | const A* __restrict a_pos = a.data(); | 90 | 10.0k | UInt8* __restrict c_pos = c.data(); | 91 | 10.0k | const A* __restrict a_end = a_pos + size; | 92 | | | 93 | 7.85M | while (a_pos < a_end) { | 94 | 7.84M | *c_pos = Op::apply(*a_pos, b); | 95 | 7.84M | ++a_pos; | 96 | 7.84M | ++c_pos; | 97 | 7.84M | } | 98 | 10.0k | } |
_ZN5doris17NumComparisonImplIiiNS_14LessOrEqualsOpILNS_13PrimitiveTypeE5EEEE15vector_constantERKNS_8PODArrayIiLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEiRNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 87 | 17.6k | PaddedPODArray<UInt8>& c) { | 88 | 17.6k | size_t size = a.size(); | 89 | 17.6k | const A* __restrict a_pos = a.data(); | 90 | 17.6k | UInt8* __restrict c_pos = c.data(); | 91 | 17.6k | const A* __restrict a_end = a_pos + size; | 92 | | | 93 | 12.1M | while (a_pos < a_end) { | 94 | 12.1M | *c_pos = Op::apply(*a_pos, b); | 95 | 12.1M | ++a_pos; | 96 | 12.1M | ++c_pos; | 97 | 12.1M | } | 98 | 17.6k | } |
_ZN5doris17NumComparisonImplIllNS_17GreaterOrEqualsOpILNS_13PrimitiveTypeE6EEEE15vector_constantERKNS_8PODArrayIlLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEElRNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 87 | 568 | PaddedPODArray<UInt8>& c) { | 88 | 568 | size_t size = a.size(); | 89 | 568 | const A* __restrict a_pos = a.data(); | 90 | 568 | UInt8* __restrict c_pos = c.data(); | 91 | 568 | const A* __restrict a_end = a_pos + size; | 92 | | | 93 | 36.7k | while (a_pos < a_end) { | 94 | 36.1k | *c_pos = Op::apply(*a_pos, b); | 95 | 36.1k | ++a_pos; | 96 | 36.1k | ++c_pos; | 97 | 36.1k | } | 98 | 568 | } |
_ZN5doris17NumComparisonImplIllNS_14LessOrEqualsOpILNS_13PrimitiveTypeE6EEEE15vector_constantERKNS_8PODArrayIlLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEElRNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 87 | 801 | PaddedPODArray<UInt8>& c) { | 88 | 801 | size_t size = a.size(); | 89 | 801 | const A* __restrict a_pos = a.data(); | 90 | 801 | UInt8* __restrict c_pos = c.data(); | 91 | 801 | const A* __restrict a_end = a_pos + size; | 92 | | | 93 | 43.2k | while (a_pos < a_end) { | 94 | 42.4k | *c_pos = Op::apply(*a_pos, b); | 95 | 42.4k | ++a_pos; | 96 | 42.4k | ++c_pos; | 97 | 42.4k | } | 98 | 801 | } |
_ZN5doris17NumComparisonImplInnNS_17GreaterOrEqualsOpILNS_13PrimitiveTypeE7EEEE15vector_constantERKNS_8PODArrayInLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEnRNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 87 | 55 | PaddedPODArray<UInt8>& c) { | 88 | 55 | size_t size = a.size(); | 89 | 55 | const A* __restrict a_pos = a.data(); | 90 | 55 | UInt8* __restrict c_pos = c.data(); | 91 | 55 | const A* __restrict a_end = a_pos + size; | 92 | | | 93 | 171k | while (a_pos < a_end) { | 94 | 171k | *c_pos = Op::apply(*a_pos, b); | 95 | 171k | ++a_pos; | 96 | 171k | ++c_pos; | 97 | 171k | } | 98 | 55 | } |
_ZN5doris17NumComparisonImplInnNS_14LessOrEqualsOpILNS_13PrimitiveTypeE7EEEE15vector_constantERKNS_8PODArrayInLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEnRNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 87 | 69 | PaddedPODArray<UInt8>& c) { | 88 | 69 | size_t size = a.size(); | 89 | 69 | const A* __restrict a_pos = a.data(); | 90 | 69 | UInt8* __restrict c_pos = c.data(); | 91 | 69 | const A* __restrict a_end = a_pos + size; | 92 | | | 93 | 169k | while (a_pos < a_end) { | 94 | 169k | *c_pos = Op::apply(*a_pos, b); | 95 | 169k | ++a_pos; | 96 | 169k | ++c_pos; | 97 | 169k | } | 98 | 69 | } |
_ZN5doris17NumComparisonImplIjjNS_17GreaterOrEqualsOpILNS_13PrimitiveTypeE36EEEE15vector_constantERKNS_8PODArrayIjLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEjRNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 87 | 10 | PaddedPODArray<UInt8>& c) { | 88 | 10 | size_t size = a.size(); | 89 | 10 | const A* __restrict a_pos = a.data(); | 90 | 10 | UInt8* __restrict c_pos = c.data(); | 91 | 10 | const A* __restrict a_end = a_pos + size; | 92 | | | 93 | 110 | while (a_pos < a_end) { | 94 | 100 | *c_pos = Op::apply(*a_pos, b); | 95 | 100 | ++a_pos; | 96 | 100 | ++c_pos; | 97 | 100 | } | 98 | 10 | } |
_ZN5doris17NumComparisonImplIjjNS_14LessOrEqualsOpILNS_13PrimitiveTypeE36EEEE15vector_constantERKNS_8PODArrayIjLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEjRNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 87 | 10 | PaddedPODArray<UInt8>& c) { | 88 | 10 | size_t size = a.size(); | 89 | 10 | const A* __restrict a_pos = a.data(); | 90 | 10 | UInt8* __restrict c_pos = c.data(); | 91 | 10 | const A* __restrict a_end = a_pos + size; | 92 | | | 93 | 110 | while (a_pos < a_end) { | 94 | 100 | *c_pos = Op::apply(*a_pos, b); | 95 | 100 | ++a_pos; | 96 | 100 | ++c_pos; | 97 | 100 | } | 98 | 10 | } |
Unexecuted instantiation: _ZN5doris17NumComparisonImplIooNS_17GreaterOrEqualsOpILNS_13PrimitiveTypeE37EEEE15vector_constantERKNS_8PODArrayIoLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEoRNS5_IhLm4096ES8_Lm16ELm15EEE Unexecuted instantiation: _ZN5doris17NumComparisonImplIooNS_14LessOrEqualsOpILNS_13PrimitiveTypeE37EEEE15vector_constantERKNS_8PODArrayIoLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEoRNS5_IhLm4096ES8_Lm16ELm15EEE _ZN5doris17NumComparisonImplIffNS_17GreaterOrEqualsOpILNS_13PrimitiveTypeE8EEEE15vector_constantERKNS_8PODArrayIfLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEfRNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 87 | 122 | PaddedPODArray<UInt8>& c) { | 88 | 122 | size_t size = a.size(); | 89 | 122 | const A* __restrict a_pos = a.data(); | 90 | 122 | UInt8* __restrict c_pos = c.data(); | 91 | 122 | const A* __restrict a_end = a_pos + size; | 92 | | | 93 | 246 | while (a_pos < a_end) { | 94 | 124 | *c_pos = Op::apply(*a_pos, b); | 95 | 124 | ++a_pos; | 96 | 124 | ++c_pos; | 97 | 124 | } | 98 | 122 | } |
_ZN5doris17NumComparisonImplIffNS_14LessOrEqualsOpILNS_13PrimitiveTypeE8EEEE15vector_constantERKNS_8PODArrayIfLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEfRNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 87 | 118 | PaddedPODArray<UInt8>& c) { | 88 | 118 | size_t size = a.size(); | 89 | 118 | const A* __restrict a_pos = a.data(); | 90 | 118 | UInt8* __restrict c_pos = c.data(); | 91 | 118 | const A* __restrict a_end = a_pos + size; | 92 | | | 93 | 236 | while (a_pos < a_end) { | 94 | 118 | *c_pos = Op::apply(*a_pos, b); | 95 | 118 | ++a_pos; | 96 | 118 | ++c_pos; | 97 | 118 | } | 98 | 118 | } |
_ZN5doris17NumComparisonImplIddNS_17GreaterOrEqualsOpILNS_13PrimitiveTypeE9EEEE15vector_constantERKNS_8PODArrayIdLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEdRNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 87 | 143 | PaddedPODArray<UInt8>& c) { | 88 | 143 | size_t size = a.size(); | 89 | 143 | const A* __restrict a_pos = a.data(); | 90 | 143 | UInt8* __restrict c_pos = c.data(); | 91 | 143 | const A* __restrict a_end = a_pos + size; | 92 | | | 93 | 601k | while (a_pos < a_end) { | 94 | 601k | *c_pos = Op::apply(*a_pos, b); | 95 | 601k | ++a_pos; | 96 | 601k | ++c_pos; | 97 | 601k | } | 98 | 143 | } |
_ZN5doris17NumComparisonImplIddNS_14LessOrEqualsOpILNS_13PrimitiveTypeE9EEEE15vector_constantERKNS_8PODArrayIdLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEdRNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 87 | 135 | PaddedPODArray<UInt8>& c) { | 88 | 135 | size_t size = a.size(); | 89 | 135 | const A* __restrict a_pos = a.data(); | 90 | 135 | UInt8* __restrict c_pos = c.data(); | 91 | 135 | const A* __restrict a_end = a_pos + size; | 92 | | | 93 | 601k | while (a_pos < a_end) { | 94 | 601k | *c_pos = Op::apply(*a_pos, b); | 95 | 601k | ++a_pos; | 96 | 601k | ++c_pos; | 97 | 601k | } | 98 | 135 | } |
Unexecuted instantiation: _ZN5doris17NumComparisonImplIddNS_17GreaterOrEqualsOpILNS_13PrimitiveTypeE27EEEE15vector_constantERKNS_8PODArrayIdLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEdRNS5_IhLm4096ES8_Lm16ELm15EEE Unexecuted instantiation: _ZN5doris17NumComparisonImplIddNS_14LessOrEqualsOpILNS_13PrimitiveTypeE27EEEE15vector_constantERKNS_8PODArrayIdLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEdRNS5_IhLm4096ES8_Lm16ELm15EEE |
99 | | |
100 | 66.8k | static void constant_vector(A a, const PaddedPODArray<B>& b, PaddedPODArray<UInt8>& c) { |
101 | 66.8k | NumComparisonImpl<B, A, typename Op::SymmetricOp>::vector_constant(b, a, c); |
102 | 66.8k | } Unexecuted instantiation: _ZN5doris17NumComparisonImplIhhNS_8EqualsOpILNS_13PrimitiveTypeE2EEEE15constant_vectorEhRKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERS9_ Unexecuted instantiation: _ZN5doris17NumComparisonImplINS_11DateV2ValueINS_15DateV2ValueTypeEEES3_NS_8EqualsOpILNS_13PrimitiveTypeE25EEEE15constant_vectorES3_RKNS_8PODArrayIS3_Lm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERNS8_IhLm4096ESB_Lm16ELm15EEE Unexecuted instantiation: _ZN5doris17NumComparisonImplINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEES3_NS_8EqualsOpILNS_13PrimitiveTypeE26EEEE15constant_vectorES3_RKNS_8PODArrayIS3_Lm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERNS8_IhLm4096ESB_Lm16ELm15EEE Unexecuted instantiation: _ZN5doris17NumComparisonImplINS_16TimestampTzValueES1_NS_8EqualsOpILNS_13PrimitiveTypeE42EEEE15constant_vectorES1_RKNS_8PODArrayIS1_Lm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERNS6_IhLm4096ES9_Lm16ELm15EEE _ZN5doris17NumComparisonImplIaaNS_8EqualsOpILNS_13PrimitiveTypeE3EEEE15constant_vectorEaRKNS_8PODArrayIaLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 100 | 312 | static void constant_vector(A a, const PaddedPODArray<B>& b, PaddedPODArray<UInt8>& c) { | 101 | 312 | NumComparisonImpl<B, A, typename Op::SymmetricOp>::vector_constant(b, a, c); | 102 | 312 | } |
_ZN5doris17NumComparisonImplIssNS_8EqualsOpILNS_13PrimitiveTypeE4EEEE15constant_vectorEsRKNS_8PODArrayIsLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 100 | 48 | static void constant_vector(A a, const PaddedPODArray<B>& b, PaddedPODArray<UInt8>& c) { | 101 | 48 | NumComparisonImpl<B, A, typename Op::SymmetricOp>::vector_constant(b, a, c); | 102 | 48 | } |
_ZN5doris17NumComparisonImplIiiNS_8EqualsOpILNS_13PrimitiveTypeE5EEEE15constant_vectorEiRKNS_8PODArrayIiLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 100 | 130 | static void constant_vector(A a, const PaddedPODArray<B>& b, PaddedPODArray<UInt8>& c) { | 101 | 130 | NumComparisonImpl<B, A, typename Op::SymmetricOp>::vector_constant(b, a, c); | 102 | 130 | } |
_ZN5doris17NumComparisonImplIllNS_8EqualsOpILNS_13PrimitiveTypeE6EEEE15constant_vectorElRKNS_8PODArrayIlLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 100 | 752 | static void constant_vector(A a, const PaddedPODArray<B>& b, PaddedPODArray<UInt8>& c) { | 101 | 752 | NumComparisonImpl<B, A, typename Op::SymmetricOp>::vector_constant(b, a, c); | 102 | 752 | } |
_ZN5doris17NumComparisonImplInnNS_8EqualsOpILNS_13PrimitiveTypeE7EEEE15constant_vectorEnRKNS_8PODArrayInLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 100 | 12 | static void constant_vector(A a, const PaddedPODArray<B>& b, PaddedPODArray<UInt8>& c) { | 101 | 12 | NumComparisonImpl<B, A, typename Op::SymmetricOp>::vector_constant(b, a, c); | 102 | 12 | } |
Unexecuted instantiation: _ZN5doris17NumComparisonImplIjjNS_8EqualsOpILNS_13PrimitiveTypeE36EEEE15constant_vectorEjRKNS_8PODArrayIjLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERNS5_IhLm4096ES8_Lm16ELm15EEE Unexecuted instantiation: _ZN5doris17NumComparisonImplIooNS_8EqualsOpILNS_13PrimitiveTypeE37EEEE15constant_vectorEoRKNS_8PODArrayIoLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERNS5_IhLm4096ES8_Lm16ELm15EEE Unexecuted instantiation: _ZN5doris17NumComparisonImplIffNS_8EqualsOpILNS_13PrimitiveTypeE8EEEE15constant_vectorEfRKNS_8PODArrayIfLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERNS5_IhLm4096ES8_Lm16ELm15EEE Unexecuted instantiation: _ZN5doris17NumComparisonImplIddNS_8EqualsOpILNS_13PrimitiveTypeE9EEEE15constant_vectorEdRKNS_8PODArrayIdLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERNS5_IhLm4096ES8_Lm16ELm15EEE Unexecuted instantiation: _ZN5doris17NumComparisonImplIddNS_8EqualsOpILNS_13PrimitiveTypeE27EEEE15constant_vectorEdRKNS_8PODArrayIdLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERNS5_IhLm4096ES8_Lm16ELm15EEE Unexecuted instantiation: _ZN5doris17NumComparisonImplIhhNS_11NotEqualsOpILNS_13PrimitiveTypeE2EEEE15constant_vectorEhRKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERS9_ Unexecuted instantiation: _ZN5doris17NumComparisonImplINS_11DateV2ValueINS_15DateV2ValueTypeEEES3_NS_11NotEqualsOpILNS_13PrimitiveTypeE25EEEE15constant_vectorES3_RKNS_8PODArrayIS3_Lm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERNS8_IhLm4096ESB_Lm16ELm15EEE Unexecuted instantiation: _ZN5doris17NumComparisonImplINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEES3_NS_11NotEqualsOpILNS_13PrimitiveTypeE26EEEE15constant_vectorES3_RKNS_8PODArrayIS3_Lm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERNS8_IhLm4096ESB_Lm16ELm15EEE Unexecuted instantiation: _ZN5doris17NumComparisonImplINS_16TimestampTzValueES1_NS_11NotEqualsOpILNS_13PrimitiveTypeE42EEEE15constant_vectorES1_RKNS_8PODArrayIS1_Lm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERNS6_IhLm4096ES9_Lm16ELm15EEE Unexecuted instantiation: _ZN5doris17NumComparisonImplIaaNS_11NotEqualsOpILNS_13PrimitiveTypeE3EEEE15constant_vectorEaRKNS_8PODArrayIaLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERNS5_IhLm4096ES8_Lm16ELm15EEE Unexecuted instantiation: _ZN5doris17NumComparisonImplIssNS_11NotEqualsOpILNS_13PrimitiveTypeE4EEEE15constant_vectorEsRKNS_8PODArrayIsLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERNS5_IhLm4096ES8_Lm16ELm15EEE Unexecuted instantiation: _ZN5doris17NumComparisonImplIiiNS_11NotEqualsOpILNS_13PrimitiveTypeE5EEEE15constant_vectorEiRKNS_8PODArrayIiLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERNS5_IhLm4096ES8_Lm16ELm15EEE _ZN5doris17NumComparisonImplIllNS_11NotEqualsOpILNS_13PrimitiveTypeE6EEEE15constant_vectorElRKNS_8PODArrayIlLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 100 | 764 | static void constant_vector(A a, const PaddedPODArray<B>& b, PaddedPODArray<UInt8>& c) { | 101 | 764 | NumComparisonImpl<B, A, typename Op::SymmetricOp>::vector_constant(b, a, c); | 102 | 764 | } |
Unexecuted instantiation: _ZN5doris17NumComparisonImplInnNS_11NotEqualsOpILNS_13PrimitiveTypeE7EEEE15constant_vectorEnRKNS_8PODArrayInLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERNS5_IhLm4096ES8_Lm16ELm15EEE Unexecuted instantiation: _ZN5doris17NumComparisonImplIjjNS_11NotEqualsOpILNS_13PrimitiveTypeE36EEEE15constant_vectorEjRKNS_8PODArrayIjLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERNS5_IhLm4096ES8_Lm16ELm15EEE Unexecuted instantiation: _ZN5doris17NumComparisonImplIooNS_11NotEqualsOpILNS_13PrimitiveTypeE37EEEE15constant_vectorEoRKNS_8PODArrayIoLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERNS5_IhLm4096ES8_Lm16ELm15EEE Unexecuted instantiation: _ZN5doris17NumComparisonImplIffNS_11NotEqualsOpILNS_13PrimitiveTypeE8EEEE15constant_vectorEfRKNS_8PODArrayIfLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERNS5_IhLm4096ES8_Lm16ELm15EEE Unexecuted instantiation: _ZN5doris17NumComparisonImplIddNS_11NotEqualsOpILNS_13PrimitiveTypeE9EEEE15constant_vectorEdRKNS_8PODArrayIdLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERNS5_IhLm4096ES8_Lm16ELm15EEE Unexecuted instantiation: _ZN5doris17NumComparisonImplIddNS_11NotEqualsOpILNS_13PrimitiveTypeE27EEEE15constant_vectorEdRKNS_8PODArrayIdLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERNS5_IhLm4096ES8_Lm16ELm15EEE Unexecuted instantiation: _ZN5doris17NumComparisonImplIhhNS_9GreaterOpILNS_13PrimitiveTypeE2EEEE15constant_vectorEhRKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERS9_ Unexecuted instantiation: _ZN5doris17NumComparisonImplINS_11DateV2ValueINS_15DateV2ValueTypeEEES3_NS_9GreaterOpILNS_13PrimitiveTypeE25EEEE15constant_vectorES3_RKNS_8PODArrayIS3_Lm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERNS8_IhLm4096ESB_Lm16ELm15EEE Unexecuted instantiation: _ZN5doris17NumComparisonImplINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEES3_NS_9GreaterOpILNS_13PrimitiveTypeE26EEEE15constant_vectorES3_RKNS_8PODArrayIS3_Lm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERNS8_IhLm4096ESB_Lm16ELm15EEE Unexecuted instantiation: _ZN5doris17NumComparisonImplINS_16TimestampTzValueES1_NS_9GreaterOpILNS_13PrimitiveTypeE42EEEE15constant_vectorES1_RKNS_8PODArrayIS1_Lm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERNS6_IhLm4096ES9_Lm16ELm15EEE _ZN5doris17NumComparisonImplIaaNS_9GreaterOpILNS_13PrimitiveTypeE3EEEE15constant_vectorEaRKNS_8PODArrayIaLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 100 | 246 | static void constant_vector(A a, const PaddedPODArray<B>& b, PaddedPODArray<UInt8>& c) { | 101 | 246 | NumComparisonImpl<B, A, typename Op::SymmetricOp>::vector_constant(b, a, c); | 102 | 246 | } |
_ZN5doris17NumComparisonImplIssNS_9GreaterOpILNS_13PrimitiveTypeE4EEEE15constant_vectorEsRKNS_8PODArrayIsLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 100 | 240 | static void constant_vector(A a, const PaddedPODArray<B>& b, PaddedPODArray<UInt8>& c) { | 101 | 240 | NumComparisonImpl<B, A, typename Op::SymmetricOp>::vector_constant(b, a, c); | 102 | 240 | } |
_ZN5doris17NumComparisonImplIiiNS_9GreaterOpILNS_13PrimitiveTypeE5EEEE15constant_vectorEiRKNS_8PODArrayIiLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 100 | 62.5k | static void constant_vector(A a, const PaddedPODArray<B>& b, PaddedPODArray<UInt8>& c) { | 101 | 62.5k | NumComparisonImpl<B, A, typename Op::SymmetricOp>::vector_constant(b, a, c); | 102 | 62.5k | } |
_ZN5doris17NumComparisonImplIllNS_9GreaterOpILNS_13PrimitiveTypeE6EEEE15constant_vectorElRKNS_8PODArrayIlLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 100 | 509 | static void constant_vector(A a, const PaddedPODArray<B>& b, PaddedPODArray<UInt8>& c) { | 101 | 509 | NumComparisonImpl<B, A, typename Op::SymmetricOp>::vector_constant(b, a, c); | 102 | 509 | } |
_ZN5doris17NumComparisonImplInnNS_9GreaterOpILNS_13PrimitiveTypeE7EEEE15constant_vectorEnRKNS_8PODArrayInLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 100 | 43 | static void constant_vector(A a, const PaddedPODArray<B>& b, PaddedPODArray<UInt8>& c) { | 101 | 43 | NumComparisonImpl<B, A, typename Op::SymmetricOp>::vector_constant(b, a, c); | 102 | 43 | } |
Unexecuted instantiation: _ZN5doris17NumComparisonImplIjjNS_9GreaterOpILNS_13PrimitiveTypeE36EEEE15constant_vectorEjRKNS_8PODArrayIjLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERNS5_IhLm4096ES8_Lm16ELm15EEE Unexecuted instantiation: _ZN5doris17NumComparisonImplIooNS_9GreaterOpILNS_13PrimitiveTypeE37EEEE15constant_vectorEoRKNS_8PODArrayIoLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERNS5_IhLm4096ES8_Lm16ELm15EEE Unexecuted instantiation: _ZN5doris17NumComparisonImplIffNS_9GreaterOpILNS_13PrimitiveTypeE8EEEE15constant_vectorEfRKNS_8PODArrayIfLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERNS5_IhLm4096ES8_Lm16ELm15EEE Unexecuted instantiation: _ZN5doris17NumComparisonImplIddNS_9GreaterOpILNS_13PrimitiveTypeE9EEEE15constant_vectorEdRKNS_8PODArrayIdLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERNS5_IhLm4096ES8_Lm16ELm15EEE Unexecuted instantiation: _ZN5doris17NumComparisonImplIddNS_9GreaterOpILNS_13PrimitiveTypeE27EEEE15constant_vectorEdRKNS_8PODArrayIdLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERNS5_IhLm4096ES8_Lm16ELm15EEE Unexecuted instantiation: _ZN5doris17NumComparisonImplIhhNS_17GreaterOrEqualsOpILNS_13PrimitiveTypeE2EEEE15constant_vectorEhRKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERS9_ _ZN5doris17NumComparisonImplINS_11DateV2ValueINS_15DateV2ValueTypeEEES3_NS_17GreaterOrEqualsOpILNS_13PrimitiveTypeE25EEEE15constant_vectorES3_RKNS_8PODArrayIS3_Lm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERNS8_IhLm4096ESB_Lm16ELm15EEE Line | Count | Source | 100 | 6 | static void constant_vector(A a, const PaddedPODArray<B>& b, PaddedPODArray<UInt8>& c) { | 101 | 6 | NumComparisonImpl<B, A, typename Op::SymmetricOp>::vector_constant(b, a, c); | 102 | 6 | } |
Unexecuted instantiation: _ZN5doris17NumComparisonImplINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEES3_NS_17GreaterOrEqualsOpILNS_13PrimitiveTypeE26EEEE15constant_vectorES3_RKNS_8PODArrayIS3_Lm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERNS8_IhLm4096ESB_Lm16ELm15EEE Unexecuted instantiation: _ZN5doris17NumComparisonImplINS_16TimestampTzValueES1_NS_17GreaterOrEqualsOpILNS_13PrimitiveTypeE42EEEE15constant_vectorES1_RKNS_8PODArrayIS1_Lm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERNS6_IhLm4096ES9_Lm16ELm15EEE Unexecuted instantiation: _ZN5doris17NumComparisonImplIaaNS_17GreaterOrEqualsOpILNS_13PrimitiveTypeE3EEEE15constant_vectorEaRKNS_8PODArrayIaLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERNS5_IhLm4096ES8_Lm16ELm15EEE Unexecuted instantiation: _ZN5doris17NumComparisonImplIssNS_17GreaterOrEqualsOpILNS_13PrimitiveTypeE4EEEE15constant_vectorEsRKNS_8PODArrayIsLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERNS5_IhLm4096ES8_Lm16ELm15EEE Unexecuted instantiation: _ZN5doris17NumComparisonImplIiiNS_17GreaterOrEqualsOpILNS_13PrimitiveTypeE5EEEE15constant_vectorEiRKNS_8PODArrayIiLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERNS5_IhLm4096ES8_Lm16ELm15EEE Unexecuted instantiation: _ZN5doris17NumComparisonImplIllNS_17GreaterOrEqualsOpILNS_13PrimitiveTypeE6EEEE15constant_vectorElRKNS_8PODArrayIlLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERNS5_IhLm4096ES8_Lm16ELm15EEE Unexecuted instantiation: _ZN5doris17NumComparisonImplInnNS_17GreaterOrEqualsOpILNS_13PrimitiveTypeE7EEEE15constant_vectorEnRKNS_8PODArrayInLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERNS5_IhLm4096ES8_Lm16ELm15EEE Unexecuted instantiation: _ZN5doris17NumComparisonImplIjjNS_17GreaterOrEqualsOpILNS_13PrimitiveTypeE36EEEE15constant_vectorEjRKNS_8PODArrayIjLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERNS5_IhLm4096ES8_Lm16ELm15EEE Unexecuted instantiation: _ZN5doris17NumComparisonImplIooNS_17GreaterOrEqualsOpILNS_13PrimitiveTypeE37EEEE15constant_vectorEoRKNS_8PODArrayIoLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERNS5_IhLm4096ES8_Lm16ELm15EEE Unexecuted instantiation: _ZN5doris17NumComparisonImplIffNS_17GreaterOrEqualsOpILNS_13PrimitiveTypeE8EEEE15constant_vectorEfRKNS_8PODArrayIfLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERNS5_IhLm4096ES8_Lm16ELm15EEE Unexecuted instantiation: _ZN5doris17NumComparisonImplIddNS_17GreaterOrEqualsOpILNS_13PrimitiveTypeE9EEEE15constant_vectorEdRKNS_8PODArrayIdLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERNS5_IhLm4096ES8_Lm16ELm15EEE Unexecuted instantiation: _ZN5doris17NumComparisonImplIddNS_17GreaterOrEqualsOpILNS_13PrimitiveTypeE27EEEE15constant_vectorEdRKNS_8PODArrayIdLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERNS5_IhLm4096ES8_Lm16ELm15EEE Unexecuted instantiation: _ZN5doris17NumComparisonImplIhhNS_6LessOpILNS_13PrimitiveTypeE2EEEE15constant_vectorEhRKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERS9_ Unexecuted instantiation: _ZN5doris17NumComparisonImplINS_11DateV2ValueINS_15DateV2ValueTypeEEES3_NS_6LessOpILNS_13PrimitiveTypeE25EEEE15constant_vectorES3_RKNS_8PODArrayIS3_Lm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERNS8_IhLm4096ESB_Lm16ELm15EEE Unexecuted instantiation: _ZN5doris17NumComparisonImplINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEES3_NS_6LessOpILNS_13PrimitiveTypeE26EEEE15constant_vectorES3_RKNS_8PODArrayIS3_Lm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERNS8_IhLm4096ESB_Lm16ELm15EEE Unexecuted instantiation: _ZN5doris17NumComparisonImplINS_16TimestampTzValueES1_NS_6LessOpILNS_13PrimitiveTypeE42EEEE15constant_vectorES1_RKNS_8PODArrayIS1_Lm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERNS6_IhLm4096ES9_Lm16ELm15EEE _ZN5doris17NumComparisonImplIaaNS_6LessOpILNS_13PrimitiveTypeE3EEEE15constant_vectorEaRKNS_8PODArrayIaLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 100 | 264 | static void constant_vector(A a, const PaddedPODArray<B>& b, PaddedPODArray<UInt8>& c) { | 101 | 264 | NumComparisonImpl<B, A, typename Op::SymmetricOp>::vector_constant(b, a, c); | 102 | 264 | } |
Unexecuted instantiation: _ZN5doris17NumComparisonImplIssNS_6LessOpILNS_13PrimitiveTypeE4EEEE15constant_vectorEsRKNS_8PODArrayIsLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERNS5_IhLm4096ES8_Lm16ELm15EEE _ZN5doris17NumComparisonImplIiiNS_6LessOpILNS_13PrimitiveTypeE5EEEE15constant_vectorEiRKNS_8PODArrayIiLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 100 | 192 | static void constant_vector(A a, const PaddedPODArray<B>& b, PaddedPODArray<UInt8>& c) { | 101 | 192 | NumComparisonImpl<B, A, typename Op::SymmetricOp>::vector_constant(b, a, c); | 102 | 192 | } |
_ZN5doris17NumComparisonImplIllNS_6LessOpILNS_13PrimitiveTypeE6EEEE15constant_vectorElRKNS_8PODArrayIlLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 100 | 73 | static void constant_vector(A a, const PaddedPODArray<B>& b, PaddedPODArray<UInt8>& c) { | 101 | 73 | NumComparisonImpl<B, A, typename Op::SymmetricOp>::vector_constant(b, a, c); | 102 | 73 | } |
_ZN5doris17NumComparisonImplInnNS_6LessOpILNS_13PrimitiveTypeE7EEEE15constant_vectorEnRKNS_8PODArrayInLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 100 | 92 | static void constant_vector(A a, const PaddedPODArray<B>& b, PaddedPODArray<UInt8>& c) { | 101 | 92 | NumComparisonImpl<B, A, typename Op::SymmetricOp>::vector_constant(b, a, c); | 102 | 92 | } |
Unexecuted instantiation: _ZN5doris17NumComparisonImplIjjNS_6LessOpILNS_13PrimitiveTypeE36EEEE15constant_vectorEjRKNS_8PODArrayIjLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERNS5_IhLm4096ES8_Lm16ELm15EEE Unexecuted instantiation: _ZN5doris17NumComparisonImplIooNS_6LessOpILNS_13PrimitiveTypeE37EEEE15constant_vectorEoRKNS_8PODArrayIoLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERNS5_IhLm4096ES8_Lm16ELm15EEE Unexecuted instantiation: _ZN5doris17NumComparisonImplIffNS_6LessOpILNS_13PrimitiveTypeE8EEEE15constant_vectorEfRKNS_8PODArrayIfLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERNS5_IhLm4096ES8_Lm16ELm15EEE Unexecuted instantiation: _ZN5doris17NumComparisonImplIddNS_6LessOpILNS_13PrimitiveTypeE9EEEE15constant_vectorEdRKNS_8PODArrayIdLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERNS5_IhLm4096ES8_Lm16ELm15EEE Unexecuted instantiation: _ZN5doris17NumComparisonImplIddNS_6LessOpILNS_13PrimitiveTypeE27EEEE15constant_vectorEdRKNS_8PODArrayIdLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERNS5_IhLm4096ES8_Lm16ELm15EEE Unexecuted instantiation: _ZN5doris17NumComparisonImplIhhNS_14LessOrEqualsOpILNS_13PrimitiveTypeE2EEEE15constant_vectorEhRKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERS9_ _ZN5doris17NumComparisonImplINS_11DateV2ValueINS_15DateV2ValueTypeEEES3_NS_14LessOrEqualsOpILNS_13PrimitiveTypeE25EEEE15constant_vectorES3_RKNS_8PODArrayIS3_Lm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERNS8_IhLm4096ESB_Lm16ELm15EEE Line | Count | Source | 100 | 5 | static void constant_vector(A a, const PaddedPODArray<B>& b, PaddedPODArray<UInt8>& c) { | 101 | 5 | NumComparisonImpl<B, A, typename Op::SymmetricOp>::vector_constant(b, a, c); | 102 | 5 | } |
Unexecuted instantiation: _ZN5doris17NumComparisonImplINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEES3_NS_14LessOrEqualsOpILNS_13PrimitiveTypeE26EEEE15constant_vectorES3_RKNS_8PODArrayIS3_Lm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERNS8_IhLm4096ESB_Lm16ELm15EEE Unexecuted instantiation: _ZN5doris17NumComparisonImplINS_16TimestampTzValueES1_NS_14LessOrEqualsOpILNS_13PrimitiveTypeE42EEEE15constant_vectorES1_RKNS_8PODArrayIS1_Lm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERNS6_IhLm4096ES9_Lm16ELm15EEE Unexecuted instantiation: _ZN5doris17NumComparisonImplIaaNS_14LessOrEqualsOpILNS_13PrimitiveTypeE3EEEE15constant_vectorEaRKNS_8PODArrayIaLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERNS5_IhLm4096ES8_Lm16ELm15EEE Unexecuted instantiation: _ZN5doris17NumComparisonImplIssNS_14LessOrEqualsOpILNS_13PrimitiveTypeE4EEEE15constant_vectorEsRKNS_8PODArrayIsLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERNS5_IhLm4096ES8_Lm16ELm15EEE _ZN5doris17NumComparisonImplIiiNS_14LessOrEqualsOpILNS_13PrimitiveTypeE5EEEE15constant_vectorEiRKNS_8PODArrayIiLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 100 | 574 | static void constant_vector(A a, const PaddedPODArray<B>& b, PaddedPODArray<UInt8>& c) { | 101 | 574 | NumComparisonImpl<B, A, typename Op::SymmetricOp>::vector_constant(b, a, c); | 102 | 574 | } |
_ZN5doris17NumComparisonImplIllNS_14LessOrEqualsOpILNS_13PrimitiveTypeE6EEEE15constant_vectorElRKNS_8PODArrayIlLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 100 | 48 | static void constant_vector(A a, const PaddedPODArray<B>& b, PaddedPODArray<UInt8>& c) { | 101 | 48 | NumComparisonImpl<B, A, typename Op::SymmetricOp>::vector_constant(b, a, c); | 102 | 48 | } |
Unexecuted instantiation: _ZN5doris17NumComparisonImplInnNS_14LessOrEqualsOpILNS_13PrimitiveTypeE7EEEE15constant_vectorEnRKNS_8PODArrayInLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERNS5_IhLm4096ES8_Lm16ELm15EEE Unexecuted instantiation: _ZN5doris17NumComparisonImplIjjNS_14LessOrEqualsOpILNS_13PrimitiveTypeE36EEEE15constant_vectorEjRKNS_8PODArrayIjLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERNS5_IhLm4096ES8_Lm16ELm15EEE Unexecuted instantiation: _ZN5doris17NumComparisonImplIooNS_14LessOrEqualsOpILNS_13PrimitiveTypeE37EEEE15constant_vectorEoRKNS_8PODArrayIoLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERNS5_IhLm4096ES8_Lm16ELm15EEE Unexecuted instantiation: _ZN5doris17NumComparisonImplIffNS_14LessOrEqualsOpILNS_13PrimitiveTypeE8EEEE15constant_vectorEfRKNS_8PODArrayIfLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERNS5_IhLm4096ES8_Lm16ELm15EEE _ZN5doris17NumComparisonImplIddNS_14LessOrEqualsOpILNS_13PrimitiveTypeE9EEEE15constant_vectorEdRKNS_8PODArrayIdLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 100 | 1 | static void constant_vector(A a, const PaddedPODArray<B>& b, PaddedPODArray<UInt8>& c) { | 101 | 1 | NumComparisonImpl<B, A, typename Op::SymmetricOp>::vector_constant(b, a, c); | 102 | 1 | } |
Unexecuted instantiation: _ZN5doris17NumComparisonImplIddNS_14LessOrEqualsOpILNS_13PrimitiveTypeE27EEEE15constant_vectorEdRKNS_8PODArrayIdLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERNS5_IhLm4096ES8_Lm16ELm15EEE |
103 | | }; |
104 | | |
105 | | /// Generic version, implemented for columns of same type. |
106 | | template <typename Op> |
107 | | struct GenericComparisonImpl { |
108 | 9 | static void vector_vector(const IColumn& a, const IColumn& b, PaddedPODArray<UInt8>& c) { |
109 | 20 | for (size_t i = 0, size = a.size(); i < size; ++i) { |
110 | 11 | c[i] = Op::apply(a.compare_at(i, i, b, 1), 0); |
111 | 11 | } |
112 | 9 | } _ZN5doris21GenericComparisonImplINS_8EqualsOpILNS_13PrimitiveTypeE5EEEE13vector_vectorERKNS_7IColumnES7_RNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEE Line | Count | Source | 108 | 4 | static void vector_vector(const IColumn& a, const IColumn& b, PaddedPODArray<UInt8>& c) { | 109 | 10 | for (size_t i = 0, size = a.size(); i < size; ++i) { | 110 | 6 | c[i] = Op::apply(a.compare_at(i, i, b, 1), 0); | 111 | 6 | } | 112 | 4 | } |
Unexecuted instantiation: _ZN5doris21GenericComparisonImplINS_11NotEqualsOpILNS_13PrimitiveTypeE5EEEE13vector_vectorERKNS_7IColumnES7_RNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEE _ZN5doris21GenericComparisonImplINS_9GreaterOpILNS_13PrimitiveTypeE5EEEE13vector_vectorERKNS_7IColumnES7_RNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEE Line | Count | Source | 108 | 1 | static void vector_vector(const IColumn& a, const IColumn& b, PaddedPODArray<UInt8>& c) { | 109 | 2 | for (size_t i = 0, size = a.size(); i < size; ++i) { | 110 | 1 | c[i] = Op::apply(a.compare_at(i, i, b, 1), 0); | 111 | 1 | } | 112 | 1 | } |
_ZN5doris21GenericComparisonImplINS_17GreaterOrEqualsOpILNS_13PrimitiveTypeE5EEEE13vector_vectorERKNS_7IColumnES7_RNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEE Line | Count | Source | 108 | 1 | static void vector_vector(const IColumn& a, const IColumn& b, PaddedPODArray<UInt8>& c) { | 109 | 2 | for (size_t i = 0, size = a.size(); i < size; ++i) { | 110 | 1 | c[i] = Op::apply(a.compare_at(i, i, b, 1), 0); | 111 | 1 | } | 112 | 1 | } |
_ZN5doris21GenericComparisonImplINS_6LessOpILNS_13PrimitiveTypeE5EEEE13vector_vectorERKNS_7IColumnES7_RNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEE Line | Count | Source | 108 | 3 | static void vector_vector(const IColumn& a, const IColumn& b, PaddedPODArray<UInt8>& c) { | 109 | 6 | for (size_t i = 0, size = a.size(); i < size; ++i) { | 110 | 3 | c[i] = Op::apply(a.compare_at(i, i, b, 1), 0); | 111 | 3 | } | 112 | 3 | } |
Unexecuted instantiation: _ZN5doris21GenericComparisonImplINS_14LessOrEqualsOpILNS_13PrimitiveTypeE5EEEE13vector_vectorERKNS_7IColumnES7_RNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEE |
113 | | |
114 | 172 | static void vector_constant(const IColumn& a, const IColumn& b, PaddedPODArray<UInt8>& c) { |
115 | 172 | const auto& col_right = assert_cast<const ColumnConst&>(b).get_data_column(); |
116 | 611k | for (size_t i = 0, size = a.size(); i < size; ++i) { |
117 | 611k | c[i] = Op::apply(a.compare_at(i, 0, col_right, 1), 0); |
118 | 611k | } |
119 | 172 | } _ZN5doris21GenericComparisonImplINS_8EqualsOpILNS_13PrimitiveTypeE5EEEE15vector_constantERKNS_7IColumnES7_RNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEE Line | Count | Source | 114 | 13 | static void vector_constant(const IColumn& a, const IColumn& b, PaddedPODArray<UInt8>& c) { | 115 | 13 | const auto& col_right = assert_cast<const ColumnConst&>(b).get_data_column(); | 116 | 31 | for (size_t i = 0, size = a.size(); i < size; ++i) { | 117 | 18 | c[i] = Op::apply(a.compare_at(i, 0, col_right, 1), 0); | 118 | 18 | } | 119 | 13 | } |
_ZN5doris21GenericComparisonImplINS_11NotEqualsOpILNS_13PrimitiveTypeE5EEEE15vector_constantERKNS_7IColumnES7_RNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEE Line | Count | Source | 114 | 8 | static void vector_constant(const IColumn& a, const IColumn& b, PaddedPODArray<UInt8>& c) { | 115 | 8 | const auto& col_right = assert_cast<const ColumnConst&>(b).get_data_column(); | 116 | 16 | for (size_t i = 0, size = a.size(); i < size; ++i) { | 117 | 8 | c[i] = Op::apply(a.compare_at(i, 0, col_right, 1), 0); | 118 | 8 | } | 119 | 8 | } |
_ZN5doris21GenericComparisonImplINS_6LessOpILNS_13PrimitiveTypeE5EEEE15vector_constantERKNS_7IColumnES7_RNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEE Line | Count | Source | 114 | 8 | static void vector_constant(const IColumn& a, const IColumn& b, PaddedPODArray<UInt8>& c) { | 115 | 8 | const auto& col_right = assert_cast<const ColumnConst&>(b).get_data_column(); | 116 | 16 | for (size_t i = 0, size = a.size(); i < size; ++i) { | 117 | 8 | c[i] = Op::apply(a.compare_at(i, 0, col_right, 1), 0); | 118 | 8 | } | 119 | 8 | } |
_ZN5doris21GenericComparisonImplINS_9GreaterOpILNS_13PrimitiveTypeE5EEEE15vector_constantERKNS_7IColumnES7_RNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEE Line | Count | Source | 114 | 8 | static void vector_constant(const IColumn& a, const IColumn& b, PaddedPODArray<UInt8>& c) { | 115 | 8 | const auto& col_right = assert_cast<const ColumnConst&>(b).get_data_column(); | 116 | 16 | for (size_t i = 0, size = a.size(); i < size; ++i) { | 117 | 8 | c[i] = Op::apply(a.compare_at(i, 0, col_right, 1), 0); | 118 | 8 | } | 119 | 8 | } |
_ZN5doris21GenericComparisonImplINS_14LessOrEqualsOpILNS_13PrimitiveTypeE5EEEE15vector_constantERKNS_7IColumnES7_RNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEE Line | Count | Source | 114 | 69 | static void vector_constant(const IColumn& a, const IColumn& b, PaddedPODArray<UInt8>& c) { | 115 | 69 | const auto& col_right = assert_cast<const ColumnConst&>(b).get_data_column(); | 116 | 331k | for (size_t i = 0, size = a.size(); i < size; ++i) { | 117 | 331k | c[i] = Op::apply(a.compare_at(i, 0, col_right, 1), 0); | 118 | 331k | } | 119 | 69 | } |
_ZN5doris21GenericComparisonImplINS_17GreaterOrEqualsOpILNS_13PrimitiveTypeE5EEEE15vector_constantERKNS_7IColumnES7_RNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEE Line | Count | Source | 114 | 66 | static void vector_constant(const IColumn& a, const IColumn& b, PaddedPODArray<UInt8>& c) { | 115 | 66 | const auto& col_right = assert_cast<const ColumnConst&>(b).get_data_column(); | 116 | 280k | for (size_t i = 0, size = a.size(); i < size; ++i) { | 117 | 280k | c[i] = Op::apply(a.compare_at(i, 0, col_right, 1), 0); | 118 | 280k | } | 119 | 66 | } |
|
120 | | |
121 | 0 | static void constant_vector(const IColumn& a, const IColumn& b, PaddedPODArray<UInt8>& c) { |
122 | 0 | GenericComparisonImpl<typename Op::SymmetricOp>::vector_constant(b, a, c); |
123 | 0 | } Unexecuted instantiation: _ZN5doris21GenericComparisonImplINS_8EqualsOpILNS_13PrimitiveTypeE5EEEE15constant_vectorERKNS_7IColumnES7_RNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEE Unexecuted instantiation: _ZN5doris21GenericComparisonImplINS_11NotEqualsOpILNS_13PrimitiveTypeE5EEEE15constant_vectorERKNS_7IColumnES7_RNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEE Unexecuted instantiation: _ZN5doris21GenericComparisonImplINS_9GreaterOpILNS_13PrimitiveTypeE5EEEE15constant_vectorERKNS_7IColumnES7_RNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEE Unexecuted instantiation: _ZN5doris21GenericComparisonImplINS_17GreaterOrEqualsOpILNS_13PrimitiveTypeE5EEEE15constant_vectorERKNS_7IColumnES7_RNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEE Unexecuted instantiation: _ZN5doris21GenericComparisonImplINS_6LessOpILNS_13PrimitiveTypeE5EEEE15constant_vectorERKNS_7IColumnES7_RNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEE Unexecuted instantiation: _ZN5doris21GenericComparisonImplINS_14LessOrEqualsOpILNS_13PrimitiveTypeE5EEEE15constant_vectorERKNS_7IColumnES7_RNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEE |
124 | | }; |
125 | | |
126 | | template <typename Op> |
127 | | struct StringComparisonImpl { |
128 | | static void NO_INLINE string_vector_string_vector(const ColumnString::Chars& a_data, |
129 | | const ColumnString::Offsets& a_offsets, |
130 | | const ColumnString::Chars& b_data, |
131 | | const ColumnString::Offsets& b_offsets, |
132 | 725 | PaddedPODArray<UInt8>& c) { |
133 | 725 | size_t size = a_offsets.size(); |
134 | 725 | ColumnString::Offset prev_a_offset = 0; |
135 | 725 | ColumnString::Offset prev_b_offset = 0; |
136 | 725 | const auto* a_pos = a_data.data(); |
137 | 725 | const auto* b_pos = b_data.data(); |
138 | | |
139 | 2.17k | for (size_t i = 0; i < size; ++i) { |
140 | 1.45k | c[i] = Op::apply(memcmp_small_allow_overflow15( |
141 | 1.45k | a_pos + prev_a_offset, a_offsets[i] - prev_a_offset, |
142 | 1.45k | b_pos + prev_b_offset, b_offsets[i] - prev_b_offset), |
143 | 1.45k | 0); |
144 | | |
145 | 1.45k | prev_a_offset = a_offsets[i]; |
146 | 1.45k | prev_b_offset = b_offsets[i]; |
147 | 1.45k | } |
148 | 725 | } _ZN5doris20StringComparisonImplINS_9GreaterOpILNS_13PrimitiveTypeE5EEEE27string_vector_string_vectorERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERKNS5_IjLm4096ES8_Lm16ELm15EEESB_SE_RS9_ Line | Count | Source | 132 | 2 | PaddedPODArray<UInt8>& c) { | 133 | 2 | size_t size = a_offsets.size(); | 134 | 2 | ColumnString::Offset prev_a_offset = 0; | 135 | 2 | ColumnString::Offset prev_b_offset = 0; | 136 | 2 | const auto* a_pos = a_data.data(); | 137 | 2 | const auto* b_pos = b_data.data(); | 138 | | | 139 | 49 | for (size_t i = 0; i < size; ++i) { | 140 | 47 | c[i] = Op::apply(memcmp_small_allow_overflow15( | 141 | 47 | a_pos + prev_a_offset, a_offsets[i] - prev_a_offset, | 142 | 47 | b_pos + prev_b_offset, b_offsets[i] - prev_b_offset), | 143 | 47 | 0); | 144 | | | 145 | 47 | prev_a_offset = a_offsets[i]; | 146 | 47 | prev_b_offset = b_offsets[i]; | 147 | 47 | } | 148 | 2 | } |
_ZN5doris20StringComparisonImplINS_17GreaterOrEqualsOpILNS_13PrimitiveTypeE5EEEE27string_vector_string_vectorERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERKNS5_IjLm4096ES8_Lm16ELm15EEESB_SE_RS9_ Line | Count | Source | 132 | 122 | PaddedPODArray<UInt8>& c) { | 133 | 122 | size_t size = a_offsets.size(); | 134 | 122 | ColumnString::Offset prev_a_offset = 0; | 135 | 122 | ColumnString::Offset prev_b_offset = 0; | 136 | 122 | const auto* a_pos = a_data.data(); | 137 | 122 | const auto* b_pos = b_data.data(); | 138 | | | 139 | 402 | for (size_t i = 0; i < size; ++i) { | 140 | 280 | c[i] = Op::apply(memcmp_small_allow_overflow15( | 141 | 280 | a_pos + prev_a_offset, a_offsets[i] - prev_a_offset, | 142 | 280 | b_pos + prev_b_offset, b_offsets[i] - prev_b_offset), | 143 | 280 | 0); | 144 | | | 145 | 280 | prev_a_offset = a_offsets[i]; | 146 | 280 | prev_b_offset = b_offsets[i]; | 147 | 280 | } | 148 | 122 | } |
_ZN5doris20StringComparisonImplINS_6LessOpILNS_13PrimitiveTypeE5EEEE27string_vector_string_vectorERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERKNS5_IjLm4096ES8_Lm16ELm15EEESB_SE_RS9_ Line | Count | Source | 132 | 423 | PaddedPODArray<UInt8>& c) { | 133 | 423 | size_t size = a_offsets.size(); | 134 | 423 | ColumnString::Offset prev_a_offset = 0; | 135 | 423 | ColumnString::Offset prev_b_offset = 0; | 136 | 423 | const auto* a_pos = a_data.data(); | 137 | 423 | const auto* b_pos = b_data.data(); | 138 | | | 139 | 1.36k | for (size_t i = 0; i < size; ++i) { | 140 | 945 | c[i] = Op::apply(memcmp_small_allow_overflow15( | 141 | 945 | a_pos + prev_a_offset, a_offsets[i] - prev_a_offset, | 142 | 945 | b_pos + prev_b_offset, b_offsets[i] - prev_b_offset), | 143 | 945 | 0); | 144 | | | 145 | 945 | prev_a_offset = a_offsets[i]; | 146 | 945 | prev_b_offset = b_offsets[i]; | 147 | 945 | } | 148 | 423 | } |
_ZN5doris20StringComparisonImplINS_14LessOrEqualsOpILNS_13PrimitiveTypeE5EEEE27string_vector_string_vectorERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERKNS5_IjLm4096ES8_Lm16ELm15EEESB_SE_RS9_ Line | Count | Source | 132 | 178 | PaddedPODArray<UInt8>& c) { | 133 | 178 | size_t size = a_offsets.size(); | 134 | 178 | ColumnString::Offset prev_a_offset = 0; | 135 | 178 | ColumnString::Offset prev_b_offset = 0; | 136 | 178 | const auto* a_pos = a_data.data(); | 137 | 178 | const auto* b_pos = b_data.data(); | 138 | | | 139 | 356 | for (size_t i = 0; i < size; ++i) { | 140 | 178 | c[i] = Op::apply(memcmp_small_allow_overflow15( | 141 | 178 | a_pos + prev_a_offset, a_offsets[i] - prev_a_offset, | 142 | 178 | b_pos + prev_b_offset, b_offsets[i] - prev_b_offset), | 143 | 178 | 0); | 144 | | | 145 | 178 | prev_a_offset = a_offsets[i]; | 146 | 178 | prev_b_offset = b_offsets[i]; | 147 | 178 | } | 148 | 178 | } |
|
149 | | |
150 | | static void NO_INLINE string_vector_constant(const ColumnString::Chars& a_data, |
151 | | const ColumnString::Offsets& a_offsets, |
152 | | const ColumnString::Chars& b_data, |
153 | | ColumnString::Offset b_size, |
154 | 1.74k | PaddedPODArray<UInt8>& c) { |
155 | 1.74k | size_t size = a_offsets.size(); |
156 | 1.74k | ColumnString::Offset prev_a_offset = 0; |
157 | 1.74k | const auto* a_pos = a_data.data(); |
158 | 1.74k | const auto* b_pos = b_data.data(); |
159 | | |
160 | 1.98M | for (size_t i = 0; i < size; ++i) { |
161 | 1.97M | c[i] = Op::apply( |
162 | 1.97M | memcmp_small_allow_overflow15(a_pos + prev_a_offset, |
163 | 1.97M | a_offsets[i] - prev_a_offset, b_pos, b_size), |
164 | 1.97M | 0); |
165 | | |
166 | 1.97M | prev_a_offset = a_offsets[i]; |
167 | 1.97M | } |
168 | 1.74k | } _ZN5doris20StringComparisonImplINS_9GreaterOpILNS_13PrimitiveTypeE5EEEE22string_vector_constantERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERKNS5_IjLm4096ES8_Lm16ELm15EEESB_jRS9_ Line | Count | Source | 154 | 190 | PaddedPODArray<UInt8>& c) { | 155 | 190 | size_t size = a_offsets.size(); | 156 | 190 | ColumnString::Offset prev_a_offset = 0; | 157 | 190 | const auto* a_pos = a_data.data(); | 158 | 190 | const auto* b_pos = b_data.data(); | 159 | | | 160 | 601k | for (size_t i = 0; i < size; ++i) { | 161 | 601k | c[i] = Op::apply( | 162 | 601k | memcmp_small_allow_overflow15(a_pos + prev_a_offset, | 163 | 601k | a_offsets[i] - prev_a_offset, b_pos, b_size), | 164 | 601k | 0); | 165 | | | 166 | 601k | prev_a_offset = a_offsets[i]; | 167 | 601k | } | 168 | 190 | } |
_ZN5doris20StringComparisonImplINS_6LessOpILNS_13PrimitiveTypeE5EEEE22string_vector_constantERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERKNS5_IjLm4096ES8_Lm16ELm15EEESB_jRS9_ Line | Count | Source | 154 | 248 | PaddedPODArray<UInt8>& c) { | 155 | 248 | size_t size = a_offsets.size(); | 156 | 248 | ColumnString::Offset prev_a_offset = 0; | 157 | 248 | const auto* a_pos = a_data.data(); | 158 | 248 | const auto* b_pos = b_data.data(); | 159 | | | 160 | 73.2k | for (size_t i = 0; i < size; ++i) { | 161 | 73.0k | c[i] = Op::apply( | 162 | 73.0k | memcmp_small_allow_overflow15(a_pos + prev_a_offset, | 163 | 73.0k | a_offsets[i] - prev_a_offset, b_pos, b_size), | 164 | 73.0k | 0); | 165 | | | 166 | 73.0k | prev_a_offset = a_offsets[i]; | 167 | 73.0k | } | 168 | 248 | } |
_ZN5doris20StringComparisonImplINS_17GreaterOrEqualsOpILNS_13PrimitiveTypeE5EEEE22string_vector_constantERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERKNS5_IjLm4096ES8_Lm16ELm15EEESB_jRS9_ Line | Count | Source | 154 | 593 | PaddedPODArray<UInt8>& c) { | 155 | 593 | size_t size = a_offsets.size(); | 156 | 593 | ColumnString::Offset prev_a_offset = 0; | 157 | 593 | const auto* a_pos = a_data.data(); | 158 | 593 | const auto* b_pos = b_data.data(); | 159 | | | 160 | 699k | for (size_t i = 0; i < size; ++i) { | 161 | 699k | c[i] = Op::apply( | 162 | 699k | memcmp_small_allow_overflow15(a_pos + prev_a_offset, | 163 | 699k | a_offsets[i] - prev_a_offset, b_pos, b_size), | 164 | 699k | 0); | 165 | | | 166 | 699k | prev_a_offset = a_offsets[i]; | 167 | 699k | } | 168 | 593 | } |
_ZN5doris20StringComparisonImplINS_14LessOrEqualsOpILNS_13PrimitiveTypeE5EEEE22string_vector_constantERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERKNS5_IjLm4096ES8_Lm16ELm15EEESB_jRS9_ Line | Count | Source | 154 | 715 | PaddedPODArray<UInt8>& c) { | 155 | 715 | size_t size = a_offsets.size(); | 156 | 715 | ColumnString::Offset prev_a_offset = 0; | 157 | 715 | const auto* a_pos = a_data.data(); | 158 | 715 | const auto* b_pos = b_data.data(); | 159 | | | 160 | 605k | for (size_t i = 0; i < size; ++i) { | 161 | 604k | c[i] = Op::apply( | 162 | 604k | memcmp_small_allow_overflow15(a_pos + prev_a_offset, | 163 | 604k | a_offsets[i] - prev_a_offset, b_pos, b_size), | 164 | 604k | 0); | 165 | | | 166 | 604k | prev_a_offset = a_offsets[i]; | 167 | 604k | } | 168 | 715 | } |
|
169 | | |
170 | | static void constant_string_vector(const ColumnString::Chars& a_data, |
171 | | ColumnString::Offset a_size, |
172 | | const ColumnString::Chars& b_data, |
173 | | const ColumnString::Offsets& b_offsets, |
174 | 6 | PaddedPODArray<UInt8>& c) { |
175 | 6 | StringComparisonImpl<typename Op::SymmetricOp>::string_vector_constant(b_data, b_offsets, |
176 | 6 | a_data, a_size, c); |
177 | 6 | } Unexecuted instantiation: _ZN5doris20StringComparisonImplINS_9GreaterOpILNS_13PrimitiveTypeE5EEEE22constant_string_vectorERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEjSB_RKNS5_IjLm4096ES8_Lm16ELm15EEERS9_ Unexecuted instantiation: _ZN5doris20StringComparisonImplINS_17GreaterOrEqualsOpILNS_13PrimitiveTypeE5EEEE22constant_string_vectorERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEjSB_RKNS5_IjLm4096ES8_Lm16ELm15EEERS9_ _ZN5doris20StringComparisonImplINS_6LessOpILNS_13PrimitiveTypeE5EEEE22constant_string_vectorERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEjSB_RKNS5_IjLm4096ES8_Lm16ELm15EEERS9_ Line | Count | Source | 174 | 6 | PaddedPODArray<UInt8>& c) { | 175 | 6 | StringComparisonImpl<typename Op::SymmetricOp>::string_vector_constant(b_data, b_offsets, | 176 | 6 | a_data, a_size, c); | 177 | 6 | } |
Unexecuted instantiation: _ZN5doris20StringComparisonImplINS_14LessOrEqualsOpILNS_13PrimitiveTypeE5EEEE22constant_string_vectorERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEjSB_RKNS5_IjLm4096ES8_Lm16ELm15EEERS9_ |
178 | | }; |
179 | | |
180 | | template <bool positive> |
181 | | struct StringEqualsImpl { |
182 | | static void NO_INLINE string_vector_string_vector(const ColumnString::Chars& a_data, |
183 | | const ColumnString::Offsets& a_offsets, |
184 | | const ColumnString::Chars& b_data, |
185 | | const ColumnString::Offsets& b_offsets, |
186 | 2.53k | PaddedPODArray<UInt8>& c) { |
187 | 2.53k | size_t size = a_offsets.size(); |
188 | 2.53k | ColumnString::Offset prev_a_offset = 0; |
189 | 2.53k | ColumnString::Offset prev_b_offset = 0; |
190 | 2.53k | const auto* a_pos = a_data.data(); |
191 | 2.53k | const auto* b_pos = b_data.data(); |
192 | | |
193 | 5.56k | for (size_t i = 0; i < size; ++i) { |
194 | 3.02k | auto a_size = a_offsets[i] - prev_a_offset; |
195 | 3.02k | auto b_size = b_offsets[i] - prev_b_offset; |
196 | | |
197 | 3.02k | c[i] = positive == memequal_small_allow_overflow15(a_pos + prev_a_offset, a_size, |
198 | 3.02k | b_pos + prev_b_offset, b_size); |
199 | | |
200 | 3.02k | prev_a_offset = a_offsets[i]; |
201 | 3.02k | prev_b_offset = b_offsets[i]; |
202 | 3.02k | } |
203 | 2.53k | } _ZN5doris16StringEqualsImplILb1EE27string_vector_string_vectorERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERKNS2_IjLm4096ES5_Lm16ELm15EEES8_SB_RS6_ Line | Count | Source | 186 | 2.48k | PaddedPODArray<UInt8>& c) { | 187 | 2.48k | size_t size = a_offsets.size(); | 188 | 2.48k | ColumnString::Offset prev_a_offset = 0; | 189 | 2.48k | ColumnString::Offset prev_b_offset = 0; | 190 | 2.48k | const auto* a_pos = a_data.data(); | 191 | 2.48k | const auto* b_pos = b_data.data(); | 192 | | | 193 | 5.44k | for (size_t i = 0; i < size; ++i) { | 194 | 2.96k | auto a_size = a_offsets[i] - prev_a_offset; | 195 | 2.96k | auto b_size = b_offsets[i] - prev_b_offset; | 196 | | | 197 | 2.96k | c[i] = positive == memequal_small_allow_overflow15(a_pos + prev_a_offset, a_size, | 198 | 2.96k | b_pos + prev_b_offset, b_size); | 199 | | | 200 | 2.96k | prev_a_offset = a_offsets[i]; | 201 | 2.96k | prev_b_offset = b_offsets[i]; | 202 | 2.96k | } | 203 | 2.48k | } |
_ZN5doris16StringEqualsImplILb0EE27string_vector_string_vectorERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERKNS2_IjLm4096ES5_Lm16ELm15EEES8_SB_RS6_ Line | Count | Source | 186 | 52 | PaddedPODArray<UInt8>& c) { | 187 | 52 | size_t size = a_offsets.size(); | 188 | 52 | ColumnString::Offset prev_a_offset = 0; | 189 | 52 | ColumnString::Offset prev_b_offset = 0; | 190 | 52 | const auto* a_pos = a_data.data(); | 191 | 52 | const auto* b_pos = b_data.data(); | 192 | | | 193 | 113 | for (size_t i = 0; i < size; ++i) { | 194 | 61 | auto a_size = a_offsets[i] - prev_a_offset; | 195 | 61 | auto b_size = b_offsets[i] - prev_b_offset; | 196 | | | 197 | 61 | c[i] = positive == memequal_small_allow_overflow15(a_pos + prev_a_offset, a_size, | 198 | 61 | b_pos + prev_b_offset, b_size); | 199 | | | 200 | 61 | prev_a_offset = a_offsets[i]; | 201 | 61 | prev_b_offset = b_offsets[i]; | 202 | 61 | } | 203 | 52 | } |
|
204 | | |
205 | | static void NO_INLINE string_vector_constant(const ColumnString::Chars& a_data, |
206 | | const ColumnString::Offsets& a_offsets, |
207 | | const ColumnString::Chars& b_data, |
208 | | ColumnString::Offset b_size, |
209 | 26.0k | PaddedPODArray<UInt8>& c) { |
210 | 26.0k | size_t size = a_offsets.size(); |
211 | 26.0k | if (b_size == 0) { |
212 | 2 | auto* __restrict data = c.data(); |
213 | 2 | auto* __restrict offsets = a_offsets.data(); |
214 | | |
215 | 2 | ColumnString::Offset prev_a_offset = 0; |
216 | 10 | for (size_t i = 0; i < size; ++i) { |
217 | 8 | data[i] = positive ? (offsets[i] == prev_a_offset) : (offsets[i] != prev_a_offset); |
218 | 8 | prev_a_offset = offsets[i]; |
219 | 8 | } |
220 | 26.0k | } else { |
221 | 26.0k | ColumnString::Offset prev_a_offset = 0; |
222 | 26.0k | const auto* a_pos = a_data.data(); |
223 | 26.0k | const auto* b_pos = b_data.data(); |
224 | 12.6M | for (size_t i = 0; i < size; ++i) { |
225 | 12.6M | auto a_size = a_offsets[i] - prev_a_offset; |
226 | 12.6M | c[i] = positive == memequal_small_allow_overflow15(a_pos + prev_a_offset, a_size, |
227 | 12.6M | b_pos, b_size); |
228 | 12.6M | prev_a_offset = a_offsets[i]; |
229 | 12.6M | } |
230 | 26.0k | } |
231 | 26.0k | } _ZN5doris16StringEqualsImplILb1EE22string_vector_constantERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERKNS2_IjLm4096ES5_Lm16ELm15EEES8_jRS6_ Line | Count | Source | 209 | 23.5k | PaddedPODArray<UInt8>& c) { | 210 | 23.5k | size_t size = a_offsets.size(); | 211 | 23.5k | if (b_size == 0) { | 212 | 0 | auto* __restrict data = c.data(); | 213 | 0 | auto* __restrict offsets = a_offsets.data(); | 214 | |
| 215 | 0 | ColumnString::Offset prev_a_offset = 0; | 216 | 0 | for (size_t i = 0; i < size; ++i) { | 217 | 0 | data[i] = positive ? (offsets[i] == prev_a_offset) : (offsets[i] != prev_a_offset); | 218 | 0 | prev_a_offset = offsets[i]; | 219 | 0 | } | 220 | 23.5k | } else { | 221 | 23.5k | ColumnString::Offset prev_a_offset = 0; | 222 | 23.5k | const auto* a_pos = a_data.data(); | 223 | 23.5k | const auto* b_pos = b_data.data(); | 224 | 8.78M | for (size_t i = 0; i < size; ++i) { | 225 | 8.76M | auto a_size = a_offsets[i] - prev_a_offset; | 226 | 8.76M | c[i] = positive == memequal_small_allow_overflow15(a_pos + prev_a_offset, a_size, | 227 | 8.76M | b_pos, b_size); | 228 | 8.76M | prev_a_offset = a_offsets[i]; | 229 | 8.76M | } | 230 | 23.5k | } | 231 | 23.5k | } |
_ZN5doris16StringEqualsImplILb0EE22string_vector_constantERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERKNS2_IjLm4096ES5_Lm16ELm15EEES8_jRS6_ Line | Count | Source | 209 | 2.48k | PaddedPODArray<UInt8>& c) { | 210 | 2.48k | size_t size = a_offsets.size(); | 211 | 2.48k | if (b_size == 0) { | 212 | 2 | auto* __restrict data = c.data(); | 213 | 2 | auto* __restrict offsets = a_offsets.data(); | 214 | | | 215 | 2 | ColumnString::Offset prev_a_offset = 0; | 216 | 10 | for (size_t i = 0; i < size; ++i) { | 217 | 8 | data[i] = positive ? (offsets[i] == prev_a_offset) : (offsets[i] != prev_a_offset); | 218 | 8 | prev_a_offset = offsets[i]; | 219 | 8 | } | 220 | 2.48k | } else { | 221 | 2.48k | ColumnString::Offset prev_a_offset = 0; | 222 | 2.48k | const auto* a_pos = a_data.data(); | 223 | 2.48k | const auto* b_pos = b_data.data(); | 224 | 3.88M | for (size_t i = 0; i < size; ++i) { | 225 | 3.88M | auto a_size = a_offsets[i] - prev_a_offset; | 226 | 3.88M | c[i] = positive == memequal_small_allow_overflow15(a_pos + prev_a_offset, a_size, | 227 | 3.88M | b_pos, b_size); | 228 | 3.88M | prev_a_offset = a_offsets[i]; | 229 | 3.88M | } | 230 | 2.48k | } | 231 | 2.48k | } |
|
232 | | |
233 | | static void NO_INLINE constant_string_vector(const ColumnString::Chars& a_data, |
234 | | ColumnString::Offset a_size, |
235 | | const ColumnString::Chars& b_data, |
236 | | const ColumnString::Offsets& b_offsets, |
237 | 0 | PaddedPODArray<UInt8>& c) { |
238 | 0 | string_vector_constant(b_data, b_offsets, a_data, a_size, c); |
239 | 0 | } Unexecuted instantiation: _ZN5doris16StringEqualsImplILb1EE22constant_string_vectorERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEjS8_RKNS2_IjLm4096ES5_Lm16ELm15EEERS6_ Unexecuted instantiation: _ZN5doris16StringEqualsImplILb0EE22constant_string_vectorERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEjS8_RKNS2_IjLm4096ES5_Lm16ELm15EEERS6_ |
240 | | }; |
241 | | |
242 | | template <PrimitiveType PT> |
243 | | struct StringComparisonImpl<EqualsOp<PT>> : StringEqualsImpl<true> {}; |
244 | | |
245 | | template <PrimitiveType PT> |
246 | | struct StringComparisonImpl<NotEqualsOp<PT>> : StringEqualsImpl<false> {}; |
247 | | |
248 | | struct NameEquals { |
249 | | static constexpr auto name = "eq"; |
250 | | }; |
251 | | struct NameNotEquals { |
252 | | static constexpr auto name = "ne"; |
253 | | }; |
254 | | struct NameLess { |
255 | | static constexpr auto name = "lt"; |
256 | | }; |
257 | | struct NameGreater { |
258 | | static constexpr auto name = "gt"; |
259 | | }; |
260 | | struct NameLessOrEquals { |
261 | | static constexpr auto name = "le"; |
262 | | }; |
263 | | struct NameGreaterOrEquals { |
264 | | static constexpr auto name = "ge"; |
265 | | }; |
266 | | |
267 | | namespace comparison_zonemap_detail { |
268 | | enum class Op { |
269 | | EQ, |
270 | | NE, |
271 | | LT, |
272 | | LE, |
273 | | GT, |
274 | | GE, |
275 | | }; |
276 | | |
277 | 7 | inline Op symmetric_op(Op op) { |
278 | 7 | switch (op) { |
279 | 0 | case Op::EQ: |
280 | 0 | case Op::NE: |
281 | 0 | return op; |
282 | 5 | case Op::LT: |
283 | 5 | return Op::GT; |
284 | 0 | case Op::LE: |
285 | 0 | return Op::GE; |
286 | 0 | case Op::GT: |
287 | 0 | return Op::LT; |
288 | 2 | case Op::GE: |
289 | 2 | return Op::LE; |
290 | 7 | } |
291 | 0 | __builtin_unreachable(); |
292 | 7 | } |
293 | | |
294 | | inline ZoneMapFilterResult evaluate(const ZoneMapEvalContext& ctx, const VExprSPtrs& arguments, |
295 | 35.6k | Op op) { |
296 | 35.6k | auto slot_literal = expr_zonemap::extract_slot_and_literal(arguments); |
297 | | |
298 | 35.6k | auto slot_type = expr_zonemap::fetch_compatible_slot_type(ctx, slot_literal->slot_index, |
299 | 35.6k | slot_literal->slot_type); |
300 | 35.6k | if (slot_type == nullptr) { |
301 | 1 | return unsupported_zonemap_filter(ctx); |
302 | 1 | } |
303 | 35.6k | auto zone_map_ptr = ctx.zone_map(slot_literal->slot_index); |
304 | 35.6k | if (zone_map_ptr == nullptr) { |
305 | 73 | return unsupported_zonemap_filter(ctx); |
306 | 73 | } |
307 | 35.6k | const auto& zone_map = *zone_map_ptr; |
308 | 35.6k | if (!zone_map.has_not_null) { |
309 | 217 | return ZoneMapFilterResult::kNoMatch; |
310 | 217 | } |
311 | 35.4k | if (!expr_zonemap::range_stats_usable_for_zonemap(zone_map, slot_type)) { |
312 | 99 | return unsupported_zonemap_filter(ctx); |
313 | 99 | } |
314 | | |
315 | 35.3k | const auto effective_op = slot_literal->literal_on_left ? symmetric_op(op) : op; |
316 | 35.3k | const auto& literal = slot_literal->literal; |
317 | 35.3k | switch (effective_op) { |
318 | 9.53k | case Op::EQ: |
319 | 9.53k | return literal < zone_map.min_value || zone_map.max_value < literal |
320 | 9.53k | ? ZoneMapFilterResult::kNoMatch |
321 | 9.53k | : ZoneMapFilterResult::kMayMatch; |
322 | 1.11k | case Op::NE: |
323 | 1.11k | return zone_map.min_value == literal && zone_map.max_value == literal |
324 | 1.11k | ? ZoneMapFilterResult::kNoMatch |
325 | 1.11k | : ZoneMapFilterResult::kMayMatch; |
326 | 3.04k | case Op::LT: |
327 | 3.04k | return zone_map.min_value >= literal ? ZoneMapFilterResult::kNoMatch |
328 | 3.04k | : ZoneMapFilterResult::kMayMatch; |
329 | 9.56k | case Op::LE: |
330 | 9.56k | return zone_map.min_value > literal ? ZoneMapFilterResult::kNoMatch |
331 | 9.56k | : ZoneMapFilterResult::kMayMatch; |
332 | 5.11k | case Op::GT: |
333 | 5.11k | return zone_map.max_value <= literal ? ZoneMapFilterResult::kNoMatch |
334 | 5.11k | : ZoneMapFilterResult::kMayMatch; |
335 | 6.94k | case Op::GE: |
336 | 6.94k | return zone_map.max_value < literal ? ZoneMapFilterResult::kNoMatch |
337 | 6.94k | : ZoneMapFilterResult::kMayMatch; |
338 | 35.3k | } |
339 | | |
340 | | // keep this to avoid compile failure with g++. |
341 | 0 | __builtin_unreachable(); |
342 | 35.3k | } |
343 | | |
344 | 292k | inline bool can_evaluate(const VExprSPtrs& arguments) { |
345 | 292k | auto slot_literal = expr_zonemap::extract_slot_and_literal(arguments); |
346 | 292k | if (!slot_literal.has_value()) { |
347 | 42.0k | return false; |
348 | 42.0k | } |
349 | | |
350 | | // A NULL literal makes the comparison evaluate to NULL instead of a byte range predicate on |
351 | | // the slot. This zonemap evaluator only derives bounds from non-NULL literals, so reject this |
352 | | // shape here before evaluate_zonemap_filter is called. |
353 | 250k | if (slot_literal->literal.is_null()) { |
354 | 4 | return false; |
355 | 4 | } |
356 | | |
357 | 250k | DORIS_CHECK(slot_literal->slot_type != nullptr); |
358 | 250k | DORIS_CHECK(slot_literal->literal_type != nullptr); |
359 | 250k | if (!expr_zonemap::data_types_compatible(slot_literal->slot_type, slot_literal->literal_type)) { |
360 | | // The optimizer may generate a bare slot/literal comparison whose logical types differ |
361 | | // only by attributes such as DATETIMEV2 scale. Expr zonemap evaluates stored Field |
362 | | // values without running expression casts, so conservatively skip this optimization. |
363 | 19 | return false; |
364 | 19 | } |
365 | | |
366 | 250k | return true; |
367 | 250k | } |
368 | | |
369 | 8.58k | inline bool can_evaluate_equality(const VExprSPtrs& arguments, Op op) { |
370 | 8.58k | return op == Op::EQ && can_evaluate(arguments); |
371 | 8.58k | } |
372 | | |
373 | 208k | inline bool dictionary_value_matches(const Field& value, const Field& literal, Op op) { |
374 | 208k | switch (op) { |
375 | 53.8k | case Op::EQ: |
376 | 53.8k | return value == literal; |
377 | 4 | case Op::NE: |
378 | 4 | return value != literal; |
379 | 116 | case Op::LT: |
380 | 116 | return value < literal; |
381 | 148k | case Op::LE: |
382 | 148k | return value <= literal; |
383 | 6.01k | case Op::GT: |
384 | 6.01k | return value > literal; |
385 | 142 | case Op::GE: |
386 | 142 | return value >= literal; |
387 | 208k | } |
388 | 0 | __builtin_unreachable(); |
389 | 208k | } |
390 | | |
391 | | inline ZoneMapFilterResult evaluate_dictionary(const DictionaryEvalContext& ctx, |
392 | 154k | const VExprSPtrs& arguments, Op op) { |
393 | 154k | auto slot_literal = expr_zonemap::extract_slot_and_literal(arguments); |
394 | 154k | DORIS_CHECK(slot_literal.has_value()); |
395 | 154k | const auto* dictionary = ctx.slot(slot_literal->slot_index); |
396 | 155k | if (dictionary == nullptr || dictionary->data_type == nullptr) { |
397 | 0 | return ZoneMapFilterResult::kUnsupported; |
398 | 0 | } |
399 | 154k | DORIS_CHECK( |
400 | 154k | expr_zonemap::data_types_compatible(dictionary->data_type, slot_literal->slot_type)); |
401 | 154k | if (slot_literal->literal.is_null()) { |
402 | 0 | return ZoneMapFilterResult::kUnsupported; |
403 | 0 | } |
404 | 154k | const auto effective_op = slot_literal->literal_on_left ? symmetric_op(op) : op; |
405 | | // Compare typed Fields so dictionary filtering preserves the regular expression semantics for |
406 | | // strings, dates, decimals, floating-point edge cases, and every other supported logical type. |
407 | 154k | return std::ranges::any_of(dictionary->values, |
408 | 208k | [&](const Field& value) { |
409 | 208k | return dictionary_value_matches(value, slot_literal->literal, |
410 | 208k | effective_op); |
411 | 208k | }) |
412 | 154k | ? ZoneMapFilterResult::kMayMatch |
413 | 154k | : ZoneMapFilterResult::kNoMatch; |
414 | 154k | } |
415 | | |
416 | | inline ZoneMapFilterResult evaluate_bloom_filter(const BloomFilterEvalContext& ctx, |
417 | 14 | const VExprSPtrs& arguments, Op op) { |
418 | 14 | DORIS_CHECK(op == Op::EQ); |
419 | 14 | auto slot_literal = expr_zonemap::extract_slot_and_literal(arguments); |
420 | 14 | DORIS_CHECK(slot_literal.has_value()); |
421 | 14 | return expr_zonemap::eval_eq_bloom_filter(ctx, *slot_literal); |
422 | 14 | } |
423 | | |
424 | 479k | inline std::optional<Op> op_from_name(std::string_view name) { |
425 | 479k | if (name == NameEquals::name) { |
426 | 71.0k | return Op::EQ; |
427 | 71.0k | } |
428 | 408k | if (name == NameNotEquals::name) { |
429 | 7.39k | return Op::NE; |
430 | 7.39k | } |
431 | 401k | if (name == NameLess::name) { |
432 | 15.1k | return Op::LT; |
433 | 15.1k | } |
434 | 386k | if (name == NameLessOrEquals::name) { |
435 | 330k | return Op::LE; |
436 | 330k | } |
437 | 55.5k | if (name == NameGreater::name) { |
438 | 39.5k | return Op::GT; |
439 | 39.5k | } |
440 | 27.4k | if (name == NameGreaterOrEquals::name) { |
441 | 27.4k | return Op::GE; |
442 | 27.4k | } |
443 | 18.4E | return std::nullopt; |
444 | 16.0k | } |
445 | | } // namespace comparison_zonemap_detail |
446 | | |
447 | | template <template <PrimitiveType> class Op, typename Name> |
448 | | class FunctionComparison : public IFunction { |
449 | | public: |
450 | | static constexpr auto name = Name::name; |
451 | 576k | static FunctionPtr create() { return std::make_shared<FunctionComparison>(); }_ZN5doris18FunctionComparisonINS_8EqualsOpENS_10NameEqualsEE6createEv Line | Count | Source | 451 | 484k | static FunctionPtr create() { return std::make_shared<FunctionComparison>(); } |
_ZN5doris18FunctionComparisonINS_11NotEqualsOpENS_13NameNotEqualsEE6createEv Line | Count | Source | 451 | 2.77k | static FunctionPtr create() { return std::make_shared<FunctionComparison>(); } |
_ZN5doris18FunctionComparisonINS_9GreaterOpENS_11NameGreaterEE6createEv Line | Count | Source | 451 | 43.1k | static FunctionPtr create() { return std::make_shared<FunctionComparison>(); } |
_ZN5doris18FunctionComparisonINS_17GreaterOrEqualsOpENS_19NameGreaterOrEqualsEE6createEv Line | Count | Source | 451 | 15.6k | static FunctionPtr create() { return std::make_shared<FunctionComparison>(); } |
_ZN5doris18FunctionComparisonINS_6LessOpENS_8NameLessEE6createEv Line | Count | Source | 451 | 4.62k | static FunctionPtr create() { return std::make_shared<FunctionComparison>(); } |
_ZN5doris18FunctionComparisonINS_14LessOrEqualsOpENS_16NameLessOrEqualsEE6createEv Line | Count | Source | 451 | 26.5k | static FunctionPtr create() { return std::make_shared<FunctionComparison>(); } |
|
452 | | |
453 | 577k | FunctionComparison() = default; _ZN5doris18FunctionComparisonINS_8EqualsOpENS_10NameEqualsEEC2Ev Line | Count | Source | 453 | 484k | FunctionComparison() = default; |
_ZN5doris18FunctionComparisonINS_11NotEqualsOpENS_13NameNotEqualsEEC2Ev Line | Count | Source | 453 | 2.77k | FunctionComparison() = default; |
_ZN5doris18FunctionComparisonINS_9GreaterOpENS_11NameGreaterEEC2Ev Line | Count | Source | 453 | 43.1k | FunctionComparison() = default; |
_ZN5doris18FunctionComparisonINS_17GreaterOrEqualsOpENS_19NameGreaterOrEqualsEEC2Ev Line | Count | Source | 453 | 15.6k | FunctionComparison() = default; |
_ZN5doris18FunctionComparisonINS_6LessOpENS_8NameLessEEC2Ev Line | Count | Source | 453 | 4.62k | FunctionComparison() = default; |
_ZN5doris18FunctionComparisonINS_14LessOrEqualsOpENS_16NameLessOrEqualsEEC2Ev Line | Count | Source | 453 | 26.5k | FunctionComparison() = default; |
|
454 | | |
455 | 1.30M | double execute_cost() const override { return 0.5; }_ZNK5doris18FunctionComparisonINS_8EqualsOpENS_10NameEqualsEE12execute_costEv Line | Count | Source | 455 | 1.28M | double execute_cost() const override { return 0.5; } |
_ZNK5doris18FunctionComparisonINS_11NotEqualsOpENS_13NameNotEqualsEE12execute_costEv Line | Count | Source | 455 | 651 | double execute_cost() const override { return 0.5; } |
_ZNK5doris18FunctionComparisonINS_9GreaterOpENS_11NameGreaterEE12execute_costEv Line | Count | Source | 455 | 3.09k | double execute_cost() const override { return 0.5; } |
_ZNK5doris18FunctionComparisonINS_17GreaterOrEqualsOpENS_19NameGreaterOrEqualsEE12execute_costEv Line | Count | Source | 455 | 12.3k | double execute_cost() const override { return 0.5; } |
_ZNK5doris18FunctionComparisonINS_6LessOpENS_8NameLessEE12execute_costEv Line | Count | Source | 455 | 1.76k | double execute_cost() const override { return 0.5; } |
_ZNK5doris18FunctionComparisonINS_14LessOrEqualsOpENS_16NameLessOrEqualsEE12execute_costEv Line | Count | Source | 455 | 8.17k | double execute_cost() const override { return 0.5; } |
|
456 | | |
457 | | private: |
458 | | template <PrimitiveType PT> |
459 | | Status execute_num_type(Block& block, uint32_t result, const ColumnPtr& col_left_ptr, |
460 | 189k | const ColumnPtr& col_right_ptr) const { |
461 | 189k | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); |
462 | 189k | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); |
463 | | |
464 | 189k | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); |
465 | 189k | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); |
466 | | |
467 | 189k | DCHECK(!(left_is_const && right_is_const)); |
468 | | |
469 | 189k | if (!left_is_const && !right_is_const) { |
470 | 11.4k | auto col_res = ColumnUInt8::create(); |
471 | | |
472 | 11.4k | ColumnUInt8::Container& vec_res = col_res->get_data(); |
473 | 11.4k | vec_res.resize(col_left->get_data().size()); |
474 | 11.4k | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, |
475 | 11.4k | typename PrimitiveTypeTraits<PT>::CppType, |
476 | 11.4k | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), |
477 | 11.4k | vec_res); |
478 | | |
479 | 11.4k | block.replace_by_position(result, std::move(col_res)); |
480 | 178k | } else if (!left_is_const && right_is_const) { |
481 | 111k | auto col_res = ColumnUInt8::create(); |
482 | | |
483 | 111k | ColumnUInt8::Container& vec_res = col_res->get_data(); |
484 | 111k | vec_res.resize(col_left->size()); |
485 | 111k | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, |
486 | 111k | typename PrimitiveTypeTraits<PT>::CppType, |
487 | 111k | Op<PT>>::vector_constant(col_left->get_data(), |
488 | 111k | col_right->get_element(0), vec_res); |
489 | | |
490 | 111k | block.replace_by_position(result, std::move(col_res)); |
491 | 111k | } else if (left_is_const && !right_is_const) { |
492 | 66.8k | auto col_res = ColumnUInt8::create(); |
493 | | |
494 | 66.8k | ColumnUInt8::Container& vec_res = col_res->get_data(); |
495 | 66.8k | vec_res.resize(col_right->size()); |
496 | 66.8k | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, |
497 | 66.8k | typename PrimitiveTypeTraits<PT>::CppType, |
498 | 66.8k | Op<PT>>::constant_vector(col_left->get_element(0), |
499 | 66.8k | col_right->get_data(), vec_res); |
500 | | |
501 | 66.8k | block.replace_by_position(result, std::move(col_res)); |
502 | 66.8k | } |
503 | 189k | return Status::OK(); |
504 | 189k | } _ZNK5doris18FunctionComparisonINS_8EqualsOpENS_10NameEqualsEE16execute_num_typeILNS_13PrimitiveTypeE2EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 460 | 1.63k | const ColumnPtr& col_right_ptr) const { | 461 | 1.63k | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 462 | 1.63k | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 463 | | | 464 | 1.63k | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 465 | 1.63k | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 466 | | | 467 | 1.63k | DCHECK(!(left_is_const && right_is_const)); | 468 | | | 469 | 1.63k | if (!left_is_const && !right_is_const) { | 470 | 76 | auto col_res = ColumnUInt8::create(); | 471 | | | 472 | 76 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 473 | 76 | vec_res.resize(col_left->get_data().size()); | 474 | 76 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 475 | 76 | typename PrimitiveTypeTraits<PT>::CppType, | 476 | 76 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 477 | 76 | vec_res); | 478 | | | 479 | 76 | block.replace_by_position(result, std::move(col_res)); | 480 | 1.56k | } else if (!left_is_const && right_is_const) { | 481 | 1.56k | auto col_res = ColumnUInt8::create(); | 482 | | | 483 | 1.56k | ColumnUInt8::Container& vec_res = col_res->get_data(); | 484 | 1.56k | vec_res.resize(col_left->size()); | 485 | 1.56k | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 486 | 1.56k | typename PrimitiveTypeTraits<PT>::CppType, | 487 | 1.56k | Op<PT>>::vector_constant(col_left->get_data(), | 488 | 1.56k | col_right->get_element(0), vec_res); | 489 | | | 490 | 1.56k | block.replace_by_position(result, std::move(col_res)); | 491 | 1.56k | } else if (left_is_const && !right_is_const) { | 492 | 0 | auto col_res = ColumnUInt8::create(); | 493 | |
| 494 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 495 | 0 | vec_res.resize(col_right->size()); | 496 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 497 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 498 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 499 | 0 | col_right->get_data(), vec_res); | 500 | |
| 501 | 0 | block.replace_by_position(result, std::move(col_res)); | 502 | 0 | } | 503 | 1.63k | return Status::OK(); | 504 | 1.63k | } |
_ZNK5doris18FunctionComparisonINS_8EqualsOpENS_10NameEqualsEE16execute_num_typeILNS_13PrimitiveTypeE25EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 460 | 1.51k | const ColumnPtr& col_right_ptr) const { | 461 | 1.51k | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 462 | 1.51k | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 463 | | | 464 | 1.51k | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 465 | 1.51k | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 466 | | | 467 | 1.51k | DCHECK(!(left_is_const && right_is_const)); | 468 | | | 469 | 1.51k | if (!left_is_const && !right_is_const) { | 470 | 627 | auto col_res = ColumnUInt8::create(); | 471 | | | 472 | 627 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 473 | 627 | vec_res.resize(col_left->get_data().size()); | 474 | 627 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 475 | 627 | typename PrimitiveTypeTraits<PT>::CppType, | 476 | 627 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 477 | 627 | vec_res); | 478 | | | 479 | 627 | block.replace_by_position(result, std::move(col_res)); | 480 | 892 | } else if (!left_is_const && right_is_const) { | 481 | 892 | auto col_res = ColumnUInt8::create(); | 482 | | | 483 | 892 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 484 | 892 | vec_res.resize(col_left->size()); | 485 | 892 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 486 | 892 | typename PrimitiveTypeTraits<PT>::CppType, | 487 | 892 | Op<PT>>::vector_constant(col_left->get_data(), | 488 | 892 | col_right->get_element(0), vec_res); | 489 | | | 490 | 892 | block.replace_by_position(result, std::move(col_res)); | 491 | 18.4E | } else if (left_is_const && !right_is_const) { | 492 | 0 | auto col_res = ColumnUInt8::create(); | 493 | |
| 494 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 495 | 0 | vec_res.resize(col_right->size()); | 496 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 497 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 498 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 499 | 0 | col_right->get_data(), vec_res); | 500 | |
| 501 | 0 | block.replace_by_position(result, std::move(col_res)); | 502 | 0 | } | 503 | 1.51k | return Status::OK(); | 504 | 1.51k | } |
_ZNK5doris18FunctionComparisonINS_8EqualsOpENS_10NameEqualsEE16execute_num_typeILNS_13PrimitiveTypeE26EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 460 | 745 | const ColumnPtr& col_right_ptr) const { | 461 | 745 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 462 | 745 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 463 | | | 464 | 745 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 465 | 745 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 466 | | | 467 | 745 | DCHECK(!(left_is_const && right_is_const)); | 468 | | | 469 | 745 | if (!left_is_const && !right_is_const) { | 470 | 411 | auto col_res = ColumnUInt8::create(); | 471 | | | 472 | 411 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 473 | 411 | vec_res.resize(col_left->get_data().size()); | 474 | 411 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 475 | 411 | typename PrimitiveTypeTraits<PT>::CppType, | 476 | 411 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 477 | 411 | vec_res); | 478 | | | 479 | 411 | block.replace_by_position(result, std::move(col_res)); | 480 | 411 | } else if (!left_is_const && right_is_const) { | 481 | 333 | auto col_res = ColumnUInt8::create(); | 482 | | | 483 | 333 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 484 | 333 | vec_res.resize(col_left->size()); | 485 | 333 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 486 | 333 | typename PrimitiveTypeTraits<PT>::CppType, | 487 | 333 | Op<PT>>::vector_constant(col_left->get_data(), | 488 | 333 | col_right->get_element(0), vec_res); | 489 | | | 490 | 333 | block.replace_by_position(result, std::move(col_res)); | 491 | 333 | } else if (left_is_const && !right_is_const) { | 492 | 0 | auto col_res = ColumnUInt8::create(); | 493 | |
| 494 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 495 | 0 | vec_res.resize(col_right->size()); | 496 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 497 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 498 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 499 | 0 | col_right->get_data(), vec_res); | 500 | |
| 501 | 0 | block.replace_by_position(result, std::move(col_res)); | 502 | 0 | } | 503 | 745 | return Status::OK(); | 504 | 745 | } |
_ZNK5doris18FunctionComparisonINS_8EqualsOpENS_10NameEqualsEE16execute_num_typeILNS_13PrimitiveTypeE42EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 460 | 2 | const ColumnPtr& col_right_ptr) const { | 461 | 2 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 462 | 2 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 463 | | | 464 | 2 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 465 | 2 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 466 | | | 467 | 2 | DCHECK(!(left_is_const && right_is_const)); | 468 | | | 469 | 2 | if (!left_is_const && !right_is_const) { | 470 | 2 | auto col_res = ColumnUInt8::create(); | 471 | | | 472 | 2 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 473 | 2 | vec_res.resize(col_left->get_data().size()); | 474 | 2 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 475 | 2 | typename PrimitiveTypeTraits<PT>::CppType, | 476 | 2 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 477 | 2 | vec_res); | 478 | | | 479 | 2 | block.replace_by_position(result, std::move(col_res)); | 480 | 2 | } else if (!left_is_const && right_is_const) { | 481 | 0 | auto col_res = ColumnUInt8::create(); | 482 | |
| 483 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 484 | 0 | vec_res.resize(col_left->size()); | 485 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 486 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 487 | 0 | Op<PT>>::vector_constant(col_left->get_data(), | 488 | 0 | col_right->get_element(0), vec_res); | 489 | |
| 490 | 0 | block.replace_by_position(result, std::move(col_res)); | 491 | 0 | } else if (left_is_const && !right_is_const) { | 492 | 0 | auto col_res = ColumnUInt8::create(); | 493 | |
| 494 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 495 | 0 | vec_res.resize(col_right->size()); | 496 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 497 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 498 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 499 | 0 | col_right->get_data(), vec_res); | 500 | |
| 501 | 0 | block.replace_by_position(result, std::move(col_res)); | 502 | 0 | } | 503 | 2 | return Status::OK(); | 504 | 2 | } |
_ZNK5doris18FunctionComparisonINS_8EqualsOpENS_10NameEqualsEE16execute_num_typeILNS_13PrimitiveTypeE3EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 460 | 5.55k | const ColumnPtr& col_right_ptr) const { | 461 | 5.55k | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 462 | 5.55k | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 463 | | | 464 | 5.55k | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 465 | 5.55k | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 466 | | | 467 | 5.55k | DCHECK(!(left_is_const && right_is_const)); | 468 | | | 469 | 5.55k | if (!left_is_const && !right_is_const) { | 470 | 172 | auto col_res = ColumnUInt8::create(); | 471 | | | 472 | 172 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 473 | 172 | vec_res.resize(col_left->get_data().size()); | 474 | 172 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 475 | 172 | typename PrimitiveTypeTraits<PT>::CppType, | 476 | 172 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 477 | 172 | vec_res); | 478 | | | 479 | 172 | block.replace_by_position(result, std::move(col_res)); | 480 | 5.38k | } else if (!left_is_const && right_is_const) { | 481 | 5.06k | auto col_res = ColumnUInt8::create(); | 482 | | | 483 | 5.06k | ColumnUInt8::Container& vec_res = col_res->get_data(); | 484 | 5.06k | vec_res.resize(col_left->size()); | 485 | 5.06k | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 486 | 5.06k | typename PrimitiveTypeTraits<PT>::CppType, | 487 | 5.06k | Op<PT>>::vector_constant(col_left->get_data(), | 488 | 5.06k | col_right->get_element(0), vec_res); | 489 | | | 490 | 5.06k | block.replace_by_position(result, std::move(col_res)); | 491 | 5.06k | } else if (left_is_const && !right_is_const) { | 492 | 312 | auto col_res = ColumnUInt8::create(); | 493 | | | 494 | 312 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 495 | 312 | vec_res.resize(col_right->size()); | 496 | 312 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 497 | 312 | typename PrimitiveTypeTraits<PT>::CppType, | 498 | 312 | Op<PT>>::constant_vector(col_left->get_element(0), | 499 | 312 | col_right->get_data(), vec_res); | 500 | | | 501 | 312 | block.replace_by_position(result, std::move(col_res)); | 502 | 312 | } | 503 | 5.55k | return Status::OK(); | 504 | 5.55k | } |
_ZNK5doris18FunctionComparisonINS_8EqualsOpENS_10NameEqualsEE16execute_num_typeILNS_13PrimitiveTypeE4EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 460 | 811 | const ColumnPtr& col_right_ptr) const { | 461 | 811 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 462 | 811 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 463 | | | 464 | 811 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 465 | 811 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 466 | | | 467 | 811 | DCHECK(!(left_is_const && right_is_const)); | 468 | | | 469 | 811 | if (!left_is_const && !right_is_const) { | 470 | 102 | auto col_res = ColumnUInt8::create(); | 471 | | | 472 | 102 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 473 | 102 | vec_res.resize(col_left->get_data().size()); | 474 | 102 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 475 | 102 | typename PrimitiveTypeTraits<PT>::CppType, | 476 | 102 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 477 | 102 | vec_res); | 478 | | | 479 | 102 | block.replace_by_position(result, std::move(col_res)); | 480 | 709 | } else if (!left_is_const && right_is_const) { | 481 | 661 | auto col_res = ColumnUInt8::create(); | 482 | | | 483 | 661 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 484 | 661 | vec_res.resize(col_left->size()); | 485 | 661 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 486 | 661 | typename PrimitiveTypeTraits<PT>::CppType, | 487 | 661 | Op<PT>>::vector_constant(col_left->get_data(), | 488 | 661 | col_right->get_element(0), vec_res); | 489 | | | 490 | 661 | block.replace_by_position(result, std::move(col_res)); | 491 | 661 | } else if (left_is_const && !right_is_const) { | 492 | 48 | auto col_res = ColumnUInt8::create(); | 493 | | | 494 | 48 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 495 | 48 | vec_res.resize(col_right->size()); | 496 | 48 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 497 | 48 | typename PrimitiveTypeTraits<PT>::CppType, | 498 | 48 | Op<PT>>::constant_vector(col_left->get_element(0), | 499 | 48 | col_right->get_data(), vec_res); | 500 | | | 501 | 48 | block.replace_by_position(result, std::move(col_res)); | 502 | 48 | } | 503 | 811 | return Status::OK(); | 504 | 811 | } |
_ZNK5doris18FunctionComparisonINS_8EqualsOpENS_10NameEqualsEE16execute_num_typeILNS_13PrimitiveTypeE5EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 460 | 7.95k | const ColumnPtr& col_right_ptr) const { | 461 | 7.95k | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 462 | 7.95k | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 463 | | | 464 | 7.95k | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 465 | 7.95k | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 466 | | | 467 | 7.95k | DCHECK(!(left_is_const && right_is_const)); | 468 | | | 469 | 7.95k | if (!left_is_const && !right_is_const) { | 470 | 1.01k | auto col_res = ColumnUInt8::create(); | 471 | | | 472 | 1.01k | ColumnUInt8::Container& vec_res = col_res->get_data(); | 473 | 1.01k | vec_res.resize(col_left->get_data().size()); | 474 | 1.01k | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 475 | 1.01k | typename PrimitiveTypeTraits<PT>::CppType, | 476 | 1.01k | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 477 | 1.01k | vec_res); | 478 | | | 479 | 1.01k | block.replace_by_position(result, std::move(col_res)); | 480 | 6.94k | } else if (!left_is_const && right_is_const) { | 481 | 6.81k | auto col_res = ColumnUInt8::create(); | 482 | | | 483 | 6.81k | ColumnUInt8::Container& vec_res = col_res->get_data(); | 484 | 6.81k | vec_res.resize(col_left->size()); | 485 | 6.81k | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 486 | 6.81k | typename PrimitiveTypeTraits<PT>::CppType, | 487 | 6.81k | Op<PT>>::vector_constant(col_left->get_data(), | 488 | 6.81k | col_right->get_element(0), vec_res); | 489 | | | 490 | 6.81k | block.replace_by_position(result, std::move(col_res)); | 491 | 6.81k | } else if (left_is_const && !right_is_const) { | 492 | 130 | auto col_res = ColumnUInt8::create(); | 493 | | | 494 | 130 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 495 | 130 | vec_res.resize(col_right->size()); | 496 | 130 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 497 | 130 | typename PrimitiveTypeTraits<PT>::CppType, | 498 | 130 | Op<PT>>::constant_vector(col_left->get_element(0), | 499 | 130 | col_right->get_data(), vec_res); | 500 | | | 501 | 130 | block.replace_by_position(result, std::move(col_res)); | 502 | 130 | } | 503 | 7.95k | return Status::OK(); | 504 | 7.95k | } |
_ZNK5doris18FunctionComparisonINS_8EqualsOpENS_10NameEqualsEE16execute_num_typeILNS_13PrimitiveTypeE6EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 460 | 17.5k | const ColumnPtr& col_right_ptr) const { | 461 | 17.5k | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 462 | 17.5k | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 463 | | | 464 | 17.5k | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 465 | 17.5k | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 466 | | | 467 | 17.5k | DCHECK(!(left_is_const && right_is_const)); | 468 | | | 469 | 17.5k | if (!left_is_const && !right_is_const) { | 470 | 291 | auto col_res = ColumnUInt8::create(); | 471 | | | 472 | 291 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 473 | 291 | vec_res.resize(col_left->get_data().size()); | 474 | 291 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 475 | 291 | typename PrimitiveTypeTraits<PT>::CppType, | 476 | 291 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 477 | 291 | vec_res); | 478 | | | 479 | 291 | block.replace_by_position(result, std::move(col_res)); | 480 | 17.3k | } else if (!left_is_const && right_is_const) { | 481 | 16.5k | auto col_res = ColumnUInt8::create(); | 482 | | | 483 | 16.5k | ColumnUInt8::Container& vec_res = col_res->get_data(); | 484 | 16.5k | vec_res.resize(col_left->size()); | 485 | 16.5k | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 486 | 16.5k | typename PrimitiveTypeTraits<PT>::CppType, | 487 | 16.5k | Op<PT>>::vector_constant(col_left->get_data(), | 488 | 16.5k | col_right->get_element(0), vec_res); | 489 | | | 490 | 16.5k | block.replace_by_position(result, std::move(col_res)); | 491 | 16.5k | } else if (left_is_const && !right_is_const) { | 492 | 752 | auto col_res = ColumnUInt8::create(); | 493 | | | 494 | 752 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 495 | 752 | vec_res.resize(col_right->size()); | 496 | 752 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 497 | 752 | typename PrimitiveTypeTraits<PT>::CppType, | 498 | 752 | Op<PT>>::constant_vector(col_left->get_element(0), | 499 | 752 | col_right->get_data(), vec_res); | 500 | | | 501 | 752 | block.replace_by_position(result, std::move(col_res)); | 502 | 752 | } | 503 | 17.5k | return Status::OK(); | 504 | 17.5k | } |
_ZNK5doris18FunctionComparisonINS_8EqualsOpENS_10NameEqualsEE16execute_num_typeILNS_13PrimitiveTypeE7EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 460 | 155 | const ColumnPtr& col_right_ptr) const { | 461 | 155 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 462 | 155 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 463 | | | 464 | 155 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 465 | 155 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 466 | | | 467 | 155 | DCHECK(!(left_is_const && right_is_const)); | 468 | | | 469 | 155 | if (!left_is_const && !right_is_const) { | 470 | 88 | auto col_res = ColumnUInt8::create(); | 471 | | | 472 | 88 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 473 | 88 | vec_res.resize(col_left->get_data().size()); | 474 | 88 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 475 | 88 | typename PrimitiveTypeTraits<PT>::CppType, | 476 | 88 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 477 | 88 | vec_res); | 478 | | | 479 | 88 | block.replace_by_position(result, std::move(col_res)); | 480 | 88 | } else if (!left_is_const && right_is_const) { | 481 | 55 | auto col_res = ColumnUInt8::create(); | 482 | | | 483 | 55 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 484 | 55 | vec_res.resize(col_left->size()); | 485 | 55 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 486 | 55 | typename PrimitiveTypeTraits<PT>::CppType, | 487 | 55 | Op<PT>>::vector_constant(col_left->get_data(), | 488 | 55 | col_right->get_element(0), vec_res); | 489 | | | 490 | 55 | block.replace_by_position(result, std::move(col_res)); | 491 | 55 | } else if (left_is_const && !right_is_const) { | 492 | 12 | auto col_res = ColumnUInt8::create(); | 493 | | | 494 | 12 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 495 | 12 | vec_res.resize(col_right->size()); | 496 | 12 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 497 | 12 | typename PrimitiveTypeTraits<PT>::CppType, | 498 | 12 | Op<PT>>::constant_vector(col_left->get_element(0), | 499 | 12 | col_right->get_data(), vec_res); | 500 | | | 501 | 12 | block.replace_by_position(result, std::move(col_res)); | 502 | 12 | } | 503 | 155 | return Status::OK(); | 504 | 155 | } |
_ZNK5doris18FunctionComparisonINS_8EqualsOpENS_10NameEqualsEE16execute_num_typeILNS_13PrimitiveTypeE36EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 460 | 31 | const ColumnPtr& col_right_ptr) const { | 461 | 31 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 462 | 31 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 463 | | | 464 | 31 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 465 | 31 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 466 | | | 467 | 31 | DCHECK(!(left_is_const && right_is_const)); | 468 | | | 469 | 31 | if (!left_is_const && !right_is_const) { | 470 | 16 | auto col_res = ColumnUInt8::create(); | 471 | | | 472 | 16 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 473 | 16 | vec_res.resize(col_left->get_data().size()); | 474 | 16 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 475 | 16 | typename PrimitiveTypeTraits<PT>::CppType, | 476 | 16 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 477 | 16 | vec_res); | 478 | | | 479 | 16 | block.replace_by_position(result, std::move(col_res)); | 480 | 16 | } else if (!left_is_const && right_is_const) { | 481 | 15 | auto col_res = ColumnUInt8::create(); | 482 | | | 483 | 15 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 484 | 15 | vec_res.resize(col_left->size()); | 485 | 15 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 486 | 15 | typename PrimitiveTypeTraits<PT>::CppType, | 487 | 15 | Op<PT>>::vector_constant(col_left->get_data(), | 488 | 15 | col_right->get_element(0), vec_res); | 489 | | | 490 | 15 | block.replace_by_position(result, std::move(col_res)); | 491 | 15 | } else if (left_is_const && !right_is_const) { | 492 | 0 | auto col_res = ColumnUInt8::create(); | 493 | |
| 494 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 495 | 0 | vec_res.resize(col_right->size()); | 496 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 497 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 498 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 499 | 0 | col_right->get_data(), vec_res); | 500 | |
| 501 | 0 | block.replace_by_position(result, std::move(col_res)); | 502 | 0 | } | 503 | 31 | return Status::OK(); | 504 | 31 | } |
_ZNK5doris18FunctionComparisonINS_8EqualsOpENS_10NameEqualsEE16execute_num_typeILNS_13PrimitiveTypeE37EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 460 | 30 | const ColumnPtr& col_right_ptr) const { | 461 | 30 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 462 | 30 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 463 | | | 464 | 30 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 465 | 30 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 466 | | | 467 | 30 | DCHECK(!(left_is_const && right_is_const)); | 468 | | | 469 | 30 | if (!left_is_const && !right_is_const) { | 470 | 24 | auto col_res = ColumnUInt8::create(); | 471 | | | 472 | 24 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 473 | 24 | vec_res.resize(col_left->get_data().size()); | 474 | 24 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 475 | 24 | typename PrimitiveTypeTraits<PT>::CppType, | 476 | 24 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 477 | 24 | vec_res); | 478 | | | 479 | 24 | block.replace_by_position(result, std::move(col_res)); | 480 | 24 | } else if (!left_is_const && right_is_const) { | 481 | 6 | auto col_res = ColumnUInt8::create(); | 482 | | | 483 | 6 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 484 | 6 | vec_res.resize(col_left->size()); | 485 | 6 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 486 | 6 | typename PrimitiveTypeTraits<PT>::CppType, | 487 | 6 | Op<PT>>::vector_constant(col_left->get_data(), | 488 | 6 | col_right->get_element(0), vec_res); | 489 | | | 490 | 6 | block.replace_by_position(result, std::move(col_res)); | 491 | 6 | } else if (left_is_const && !right_is_const) { | 492 | 0 | auto col_res = ColumnUInt8::create(); | 493 | |
| 494 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 495 | 0 | vec_res.resize(col_right->size()); | 496 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 497 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 498 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 499 | 0 | col_right->get_data(), vec_res); | 500 | |
| 501 | 0 | block.replace_by_position(result, std::move(col_res)); | 502 | 0 | } | 503 | 30 | return Status::OK(); | 504 | 30 | } |
_ZNK5doris18FunctionComparisonINS_8EqualsOpENS_10NameEqualsEE16execute_num_typeILNS_13PrimitiveTypeE8EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 460 | 113 | const ColumnPtr& col_right_ptr) const { | 461 | 113 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 462 | 113 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 463 | | | 464 | 113 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 465 | 113 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 466 | | | 467 | 113 | DCHECK(!(left_is_const && right_is_const)); | 468 | | | 469 | 113 | if (!left_is_const && !right_is_const) { | 470 | 111 | auto col_res = ColumnUInt8::create(); | 471 | | | 472 | 111 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 473 | 111 | vec_res.resize(col_left->get_data().size()); | 474 | 111 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 475 | 111 | typename PrimitiveTypeTraits<PT>::CppType, | 476 | 111 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 477 | 111 | vec_res); | 478 | | | 479 | 111 | block.replace_by_position(result, std::move(col_res)); | 480 | 111 | } else if (!left_is_const && right_is_const) { | 481 | 2 | auto col_res = ColumnUInt8::create(); | 482 | | | 483 | 2 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 484 | 2 | vec_res.resize(col_left->size()); | 485 | 2 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 486 | 2 | typename PrimitiveTypeTraits<PT>::CppType, | 487 | 2 | Op<PT>>::vector_constant(col_left->get_data(), | 488 | 2 | col_right->get_element(0), vec_res); | 489 | | | 490 | 2 | block.replace_by_position(result, std::move(col_res)); | 491 | 2 | } else if (left_is_const && !right_is_const) { | 492 | 0 | auto col_res = ColumnUInt8::create(); | 493 | |
| 494 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 495 | 0 | vec_res.resize(col_right->size()); | 496 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 497 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 498 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 499 | 0 | col_right->get_data(), vec_res); | 500 | |
| 501 | 0 | block.replace_by_position(result, std::move(col_res)); | 502 | 0 | } | 503 | 113 | return Status::OK(); | 504 | 113 | } |
_ZNK5doris18FunctionComparisonINS_8EqualsOpENS_10NameEqualsEE16execute_num_typeILNS_13PrimitiveTypeE9EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 460 | 772 | const ColumnPtr& col_right_ptr) const { | 461 | 772 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 462 | 772 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 463 | | | 464 | 772 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 465 | 772 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 466 | | | 467 | 772 | DCHECK(!(left_is_const && right_is_const)); | 468 | | | 469 | 772 | if (!left_is_const && !right_is_const) { | 470 | 119 | auto col_res = ColumnUInt8::create(); | 471 | | | 472 | 119 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 473 | 119 | vec_res.resize(col_left->get_data().size()); | 474 | 119 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 475 | 119 | typename PrimitiveTypeTraits<PT>::CppType, | 476 | 119 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 477 | 119 | vec_res); | 478 | | | 479 | 119 | block.replace_by_position(result, std::move(col_res)); | 480 | 653 | } else if (!left_is_const && right_is_const) { | 481 | 653 | auto col_res = ColumnUInt8::create(); | 482 | | | 483 | 653 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 484 | 653 | vec_res.resize(col_left->size()); | 485 | 653 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 486 | 653 | typename PrimitiveTypeTraits<PT>::CppType, | 487 | 653 | Op<PT>>::vector_constant(col_left->get_data(), | 488 | 653 | col_right->get_element(0), vec_res); | 489 | | | 490 | 653 | block.replace_by_position(result, std::move(col_res)); | 491 | 653 | } else if (left_is_const && !right_is_const) { | 492 | 0 | auto col_res = ColumnUInt8::create(); | 493 | |
| 494 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 495 | 0 | vec_res.resize(col_right->size()); | 496 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 497 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 498 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 499 | 0 | col_right->get_data(), vec_res); | 500 | |
| 501 | 0 | block.replace_by_position(result, std::move(col_res)); | 502 | 0 | } | 503 | 772 | return Status::OK(); | 504 | 772 | } |
_ZNK5doris18FunctionComparisonINS_8EqualsOpENS_10NameEqualsEE16execute_num_typeILNS_13PrimitiveTypeE27EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 460 | 4 | const ColumnPtr& col_right_ptr) const { | 461 | 4 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 462 | 4 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 463 | | | 464 | 4 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 465 | 4 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 466 | | | 467 | 4 | DCHECK(!(left_is_const && right_is_const)); | 468 | | | 469 | 4 | if (!left_is_const && !right_is_const) { | 470 | 4 | auto col_res = ColumnUInt8::create(); | 471 | | | 472 | 4 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 473 | 4 | vec_res.resize(col_left->get_data().size()); | 474 | 4 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 475 | 4 | typename PrimitiveTypeTraits<PT>::CppType, | 476 | 4 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 477 | 4 | vec_res); | 478 | | | 479 | 4 | block.replace_by_position(result, std::move(col_res)); | 480 | 4 | } else if (!left_is_const && right_is_const) { | 481 | 0 | auto col_res = ColumnUInt8::create(); | 482 | |
| 483 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 484 | 0 | vec_res.resize(col_left->size()); | 485 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 486 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 487 | 0 | Op<PT>>::vector_constant(col_left->get_data(), | 488 | 0 | col_right->get_element(0), vec_res); | 489 | |
| 490 | 0 | block.replace_by_position(result, std::move(col_res)); | 491 | 0 | } else if (left_is_const && !right_is_const) { | 492 | 0 | auto col_res = ColumnUInt8::create(); | 493 | |
| 494 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 495 | 0 | vec_res.resize(col_right->size()); | 496 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 497 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 498 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 499 | 0 | col_right->get_data(), vec_res); | 500 | |
| 501 | 0 | block.replace_by_position(result, std::move(col_res)); | 502 | 0 | } | 503 | 4 | return Status::OK(); | 504 | 4 | } |
Unexecuted instantiation: _ZNK5doris18FunctionComparisonINS_11NotEqualsOpENS_13NameNotEqualsEE16execute_num_typeILNS_13PrimitiveTypeE2EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ _ZNK5doris18FunctionComparisonINS_11NotEqualsOpENS_13NameNotEqualsEE16execute_num_typeILNS_13PrimitiveTypeE25EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 460 | 82 | const ColumnPtr& col_right_ptr) const { | 461 | 82 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 462 | 82 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 463 | | | 464 | 82 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 465 | 82 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 466 | | | 467 | 82 | DCHECK(!(left_is_const && right_is_const)); | 468 | | | 469 | 82 | if (!left_is_const && !right_is_const) { | 470 | 47 | auto col_res = ColumnUInt8::create(); | 471 | | | 472 | 47 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 473 | 47 | vec_res.resize(col_left->get_data().size()); | 474 | 47 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 475 | 47 | typename PrimitiveTypeTraits<PT>::CppType, | 476 | 47 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 477 | 47 | vec_res); | 478 | | | 479 | 47 | block.replace_by_position(result, std::move(col_res)); | 480 | 47 | } else if (!left_is_const && right_is_const) { | 481 | 35 | auto col_res = ColumnUInt8::create(); | 482 | | | 483 | 35 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 484 | 35 | vec_res.resize(col_left->size()); | 485 | 35 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 486 | 35 | typename PrimitiveTypeTraits<PT>::CppType, | 487 | 35 | Op<PT>>::vector_constant(col_left->get_data(), | 488 | 35 | col_right->get_element(0), vec_res); | 489 | | | 490 | 35 | block.replace_by_position(result, std::move(col_res)); | 491 | 35 | } else if (left_is_const && !right_is_const) { | 492 | 0 | auto col_res = ColumnUInt8::create(); | 493 | |
| 494 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 495 | 0 | vec_res.resize(col_right->size()); | 496 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 497 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 498 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 499 | 0 | col_right->get_data(), vec_res); | 500 | |
| 501 | 0 | block.replace_by_position(result, std::move(col_res)); | 502 | 0 | } | 503 | 82 | return Status::OK(); | 504 | 82 | } |
_ZNK5doris18FunctionComparisonINS_11NotEqualsOpENS_13NameNotEqualsEE16execute_num_typeILNS_13PrimitiveTypeE26EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 460 | 4 | const ColumnPtr& col_right_ptr) const { | 461 | 4 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 462 | 4 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 463 | | | 464 | 4 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 465 | 4 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 466 | | | 467 | 4 | DCHECK(!(left_is_const && right_is_const)); | 468 | | | 469 | 4 | if (!left_is_const && !right_is_const) { | 470 | 0 | auto col_res = ColumnUInt8::create(); | 471 | |
| 472 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 473 | 0 | vec_res.resize(col_left->get_data().size()); | 474 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 475 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 476 | 0 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 477 | 0 | vec_res); | 478 | |
| 479 | 0 | block.replace_by_position(result, std::move(col_res)); | 480 | 4 | } else if (!left_is_const && right_is_const) { | 481 | 4 | auto col_res = ColumnUInt8::create(); | 482 | | | 483 | 4 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 484 | 4 | vec_res.resize(col_left->size()); | 485 | 4 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 486 | 4 | typename PrimitiveTypeTraits<PT>::CppType, | 487 | 4 | Op<PT>>::vector_constant(col_left->get_data(), | 488 | 4 | col_right->get_element(0), vec_res); | 489 | | | 490 | 4 | block.replace_by_position(result, std::move(col_res)); | 491 | 4 | } else if (left_is_const && !right_is_const) { | 492 | 0 | auto col_res = ColumnUInt8::create(); | 493 | |
| 494 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 495 | 0 | vec_res.resize(col_right->size()); | 496 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 497 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 498 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 499 | 0 | col_right->get_data(), vec_res); | 500 | |
| 501 | 0 | block.replace_by_position(result, std::move(col_res)); | 502 | 0 | } | 503 | 4 | return Status::OK(); | 504 | 4 | } |
Unexecuted instantiation: _ZNK5doris18FunctionComparisonINS_11NotEqualsOpENS_13NameNotEqualsEE16execute_num_typeILNS_13PrimitiveTypeE42EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ _ZNK5doris18FunctionComparisonINS_11NotEqualsOpENS_13NameNotEqualsEE16execute_num_typeILNS_13PrimitiveTypeE3EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 460 | 100 | const ColumnPtr& col_right_ptr) const { | 461 | 100 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 462 | 100 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 463 | | | 464 | 100 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 465 | 100 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 466 | | | 467 | 100 | DCHECK(!(left_is_const && right_is_const)); | 468 | | | 469 | 100 | if (!left_is_const && !right_is_const) { | 470 | 56 | auto col_res = ColumnUInt8::create(); | 471 | | | 472 | 56 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 473 | 56 | vec_res.resize(col_left->get_data().size()); | 474 | 56 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 475 | 56 | typename PrimitiveTypeTraits<PT>::CppType, | 476 | 56 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 477 | 56 | vec_res); | 478 | | | 479 | 56 | block.replace_by_position(result, std::move(col_res)); | 480 | 56 | } else if (!left_is_const && right_is_const) { | 481 | 44 | auto col_res = ColumnUInt8::create(); | 482 | | | 483 | 44 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 484 | 44 | vec_res.resize(col_left->size()); | 485 | 44 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 486 | 44 | typename PrimitiveTypeTraits<PT>::CppType, | 487 | 44 | Op<PT>>::vector_constant(col_left->get_data(), | 488 | 44 | col_right->get_element(0), vec_res); | 489 | | | 490 | 44 | block.replace_by_position(result, std::move(col_res)); | 491 | 44 | } else if (left_is_const && !right_is_const) { | 492 | 0 | auto col_res = ColumnUInt8::create(); | 493 | |
| 494 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 495 | 0 | vec_res.resize(col_right->size()); | 496 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 497 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 498 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 499 | 0 | col_right->get_data(), vec_res); | 500 | |
| 501 | 0 | block.replace_by_position(result, std::move(col_res)); | 502 | 0 | } | 503 | 100 | return Status::OK(); | 504 | 100 | } |
_ZNK5doris18FunctionComparisonINS_11NotEqualsOpENS_13NameNotEqualsEE16execute_num_typeILNS_13PrimitiveTypeE4EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 460 | 10 | const ColumnPtr& col_right_ptr) const { | 461 | 10 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 462 | 10 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 463 | | | 464 | 10 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 465 | 10 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 466 | | | 467 | 10 | DCHECK(!(left_is_const && right_is_const)); | 468 | | | 469 | 10 | if (!left_is_const && !right_is_const) { | 470 | 0 | auto col_res = ColumnUInt8::create(); | 471 | |
| 472 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 473 | 0 | vec_res.resize(col_left->get_data().size()); | 474 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 475 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 476 | 0 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 477 | 0 | vec_res); | 478 | |
| 479 | 0 | block.replace_by_position(result, std::move(col_res)); | 480 | 10 | } else if (!left_is_const && right_is_const) { | 481 | 10 | auto col_res = ColumnUInt8::create(); | 482 | | | 483 | 10 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 484 | 10 | vec_res.resize(col_left->size()); | 485 | 10 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 486 | 10 | typename PrimitiveTypeTraits<PT>::CppType, | 487 | 10 | Op<PT>>::vector_constant(col_left->get_data(), | 488 | 10 | col_right->get_element(0), vec_res); | 489 | | | 490 | 10 | block.replace_by_position(result, std::move(col_res)); | 491 | 10 | } else if (left_is_const && !right_is_const) { | 492 | 0 | auto col_res = ColumnUInt8::create(); | 493 | |
| 494 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 495 | 0 | vec_res.resize(col_right->size()); | 496 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 497 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 498 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 499 | 0 | col_right->get_data(), vec_res); | 500 | |
| 501 | 0 | block.replace_by_position(result, std::move(col_res)); | 502 | 0 | } | 503 | 10 | return Status::OK(); | 504 | 10 | } |
_ZNK5doris18FunctionComparisonINS_11NotEqualsOpENS_13NameNotEqualsEE16execute_num_typeILNS_13PrimitiveTypeE5EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 460 | 3.01k | const ColumnPtr& col_right_ptr) const { | 461 | 3.01k | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 462 | 3.01k | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 463 | | | 464 | 3.01k | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 465 | 3.01k | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 466 | | | 467 | 3.01k | DCHECK(!(left_is_const && right_is_const)); | 468 | | | 469 | 3.01k | if (!left_is_const && !right_is_const) { | 470 | 1.81k | auto col_res = ColumnUInt8::create(); | 471 | | | 472 | 1.81k | ColumnUInt8::Container& vec_res = col_res->get_data(); | 473 | 1.81k | vec_res.resize(col_left->get_data().size()); | 474 | 1.81k | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 475 | 1.81k | typename PrimitiveTypeTraits<PT>::CppType, | 476 | 1.81k | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 477 | 1.81k | vec_res); | 478 | | | 479 | 1.81k | block.replace_by_position(result, std::move(col_res)); | 480 | 1.81k | } else if (!left_is_const && right_is_const) { | 481 | 1.19k | auto col_res = ColumnUInt8::create(); | 482 | | | 483 | 1.19k | ColumnUInt8::Container& vec_res = col_res->get_data(); | 484 | 1.19k | vec_res.resize(col_left->size()); | 485 | 1.19k | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 486 | 1.19k | typename PrimitiveTypeTraits<PT>::CppType, | 487 | 1.19k | Op<PT>>::vector_constant(col_left->get_data(), | 488 | 1.19k | col_right->get_element(0), vec_res); | 489 | | | 490 | 1.19k | block.replace_by_position(result, std::move(col_res)); | 491 | 1.19k | } else if (left_is_const && !right_is_const) { | 492 | 0 | auto col_res = ColumnUInt8::create(); | 493 | |
| 494 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 495 | 0 | vec_res.resize(col_right->size()); | 496 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 497 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 498 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 499 | 0 | col_right->get_data(), vec_res); | 500 | |
| 501 | 0 | block.replace_by_position(result, std::move(col_res)); | 502 | 0 | } | 503 | 3.01k | return Status::OK(); | 504 | 3.01k | } |
_ZNK5doris18FunctionComparisonINS_11NotEqualsOpENS_13NameNotEqualsEE16execute_num_typeILNS_13PrimitiveTypeE6EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 460 | 3.06k | const ColumnPtr& col_right_ptr) const { | 461 | 3.06k | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 462 | 3.06k | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 463 | | | 464 | 3.06k | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 465 | 3.06k | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 466 | | | 467 | 3.06k | DCHECK(!(left_is_const && right_is_const)); | 468 | | | 469 | 3.06k | if (!left_is_const && !right_is_const) { | 470 | 359 | auto col_res = ColumnUInt8::create(); | 471 | | | 472 | 359 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 473 | 359 | vec_res.resize(col_left->get_data().size()); | 474 | 359 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 475 | 359 | typename PrimitiveTypeTraits<PT>::CppType, | 476 | 359 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 477 | 359 | vec_res); | 478 | | | 479 | 359 | block.replace_by_position(result, std::move(col_res)); | 480 | 2.70k | } else if (!left_is_const && right_is_const) { | 481 | 1.93k | auto col_res = ColumnUInt8::create(); | 482 | | | 483 | 1.93k | ColumnUInt8::Container& vec_res = col_res->get_data(); | 484 | 1.93k | vec_res.resize(col_left->size()); | 485 | 1.93k | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 486 | 1.93k | typename PrimitiveTypeTraits<PT>::CppType, | 487 | 1.93k | Op<PT>>::vector_constant(col_left->get_data(), | 488 | 1.93k | col_right->get_element(0), vec_res); | 489 | | | 490 | 1.93k | block.replace_by_position(result, std::move(col_res)); | 491 | 1.93k | } else if (left_is_const && !right_is_const) { | 492 | 764 | auto col_res = ColumnUInt8::create(); | 493 | | | 494 | 764 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 495 | 764 | vec_res.resize(col_right->size()); | 496 | 764 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 497 | 764 | typename PrimitiveTypeTraits<PT>::CppType, | 498 | 764 | Op<PT>>::constant_vector(col_left->get_element(0), | 499 | 764 | col_right->get_data(), vec_res); | 500 | | | 501 | 764 | block.replace_by_position(result, std::move(col_res)); | 502 | 764 | } | 503 | 3.06k | return Status::OK(); | 504 | 3.06k | } |
Unexecuted instantiation: _ZNK5doris18FunctionComparisonINS_11NotEqualsOpENS_13NameNotEqualsEE16execute_num_typeILNS_13PrimitiveTypeE7EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Unexecuted instantiation: _ZNK5doris18FunctionComparisonINS_11NotEqualsOpENS_13NameNotEqualsEE16execute_num_typeILNS_13PrimitiveTypeE36EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Unexecuted instantiation: _ZNK5doris18FunctionComparisonINS_11NotEqualsOpENS_13NameNotEqualsEE16execute_num_typeILNS_13PrimitiveTypeE37EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ _ZNK5doris18FunctionComparisonINS_11NotEqualsOpENS_13NameNotEqualsEE16execute_num_typeILNS_13PrimitiveTypeE8EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 460 | 48 | const ColumnPtr& col_right_ptr) const { | 461 | 48 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 462 | 48 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 463 | | | 464 | 48 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 465 | 48 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 466 | | | 467 | 48 | DCHECK(!(left_is_const && right_is_const)); | 468 | | | 469 | 48 | if (!left_is_const && !right_is_const) { | 470 | 20 | auto col_res = ColumnUInt8::create(); | 471 | | | 472 | 20 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 473 | 20 | vec_res.resize(col_left->get_data().size()); | 474 | 20 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 475 | 20 | typename PrimitiveTypeTraits<PT>::CppType, | 476 | 20 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 477 | 20 | vec_res); | 478 | | | 479 | 20 | block.replace_by_position(result, std::move(col_res)); | 480 | 28 | } else if (!left_is_const && right_is_const) { | 481 | 28 | auto col_res = ColumnUInt8::create(); | 482 | | | 483 | 28 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 484 | 28 | vec_res.resize(col_left->size()); | 485 | 28 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 486 | 28 | typename PrimitiveTypeTraits<PT>::CppType, | 487 | 28 | Op<PT>>::vector_constant(col_left->get_data(), | 488 | 28 | col_right->get_element(0), vec_res); | 489 | | | 490 | 28 | block.replace_by_position(result, std::move(col_res)); | 491 | 28 | } else if (left_is_const && !right_is_const) { | 492 | 0 | auto col_res = ColumnUInt8::create(); | 493 | |
| 494 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 495 | 0 | vec_res.resize(col_right->size()); | 496 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 497 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 498 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 499 | 0 | col_right->get_data(), vec_res); | 500 | |
| 501 | 0 | block.replace_by_position(result, std::move(col_res)); | 502 | 0 | } | 503 | 48 | return Status::OK(); | 504 | 48 | } |
_ZNK5doris18FunctionComparisonINS_11NotEqualsOpENS_13NameNotEqualsEE16execute_num_typeILNS_13PrimitiveTypeE9EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 460 | 60 | const ColumnPtr& col_right_ptr) const { | 461 | 60 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 462 | 60 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 463 | | | 464 | 60 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 465 | 60 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 466 | | | 467 | 60 | DCHECK(!(left_is_const && right_is_const)); | 468 | | | 469 | 60 | if (!left_is_const && !right_is_const) { | 470 | 20 | auto col_res = ColumnUInt8::create(); | 471 | | | 472 | 20 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 473 | 20 | vec_res.resize(col_left->get_data().size()); | 474 | 20 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 475 | 20 | typename PrimitiveTypeTraits<PT>::CppType, | 476 | 20 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 477 | 20 | vec_res); | 478 | | | 479 | 20 | block.replace_by_position(result, std::move(col_res)); | 480 | 40 | } else if (!left_is_const && right_is_const) { | 481 | 40 | auto col_res = ColumnUInt8::create(); | 482 | | | 483 | 40 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 484 | 40 | vec_res.resize(col_left->size()); | 485 | 40 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 486 | 40 | typename PrimitiveTypeTraits<PT>::CppType, | 487 | 40 | Op<PT>>::vector_constant(col_left->get_data(), | 488 | 40 | col_right->get_element(0), vec_res); | 489 | | | 490 | 40 | block.replace_by_position(result, std::move(col_res)); | 491 | 40 | } else if (left_is_const && !right_is_const) { | 492 | 0 | auto col_res = ColumnUInt8::create(); | 493 | |
| 494 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 495 | 0 | vec_res.resize(col_right->size()); | 496 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 497 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 498 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 499 | 0 | col_right->get_data(), vec_res); | 500 | |
| 501 | 0 | block.replace_by_position(result, std::move(col_res)); | 502 | 0 | } | 503 | 60 | return Status::OK(); | 504 | 60 | } |
Unexecuted instantiation: _ZNK5doris18FunctionComparisonINS_11NotEqualsOpENS_13NameNotEqualsEE16execute_num_typeILNS_13PrimitiveTypeE27EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Unexecuted instantiation: _ZNK5doris18FunctionComparisonINS_9GreaterOpENS_11NameGreaterEE16execute_num_typeILNS_13PrimitiveTypeE2EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ _ZNK5doris18FunctionComparisonINS_9GreaterOpENS_11NameGreaterEE16execute_num_typeILNS_13PrimitiveTypeE25EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 460 | 1.17k | const ColumnPtr& col_right_ptr) const { | 461 | 1.17k | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 462 | 1.17k | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 463 | | | 464 | 1.17k | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 465 | 1.17k | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 466 | | | 467 | 1.17k | DCHECK(!(left_is_const && right_is_const)); | 468 | | | 469 | 1.17k | if (!left_is_const && !right_is_const) { | 470 | 1.01k | auto col_res = ColumnUInt8::create(); | 471 | | | 472 | 1.01k | ColumnUInt8::Container& vec_res = col_res->get_data(); | 473 | 1.01k | vec_res.resize(col_left->get_data().size()); | 474 | 1.01k | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 475 | 1.01k | typename PrimitiveTypeTraits<PT>::CppType, | 476 | 1.01k | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 477 | 1.01k | vec_res); | 478 | | | 479 | 1.01k | block.replace_by_position(result, std::move(col_res)); | 480 | 1.01k | } else if (!left_is_const && right_is_const) { | 481 | 163 | auto col_res = ColumnUInt8::create(); | 482 | | | 483 | 163 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 484 | 163 | vec_res.resize(col_left->size()); | 485 | 163 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 486 | 163 | typename PrimitiveTypeTraits<PT>::CppType, | 487 | 163 | Op<PT>>::vector_constant(col_left->get_data(), | 488 | 163 | col_right->get_element(0), vec_res); | 489 | | | 490 | 163 | block.replace_by_position(result, std::move(col_res)); | 491 | 163 | } else if (left_is_const && !right_is_const) { | 492 | 0 | auto col_res = ColumnUInt8::create(); | 493 | |
| 494 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 495 | 0 | vec_res.resize(col_right->size()); | 496 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 497 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 498 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 499 | 0 | col_right->get_data(), vec_res); | 500 | |
| 501 | 0 | block.replace_by_position(result, std::move(col_res)); | 502 | 0 | } | 503 | 1.17k | return Status::OK(); | 504 | 1.17k | } |
_ZNK5doris18FunctionComparisonINS_9GreaterOpENS_11NameGreaterEE16execute_num_typeILNS_13PrimitiveTypeE26EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 460 | 130 | const ColumnPtr& col_right_ptr) const { | 461 | 130 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 462 | 130 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 463 | | | 464 | 130 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 465 | 130 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 466 | | | 467 | 130 | DCHECK(!(left_is_const && right_is_const)); | 468 | | | 469 | 130 | if (!left_is_const && !right_is_const) { | 470 | 8 | auto col_res = ColumnUInt8::create(); | 471 | | | 472 | 8 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 473 | 8 | vec_res.resize(col_left->get_data().size()); | 474 | 8 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 475 | 8 | typename PrimitiveTypeTraits<PT>::CppType, | 476 | 8 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 477 | 8 | vec_res); | 478 | | | 479 | 8 | block.replace_by_position(result, std::move(col_res)); | 480 | 122 | } else if (!left_is_const && right_is_const) { | 481 | 122 | auto col_res = ColumnUInt8::create(); | 482 | | | 483 | 122 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 484 | 122 | vec_res.resize(col_left->size()); | 485 | 122 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 486 | 122 | typename PrimitiveTypeTraits<PT>::CppType, | 487 | 122 | Op<PT>>::vector_constant(col_left->get_data(), | 488 | 122 | col_right->get_element(0), vec_res); | 489 | | | 490 | 122 | block.replace_by_position(result, std::move(col_res)); | 491 | 122 | } else if (left_is_const && !right_is_const) { | 492 | 0 | auto col_res = ColumnUInt8::create(); | 493 | |
| 494 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 495 | 0 | vec_res.resize(col_right->size()); | 496 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 497 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 498 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 499 | 0 | col_right->get_data(), vec_res); | 500 | |
| 501 | 0 | block.replace_by_position(result, std::move(col_res)); | 502 | 0 | } | 503 | 130 | return Status::OK(); | 504 | 130 | } |
_ZNK5doris18FunctionComparisonINS_9GreaterOpENS_11NameGreaterEE16execute_num_typeILNS_13PrimitiveTypeE42EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 460 | 1 | const ColumnPtr& col_right_ptr) const { | 461 | 1 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 462 | 1 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 463 | | | 464 | 1 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 465 | 1 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 466 | | | 467 | 1 | DCHECK(!(left_is_const && right_is_const)); | 468 | | | 469 | 1 | if (!left_is_const && !right_is_const) { | 470 | 1 | auto col_res = ColumnUInt8::create(); | 471 | | | 472 | 1 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 473 | 1 | vec_res.resize(col_left->get_data().size()); | 474 | 1 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 475 | 1 | typename PrimitiveTypeTraits<PT>::CppType, | 476 | 1 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 477 | 1 | vec_res); | 478 | | | 479 | 1 | block.replace_by_position(result, std::move(col_res)); | 480 | 1 | } else if (!left_is_const && right_is_const) { | 481 | 0 | auto col_res = ColumnUInt8::create(); | 482 | |
| 483 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 484 | 0 | vec_res.resize(col_left->size()); | 485 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 486 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 487 | 0 | Op<PT>>::vector_constant(col_left->get_data(), | 488 | 0 | col_right->get_element(0), vec_res); | 489 | |
| 490 | 0 | block.replace_by_position(result, std::move(col_res)); | 491 | 0 | } else if (left_is_const && !right_is_const) { | 492 | 0 | auto col_res = ColumnUInt8::create(); | 493 | |
| 494 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 495 | 0 | vec_res.resize(col_right->size()); | 496 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 497 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 498 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 499 | 0 | col_right->get_data(), vec_res); | 500 | |
| 501 | 0 | block.replace_by_position(result, std::move(col_res)); | 502 | 0 | } | 503 | 1 | return Status::OK(); | 504 | 1 | } |
_ZNK5doris18FunctionComparisonINS_9GreaterOpENS_11NameGreaterEE16execute_num_typeILNS_13PrimitiveTypeE3EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 460 | 1.30k | const ColumnPtr& col_right_ptr) const { | 461 | 1.30k | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 462 | 1.30k | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 463 | | | 464 | 1.30k | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 465 | 1.30k | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 466 | | | 467 | 1.30k | DCHECK(!(left_is_const && right_is_const)); | 468 | | | 469 | 1.30k | if (!left_is_const && !right_is_const) { | 470 | 40 | auto col_res = ColumnUInt8::create(); | 471 | | | 472 | 40 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 473 | 40 | vec_res.resize(col_left->get_data().size()); | 474 | 40 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 475 | 40 | typename PrimitiveTypeTraits<PT>::CppType, | 476 | 40 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 477 | 40 | vec_res); | 478 | | | 479 | 40 | block.replace_by_position(result, std::move(col_res)); | 480 | 1.26k | } else if (!left_is_const && right_is_const) { | 481 | 1.01k | auto col_res = ColumnUInt8::create(); | 482 | | | 483 | 1.01k | ColumnUInt8::Container& vec_res = col_res->get_data(); | 484 | 1.01k | vec_res.resize(col_left->size()); | 485 | 1.01k | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 486 | 1.01k | typename PrimitiveTypeTraits<PT>::CppType, | 487 | 1.01k | Op<PT>>::vector_constant(col_left->get_data(), | 488 | 1.01k | col_right->get_element(0), vec_res); | 489 | | | 490 | 1.01k | block.replace_by_position(result, std::move(col_res)); | 491 | 1.01k | } else if (left_is_const && !right_is_const) { | 492 | 246 | auto col_res = ColumnUInt8::create(); | 493 | | | 494 | 246 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 495 | 246 | vec_res.resize(col_right->size()); | 496 | 246 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 497 | 246 | typename PrimitiveTypeTraits<PT>::CppType, | 498 | 246 | Op<PT>>::constant_vector(col_left->get_element(0), | 499 | 246 | col_right->get_data(), vec_res); | 500 | | | 501 | 246 | block.replace_by_position(result, std::move(col_res)); | 502 | 246 | } | 503 | 1.30k | return Status::OK(); | 504 | 1.30k | } |
_ZNK5doris18FunctionComparisonINS_9GreaterOpENS_11NameGreaterEE16execute_num_typeILNS_13PrimitiveTypeE4EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 460 | 1.80k | const ColumnPtr& col_right_ptr) const { | 461 | 1.80k | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 462 | 1.80k | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 463 | | | 464 | 1.80k | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 465 | 1.80k | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 466 | | | 467 | 1.80k | DCHECK(!(left_is_const && right_is_const)); | 468 | | | 469 | 1.80k | if (!left_is_const && !right_is_const) { | 470 | 112 | auto col_res = ColumnUInt8::create(); | 471 | | | 472 | 112 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 473 | 112 | vec_res.resize(col_left->get_data().size()); | 474 | 112 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 475 | 112 | typename PrimitiveTypeTraits<PT>::CppType, | 476 | 112 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 477 | 112 | vec_res); | 478 | | | 479 | 112 | block.replace_by_position(result, std::move(col_res)); | 480 | 1.69k | } else if (!left_is_const && right_is_const) { | 481 | 1.45k | auto col_res = ColumnUInt8::create(); | 482 | | | 483 | 1.45k | ColumnUInt8::Container& vec_res = col_res->get_data(); | 484 | 1.45k | vec_res.resize(col_left->size()); | 485 | 1.45k | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 486 | 1.45k | typename PrimitiveTypeTraits<PT>::CppType, | 487 | 1.45k | Op<PT>>::vector_constant(col_left->get_data(), | 488 | 1.45k | col_right->get_element(0), vec_res); | 489 | | | 490 | 1.45k | block.replace_by_position(result, std::move(col_res)); | 491 | 1.45k | } else if (left_is_const && !right_is_const) { | 492 | 240 | auto col_res = ColumnUInt8::create(); | 493 | | | 494 | 240 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 495 | 240 | vec_res.resize(col_right->size()); | 496 | 240 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 497 | 240 | typename PrimitiveTypeTraits<PT>::CppType, | 498 | 240 | Op<PT>>::constant_vector(col_left->get_element(0), | 499 | 240 | col_right->get_data(), vec_res); | 500 | | | 501 | 240 | block.replace_by_position(result, std::move(col_res)); | 502 | 240 | } | 503 | 1.80k | return Status::OK(); | 504 | 1.80k | } |
_ZNK5doris18FunctionComparisonINS_9GreaterOpENS_11NameGreaterEE16execute_num_typeILNS_13PrimitiveTypeE5EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 460 | 72.4k | const ColumnPtr& col_right_ptr) const { | 461 | 72.4k | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 462 | 72.4k | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 463 | | | 464 | 72.4k | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 465 | 72.4k | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 466 | | | 467 | 72.4k | DCHECK(!(left_is_const && right_is_const)); | 468 | | | 469 | 72.4k | if (!left_is_const && !right_is_const) { | 470 | 80 | auto col_res = ColumnUInt8::create(); | 471 | | | 472 | 80 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 473 | 80 | vec_res.resize(col_left->get_data().size()); | 474 | 80 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 475 | 80 | typename PrimitiveTypeTraits<PT>::CppType, | 476 | 80 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 477 | 80 | vec_res); | 478 | | | 479 | 80 | block.replace_by_position(result, std::move(col_res)); | 480 | 72.3k | } else if (!left_is_const && right_is_const) { | 481 | 9.82k | auto col_res = ColumnUInt8::create(); | 482 | | | 483 | 9.82k | ColumnUInt8::Container& vec_res = col_res->get_data(); | 484 | 9.82k | vec_res.resize(col_left->size()); | 485 | 9.82k | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 486 | 9.82k | typename PrimitiveTypeTraits<PT>::CppType, | 487 | 9.82k | Op<PT>>::vector_constant(col_left->get_data(), | 488 | 9.82k | col_right->get_element(0), vec_res); | 489 | | | 490 | 9.82k | block.replace_by_position(result, std::move(col_res)); | 491 | 62.5k | } else if (left_is_const && !right_is_const) { | 492 | 62.5k | auto col_res = ColumnUInt8::create(); | 493 | | | 494 | 62.5k | ColumnUInt8::Container& vec_res = col_res->get_data(); | 495 | 62.5k | vec_res.resize(col_right->size()); | 496 | 62.5k | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 497 | 62.5k | typename PrimitiveTypeTraits<PT>::CppType, | 498 | 62.5k | Op<PT>>::constant_vector(col_left->get_element(0), | 499 | 62.5k | col_right->get_data(), vec_res); | 500 | | | 501 | 62.5k | block.replace_by_position(result, std::move(col_res)); | 502 | 62.5k | } | 503 | 72.4k | return Status::OK(); | 504 | 72.4k | } |
_ZNK5doris18FunctionComparisonINS_9GreaterOpENS_11NameGreaterEE16execute_num_typeILNS_13PrimitiveTypeE6EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 460 | 13.9k | const ColumnPtr& col_right_ptr) const { | 461 | 13.9k | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 462 | 13.9k | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 463 | | | 464 | 13.9k | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 465 | 13.9k | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 466 | | | 467 | 13.9k | DCHECK(!(left_is_const && right_is_const)); | 468 | | | 469 | 13.9k | if (!left_is_const && !right_is_const) { | 470 | 64 | auto col_res = ColumnUInt8::create(); | 471 | | | 472 | 64 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 473 | 64 | vec_res.resize(col_left->get_data().size()); | 474 | 64 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 475 | 64 | typename PrimitiveTypeTraits<PT>::CppType, | 476 | 64 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 477 | 64 | vec_res); | 478 | | | 479 | 64 | block.replace_by_position(result, std::move(col_res)); | 480 | 13.8k | } else if (!left_is_const && right_is_const) { | 481 | 13.3k | auto col_res = ColumnUInt8::create(); | 482 | | | 483 | 13.3k | ColumnUInt8::Container& vec_res = col_res->get_data(); | 484 | 13.3k | vec_res.resize(col_left->size()); | 485 | 13.3k | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 486 | 13.3k | typename PrimitiveTypeTraits<PT>::CppType, | 487 | 13.3k | Op<PT>>::vector_constant(col_left->get_data(), | 488 | 13.3k | col_right->get_element(0), vec_res); | 489 | | | 490 | 13.3k | block.replace_by_position(result, std::move(col_res)); | 491 | 13.3k | } else if (left_is_const && !right_is_const) { | 492 | 509 | auto col_res = ColumnUInt8::create(); | 493 | | | 494 | 509 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 495 | 509 | vec_res.resize(col_right->size()); | 496 | 509 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 497 | 509 | typename PrimitiveTypeTraits<PT>::CppType, | 498 | 509 | Op<PT>>::constant_vector(col_left->get_element(0), | 499 | 509 | col_right->get_data(), vec_res); | 500 | | | 501 | 509 | block.replace_by_position(result, std::move(col_res)); | 502 | 509 | } | 503 | 13.9k | return Status::OK(); | 504 | 13.9k | } |
_ZNK5doris18FunctionComparisonINS_9GreaterOpENS_11NameGreaterEE16execute_num_typeILNS_13PrimitiveTypeE7EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 460 | 246 | const ColumnPtr& col_right_ptr) const { | 461 | 246 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 462 | 246 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 463 | | | 464 | 246 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 465 | 246 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 466 | | | 467 | 246 | DCHECK(!(left_is_const && right_is_const)); | 468 | | | 469 | 246 | if (!left_is_const && !right_is_const) { | 470 | 2 | auto col_res = ColumnUInt8::create(); | 471 | | | 472 | 2 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 473 | 2 | vec_res.resize(col_left->get_data().size()); | 474 | 2 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 475 | 2 | typename PrimitiveTypeTraits<PT>::CppType, | 476 | 2 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 477 | 2 | vec_res); | 478 | | | 479 | 2 | block.replace_by_position(result, std::move(col_res)); | 480 | 244 | } else if (!left_is_const && right_is_const) { | 481 | 201 | auto col_res = ColumnUInt8::create(); | 482 | | | 483 | 201 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 484 | 201 | vec_res.resize(col_left->size()); | 485 | 201 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 486 | 201 | typename PrimitiveTypeTraits<PT>::CppType, | 487 | 201 | Op<PT>>::vector_constant(col_left->get_data(), | 488 | 201 | col_right->get_element(0), vec_res); | 489 | | | 490 | 201 | block.replace_by_position(result, std::move(col_res)); | 491 | 201 | } else if (left_is_const && !right_is_const) { | 492 | 43 | auto col_res = ColumnUInt8::create(); | 493 | | | 494 | 43 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 495 | 43 | vec_res.resize(col_right->size()); | 496 | 43 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 497 | 43 | typename PrimitiveTypeTraits<PT>::CppType, | 498 | 43 | Op<PT>>::constant_vector(col_left->get_element(0), | 499 | 43 | col_right->get_data(), vec_res); | 500 | | | 501 | 43 | block.replace_by_position(result, std::move(col_res)); | 502 | 43 | } | 503 | 246 | return Status::OK(); | 504 | 246 | } |
_ZNK5doris18FunctionComparisonINS_9GreaterOpENS_11NameGreaterEE16execute_num_typeILNS_13PrimitiveTypeE36EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 460 | 4 | const ColumnPtr& col_right_ptr) const { | 461 | 4 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 462 | 4 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 463 | | | 464 | 4 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 465 | 4 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 466 | | | 467 | 4 | DCHECK(!(left_is_const && right_is_const)); | 468 | | | 469 | 4 | if (!left_is_const && !right_is_const) { | 470 | 1 | auto col_res = ColumnUInt8::create(); | 471 | | | 472 | 1 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 473 | 1 | vec_res.resize(col_left->get_data().size()); | 474 | 1 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 475 | 1 | typename PrimitiveTypeTraits<PT>::CppType, | 476 | 1 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 477 | 1 | vec_res); | 478 | | | 479 | 1 | block.replace_by_position(result, std::move(col_res)); | 480 | 3 | } else if (!left_is_const && right_is_const) { | 481 | 3 | auto col_res = ColumnUInt8::create(); | 482 | | | 483 | 3 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 484 | 3 | vec_res.resize(col_left->size()); | 485 | 3 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 486 | 3 | typename PrimitiveTypeTraits<PT>::CppType, | 487 | 3 | Op<PT>>::vector_constant(col_left->get_data(), | 488 | 3 | col_right->get_element(0), vec_res); | 489 | | | 490 | 3 | block.replace_by_position(result, std::move(col_res)); | 491 | 3 | } else if (left_is_const && !right_is_const) { | 492 | 0 | auto col_res = ColumnUInt8::create(); | 493 | |
| 494 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 495 | 0 | vec_res.resize(col_right->size()); | 496 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 497 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 498 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 499 | 0 | col_right->get_data(), vec_res); | 500 | |
| 501 | 0 | block.replace_by_position(result, std::move(col_res)); | 502 | 0 | } | 503 | 4 | return Status::OK(); | 504 | 4 | } |
_ZNK5doris18FunctionComparisonINS_9GreaterOpENS_11NameGreaterEE16execute_num_typeILNS_13PrimitiveTypeE37EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 460 | 1 | const ColumnPtr& col_right_ptr) const { | 461 | 1 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 462 | 1 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 463 | | | 464 | 1 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 465 | 1 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 466 | | | 467 | 1 | DCHECK(!(left_is_const && right_is_const)); | 468 | | | 469 | 1 | if (!left_is_const && !right_is_const) { | 470 | 1 | auto col_res = ColumnUInt8::create(); | 471 | | | 472 | 1 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 473 | 1 | vec_res.resize(col_left->get_data().size()); | 474 | 1 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 475 | 1 | typename PrimitiveTypeTraits<PT>::CppType, | 476 | 1 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 477 | 1 | vec_res); | 478 | | | 479 | 1 | block.replace_by_position(result, std::move(col_res)); | 480 | 1 | } else if (!left_is_const && right_is_const) { | 481 | 0 | auto col_res = ColumnUInt8::create(); | 482 | |
| 483 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 484 | 0 | vec_res.resize(col_left->size()); | 485 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 486 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 487 | 0 | Op<PT>>::vector_constant(col_left->get_data(), | 488 | 0 | col_right->get_element(0), vec_res); | 489 | |
| 490 | 0 | block.replace_by_position(result, std::move(col_res)); | 491 | 0 | } else if (left_is_const && !right_is_const) { | 492 | 0 | auto col_res = ColumnUInt8::create(); | 493 | |
| 494 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 495 | 0 | vec_res.resize(col_right->size()); | 496 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 497 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 498 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 499 | 0 | col_right->get_data(), vec_res); | 500 | |
| 501 | 0 | block.replace_by_position(result, std::move(col_res)); | 502 | 0 | } | 503 | 1 | return Status::OK(); | 504 | 1 | } |
_ZNK5doris18FunctionComparisonINS_9GreaterOpENS_11NameGreaterEE16execute_num_typeILNS_13PrimitiveTypeE8EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 460 | 236 | const ColumnPtr& col_right_ptr) const { | 461 | 236 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 462 | 236 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 463 | | | 464 | 236 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 465 | 236 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 466 | | | 467 | 236 | DCHECK(!(left_is_const && right_is_const)); | 468 | | | 469 | 236 | if (!left_is_const && !right_is_const) { | 470 | 20 | auto col_res = ColumnUInt8::create(); | 471 | | | 472 | 20 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 473 | 20 | vec_res.resize(col_left->get_data().size()); | 474 | 20 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 475 | 20 | typename PrimitiveTypeTraits<PT>::CppType, | 476 | 20 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 477 | 20 | vec_res); | 478 | | | 479 | 20 | block.replace_by_position(result, std::move(col_res)); | 480 | 216 | } else if (!left_is_const && right_is_const) { | 481 | 216 | auto col_res = ColumnUInt8::create(); | 482 | | | 483 | 216 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 484 | 216 | vec_res.resize(col_left->size()); | 485 | 216 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 486 | 216 | typename PrimitiveTypeTraits<PT>::CppType, | 487 | 216 | Op<PT>>::vector_constant(col_left->get_data(), | 488 | 216 | col_right->get_element(0), vec_res); | 489 | | | 490 | 216 | block.replace_by_position(result, std::move(col_res)); | 491 | 216 | } else if (left_is_const && !right_is_const) { | 492 | 0 | auto col_res = ColumnUInt8::create(); | 493 | |
| 494 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 495 | 0 | vec_res.resize(col_right->size()); | 496 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 497 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 498 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 499 | 0 | col_right->get_data(), vec_res); | 500 | |
| 501 | 0 | block.replace_by_position(result, std::move(col_res)); | 502 | 0 | } | 503 | 236 | return Status::OK(); | 504 | 236 | } |
_ZNK5doris18FunctionComparisonINS_9GreaterOpENS_11NameGreaterEE16execute_num_typeILNS_13PrimitiveTypeE9EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 460 | 2.23k | const ColumnPtr& col_right_ptr) const { | 461 | 2.23k | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 462 | 2.23k | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 463 | | | 464 | 2.23k | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 465 | 2.23k | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 466 | | | 467 | 2.23k | DCHECK(!(left_is_const && right_is_const)); | 468 | | | 469 | 2.23k | if (!left_is_const && !right_is_const) { | 470 | 32 | auto col_res = ColumnUInt8::create(); | 471 | | | 472 | 32 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 473 | 32 | vec_res.resize(col_left->get_data().size()); | 474 | 32 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 475 | 32 | typename PrimitiveTypeTraits<PT>::CppType, | 476 | 32 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 477 | 32 | vec_res); | 478 | | | 479 | 32 | block.replace_by_position(result, std::move(col_res)); | 480 | 2.20k | } else if (!left_is_const && right_is_const) { | 481 | 2.20k | auto col_res = ColumnUInt8::create(); | 482 | | | 483 | 2.20k | ColumnUInt8::Container& vec_res = col_res->get_data(); | 484 | 2.20k | vec_res.resize(col_left->size()); | 485 | 2.20k | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 486 | 2.20k | typename PrimitiveTypeTraits<PT>::CppType, | 487 | 2.20k | Op<PT>>::vector_constant(col_left->get_data(), | 488 | 2.20k | col_right->get_element(0), vec_res); | 489 | | | 490 | 2.20k | block.replace_by_position(result, std::move(col_res)); | 491 | 2.20k | } else if (left_is_const && !right_is_const) { | 492 | 0 | auto col_res = ColumnUInt8::create(); | 493 | |
| 494 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 495 | 0 | vec_res.resize(col_right->size()); | 496 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 497 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 498 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 499 | 0 | col_right->get_data(), vec_res); | 500 | |
| 501 | 0 | block.replace_by_position(result, std::move(col_res)); | 502 | 0 | } | 503 | 2.23k | return Status::OK(); | 504 | 2.23k | } |
Unexecuted instantiation: _ZNK5doris18FunctionComparisonINS_9GreaterOpENS_11NameGreaterEE16execute_num_typeILNS_13PrimitiveTypeE27EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ _ZNK5doris18FunctionComparisonINS_17GreaterOrEqualsOpENS_19NameGreaterOrEqualsEE16execute_num_typeILNS_13PrimitiveTypeE2EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 460 | 148 | const ColumnPtr& col_right_ptr) const { | 461 | 148 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 462 | 148 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 463 | | | 464 | 148 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 465 | 148 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 466 | | | 467 | 148 | DCHECK(!(left_is_const && right_is_const)); | 468 | | | 469 | 148 | if (!left_is_const && !right_is_const) { | 470 | 42 | auto col_res = ColumnUInt8::create(); | 471 | | | 472 | 42 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 473 | 42 | vec_res.resize(col_left->get_data().size()); | 474 | 42 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 475 | 42 | typename PrimitiveTypeTraits<PT>::CppType, | 476 | 42 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 477 | 42 | vec_res); | 478 | | | 479 | 42 | block.replace_by_position(result, std::move(col_res)); | 480 | 106 | } else if (!left_is_const && right_is_const) { | 481 | 106 | auto col_res = ColumnUInt8::create(); | 482 | | | 483 | 106 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 484 | 106 | vec_res.resize(col_left->size()); | 485 | 106 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 486 | 106 | typename PrimitiveTypeTraits<PT>::CppType, | 487 | 106 | Op<PT>>::vector_constant(col_left->get_data(), | 488 | 106 | col_right->get_element(0), vec_res); | 489 | | | 490 | 106 | block.replace_by_position(result, std::move(col_res)); | 491 | 106 | } else if (left_is_const && !right_is_const) { | 492 | 0 | auto col_res = ColumnUInt8::create(); | 493 | |
| 494 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 495 | 0 | vec_res.resize(col_right->size()); | 496 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 497 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 498 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 499 | 0 | col_right->get_data(), vec_res); | 500 | |
| 501 | 0 | block.replace_by_position(result, std::move(col_res)); | 502 | 0 | } | 503 | 148 | return Status::OK(); | 504 | 148 | } |
_ZNK5doris18FunctionComparisonINS_17GreaterOrEqualsOpENS_19NameGreaterOrEqualsEE16execute_num_typeILNS_13PrimitiveTypeE25EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 460 | 2.24k | const ColumnPtr& col_right_ptr) const { | 461 | 2.24k | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 462 | 2.24k | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 463 | | | 464 | 2.24k | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 465 | 2.24k | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 466 | | | 467 | 2.24k | DCHECK(!(left_is_const && right_is_const)); | 468 | | | 469 | 2.24k | if (!left_is_const && !right_is_const) { | 470 | 61 | auto col_res = ColumnUInt8::create(); | 471 | | | 472 | 61 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 473 | 61 | vec_res.resize(col_left->get_data().size()); | 474 | 61 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 475 | 61 | typename PrimitiveTypeTraits<PT>::CppType, | 476 | 61 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 477 | 61 | vec_res); | 478 | | | 479 | 61 | block.replace_by_position(result, std::move(col_res)); | 480 | 2.18k | } else if (!left_is_const && right_is_const) { | 481 | 2.17k | auto col_res = ColumnUInt8::create(); | 482 | | | 483 | 2.17k | ColumnUInt8::Container& vec_res = col_res->get_data(); | 484 | 2.17k | vec_res.resize(col_left->size()); | 485 | 2.17k | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 486 | 2.17k | typename PrimitiveTypeTraits<PT>::CppType, | 487 | 2.17k | Op<PT>>::vector_constant(col_left->get_data(), | 488 | 2.17k | col_right->get_element(0), vec_res); | 489 | | | 490 | 2.17k | block.replace_by_position(result, std::move(col_res)); | 491 | 2.17k | } else if (left_is_const && !right_is_const) { | 492 | 6 | auto col_res = ColumnUInt8::create(); | 493 | | | 494 | 6 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 495 | 6 | vec_res.resize(col_right->size()); | 496 | 6 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 497 | 6 | typename PrimitiveTypeTraits<PT>::CppType, | 498 | 6 | Op<PT>>::constant_vector(col_left->get_element(0), | 499 | 6 | col_right->get_data(), vec_res); | 500 | | | 501 | 6 | block.replace_by_position(result, std::move(col_res)); | 502 | 6 | } | 503 | 2.24k | return Status::OK(); | 504 | 2.24k | } |
_ZNK5doris18FunctionComparisonINS_17GreaterOrEqualsOpENS_19NameGreaterOrEqualsEE16execute_num_typeILNS_13PrimitiveTypeE26EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 460 | 1.04k | const ColumnPtr& col_right_ptr) const { | 461 | 1.04k | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 462 | 1.04k | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 463 | | | 464 | 1.04k | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 465 | 1.04k | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 466 | | | 467 | 1.04k | DCHECK(!(left_is_const && right_is_const)); | 468 | | | 469 | 1.04k | if (!left_is_const && !right_is_const) { | 470 | 96 | auto col_res = ColumnUInt8::create(); | 471 | | | 472 | 96 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 473 | 96 | vec_res.resize(col_left->get_data().size()); | 474 | 96 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 475 | 96 | typename PrimitiveTypeTraits<PT>::CppType, | 476 | 96 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 477 | 96 | vec_res); | 478 | | | 479 | 96 | block.replace_by_position(result, std::move(col_res)); | 480 | 944 | } else if (!left_is_const && right_is_const) { | 481 | 944 | auto col_res = ColumnUInt8::create(); | 482 | | | 483 | 944 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 484 | 944 | vec_res.resize(col_left->size()); | 485 | 944 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 486 | 944 | typename PrimitiveTypeTraits<PT>::CppType, | 487 | 944 | Op<PT>>::vector_constant(col_left->get_data(), | 488 | 944 | col_right->get_element(0), vec_res); | 489 | | | 490 | 944 | block.replace_by_position(result, std::move(col_res)); | 491 | 944 | } else if (left_is_const && !right_is_const) { | 492 | 0 | auto col_res = ColumnUInt8::create(); | 493 | |
| 494 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 495 | 0 | vec_res.resize(col_right->size()); | 496 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 497 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 498 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 499 | 0 | col_right->get_data(), vec_res); | 500 | |
| 501 | 0 | block.replace_by_position(result, std::move(col_res)); | 502 | 0 | } | 503 | 1.04k | return Status::OK(); | 504 | 1.04k | } |
_ZNK5doris18FunctionComparisonINS_17GreaterOrEqualsOpENS_19NameGreaterOrEqualsEE16execute_num_typeILNS_13PrimitiveTypeE42EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 460 | 1 | const ColumnPtr& col_right_ptr) const { | 461 | 1 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 462 | 1 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 463 | | | 464 | 1 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 465 | 1 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 466 | | | 467 | 1 | DCHECK(!(left_is_const && right_is_const)); | 468 | | | 469 | 1 | if (!left_is_const && !right_is_const) { | 470 | 1 | auto col_res = ColumnUInt8::create(); | 471 | | | 472 | 1 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 473 | 1 | vec_res.resize(col_left->get_data().size()); | 474 | 1 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 475 | 1 | typename PrimitiveTypeTraits<PT>::CppType, | 476 | 1 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 477 | 1 | vec_res); | 478 | | | 479 | 1 | block.replace_by_position(result, std::move(col_res)); | 480 | 1 | } else if (!left_is_const && right_is_const) { | 481 | 0 | auto col_res = ColumnUInt8::create(); | 482 | |
| 483 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 484 | 0 | vec_res.resize(col_left->size()); | 485 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 486 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 487 | 0 | Op<PT>>::vector_constant(col_left->get_data(), | 488 | 0 | col_right->get_element(0), vec_res); | 489 | |
| 490 | 0 | block.replace_by_position(result, std::move(col_res)); | 491 | 0 | } else if (left_is_const && !right_is_const) { | 492 | 0 | auto col_res = ColumnUInt8::create(); | 493 | |
| 494 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 495 | 0 | vec_res.resize(col_right->size()); | 496 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 497 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 498 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 499 | 0 | col_right->get_data(), vec_res); | 500 | |
| 501 | 0 | block.replace_by_position(result, std::move(col_res)); | 502 | 0 | } | 503 | 1 | return Status::OK(); | 504 | 1 | } |
_ZNK5doris18FunctionComparisonINS_17GreaterOrEqualsOpENS_19NameGreaterOrEqualsEE16execute_num_typeILNS_13PrimitiveTypeE3EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 460 | 81 | const ColumnPtr& col_right_ptr) const { | 461 | 81 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 462 | 81 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 463 | | | 464 | 81 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 465 | 81 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 466 | | | 467 | 81 | DCHECK(!(left_is_const && right_is_const)); | 468 | | | 469 | 81 | if (!left_is_const && !right_is_const) { | 470 | 0 | auto col_res = ColumnUInt8::create(); | 471 | |
| 472 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 473 | 0 | vec_res.resize(col_left->get_data().size()); | 474 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 475 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 476 | 0 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 477 | 0 | vec_res); | 478 | |
| 479 | 0 | block.replace_by_position(result, std::move(col_res)); | 480 | 81 | } else if (!left_is_const && right_is_const) { | 481 | 81 | auto col_res = ColumnUInt8::create(); | 482 | | | 483 | 81 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 484 | 81 | vec_res.resize(col_left->size()); | 485 | 81 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 486 | 81 | typename PrimitiveTypeTraits<PT>::CppType, | 487 | 81 | Op<PT>>::vector_constant(col_left->get_data(), | 488 | 81 | col_right->get_element(0), vec_res); | 489 | | | 490 | 81 | block.replace_by_position(result, std::move(col_res)); | 491 | 81 | } else if (left_is_const && !right_is_const) { | 492 | 0 | auto col_res = ColumnUInt8::create(); | 493 | |
| 494 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 495 | 0 | vec_res.resize(col_right->size()); | 496 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 497 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 498 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 499 | 0 | col_right->get_data(), vec_res); | 500 | |
| 501 | 0 | block.replace_by_position(result, std::move(col_res)); | 502 | 0 | } | 503 | 81 | return Status::OK(); | 504 | 81 | } |
_ZNK5doris18FunctionComparisonINS_17GreaterOrEqualsOpENS_19NameGreaterOrEqualsEE16execute_num_typeILNS_13PrimitiveTypeE4EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 460 | 95 | const ColumnPtr& col_right_ptr) const { | 461 | 95 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 462 | 95 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 463 | | | 464 | 95 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 465 | 95 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 466 | | | 467 | 95 | DCHECK(!(left_is_const && right_is_const)); | 468 | | | 469 | 95 | if (!left_is_const && !right_is_const) { | 470 | 0 | auto col_res = ColumnUInt8::create(); | 471 | |
| 472 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 473 | 0 | vec_res.resize(col_left->get_data().size()); | 474 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 475 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 476 | 0 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 477 | 0 | vec_res); | 478 | |
| 479 | 0 | block.replace_by_position(result, std::move(col_res)); | 480 | 95 | } else if (!left_is_const && right_is_const) { | 481 | 95 | auto col_res = ColumnUInt8::create(); | 482 | | | 483 | 95 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 484 | 95 | vec_res.resize(col_left->size()); | 485 | 95 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 486 | 95 | typename PrimitiveTypeTraits<PT>::CppType, | 487 | 95 | Op<PT>>::vector_constant(col_left->get_data(), | 488 | 95 | col_right->get_element(0), vec_res); | 489 | | | 490 | 95 | block.replace_by_position(result, std::move(col_res)); | 491 | 95 | } else if (left_is_const && !right_is_const) { | 492 | 0 | auto col_res = ColumnUInt8::create(); | 493 | |
| 494 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 495 | 0 | vec_res.resize(col_right->size()); | 496 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 497 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 498 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 499 | 0 | col_right->get_data(), vec_res); | 500 | |
| 501 | 0 | block.replace_by_position(result, std::move(col_res)); | 502 | 0 | } | 503 | 95 | return Status::OK(); | 504 | 95 | } |
_ZNK5doris18FunctionComparisonINS_17GreaterOrEqualsOpENS_19NameGreaterOrEqualsEE16execute_num_typeILNS_13PrimitiveTypeE5EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 460 | 9.59k | const ColumnPtr& col_right_ptr) const { | 461 | 9.59k | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 462 | 9.59k | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 463 | | | 464 | 9.59k | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 465 | 9.59k | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 466 | | | 467 | 9.59k | DCHECK(!(left_is_const && right_is_const)); | 468 | | | 469 | 9.59k | if (!left_is_const && !right_is_const) { | 470 | 79 | auto col_res = ColumnUInt8::create(); | 471 | | | 472 | 79 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 473 | 79 | vec_res.resize(col_left->get_data().size()); | 474 | 79 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 475 | 79 | typename PrimitiveTypeTraits<PT>::CppType, | 476 | 79 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 477 | 79 | vec_res); | 478 | | | 479 | 79 | block.replace_by_position(result, std::move(col_res)); | 480 | 9.51k | } else if (!left_is_const && right_is_const) { | 481 | 9.51k | auto col_res = ColumnUInt8::create(); | 482 | | | 483 | 9.51k | ColumnUInt8::Container& vec_res = col_res->get_data(); | 484 | 9.51k | vec_res.resize(col_left->size()); | 485 | 9.51k | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 486 | 9.51k | typename PrimitiveTypeTraits<PT>::CppType, | 487 | 9.51k | Op<PT>>::vector_constant(col_left->get_data(), | 488 | 9.51k | col_right->get_element(0), vec_res); | 489 | | | 490 | 9.51k | block.replace_by_position(result, std::move(col_res)); | 491 | 9.51k | } else if (left_is_const && !right_is_const) { | 492 | 0 | auto col_res = ColumnUInt8::create(); | 493 | |
| 494 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 495 | 0 | vec_res.resize(col_right->size()); | 496 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 497 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 498 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 499 | 0 | col_right->get_data(), vec_res); | 500 | |
| 501 | 0 | block.replace_by_position(result, std::move(col_res)); | 502 | 0 | } | 503 | 9.59k | return Status::OK(); | 504 | 9.59k | } |
_ZNK5doris18FunctionComparisonINS_17GreaterOrEqualsOpENS_19NameGreaterOrEqualsEE16execute_num_typeILNS_13PrimitiveTypeE6EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 460 | 559 | const ColumnPtr& col_right_ptr) const { | 461 | 559 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 462 | 559 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 463 | | | 464 | 559 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 465 | 559 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 466 | | | 467 | 559 | DCHECK(!(left_is_const && right_is_const)); | 468 | | | 469 | 559 | if (!left_is_const && !right_is_const) { | 470 | 39 | auto col_res = ColumnUInt8::create(); | 471 | | | 472 | 39 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 473 | 39 | vec_res.resize(col_left->get_data().size()); | 474 | 39 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 475 | 39 | typename PrimitiveTypeTraits<PT>::CppType, | 476 | 39 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 477 | 39 | vec_res); | 478 | | | 479 | 39 | block.replace_by_position(result, std::move(col_res)); | 480 | 520 | } else if (!left_is_const && right_is_const) { | 481 | 520 | auto col_res = ColumnUInt8::create(); | 482 | | | 483 | 520 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 484 | 520 | vec_res.resize(col_left->size()); | 485 | 520 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 486 | 520 | typename PrimitiveTypeTraits<PT>::CppType, | 487 | 520 | Op<PT>>::vector_constant(col_left->get_data(), | 488 | 520 | col_right->get_element(0), vec_res); | 489 | | | 490 | 520 | block.replace_by_position(result, std::move(col_res)); | 491 | 520 | } else if (left_is_const && !right_is_const) { | 492 | 0 | auto col_res = ColumnUInt8::create(); | 493 | |
| 494 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 495 | 0 | vec_res.resize(col_right->size()); | 496 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 497 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 498 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 499 | 0 | col_right->get_data(), vec_res); | 500 | |
| 501 | 0 | block.replace_by_position(result, std::move(col_res)); | 502 | 0 | } | 503 | 559 | return Status::OK(); | 504 | 559 | } |
_ZNK5doris18FunctionComparisonINS_17GreaterOrEqualsOpENS_19NameGreaterOrEqualsEE16execute_num_typeILNS_13PrimitiveTypeE7EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 460 | 55 | const ColumnPtr& col_right_ptr) const { | 461 | 55 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 462 | 55 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 463 | | | 464 | 55 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 465 | 55 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 466 | | | 467 | 55 | DCHECK(!(left_is_const && right_is_const)); | 468 | | | 469 | 55 | if (!left_is_const && !right_is_const) { | 470 | 0 | auto col_res = ColumnUInt8::create(); | 471 | |
| 472 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 473 | 0 | vec_res.resize(col_left->get_data().size()); | 474 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 475 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 476 | 0 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 477 | 0 | vec_res); | 478 | |
| 479 | 0 | block.replace_by_position(result, std::move(col_res)); | 480 | 55 | } else if (!left_is_const && right_is_const) { | 481 | 55 | auto col_res = ColumnUInt8::create(); | 482 | | | 483 | 55 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 484 | 55 | vec_res.resize(col_left->size()); | 485 | 55 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 486 | 55 | typename PrimitiveTypeTraits<PT>::CppType, | 487 | 55 | Op<PT>>::vector_constant(col_left->get_data(), | 488 | 55 | col_right->get_element(0), vec_res); | 489 | | | 490 | 55 | block.replace_by_position(result, std::move(col_res)); | 491 | 55 | } else if (left_is_const && !right_is_const) { | 492 | 0 | auto col_res = ColumnUInt8::create(); | 493 | |
| 494 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 495 | 0 | vec_res.resize(col_right->size()); | 496 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 497 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 498 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 499 | 0 | col_right->get_data(), vec_res); | 500 | |
| 501 | 0 | block.replace_by_position(result, std::move(col_res)); | 502 | 0 | } | 503 | 55 | return Status::OK(); | 504 | 55 | } |
_ZNK5doris18FunctionComparisonINS_17GreaterOrEqualsOpENS_19NameGreaterOrEqualsEE16execute_num_typeILNS_13PrimitiveTypeE36EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 460 | 11 | const ColumnPtr& col_right_ptr) const { | 461 | 11 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 462 | 11 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 463 | | | 464 | 11 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 465 | 11 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 466 | | | 467 | 11 | DCHECK(!(left_is_const && right_is_const)); | 468 | | | 469 | 11 | if (!left_is_const && !right_is_const) { | 470 | 1 | auto col_res = ColumnUInt8::create(); | 471 | | | 472 | 1 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 473 | 1 | vec_res.resize(col_left->get_data().size()); | 474 | 1 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 475 | 1 | typename PrimitiveTypeTraits<PT>::CppType, | 476 | 1 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 477 | 1 | vec_res); | 478 | | | 479 | 1 | block.replace_by_position(result, std::move(col_res)); | 480 | 10 | } else if (!left_is_const && right_is_const) { | 481 | 10 | auto col_res = ColumnUInt8::create(); | 482 | | | 483 | 10 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 484 | 10 | vec_res.resize(col_left->size()); | 485 | 10 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 486 | 10 | typename PrimitiveTypeTraits<PT>::CppType, | 487 | 10 | Op<PT>>::vector_constant(col_left->get_data(), | 488 | 10 | col_right->get_element(0), vec_res); | 489 | | | 490 | 10 | block.replace_by_position(result, std::move(col_res)); | 491 | 10 | } else if (left_is_const && !right_is_const) { | 492 | 0 | auto col_res = ColumnUInt8::create(); | 493 | |
| 494 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 495 | 0 | vec_res.resize(col_right->size()); | 496 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 497 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 498 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 499 | 0 | col_right->get_data(), vec_res); | 500 | |
| 501 | 0 | block.replace_by_position(result, std::move(col_res)); | 502 | 0 | } | 503 | 11 | return Status::OK(); | 504 | 11 | } |
_ZNK5doris18FunctionComparisonINS_17GreaterOrEqualsOpENS_19NameGreaterOrEqualsEE16execute_num_typeILNS_13PrimitiveTypeE37EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 460 | 1 | const ColumnPtr& col_right_ptr) const { | 461 | 1 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 462 | 1 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 463 | | | 464 | 1 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 465 | 1 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 466 | | | 467 | 1 | DCHECK(!(left_is_const && right_is_const)); | 468 | | | 469 | 1 | if (!left_is_const && !right_is_const) { | 470 | 1 | auto col_res = ColumnUInt8::create(); | 471 | | | 472 | 1 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 473 | 1 | vec_res.resize(col_left->get_data().size()); | 474 | 1 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 475 | 1 | typename PrimitiveTypeTraits<PT>::CppType, | 476 | 1 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 477 | 1 | vec_res); | 478 | | | 479 | 1 | block.replace_by_position(result, std::move(col_res)); | 480 | 1 | } else if (!left_is_const && right_is_const) { | 481 | 0 | auto col_res = ColumnUInt8::create(); | 482 | |
| 483 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 484 | 0 | vec_res.resize(col_left->size()); | 485 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 486 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 487 | 0 | Op<PT>>::vector_constant(col_left->get_data(), | 488 | 0 | col_right->get_element(0), vec_res); | 489 | |
| 490 | 0 | block.replace_by_position(result, std::move(col_res)); | 491 | 0 | } else if (left_is_const && !right_is_const) { | 492 | 0 | auto col_res = ColumnUInt8::create(); | 493 | |
| 494 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 495 | 0 | vec_res.resize(col_right->size()); | 496 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 497 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 498 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 499 | 0 | col_right->get_data(), vec_res); | 500 | |
| 501 | 0 | block.replace_by_position(result, std::move(col_res)); | 502 | 0 | } | 503 | 1 | return Status::OK(); | 504 | 1 | } |
_ZNK5doris18FunctionComparisonINS_17GreaterOrEqualsOpENS_19NameGreaterOrEqualsEE16execute_num_typeILNS_13PrimitiveTypeE8EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 460 | 202 | const ColumnPtr& col_right_ptr) const { | 461 | 202 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 462 | 202 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 463 | | | 464 | 202 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 465 | 202 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 466 | | | 467 | 202 | DCHECK(!(left_is_const && right_is_const)); | 468 | | | 469 | 202 | if (!left_is_const && !right_is_const) { | 470 | 80 | auto col_res = ColumnUInt8::create(); | 471 | | | 472 | 80 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 473 | 80 | vec_res.resize(col_left->get_data().size()); | 474 | 80 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 475 | 80 | typename PrimitiveTypeTraits<PT>::CppType, | 476 | 80 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 477 | 80 | vec_res); | 478 | | | 479 | 80 | block.replace_by_position(result, std::move(col_res)); | 480 | 122 | } else if (!left_is_const && right_is_const) { | 481 | 122 | auto col_res = ColumnUInt8::create(); | 482 | | | 483 | 122 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 484 | 122 | vec_res.resize(col_left->size()); | 485 | 122 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 486 | 122 | typename PrimitiveTypeTraits<PT>::CppType, | 487 | 122 | Op<PT>>::vector_constant(col_left->get_data(), | 488 | 122 | col_right->get_element(0), vec_res); | 489 | | | 490 | 122 | block.replace_by_position(result, std::move(col_res)); | 491 | 122 | } else if (left_is_const && !right_is_const) { | 492 | 0 | auto col_res = ColumnUInt8::create(); | 493 | |
| 494 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 495 | 0 | vec_res.resize(col_right->size()); | 496 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 497 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 498 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 499 | 0 | col_right->get_data(), vec_res); | 500 | |
| 501 | 0 | block.replace_by_position(result, std::move(col_res)); | 502 | 0 | } | 503 | 202 | return Status::OK(); | 504 | 202 | } |
_ZNK5doris18FunctionComparisonINS_17GreaterOrEqualsOpENS_19NameGreaterOrEqualsEE16execute_num_typeILNS_13PrimitiveTypeE9EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 460 | 166 | const ColumnPtr& col_right_ptr) const { | 461 | 166 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 462 | 166 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 463 | | | 464 | 166 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 465 | 166 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 466 | | | 467 | 166 | DCHECK(!(left_is_const && right_is_const)); | 468 | | | 469 | 166 | if (!left_is_const && !right_is_const) { | 470 | 24 | auto col_res = ColumnUInt8::create(); | 471 | | | 472 | 24 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 473 | 24 | vec_res.resize(col_left->get_data().size()); | 474 | 24 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 475 | 24 | typename PrimitiveTypeTraits<PT>::CppType, | 476 | 24 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 477 | 24 | vec_res); | 478 | | | 479 | 24 | block.replace_by_position(result, std::move(col_res)); | 480 | 142 | } else if (!left_is_const && right_is_const) { | 481 | 142 | auto col_res = ColumnUInt8::create(); | 482 | | | 483 | 142 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 484 | 142 | vec_res.resize(col_left->size()); | 485 | 142 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 486 | 142 | typename PrimitiveTypeTraits<PT>::CppType, | 487 | 142 | Op<PT>>::vector_constant(col_left->get_data(), | 488 | 142 | col_right->get_element(0), vec_res); | 489 | | | 490 | 142 | block.replace_by_position(result, std::move(col_res)); | 491 | 142 | } else if (left_is_const && !right_is_const) { | 492 | 0 | auto col_res = ColumnUInt8::create(); | 493 | |
| 494 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 495 | 0 | vec_res.resize(col_right->size()); | 496 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 497 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 498 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 499 | 0 | col_right->get_data(), vec_res); | 500 | |
| 501 | 0 | block.replace_by_position(result, std::move(col_res)); | 502 | 0 | } | 503 | 166 | return Status::OK(); | 504 | 166 | } |
Unexecuted instantiation: _ZNK5doris18FunctionComparisonINS_17GreaterOrEqualsOpENS_19NameGreaterOrEqualsEE16execute_num_typeILNS_13PrimitiveTypeE27EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ _ZNK5doris18FunctionComparisonINS_6LessOpENS_8NameLessEE16execute_num_typeILNS_13PrimitiveTypeE2EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 460 | 100 | const ColumnPtr& col_right_ptr) const { | 461 | 100 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 462 | 100 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 463 | | | 464 | 100 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 465 | 100 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 466 | | | 467 | 100 | DCHECK(!(left_is_const && right_is_const)); | 468 | | | 469 | 101 | if (!left_is_const && !right_is_const) { | 470 | 101 | auto col_res = ColumnUInt8::create(); | 471 | | | 472 | 101 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 473 | 101 | vec_res.resize(col_left->get_data().size()); | 474 | 101 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 475 | 101 | typename PrimitiveTypeTraits<PT>::CppType, | 476 | 101 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 477 | 101 | vec_res); | 478 | | | 479 | 101 | block.replace_by_position(result, std::move(col_res)); | 480 | 18.4E | } else if (!left_is_const && right_is_const) { | 481 | 0 | auto col_res = ColumnUInt8::create(); | 482 | |
| 483 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 484 | 0 | vec_res.resize(col_left->size()); | 485 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 486 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 487 | 0 | Op<PT>>::vector_constant(col_left->get_data(), | 488 | 0 | col_right->get_element(0), vec_res); | 489 | |
| 490 | 0 | block.replace_by_position(result, std::move(col_res)); | 491 | 18.4E | } else if (left_is_const && !right_is_const) { | 492 | 0 | auto col_res = ColumnUInt8::create(); | 493 | |
| 494 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 495 | 0 | vec_res.resize(col_right->size()); | 496 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 497 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 498 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 499 | 0 | col_right->get_data(), vec_res); | 500 | |
| 501 | 0 | block.replace_by_position(result, std::move(col_res)); | 502 | 0 | } | 503 | 100 | return Status::OK(); | 504 | 100 | } |
_ZNK5doris18FunctionComparisonINS_6LessOpENS_8NameLessEE16execute_num_typeILNS_13PrimitiveTypeE25EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 460 | 2.36k | const ColumnPtr& col_right_ptr) const { | 461 | 2.36k | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 462 | 2.36k | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 463 | | | 464 | 2.36k | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 465 | 2.36k | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 466 | | | 467 | 2.36k | DCHECK(!(left_is_const && right_is_const)); | 468 | | | 469 | 2.36k | if (!left_is_const && !right_is_const) { | 470 | 1.88k | auto col_res = ColumnUInt8::create(); | 471 | | | 472 | 1.88k | ColumnUInt8::Container& vec_res = col_res->get_data(); | 473 | 1.88k | vec_res.resize(col_left->get_data().size()); | 474 | 1.88k | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 475 | 1.88k | typename PrimitiveTypeTraits<PT>::CppType, | 476 | 1.88k | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 477 | 1.88k | vec_res); | 478 | | | 479 | 1.88k | block.replace_by_position(result, std::move(col_res)); | 480 | 1.88k | } else if (!left_is_const && right_is_const) { | 481 | 484 | auto col_res = ColumnUInt8::create(); | 482 | | | 483 | 484 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 484 | 484 | vec_res.resize(col_left->size()); | 485 | 484 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 486 | 484 | typename PrimitiveTypeTraits<PT>::CppType, | 487 | 484 | Op<PT>>::vector_constant(col_left->get_data(), | 488 | 484 | col_right->get_element(0), vec_res); | 489 | | | 490 | 484 | block.replace_by_position(result, std::move(col_res)); | 491 | 484 | } else if (left_is_const && !right_is_const) { | 492 | 0 | auto col_res = ColumnUInt8::create(); | 493 | |
| 494 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 495 | 0 | vec_res.resize(col_right->size()); | 496 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 497 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 498 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 499 | 0 | col_right->get_data(), vec_res); | 500 | |
| 501 | 0 | block.replace_by_position(result, std::move(col_res)); | 502 | 0 | } | 503 | 2.36k | return Status::OK(); | 504 | 2.36k | } |
_ZNK5doris18FunctionComparisonINS_6LessOpENS_8NameLessEE16execute_num_typeILNS_13PrimitiveTypeE26EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 460 | 802 | const ColumnPtr& col_right_ptr) const { | 461 | 802 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 462 | 802 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 463 | | | 464 | 802 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 465 | 802 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 466 | | | 467 | 802 | DCHECK(!(left_is_const && right_is_const)); | 468 | | | 469 | 802 | if (!left_is_const && !right_is_const) { | 470 | 277 | auto col_res = ColumnUInt8::create(); | 471 | | | 472 | 277 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 473 | 277 | vec_res.resize(col_left->get_data().size()); | 474 | 277 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 475 | 277 | typename PrimitiveTypeTraits<PT>::CppType, | 476 | 277 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 477 | 277 | vec_res); | 478 | | | 479 | 277 | block.replace_by_position(result, std::move(col_res)); | 480 | 525 | } else if (!left_is_const && right_is_const) { | 481 | 525 | auto col_res = ColumnUInt8::create(); | 482 | | | 483 | 525 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 484 | 525 | vec_res.resize(col_left->size()); | 485 | 525 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 486 | 525 | typename PrimitiveTypeTraits<PT>::CppType, | 487 | 525 | Op<PT>>::vector_constant(col_left->get_data(), | 488 | 525 | col_right->get_element(0), vec_res); | 489 | | | 490 | 525 | block.replace_by_position(result, std::move(col_res)); | 491 | 525 | } else if (left_is_const && !right_is_const) { | 492 | 0 | auto col_res = ColumnUInt8::create(); | 493 | |
| 494 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 495 | 0 | vec_res.resize(col_right->size()); | 496 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 497 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 498 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 499 | 0 | col_right->get_data(), vec_res); | 500 | |
| 501 | 0 | block.replace_by_position(result, std::move(col_res)); | 502 | 0 | } | 503 | 802 | return Status::OK(); | 504 | 802 | } |
_ZNK5doris18FunctionComparisonINS_6LessOpENS_8NameLessEE16execute_num_typeILNS_13PrimitiveTypeE42EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 460 | 2 | const ColumnPtr& col_right_ptr) const { | 461 | 2 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 462 | 2 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 463 | | | 464 | 2 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 465 | 2 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 466 | | | 467 | 2 | DCHECK(!(left_is_const && right_is_const)); | 468 | | | 469 | 2 | if (!left_is_const && !right_is_const) { | 470 | 1 | auto col_res = ColumnUInt8::create(); | 471 | | | 472 | 1 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 473 | 1 | vec_res.resize(col_left->get_data().size()); | 474 | 1 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 475 | 1 | typename PrimitiveTypeTraits<PT>::CppType, | 476 | 1 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 477 | 1 | vec_res); | 478 | | | 479 | 1 | block.replace_by_position(result, std::move(col_res)); | 480 | 1 | } else if (!left_is_const && right_is_const) { | 481 | 1 | auto col_res = ColumnUInt8::create(); | 482 | | | 483 | 1 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 484 | 1 | vec_res.resize(col_left->size()); | 485 | 1 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 486 | 1 | typename PrimitiveTypeTraits<PT>::CppType, | 487 | 1 | Op<PT>>::vector_constant(col_left->get_data(), | 488 | 1 | col_right->get_element(0), vec_res); | 489 | | | 490 | 1 | block.replace_by_position(result, std::move(col_res)); | 491 | 1 | } else if (left_is_const && !right_is_const) { | 492 | 0 | auto col_res = ColumnUInt8::create(); | 493 | |
| 494 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 495 | 0 | vec_res.resize(col_right->size()); | 496 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 497 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 498 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 499 | 0 | col_right->get_data(), vec_res); | 500 | |
| 501 | 0 | block.replace_by_position(result, std::move(col_res)); | 502 | 0 | } | 503 | 2 | return Status::OK(); | 504 | 2 | } |
_ZNK5doris18FunctionComparisonINS_6LessOpENS_8NameLessEE16execute_num_typeILNS_13PrimitiveTypeE3EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 460 | 2.19k | const ColumnPtr& col_right_ptr) const { | 461 | 2.19k | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 462 | 2.19k | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 463 | | | 464 | 2.19k | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 465 | 2.19k | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 466 | | | 467 | 2.19k | DCHECK(!(left_is_const && right_is_const)); | 468 | | | 469 | 2.19k | if (!left_is_const && !right_is_const) { | 470 | 151 | auto col_res = ColumnUInt8::create(); | 471 | | | 472 | 151 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 473 | 151 | vec_res.resize(col_left->get_data().size()); | 474 | 151 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 475 | 151 | typename PrimitiveTypeTraits<PT>::CppType, | 476 | 151 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 477 | 151 | vec_res); | 478 | | | 479 | 151 | block.replace_by_position(result, std::move(col_res)); | 480 | 2.04k | } else if (!left_is_const && right_is_const) { | 481 | 1.77k | auto col_res = ColumnUInt8::create(); | 482 | | | 483 | 1.77k | ColumnUInt8::Container& vec_res = col_res->get_data(); | 484 | 1.77k | vec_res.resize(col_left->size()); | 485 | 1.77k | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 486 | 1.77k | typename PrimitiveTypeTraits<PT>::CppType, | 487 | 1.77k | Op<PT>>::vector_constant(col_left->get_data(), | 488 | 1.77k | col_right->get_element(0), vec_res); | 489 | | | 490 | 1.77k | block.replace_by_position(result, std::move(col_res)); | 491 | 1.77k | } else if (left_is_const && !right_is_const) { | 492 | 264 | auto col_res = ColumnUInt8::create(); | 493 | | | 494 | 264 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 495 | 264 | vec_res.resize(col_right->size()); | 496 | 264 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 497 | 264 | typename PrimitiveTypeTraits<PT>::CppType, | 498 | 264 | Op<PT>>::constant_vector(col_left->get_element(0), | 499 | 264 | col_right->get_data(), vec_res); | 500 | | | 501 | 264 | block.replace_by_position(result, std::move(col_res)); | 502 | 264 | } | 503 | 2.19k | return Status::OK(); | 504 | 2.19k | } |
_ZNK5doris18FunctionComparisonINS_6LessOpENS_8NameLessEE16execute_num_typeILNS_13PrimitiveTypeE4EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 460 | 287 | const ColumnPtr& col_right_ptr) const { | 461 | 287 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 462 | 287 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 463 | | | 464 | 287 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 465 | 287 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 466 | | | 467 | 287 | DCHECK(!(left_is_const && right_is_const)); | 468 | | | 469 | 288 | if (!left_is_const && !right_is_const) { | 470 | 144 | auto col_res = ColumnUInt8::create(); | 471 | | | 472 | 144 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 473 | 144 | vec_res.resize(col_left->get_data().size()); | 474 | 144 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 475 | 144 | typename PrimitiveTypeTraits<PT>::CppType, | 476 | 144 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 477 | 144 | vec_res); | 478 | | | 479 | 144 | block.replace_by_position(result, std::move(col_res)); | 480 | 144 | } else if (!left_is_const && right_is_const) { | 481 | 144 | auto col_res = ColumnUInt8::create(); | 482 | | | 483 | 144 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 484 | 144 | vec_res.resize(col_left->size()); | 485 | 144 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 486 | 144 | typename PrimitiveTypeTraits<PT>::CppType, | 487 | 144 | Op<PT>>::vector_constant(col_left->get_data(), | 488 | 144 | col_right->get_element(0), vec_res); | 489 | | | 490 | 144 | block.replace_by_position(result, std::move(col_res)); | 491 | 18.4E | } else if (left_is_const && !right_is_const) { | 492 | 0 | auto col_res = ColumnUInt8::create(); | 493 | |
| 494 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 495 | 0 | vec_res.resize(col_right->size()); | 496 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 497 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 498 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 499 | 0 | col_right->get_data(), vec_res); | 500 | |
| 501 | 0 | block.replace_by_position(result, std::move(col_res)); | 502 | 0 | } | 503 | 287 | return Status::OK(); | 504 | 287 | } |
_ZNK5doris18FunctionComparisonINS_6LessOpENS_8NameLessEE16execute_num_typeILNS_13PrimitiveTypeE5EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 460 | 3.26k | const ColumnPtr& col_right_ptr) const { | 461 | 3.26k | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 462 | 3.26k | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 463 | | | 464 | 3.26k | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 465 | 3.26k | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 466 | | | 467 | 3.26k | DCHECK(!(left_is_const && right_is_const)); | 468 | | | 469 | 3.26k | if (!left_is_const && !right_is_const) { | 470 | 177 | auto col_res = ColumnUInt8::create(); | 471 | | | 472 | 177 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 473 | 177 | vec_res.resize(col_left->get_data().size()); | 474 | 177 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 475 | 177 | typename PrimitiveTypeTraits<PT>::CppType, | 476 | 177 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 477 | 177 | vec_res); | 478 | | | 479 | 177 | block.replace_by_position(result, std::move(col_res)); | 480 | 3.08k | } else if (!left_is_const && right_is_const) { | 481 | 2.89k | auto col_res = ColumnUInt8::create(); | 482 | | | 483 | 2.89k | ColumnUInt8::Container& vec_res = col_res->get_data(); | 484 | 2.89k | vec_res.resize(col_left->size()); | 485 | 2.89k | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 486 | 2.89k | typename PrimitiveTypeTraits<PT>::CppType, | 487 | 2.89k | Op<PT>>::vector_constant(col_left->get_data(), | 488 | 2.89k | col_right->get_element(0), vec_res); | 489 | | | 490 | 2.89k | block.replace_by_position(result, std::move(col_res)); | 491 | 2.89k | } else if (left_is_const && !right_is_const) { | 492 | 192 | auto col_res = ColumnUInt8::create(); | 493 | | | 494 | 192 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 495 | 192 | vec_res.resize(col_right->size()); | 496 | 192 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 497 | 192 | typename PrimitiveTypeTraits<PT>::CppType, | 498 | 192 | Op<PT>>::constant_vector(col_left->get_element(0), | 499 | 192 | col_right->get_data(), vec_res); | 500 | | | 501 | 192 | block.replace_by_position(result, std::move(col_res)); | 502 | 192 | } | 503 | 3.26k | return Status::OK(); | 504 | 3.26k | } |
_ZNK5doris18FunctionComparisonINS_6LessOpENS_8NameLessEE16execute_num_typeILNS_13PrimitiveTypeE6EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 460 | 1.70k | const ColumnPtr& col_right_ptr) const { | 461 | 1.70k | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 462 | 1.70k | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 463 | | | 464 | 1.70k | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 465 | 1.70k | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 466 | | | 467 | 1.70k | DCHECK(!(left_is_const && right_is_const)); | 468 | | | 469 | 1.70k | if (!left_is_const && !right_is_const) { | 470 | 221 | auto col_res = ColumnUInt8::create(); | 471 | | | 472 | 221 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 473 | 221 | vec_res.resize(col_left->get_data().size()); | 474 | 221 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 475 | 221 | typename PrimitiveTypeTraits<PT>::CppType, | 476 | 221 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 477 | 221 | vec_res); | 478 | | | 479 | 221 | block.replace_by_position(result, std::move(col_res)); | 480 | 1.48k | } else if (!left_is_const && right_is_const) { | 481 | 1.41k | auto col_res = ColumnUInt8::create(); | 482 | | | 483 | 1.41k | ColumnUInt8::Container& vec_res = col_res->get_data(); | 484 | 1.41k | vec_res.resize(col_left->size()); | 485 | 1.41k | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 486 | 1.41k | typename PrimitiveTypeTraits<PT>::CppType, | 487 | 1.41k | Op<PT>>::vector_constant(col_left->get_data(), | 488 | 1.41k | col_right->get_element(0), vec_res); | 489 | | | 490 | 1.41k | block.replace_by_position(result, std::move(col_res)); | 491 | 1.41k | } else if (left_is_const && !right_is_const) { | 492 | 73 | auto col_res = ColumnUInt8::create(); | 493 | | | 494 | 73 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 495 | 73 | vec_res.resize(col_right->size()); | 496 | 73 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 497 | 73 | typename PrimitiveTypeTraits<PT>::CppType, | 498 | 73 | Op<PT>>::constant_vector(col_left->get_element(0), | 499 | 73 | col_right->get_data(), vec_res); | 500 | | | 501 | 73 | block.replace_by_position(result, std::move(col_res)); | 502 | 73 | } | 503 | 1.70k | return Status::OK(); | 504 | 1.70k | } |
_ZNK5doris18FunctionComparisonINS_6LessOpENS_8NameLessEE16execute_num_typeILNS_13PrimitiveTypeE7EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 460 | 284 | const ColumnPtr& col_right_ptr) const { | 461 | 284 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 462 | 284 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 463 | | | 464 | 284 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 465 | 284 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 466 | | | 467 | 284 | DCHECK(!(left_is_const && right_is_const)); | 468 | | | 469 | 284 | if (!left_is_const && !right_is_const) { | 470 | 146 | auto col_res = ColumnUInt8::create(); | 471 | | | 472 | 146 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 473 | 146 | vec_res.resize(col_left->get_data().size()); | 474 | 146 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 475 | 146 | typename PrimitiveTypeTraits<PT>::CppType, | 476 | 146 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 477 | 146 | vec_res); | 478 | | | 479 | 146 | block.replace_by_position(result, std::move(col_res)); | 480 | 146 | } else if (!left_is_const && right_is_const) { | 481 | 46 | auto col_res = ColumnUInt8::create(); | 482 | | | 483 | 46 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 484 | 46 | vec_res.resize(col_left->size()); | 485 | 46 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 486 | 46 | typename PrimitiveTypeTraits<PT>::CppType, | 487 | 46 | Op<PT>>::vector_constant(col_left->get_data(), | 488 | 46 | col_right->get_element(0), vec_res); | 489 | | | 490 | 46 | block.replace_by_position(result, std::move(col_res)); | 491 | 92 | } else if (left_is_const && !right_is_const) { | 492 | 92 | auto col_res = ColumnUInt8::create(); | 493 | | | 494 | 92 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 495 | 92 | vec_res.resize(col_right->size()); | 496 | 92 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 497 | 92 | typename PrimitiveTypeTraits<PT>::CppType, | 498 | 92 | Op<PT>>::constant_vector(col_left->get_element(0), | 499 | 92 | col_right->get_data(), vec_res); | 500 | | | 501 | 92 | block.replace_by_position(result, std::move(col_res)); | 502 | 92 | } | 503 | 284 | return Status::OK(); | 504 | 284 | } |
_ZNK5doris18FunctionComparisonINS_6LessOpENS_8NameLessEE16execute_num_typeILNS_13PrimitiveTypeE36EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 460 | 18 | const ColumnPtr& col_right_ptr) const { | 461 | 18 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 462 | 18 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 463 | | | 464 | 18 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 465 | 18 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 466 | | | 467 | 18 | DCHECK(!(left_is_const && right_is_const)); | 468 | | | 469 | 18 | if (!left_is_const && !right_is_const) { | 470 | 16 | auto col_res = ColumnUInt8::create(); | 471 | | | 472 | 16 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 473 | 16 | vec_res.resize(col_left->get_data().size()); | 474 | 16 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 475 | 16 | typename PrimitiveTypeTraits<PT>::CppType, | 476 | 16 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 477 | 16 | vec_res); | 478 | | | 479 | 16 | block.replace_by_position(result, std::move(col_res)); | 480 | 16 | } else if (!left_is_const && right_is_const) { | 481 | 2 | auto col_res = ColumnUInt8::create(); | 482 | | | 483 | 2 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 484 | 2 | vec_res.resize(col_left->size()); | 485 | 2 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 486 | 2 | typename PrimitiveTypeTraits<PT>::CppType, | 487 | 2 | Op<PT>>::vector_constant(col_left->get_data(), | 488 | 2 | col_right->get_element(0), vec_res); | 489 | | | 490 | 2 | block.replace_by_position(result, std::move(col_res)); | 491 | 2 | } else if (left_is_const && !right_is_const) { | 492 | 0 | auto col_res = ColumnUInt8::create(); | 493 | |
| 494 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 495 | 0 | vec_res.resize(col_right->size()); | 496 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 497 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 498 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 499 | 0 | col_right->get_data(), vec_res); | 500 | |
| 501 | 0 | block.replace_by_position(result, std::move(col_res)); | 502 | 0 | } | 503 | 18 | return Status::OK(); | 504 | 18 | } |
_ZNK5doris18FunctionComparisonINS_6LessOpENS_8NameLessEE16execute_num_typeILNS_13PrimitiveTypeE37EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 460 | 16 | const ColumnPtr& col_right_ptr) const { | 461 | 16 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 462 | 16 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 463 | | | 464 | 16 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 465 | 16 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 466 | | | 467 | 16 | DCHECK(!(left_is_const && right_is_const)); | 468 | | | 469 | 16 | if (!left_is_const && !right_is_const) { | 470 | 16 | auto col_res = ColumnUInt8::create(); | 471 | | | 472 | 16 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 473 | 16 | vec_res.resize(col_left->get_data().size()); | 474 | 16 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 475 | 16 | typename PrimitiveTypeTraits<PT>::CppType, | 476 | 16 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 477 | 16 | vec_res); | 478 | | | 479 | 16 | block.replace_by_position(result, std::move(col_res)); | 480 | 16 | } else if (!left_is_const && right_is_const) { | 481 | 0 | auto col_res = ColumnUInt8::create(); | 482 | |
| 483 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 484 | 0 | vec_res.resize(col_left->size()); | 485 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 486 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 487 | 0 | Op<PT>>::vector_constant(col_left->get_data(), | 488 | 0 | col_right->get_element(0), vec_res); | 489 | |
| 490 | 0 | block.replace_by_position(result, std::move(col_res)); | 491 | 0 | } else if (left_is_const && !right_is_const) { | 492 | 0 | auto col_res = ColumnUInt8::create(); | 493 | |
| 494 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 495 | 0 | vec_res.resize(col_right->size()); | 496 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 497 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 498 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 499 | 0 | col_right->get_data(), vec_res); | 500 | |
| 501 | 0 | block.replace_by_position(result, std::move(col_res)); | 502 | 0 | } | 503 | 16 | return Status::OK(); | 504 | 16 | } |
_ZNK5doris18FunctionComparisonINS_6LessOpENS_8NameLessEE16execute_num_typeILNS_13PrimitiveTypeE8EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 460 | 175 | const ColumnPtr& col_right_ptr) const { | 461 | 175 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 462 | 175 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 463 | | | 464 | 175 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 465 | 175 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 466 | | | 467 | 175 | DCHECK(!(left_is_const && right_is_const)); | 468 | | | 469 | 175 | if (!left_is_const && !right_is_const) { | 470 | 147 | auto col_res = ColumnUInt8::create(); | 471 | | | 472 | 147 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 473 | 147 | vec_res.resize(col_left->get_data().size()); | 474 | 147 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 475 | 147 | typename PrimitiveTypeTraits<PT>::CppType, | 476 | 147 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 477 | 147 | vec_res); | 478 | | | 479 | 147 | block.replace_by_position(result, std::move(col_res)); | 480 | 147 | } else if (!left_is_const && right_is_const) { | 481 | 28 | auto col_res = ColumnUInt8::create(); | 482 | | | 483 | 28 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 484 | 28 | vec_res.resize(col_left->size()); | 485 | 28 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 486 | 28 | typename PrimitiveTypeTraits<PT>::CppType, | 487 | 28 | Op<PT>>::vector_constant(col_left->get_data(), | 488 | 28 | col_right->get_element(0), vec_res); | 489 | | | 490 | 28 | block.replace_by_position(result, std::move(col_res)); | 491 | 28 | } else if (left_is_const && !right_is_const) { | 492 | 0 | auto col_res = ColumnUInt8::create(); | 493 | |
| 494 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 495 | 0 | vec_res.resize(col_right->size()); | 496 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 497 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 498 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 499 | 0 | col_right->get_data(), vec_res); | 500 | |
| 501 | 0 | block.replace_by_position(result, std::move(col_res)); | 502 | 0 | } | 503 | 175 | return Status::OK(); | 504 | 175 | } |
_ZNK5doris18FunctionComparisonINS_6LessOpENS_8NameLessEE16execute_num_typeILNS_13PrimitiveTypeE9EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 460 | 396 | const ColumnPtr& col_right_ptr) const { | 461 | 396 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 462 | 396 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 463 | | | 464 | 396 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 465 | 396 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 466 | | | 467 | 396 | DCHECK(!(left_is_const && right_is_const)); | 468 | | | 469 | 396 | if (!left_is_const && !right_is_const) { | 470 | 163 | auto col_res = ColumnUInt8::create(); | 471 | | | 472 | 163 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 473 | 163 | vec_res.resize(col_left->get_data().size()); | 474 | 163 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 475 | 163 | typename PrimitiveTypeTraits<PT>::CppType, | 476 | 163 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 477 | 163 | vec_res); | 478 | | | 479 | 163 | block.replace_by_position(result, std::move(col_res)); | 480 | 233 | } else if (!left_is_const && right_is_const) { | 481 | 233 | auto col_res = ColumnUInt8::create(); | 482 | | | 483 | 233 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 484 | 233 | vec_res.resize(col_left->size()); | 485 | 233 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 486 | 233 | typename PrimitiveTypeTraits<PT>::CppType, | 487 | 233 | Op<PT>>::vector_constant(col_left->get_data(), | 488 | 233 | col_right->get_element(0), vec_res); | 489 | | | 490 | 233 | block.replace_by_position(result, std::move(col_res)); | 491 | 233 | } else if (left_is_const && !right_is_const) { | 492 | 0 | auto col_res = ColumnUInt8::create(); | 493 | |
| 494 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 495 | 0 | vec_res.resize(col_right->size()); | 496 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 497 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 498 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 499 | 0 | col_right->get_data(), vec_res); | 500 | |
| 501 | 0 | block.replace_by_position(result, std::move(col_res)); | 502 | 0 | } | 503 | 396 | return Status::OK(); | 504 | 396 | } |
Unexecuted instantiation: _ZNK5doris18FunctionComparisonINS_6LessOpENS_8NameLessEE16execute_num_typeILNS_13PrimitiveTypeE27EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ _ZNK5doris18FunctionComparisonINS_14LessOrEqualsOpENS_16NameLessOrEqualsEE16execute_num_typeILNS_13PrimitiveTypeE2EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 460 | 161 | const ColumnPtr& col_right_ptr) const { | 461 | 161 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 462 | 161 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 463 | | | 464 | 161 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 465 | 161 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 466 | | | 467 | 161 | DCHECK(!(left_is_const && right_is_const)); | 468 | | | 469 | 161 | if (!left_is_const && !right_is_const) { | 470 | 42 | auto col_res = ColumnUInt8::create(); | 471 | | | 472 | 42 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 473 | 42 | vec_res.resize(col_left->get_data().size()); | 474 | 42 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 475 | 42 | typename PrimitiveTypeTraits<PT>::CppType, | 476 | 42 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 477 | 42 | vec_res); | 478 | | | 479 | 42 | block.replace_by_position(result, std::move(col_res)); | 480 | 119 | } else if (!left_is_const && right_is_const) { | 481 | 119 | auto col_res = ColumnUInt8::create(); | 482 | | | 483 | 119 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 484 | 119 | vec_res.resize(col_left->size()); | 485 | 119 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 486 | 119 | typename PrimitiveTypeTraits<PT>::CppType, | 487 | 119 | Op<PT>>::vector_constant(col_left->get_data(), | 488 | 119 | col_right->get_element(0), vec_res); | 489 | | | 490 | 119 | block.replace_by_position(result, std::move(col_res)); | 491 | 119 | } else if (left_is_const && !right_is_const) { | 492 | 0 | auto col_res = ColumnUInt8::create(); | 493 | |
| 494 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 495 | 0 | vec_res.resize(col_right->size()); | 496 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 497 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 498 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 499 | 0 | col_right->get_data(), vec_res); | 500 | |
| 501 | 0 | block.replace_by_position(result, std::move(col_res)); | 502 | 0 | } | 503 | 161 | return Status::OK(); | 504 | 161 | } |
_ZNK5doris18FunctionComparisonINS_14LessOrEqualsOpENS_16NameLessOrEqualsEE16execute_num_typeILNS_13PrimitiveTypeE25EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 460 | 6.76k | const ColumnPtr& col_right_ptr) const { | 461 | 6.76k | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 462 | 6.76k | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 463 | | | 464 | 6.76k | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 465 | 6.76k | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 466 | | | 467 | 6.76k | DCHECK(!(left_is_const && right_is_const)); | 468 | | | 469 | 6.76k | if (!left_is_const && !right_is_const) { | 470 | 487 | auto col_res = ColumnUInt8::create(); | 471 | | | 472 | 487 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 473 | 487 | vec_res.resize(col_left->get_data().size()); | 474 | 487 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 475 | 487 | typename PrimitiveTypeTraits<PT>::CppType, | 476 | 487 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 477 | 487 | vec_res); | 478 | | | 479 | 487 | block.replace_by_position(result, std::move(col_res)); | 480 | 6.27k | } else if (!left_is_const && right_is_const) { | 481 | 6.26k | auto col_res = ColumnUInt8::create(); | 482 | | | 483 | 6.26k | ColumnUInt8::Container& vec_res = col_res->get_data(); | 484 | 6.26k | vec_res.resize(col_left->size()); | 485 | 6.26k | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 486 | 6.26k | typename PrimitiveTypeTraits<PT>::CppType, | 487 | 6.26k | Op<PT>>::vector_constant(col_left->get_data(), | 488 | 6.26k | col_right->get_element(0), vec_res); | 489 | | | 490 | 6.26k | block.replace_by_position(result, std::move(col_res)); | 491 | 6.26k | } else if (left_is_const && !right_is_const) { | 492 | 5 | auto col_res = ColumnUInt8::create(); | 493 | | | 494 | 5 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 495 | 5 | vec_res.resize(col_right->size()); | 496 | 5 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 497 | 5 | typename PrimitiveTypeTraits<PT>::CppType, | 498 | 5 | Op<PT>>::constant_vector(col_left->get_element(0), | 499 | 5 | col_right->get_data(), vec_res); | 500 | | | 501 | 5 | block.replace_by_position(result, std::move(col_res)); | 502 | 5 | } | 503 | 6.76k | return Status::OK(); | 504 | 6.76k | } |
_ZNK5doris18FunctionComparisonINS_14LessOrEqualsOpENS_16NameLessOrEqualsEE16execute_num_typeILNS_13PrimitiveTypeE26EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 460 | 453 | const ColumnPtr& col_right_ptr) const { | 461 | 453 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 462 | 453 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 463 | | | 464 | 453 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 465 | 453 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 466 | | | 467 | 453 | DCHECK(!(left_is_const && right_is_const)); | 468 | | | 469 | 453 | if (!left_is_const && !right_is_const) { | 470 | 90 | auto col_res = ColumnUInt8::create(); | 471 | | | 472 | 90 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 473 | 90 | vec_res.resize(col_left->get_data().size()); | 474 | 90 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 475 | 90 | typename PrimitiveTypeTraits<PT>::CppType, | 476 | 90 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 477 | 90 | vec_res); | 478 | | | 479 | 90 | block.replace_by_position(result, std::move(col_res)); | 480 | 363 | } else if (!left_is_const && right_is_const) { | 481 | 363 | auto col_res = ColumnUInt8::create(); | 482 | | | 483 | 363 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 484 | 363 | vec_res.resize(col_left->size()); | 485 | 363 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 486 | 363 | typename PrimitiveTypeTraits<PT>::CppType, | 487 | 363 | Op<PT>>::vector_constant(col_left->get_data(), | 488 | 363 | col_right->get_element(0), vec_res); | 489 | | | 490 | 363 | block.replace_by_position(result, std::move(col_res)); | 491 | 363 | } else if (left_is_const && !right_is_const) { | 492 | 0 | auto col_res = ColumnUInt8::create(); | 493 | |
| 494 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 495 | 0 | vec_res.resize(col_right->size()); | 496 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 497 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 498 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 499 | 0 | col_right->get_data(), vec_res); | 500 | |
| 501 | 0 | block.replace_by_position(result, std::move(col_res)); | 502 | 0 | } | 503 | 453 | return Status::OK(); | 504 | 453 | } |
_ZNK5doris18FunctionComparisonINS_14LessOrEqualsOpENS_16NameLessOrEqualsEE16execute_num_typeILNS_13PrimitiveTypeE42EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 460 | 1 | const ColumnPtr& col_right_ptr) const { | 461 | 1 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 462 | 1 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 463 | | | 464 | 1 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 465 | 1 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 466 | | | 467 | 1 | DCHECK(!(left_is_const && right_is_const)); | 468 | | | 469 | 1 | if (!left_is_const && !right_is_const) { | 470 | 1 | auto col_res = ColumnUInt8::create(); | 471 | | | 472 | 1 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 473 | 1 | vec_res.resize(col_left->get_data().size()); | 474 | 1 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 475 | 1 | typename PrimitiveTypeTraits<PT>::CppType, | 476 | 1 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 477 | 1 | vec_res); | 478 | | | 479 | 1 | block.replace_by_position(result, std::move(col_res)); | 480 | 1 | } else if (!left_is_const && right_is_const) { | 481 | 0 | auto col_res = ColumnUInt8::create(); | 482 | |
| 483 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 484 | 0 | vec_res.resize(col_left->size()); | 485 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 486 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 487 | 0 | Op<PT>>::vector_constant(col_left->get_data(), | 488 | 0 | col_right->get_element(0), vec_res); | 489 | |
| 490 | 0 | block.replace_by_position(result, std::move(col_res)); | 491 | 0 | } else if (left_is_const && !right_is_const) { | 492 | 0 | auto col_res = ColumnUInt8::create(); | 493 | |
| 494 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 495 | 0 | vec_res.resize(col_right->size()); | 496 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 497 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 498 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 499 | 0 | col_right->get_data(), vec_res); | 500 | |
| 501 | 0 | block.replace_by_position(result, std::move(col_res)); | 502 | 0 | } | 503 | 1 | return Status::OK(); | 504 | 1 | } |
_ZNK5doris18FunctionComparisonINS_14LessOrEqualsOpENS_16NameLessOrEqualsEE16execute_num_typeILNS_13PrimitiveTypeE3EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 460 | 91 | const ColumnPtr& col_right_ptr) const { | 461 | 91 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 462 | 91 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 463 | | | 464 | 91 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 465 | 91 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 466 | | | 467 | 91 | DCHECK(!(left_is_const && right_is_const)); | 468 | | | 469 | 91 | if (!left_is_const && !right_is_const) { | 470 | 1 | auto col_res = ColumnUInt8::create(); | 471 | | | 472 | 1 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 473 | 1 | vec_res.resize(col_left->get_data().size()); | 474 | 1 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 475 | 1 | typename PrimitiveTypeTraits<PT>::CppType, | 476 | 1 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 477 | 1 | vec_res); | 478 | | | 479 | 1 | block.replace_by_position(result, std::move(col_res)); | 480 | 90 | } else if (!left_is_const && right_is_const) { | 481 | 90 | auto col_res = ColumnUInt8::create(); | 482 | | | 483 | 90 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 484 | 90 | vec_res.resize(col_left->size()); | 485 | 90 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 486 | 90 | typename PrimitiveTypeTraits<PT>::CppType, | 487 | 90 | Op<PT>>::vector_constant(col_left->get_data(), | 488 | 90 | col_right->get_element(0), vec_res); | 489 | | | 490 | 90 | block.replace_by_position(result, std::move(col_res)); | 491 | 90 | } else if (left_is_const && !right_is_const) { | 492 | 0 | auto col_res = ColumnUInt8::create(); | 493 | |
| 494 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 495 | 0 | vec_res.resize(col_right->size()); | 496 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 497 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 498 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 499 | 0 | col_right->get_data(), vec_res); | 500 | |
| 501 | 0 | block.replace_by_position(result, std::move(col_res)); | 502 | 0 | } | 503 | 91 | return Status::OK(); | 504 | 91 | } |
_ZNK5doris18FunctionComparisonINS_14LessOrEqualsOpENS_16NameLessOrEqualsEE16execute_num_typeILNS_13PrimitiveTypeE4EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 460 | 127 | const ColumnPtr& col_right_ptr) const { | 461 | 127 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 462 | 127 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 463 | | | 464 | 127 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 465 | 127 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 466 | | | 467 | 127 | DCHECK(!(left_is_const && right_is_const)); | 468 | | | 469 | 127 | if (!left_is_const && !right_is_const) { | 470 | 0 | auto col_res = ColumnUInt8::create(); | 471 | |
| 472 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 473 | 0 | vec_res.resize(col_left->get_data().size()); | 474 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 475 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 476 | 0 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 477 | 0 | vec_res); | 478 | |
| 479 | 0 | block.replace_by_position(result, std::move(col_res)); | 480 | 127 | } else if (!left_is_const && right_is_const) { | 481 | 127 | auto col_res = ColumnUInt8::create(); | 482 | | | 483 | 127 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 484 | 127 | vec_res.resize(col_left->size()); | 485 | 127 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 486 | 127 | typename PrimitiveTypeTraits<PT>::CppType, | 487 | 127 | Op<PT>>::vector_constant(col_left->get_data(), | 488 | 127 | col_right->get_element(0), vec_res); | 489 | | | 490 | 127 | block.replace_by_position(result, std::move(col_res)); | 491 | 127 | } else if (left_is_const && !right_is_const) { | 492 | 0 | auto col_res = ColumnUInt8::create(); | 493 | |
| 494 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 495 | 0 | vec_res.resize(col_right->size()); | 496 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 497 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 498 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 499 | 0 | col_right->get_data(), vec_res); | 500 | |
| 501 | 0 | block.replace_by_position(result, std::move(col_res)); | 502 | 0 | } | 503 | 127 | return Status::OK(); | 504 | 127 | } |
_ZNK5doris18FunctionComparisonINS_14LessOrEqualsOpENS_16NameLessOrEqualsEE16execute_num_typeILNS_13PrimitiveTypeE5EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 460 | 18.2k | const ColumnPtr& col_right_ptr) const { | 461 | 18.2k | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 462 | 18.2k | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 463 | | | 464 | 18.2k | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 465 | 18.2k | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 466 | | | 467 | 18.2k | DCHECK(!(left_is_const && right_is_const)); | 468 | | | 469 | 18.2k | if (!left_is_const && !right_is_const) { | 470 | 83 | auto col_res = ColumnUInt8::create(); | 471 | | | 472 | 83 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 473 | 83 | vec_res.resize(col_left->get_data().size()); | 474 | 83 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 475 | 83 | typename PrimitiveTypeTraits<PT>::CppType, | 476 | 83 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 477 | 83 | vec_res); | 478 | | | 479 | 83 | block.replace_by_position(result, std::move(col_res)); | 480 | 18.1k | } else if (!left_is_const && right_is_const) { | 481 | 17.6k | auto col_res = ColumnUInt8::create(); | 482 | | | 483 | 17.6k | ColumnUInt8::Container& vec_res = col_res->get_data(); | 484 | 17.6k | vec_res.resize(col_left->size()); | 485 | 17.6k | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 486 | 17.6k | typename PrimitiveTypeTraits<PT>::CppType, | 487 | 17.6k | Op<PT>>::vector_constant(col_left->get_data(), | 488 | 17.6k | col_right->get_element(0), vec_res); | 489 | | | 490 | 17.6k | block.replace_by_position(result, std::move(col_res)); | 491 | 17.6k | } else if (left_is_const && !right_is_const) { | 492 | 574 | auto col_res = ColumnUInt8::create(); | 493 | | | 494 | 574 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 495 | 574 | vec_res.resize(col_right->size()); | 496 | 574 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 497 | 574 | typename PrimitiveTypeTraits<PT>::CppType, | 498 | 574 | Op<PT>>::constant_vector(col_left->get_element(0), | 499 | 574 | col_right->get_data(), vec_res); | 500 | | | 501 | 574 | block.replace_by_position(result, std::move(col_res)); | 502 | 574 | } | 503 | 18.2k | return Status::OK(); | 504 | 18.2k | } |
_ZNK5doris18FunctionComparisonINS_14LessOrEqualsOpENS_16NameLessOrEqualsEE16execute_num_typeILNS_13PrimitiveTypeE6EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 460 | 910 | const ColumnPtr& col_right_ptr) const { | 461 | 910 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 462 | 910 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 463 | | | 464 | 910 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 465 | 910 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 466 | | | 467 | 910 | DCHECK(!(left_is_const && right_is_const)); | 468 | | | 469 | 910 | if (!left_is_const && !right_is_const) { | 470 | 61 | auto col_res = ColumnUInt8::create(); | 471 | | | 472 | 61 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 473 | 61 | vec_res.resize(col_left->get_data().size()); | 474 | 61 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 475 | 61 | typename PrimitiveTypeTraits<PT>::CppType, | 476 | 61 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 477 | 61 | vec_res); | 478 | | | 479 | 61 | block.replace_by_position(result, std::move(col_res)); | 480 | 849 | } else if (!left_is_const && right_is_const) { | 481 | 801 | auto col_res = ColumnUInt8::create(); | 482 | | | 483 | 801 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 484 | 801 | vec_res.resize(col_left->size()); | 485 | 801 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 486 | 801 | typename PrimitiveTypeTraits<PT>::CppType, | 487 | 801 | Op<PT>>::vector_constant(col_left->get_data(), | 488 | 801 | col_right->get_element(0), vec_res); | 489 | | | 490 | 801 | block.replace_by_position(result, std::move(col_res)); | 491 | 801 | } else if (left_is_const && !right_is_const) { | 492 | 48 | auto col_res = ColumnUInt8::create(); | 493 | | | 494 | 48 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 495 | 48 | vec_res.resize(col_right->size()); | 496 | 48 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 497 | 48 | typename PrimitiveTypeTraits<PT>::CppType, | 498 | 48 | Op<PT>>::constant_vector(col_left->get_element(0), | 499 | 48 | col_right->get_data(), vec_res); | 500 | | | 501 | 48 | block.replace_by_position(result, std::move(col_res)); | 502 | 48 | } | 503 | 910 | return Status::OK(); | 504 | 910 | } |
_ZNK5doris18FunctionComparisonINS_14LessOrEqualsOpENS_16NameLessOrEqualsEE16execute_num_typeILNS_13PrimitiveTypeE7EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 460 | 69 | const ColumnPtr& col_right_ptr) const { | 461 | 69 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 462 | 69 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 463 | | | 464 | 69 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 465 | 69 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 466 | | | 467 | 69 | DCHECK(!(left_is_const && right_is_const)); | 468 | | | 469 | 69 | if (!left_is_const && !right_is_const) { | 470 | 0 | auto col_res = ColumnUInt8::create(); | 471 | |
| 472 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 473 | 0 | vec_res.resize(col_left->get_data().size()); | 474 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 475 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 476 | 0 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 477 | 0 | vec_res); | 478 | |
| 479 | 0 | block.replace_by_position(result, std::move(col_res)); | 480 | 69 | } else if (!left_is_const && right_is_const) { | 481 | 69 | auto col_res = ColumnUInt8::create(); | 482 | | | 483 | 69 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 484 | 69 | vec_res.resize(col_left->size()); | 485 | 69 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 486 | 69 | typename PrimitiveTypeTraits<PT>::CppType, | 487 | 69 | Op<PT>>::vector_constant(col_left->get_data(), | 488 | 69 | col_right->get_element(0), vec_res); | 489 | | | 490 | 69 | block.replace_by_position(result, std::move(col_res)); | 491 | 69 | } else if (left_is_const && !right_is_const) { | 492 | 0 | auto col_res = ColumnUInt8::create(); | 493 | |
| 494 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 495 | 0 | vec_res.resize(col_right->size()); | 496 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 497 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 498 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 499 | 0 | col_right->get_data(), vec_res); | 500 | |
| 501 | 0 | block.replace_by_position(result, std::move(col_res)); | 502 | 0 | } | 503 | 69 | return Status::OK(); | 504 | 69 | } |
_ZNK5doris18FunctionComparisonINS_14LessOrEqualsOpENS_16NameLessOrEqualsEE16execute_num_typeILNS_13PrimitiveTypeE36EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 460 | 10 | const ColumnPtr& col_right_ptr) const { | 461 | 10 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 462 | 10 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 463 | | | 464 | 10 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 465 | 10 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 466 | | | 467 | 10 | DCHECK(!(left_is_const && right_is_const)); | 468 | | | 469 | 10 | if (!left_is_const && !right_is_const) { | 470 | 0 | auto col_res = ColumnUInt8::create(); | 471 | |
| 472 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 473 | 0 | vec_res.resize(col_left->get_data().size()); | 474 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 475 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 476 | 0 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 477 | 0 | vec_res); | 478 | |
| 479 | 0 | block.replace_by_position(result, std::move(col_res)); | 480 | 10 | } else if (!left_is_const && right_is_const) { | 481 | 10 | auto col_res = ColumnUInt8::create(); | 482 | | | 483 | 10 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 484 | 10 | vec_res.resize(col_left->size()); | 485 | 10 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 486 | 10 | typename PrimitiveTypeTraits<PT>::CppType, | 487 | 10 | Op<PT>>::vector_constant(col_left->get_data(), | 488 | 10 | col_right->get_element(0), vec_res); | 489 | | | 490 | 10 | block.replace_by_position(result, std::move(col_res)); | 491 | 10 | } else if (left_is_const && !right_is_const) { | 492 | 0 | auto col_res = ColumnUInt8::create(); | 493 | |
| 494 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 495 | 0 | vec_res.resize(col_right->size()); | 496 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 497 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 498 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 499 | 0 | col_right->get_data(), vec_res); | 500 | |
| 501 | 0 | block.replace_by_position(result, std::move(col_res)); | 502 | 0 | } | 503 | 10 | return Status::OK(); | 504 | 10 | } |
Unexecuted instantiation: _ZNK5doris18FunctionComparisonINS_14LessOrEqualsOpENS_16NameLessOrEqualsEE16execute_num_typeILNS_13PrimitiveTypeE37EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ _ZNK5doris18FunctionComparisonINS_14LessOrEqualsOpENS_16NameLessOrEqualsEE16execute_num_typeILNS_13PrimitiveTypeE8EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 460 | 198 | const ColumnPtr& col_right_ptr) const { | 461 | 198 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 462 | 198 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 463 | | | 464 | 198 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 465 | 198 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 466 | | | 467 | 198 | DCHECK(!(left_is_const && right_is_const)); | 468 | | | 469 | 198 | if (!left_is_const && !right_is_const) { | 470 | 80 | auto col_res = ColumnUInt8::create(); | 471 | | | 472 | 80 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 473 | 80 | vec_res.resize(col_left->get_data().size()); | 474 | 80 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 475 | 80 | typename PrimitiveTypeTraits<PT>::CppType, | 476 | 80 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 477 | 80 | vec_res); | 478 | | | 479 | 80 | block.replace_by_position(result, std::move(col_res)); | 480 | 118 | } else if (!left_is_const && right_is_const) { | 481 | 118 | auto col_res = ColumnUInt8::create(); | 482 | | | 483 | 118 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 484 | 118 | vec_res.resize(col_left->size()); | 485 | 118 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 486 | 118 | typename PrimitiveTypeTraits<PT>::CppType, | 487 | 118 | Op<PT>>::vector_constant(col_left->get_data(), | 488 | 118 | col_right->get_element(0), vec_res); | 489 | | | 490 | 118 | block.replace_by_position(result, std::move(col_res)); | 491 | 118 | } else if (left_is_const && !right_is_const) { | 492 | 0 | auto col_res = ColumnUInt8::create(); | 493 | |
| 494 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 495 | 0 | vec_res.resize(col_right->size()); | 496 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 497 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 498 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 499 | 0 | col_right->get_data(), vec_res); | 500 | |
| 501 | 0 | block.replace_by_position(result, std::move(col_res)); | 502 | 0 | } | 503 | 198 | return Status::OK(); | 504 | 198 | } |
_ZNK5doris18FunctionComparisonINS_14LessOrEqualsOpENS_16NameLessOrEqualsEE16execute_num_typeILNS_13PrimitiveTypeE9EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 460 | 156 | const ColumnPtr& col_right_ptr) const { | 461 | 156 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 462 | 156 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 463 | | | 464 | 156 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 465 | 156 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 466 | | | 467 | 156 | DCHECK(!(left_is_const && right_is_const)); | 468 | | | 469 | 156 | if (!left_is_const && !right_is_const) { | 470 | 20 | auto col_res = ColumnUInt8::create(); | 471 | | | 472 | 20 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 473 | 20 | vec_res.resize(col_left->get_data().size()); | 474 | 20 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 475 | 20 | typename PrimitiveTypeTraits<PT>::CppType, | 476 | 20 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 477 | 20 | vec_res); | 478 | | | 479 | 20 | block.replace_by_position(result, std::move(col_res)); | 480 | 136 | } else if (!left_is_const && right_is_const) { | 481 | 135 | auto col_res = ColumnUInt8::create(); | 482 | | | 483 | 135 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 484 | 135 | vec_res.resize(col_left->size()); | 485 | 135 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 486 | 135 | typename PrimitiveTypeTraits<PT>::CppType, | 487 | 135 | Op<PT>>::vector_constant(col_left->get_data(), | 488 | 135 | col_right->get_element(0), vec_res); | 489 | | | 490 | 135 | block.replace_by_position(result, std::move(col_res)); | 491 | 135 | } else if (left_is_const && !right_is_const) { | 492 | 1 | auto col_res = ColumnUInt8::create(); | 493 | | | 494 | 1 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 495 | 1 | vec_res.resize(col_right->size()); | 496 | 1 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 497 | 1 | typename PrimitiveTypeTraits<PT>::CppType, | 498 | 1 | Op<PT>>::constant_vector(col_left->get_element(0), | 499 | 1 | col_right->get_data(), vec_res); | 500 | | | 501 | 1 | block.replace_by_position(result, std::move(col_res)); | 502 | 1 | } | 503 | 156 | return Status::OK(); | 504 | 156 | } |
Unexecuted instantiation: _ZNK5doris18FunctionComparisonINS_14LessOrEqualsOpENS_16NameLessOrEqualsEE16execute_num_typeILNS_13PrimitiveTypeE27EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ |
505 | | |
506 | | Status execute_decimal(Block& block, uint32_t result, const ColumnWithTypeAndName& col_left, |
507 | 13.2k | const ColumnWithTypeAndName& col_right) const { |
508 | 13.2k | auto call = [&](const auto& type) -> bool { |
509 | 13.2k | using DispatchType = std::decay_t<decltype(type)>; |
510 | 13.2k | DecimalComparison<DispatchType::PType, DispatchType::PType, Op, false>( |
511 | 13.2k | block, result, col_left, col_right); |
512 | 13.2k | return true; |
513 | 13.2k | }; _ZZNK5doris18FunctionComparisonINS_8EqualsOpENS_10NameEqualsEE15execute_decimalERNS_5BlockEjRKNS_21ColumnWithTypeAndNameES8_ENKUlRKT_E_clINS_16DispatchDataTypeILNS_13PrimitiveTypeE28EEEEEbSB_ Line | Count | Source | 508 | 290 | auto call = [&](const auto& type) -> bool { | 509 | 290 | using DispatchType = std::decay_t<decltype(type)>; | 510 | 290 | DecimalComparison<DispatchType::PType, DispatchType::PType, Op, false>( | 511 | 290 | block, result, col_left, col_right); | 512 | 290 | return true; | 513 | 290 | }; |
_ZZNK5doris18FunctionComparisonINS_8EqualsOpENS_10NameEqualsEE15execute_decimalERNS_5BlockEjRKNS_21ColumnWithTypeAndNameES8_ENKUlRKT_E_clINS_16DispatchDataTypeILNS_13PrimitiveTypeE29EEEEEbSB_ Line | Count | Source | 508 | 302 | auto call = [&](const auto& type) -> bool { | 509 | 302 | using DispatchType = std::decay_t<decltype(type)>; | 510 | 302 | DecimalComparison<DispatchType::PType, DispatchType::PType, Op, false>( | 511 | 302 | block, result, col_left, col_right); | 512 | 302 | return true; | 513 | 302 | }; |
Unexecuted instantiation: _ZZNK5doris18FunctionComparisonINS_8EqualsOpENS_10NameEqualsEE15execute_decimalERNS_5BlockEjRKNS_21ColumnWithTypeAndNameES8_ENKUlRKT_E_clINS_16DispatchDataTypeILNS_13PrimitiveTypeE20EEEEEbSB_ _ZZNK5doris18FunctionComparisonINS_8EqualsOpENS_10NameEqualsEE15execute_decimalERNS_5BlockEjRKNS_21ColumnWithTypeAndNameES8_ENKUlRKT_E_clINS_16DispatchDataTypeILNS_13PrimitiveTypeE30EEEEEbSB_ Line | Count | Source | 508 | 1.17k | auto call = [&](const auto& type) -> bool { | 509 | 1.17k | using DispatchType = std::decay_t<decltype(type)>; | 510 | 1.17k | DecimalComparison<DispatchType::PType, DispatchType::PType, Op, false>( | 511 | 1.17k | block, result, col_left, col_right); | 512 | 1.17k | return true; | 513 | 1.17k | }; |
_ZZNK5doris18FunctionComparisonINS_8EqualsOpENS_10NameEqualsEE15execute_decimalERNS_5BlockEjRKNS_21ColumnWithTypeAndNameES8_ENKUlRKT_E_clINS_16DispatchDataTypeILNS_13PrimitiveTypeE35EEEEEbSB_ Line | Count | Source | 508 | 34 | auto call = [&](const auto& type) -> bool { | 509 | 34 | using DispatchType = std::decay_t<decltype(type)>; | 510 | 34 | DecimalComparison<DispatchType::PType, DispatchType::PType, Op, false>( | 511 | 34 | block, result, col_left, col_right); | 512 | 34 | return true; | 513 | 34 | }; |
Unexecuted instantiation: _ZZNK5doris18FunctionComparisonINS_11NotEqualsOpENS_13NameNotEqualsEE15execute_decimalERNS_5BlockEjRKNS_21ColumnWithTypeAndNameES8_ENKUlRKT_E_clINS_16DispatchDataTypeILNS_13PrimitiveTypeE28EEEEEbSB_ _ZZNK5doris18FunctionComparisonINS_11NotEqualsOpENS_13NameNotEqualsEE15execute_decimalERNS_5BlockEjRKNS_21ColumnWithTypeAndNameES8_ENKUlRKT_E_clINS_16DispatchDataTypeILNS_13PrimitiveTypeE29EEEEEbSB_ Line | Count | Source | 508 | 68 | auto call = [&](const auto& type) -> bool { | 509 | 68 | using DispatchType = std::decay_t<decltype(type)>; | 510 | 68 | DecimalComparison<DispatchType::PType, DispatchType::PType, Op, false>( | 511 | 68 | block, result, col_left, col_right); | 512 | 68 | return true; | 513 | 68 | }; |
Unexecuted instantiation: _ZZNK5doris18FunctionComparisonINS_11NotEqualsOpENS_13NameNotEqualsEE15execute_decimalERNS_5BlockEjRKNS_21ColumnWithTypeAndNameES8_ENKUlRKT_E_clINS_16DispatchDataTypeILNS_13PrimitiveTypeE20EEEEEbSB_ _ZZNK5doris18FunctionComparisonINS_11NotEqualsOpENS_13NameNotEqualsEE15execute_decimalERNS_5BlockEjRKNS_21ColumnWithTypeAndNameES8_ENKUlRKT_E_clINS_16DispatchDataTypeILNS_13PrimitiveTypeE30EEEEEbSB_ Line | Count | Source | 508 | 324 | auto call = [&](const auto& type) -> bool { | 509 | 324 | using DispatchType = std::decay_t<decltype(type)>; | 510 | 324 | DecimalComparison<DispatchType::PType, DispatchType::PType, Op, false>( | 511 | 324 | block, result, col_left, col_right); | 512 | 324 | return true; | 513 | 324 | }; |
_ZZNK5doris18FunctionComparisonINS_11NotEqualsOpENS_13NameNotEqualsEE15execute_decimalERNS_5BlockEjRKNS_21ColumnWithTypeAndNameES8_ENKUlRKT_E_clINS_16DispatchDataTypeILNS_13PrimitiveTypeE35EEEEEbSB_ Line | Count | Source | 508 | 30 | auto call = [&](const auto& type) -> bool { | 509 | 30 | using DispatchType = std::decay_t<decltype(type)>; | 510 | 30 | DecimalComparison<DispatchType::PType, DispatchType::PType, Op, false>( | 511 | 30 | block, result, col_left, col_right); | 512 | 30 | return true; | 513 | 30 | }; |
_ZZNK5doris18FunctionComparisonINS_9GreaterOpENS_11NameGreaterEE15execute_decimalERNS_5BlockEjRKNS_21ColumnWithTypeAndNameES8_ENKUlRKT_E_clINS_16DispatchDataTypeILNS_13PrimitiveTypeE28EEEEEbSB_ Line | Count | Source | 508 | 46 | auto call = [&](const auto& type) -> bool { | 509 | 46 | using DispatchType = std::decay_t<decltype(type)>; | 510 | 46 | DecimalComparison<DispatchType::PType, DispatchType::PType, Op, false>( | 511 | 46 | block, result, col_left, col_right); | 512 | 46 | return true; | 513 | 46 | }; |
_ZZNK5doris18FunctionComparisonINS_9GreaterOpENS_11NameGreaterEE15execute_decimalERNS_5BlockEjRKNS_21ColumnWithTypeAndNameES8_ENKUlRKT_E_clINS_16DispatchDataTypeILNS_13PrimitiveTypeE29EEEEEbSB_ Line | Count | Source | 508 | 5.06k | auto call = [&](const auto& type) -> bool { | 509 | 5.06k | using DispatchType = std::decay_t<decltype(type)>; | 510 | 5.06k | DecimalComparison<DispatchType::PType, DispatchType::PType, Op, false>( | 511 | 5.06k | block, result, col_left, col_right); | 512 | 5.06k | return true; | 513 | 5.06k | }; |
Unexecuted instantiation: _ZZNK5doris18FunctionComparisonINS_9GreaterOpENS_11NameGreaterEE15execute_decimalERNS_5BlockEjRKNS_21ColumnWithTypeAndNameES8_ENKUlRKT_E_clINS_16DispatchDataTypeILNS_13PrimitiveTypeE20EEEEEbSB_ _ZZNK5doris18FunctionComparisonINS_9GreaterOpENS_11NameGreaterEE15execute_decimalERNS_5BlockEjRKNS_21ColumnWithTypeAndNameES8_ENKUlRKT_E_clINS_16DispatchDataTypeILNS_13PrimitiveTypeE30EEEEEbSB_ Line | Count | Source | 508 | 1.39k | auto call = [&](const auto& type) -> bool { | 509 | 1.39k | using DispatchType = std::decay_t<decltype(type)>; | 510 | 1.39k | DecimalComparison<DispatchType::PType, DispatchType::PType, Op, false>( | 511 | 1.39k | block, result, col_left, col_right); | 512 | 1.39k | return true; | 513 | 1.39k | }; |
_ZZNK5doris18FunctionComparisonINS_9GreaterOpENS_11NameGreaterEE15execute_decimalERNS_5BlockEjRKNS_21ColumnWithTypeAndNameES8_ENKUlRKT_E_clINS_16DispatchDataTypeILNS_13PrimitiveTypeE35EEEEEbSB_ Line | Count | Source | 508 | 2 | auto call = [&](const auto& type) -> bool { | 509 | 2 | using DispatchType = std::decay_t<decltype(type)>; | 510 | 2 | DecimalComparison<DispatchType::PType, DispatchType::PType, Op, false>( | 511 | 2 | block, result, col_left, col_right); | 512 | 2 | return true; | 513 | 2 | }; |
_ZZNK5doris18FunctionComparisonINS_17GreaterOrEqualsOpENS_19NameGreaterOrEqualsEE15execute_decimalERNS_5BlockEjRKNS_21ColumnWithTypeAndNameES8_ENKUlRKT_E_clINS_16DispatchDataTypeILNS_13PrimitiveTypeE28EEEEEbSB_ Line | Count | Source | 508 | 9 | auto call = [&](const auto& type) -> bool { | 509 | 9 | using DispatchType = std::decay_t<decltype(type)>; | 510 | 9 | DecimalComparison<DispatchType::PType, DispatchType::PType, Op, false>( | 511 | 9 | block, result, col_left, col_right); | 512 | 9 | return true; | 513 | 9 | }; |
_ZZNK5doris18FunctionComparisonINS_17GreaterOrEqualsOpENS_19NameGreaterOrEqualsEE15execute_decimalERNS_5BlockEjRKNS_21ColumnWithTypeAndNameES8_ENKUlRKT_E_clINS_16DispatchDataTypeILNS_13PrimitiveTypeE29EEEEEbSB_ Line | Count | Source | 508 | 316 | auto call = [&](const auto& type) -> bool { | 509 | 316 | using DispatchType = std::decay_t<decltype(type)>; | 510 | 316 | DecimalComparison<DispatchType::PType, DispatchType::PType, Op, false>( | 511 | 316 | block, result, col_left, col_right); | 512 | 316 | return true; | 513 | 316 | }; |
Unexecuted instantiation: _ZZNK5doris18FunctionComparisonINS_17GreaterOrEqualsOpENS_19NameGreaterOrEqualsEE15execute_decimalERNS_5BlockEjRKNS_21ColumnWithTypeAndNameES8_ENKUlRKT_E_clINS_16DispatchDataTypeILNS_13PrimitiveTypeE20EEEEEbSB_ _ZZNK5doris18FunctionComparisonINS_17GreaterOrEqualsOpENS_19NameGreaterOrEqualsEE15execute_decimalERNS_5BlockEjRKNS_21ColumnWithTypeAndNameES8_ENKUlRKT_E_clINS_16DispatchDataTypeILNS_13PrimitiveTypeE30EEEEEbSB_ Line | Count | Source | 508 | 99 | auto call = [&](const auto& type) -> bool { | 509 | 99 | using DispatchType = std::decay_t<decltype(type)>; | 510 | 99 | DecimalComparison<DispatchType::PType, DispatchType::PType, Op, false>( | 511 | 99 | block, result, col_left, col_right); | 512 | 99 | return true; | 513 | 99 | }; |
_ZZNK5doris18FunctionComparisonINS_17GreaterOrEqualsOpENS_19NameGreaterOrEqualsEE15execute_decimalERNS_5BlockEjRKNS_21ColumnWithTypeAndNameES8_ENKUlRKT_E_clINS_16DispatchDataTypeILNS_13PrimitiveTypeE35EEEEEbSB_ Line | Count | Source | 508 | 21 | auto call = [&](const auto& type) -> bool { | 509 | 21 | using DispatchType = std::decay_t<decltype(type)>; | 510 | 21 | DecimalComparison<DispatchType::PType, DispatchType::PType, Op, false>( | 511 | 21 | block, result, col_left, col_right); | 512 | 21 | return true; | 513 | 21 | }; |
_ZZNK5doris18FunctionComparisonINS_6LessOpENS_8NameLessEE15execute_decimalERNS_5BlockEjRKNS_21ColumnWithTypeAndNameES8_ENKUlRKT_E_clINS_16DispatchDataTypeILNS_13PrimitiveTypeE28EEEEEbSB_ Line | Count | Source | 508 | 215 | auto call = [&](const auto& type) -> bool { | 509 | 215 | using DispatchType = std::decay_t<decltype(type)>; | 510 | 215 | DecimalComparison<DispatchType::PType, DispatchType::PType, Op, false>( | 511 | 215 | block, result, col_left, col_right); | 512 | 215 | return true; | 513 | 215 | }; |
_ZZNK5doris18FunctionComparisonINS_6LessOpENS_8NameLessEE15execute_decimalERNS_5BlockEjRKNS_21ColumnWithTypeAndNameES8_ENKUlRKT_E_clINS_16DispatchDataTypeILNS_13PrimitiveTypeE29EEEEEbSB_ Line | Count | Source | 508 | 247 | auto call = [&](const auto& type) -> bool { | 509 | 247 | using DispatchType = std::decay_t<decltype(type)>; | 510 | 247 | DecimalComparison<DispatchType::PType, DispatchType::PType, Op, false>( | 511 | 247 | block, result, col_left, col_right); | 512 | 247 | return true; | 513 | 247 | }; |
Unexecuted instantiation: _ZZNK5doris18FunctionComparisonINS_6LessOpENS_8NameLessEE15execute_decimalERNS_5BlockEjRKNS_21ColumnWithTypeAndNameES8_ENKUlRKT_E_clINS_16DispatchDataTypeILNS_13PrimitiveTypeE20EEEEEbSB_ _ZZNK5doris18FunctionComparisonINS_6LessOpENS_8NameLessEE15execute_decimalERNS_5BlockEjRKNS_21ColumnWithTypeAndNameES8_ENKUlRKT_E_clINS_16DispatchDataTypeILNS_13PrimitiveTypeE30EEEEEbSB_ Line | Count | Source | 508 | 468 | auto call = [&](const auto& type) -> bool { | 509 | 468 | using DispatchType = std::decay_t<decltype(type)>; | 510 | 468 | DecimalComparison<DispatchType::PType, DispatchType::PType, Op, false>( | 511 | 468 | block, result, col_left, col_right); | 512 | 468 | return true; | 513 | 468 | }; |
_ZZNK5doris18FunctionComparisonINS_6LessOpENS_8NameLessEE15execute_decimalERNS_5BlockEjRKNS_21ColumnWithTypeAndNameES8_ENKUlRKT_E_clINS_16DispatchDataTypeILNS_13PrimitiveTypeE35EEEEEbSB_ Line | Count | Source | 508 | 1 | auto call = [&](const auto& type) -> bool { | 509 | 1 | using DispatchType = std::decay_t<decltype(type)>; | 510 | 1 | DecimalComparison<DispatchType::PType, DispatchType::PType, Op, false>( | 511 | 1 | block, result, col_left, col_right); | 512 | 1 | return true; | 513 | 1 | }; |
_ZZNK5doris18FunctionComparisonINS_14LessOrEqualsOpENS_16NameLessOrEqualsEE15execute_decimalERNS_5BlockEjRKNS_21ColumnWithTypeAndNameES8_ENKUlRKT_E_clINS_16DispatchDataTypeILNS_13PrimitiveTypeE28EEEEEbSB_ Line | Count | Source | 508 | 5 | auto call = [&](const auto& type) -> bool { | 509 | 5 | using DispatchType = std::decay_t<decltype(type)>; | 510 | 5 | DecimalComparison<DispatchType::PType, DispatchType::PType, Op, false>( | 511 | 5 | block, result, col_left, col_right); | 512 | 5 | return true; | 513 | 5 | }; |
_ZZNK5doris18FunctionComparisonINS_14LessOrEqualsOpENS_16NameLessOrEqualsEE15execute_decimalERNS_5BlockEjRKNS_21ColumnWithTypeAndNameES8_ENKUlRKT_E_clINS_16DispatchDataTypeILNS_13PrimitiveTypeE29EEEEEbSB_ Line | Count | Source | 508 | 2.21k | auto call = [&](const auto& type) -> bool { | 509 | 2.21k | using DispatchType = std::decay_t<decltype(type)>; | 510 | 2.21k | DecimalComparison<DispatchType::PType, DispatchType::PType, Op, false>( | 511 | 2.21k | block, result, col_left, col_right); | 512 | 2.21k | return true; | 513 | 2.21k | }; |
Unexecuted instantiation: _ZZNK5doris18FunctionComparisonINS_14LessOrEqualsOpENS_16NameLessOrEqualsEE15execute_decimalERNS_5BlockEjRKNS_21ColumnWithTypeAndNameES8_ENKUlRKT_E_clINS_16DispatchDataTypeILNS_13PrimitiveTypeE20EEEEEbSB_ _ZZNK5doris18FunctionComparisonINS_14LessOrEqualsOpENS_16NameLessOrEqualsEE15execute_decimalERNS_5BlockEjRKNS_21ColumnWithTypeAndNameES8_ENKUlRKT_E_clINS_16DispatchDataTypeILNS_13PrimitiveTypeE30EEEEEbSB_ Line | Count | Source | 508 | 880 | auto call = [&](const auto& type) -> bool { | 509 | 880 | using DispatchType = std::decay_t<decltype(type)>; | 510 | 880 | DecimalComparison<DispatchType::PType, DispatchType::PType, Op, false>( | 511 | 880 | block, result, col_left, col_right); | 512 | 880 | return true; | 513 | 880 | }; |
_ZZNK5doris18FunctionComparisonINS_14LessOrEqualsOpENS_16NameLessOrEqualsEE15execute_decimalERNS_5BlockEjRKNS_21ColumnWithTypeAndNameES8_ENKUlRKT_E_clINS_16DispatchDataTypeILNS_13PrimitiveTypeE35EEEEEbSB_ Line | Count | Source | 508 | 16 | auto call = [&](const auto& type) -> bool { | 509 | 16 | using DispatchType = std::decay_t<decltype(type)>; | 510 | 16 | DecimalComparison<DispatchType::PType, DispatchType::PType, Op, false>( | 511 | 16 | block, result, col_left, col_right); | 512 | 16 | return true; | 513 | 16 | }; |
|
514 | | |
515 | 13.2k | if (col_left.type->get_primitive_type() != col_right.type->get_primitive_type()) { |
516 | 0 | return Status::RuntimeError( |
517 | 0 | "type of left column {} is not equal to type of right column {}", |
518 | 0 | col_left.type->get_name(), col_right.type->get_name()); |
519 | 0 | } |
520 | | |
521 | 13.2k | if (!dispatch_switch_decimal(col_right.type->get_primitive_type(), call)) { |
522 | 0 | return Status::RuntimeError("Wrong call for {} with {} and {}", get_name(), |
523 | 0 | col_left.type->get_name(), col_right.type->get_name()); |
524 | 0 | } |
525 | 13.2k | return Status::OK(); |
526 | 13.2k | } _ZNK5doris18FunctionComparisonINS_8EqualsOpENS_10NameEqualsEE15execute_decimalERNS_5BlockEjRKNS_21ColumnWithTypeAndNameES8_ Line | Count | Source | 507 | 1.80k | const ColumnWithTypeAndName& col_right) const { | 508 | 1.80k | auto call = [&](const auto& type) -> bool { | 509 | 1.80k | using DispatchType = std::decay_t<decltype(type)>; | 510 | 1.80k | DecimalComparison<DispatchType::PType, DispatchType::PType, Op, false>( | 511 | 1.80k | block, result, col_left, col_right); | 512 | 1.80k | return true; | 513 | 1.80k | }; | 514 | | | 515 | 1.80k | if (col_left.type->get_primitive_type() != col_right.type->get_primitive_type()) { | 516 | 0 | return Status::RuntimeError( | 517 | 0 | "type of left column {} is not equal to type of right column {}", | 518 | 0 | col_left.type->get_name(), col_right.type->get_name()); | 519 | 0 | } | 520 | | | 521 | 1.80k | if (!dispatch_switch_decimal(col_right.type->get_primitive_type(), call)) { | 522 | 0 | return Status::RuntimeError("Wrong call for {} with {} and {}", get_name(), | 523 | 0 | col_left.type->get_name(), col_right.type->get_name()); | 524 | 0 | } | 525 | 1.80k | return Status::OK(); | 526 | 1.80k | } |
_ZNK5doris18FunctionComparisonINS_11NotEqualsOpENS_13NameNotEqualsEE15execute_decimalERNS_5BlockEjRKNS_21ColumnWithTypeAndNameES8_ Line | Count | Source | 507 | 422 | const ColumnWithTypeAndName& col_right) const { | 508 | 422 | auto call = [&](const auto& type) -> bool { | 509 | 422 | using DispatchType = std::decay_t<decltype(type)>; | 510 | 422 | DecimalComparison<DispatchType::PType, DispatchType::PType, Op, false>( | 511 | 422 | block, result, col_left, col_right); | 512 | 422 | return true; | 513 | 422 | }; | 514 | | | 515 | 422 | if (col_left.type->get_primitive_type() != col_right.type->get_primitive_type()) { | 516 | 0 | return Status::RuntimeError( | 517 | 0 | "type of left column {} is not equal to type of right column {}", | 518 | 0 | col_left.type->get_name(), col_right.type->get_name()); | 519 | 0 | } | 520 | | | 521 | 422 | if (!dispatch_switch_decimal(col_right.type->get_primitive_type(), call)) { | 522 | 0 | return Status::RuntimeError("Wrong call for {} with {} and {}", get_name(), | 523 | 0 | col_left.type->get_name(), col_right.type->get_name()); | 524 | 0 | } | 525 | 422 | return Status::OK(); | 526 | 422 | } |
_ZNK5doris18FunctionComparisonINS_9GreaterOpENS_11NameGreaterEE15execute_decimalERNS_5BlockEjRKNS_21ColumnWithTypeAndNameES8_ Line | Count | Source | 507 | 6.50k | const ColumnWithTypeAndName& col_right) const { | 508 | 6.50k | auto call = [&](const auto& type) -> bool { | 509 | 6.50k | using DispatchType = std::decay_t<decltype(type)>; | 510 | 6.50k | DecimalComparison<DispatchType::PType, DispatchType::PType, Op, false>( | 511 | 6.50k | block, result, col_left, col_right); | 512 | 6.50k | return true; | 513 | 6.50k | }; | 514 | | | 515 | 6.50k | if (col_left.type->get_primitive_type() != col_right.type->get_primitive_type()) { | 516 | 0 | return Status::RuntimeError( | 517 | 0 | "type of left column {} is not equal to type of right column {}", | 518 | 0 | col_left.type->get_name(), col_right.type->get_name()); | 519 | 0 | } | 520 | | | 521 | 6.50k | if (!dispatch_switch_decimal(col_right.type->get_primitive_type(), call)) { | 522 | 0 | return Status::RuntimeError("Wrong call for {} with {} and {}", get_name(), | 523 | 0 | col_left.type->get_name(), col_right.type->get_name()); | 524 | 0 | } | 525 | 6.50k | return Status::OK(); | 526 | 6.50k | } |
_ZNK5doris18FunctionComparisonINS_17GreaterOrEqualsOpENS_19NameGreaterOrEqualsEE15execute_decimalERNS_5BlockEjRKNS_21ColumnWithTypeAndNameES8_ Line | Count | Source | 507 | 445 | const ColumnWithTypeAndName& col_right) const { | 508 | 445 | auto call = [&](const auto& type) -> bool { | 509 | 445 | using DispatchType = std::decay_t<decltype(type)>; | 510 | 445 | DecimalComparison<DispatchType::PType, DispatchType::PType, Op, false>( | 511 | 445 | block, result, col_left, col_right); | 512 | 445 | return true; | 513 | 445 | }; | 514 | | | 515 | 445 | if (col_left.type->get_primitive_type() != col_right.type->get_primitive_type()) { | 516 | 0 | return Status::RuntimeError( | 517 | 0 | "type of left column {} is not equal to type of right column {}", | 518 | 0 | col_left.type->get_name(), col_right.type->get_name()); | 519 | 0 | } | 520 | | | 521 | 445 | if (!dispatch_switch_decimal(col_right.type->get_primitive_type(), call)) { | 522 | 0 | return Status::RuntimeError("Wrong call for {} with {} and {}", get_name(), | 523 | 0 | col_left.type->get_name(), col_right.type->get_name()); | 524 | 0 | } | 525 | 445 | return Status::OK(); | 526 | 445 | } |
_ZNK5doris18FunctionComparisonINS_6LessOpENS_8NameLessEE15execute_decimalERNS_5BlockEjRKNS_21ColumnWithTypeAndNameES8_ Line | Count | Source | 507 | 931 | const ColumnWithTypeAndName& col_right) const { | 508 | 931 | auto call = [&](const auto& type) -> bool { | 509 | 931 | using DispatchType = std::decay_t<decltype(type)>; | 510 | 931 | DecimalComparison<DispatchType::PType, DispatchType::PType, Op, false>( | 511 | 931 | block, result, col_left, col_right); | 512 | 931 | return true; | 513 | 931 | }; | 514 | | | 515 | 931 | if (col_left.type->get_primitive_type() != col_right.type->get_primitive_type()) { | 516 | 0 | return Status::RuntimeError( | 517 | 0 | "type of left column {} is not equal to type of right column {}", | 518 | 0 | col_left.type->get_name(), col_right.type->get_name()); | 519 | 0 | } | 520 | | | 521 | 931 | if (!dispatch_switch_decimal(col_right.type->get_primitive_type(), call)) { | 522 | 0 | return Status::RuntimeError("Wrong call for {} with {} and {}", get_name(), | 523 | 0 | col_left.type->get_name(), col_right.type->get_name()); | 524 | 0 | } | 525 | 931 | return Status::OK(); | 526 | 931 | } |
_ZNK5doris18FunctionComparisonINS_14LessOrEqualsOpENS_16NameLessOrEqualsEE15execute_decimalERNS_5BlockEjRKNS_21ColumnWithTypeAndNameES8_ Line | Count | Source | 507 | 3.11k | const ColumnWithTypeAndName& col_right) const { | 508 | 3.11k | auto call = [&](const auto& type) -> bool { | 509 | 3.11k | using DispatchType = std::decay_t<decltype(type)>; | 510 | 3.11k | DecimalComparison<DispatchType::PType, DispatchType::PType, Op, false>( | 511 | 3.11k | block, result, col_left, col_right); | 512 | 3.11k | return true; | 513 | 3.11k | }; | 514 | | | 515 | 3.11k | if (col_left.type->get_primitive_type() != col_right.type->get_primitive_type()) { | 516 | 0 | return Status::RuntimeError( | 517 | 0 | "type of left column {} is not equal to type of right column {}", | 518 | 0 | col_left.type->get_name(), col_right.type->get_name()); | 519 | 0 | } | 520 | | | 521 | 3.11k | if (!dispatch_switch_decimal(col_right.type->get_primitive_type(), call)) { | 522 | 0 | return Status::RuntimeError("Wrong call for {} with {} and {}", get_name(), | 523 | 0 | col_left.type->get_name(), col_right.type->get_name()); | 524 | 0 | } | 525 | 3.11k | return Status::OK(); | 526 | 3.11k | } |
|
527 | | |
528 | | Status execute_string(Block& block, uint32_t result, const IColumn* c0, |
529 | 31.0k | const IColumn* c1) const { |
530 | 31.0k | const ColumnString* c0_string = check_and_get_column<ColumnString>(c0); |
531 | 31.0k | const ColumnString* c1_string = check_and_get_column<ColumnString>(c1); |
532 | 31.0k | const ColumnConst* c0_const = check_and_get_column_const_string_or_fixedstring(c0); |
533 | 31.0k | const ColumnConst* c1_const = check_and_get_column_const_string_or_fixedstring(c1); |
534 | 31.0k | if (!((c0_string || c0_const) && (c1_string || c1_const))) { |
535 | 0 | return Status::NotSupported("Illegal columns {}, {} of argument of function {}", |
536 | 0 | c0->get_name(), c1->get_name(), name); |
537 | 0 | } |
538 | 31.0k | DCHECK(!(c0_const && c1_const)); |
539 | 31.0k | const ColumnString::Chars* c0_const_chars = nullptr; |
540 | 31.0k | const ColumnString::Chars* c1_const_chars = nullptr; |
541 | 31.0k | ColumnString::Offset c0_const_size = 0; |
542 | 31.0k | ColumnString::Offset c1_const_size = 0; |
543 | | |
544 | 31.0k | if (c0_const) { |
545 | 6 | const ColumnString* c0_const_string = |
546 | 6 | check_and_get_column<ColumnString>(&c0_const->get_data_column()); |
547 | | |
548 | 6 | if (c0_const_string) { |
549 | 6 | c0_const_chars = &c0_const_string->get_chars(); |
550 | 6 | c0_const_size = c0_const_string->get_offsets()[0]; |
551 | 6 | } else { |
552 | 0 | return Status::NotSupported("Illegal columns {}, of argument of function {}", |
553 | 0 | c0->get_name(), name); |
554 | 0 | } |
555 | 6 | } |
556 | | |
557 | 31.0k | if (c1_const) { |
558 | 27.7k | const ColumnString* c1_const_string = |
559 | 27.7k | check_and_get_column<ColumnString>(&c1_const->get_data_column()); |
560 | | |
561 | 27.7k | if (c1_const_string) { |
562 | 27.7k | c1_const_chars = &c1_const_string->get_chars(); |
563 | 27.7k | c1_const_size = c1_const_string->get_offsets()[0]; |
564 | 27.7k | } else { |
565 | 0 | return Status::NotSupported("Illegal columns {}, of argument of function {}", |
566 | 0 | c1->get_name(), name); |
567 | 0 | } |
568 | 27.7k | } |
569 | | |
570 | 31.0k | using StringImpl = StringComparisonImpl<Op<TYPE_INT>>; |
571 | | |
572 | 31.0k | auto c_res = ColumnUInt8::create(); |
573 | 31.0k | ColumnUInt8::Container& vec_res = c_res->get_data(); |
574 | 31.0k | vec_res.resize(c0->size()); |
575 | | |
576 | 31.0k | if (c0_string && c1_string) { |
577 | 3.26k | StringImpl::string_vector_string_vector( |
578 | 3.26k | c0_string->get_chars(), c0_string->get_offsets(), c1_string->get_chars(), |
579 | 3.26k | c1_string->get_offsets(), vec_res); |
580 | 27.8k | } else if (c0_string && c1_const) { |
581 | 27.7k | StringImpl::string_vector_constant(c0_string->get_chars(), c0_string->get_offsets(), |
582 | 27.7k | *c1_const_chars, c1_const_size, vec_res); |
583 | 27.7k | } else if (c0_const && c1_string) { |
584 | 6 | StringImpl::constant_string_vector(*c0_const_chars, c0_const_size, |
585 | 6 | c1_string->get_chars(), c1_string->get_offsets(), |
586 | 6 | vec_res); |
587 | 18.4E | } else { |
588 | 18.4E | return Status::NotSupported("Illegal columns {}, {} of argument of function {}", |
589 | 18.4E | c0->get_name(), c1->get_name(), name); |
590 | 18.4E | } |
591 | 31.0k | block.replace_by_position(result, std::move(c_res)); |
592 | 31.0k | return Status::OK(); |
593 | 31.0k | } _ZNK5doris18FunctionComparisonINS_8EqualsOpENS_10NameEqualsEE14execute_stringERNS_5BlockEjPKNS_7IColumnES8_ Line | Count | Source | 529 | 26.0k | const IColumn* c1) const { | 530 | 26.0k | const ColumnString* c0_string = check_and_get_column<ColumnString>(c0); | 531 | 26.0k | const ColumnString* c1_string = check_and_get_column<ColumnString>(c1); | 532 | 26.0k | const ColumnConst* c0_const = check_and_get_column_const_string_or_fixedstring(c0); | 533 | 26.0k | const ColumnConst* c1_const = check_and_get_column_const_string_or_fixedstring(c1); | 534 | 26.0k | if (!((c0_string || c0_const) && (c1_string || c1_const))) { | 535 | 0 | return Status::NotSupported("Illegal columns {}, {} of argument of function {}", | 536 | 0 | c0->get_name(), c1->get_name(), name); | 537 | 0 | } | 538 | 26.0k | DCHECK(!(c0_const && c1_const)); | 539 | 26.0k | const ColumnString::Chars* c0_const_chars = nullptr; | 540 | 26.0k | const ColumnString::Chars* c1_const_chars = nullptr; | 541 | 26.0k | ColumnString::Offset c0_const_size = 0; | 542 | 26.0k | ColumnString::Offset c1_const_size = 0; | 543 | | | 544 | 26.0k | if (c0_const) { | 545 | 0 | const ColumnString* c0_const_string = | 546 | 0 | check_and_get_column<ColumnString>(&c0_const->get_data_column()); | 547 | |
| 548 | 0 | if (c0_const_string) { | 549 | 0 | c0_const_chars = &c0_const_string->get_chars(); | 550 | 0 | c0_const_size = c0_const_string->get_offsets()[0]; | 551 | 0 | } else { | 552 | 0 | return Status::NotSupported("Illegal columns {}, of argument of function {}", | 553 | 0 | c0->get_name(), name); | 554 | 0 | } | 555 | 0 | } | 556 | | | 557 | 26.0k | if (c1_const) { | 558 | 23.5k | const ColumnString* c1_const_string = | 559 | 23.5k | check_and_get_column<ColumnString>(&c1_const->get_data_column()); | 560 | | | 561 | 23.5k | if (c1_const_string) { | 562 | 23.5k | c1_const_chars = &c1_const_string->get_chars(); | 563 | 23.5k | c1_const_size = c1_const_string->get_offsets()[0]; | 564 | 23.5k | } else { | 565 | 0 | return Status::NotSupported("Illegal columns {}, of argument of function {}", | 566 | 0 | c1->get_name(), name); | 567 | 0 | } | 568 | 23.5k | } | 569 | | | 570 | 26.0k | using StringImpl = StringComparisonImpl<Op<TYPE_INT>>; | 571 | | | 572 | 26.0k | auto c_res = ColumnUInt8::create(); | 573 | 26.0k | ColumnUInt8::Container& vec_res = c_res->get_data(); | 574 | 26.0k | vec_res.resize(c0->size()); | 575 | | | 576 | 26.0k | if (c0_string && c1_string) { | 577 | 2.48k | StringImpl::string_vector_string_vector( | 578 | 2.48k | c0_string->get_chars(), c0_string->get_offsets(), c1_string->get_chars(), | 579 | 2.48k | c1_string->get_offsets(), vec_res); | 580 | 23.5k | } else if (c0_string && c1_const) { | 581 | 23.5k | StringImpl::string_vector_constant(c0_string->get_chars(), c0_string->get_offsets(), | 582 | 23.5k | *c1_const_chars, c1_const_size, vec_res); | 583 | 23.5k | } else if (c0_const && c1_string) { | 584 | 0 | StringImpl::constant_string_vector(*c0_const_chars, c0_const_size, | 585 | 0 | c1_string->get_chars(), c1_string->get_offsets(), | 586 | 0 | vec_res); | 587 | 0 | } else { | 588 | 0 | return Status::NotSupported("Illegal columns {}, {} of argument of function {}", | 589 | 0 | c0->get_name(), c1->get_name(), name); | 590 | 0 | } | 591 | 26.0k | block.replace_by_position(result, std::move(c_res)); | 592 | 26.0k | return Status::OK(); | 593 | 26.0k | } |
_ZNK5doris18FunctionComparisonINS_11NotEqualsOpENS_13NameNotEqualsEE14execute_stringERNS_5BlockEjPKNS_7IColumnES8_ Line | Count | Source | 529 | 2.54k | const IColumn* c1) const { | 530 | 2.54k | const ColumnString* c0_string = check_and_get_column<ColumnString>(c0); | 531 | 2.54k | const ColumnString* c1_string = check_and_get_column<ColumnString>(c1); | 532 | 2.54k | const ColumnConst* c0_const = check_and_get_column_const_string_or_fixedstring(c0); | 533 | 2.54k | const ColumnConst* c1_const = check_and_get_column_const_string_or_fixedstring(c1); | 534 | 2.54k | if (!((c0_string || c0_const) && (c1_string || c1_const))) { | 535 | 0 | return Status::NotSupported("Illegal columns {}, {} of argument of function {}", | 536 | 0 | c0->get_name(), c1->get_name(), name); | 537 | 0 | } | 538 | 2.54k | DCHECK(!(c0_const && c1_const)); | 539 | 2.54k | const ColumnString::Chars* c0_const_chars = nullptr; | 540 | 2.54k | const ColumnString::Chars* c1_const_chars = nullptr; | 541 | 2.54k | ColumnString::Offset c0_const_size = 0; | 542 | 2.54k | ColumnString::Offset c1_const_size = 0; | 543 | | | 544 | 2.54k | if (c0_const) { | 545 | 0 | const ColumnString* c0_const_string = | 546 | 0 | check_and_get_column<ColumnString>(&c0_const->get_data_column()); | 547 | |
| 548 | 0 | if (c0_const_string) { | 549 | 0 | c0_const_chars = &c0_const_string->get_chars(); | 550 | 0 | c0_const_size = c0_const_string->get_offsets()[0]; | 551 | 0 | } else { | 552 | 0 | return Status::NotSupported("Illegal columns {}, of argument of function {}", | 553 | 0 | c0->get_name(), name); | 554 | 0 | } | 555 | 0 | } | 556 | | | 557 | 2.54k | if (c1_const) { | 558 | 2.48k | const ColumnString* c1_const_string = | 559 | 2.48k | check_and_get_column<ColumnString>(&c1_const->get_data_column()); | 560 | | | 561 | 2.48k | if (c1_const_string) { | 562 | 2.48k | c1_const_chars = &c1_const_string->get_chars(); | 563 | 2.48k | c1_const_size = c1_const_string->get_offsets()[0]; | 564 | 2.48k | } else { | 565 | 0 | return Status::NotSupported("Illegal columns {}, of argument of function {}", | 566 | 0 | c1->get_name(), name); | 567 | 0 | } | 568 | 2.48k | } | 569 | | | 570 | 2.54k | using StringImpl = StringComparisonImpl<Op<TYPE_INT>>; | 571 | | | 572 | 2.54k | auto c_res = ColumnUInt8::create(); | 573 | 2.54k | ColumnUInt8::Container& vec_res = c_res->get_data(); | 574 | 2.54k | vec_res.resize(c0->size()); | 575 | | | 576 | 2.54k | if (c0_string && c1_string) { | 577 | 52 | StringImpl::string_vector_string_vector( | 578 | 52 | c0_string->get_chars(), c0_string->get_offsets(), c1_string->get_chars(), | 579 | 52 | c1_string->get_offsets(), vec_res); | 580 | 2.48k | } else if (c0_string && c1_const) { | 581 | 2.48k | StringImpl::string_vector_constant(c0_string->get_chars(), c0_string->get_offsets(), | 582 | 2.48k | *c1_const_chars, c1_const_size, vec_res); | 583 | 2.48k | } else if (c0_const && c1_string) { | 584 | 0 | StringImpl::constant_string_vector(*c0_const_chars, c0_const_size, | 585 | 0 | c1_string->get_chars(), c1_string->get_offsets(), | 586 | 0 | vec_res); | 587 | 0 | } else { | 588 | 0 | return Status::NotSupported("Illegal columns {}, {} of argument of function {}", | 589 | 0 | c0->get_name(), c1->get_name(), name); | 590 | 0 | } | 591 | 2.54k | block.replace_by_position(result, std::move(c_res)); | 592 | 2.54k | return Status::OK(); | 593 | 2.54k | } |
_ZNK5doris18FunctionComparisonINS_9GreaterOpENS_11NameGreaterEE14execute_stringERNS_5BlockEjPKNS_7IColumnES8_ Line | Count | Source | 529 | 186 | const IColumn* c1) const { | 530 | 186 | const ColumnString* c0_string = check_and_get_column<ColumnString>(c0); | 531 | 186 | const ColumnString* c1_string = check_and_get_column<ColumnString>(c1); | 532 | 186 | const ColumnConst* c0_const = check_and_get_column_const_string_or_fixedstring(c0); | 533 | 186 | const ColumnConst* c1_const = check_and_get_column_const_string_or_fixedstring(c1); | 534 | 186 | if (!((c0_string || c0_const) && (c1_string || c1_const))) { | 535 | 0 | return Status::NotSupported("Illegal columns {}, {} of argument of function {}", | 536 | 0 | c0->get_name(), c1->get_name(), name); | 537 | 0 | } | 538 | 186 | DCHECK(!(c0_const && c1_const)); | 539 | 186 | const ColumnString::Chars* c0_const_chars = nullptr; | 540 | 186 | const ColumnString::Chars* c1_const_chars = nullptr; | 541 | 186 | ColumnString::Offset c0_const_size = 0; | 542 | 186 | ColumnString::Offset c1_const_size = 0; | 543 | | | 544 | 186 | if (c0_const) { | 545 | 0 | const ColumnString* c0_const_string = | 546 | 0 | check_and_get_column<ColumnString>(&c0_const->get_data_column()); | 547 | |
| 548 | 0 | if (c0_const_string) { | 549 | 0 | c0_const_chars = &c0_const_string->get_chars(); | 550 | 0 | c0_const_size = c0_const_string->get_offsets()[0]; | 551 | 0 | } else { | 552 | 0 | return Status::NotSupported("Illegal columns {}, of argument of function {}", | 553 | 0 | c0->get_name(), name); | 554 | 0 | } | 555 | 0 | } | 556 | | | 557 | 186 | if (c1_const) { | 558 | 184 | const ColumnString* c1_const_string = | 559 | 184 | check_and_get_column<ColumnString>(&c1_const->get_data_column()); | 560 | | | 561 | 184 | if (c1_const_string) { | 562 | 184 | c1_const_chars = &c1_const_string->get_chars(); | 563 | 184 | c1_const_size = c1_const_string->get_offsets()[0]; | 564 | 184 | } else { | 565 | 0 | return Status::NotSupported("Illegal columns {}, of argument of function {}", | 566 | 0 | c1->get_name(), name); | 567 | 0 | } | 568 | 184 | } | 569 | | | 570 | 186 | using StringImpl = StringComparisonImpl<Op<TYPE_INT>>; | 571 | | | 572 | 186 | auto c_res = ColumnUInt8::create(); | 573 | 186 | ColumnUInt8::Container& vec_res = c_res->get_data(); | 574 | 186 | vec_res.resize(c0->size()); | 575 | | | 576 | 186 | if (c0_string && c1_string) { | 577 | 2 | StringImpl::string_vector_string_vector( | 578 | 2 | c0_string->get_chars(), c0_string->get_offsets(), c1_string->get_chars(), | 579 | 2 | c1_string->get_offsets(), vec_res); | 580 | 184 | } else if (c0_string && c1_const) { | 581 | 184 | StringImpl::string_vector_constant(c0_string->get_chars(), c0_string->get_offsets(), | 582 | 184 | *c1_const_chars, c1_const_size, vec_res); | 583 | 184 | } else if (c0_const && c1_string) { | 584 | 0 | StringImpl::constant_string_vector(*c0_const_chars, c0_const_size, | 585 | 0 | c1_string->get_chars(), c1_string->get_offsets(), | 586 | 0 | vec_res); | 587 | 0 | } else { | 588 | 0 | return Status::NotSupported("Illegal columns {}, {} of argument of function {}", | 589 | 0 | c0->get_name(), c1->get_name(), name); | 590 | 0 | } | 591 | 186 | block.replace_by_position(result, std::move(c_res)); | 592 | 186 | return Status::OK(); | 593 | 186 | } |
_ZNK5doris18FunctionComparisonINS_17GreaterOrEqualsOpENS_19NameGreaterOrEqualsEE14execute_stringERNS_5BlockEjPKNS_7IColumnES8_ Line | Count | Source | 529 | 714 | const IColumn* c1) const { | 530 | 714 | const ColumnString* c0_string = check_and_get_column<ColumnString>(c0); | 531 | 714 | const ColumnString* c1_string = check_and_get_column<ColumnString>(c1); | 532 | 714 | const ColumnConst* c0_const = check_and_get_column_const_string_or_fixedstring(c0); | 533 | 714 | const ColumnConst* c1_const = check_and_get_column_const_string_or_fixedstring(c1); | 534 | 714 | if (!((c0_string || c0_const) && (c1_string || c1_const))) { | 535 | 0 | return Status::NotSupported("Illegal columns {}, {} of argument of function {}", | 536 | 0 | c0->get_name(), c1->get_name(), name); | 537 | 0 | } | 538 | 714 | DCHECK(!(c0_const && c1_const)); | 539 | 714 | const ColumnString::Chars* c0_const_chars = nullptr; | 540 | 714 | const ColumnString::Chars* c1_const_chars = nullptr; | 541 | 714 | ColumnString::Offset c0_const_size = 0; | 542 | 714 | ColumnString::Offset c1_const_size = 0; | 543 | | | 544 | 714 | if (c0_const) { | 545 | 0 | const ColumnString* c0_const_string = | 546 | 0 | check_and_get_column<ColumnString>(&c0_const->get_data_column()); | 547 | |
| 548 | 0 | if (c0_const_string) { | 549 | 0 | c0_const_chars = &c0_const_string->get_chars(); | 550 | 0 | c0_const_size = c0_const_string->get_offsets()[0]; | 551 | 0 | } else { | 552 | 0 | return Status::NotSupported("Illegal columns {}, of argument of function {}", | 553 | 0 | c0->get_name(), name); | 554 | 0 | } | 555 | 0 | } | 556 | | | 557 | 714 | if (c1_const) { | 558 | 593 | const ColumnString* c1_const_string = | 559 | 593 | check_and_get_column<ColumnString>(&c1_const->get_data_column()); | 560 | | | 561 | 593 | if (c1_const_string) { | 562 | 593 | c1_const_chars = &c1_const_string->get_chars(); | 563 | 593 | c1_const_size = c1_const_string->get_offsets()[0]; | 564 | 593 | } else { | 565 | 0 | return Status::NotSupported("Illegal columns {}, of argument of function {}", | 566 | 0 | c1->get_name(), name); | 567 | 0 | } | 568 | 593 | } | 569 | | | 570 | 714 | using StringImpl = StringComparisonImpl<Op<TYPE_INT>>; | 571 | | | 572 | 714 | auto c_res = ColumnUInt8::create(); | 573 | 714 | ColumnUInt8::Container& vec_res = c_res->get_data(); | 574 | 714 | vec_res.resize(c0->size()); | 575 | | | 576 | 715 | if (c0_string && c1_string) { | 577 | 122 | StringImpl::string_vector_string_vector( | 578 | 122 | c0_string->get_chars(), c0_string->get_offsets(), c1_string->get_chars(), | 579 | 122 | c1_string->get_offsets(), vec_res); | 580 | 593 | } else if (c0_string && c1_const) { | 581 | 593 | StringImpl::string_vector_constant(c0_string->get_chars(), c0_string->get_offsets(), | 582 | 593 | *c1_const_chars, c1_const_size, vec_res); | 583 | 18.4E | } else if (c0_const && c1_string) { | 584 | 0 | StringImpl::constant_string_vector(*c0_const_chars, c0_const_size, | 585 | 0 | c1_string->get_chars(), c1_string->get_offsets(), | 586 | 0 | vec_res); | 587 | 18.4E | } else { | 588 | 18.4E | return Status::NotSupported("Illegal columns {}, {} of argument of function {}", | 589 | 18.4E | c0->get_name(), c1->get_name(), name); | 590 | 18.4E | } | 591 | 715 | block.replace_by_position(result, std::move(c_res)); | 592 | 715 | return Status::OK(); | 593 | 714 | } |
_ZNK5doris18FunctionComparisonINS_6LessOpENS_8NameLessEE14execute_stringERNS_5BlockEjPKNS_7IColumnES8_ Line | Count | Source | 529 | 676 | const IColumn* c1) const { | 530 | 676 | const ColumnString* c0_string = check_and_get_column<ColumnString>(c0); | 531 | 676 | const ColumnString* c1_string = check_and_get_column<ColumnString>(c1); | 532 | 676 | const ColumnConst* c0_const = check_and_get_column_const_string_or_fixedstring(c0); | 533 | 676 | const ColumnConst* c1_const = check_and_get_column_const_string_or_fixedstring(c1); | 534 | 676 | if (!((c0_string || c0_const) && (c1_string || c1_const))) { | 535 | 0 | return Status::NotSupported("Illegal columns {}, {} of argument of function {}", | 536 | 0 | c0->get_name(), c1->get_name(), name); | 537 | 0 | } | 538 | 676 | DCHECK(!(c0_const && c1_const)); | 539 | 676 | const ColumnString::Chars* c0_const_chars = nullptr; | 540 | 676 | const ColumnString::Chars* c1_const_chars = nullptr; | 541 | 676 | ColumnString::Offset c0_const_size = 0; | 542 | 676 | ColumnString::Offset c1_const_size = 0; | 543 | | | 544 | 676 | if (c0_const) { | 545 | 6 | const ColumnString* c0_const_string = | 546 | 6 | check_and_get_column<ColumnString>(&c0_const->get_data_column()); | 547 | | | 548 | 6 | if (c0_const_string) { | 549 | 6 | c0_const_chars = &c0_const_string->get_chars(); | 550 | 6 | c0_const_size = c0_const_string->get_offsets()[0]; | 551 | 6 | } else { | 552 | 0 | return Status::NotSupported("Illegal columns {}, of argument of function {}", | 553 | 0 | c0->get_name(), name); | 554 | 0 | } | 555 | 6 | } | 556 | | | 557 | 676 | if (c1_const) { | 558 | 248 | const ColumnString* c1_const_string = | 559 | 248 | check_and_get_column<ColumnString>(&c1_const->get_data_column()); | 560 | | | 561 | 248 | if (c1_const_string) { | 562 | 248 | c1_const_chars = &c1_const_string->get_chars(); | 563 | 248 | c1_const_size = c1_const_string->get_offsets()[0]; | 564 | 248 | } else { | 565 | 0 | return Status::NotSupported("Illegal columns {}, of argument of function {}", | 566 | 0 | c1->get_name(), name); | 567 | 0 | } | 568 | 248 | } | 569 | | | 570 | 676 | using StringImpl = StringComparisonImpl<Op<TYPE_INT>>; | 571 | | | 572 | 676 | auto c_res = ColumnUInt8::create(); | 573 | 676 | ColumnUInt8::Container& vec_res = c_res->get_data(); | 574 | 676 | vec_res.resize(c0->size()); | 575 | | | 576 | 676 | if (c0_string && c1_string) { | 577 | 423 | StringImpl::string_vector_string_vector( | 578 | 423 | c0_string->get_chars(), c0_string->get_offsets(), c1_string->get_chars(), | 579 | 423 | c1_string->get_offsets(), vec_res); | 580 | 423 | } else if (c0_string && c1_const) { | 581 | 248 | StringImpl::string_vector_constant(c0_string->get_chars(), c0_string->get_offsets(), | 582 | 248 | *c1_const_chars, c1_const_size, vec_res); | 583 | 248 | } else if (c0_const && c1_string) { | 584 | 6 | StringImpl::constant_string_vector(*c0_const_chars, c0_const_size, | 585 | 6 | c1_string->get_chars(), c1_string->get_offsets(), | 586 | 6 | vec_res); | 587 | 18.4E | } else { | 588 | 18.4E | return Status::NotSupported("Illegal columns {}, {} of argument of function {}", | 589 | 18.4E | c0->get_name(), c1->get_name(), name); | 590 | 18.4E | } | 591 | 677 | block.replace_by_position(result, std::move(c_res)); | 592 | 677 | return Status::OK(); | 593 | 676 | } |
_ZNK5doris18FunctionComparisonINS_14LessOrEqualsOpENS_16NameLessOrEqualsEE14execute_stringERNS_5BlockEjPKNS_7IColumnES8_ Line | Count | Source | 529 | 893 | const IColumn* c1) const { | 530 | 893 | const ColumnString* c0_string = check_and_get_column<ColumnString>(c0); | 531 | 893 | const ColumnString* c1_string = check_and_get_column<ColumnString>(c1); | 532 | 893 | const ColumnConst* c0_const = check_and_get_column_const_string_or_fixedstring(c0); | 533 | 893 | const ColumnConst* c1_const = check_and_get_column_const_string_or_fixedstring(c1); | 534 | 893 | if (!((c0_string || c0_const) && (c1_string || c1_const))) { | 535 | 0 | return Status::NotSupported("Illegal columns {}, {} of argument of function {}", | 536 | 0 | c0->get_name(), c1->get_name(), name); | 537 | 0 | } | 538 | 893 | DCHECK(!(c0_const && c1_const)); | 539 | 893 | const ColumnString::Chars* c0_const_chars = nullptr; | 540 | 893 | const ColumnString::Chars* c1_const_chars = nullptr; | 541 | 893 | ColumnString::Offset c0_const_size = 0; | 542 | 893 | ColumnString::Offset c1_const_size = 0; | 543 | | | 544 | 893 | if (c0_const) { | 545 | 0 | const ColumnString* c0_const_string = | 546 | 0 | check_and_get_column<ColumnString>(&c0_const->get_data_column()); | 547 | |
| 548 | 0 | if (c0_const_string) { | 549 | 0 | c0_const_chars = &c0_const_string->get_chars(); | 550 | 0 | c0_const_size = c0_const_string->get_offsets()[0]; | 551 | 0 | } else { | 552 | 0 | return Status::NotSupported("Illegal columns {}, of argument of function {}", | 553 | 0 | c0->get_name(), name); | 554 | 0 | } | 555 | 0 | } | 556 | | | 557 | 893 | if (c1_const) { | 558 | 714 | const ColumnString* c1_const_string = | 559 | 714 | check_and_get_column<ColumnString>(&c1_const->get_data_column()); | 560 | | | 561 | 714 | if (c1_const_string) { | 562 | 714 | c1_const_chars = &c1_const_string->get_chars(); | 563 | 714 | c1_const_size = c1_const_string->get_offsets()[0]; | 564 | 714 | } else { | 565 | 0 | return Status::NotSupported("Illegal columns {}, of argument of function {}", | 566 | 0 | c1->get_name(), name); | 567 | 0 | } | 568 | 714 | } | 569 | | | 570 | 893 | using StringImpl = StringComparisonImpl<Op<TYPE_INT>>; | 571 | | | 572 | 893 | auto c_res = ColumnUInt8::create(); | 573 | 893 | ColumnUInt8::Container& vec_res = c_res->get_data(); | 574 | 893 | vec_res.resize(c0->size()); | 575 | | | 576 | 893 | if (c0_string && c1_string) { | 577 | 178 | StringImpl::string_vector_string_vector( | 578 | 178 | c0_string->get_chars(), c0_string->get_offsets(), c1_string->get_chars(), | 579 | 178 | c1_string->get_offsets(), vec_res); | 580 | 715 | } else if (c0_string && c1_const) { | 581 | 715 | StringImpl::string_vector_constant(c0_string->get_chars(), c0_string->get_offsets(), | 582 | 715 | *c1_const_chars, c1_const_size, vec_res); | 583 | 715 | } else if (c0_const && c1_string) { | 584 | 0 | StringImpl::constant_string_vector(*c0_const_chars, c0_const_size, | 585 | 0 | c1_string->get_chars(), c1_string->get_offsets(), | 586 | 0 | vec_res); | 587 | 0 | } else { | 588 | 0 | return Status::NotSupported("Illegal columns {}, {} of argument of function {}", | 589 | 0 | c0->get_name(), c1->get_name(), name); | 590 | 0 | } | 591 | 893 | block.replace_by_position(result, std::move(c_res)); | 592 | 893 | return Status::OK(); | 593 | 893 | } |
|
594 | | |
595 | | void execute_generic_identical_types(Block& block, uint32_t result, const IColumn* c0, |
596 | 181 | const IColumn* c1) const { |
597 | 181 | bool c0_const = is_column_const(*c0); |
598 | 181 | bool c1_const = is_column_const(*c1); |
599 | | |
600 | 181 | DCHECK(!(c0_const && c1_const)); |
601 | | |
602 | 181 | auto c_res = ColumnUInt8::create(); |
603 | 181 | ColumnUInt8::Container& vec_res = c_res->get_data(); |
604 | 181 | vec_res.resize(c0->size()); |
605 | | |
606 | 181 | if (c0_const) { |
607 | 0 | GenericComparisonImpl<Op<TYPE_INT>>::constant_vector(*c0, *c1, vec_res); |
608 | 181 | } else if (c1_const) { |
609 | 172 | GenericComparisonImpl<Op<TYPE_INT>>::vector_constant(*c0, *c1, vec_res); |
610 | 172 | } else { |
611 | 9 | GenericComparisonImpl<Op<TYPE_INT>>::vector_vector(*c0, *c1, vec_res); |
612 | 9 | } |
613 | | |
614 | 181 | block.replace_by_position(result, std::move(c_res)); |
615 | 181 | } _ZNK5doris18FunctionComparisonINS_8EqualsOpENS_10NameEqualsEE31execute_generic_identical_typesERNS_5BlockEjPKNS_7IColumnES8_ Line | Count | Source | 596 | 17 | const IColumn* c1) const { | 597 | 17 | bool c0_const = is_column_const(*c0); | 598 | 17 | bool c1_const = is_column_const(*c1); | 599 | | | 600 | 17 | DCHECK(!(c0_const && c1_const)); | 601 | | | 602 | 17 | auto c_res = ColumnUInt8::create(); | 603 | 17 | ColumnUInt8::Container& vec_res = c_res->get_data(); | 604 | 17 | vec_res.resize(c0->size()); | 605 | | | 606 | 17 | if (c0_const) { | 607 | 0 | GenericComparisonImpl<Op<TYPE_INT>>::constant_vector(*c0, *c1, vec_res); | 608 | 17 | } else if (c1_const) { | 609 | 13 | GenericComparisonImpl<Op<TYPE_INT>>::vector_constant(*c0, *c1, vec_res); | 610 | 13 | } else { | 611 | 4 | GenericComparisonImpl<Op<TYPE_INT>>::vector_vector(*c0, *c1, vec_res); | 612 | 4 | } | 613 | | | 614 | 17 | block.replace_by_position(result, std::move(c_res)); | 615 | 17 | } |
_ZNK5doris18FunctionComparisonINS_11NotEqualsOpENS_13NameNotEqualsEE31execute_generic_identical_typesERNS_5BlockEjPKNS_7IColumnES8_ Line | Count | Source | 596 | 8 | const IColumn* c1) const { | 597 | 8 | bool c0_const = is_column_const(*c0); | 598 | 8 | bool c1_const = is_column_const(*c1); | 599 | | | 600 | 8 | DCHECK(!(c0_const && c1_const)); | 601 | | | 602 | 8 | auto c_res = ColumnUInt8::create(); | 603 | 8 | ColumnUInt8::Container& vec_res = c_res->get_data(); | 604 | 8 | vec_res.resize(c0->size()); | 605 | | | 606 | 8 | if (c0_const) { | 607 | 0 | GenericComparisonImpl<Op<TYPE_INT>>::constant_vector(*c0, *c1, vec_res); | 608 | 8 | } else if (c1_const) { | 609 | 8 | GenericComparisonImpl<Op<TYPE_INT>>::vector_constant(*c0, *c1, vec_res); | 610 | 8 | } else { | 611 | 0 | GenericComparisonImpl<Op<TYPE_INT>>::vector_vector(*c0, *c1, vec_res); | 612 | 0 | } | 613 | | | 614 | 8 | block.replace_by_position(result, std::move(c_res)); | 615 | 8 | } |
_ZNK5doris18FunctionComparisonINS_9GreaterOpENS_11NameGreaterEE31execute_generic_identical_typesERNS_5BlockEjPKNS_7IColumnES8_ Line | Count | Source | 596 | 9 | const IColumn* c1) const { | 597 | 9 | bool c0_const = is_column_const(*c0); | 598 | 9 | bool c1_const = is_column_const(*c1); | 599 | | | 600 | 9 | DCHECK(!(c0_const && c1_const)); | 601 | | | 602 | 9 | auto c_res = ColumnUInt8::create(); | 603 | 9 | ColumnUInt8::Container& vec_res = c_res->get_data(); | 604 | 9 | vec_res.resize(c0->size()); | 605 | | | 606 | 9 | if (c0_const) { | 607 | 0 | GenericComparisonImpl<Op<TYPE_INT>>::constant_vector(*c0, *c1, vec_res); | 608 | 9 | } else if (c1_const) { | 609 | 8 | GenericComparisonImpl<Op<TYPE_INT>>::vector_constant(*c0, *c1, vec_res); | 610 | 8 | } else { | 611 | 1 | GenericComparisonImpl<Op<TYPE_INT>>::vector_vector(*c0, *c1, vec_res); | 612 | 1 | } | 613 | | | 614 | 9 | block.replace_by_position(result, std::move(c_res)); | 615 | 9 | } |
_ZNK5doris18FunctionComparisonINS_17GreaterOrEqualsOpENS_19NameGreaterOrEqualsEE31execute_generic_identical_typesERNS_5BlockEjPKNS_7IColumnES8_ Line | Count | Source | 596 | 67 | const IColumn* c1) const { | 597 | 67 | bool c0_const = is_column_const(*c0); | 598 | 67 | bool c1_const = is_column_const(*c1); | 599 | | | 600 | 67 | DCHECK(!(c0_const && c1_const)); | 601 | | | 602 | 67 | auto c_res = ColumnUInt8::create(); | 603 | 67 | ColumnUInt8::Container& vec_res = c_res->get_data(); | 604 | 67 | vec_res.resize(c0->size()); | 605 | | | 606 | 67 | if (c0_const) { | 607 | 0 | GenericComparisonImpl<Op<TYPE_INT>>::constant_vector(*c0, *c1, vec_res); | 608 | 67 | } else if (c1_const) { | 609 | 66 | GenericComparisonImpl<Op<TYPE_INT>>::vector_constant(*c0, *c1, vec_res); | 610 | 66 | } else { | 611 | 1 | GenericComparisonImpl<Op<TYPE_INT>>::vector_vector(*c0, *c1, vec_res); | 612 | 1 | } | 613 | | | 614 | 67 | block.replace_by_position(result, std::move(c_res)); | 615 | 67 | } |
_ZNK5doris18FunctionComparisonINS_6LessOpENS_8NameLessEE31execute_generic_identical_typesERNS_5BlockEjPKNS_7IColumnES8_ Line | Count | Source | 596 | 11 | const IColumn* c1) const { | 597 | 11 | bool c0_const = is_column_const(*c0); | 598 | 11 | bool c1_const = is_column_const(*c1); | 599 | | | 600 | 11 | DCHECK(!(c0_const && c1_const)); | 601 | | | 602 | 11 | auto c_res = ColumnUInt8::create(); | 603 | 11 | ColumnUInt8::Container& vec_res = c_res->get_data(); | 604 | 11 | vec_res.resize(c0->size()); | 605 | | | 606 | 11 | if (c0_const) { | 607 | 0 | GenericComparisonImpl<Op<TYPE_INT>>::constant_vector(*c0, *c1, vec_res); | 608 | 11 | } else if (c1_const) { | 609 | 8 | GenericComparisonImpl<Op<TYPE_INT>>::vector_constant(*c0, *c1, vec_res); | 610 | 8 | } else { | 611 | 3 | GenericComparisonImpl<Op<TYPE_INT>>::vector_vector(*c0, *c1, vec_res); | 612 | 3 | } | 613 | | | 614 | 11 | block.replace_by_position(result, std::move(c_res)); | 615 | 11 | } |
_ZNK5doris18FunctionComparisonINS_14LessOrEqualsOpENS_16NameLessOrEqualsEE31execute_generic_identical_typesERNS_5BlockEjPKNS_7IColumnES8_ Line | Count | Source | 596 | 69 | const IColumn* c1) const { | 597 | 69 | bool c0_const = is_column_const(*c0); | 598 | 69 | bool c1_const = is_column_const(*c1); | 599 | | | 600 | 69 | DCHECK(!(c0_const && c1_const)); | 601 | | | 602 | 69 | auto c_res = ColumnUInt8::create(); | 603 | 69 | ColumnUInt8::Container& vec_res = c_res->get_data(); | 604 | 69 | vec_res.resize(c0->size()); | 605 | | | 606 | 69 | if (c0_const) { | 607 | 0 | GenericComparisonImpl<Op<TYPE_INT>>::constant_vector(*c0, *c1, vec_res); | 608 | 69 | } else if (c1_const) { | 609 | 69 | GenericComparisonImpl<Op<TYPE_INT>>::vector_constant(*c0, *c1, vec_res); | 610 | 69 | } else { | 611 | 0 | GenericComparisonImpl<Op<TYPE_INT>>::vector_vector(*c0, *c1, vec_res); | 612 | 0 | } | 613 | | | 614 | 69 | block.replace_by_position(result, std::move(c_res)); | 615 | 69 | } |
|
616 | | |
617 | | Status execute_generic(Block& block, uint32_t result, const ColumnWithTypeAndName& c0, |
618 | 181 | const ColumnWithTypeAndName& c1) const { |
619 | 181 | execute_generic_identical_types(block, result, c0.column.get(), c1.column.get()); |
620 | 181 | return Status::OK(); |
621 | 181 | } _ZNK5doris18FunctionComparisonINS_8EqualsOpENS_10NameEqualsEE15execute_genericERNS_5BlockEjRKNS_21ColumnWithTypeAndNameES8_ Line | Count | Source | 618 | 17 | const ColumnWithTypeAndName& c1) const { | 619 | 17 | execute_generic_identical_types(block, result, c0.column.get(), c1.column.get()); | 620 | 17 | return Status::OK(); | 621 | 17 | } |
_ZNK5doris18FunctionComparisonINS_11NotEqualsOpENS_13NameNotEqualsEE15execute_genericERNS_5BlockEjRKNS_21ColumnWithTypeAndNameES8_ Line | Count | Source | 618 | 8 | const ColumnWithTypeAndName& c1) const { | 619 | 8 | execute_generic_identical_types(block, result, c0.column.get(), c1.column.get()); | 620 | 8 | return Status::OK(); | 621 | 8 | } |
_ZNK5doris18FunctionComparisonINS_9GreaterOpENS_11NameGreaterEE15execute_genericERNS_5BlockEjRKNS_21ColumnWithTypeAndNameES8_ Line | Count | Source | 618 | 9 | const ColumnWithTypeAndName& c1) const { | 619 | 9 | execute_generic_identical_types(block, result, c0.column.get(), c1.column.get()); | 620 | 9 | return Status::OK(); | 621 | 9 | } |
_ZNK5doris18FunctionComparisonINS_17GreaterOrEqualsOpENS_19NameGreaterOrEqualsEE15execute_genericERNS_5BlockEjRKNS_21ColumnWithTypeAndNameES8_ Line | Count | Source | 618 | 67 | const ColumnWithTypeAndName& c1) const { | 619 | 67 | execute_generic_identical_types(block, result, c0.column.get(), c1.column.get()); | 620 | 67 | return Status::OK(); | 621 | 67 | } |
_ZNK5doris18FunctionComparisonINS_6LessOpENS_8NameLessEE15execute_genericERNS_5BlockEjRKNS_21ColumnWithTypeAndNameES8_ Line | Count | Source | 618 | 11 | const ColumnWithTypeAndName& c1) const { | 619 | 11 | execute_generic_identical_types(block, result, c0.column.get(), c1.column.get()); | 620 | 11 | return Status::OK(); | 621 | 11 | } |
_ZNK5doris18FunctionComparisonINS_14LessOrEqualsOpENS_16NameLessOrEqualsEE15execute_genericERNS_5BlockEjRKNS_21ColumnWithTypeAndNameES8_ Line | Count | Source | 618 | 69 | const ColumnWithTypeAndName& c1) const { | 619 | 69 | execute_generic_identical_types(block, result, c0.column.get(), c1.column.get()); | 620 | 69 | return Status::OK(); | 621 | 69 | } |
|
622 | | |
623 | | public: |
624 | 222 | String get_name() const override { return name; }_ZNK5doris18FunctionComparisonINS_8EqualsOpENS_10NameEqualsEE8get_nameB5cxx11Ev Line | Count | Source | 624 | 63 | String get_name() const override { return name; } |
_ZNK5doris18FunctionComparisonINS_11NotEqualsOpENS_13NameNotEqualsEE8get_nameB5cxx11Ev Line | Count | Source | 624 | 37 | String get_name() const override { return name; } |
_ZNK5doris18FunctionComparisonINS_9GreaterOpENS_11NameGreaterEE8get_nameB5cxx11Ev Line | Count | Source | 624 | 39 | String get_name() const override { return name; } |
_ZNK5doris18FunctionComparisonINS_17GreaterOrEqualsOpENS_19NameGreaterOrEqualsEE8get_nameB5cxx11Ev Line | Count | Source | 624 | 81 | String get_name() const override { return name; } |
_ZNK5doris18FunctionComparisonINS_6LessOpENS_8NameLessEE8get_nameB5cxx11Ev Line | Count | Source | 624 | 1 | String get_name() const override { return name; } |
_ZNK5doris18FunctionComparisonINS_14LessOrEqualsOpENS_16NameLessOrEqualsEE8get_nameB5cxx11Ev Line | Count | Source | 624 | 1 | String get_name() const override { return name; } |
|
625 | | |
626 | 576k | size_t get_number_of_arguments() const override { return 2; }_ZNK5doris18FunctionComparisonINS_8EqualsOpENS_10NameEqualsEE23get_number_of_argumentsEv Line | Count | Source | 626 | 483k | size_t get_number_of_arguments() const override { return 2; } |
_ZNK5doris18FunctionComparisonINS_11NotEqualsOpENS_13NameNotEqualsEE23get_number_of_argumentsEv Line | Count | Source | 626 | 2.76k | size_t get_number_of_arguments() const override { return 2; } |
_ZNK5doris18FunctionComparisonINS_9GreaterOpENS_11NameGreaterEE23get_number_of_argumentsEv Line | Count | Source | 626 | 43.0k | size_t get_number_of_arguments() const override { return 2; } |
_ZNK5doris18FunctionComparisonINS_17GreaterOrEqualsOpENS_19NameGreaterOrEqualsEE23get_number_of_argumentsEv Line | Count | Source | 626 | 15.5k | size_t get_number_of_arguments() const override { return 2; } |
_ZNK5doris18FunctionComparisonINS_6LessOpENS_8NameLessEE23get_number_of_argumentsEv Line | Count | Source | 626 | 4.61k | size_t get_number_of_arguments() const override { return 2; } |
_ZNK5doris18FunctionComparisonINS_14LessOrEqualsOpENS_16NameLessOrEqualsEE23get_number_of_argumentsEv Line | Count | Source | 626 | 26.4k | size_t get_number_of_arguments() const override { return 2; } |
|
627 | | |
628 | | ZoneMapFilterResult evaluate_zonemap_filter(const ZoneMapEvalContext& ctx, |
629 | 35.6k | const VExprSPtrs& arguments) const override { |
630 | 35.6k | auto op = comparison_zonemap_detail::op_from_name(name); |
631 | 35.6k | DORIS_CHECK(op.has_value()); |
632 | 35.6k | return comparison_zonemap_detail::evaluate(ctx, arguments, *op); |
633 | 35.6k | } _ZNK5doris18FunctionComparisonINS_8EqualsOpENS_10NameEqualsEE23evaluate_zonemap_filterERKNS_18ZoneMapEvalContextERKSt6vectorISt10shared_ptrINS_5VExprEESaISA_EE Line | Count | Source | 629 | 9.60k | const VExprSPtrs& arguments) const override { | 630 | 9.60k | auto op = comparison_zonemap_detail::op_from_name(name); | 631 | 9.60k | DORIS_CHECK(op.has_value()); | 632 | 9.60k | return comparison_zonemap_detail::evaluate(ctx, arguments, *op); | 633 | 9.60k | } |
_ZNK5doris18FunctionComparisonINS_11NotEqualsOpENS_13NameNotEqualsEE23evaluate_zonemap_filterERKNS_18ZoneMapEvalContextERKSt6vectorISt10shared_ptrINS_5VExprEESaISA_EE Line | Count | Source | 629 | 1.16k | const VExprSPtrs& arguments) const override { | 630 | 1.16k | auto op = comparison_zonemap_detail::op_from_name(name); | 631 | 1.16k | DORIS_CHECK(op.has_value()); | 632 | 1.16k | return comparison_zonemap_detail::evaluate(ctx, arguments, *op); | 633 | 1.16k | } |
_ZNK5doris18FunctionComparisonINS_9GreaterOpENS_11NameGreaterEE23evaluate_zonemap_filterERKNS_18ZoneMapEvalContextERKSt6vectorISt10shared_ptrINS_5VExprEESaISA_EE Line | Count | Source | 629 | 5.11k | const VExprSPtrs& arguments) const override { | 630 | 5.11k | auto op = comparison_zonemap_detail::op_from_name(name); | 631 | 5.11k | DORIS_CHECK(op.has_value()); | 632 | 5.11k | return comparison_zonemap_detail::evaluate(ctx, arguments, *op); | 633 | 5.11k | } |
_ZNK5doris18FunctionComparisonINS_17GreaterOrEqualsOpENS_19NameGreaterOrEqualsEE23evaluate_zonemap_filterERKNS_18ZoneMapEvalContextERKSt6vectorISt10shared_ptrINS_5VExprEESaISA_EE Line | Count | Source | 629 | 6.98k | const VExprSPtrs& arguments) const override { | 630 | 6.98k | auto op = comparison_zonemap_detail::op_from_name(name); | 631 | 6.98k | DORIS_CHECK(op.has_value()); | 632 | 6.98k | return comparison_zonemap_detail::evaluate(ctx, arguments, *op); | 633 | 6.98k | } |
_ZNK5doris18FunctionComparisonINS_6LessOpENS_8NameLessEE23evaluate_zonemap_filterERKNS_18ZoneMapEvalContextERKSt6vectorISt10shared_ptrINS_5VExprEESaISA_EE Line | Count | Source | 629 | 3.11k | const VExprSPtrs& arguments) const override { | 630 | 3.11k | auto op = comparison_zonemap_detail::op_from_name(name); | 631 | 3.11k | DORIS_CHECK(op.has_value()); | 632 | 3.11k | return comparison_zonemap_detail::evaluate(ctx, arguments, *op); | 633 | 3.11k | } |
_ZNK5doris18FunctionComparisonINS_14LessOrEqualsOpENS_16NameLessOrEqualsEE23evaluate_zonemap_filterERKNS_18ZoneMapEvalContextERKSt6vectorISt10shared_ptrINS_5VExprEESaISA_EE Line | Count | Source | 629 | 9.70k | const VExprSPtrs& arguments) const override { | 630 | 9.70k | auto op = comparison_zonemap_detail::op_from_name(name); | 631 | 9.70k | DORIS_CHECK(op.has_value()); | 632 | 9.70k | return comparison_zonemap_detail::evaluate(ctx, arguments, *op); | 633 | 9.70k | } |
|
634 | | |
635 | 117k | bool can_evaluate_zonemap_filter(const VExprSPtrs& arguments) const override { |
636 | 117k | return comparison_zonemap_detail::op_from_name(name).has_value() && |
637 | 117k | comparison_zonemap_detail::can_evaluate(arguments); |
638 | 117k | } _ZNK5doris18FunctionComparisonINS_8EqualsOpENS_10NameEqualsEE27can_evaluate_zonemap_filterERKSt6vectorISt10shared_ptrINS_5VExprEESaIS7_EE Line | Count | Source | 635 | 46.8k | bool can_evaluate_zonemap_filter(const VExprSPtrs& arguments) const override { | 636 | 46.8k | return comparison_zonemap_detail::op_from_name(name).has_value() && | 637 | 46.8k | comparison_zonemap_detail::can_evaluate(arguments); | 638 | 46.8k | } |
_ZNK5doris18FunctionComparisonINS_11NotEqualsOpENS_13NameNotEqualsEE27can_evaluate_zonemap_filterERKSt6vectorISt10shared_ptrINS_5VExprEESaIS7_EE Line | Count | Source | 635 | 4.62k | bool can_evaluate_zonemap_filter(const VExprSPtrs& arguments) const override { | 636 | 4.62k | return comparison_zonemap_detail::op_from_name(name).has_value() && | 637 | 4.62k | comparison_zonemap_detail::can_evaluate(arguments); | 638 | 4.62k | } |
_ZNK5doris18FunctionComparisonINS_9GreaterOpENS_11NameGreaterEE27can_evaluate_zonemap_filterERKSt6vectorISt10shared_ptrINS_5VExprEESaIS7_EE Line | Count | Source | 635 | 17.4k | bool can_evaluate_zonemap_filter(const VExprSPtrs& arguments) const override { | 636 | 17.4k | return comparison_zonemap_detail::op_from_name(name).has_value() && | 637 | 17.4k | comparison_zonemap_detail::can_evaluate(arguments); | 638 | 17.4k | } |
_ZNK5doris18FunctionComparisonINS_17GreaterOrEqualsOpENS_19NameGreaterOrEqualsEE27can_evaluate_zonemap_filterERKSt6vectorISt10shared_ptrINS_5VExprEESaIS7_EE Line | Count | Source | 635 | 17.5k | bool can_evaluate_zonemap_filter(const VExprSPtrs& arguments) const override { | 636 | 17.5k | return comparison_zonemap_detail::op_from_name(name).has_value() && | 637 | 17.5k | comparison_zonemap_detail::can_evaluate(arguments); | 638 | 17.5k | } |
_ZNK5doris18FunctionComparisonINS_6LessOpENS_8NameLessEE27can_evaluate_zonemap_filterERKSt6vectorISt10shared_ptrINS_5VExprEESaIS7_EE Line | Count | Source | 635 | 10.0k | bool can_evaluate_zonemap_filter(const VExprSPtrs& arguments) const override { | 636 | 10.0k | return comparison_zonemap_detail::op_from_name(name).has_value() && | 637 | 10.0k | comparison_zonemap_detail::can_evaluate(arguments); | 638 | 10.0k | } |
_ZNK5doris18FunctionComparisonINS_14LessOrEqualsOpENS_16NameLessOrEqualsEE27can_evaluate_zonemap_filterERKSt6vectorISt10shared_ptrINS_5VExprEESaIS7_EE Line | Count | Source | 635 | 20.4k | bool can_evaluate_zonemap_filter(const VExprSPtrs& arguments) const override { | 636 | 20.4k | return comparison_zonemap_detail::op_from_name(name).has_value() && | 637 | 20.4k | comparison_zonemap_detail::can_evaluate(arguments); | 638 | 20.4k | } |
|
639 | | |
640 | | ZoneMapFilterResult evaluate_dictionary_filter(const DictionaryEvalContext& ctx, |
641 | 153k | const VExprSPtrs& arguments) const override { |
642 | 153k | auto op = comparison_zonemap_detail::op_from_name(name); |
643 | 153k | DORIS_CHECK(op.has_value()); |
644 | 153k | return comparison_zonemap_detail::evaluate_dictionary(ctx, arguments, *op); |
645 | 153k | } _ZNK5doris18FunctionComparisonINS_8EqualsOpENS_10NameEqualsEE26evaluate_dictionary_filterERKNS_12expr_zonemap21DictionaryEvalContextERKSt6vectorISt10shared_ptrINS_5VExprEESaISB_EE Line | Count | Source | 641 | 1.09k | const VExprSPtrs& arguments) const override { | 642 | 1.09k | auto op = comparison_zonemap_detail::op_from_name(name); | 643 | 1.09k | DORIS_CHECK(op.has_value()); | 644 | 1.09k | return comparison_zonemap_detail::evaluate_dictionary(ctx, arguments, *op); | 645 | 1.09k | } |
_ZNK5doris18FunctionComparisonINS_11NotEqualsOpENS_13NameNotEqualsEE26evaluate_dictionary_filterERKNS_12expr_zonemap21DictionaryEvalContextERKSt6vectorISt10shared_ptrINS_5VExprEESaISB_EE Line | Count | Source | 641 | 4 | const VExprSPtrs& arguments) const override { | 642 | 4 | auto op = comparison_zonemap_detail::op_from_name(name); | 643 | 4 | DORIS_CHECK(op.has_value()); | 644 | 4 | return comparison_zonemap_detail::evaluate_dictionary(ctx, arguments, *op); | 645 | 4 | } |
_ZNK5doris18FunctionComparisonINS_9GreaterOpENS_11NameGreaterEE26evaluate_dictionary_filterERKNS_12expr_zonemap21DictionaryEvalContextERKSt6vectorISt10shared_ptrINS_5VExprEESaISB_EE Line | Count | Source | 641 | 5.99k | const VExprSPtrs& arguments) const override { | 642 | 5.99k | auto op = comparison_zonemap_detail::op_from_name(name); | 643 | 5.99k | DORIS_CHECK(op.has_value()); | 644 | 5.99k | return comparison_zonemap_detail::evaluate_dictionary(ctx, arguments, *op); | 645 | 5.99k | } |
_ZNK5doris18FunctionComparisonINS_17GreaterOrEqualsOpENS_19NameGreaterOrEqualsEE26evaluate_dictionary_filterERKNS_12expr_zonemap21DictionaryEvalContextERKSt6vectorISt10shared_ptrINS_5VExprEESaISB_EE Line | Count | Source | 641 | 142 | const VExprSPtrs& arguments) const override { | 642 | 142 | auto op = comparison_zonemap_detail::op_from_name(name); | 643 | 142 | DORIS_CHECK(op.has_value()); | 644 | 142 | return comparison_zonemap_detail::evaluate_dictionary(ctx, arguments, *op); | 645 | 142 | } |
_ZNK5doris18FunctionComparisonINS_6LessOpENS_8NameLessEE26evaluate_dictionary_filterERKNS_12expr_zonemap21DictionaryEvalContextERKSt6vectorISt10shared_ptrINS_5VExprEESaISB_EE Line | Count | Source | 641 | 118 | const VExprSPtrs& arguments) const override { | 642 | 118 | auto op = comparison_zonemap_detail::op_from_name(name); | 643 | 118 | DORIS_CHECK(op.has_value()); | 644 | 118 | return comparison_zonemap_detail::evaluate_dictionary(ctx, arguments, *op); | 645 | 118 | } |
_ZNK5doris18FunctionComparisonINS_14LessOrEqualsOpENS_16NameLessOrEqualsEE26evaluate_dictionary_filterERKNS_12expr_zonemap21DictionaryEvalContextERKSt6vectorISt10shared_ptrINS_5VExprEESaISB_EE Line | Count | Source | 641 | 146k | const VExprSPtrs& arguments) const override { | 642 | 146k | auto op = comparison_zonemap_detail::op_from_name(name); | 643 | 146k | DORIS_CHECK(op.has_value()); | 644 | 146k | return comparison_zonemap_detail::evaluate_dictionary(ctx, arguments, *op); | 645 | 146k | } |
|
646 | | |
647 | 170k | bool can_evaluate_dictionary_filter(const VExprSPtrs& arguments) const override { |
648 | 170k | auto op = comparison_zonemap_detail::op_from_name(name); |
649 | 173k | return op.has_value() && comparison_zonemap_detail::can_evaluate(arguments); |
650 | 170k | } _ZNK5doris18FunctionComparisonINS_8EqualsOpENS_10NameEqualsEE30can_evaluate_dictionary_filterERKSt6vectorISt10shared_ptrINS_5VExprEESaIS7_EE Line | Count | Source | 647 | 8.65k | bool can_evaluate_dictionary_filter(const VExprSPtrs& arguments) const override { | 648 | 8.65k | auto op = comparison_zonemap_detail::op_from_name(name); | 649 | 8.65k | return op.has_value() && comparison_zonemap_detail::can_evaluate(arguments); | 650 | 8.65k | } |
_ZNK5doris18FunctionComparisonINS_11NotEqualsOpENS_13NameNotEqualsEE30can_evaluate_dictionary_filterERKSt6vectorISt10shared_ptrINS_5VExprEESaIS7_EE Line | Count | Source | 647 | 909 | bool can_evaluate_dictionary_filter(const VExprSPtrs& arguments) const override { | 648 | 909 | auto op = comparison_zonemap_detail::op_from_name(name); | 649 | 909 | return op.has_value() && comparison_zonemap_detail::can_evaluate(arguments); | 650 | 909 | } |
_ZNK5doris18FunctionComparisonINS_9GreaterOpENS_11NameGreaterEE30can_evaluate_dictionary_filterERKSt6vectorISt10shared_ptrINS_5VExprEESaIS7_EE Line | Count | Source | 647 | 9.19k | bool can_evaluate_dictionary_filter(const VExprSPtrs& arguments) const override { | 648 | 9.19k | auto op = comparison_zonemap_detail::op_from_name(name); | 649 | 9.19k | return op.has_value() && comparison_zonemap_detail::can_evaluate(arguments); | 650 | 9.19k | } |
_ZNK5doris18FunctionComparisonINS_17GreaterOrEqualsOpENS_19NameGreaterOrEqualsEE30can_evaluate_dictionary_filterERKSt6vectorISt10shared_ptrINS_5VExprEESaIS7_EE Line | Count | Source | 647 | 2.21k | bool can_evaluate_dictionary_filter(const VExprSPtrs& arguments) const override { | 648 | 2.21k | auto op = comparison_zonemap_detail::op_from_name(name); | 649 | 2.21k | return op.has_value() && comparison_zonemap_detail::can_evaluate(arguments); | 650 | 2.21k | } |
_ZNK5doris18FunctionComparisonINS_6LessOpENS_8NameLessEE30can_evaluate_dictionary_filterERKSt6vectorISt10shared_ptrINS_5VExprEESaIS7_EE Line | Count | Source | 647 | 1.29k | bool can_evaluate_dictionary_filter(const VExprSPtrs& arguments) const override { | 648 | 1.29k | auto op = comparison_zonemap_detail::op_from_name(name); | 649 | 1.29k | return op.has_value() && comparison_zonemap_detail::can_evaluate(arguments); | 650 | 1.29k | } |
_ZNK5doris18FunctionComparisonINS_14LessOrEqualsOpENS_16NameLessOrEqualsEE30can_evaluate_dictionary_filterERKSt6vectorISt10shared_ptrINS_5VExprEESaIS7_EE Line | Count | Source | 647 | 148k | bool can_evaluate_dictionary_filter(const VExprSPtrs& arguments) const override { | 648 | 148k | auto op = comparison_zonemap_detail::op_from_name(name); | 649 | 150k | return op.has_value() && comparison_zonemap_detail::can_evaluate(arguments); | 650 | 148k | } |
|
651 | | |
652 | | ZoneMapFilterResult evaluate_bloom_filter(const BloomFilterEvalContext& ctx, |
653 | 14 | const VExprSPtrs& arguments) const override { |
654 | 14 | auto op = comparison_zonemap_detail::op_from_name(name); |
655 | 14 | DORIS_CHECK(op.has_value()); |
656 | 14 | return comparison_zonemap_detail::evaluate_bloom_filter(ctx, arguments, *op); |
657 | 14 | } _ZNK5doris18FunctionComparisonINS_8EqualsOpENS_10NameEqualsEE21evaluate_bloom_filterERKNS_12expr_zonemap22BloomFilterEvalContextERKSt6vectorISt10shared_ptrINS_5VExprEESaISB_EE Line | Count | Source | 653 | 14 | const VExprSPtrs& arguments) const override { | 654 | 14 | auto op = comparison_zonemap_detail::op_from_name(name); | 655 | 14 | DORIS_CHECK(op.has_value()); | 656 | 14 | return comparison_zonemap_detail::evaluate_bloom_filter(ctx, arguments, *op); | 657 | 14 | } |
Unexecuted instantiation: _ZNK5doris18FunctionComparisonINS_11NotEqualsOpENS_13NameNotEqualsEE21evaluate_bloom_filterERKNS_12expr_zonemap22BloomFilterEvalContextERKSt6vectorISt10shared_ptrINS_5VExprEESaISB_EE Unexecuted instantiation: _ZNK5doris18FunctionComparisonINS_9GreaterOpENS_11NameGreaterEE21evaluate_bloom_filterERKNS_12expr_zonemap22BloomFilterEvalContextERKSt6vectorISt10shared_ptrINS_5VExprEESaISB_EE Unexecuted instantiation: _ZNK5doris18FunctionComparisonINS_17GreaterOrEqualsOpENS_19NameGreaterOrEqualsEE21evaluate_bloom_filterERKNS_12expr_zonemap22BloomFilterEvalContextERKSt6vectorISt10shared_ptrINS_5VExprEESaISB_EE Unexecuted instantiation: _ZNK5doris18FunctionComparisonINS_6LessOpENS_8NameLessEE21evaluate_bloom_filterERKNS_12expr_zonemap22BloomFilterEvalContextERKSt6vectorISt10shared_ptrINS_5VExprEESaISB_EE Unexecuted instantiation: _ZNK5doris18FunctionComparisonINS_14LessOrEqualsOpENS_16NameLessOrEqualsEE21evaluate_bloom_filterERKNS_12expr_zonemap22BloomFilterEvalContextERKSt6vectorISt10shared_ptrINS_5VExprEESaISB_EE |
658 | | |
659 | 8.58k | bool can_evaluate_bloom_filter(const VExprSPtrs& arguments) const override { |
660 | 8.58k | auto op = comparison_zonemap_detail::op_from_name(name); |
661 | 8.58k | return op.has_value() && comparison_zonemap_detail::can_evaluate_equality(arguments, *op); |
662 | 8.58k | } _ZNK5doris18FunctionComparisonINS_8EqualsOpENS_10NameEqualsEE25can_evaluate_bloom_filterERKSt6vectorISt10shared_ptrINS_5VExprEESaIS7_EE Line | Count | Source | 659 | 4.85k | bool can_evaluate_bloom_filter(const VExprSPtrs& arguments) const override { | 660 | 4.85k | auto op = comparison_zonemap_detail::op_from_name(name); | 661 | 4.85k | return op.has_value() && comparison_zonemap_detail::can_evaluate_equality(arguments, *op); | 662 | 4.85k | } |
_ZNK5doris18FunctionComparisonINS_11NotEqualsOpENS_13NameNotEqualsEE25can_evaluate_bloom_filterERKSt6vectorISt10shared_ptrINS_5VExprEESaIS7_EE Line | Count | Source | 659 | 693 | bool can_evaluate_bloom_filter(const VExprSPtrs& arguments) const override { | 660 | 693 | auto op = comparison_zonemap_detail::op_from_name(name); | 661 | 693 | return op.has_value() && comparison_zonemap_detail::can_evaluate_equality(arguments, *op); | 662 | 693 | } |
_ZNK5doris18FunctionComparisonINS_9GreaterOpENS_11NameGreaterEE25can_evaluate_bloom_filterERKSt6vectorISt10shared_ptrINS_5VExprEESaIS7_EE Line | Count | Source | 659 | 1.72k | bool can_evaluate_bloom_filter(const VExprSPtrs& arguments) const override { | 660 | 1.72k | auto op = comparison_zonemap_detail::op_from_name(name); | 661 | 1.72k | return op.has_value() && comparison_zonemap_detail::can_evaluate_equality(arguments, *op); | 662 | 1.72k | } |
_ZNK5doris18FunctionComparisonINS_17GreaterOrEqualsOpENS_19NameGreaterOrEqualsEE25can_evaluate_bloom_filterERKSt6vectorISt10shared_ptrINS_5VExprEESaIS7_EE Line | Count | Source | 659 | 522 | bool can_evaluate_bloom_filter(const VExprSPtrs& arguments) const override { | 660 | 522 | auto op = comparison_zonemap_detail::op_from_name(name); | 661 | 524 | return op.has_value() && comparison_zonemap_detail::can_evaluate_equality(arguments, *op); | 662 | 522 | } |
_ZNK5doris18FunctionComparisonINS_6LessOpENS_8NameLessEE25can_evaluate_bloom_filterERKSt6vectorISt10shared_ptrINS_5VExprEESaIS7_EE Line | Count | Source | 659 | 538 | bool can_evaluate_bloom_filter(const VExprSPtrs& arguments) const override { | 660 | 538 | auto op = comparison_zonemap_detail::op_from_name(name); | 661 | 540 | return op.has_value() && comparison_zonemap_detail::can_evaluate_equality(arguments, *op); | 662 | 538 | } |
_ZNK5doris18FunctionComparisonINS_14LessOrEqualsOpENS_16NameLessOrEqualsEE25can_evaluate_bloom_filterERKSt6vectorISt10shared_ptrINS_5VExprEESaIS7_EE Line | Count | Source | 659 | 248 | bool can_evaluate_bloom_filter(const VExprSPtrs& arguments) const override { | 660 | 248 | auto op = comparison_zonemap_detail::op_from_name(name); | 661 | 248 | return op.has_value() && comparison_zonemap_detail::can_evaluate_equality(arguments, *op); | 662 | 248 | } |
|
663 | | |
664 | | /// Get result types by argument types. If the function does not apply to these arguments, throw an exception. |
665 | 576k | DataTypePtr get_return_type_impl(const DataTypes& arguments) const override { |
666 | 576k | return std::make_shared<DataTypeUInt8>(); |
667 | 576k | } _ZNK5doris18FunctionComparisonINS_8EqualsOpENS_10NameEqualsEE20get_return_type_implERKSt6vectorISt10shared_ptrIKNS_9IDataTypeEESaIS8_EE Line | Count | Source | 665 | 483k | DataTypePtr get_return_type_impl(const DataTypes& arguments) const override { | 666 | 483k | return std::make_shared<DataTypeUInt8>(); | 667 | 483k | } |
_ZNK5doris18FunctionComparisonINS_11NotEqualsOpENS_13NameNotEqualsEE20get_return_type_implERKSt6vectorISt10shared_ptrIKNS_9IDataTypeEESaIS8_EE Line | Count | Source | 665 | 2.76k | DataTypePtr get_return_type_impl(const DataTypes& arguments) const override { | 666 | 2.76k | return std::make_shared<DataTypeUInt8>(); | 667 | 2.76k | } |
_ZNK5doris18FunctionComparisonINS_9GreaterOpENS_11NameGreaterEE20get_return_type_implERKSt6vectorISt10shared_ptrIKNS_9IDataTypeEESaIS8_EE Line | Count | Source | 665 | 43.0k | DataTypePtr get_return_type_impl(const DataTypes& arguments) const override { | 666 | 43.0k | return std::make_shared<DataTypeUInt8>(); | 667 | 43.0k | } |
_ZNK5doris18FunctionComparisonINS_17GreaterOrEqualsOpENS_19NameGreaterOrEqualsEE20get_return_type_implERKSt6vectorISt10shared_ptrIKNS_9IDataTypeEESaIS8_EE Line | Count | Source | 665 | 15.6k | DataTypePtr get_return_type_impl(const DataTypes& arguments) const override { | 666 | 15.6k | return std::make_shared<DataTypeUInt8>(); | 667 | 15.6k | } |
_ZNK5doris18FunctionComparisonINS_6LessOpENS_8NameLessEE20get_return_type_implERKSt6vectorISt10shared_ptrIKNS_9IDataTypeEESaIS8_EE Line | Count | Source | 665 | 4.61k | DataTypePtr get_return_type_impl(const DataTypes& arguments) const override { | 666 | 4.61k | return std::make_shared<DataTypeUInt8>(); | 667 | 4.61k | } |
_ZNK5doris18FunctionComparisonINS_14LessOrEqualsOpENS_16NameLessOrEqualsEE20get_return_type_implERKSt6vectorISt10shared_ptrIKNS_9IDataTypeEESaIS8_EE Line | Count | Source | 665 | 26.4k | DataTypePtr get_return_type_impl(const DataTypes& arguments) const override { | 666 | 26.4k | return std::make_shared<DataTypeUInt8>(); | 667 | 26.4k | } |
|
668 | | |
669 | | Status evaluate_inverted_index( |
670 | | const ColumnsWithTypeAndName& arguments, |
671 | | const std::vector<IndexFieldNameAndTypePair>& data_type_with_names, |
672 | | std::vector<segment_v2::IndexIterator*> iterators, uint32_t num_rows, |
673 | | const InvertedIndexAnalyzerCtx* analyzer_ctx, |
674 | 1.34k | segment_v2::InvertedIndexResultBitmap& bitmap_result) const override { |
675 | 1.34k | DCHECK(arguments.size() == 1); |
676 | 1.34k | DCHECK(data_type_with_names.size() == 1); |
677 | 1.34k | DCHECK(iterators.size() == 1); |
678 | 1.34k | auto* iter = iterators[0]; |
679 | 1.34k | auto data_type_with_name = data_type_with_names[0]; |
680 | 1.34k | if (iter == nullptr) { |
681 | 0 | return Status::OK(); |
682 | 0 | } |
683 | 1.34k | if (!segment_v2::IndexReaderHelper::has_string_or_bkd_index(iter)) { |
684 | 304 | return Status::OK(); |
685 | 304 | } |
686 | 1.04k | segment_v2::InvertedIndexQueryType query_type; |
687 | 1.04k | std::string_view name_view(name); |
688 | 1.04k | if (name_view == NameEquals::name || name_view == NameNotEquals::name) { |
689 | 717 | query_type = segment_v2::InvertedIndexQueryType::EQUAL_QUERY; |
690 | 717 | } else if (name_view == NameLess::name) { |
691 | 76 | query_type = segment_v2::InvertedIndexQueryType::LESS_THAN_QUERY; |
692 | 247 | } else if (name_view == NameLessOrEquals::name) { |
693 | 81 | query_type = segment_v2::InvertedIndexQueryType::LESS_EQUAL_QUERY; |
694 | 166 | } else if (name_view == NameGreater::name) { |
695 | 73 | query_type = segment_v2::InvertedIndexQueryType::GREATER_THAN_QUERY; |
696 | 93 | } else if (name_view == NameGreaterOrEquals::name) { |
697 | 93 | query_type = segment_v2::InvertedIndexQueryType::GREATER_EQUAL_QUERY; |
698 | 93 | } else { |
699 | 0 | return Status::InvalidArgument("invalid comparison op type {}", Name::name); |
700 | 0 | } |
701 | | |
702 | 1.04k | if (segment_v2::is_range_query(query_type) && |
703 | 1.04k | iter->get_reader(segment_v2::InvertedIndexReaderType::STRING_TYPE)) { |
704 | | // untokenized strings exceed ignore_above, they are written as null, causing range query errors |
705 | 133 | return Status::OK(); |
706 | 133 | } |
707 | 907 | Field param_value; |
708 | 907 | arguments[0].column->get(0, param_value); |
709 | 907 | if (param_value.is_null()) { |
710 | 2 | return Status::OK(); |
711 | 2 | } |
712 | 905 | segment_v2::InvertedIndexParam param; |
713 | 905 | param.column_name = data_type_with_name.first; |
714 | 905 | param.column_type = data_type_with_name.second; |
715 | 905 | param.query_value = param_value; |
716 | 905 | param.query_type = query_type; |
717 | 905 | param.num_rows = num_rows; |
718 | 905 | param.roaring = std::make_shared<roaring::Roaring>(); |
719 | 905 | param.analyzer_ctx = analyzer_ctx; |
720 | 905 | RETURN_IF_ERROR(iter->read_from_index(segment_v2::IndexParam {¶m})); |
721 | 751 | std::shared_ptr<roaring::Roaring> null_bitmap = std::make_shared<roaring::Roaring>(); |
722 | 751 | if (iter->has_null()) { |
723 | 749 | segment_v2::InvertedIndexQueryCacheHandle null_bitmap_cache_handle; |
724 | 749 | RETURN_IF_ERROR(iter->read_null_bitmap(&null_bitmap_cache_handle)); |
725 | 749 | null_bitmap = null_bitmap_cache_handle.get_bitmap(); |
726 | 749 | } |
727 | 751 | segment_v2::InvertedIndexResultBitmap result(param.roaring, null_bitmap); |
728 | 751 | bitmap_result = result; |
729 | 751 | bitmap_result.mask_out_null(); |
730 | | |
731 | 751 | if (name_view == NameNotEquals::name) { |
732 | 58 | roaring::Roaring full_result; |
733 | 58 | full_result.addRange(0, num_rows); |
734 | 58 | bitmap_result.op_not(&full_result); |
735 | 58 | } |
736 | | |
737 | 751 | return Status::OK(); |
738 | 751 | } _ZNK5doris18FunctionComparisonINS_8EqualsOpENS_10NameEqualsEE23evaluate_inverted_indexERKSt6vectorINS_21ColumnWithTypeAndNameESaIS5_EERKS4_ISt4pairINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt10shared_ptrIKNS_9IDataTypeEEESaISL_EES4_IPNS_10segment_v213IndexIteratorESaISS_EEjPKNS_24InvertedIndexAnalyzerCtxERNSQ_25InvertedIndexResultBitmapE Line | Count | Source | 674 | 687 | segment_v2::InvertedIndexResultBitmap& bitmap_result) const override { | 675 | 687 | DCHECK(arguments.size() == 1); | 676 | 687 | DCHECK(data_type_with_names.size() == 1); | 677 | 687 | DCHECK(iterators.size() == 1); | 678 | 687 | auto* iter = iterators[0]; | 679 | 687 | auto data_type_with_name = data_type_with_names[0]; | 680 | 687 | if (iter == nullptr) { | 681 | 0 | return Status::OK(); | 682 | 0 | } | 683 | 687 | if (!segment_v2::IndexReaderHelper::has_string_or_bkd_index(iter)) { | 684 | 36 | return Status::OK(); | 685 | 36 | } | 686 | 651 | segment_v2::InvertedIndexQueryType query_type; | 687 | 651 | std::string_view name_view(name); | 688 | 651 | if (name_view == NameEquals::name || name_view == NameNotEquals::name) { | 689 | 651 | query_type = segment_v2::InvertedIndexQueryType::EQUAL_QUERY; | 690 | 651 | } else if (name_view == NameLess::name) { | 691 | 0 | query_type = segment_v2::InvertedIndexQueryType::LESS_THAN_QUERY; | 692 | 0 | } else if (name_view == NameLessOrEquals::name) { | 693 | 0 | query_type = segment_v2::InvertedIndexQueryType::LESS_EQUAL_QUERY; | 694 | 0 | } else if (name_view == NameGreater::name) { | 695 | 0 | query_type = segment_v2::InvertedIndexQueryType::GREATER_THAN_QUERY; | 696 | 0 | } else if (name_view == NameGreaterOrEquals::name) { | 697 | 0 | query_type = segment_v2::InvertedIndexQueryType::GREATER_EQUAL_QUERY; | 698 | 0 | } else { | 699 | 0 | return Status::InvalidArgument("invalid comparison op type {}", Name::name); | 700 | 0 | } | 701 | | | 702 | 651 | if (segment_v2::is_range_query(query_type) && | 703 | 651 | iter->get_reader(segment_v2::InvertedIndexReaderType::STRING_TYPE)) { | 704 | | // untokenized strings exceed ignore_above, they are written as null, causing range query errors | 705 | 0 | return Status::OK(); | 706 | 0 | } | 707 | 651 | Field param_value; | 708 | 651 | arguments[0].column->get(0, param_value); | 709 | 651 | if (param_value.is_null()) { | 710 | 2 | return Status::OK(); | 711 | 2 | } | 712 | 649 | segment_v2::InvertedIndexParam param; | 713 | 649 | param.column_name = data_type_with_name.first; | 714 | 649 | param.column_type = data_type_with_name.second; | 715 | 649 | param.query_value = param_value; | 716 | 649 | param.query_type = query_type; | 717 | 649 | param.num_rows = num_rows; | 718 | 649 | param.roaring = std::make_shared<roaring::Roaring>(); | 719 | 649 | param.analyzer_ctx = analyzer_ctx; | 720 | 649 | RETURN_IF_ERROR(iter->read_from_index(segment_v2::IndexParam {¶m})); | 721 | 602 | std::shared_ptr<roaring::Roaring> null_bitmap = std::make_shared<roaring::Roaring>(); | 722 | 602 | if (iter->has_null()) { | 723 | 602 | segment_v2::InvertedIndexQueryCacheHandle null_bitmap_cache_handle; | 724 | 602 | RETURN_IF_ERROR(iter->read_null_bitmap(&null_bitmap_cache_handle)); | 725 | 602 | null_bitmap = null_bitmap_cache_handle.get_bitmap(); | 726 | 602 | } | 727 | 602 | segment_v2::InvertedIndexResultBitmap result(param.roaring, null_bitmap); | 728 | 602 | bitmap_result = result; | 729 | 602 | bitmap_result.mask_out_null(); | 730 | | | 731 | 602 | if (name_view == NameNotEquals::name) { | 732 | 0 | roaring::Roaring full_result; | 733 | 0 | full_result.addRange(0, num_rows); | 734 | 0 | bitmap_result.op_not(&full_result); | 735 | 0 | } | 736 | | | 737 | 602 | return Status::OK(); | 738 | 602 | } |
_ZNK5doris18FunctionComparisonINS_11NotEqualsOpENS_13NameNotEqualsEE23evaluate_inverted_indexERKSt6vectorINS_21ColumnWithTypeAndNameESaIS5_EERKS4_ISt4pairINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt10shared_ptrIKNS_9IDataTypeEEESaISL_EES4_IPNS_10segment_v213IndexIteratorESaISS_EEjPKNS_24InvertedIndexAnalyzerCtxERNSQ_25InvertedIndexResultBitmapE Line | Count | Source | 674 | 72 | segment_v2::InvertedIndexResultBitmap& bitmap_result) const override { | 675 | 72 | DCHECK(arguments.size() == 1); | 676 | 72 | DCHECK(data_type_with_names.size() == 1); | 677 | 72 | DCHECK(iterators.size() == 1); | 678 | 72 | auto* iter = iterators[0]; | 679 | 72 | auto data_type_with_name = data_type_with_names[0]; | 680 | 72 | if (iter == nullptr) { | 681 | 0 | return Status::OK(); | 682 | 0 | } | 683 | 72 | if (!segment_v2::IndexReaderHelper::has_string_or_bkd_index(iter)) { | 684 | 6 | return Status::OK(); | 685 | 6 | } | 686 | 66 | segment_v2::InvertedIndexQueryType query_type; | 687 | 66 | std::string_view name_view(name); | 688 | 66 | if (name_view == NameEquals::name || name_view == NameNotEquals::name) { | 689 | 66 | query_type = segment_v2::InvertedIndexQueryType::EQUAL_QUERY; | 690 | 66 | } else if (name_view == NameLess::name) { | 691 | 0 | query_type = segment_v2::InvertedIndexQueryType::LESS_THAN_QUERY; | 692 | 0 | } else if (name_view == NameLessOrEquals::name) { | 693 | 0 | query_type = segment_v2::InvertedIndexQueryType::LESS_EQUAL_QUERY; | 694 | 0 | } else if (name_view == NameGreater::name) { | 695 | 0 | query_type = segment_v2::InvertedIndexQueryType::GREATER_THAN_QUERY; | 696 | 0 | } else if (name_view == NameGreaterOrEquals::name) { | 697 | 0 | query_type = segment_v2::InvertedIndexQueryType::GREATER_EQUAL_QUERY; | 698 | 0 | } else { | 699 | 0 | return Status::InvalidArgument("invalid comparison op type {}", Name::name); | 700 | 0 | } | 701 | | | 702 | 66 | if (segment_v2::is_range_query(query_type) && | 703 | 66 | iter->get_reader(segment_v2::InvertedIndexReaderType::STRING_TYPE)) { | 704 | | // untokenized strings exceed ignore_above, they are written as null, causing range query errors | 705 | 0 | return Status::OK(); | 706 | 0 | } | 707 | 66 | Field param_value; | 708 | 66 | arguments[0].column->get(0, param_value); | 709 | 66 | if (param_value.is_null()) { | 710 | 0 | return Status::OK(); | 711 | 0 | } | 712 | 66 | segment_v2::InvertedIndexParam param; | 713 | 66 | param.column_name = data_type_with_name.first; | 714 | 66 | param.column_type = data_type_with_name.second; | 715 | 66 | param.query_value = param_value; | 716 | 66 | param.query_type = query_type; | 717 | 66 | param.num_rows = num_rows; | 718 | 66 | param.roaring = std::make_shared<roaring::Roaring>(); | 719 | 66 | param.analyzer_ctx = analyzer_ctx; | 720 | 66 | RETURN_IF_ERROR(iter->read_from_index(segment_v2::IndexParam {¶m})); | 721 | 59 | std::shared_ptr<roaring::Roaring> null_bitmap = std::make_shared<roaring::Roaring>(); | 722 | 59 | if (iter->has_null()) { | 723 | 59 | segment_v2::InvertedIndexQueryCacheHandle null_bitmap_cache_handle; | 724 | 59 | RETURN_IF_ERROR(iter->read_null_bitmap(&null_bitmap_cache_handle)); | 725 | 59 | null_bitmap = null_bitmap_cache_handle.get_bitmap(); | 726 | 59 | } | 727 | 59 | segment_v2::InvertedIndexResultBitmap result(param.roaring, null_bitmap); | 728 | 59 | bitmap_result = result; | 729 | 59 | bitmap_result.mask_out_null(); | 730 | | | 731 | 59 | if (name_view == NameNotEquals::name) { | 732 | 58 | roaring::Roaring full_result; | 733 | 58 | full_result.addRange(0, num_rows); | 734 | 58 | bitmap_result.op_not(&full_result); | 735 | 58 | } | 736 | | | 737 | 59 | return Status::OK(); | 738 | 59 | } |
_ZNK5doris18FunctionComparisonINS_9GreaterOpENS_11NameGreaterEE23evaluate_inverted_indexERKSt6vectorINS_21ColumnWithTypeAndNameESaIS5_EERKS4_ISt4pairINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt10shared_ptrIKNS_9IDataTypeEEESaISL_EES4_IPNS_10segment_v213IndexIteratorESaISS_EEjPKNS_24InvertedIndexAnalyzerCtxERNSQ_25InvertedIndexResultBitmapE Line | Count | Source | 674 | 112 | segment_v2::InvertedIndexResultBitmap& bitmap_result) const override { | 675 | 112 | DCHECK(arguments.size() == 1); | 676 | 112 | DCHECK(data_type_with_names.size() == 1); | 677 | 112 | DCHECK(iterators.size() == 1); | 678 | 112 | auto* iter = iterators[0]; | 679 | 112 | auto data_type_with_name = data_type_with_names[0]; | 680 | 112 | if (iter == nullptr) { | 681 | 0 | return Status::OK(); | 682 | 0 | } | 683 | 112 | if (!segment_v2::IndexReaderHelper::has_string_or_bkd_index(iter)) { | 684 | 39 | return Status::OK(); | 685 | 39 | } | 686 | 73 | segment_v2::InvertedIndexQueryType query_type; | 687 | 73 | std::string_view name_view(name); | 688 | 73 | if (name_view == NameEquals::name || name_view == NameNotEquals::name) { | 689 | 0 | query_type = segment_v2::InvertedIndexQueryType::EQUAL_QUERY; | 690 | 73 | } else if (name_view == NameLess::name) { | 691 | 0 | query_type = segment_v2::InvertedIndexQueryType::LESS_THAN_QUERY; | 692 | 73 | } else if (name_view == NameLessOrEquals::name) { | 693 | 0 | query_type = segment_v2::InvertedIndexQueryType::LESS_EQUAL_QUERY; | 694 | 73 | } else if (name_view == NameGreater::name) { | 695 | 73 | query_type = segment_v2::InvertedIndexQueryType::GREATER_THAN_QUERY; | 696 | 73 | } else if (name_view == NameGreaterOrEquals::name) { | 697 | 0 | query_type = segment_v2::InvertedIndexQueryType::GREATER_EQUAL_QUERY; | 698 | 0 | } else { | 699 | 0 | return Status::InvalidArgument("invalid comparison op type {}", Name::name); | 700 | 0 | } | 701 | | | 702 | 73 | if (segment_v2::is_range_query(query_type) && | 703 | 73 | iter->get_reader(segment_v2::InvertedIndexReaderType::STRING_TYPE)) { | 704 | | // untokenized strings exceed ignore_above, they are written as null, causing range query errors | 705 | 17 | return Status::OK(); | 706 | 17 | } | 707 | 56 | Field param_value; | 708 | 56 | arguments[0].column->get(0, param_value); | 709 | 56 | if (param_value.is_null()) { | 710 | 0 | return Status::OK(); | 711 | 0 | } | 712 | 56 | segment_v2::InvertedIndexParam param; | 713 | 56 | param.column_name = data_type_with_name.first; | 714 | 56 | param.column_type = data_type_with_name.second; | 715 | 56 | param.query_value = param_value; | 716 | 56 | param.query_type = query_type; | 717 | 56 | param.num_rows = num_rows; | 718 | 56 | param.roaring = std::make_shared<roaring::Roaring>(); | 719 | 56 | param.analyzer_ctx = analyzer_ctx; | 720 | 56 | RETURN_IF_ERROR(iter->read_from_index(segment_v2::IndexParam {¶m})); | 721 | 37 | std::shared_ptr<roaring::Roaring> null_bitmap = std::make_shared<roaring::Roaring>(); | 722 | 37 | if (iter->has_null()) { | 723 | 36 | segment_v2::InvertedIndexQueryCacheHandle null_bitmap_cache_handle; | 724 | 36 | RETURN_IF_ERROR(iter->read_null_bitmap(&null_bitmap_cache_handle)); | 725 | 36 | null_bitmap = null_bitmap_cache_handle.get_bitmap(); | 726 | 36 | } | 727 | 37 | segment_v2::InvertedIndexResultBitmap result(param.roaring, null_bitmap); | 728 | 37 | bitmap_result = result; | 729 | 37 | bitmap_result.mask_out_null(); | 730 | | | 731 | 37 | if (name_view == NameNotEquals::name) { | 732 | 0 | roaring::Roaring full_result; | 733 | 0 | full_result.addRange(0, num_rows); | 734 | 0 | bitmap_result.op_not(&full_result); | 735 | 0 | } | 736 | | | 737 | 37 | return Status::OK(); | 738 | 37 | } |
_ZNK5doris18FunctionComparisonINS_17GreaterOrEqualsOpENS_19NameGreaterOrEqualsEE23evaluate_inverted_indexERKSt6vectorINS_21ColumnWithTypeAndNameESaIS5_EERKS4_ISt4pairINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt10shared_ptrIKNS_9IDataTypeEEESaISL_EES4_IPNS_10segment_v213IndexIteratorESaISS_EEjPKNS_24InvertedIndexAnalyzerCtxERNSQ_25InvertedIndexResultBitmapE Line | Count | Source | 674 | 179 | segment_v2::InvertedIndexResultBitmap& bitmap_result) const override { | 675 | 179 | DCHECK(arguments.size() == 1); | 676 | 179 | DCHECK(data_type_with_names.size() == 1); | 677 | 179 | DCHECK(iterators.size() == 1); | 678 | 179 | auto* iter = iterators[0]; | 679 | 179 | auto data_type_with_name = data_type_with_names[0]; | 680 | 179 | if (iter == nullptr) { | 681 | 0 | return Status::OK(); | 682 | 0 | } | 683 | 179 | if (!segment_v2::IndexReaderHelper::has_string_or_bkd_index(iter)) { | 684 | 86 | return Status::OK(); | 685 | 86 | } | 686 | 93 | segment_v2::InvertedIndexQueryType query_type; | 687 | 93 | std::string_view name_view(name); | 688 | 93 | if (name_view == NameEquals::name || name_view == NameNotEquals::name) { | 689 | 0 | query_type = segment_v2::InvertedIndexQueryType::EQUAL_QUERY; | 690 | 93 | } else if (name_view == NameLess::name) { | 691 | 0 | query_type = segment_v2::InvertedIndexQueryType::LESS_THAN_QUERY; | 692 | 93 | } else if (name_view == NameLessOrEquals::name) { | 693 | 0 | query_type = segment_v2::InvertedIndexQueryType::LESS_EQUAL_QUERY; | 694 | 93 | } else if (name_view == NameGreater::name) { | 695 | 0 | query_type = segment_v2::InvertedIndexQueryType::GREATER_THAN_QUERY; | 696 | 93 | } else if (name_view == NameGreaterOrEquals::name) { | 697 | 93 | query_type = segment_v2::InvertedIndexQueryType::GREATER_EQUAL_QUERY; | 698 | 93 | } else { | 699 | 0 | return Status::InvalidArgument("invalid comparison op type {}", Name::name); | 700 | 0 | } | 701 | | | 702 | 93 | if (segment_v2::is_range_query(query_type) && | 703 | 93 | iter->get_reader(segment_v2::InvertedIndexReaderType::STRING_TYPE)) { | 704 | | // untokenized strings exceed ignore_above, they are written as null, causing range query errors | 705 | 47 | return Status::OK(); | 706 | 47 | } | 707 | 46 | Field param_value; | 708 | 46 | arguments[0].column->get(0, param_value); | 709 | 46 | if (param_value.is_null()) { | 710 | 0 | return Status::OK(); | 711 | 0 | } | 712 | 46 | segment_v2::InvertedIndexParam param; | 713 | 46 | param.column_name = data_type_with_name.first; | 714 | 46 | param.column_type = data_type_with_name.second; | 715 | 46 | param.query_value = param_value; | 716 | 46 | param.query_type = query_type; | 717 | 46 | param.num_rows = num_rows; | 718 | 46 | param.roaring = std::make_shared<roaring::Roaring>(); | 719 | 46 | param.analyzer_ctx = analyzer_ctx; | 720 | 46 | RETURN_IF_ERROR(iter->read_from_index(segment_v2::IndexParam {¶m})); | 721 | 5 | std::shared_ptr<roaring::Roaring> null_bitmap = std::make_shared<roaring::Roaring>(); | 722 | 5 | if (iter->has_null()) { | 723 | 5 | segment_v2::InvertedIndexQueryCacheHandle null_bitmap_cache_handle; | 724 | 5 | RETURN_IF_ERROR(iter->read_null_bitmap(&null_bitmap_cache_handle)); | 725 | 5 | null_bitmap = null_bitmap_cache_handle.get_bitmap(); | 726 | 5 | } | 727 | 5 | segment_v2::InvertedIndexResultBitmap result(param.roaring, null_bitmap); | 728 | 5 | bitmap_result = result; | 729 | 5 | bitmap_result.mask_out_null(); | 730 | | | 731 | 5 | if (name_view == NameNotEquals::name) { | 732 | 0 | roaring::Roaring full_result; | 733 | 0 | full_result.addRange(0, num_rows); | 734 | 0 | bitmap_result.op_not(&full_result); | 735 | 0 | } | 736 | | | 737 | 5 | return Status::OK(); | 738 | 5 | } |
_ZNK5doris18FunctionComparisonINS_6LessOpENS_8NameLessEE23evaluate_inverted_indexERKSt6vectorINS_21ColumnWithTypeAndNameESaIS5_EERKS4_ISt4pairINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt10shared_ptrIKNS_9IDataTypeEEESaISL_EES4_IPNS_10segment_v213IndexIteratorESaISS_EEjPKNS_24InvertedIndexAnalyzerCtxERNSQ_25InvertedIndexResultBitmapE Line | Count | Source | 674 | 119 | segment_v2::InvertedIndexResultBitmap& bitmap_result) const override { | 675 | 119 | DCHECK(arguments.size() == 1); | 676 | 119 | DCHECK(data_type_with_names.size() == 1); | 677 | 119 | DCHECK(iterators.size() == 1); | 678 | 119 | auto* iter = iterators[0]; | 679 | 119 | auto data_type_with_name = data_type_with_names[0]; | 680 | 119 | if (iter == nullptr) { | 681 | 0 | return Status::OK(); | 682 | 0 | } | 683 | 119 | if (!segment_v2::IndexReaderHelper::has_string_or_bkd_index(iter)) { | 684 | 43 | return Status::OK(); | 685 | 43 | } | 686 | 76 | segment_v2::InvertedIndexQueryType query_type; | 687 | 76 | std::string_view name_view(name); | 688 | 76 | if (name_view == NameEquals::name || name_view == NameNotEquals::name) { | 689 | 0 | query_type = segment_v2::InvertedIndexQueryType::EQUAL_QUERY; | 690 | 76 | } else if (name_view == NameLess::name) { | 691 | 76 | query_type = segment_v2::InvertedIndexQueryType::LESS_THAN_QUERY; | 692 | 76 | } else if (name_view == NameLessOrEquals::name) { | 693 | 0 | query_type = segment_v2::InvertedIndexQueryType::LESS_EQUAL_QUERY; | 694 | 0 | } else if (name_view == NameGreater::name) { | 695 | 0 | query_type = segment_v2::InvertedIndexQueryType::GREATER_THAN_QUERY; | 696 | 0 | } else if (name_view == NameGreaterOrEquals::name) { | 697 | 0 | query_type = segment_v2::InvertedIndexQueryType::GREATER_EQUAL_QUERY; | 698 | 0 | } else { | 699 | 0 | return Status::InvalidArgument("invalid comparison op type {}", Name::name); | 700 | 0 | } | 701 | | | 702 | 76 | if (segment_v2::is_range_query(query_type) && | 703 | 76 | iter->get_reader(segment_v2::InvertedIndexReaderType::STRING_TYPE)) { | 704 | | // untokenized strings exceed ignore_above, they are written as null, causing range query errors | 705 | 18 | return Status::OK(); | 706 | 18 | } | 707 | 58 | Field param_value; | 708 | 58 | arguments[0].column->get(0, param_value); | 709 | 58 | if (param_value.is_null()) { | 710 | 0 | return Status::OK(); | 711 | 0 | } | 712 | 58 | segment_v2::InvertedIndexParam param; | 713 | 58 | param.column_name = data_type_with_name.first; | 714 | 58 | param.column_type = data_type_with_name.second; | 715 | 58 | param.query_value = param_value; | 716 | 58 | param.query_type = query_type; | 717 | 58 | param.num_rows = num_rows; | 718 | 58 | param.roaring = std::make_shared<roaring::Roaring>(); | 719 | 58 | param.analyzer_ctx = analyzer_ctx; | 720 | 58 | RETURN_IF_ERROR(iter->read_from_index(segment_v2::IndexParam {¶m})); | 721 | 39 | std::shared_ptr<roaring::Roaring> null_bitmap = std::make_shared<roaring::Roaring>(); | 722 | 39 | if (iter->has_null()) { | 723 | 38 | segment_v2::InvertedIndexQueryCacheHandle null_bitmap_cache_handle; | 724 | 38 | RETURN_IF_ERROR(iter->read_null_bitmap(&null_bitmap_cache_handle)); | 725 | 38 | null_bitmap = null_bitmap_cache_handle.get_bitmap(); | 726 | 38 | } | 727 | 39 | segment_v2::InvertedIndexResultBitmap result(param.roaring, null_bitmap); | 728 | 39 | bitmap_result = result; | 729 | 39 | bitmap_result.mask_out_null(); | 730 | | | 731 | 39 | if (name_view == NameNotEquals::name) { | 732 | 0 | roaring::Roaring full_result; | 733 | 0 | full_result.addRange(0, num_rows); | 734 | 0 | bitmap_result.op_not(&full_result); | 735 | 0 | } | 736 | | | 737 | 39 | return Status::OK(); | 738 | 39 | } |
_ZNK5doris18FunctionComparisonINS_14LessOrEqualsOpENS_16NameLessOrEqualsEE23evaluate_inverted_indexERKSt6vectorINS_21ColumnWithTypeAndNameESaIS5_EERKS4_ISt4pairINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt10shared_ptrIKNS_9IDataTypeEEESaISL_EES4_IPNS_10segment_v213IndexIteratorESaISS_EEjPKNS_24InvertedIndexAnalyzerCtxERNSQ_25InvertedIndexResultBitmapE Line | Count | Source | 674 | 175 | segment_v2::InvertedIndexResultBitmap& bitmap_result) const override { | 675 | 175 | DCHECK(arguments.size() == 1); | 676 | 175 | DCHECK(data_type_with_names.size() == 1); | 677 | 175 | DCHECK(iterators.size() == 1); | 678 | 175 | auto* iter = iterators[0]; | 679 | 175 | auto data_type_with_name = data_type_with_names[0]; | 680 | 175 | if (iter == nullptr) { | 681 | 0 | return Status::OK(); | 682 | 0 | } | 683 | 175 | if (!segment_v2::IndexReaderHelper::has_string_or_bkd_index(iter)) { | 684 | 94 | return Status::OK(); | 685 | 94 | } | 686 | 81 | segment_v2::InvertedIndexQueryType query_type; | 687 | 81 | std::string_view name_view(name); | 688 | 81 | if (name_view == NameEquals::name || name_view == NameNotEquals::name) { | 689 | 0 | query_type = segment_v2::InvertedIndexQueryType::EQUAL_QUERY; | 690 | 81 | } else if (name_view == NameLess::name) { | 691 | 0 | query_type = segment_v2::InvertedIndexQueryType::LESS_THAN_QUERY; | 692 | 81 | } else if (name_view == NameLessOrEquals::name) { | 693 | 81 | query_type = segment_v2::InvertedIndexQueryType::LESS_EQUAL_QUERY; | 694 | 81 | } else if (name_view == NameGreater::name) { | 695 | 0 | query_type = segment_v2::InvertedIndexQueryType::GREATER_THAN_QUERY; | 696 | 0 | } else if (name_view == NameGreaterOrEquals::name) { | 697 | 0 | query_type = segment_v2::InvertedIndexQueryType::GREATER_EQUAL_QUERY; | 698 | 0 | } else { | 699 | 0 | return Status::InvalidArgument("invalid comparison op type {}", Name::name); | 700 | 0 | } | 701 | | | 702 | 81 | if (segment_v2::is_range_query(query_type) && | 703 | 81 | iter->get_reader(segment_v2::InvertedIndexReaderType::STRING_TYPE)) { | 704 | | // untokenized strings exceed ignore_above, they are written as null, causing range query errors | 705 | 51 | return Status::OK(); | 706 | 51 | } | 707 | 30 | Field param_value; | 708 | 30 | arguments[0].column->get(0, param_value); | 709 | 30 | if (param_value.is_null()) { | 710 | 0 | return Status::OK(); | 711 | 0 | } | 712 | 30 | segment_v2::InvertedIndexParam param; | 713 | 30 | param.column_name = data_type_with_name.first; | 714 | 30 | param.column_type = data_type_with_name.second; | 715 | 30 | param.query_value = param_value; | 716 | 30 | param.query_type = query_type; | 717 | 30 | param.num_rows = num_rows; | 718 | 30 | param.roaring = std::make_shared<roaring::Roaring>(); | 719 | 30 | param.analyzer_ctx = analyzer_ctx; | 720 | 30 | RETURN_IF_ERROR(iter->read_from_index(segment_v2::IndexParam {¶m})); | 721 | 9 | std::shared_ptr<roaring::Roaring> null_bitmap = std::make_shared<roaring::Roaring>(); | 722 | 9 | if (iter->has_null()) { | 723 | 9 | segment_v2::InvertedIndexQueryCacheHandle null_bitmap_cache_handle; | 724 | 9 | RETURN_IF_ERROR(iter->read_null_bitmap(&null_bitmap_cache_handle)); | 725 | 9 | null_bitmap = null_bitmap_cache_handle.get_bitmap(); | 726 | 9 | } | 727 | 9 | segment_v2::InvertedIndexResultBitmap result(param.roaring, null_bitmap); | 728 | 9 | bitmap_result = result; | 729 | 9 | bitmap_result.mask_out_null(); | 730 | | | 731 | 9 | if (name_view == NameNotEquals::name) { | 732 | 0 | roaring::Roaring full_result; | 733 | 0 | full_result.addRange(0, num_rows); | 734 | 0 | bitmap_result.op_not(&full_result); | 735 | 0 | } | 736 | | | 737 | 9 | return Status::OK(); | 738 | 9 | } |
|
739 | | |
740 | | Status execute_impl(FunctionContext* context, Block& block, const ColumnNumbers& arguments, |
741 | 234k | uint32_t result, size_t input_rows_count) const override { |
742 | 234k | const auto& col_with_type_and_name_left = block.get_by_position(arguments[0]); |
743 | 234k | const auto& col_with_type_and_name_right = block.get_by_position(arguments[1]); |
744 | | |
745 | 234k | const auto& col_left_ptr = col_with_type_and_name_left.column; |
746 | 234k | const auto& col_right_ptr = col_with_type_and_name_right.column; |
747 | 234k | const IColumn* col_left_untyped = col_with_type_and_name_left.column.get(); |
748 | 234k | const IColumn* col_right_untyped = col_with_type_and_name_right.column.get(); |
749 | | |
750 | 234k | const DataTypePtr& left_type = col_with_type_and_name_left.type; |
751 | 234k | const DataTypePtr& right_type = col_with_type_and_name_right.type; |
752 | | |
753 | | /// The case when arguments are the same (tautological comparison). Return constant. |
754 | | /// NOTE: Nullable types are special case. (BTW, this function use default implementation for Nullable, so Nullable types cannot be here. Check just in case.) |
755 | | /// NOTE: We consider NaN comparison to be implementation specific (and in our implementation NaNs are sometimes equal sometimes not). |
756 | 234k | if (left_type->equals(*right_type) && !left_type->is_nullable() && |
757 | 234k | col_left_untyped == col_right_untyped) { |
758 | | /// Always true: =, <=, >= |
759 | | // TODO: Return const column in the future. But seems so far to do. We need a unified approach for passing const column. |
760 | | if constexpr (std::is_same_v<Op<TYPE_INT>, EqualsOp<TYPE_INT>> || |
761 | | std::is_same_v<Op<TYPE_INT>, LessOrEqualsOp<TYPE_INT>> || |
762 | 0 | std::is_same_v<Op<TYPE_INT>, GreaterOrEqualsOp<TYPE_INT>>) { |
763 | 0 | block.get_by_position(result).column = |
764 | 0 | DataTypeUInt8() |
765 | 0 | .create_column_const(input_rows_count, |
766 | 0 | Field::create_field<TYPE_BOOLEAN>(1)) |
767 | 0 | ->convert_to_full_column_if_const(); |
768 | 0 | return Status::OK(); |
769 | 0 | } else { |
770 | 0 | block.get_by_position(result).column = |
771 | 0 | DataTypeUInt8() |
772 | 0 | .create_column_const(input_rows_count, |
773 | 0 | Field::create_field<TYPE_BOOLEAN>(0)) |
774 | 0 | ->convert_to_full_column_if_const(); |
775 | 0 | return Status::OK(); |
776 | 0 | } |
777 | 0 | } |
778 | | |
779 | 424k | auto can_compare = [](PrimitiveType t) -> bool { |
780 | 424k | return is_int_or_bool(t) || is_float_or_double(t) || is_ip(t) || is_date_type(t); |
781 | 424k | }; _ZZNK5doris18FunctionComparisonINS_8EqualsOpENS_10NameEqualsEE12execute_implEPNS_15FunctionContextERNS_5BlockERKSt6vectorIjSaIjEEjmENKUlNS_13PrimitiveTypeEE_clESD_ Line | Count | Source | 779 | 101k | auto can_compare = [](PrimitiveType t) -> bool { | 780 | 101k | return is_int_or_bool(t) || is_float_or_double(t) || is_ip(t) || is_date_type(t); | 781 | 101k | }; |
_ZZNK5doris18FunctionComparisonINS_11NotEqualsOpENS_13NameNotEqualsEE12execute_implEPNS_15FunctionContextERNS_5BlockERKSt6vectorIjSaIjEEjmENKUlNS_13PrimitiveTypeEE_clESD_ Line | Count | Source | 779 | 15.7k | auto can_compare = [](PrimitiveType t) -> bool { | 780 | 15.7k | return is_int_or_bool(t) || is_float_or_double(t) || is_ip(t) || is_date_type(t); | 781 | 15.7k | }; |
_ZZNK5doris18FunctionComparisonINS_9GreaterOpENS_11NameGreaterEE12execute_implEPNS_15FunctionContextERNS_5BlockERKSt6vectorIjSaIjEEjmENKUlNS_13PrimitiveTypeEE_clESD_ Line | Count | Source | 779 | 193k | auto can_compare = [](PrimitiveType t) -> bool { | 780 | 193k | return is_int_or_bool(t) || is_float_or_double(t) || is_ip(t) || is_date_type(t); | 781 | 193k | }; |
_ZZNK5doris18FunctionComparisonINS_17GreaterOrEqualsOpENS_19NameGreaterOrEqualsEE12execute_implEPNS_15FunctionContextERNS_5BlockERKSt6vectorIjSaIjEEjmENKUlNS_13PrimitiveTypeEE_clESD_ Line | Count | Source | 779 | 29.6k | auto can_compare = [](PrimitiveType t) -> bool { | 780 | 29.6k | return is_int_or_bool(t) || is_float_or_double(t) || is_ip(t) || is_date_type(t); | 781 | 29.6k | }; |
_ZZNK5doris18FunctionComparisonINS_6LessOpENS_8NameLessEE12execute_implEPNS_15FunctionContextERNS_5BlockERKSt6vectorIjSaIjEEjmENKUlNS_13PrimitiveTypeEE_clESD_ Line | Count | Source | 779 | 24.8k | auto can_compare = [](PrimitiveType t) -> bool { | 780 | 24.8k | return is_int_or_bool(t) || is_float_or_double(t) || is_ip(t) || is_date_type(t); | 781 | 24.8k | }; |
_ZZNK5doris18FunctionComparisonINS_14LessOrEqualsOpENS_16NameLessOrEqualsEE12execute_implEPNS_15FunctionContextERNS_5BlockERKSt6vectorIjSaIjEEjmENKUlNS_13PrimitiveTypeEE_clESD_ Line | Count | Source | 779 | 58.5k | auto can_compare = [](PrimitiveType t) -> bool { | 780 | 58.5k | return is_int_or_bool(t) || is_float_or_double(t) || is_ip(t) || is_date_type(t); | 781 | 58.5k | }; |
|
782 | | |
783 | 234k | if (can_compare(left_type->get_primitive_type()) && |
784 | 234k | can_compare(right_type->get_primitive_type())) { |
785 | | // check left type equals right type TODO: remove this after FE is aware of scales difference |
786 | 189k | if (!left_type->equals_ignore_precision(*right_type)) { |
787 | 0 | return Status::RuntimeError("not same type in function {} , left : {} , right : {}", |
788 | 0 | get_name(), left_type->get_name(), |
789 | 0 | right_type->get_name()); |
790 | 0 | } |
791 | 189k | } |
792 | | |
793 | 234k | auto compare_type = left_type->get_primitive_type(); |
794 | 234k | switch (compare_type) { |
795 | 2.04k | case TYPE_BOOLEAN: |
796 | 2.04k | return execute_num_type<TYPE_BOOLEAN>(block, result, col_left_ptr, col_right_ptr); |
797 | 14.1k | case TYPE_DATEV2: |
798 | 14.1k | return execute_num_type<TYPE_DATEV2>(block, result, col_left_ptr, col_right_ptr); |
799 | 3.17k | case TYPE_DATETIMEV2: |
800 | 3.17k | return execute_num_type<TYPE_DATETIMEV2>(block, result, col_left_ptr, col_right_ptr); |
801 | 7 | case TYPE_TIMESTAMPTZ: |
802 | 7 | return execute_num_type<TYPE_TIMESTAMPTZ>(block, result, col_left_ptr, col_right_ptr); |
803 | 9.32k | case TYPE_TINYINT: |
804 | 9.32k | return execute_num_type<TYPE_TINYINT>(block, result, col_left_ptr, col_right_ptr); |
805 | 3.13k | case TYPE_SMALLINT: |
806 | 3.13k | return execute_num_type<TYPE_SMALLINT>(block, result, col_left_ptr, col_right_ptr); |
807 | 114k | case TYPE_INT: |
808 | 114k | return execute_num_type<TYPE_INT>(block, result, col_left_ptr, col_right_ptr); |
809 | 37.7k | case TYPE_BIGINT: |
810 | 37.7k | return execute_num_type<TYPE_BIGINT>(block, result, col_left_ptr, col_right_ptr); |
811 | 809 | case TYPE_LARGEINT: |
812 | 809 | return execute_num_type<TYPE_LARGEINT>(block, result, col_left_ptr, col_right_ptr); |
813 | 74 | case TYPE_IPV4: |
814 | 74 | return execute_num_type<TYPE_IPV4>(block, result, col_left_ptr, col_right_ptr); |
815 | 48 | case TYPE_IPV6: |
816 | 48 | return execute_num_type<TYPE_IPV6>(block, result, col_left_ptr, col_right_ptr); |
817 | 972 | case TYPE_FLOAT: |
818 | 972 | return execute_num_type<TYPE_FLOAT>(block, result, col_left_ptr, col_right_ptr); |
819 | 3.78k | case TYPE_DOUBLE: |
820 | 3.78k | return execute_num_type<TYPE_DOUBLE>(block, result, col_left_ptr, col_right_ptr); |
821 | 4 | case TYPE_TIMEV2: |
822 | 4 | return execute_num_type<TYPE_TIMEV2>(block, result, col_left_ptr, col_right_ptr); |
823 | 0 | case TYPE_DECIMALV2: |
824 | 565 | case TYPE_DECIMAL32: |
825 | 8.77k | case TYPE_DECIMAL64: |
826 | 13.1k | case TYPE_DECIMAL128I: |
827 | 13.2k | case TYPE_DECIMAL256: |
828 | 13.2k | return execute_decimal(block, result, col_with_type_and_name_left, |
829 | 13.2k | col_with_type_and_name_right); |
830 | 1.52k | case TYPE_CHAR: |
831 | 10.8k | case TYPE_VARCHAR: |
832 | 31.0k | case TYPE_STRING: |
833 | 31.0k | return execute_string(block, result, col_left_untyped, col_right_untyped); |
834 | 181 | default: |
835 | 181 | return execute_generic(block, result, col_with_type_and_name_left, |
836 | 181 | col_with_type_and_name_right); |
837 | 234k | } |
838 | 0 | return Status::OK(); |
839 | 234k | } _ZNK5doris18FunctionComparisonINS_8EqualsOpENS_10NameEqualsEE12execute_implEPNS_15FunctionContextERNS_5BlockERKSt6vectorIjSaIjEEjm Line | Count | Source | 741 | 64.7k | uint32_t result, size_t input_rows_count) const override { | 742 | 64.7k | const auto& col_with_type_and_name_left = block.get_by_position(arguments[0]); | 743 | 64.7k | const auto& col_with_type_and_name_right = block.get_by_position(arguments[1]); | 744 | | | 745 | 64.7k | const auto& col_left_ptr = col_with_type_and_name_left.column; | 746 | 64.7k | const auto& col_right_ptr = col_with_type_and_name_right.column; | 747 | 64.7k | const IColumn* col_left_untyped = col_with_type_and_name_left.column.get(); | 748 | 64.7k | const IColumn* col_right_untyped = col_with_type_and_name_right.column.get(); | 749 | | | 750 | 64.7k | const DataTypePtr& left_type = col_with_type_and_name_left.type; | 751 | 64.7k | const DataTypePtr& right_type = col_with_type_and_name_right.type; | 752 | | | 753 | | /// The case when arguments are the same (tautological comparison). Return constant. | 754 | | /// NOTE: Nullable types are special case. (BTW, this function use default implementation for Nullable, so Nullable types cannot be here. Check just in case.) | 755 | | /// NOTE: We consider NaN comparison to be implementation specific (and in our implementation NaNs are sometimes equal sometimes not). | 756 | 64.7k | if (left_type->equals(*right_type) && !left_type->is_nullable() && | 757 | 64.7k | col_left_untyped == col_right_untyped) { | 758 | | /// Always true: =, <=, >= | 759 | | // TODO: Return const column in the future. But seems so far to do. We need a unified approach for passing const column. | 760 | | if constexpr (std::is_same_v<Op<TYPE_INT>, EqualsOp<TYPE_INT>> || | 761 | | std::is_same_v<Op<TYPE_INT>, LessOrEqualsOp<TYPE_INT>> || | 762 | 0 | std::is_same_v<Op<TYPE_INT>, GreaterOrEqualsOp<TYPE_INT>>) { | 763 | 0 | block.get_by_position(result).column = | 764 | 0 | DataTypeUInt8() | 765 | 0 | .create_column_const(input_rows_count, | 766 | 0 | Field::create_field<TYPE_BOOLEAN>(1)) | 767 | 0 | ->convert_to_full_column_if_const(); | 768 | 0 | return Status::OK(); | 769 | | } else { | 770 | | block.get_by_position(result).column = | 771 | | DataTypeUInt8() | 772 | | .create_column_const(input_rows_count, | 773 | | Field::create_field<TYPE_BOOLEAN>(0)) | 774 | | ->convert_to_full_column_if_const(); | 775 | | return Status::OK(); | 776 | | } | 777 | 0 | } | 778 | | | 779 | 0 | auto can_compare = [](PrimitiveType t) -> bool { | 780 | 64.7k | return is_int_or_bool(t) || is_float_or_double(t) || is_ip(t) || is_date_type(t); | 781 | 64.7k | }; | 782 | | | 783 | 64.7k | if (can_compare(left_type->get_primitive_type()) && | 784 | 64.7k | can_compare(right_type->get_primitive_type())) { | 785 | | // check left type equals right type TODO: remove this after FE is aware of scales difference | 786 | 36.9k | if (!left_type->equals_ignore_precision(*right_type)) { | 787 | 0 | return Status::RuntimeError("not same type in function {} , left : {} , right : {}", | 788 | 0 | get_name(), left_type->get_name(), | 789 | 0 | right_type->get_name()); | 790 | 0 | } | 791 | 36.9k | } | 792 | | | 793 | 64.7k | auto compare_type = left_type->get_primitive_type(); | 794 | 64.7k | switch (compare_type) { | 795 | 1.63k | case TYPE_BOOLEAN: | 796 | 1.63k | return execute_num_type<TYPE_BOOLEAN>(block, result, col_left_ptr, col_right_ptr); | 797 | 1.51k | case TYPE_DATEV2: | 798 | 1.51k | return execute_num_type<TYPE_DATEV2>(block, result, col_left_ptr, col_right_ptr); | 799 | 745 | case TYPE_DATETIMEV2: | 800 | 745 | return execute_num_type<TYPE_DATETIMEV2>(block, result, col_left_ptr, col_right_ptr); | 801 | 2 | case TYPE_TIMESTAMPTZ: | 802 | 2 | return execute_num_type<TYPE_TIMESTAMPTZ>(block, result, col_left_ptr, col_right_ptr); | 803 | 5.55k | case TYPE_TINYINT: | 804 | 5.55k | return execute_num_type<TYPE_TINYINT>(block, result, col_left_ptr, col_right_ptr); | 805 | 811 | case TYPE_SMALLINT: | 806 | 811 | return execute_num_type<TYPE_SMALLINT>(block, result, col_left_ptr, col_right_ptr); | 807 | 7.95k | case TYPE_INT: | 808 | 7.95k | return execute_num_type<TYPE_INT>(block, result, col_left_ptr, col_right_ptr); | 809 | 17.5k | case TYPE_BIGINT: | 810 | 17.5k | return execute_num_type<TYPE_BIGINT>(block, result, col_left_ptr, col_right_ptr); | 811 | 155 | case TYPE_LARGEINT: | 812 | 155 | return execute_num_type<TYPE_LARGEINT>(block, result, col_left_ptr, col_right_ptr); | 813 | 31 | case TYPE_IPV4: | 814 | 31 | return execute_num_type<TYPE_IPV4>(block, result, col_left_ptr, col_right_ptr); | 815 | 30 | case TYPE_IPV6: | 816 | 30 | return execute_num_type<TYPE_IPV6>(block, result, col_left_ptr, col_right_ptr); | 817 | 113 | case TYPE_FLOAT: | 818 | 113 | return execute_num_type<TYPE_FLOAT>(block, result, col_left_ptr, col_right_ptr); | 819 | 772 | case TYPE_DOUBLE: | 820 | 772 | return execute_num_type<TYPE_DOUBLE>(block, result, col_left_ptr, col_right_ptr); | 821 | 4 | case TYPE_TIMEV2: | 822 | 4 | return execute_num_type<TYPE_TIMEV2>(block, result, col_left_ptr, col_right_ptr); | 823 | 0 | case TYPE_DECIMALV2: | 824 | 290 | case TYPE_DECIMAL32: | 825 | 592 | case TYPE_DECIMAL64: | 826 | 1.77k | case TYPE_DECIMAL128I: | 827 | 1.80k | case TYPE_DECIMAL256: | 828 | 1.80k | return execute_decimal(block, result, col_with_type_and_name_left, | 829 | 1.80k | col_with_type_and_name_right); | 830 | 1.19k | case TYPE_CHAR: | 831 | 9.32k | case TYPE_VARCHAR: | 832 | 26.0k | case TYPE_STRING: | 833 | 26.0k | return execute_string(block, result, col_left_untyped, col_right_untyped); | 834 | 17 | default: | 835 | 17 | return execute_generic(block, result, col_with_type_and_name_left, | 836 | 17 | col_with_type_and_name_right); | 837 | 64.7k | } | 838 | 0 | return Status::OK(); | 839 | 64.7k | } |
_ZNK5doris18FunctionComparisonINS_11NotEqualsOpENS_13NameNotEqualsEE12execute_implEPNS_15FunctionContextERNS_5BlockERKSt6vectorIjSaIjEEjm Line | Count | Source | 741 | 9.35k | uint32_t result, size_t input_rows_count) const override { | 742 | 9.35k | const auto& col_with_type_and_name_left = block.get_by_position(arguments[0]); | 743 | 9.35k | const auto& col_with_type_and_name_right = block.get_by_position(arguments[1]); | 744 | | | 745 | 9.35k | const auto& col_left_ptr = col_with_type_and_name_left.column; | 746 | 9.35k | const auto& col_right_ptr = col_with_type_and_name_right.column; | 747 | 9.35k | const IColumn* col_left_untyped = col_with_type_and_name_left.column.get(); | 748 | 9.35k | const IColumn* col_right_untyped = col_with_type_and_name_right.column.get(); | 749 | | | 750 | 9.35k | const DataTypePtr& left_type = col_with_type_and_name_left.type; | 751 | 9.35k | const DataTypePtr& right_type = col_with_type_and_name_right.type; | 752 | | | 753 | | /// The case when arguments are the same (tautological comparison). Return constant. | 754 | | /// NOTE: Nullable types are special case. (BTW, this function use default implementation for Nullable, so Nullable types cannot be here. Check just in case.) | 755 | | /// NOTE: We consider NaN comparison to be implementation specific (and in our implementation NaNs are sometimes equal sometimes not). | 756 | 9.35k | if (left_type->equals(*right_type) && !left_type->is_nullable() && | 757 | 9.35k | col_left_untyped == col_right_untyped) { | 758 | | /// Always true: =, <=, >= | 759 | | // TODO: Return const column in the future. But seems so far to do. We need a unified approach for passing const column. | 760 | | if constexpr (std::is_same_v<Op<TYPE_INT>, EqualsOp<TYPE_INT>> || | 761 | | std::is_same_v<Op<TYPE_INT>, LessOrEqualsOp<TYPE_INT>> || | 762 | | std::is_same_v<Op<TYPE_INT>, GreaterOrEqualsOp<TYPE_INT>>) { | 763 | | block.get_by_position(result).column = | 764 | | DataTypeUInt8() | 765 | | .create_column_const(input_rows_count, | 766 | | Field::create_field<TYPE_BOOLEAN>(1)) | 767 | | ->convert_to_full_column_if_const(); | 768 | | return Status::OK(); | 769 | 0 | } else { | 770 | 0 | block.get_by_position(result).column = | 771 | 0 | DataTypeUInt8() | 772 | 0 | .create_column_const(input_rows_count, | 773 | 0 | Field::create_field<TYPE_BOOLEAN>(0)) | 774 | 0 | ->convert_to_full_column_if_const(); | 775 | 0 | return Status::OK(); | 776 | 0 | } | 777 | 0 | } | 778 | | | 779 | 0 | auto can_compare = [](PrimitiveType t) -> bool { | 780 | 9.35k | return is_int_or_bool(t) || is_float_or_double(t) || is_ip(t) || is_date_type(t); | 781 | 9.35k | }; | 782 | | | 783 | 9.35k | if (can_compare(left_type->get_primitive_type()) && | 784 | 9.35k | can_compare(right_type->get_primitive_type())) { | 785 | | // check left type equals right type TODO: remove this after FE is aware of scales difference | 786 | 6.38k | if (!left_type->equals_ignore_precision(*right_type)) { | 787 | 0 | return Status::RuntimeError("not same type in function {} , left : {} , right : {}", | 788 | 0 | get_name(), left_type->get_name(), | 789 | 0 | right_type->get_name()); | 790 | 0 | } | 791 | 6.38k | } | 792 | | | 793 | 9.35k | auto compare_type = left_type->get_primitive_type(); | 794 | 9.35k | switch (compare_type) { | 795 | 0 | case TYPE_BOOLEAN: | 796 | 0 | return execute_num_type<TYPE_BOOLEAN>(block, result, col_left_ptr, col_right_ptr); | 797 | 82 | case TYPE_DATEV2: | 798 | 82 | return execute_num_type<TYPE_DATEV2>(block, result, col_left_ptr, col_right_ptr); | 799 | 4 | case TYPE_DATETIMEV2: | 800 | 4 | return execute_num_type<TYPE_DATETIMEV2>(block, result, col_left_ptr, col_right_ptr); | 801 | 0 | case TYPE_TIMESTAMPTZ: | 802 | 0 | return execute_num_type<TYPE_TIMESTAMPTZ>(block, result, col_left_ptr, col_right_ptr); | 803 | 100 | case TYPE_TINYINT: | 804 | 100 | return execute_num_type<TYPE_TINYINT>(block, result, col_left_ptr, col_right_ptr); | 805 | 10 | case TYPE_SMALLINT: | 806 | 10 | return execute_num_type<TYPE_SMALLINT>(block, result, col_left_ptr, col_right_ptr); | 807 | 3.01k | case TYPE_INT: | 808 | 3.01k | return execute_num_type<TYPE_INT>(block, result, col_left_ptr, col_right_ptr); | 809 | 3.06k | case TYPE_BIGINT: | 810 | 3.06k | return execute_num_type<TYPE_BIGINT>(block, result, col_left_ptr, col_right_ptr); | 811 | 0 | case TYPE_LARGEINT: | 812 | 0 | return execute_num_type<TYPE_LARGEINT>(block, result, col_left_ptr, col_right_ptr); | 813 | 0 | case TYPE_IPV4: | 814 | 0 | return execute_num_type<TYPE_IPV4>(block, result, col_left_ptr, col_right_ptr); | 815 | 0 | case TYPE_IPV6: | 816 | 0 | return execute_num_type<TYPE_IPV6>(block, result, col_left_ptr, col_right_ptr); | 817 | 48 | case TYPE_FLOAT: | 818 | 48 | return execute_num_type<TYPE_FLOAT>(block, result, col_left_ptr, col_right_ptr); | 819 | 60 | case TYPE_DOUBLE: | 820 | 60 | return execute_num_type<TYPE_DOUBLE>(block, result, col_left_ptr, col_right_ptr); | 821 | 0 | case TYPE_TIMEV2: | 822 | 0 | return execute_num_type<TYPE_TIMEV2>(block, result, col_left_ptr, col_right_ptr); | 823 | 0 | case TYPE_DECIMALV2: | 824 | 0 | case TYPE_DECIMAL32: | 825 | 68 | case TYPE_DECIMAL64: | 826 | 392 | case TYPE_DECIMAL128I: | 827 | 422 | case TYPE_DECIMAL256: | 828 | 422 | return execute_decimal(block, result, col_with_type_and_name_left, | 829 | 422 | col_with_type_and_name_right); | 830 | 9 | case TYPE_CHAR: | 831 | 308 | case TYPE_VARCHAR: | 832 | 2.54k | case TYPE_STRING: | 833 | 2.54k | return execute_string(block, result, col_left_untyped, col_right_untyped); | 834 | 8 | default: | 835 | 8 | return execute_generic(block, result, col_with_type_and_name_left, | 836 | 8 | col_with_type_and_name_right); | 837 | 9.35k | } | 838 | 0 | return Status::OK(); | 839 | 9.35k | } |
_ZNK5doris18FunctionComparisonINS_9GreaterOpENS_11NameGreaterEE12execute_implEPNS_15FunctionContextERNS_5BlockERKSt6vectorIjSaIjEEjm Line | Count | Source | 741 | 100k | uint32_t result, size_t input_rows_count) const override { | 742 | 100k | const auto& col_with_type_and_name_left = block.get_by_position(arguments[0]); | 743 | 100k | const auto& col_with_type_and_name_right = block.get_by_position(arguments[1]); | 744 | | | 745 | 100k | const auto& col_left_ptr = col_with_type_and_name_left.column; | 746 | 100k | const auto& col_right_ptr = col_with_type_and_name_right.column; | 747 | 100k | const IColumn* col_left_untyped = col_with_type_and_name_left.column.get(); | 748 | 100k | const IColumn* col_right_untyped = col_with_type_and_name_right.column.get(); | 749 | | | 750 | 100k | const DataTypePtr& left_type = col_with_type_and_name_left.type; | 751 | 100k | const DataTypePtr& right_type = col_with_type_and_name_right.type; | 752 | | | 753 | | /// The case when arguments are the same (tautological comparison). Return constant. | 754 | | /// NOTE: Nullable types are special case. (BTW, this function use default implementation for Nullable, so Nullable types cannot be here. Check just in case.) | 755 | | /// NOTE: We consider NaN comparison to be implementation specific (and in our implementation NaNs are sometimes equal sometimes not). | 756 | 100k | if (left_type->equals(*right_type) && !left_type->is_nullable() && | 757 | 100k | col_left_untyped == col_right_untyped) { | 758 | | /// Always true: =, <=, >= | 759 | | // TODO: Return const column in the future. But seems so far to do. We need a unified approach for passing const column. | 760 | | if constexpr (std::is_same_v<Op<TYPE_INT>, EqualsOp<TYPE_INT>> || | 761 | | std::is_same_v<Op<TYPE_INT>, LessOrEqualsOp<TYPE_INT>> || | 762 | | std::is_same_v<Op<TYPE_INT>, GreaterOrEqualsOp<TYPE_INT>>) { | 763 | | block.get_by_position(result).column = | 764 | | DataTypeUInt8() | 765 | | .create_column_const(input_rows_count, | 766 | | Field::create_field<TYPE_BOOLEAN>(1)) | 767 | | ->convert_to_full_column_if_const(); | 768 | | return Status::OK(); | 769 | 0 | } else { | 770 | 0 | block.get_by_position(result).column = | 771 | 0 | DataTypeUInt8() | 772 | 0 | .create_column_const(input_rows_count, | 773 | 0 | Field::create_field<TYPE_BOOLEAN>(0)) | 774 | 0 | ->convert_to_full_column_if_const(); | 775 | 0 | return Status::OK(); | 776 | 0 | } | 777 | 0 | } | 778 | | | 779 | 0 | auto can_compare = [](PrimitiveType t) -> bool { | 780 | 100k | return is_int_or_bool(t) || is_float_or_double(t) || is_ip(t) || is_date_type(t); | 781 | 100k | }; | 782 | | | 783 | 100k | if (can_compare(left_type->get_primitive_type()) && | 784 | 100k | can_compare(right_type->get_primitive_type())) { | 785 | | // check left type equals right type TODO: remove this after FE is aware of scales difference | 786 | 93.4k | if (!left_type->equals_ignore_precision(*right_type)) { | 787 | 0 | return Status::RuntimeError("not same type in function {} , left : {} , right : {}", | 788 | 0 | get_name(), left_type->get_name(), | 789 | 0 | right_type->get_name()); | 790 | 0 | } | 791 | 93.4k | } | 792 | | | 793 | 100k | auto compare_type = left_type->get_primitive_type(); | 794 | 100k | switch (compare_type) { | 795 | 0 | case TYPE_BOOLEAN: | 796 | 0 | return execute_num_type<TYPE_BOOLEAN>(block, result, col_left_ptr, col_right_ptr); | 797 | 1.17k | case TYPE_DATEV2: | 798 | 1.17k | return execute_num_type<TYPE_DATEV2>(block, result, col_left_ptr, col_right_ptr); | 799 | 130 | case TYPE_DATETIMEV2: | 800 | 130 | return execute_num_type<TYPE_DATETIMEV2>(block, result, col_left_ptr, col_right_ptr); | 801 | 1 | case TYPE_TIMESTAMPTZ: | 802 | 1 | return execute_num_type<TYPE_TIMESTAMPTZ>(block, result, col_left_ptr, col_right_ptr); | 803 | 1.30k | case TYPE_TINYINT: | 804 | 1.30k | return execute_num_type<TYPE_TINYINT>(block, result, col_left_ptr, col_right_ptr); | 805 | 1.80k | case TYPE_SMALLINT: | 806 | 1.80k | return execute_num_type<TYPE_SMALLINT>(block, result, col_left_ptr, col_right_ptr); | 807 | 72.4k | case TYPE_INT: | 808 | 72.4k | return execute_num_type<TYPE_INT>(block, result, col_left_ptr, col_right_ptr); | 809 | 13.9k | case TYPE_BIGINT: | 810 | 13.9k | return execute_num_type<TYPE_BIGINT>(block, result, col_left_ptr, col_right_ptr); | 811 | 246 | case TYPE_LARGEINT: | 812 | 246 | return execute_num_type<TYPE_LARGEINT>(block, result, col_left_ptr, col_right_ptr); | 813 | 4 | case TYPE_IPV4: | 814 | 4 | return execute_num_type<TYPE_IPV4>(block, result, col_left_ptr, col_right_ptr); | 815 | 1 | case TYPE_IPV6: | 816 | 1 | return execute_num_type<TYPE_IPV6>(block, result, col_left_ptr, col_right_ptr); | 817 | 236 | case TYPE_FLOAT: | 818 | 236 | return execute_num_type<TYPE_FLOAT>(block, result, col_left_ptr, col_right_ptr); | 819 | 2.23k | case TYPE_DOUBLE: | 820 | 2.23k | return execute_num_type<TYPE_DOUBLE>(block, result, col_left_ptr, col_right_ptr); | 821 | 0 | case TYPE_TIMEV2: | 822 | 0 | return execute_num_type<TYPE_TIMEV2>(block, result, col_left_ptr, col_right_ptr); | 823 | 0 | case TYPE_DECIMALV2: | 824 | 46 | case TYPE_DECIMAL32: | 825 | 5.10k | case TYPE_DECIMAL64: | 826 | 6.49k | case TYPE_DECIMAL128I: | 827 | 6.50k | case TYPE_DECIMAL256: | 828 | 6.50k | return execute_decimal(block, result, col_with_type_and_name_left, | 829 | 6.50k | col_with_type_and_name_right); | 830 | 14 | case TYPE_CHAR: | 831 | 76 | case TYPE_VARCHAR: | 832 | 186 | case TYPE_STRING: | 833 | 186 | return execute_string(block, result, col_left_untyped, col_right_untyped); | 834 | 9 | default: | 835 | 9 | return execute_generic(block, result, col_with_type_and_name_left, | 836 | 9 | col_with_type_and_name_right); | 837 | 100k | } | 838 | 0 | return Status::OK(); | 839 | 100k | } |
_ZNK5doris18FunctionComparisonINS_17GreaterOrEqualsOpENS_19NameGreaterOrEqualsEE12execute_implEPNS_15FunctionContextERNS_5BlockERKSt6vectorIjSaIjEEjm Line | Count | Source | 741 | 15.4k | uint32_t result, size_t input_rows_count) const override { | 742 | 15.4k | const auto& col_with_type_and_name_left = block.get_by_position(arguments[0]); | 743 | 15.4k | const auto& col_with_type_and_name_right = block.get_by_position(arguments[1]); | 744 | | | 745 | 15.4k | const auto& col_left_ptr = col_with_type_and_name_left.column; | 746 | 15.4k | const auto& col_right_ptr = col_with_type_and_name_right.column; | 747 | 15.4k | const IColumn* col_left_untyped = col_with_type_and_name_left.column.get(); | 748 | 15.4k | const IColumn* col_right_untyped = col_with_type_and_name_right.column.get(); | 749 | | | 750 | 15.4k | const DataTypePtr& left_type = col_with_type_and_name_left.type; | 751 | 15.4k | const DataTypePtr& right_type = col_with_type_and_name_right.type; | 752 | | | 753 | | /// The case when arguments are the same (tautological comparison). Return constant. | 754 | | /// NOTE: Nullable types are special case. (BTW, this function use default implementation for Nullable, so Nullable types cannot be here. Check just in case.) | 755 | | /// NOTE: We consider NaN comparison to be implementation specific (and in our implementation NaNs are sometimes equal sometimes not). | 756 | 15.4k | if (left_type->equals(*right_type) && !left_type->is_nullable() && | 757 | 15.4k | col_left_untyped == col_right_untyped) { | 758 | | /// Always true: =, <=, >= | 759 | | // TODO: Return const column in the future. But seems so far to do. We need a unified approach for passing const column. | 760 | | if constexpr (std::is_same_v<Op<TYPE_INT>, EqualsOp<TYPE_INT>> || | 761 | | std::is_same_v<Op<TYPE_INT>, LessOrEqualsOp<TYPE_INT>> || | 762 | 0 | std::is_same_v<Op<TYPE_INT>, GreaterOrEqualsOp<TYPE_INT>>) { | 763 | 0 | block.get_by_position(result).column = | 764 | 0 | DataTypeUInt8() | 765 | 0 | .create_column_const(input_rows_count, | 766 | 0 | Field::create_field<TYPE_BOOLEAN>(1)) | 767 | 0 | ->convert_to_full_column_if_const(); | 768 | 0 | return Status::OK(); | 769 | | } else { | 770 | | block.get_by_position(result).column = | 771 | | DataTypeUInt8() | 772 | | .create_column_const(input_rows_count, | 773 | | Field::create_field<TYPE_BOOLEAN>(0)) | 774 | | ->convert_to_full_column_if_const(); | 775 | | return Status::OK(); | 776 | | } | 777 | 0 | } | 778 | | | 779 | 0 | auto can_compare = [](PrimitiveType t) -> bool { | 780 | 15.4k | return is_int_or_bool(t) || is_float_or_double(t) || is_ip(t) || is_date_type(t); | 781 | 15.4k | }; | 782 | | | 783 | 15.4k | if (can_compare(left_type->get_primitive_type()) && | 784 | 15.4k | can_compare(right_type->get_primitive_type())) { | 785 | | // check left type equals right type TODO: remove this after FE is aware of scales difference | 786 | 14.2k | if (!left_type->equals_ignore_precision(*right_type)) { | 787 | 0 | return Status::RuntimeError("not same type in function {} , left : {} , right : {}", | 788 | 0 | get_name(), left_type->get_name(), | 789 | 0 | right_type->get_name()); | 790 | 0 | } | 791 | 14.2k | } | 792 | | | 793 | 15.4k | auto compare_type = left_type->get_primitive_type(); | 794 | 15.4k | switch (compare_type) { | 795 | 148 | case TYPE_BOOLEAN: | 796 | 148 | return execute_num_type<TYPE_BOOLEAN>(block, result, col_left_ptr, col_right_ptr); | 797 | 2.24k | case TYPE_DATEV2: | 798 | 2.24k | return execute_num_type<TYPE_DATEV2>(block, result, col_left_ptr, col_right_ptr); | 799 | 1.04k | case TYPE_DATETIMEV2: | 800 | 1.04k | return execute_num_type<TYPE_DATETIMEV2>(block, result, col_left_ptr, col_right_ptr); | 801 | 1 | case TYPE_TIMESTAMPTZ: | 802 | 1 | return execute_num_type<TYPE_TIMESTAMPTZ>(block, result, col_left_ptr, col_right_ptr); | 803 | 81 | case TYPE_TINYINT: | 804 | 81 | return execute_num_type<TYPE_TINYINT>(block, result, col_left_ptr, col_right_ptr); | 805 | 95 | case TYPE_SMALLINT: | 806 | 95 | return execute_num_type<TYPE_SMALLINT>(block, result, col_left_ptr, col_right_ptr); | 807 | 9.59k | case TYPE_INT: | 808 | 9.59k | return execute_num_type<TYPE_INT>(block, result, col_left_ptr, col_right_ptr); | 809 | 559 | case TYPE_BIGINT: | 810 | 559 | return execute_num_type<TYPE_BIGINT>(block, result, col_left_ptr, col_right_ptr); | 811 | 55 | case TYPE_LARGEINT: | 812 | 55 | return execute_num_type<TYPE_LARGEINT>(block, result, col_left_ptr, col_right_ptr); | 813 | 11 | case TYPE_IPV4: | 814 | 11 | return execute_num_type<TYPE_IPV4>(block, result, col_left_ptr, col_right_ptr); | 815 | 1 | case TYPE_IPV6: | 816 | 1 | return execute_num_type<TYPE_IPV6>(block, result, col_left_ptr, col_right_ptr); | 817 | 202 | case TYPE_FLOAT: | 818 | 202 | return execute_num_type<TYPE_FLOAT>(block, result, col_left_ptr, col_right_ptr); | 819 | 166 | case TYPE_DOUBLE: | 820 | 166 | return execute_num_type<TYPE_DOUBLE>(block, result, col_left_ptr, col_right_ptr); | 821 | 0 | case TYPE_TIMEV2: | 822 | 0 | return execute_num_type<TYPE_TIMEV2>(block, result, col_left_ptr, col_right_ptr); | 823 | 0 | case TYPE_DECIMALV2: | 824 | 9 | case TYPE_DECIMAL32: | 825 | 325 | case TYPE_DECIMAL64: | 826 | 424 | case TYPE_DECIMAL128I: | 827 | 445 | case TYPE_DECIMAL256: | 828 | 445 | return execute_decimal(block, result, col_with_type_and_name_left, | 829 | 445 | col_with_type_and_name_right); | 830 | 38 | case TYPE_CHAR: | 831 | 317 | case TYPE_VARCHAR: | 832 | 714 | case TYPE_STRING: | 833 | 714 | return execute_string(block, result, col_left_untyped, col_right_untyped); | 834 | 67 | default: | 835 | 67 | return execute_generic(block, result, col_with_type_and_name_left, | 836 | 67 | col_with_type_and_name_right); | 837 | 15.4k | } | 838 | 0 | return Status::OK(); | 839 | 15.4k | } |
_ZNK5doris18FunctionComparisonINS_6LessOpENS_8NameLessEE12execute_implEPNS_15FunctionContextERNS_5BlockERKSt6vectorIjSaIjEEjm Line | Count | Source | 741 | 13.2k | uint32_t result, size_t input_rows_count) const override { | 742 | 13.2k | const auto& col_with_type_and_name_left = block.get_by_position(arguments[0]); | 743 | 13.2k | const auto& col_with_type_and_name_right = block.get_by_position(arguments[1]); | 744 | | | 745 | 13.2k | const auto& col_left_ptr = col_with_type_and_name_left.column; | 746 | 13.2k | const auto& col_right_ptr = col_with_type_and_name_right.column; | 747 | 13.2k | const IColumn* col_left_untyped = col_with_type_and_name_left.column.get(); | 748 | 13.2k | const IColumn* col_right_untyped = col_with_type_and_name_right.column.get(); | 749 | | | 750 | 13.2k | const DataTypePtr& left_type = col_with_type_and_name_left.type; | 751 | 13.2k | const DataTypePtr& right_type = col_with_type_and_name_right.type; | 752 | | | 753 | | /// The case when arguments are the same (tautological comparison). Return constant. | 754 | | /// NOTE: Nullable types are special case. (BTW, this function use default implementation for Nullable, so Nullable types cannot be here. Check just in case.) | 755 | | /// NOTE: We consider NaN comparison to be implementation specific (and in our implementation NaNs are sometimes equal sometimes not). | 756 | 13.2k | if (left_type->equals(*right_type) && !left_type->is_nullable() && | 757 | 13.2k | col_left_untyped == col_right_untyped) { | 758 | | /// Always true: =, <=, >= | 759 | | // TODO: Return const column in the future. But seems so far to do. We need a unified approach for passing const column. | 760 | | if constexpr (std::is_same_v<Op<TYPE_INT>, EqualsOp<TYPE_INT>> || | 761 | | std::is_same_v<Op<TYPE_INT>, LessOrEqualsOp<TYPE_INT>> || | 762 | | std::is_same_v<Op<TYPE_INT>, GreaterOrEqualsOp<TYPE_INT>>) { | 763 | | block.get_by_position(result).column = | 764 | | DataTypeUInt8() | 765 | | .create_column_const(input_rows_count, | 766 | | Field::create_field<TYPE_BOOLEAN>(1)) | 767 | | ->convert_to_full_column_if_const(); | 768 | | return Status::OK(); | 769 | 0 | } else { | 770 | 0 | block.get_by_position(result).column = | 771 | 0 | DataTypeUInt8() | 772 | 0 | .create_column_const(input_rows_count, | 773 | 0 | Field::create_field<TYPE_BOOLEAN>(0)) | 774 | 0 | ->convert_to_full_column_if_const(); | 775 | 0 | return Status::OK(); | 776 | 0 | } | 777 | 0 | } | 778 | | | 779 | 0 | auto can_compare = [](PrimitiveType t) -> bool { | 780 | 13.2k | return is_int_or_bool(t) || is_float_or_double(t) || is_ip(t) || is_date_type(t); | 781 | 13.2k | }; | 782 | | | 783 | 13.2k | if (can_compare(left_type->get_primitive_type()) && | 784 | 13.2k | can_compare(right_type->get_primitive_type())) { | 785 | | // check left type equals right type TODO: remove this after FE is aware of scales difference | 786 | 11.6k | if (!left_type->equals_ignore_precision(*right_type)) { | 787 | 0 | return Status::RuntimeError("not same type in function {} , left : {} , right : {}", | 788 | 0 | get_name(), left_type->get_name(), | 789 | 0 | right_type->get_name()); | 790 | 0 | } | 791 | 11.6k | } | 792 | | | 793 | 13.2k | auto compare_type = left_type->get_primitive_type(); | 794 | 13.2k | switch (compare_type) { | 795 | 100 | case TYPE_BOOLEAN: | 796 | 100 | return execute_num_type<TYPE_BOOLEAN>(block, result, col_left_ptr, col_right_ptr); | 797 | 2.36k | case TYPE_DATEV2: | 798 | 2.36k | return execute_num_type<TYPE_DATEV2>(block, result, col_left_ptr, col_right_ptr); | 799 | 801 | case TYPE_DATETIMEV2: | 800 | 801 | return execute_num_type<TYPE_DATETIMEV2>(block, result, col_left_ptr, col_right_ptr); | 801 | 2 | case TYPE_TIMESTAMPTZ: | 802 | 2 | return execute_num_type<TYPE_TIMESTAMPTZ>(block, result, col_left_ptr, col_right_ptr); | 803 | 2.19k | case TYPE_TINYINT: | 804 | 2.19k | return execute_num_type<TYPE_TINYINT>(block, result, col_left_ptr, col_right_ptr); | 805 | 288 | case TYPE_SMALLINT: | 806 | 288 | return execute_num_type<TYPE_SMALLINT>(block, result, col_left_ptr, col_right_ptr); | 807 | 3.26k | case TYPE_INT: | 808 | 3.26k | return execute_num_type<TYPE_INT>(block, result, col_left_ptr, col_right_ptr); | 809 | 1.70k | case TYPE_BIGINT: | 810 | 1.70k | return execute_num_type<TYPE_BIGINT>(block, result, col_left_ptr, col_right_ptr); | 811 | 284 | case TYPE_LARGEINT: | 812 | 284 | return execute_num_type<TYPE_LARGEINT>(block, result, col_left_ptr, col_right_ptr); | 813 | 18 | case TYPE_IPV4: | 814 | 18 | return execute_num_type<TYPE_IPV4>(block, result, col_left_ptr, col_right_ptr); | 815 | 16 | case TYPE_IPV6: | 816 | 16 | return execute_num_type<TYPE_IPV6>(block, result, col_left_ptr, col_right_ptr); | 817 | 175 | case TYPE_FLOAT: | 818 | 175 | return execute_num_type<TYPE_FLOAT>(block, result, col_left_ptr, col_right_ptr); | 819 | 396 | case TYPE_DOUBLE: | 820 | 396 | return execute_num_type<TYPE_DOUBLE>(block, result, col_left_ptr, col_right_ptr); | 821 | 0 | case TYPE_TIMEV2: | 822 | 0 | return execute_num_type<TYPE_TIMEV2>(block, result, col_left_ptr, col_right_ptr); | 823 | 0 | case TYPE_DECIMALV2: | 824 | 215 | case TYPE_DECIMAL32: | 825 | 462 | case TYPE_DECIMAL64: | 826 | 930 | case TYPE_DECIMAL128I: | 827 | 931 | case TYPE_DECIMAL256: | 828 | 931 | return execute_decimal(block, result, col_with_type_and_name_left, | 829 | 931 | col_with_type_and_name_right); | 830 | 172 | case TYPE_CHAR: | 831 | 340 | case TYPE_VARCHAR: | 832 | 677 | case TYPE_STRING: | 833 | 677 | return execute_string(block, result, col_left_untyped, col_right_untyped); | 834 | 11 | default: | 835 | 11 | return execute_generic(block, result, col_with_type_and_name_left, | 836 | 11 | col_with_type_and_name_right); | 837 | 13.2k | } | 838 | 0 | return Status::OK(); | 839 | 13.2k | } |
_ZNK5doris18FunctionComparisonINS_14LessOrEqualsOpENS_16NameLessOrEqualsEE12execute_implEPNS_15FunctionContextERNS_5BlockERKSt6vectorIjSaIjEEjm Line | Count | Source | 741 | 31.2k | uint32_t result, size_t input_rows_count) const override { | 742 | 31.2k | const auto& col_with_type_and_name_left = block.get_by_position(arguments[0]); | 743 | 31.2k | const auto& col_with_type_and_name_right = block.get_by_position(arguments[1]); | 744 | | | 745 | 31.2k | const auto& col_left_ptr = col_with_type_and_name_left.column; | 746 | 31.2k | const auto& col_right_ptr = col_with_type_and_name_right.column; | 747 | 31.2k | const IColumn* col_left_untyped = col_with_type_and_name_left.column.get(); | 748 | 31.2k | const IColumn* col_right_untyped = col_with_type_and_name_right.column.get(); | 749 | | | 750 | 31.2k | const DataTypePtr& left_type = col_with_type_and_name_left.type; | 751 | 31.2k | const DataTypePtr& right_type = col_with_type_and_name_right.type; | 752 | | | 753 | | /// The case when arguments are the same (tautological comparison). Return constant. | 754 | | /// NOTE: Nullable types are special case. (BTW, this function use default implementation for Nullable, so Nullable types cannot be here. Check just in case.) | 755 | | /// NOTE: We consider NaN comparison to be implementation specific (and in our implementation NaNs are sometimes equal sometimes not). | 756 | 31.2k | if (left_type->equals(*right_type) && !left_type->is_nullable() && | 757 | 31.2k | col_left_untyped == col_right_untyped) { | 758 | | /// Always true: =, <=, >= | 759 | | // TODO: Return const column in the future. But seems so far to do. We need a unified approach for passing const column. | 760 | | if constexpr (std::is_same_v<Op<TYPE_INT>, EqualsOp<TYPE_INT>> || | 761 | | std::is_same_v<Op<TYPE_INT>, LessOrEqualsOp<TYPE_INT>> || | 762 | 0 | std::is_same_v<Op<TYPE_INT>, GreaterOrEqualsOp<TYPE_INT>>) { | 763 | 0 | block.get_by_position(result).column = | 764 | 0 | DataTypeUInt8() | 765 | 0 | .create_column_const(input_rows_count, | 766 | 0 | Field::create_field<TYPE_BOOLEAN>(1)) | 767 | 0 | ->convert_to_full_column_if_const(); | 768 | 0 | return Status::OK(); | 769 | | } else { | 770 | | block.get_by_position(result).column = | 771 | | DataTypeUInt8() | 772 | | .create_column_const(input_rows_count, | 773 | | Field::create_field<TYPE_BOOLEAN>(0)) | 774 | | ->convert_to_full_column_if_const(); | 775 | | return Status::OK(); | 776 | | } | 777 | 0 | } | 778 | | | 779 | 0 | auto can_compare = [](PrimitiveType t) -> bool { | 780 | 31.2k | return is_int_or_bool(t) || is_float_or_double(t) || is_ip(t) || is_date_type(t); | 781 | 31.2k | }; | 782 | | | 783 | 31.2k | if (can_compare(left_type->get_primitive_type()) && | 784 | 31.2k | can_compare(right_type->get_primitive_type())) { | 785 | | // check left type equals right type TODO: remove this after FE is aware of scales difference | 786 | 27.2k | if (!left_type->equals_ignore_precision(*right_type)) { | 787 | 0 | return Status::RuntimeError("not same type in function {} , left : {} , right : {}", | 788 | 0 | get_name(), left_type->get_name(), | 789 | 0 | right_type->get_name()); | 790 | 0 | } | 791 | 27.2k | } | 792 | | | 793 | 31.2k | auto compare_type = left_type->get_primitive_type(); | 794 | 31.2k | switch (compare_type) { | 795 | 161 | case TYPE_BOOLEAN: | 796 | 161 | return execute_num_type<TYPE_BOOLEAN>(block, result, col_left_ptr, col_right_ptr); | 797 | 6.76k | case TYPE_DATEV2: | 798 | 6.76k | return execute_num_type<TYPE_DATEV2>(block, result, col_left_ptr, col_right_ptr); | 799 | 453 | case TYPE_DATETIMEV2: | 800 | 453 | return execute_num_type<TYPE_DATETIMEV2>(block, result, col_left_ptr, col_right_ptr); | 801 | 1 | case TYPE_TIMESTAMPTZ: | 802 | 1 | return execute_num_type<TYPE_TIMESTAMPTZ>(block, result, col_left_ptr, col_right_ptr); | 803 | 91 | case TYPE_TINYINT: | 804 | 91 | return execute_num_type<TYPE_TINYINT>(block, result, col_left_ptr, col_right_ptr); | 805 | 127 | case TYPE_SMALLINT: | 806 | 127 | return execute_num_type<TYPE_SMALLINT>(block, result, col_left_ptr, col_right_ptr); | 807 | 18.2k | case TYPE_INT: | 808 | 18.2k | return execute_num_type<TYPE_INT>(block, result, col_left_ptr, col_right_ptr); | 809 | 910 | case TYPE_BIGINT: | 810 | 910 | return execute_num_type<TYPE_BIGINT>(block, result, col_left_ptr, col_right_ptr); | 811 | 69 | case TYPE_LARGEINT: | 812 | 69 | return execute_num_type<TYPE_LARGEINT>(block, result, col_left_ptr, col_right_ptr); | 813 | 10 | case TYPE_IPV4: | 814 | 10 | return execute_num_type<TYPE_IPV4>(block, result, col_left_ptr, col_right_ptr); | 815 | 0 | case TYPE_IPV6: | 816 | 0 | return execute_num_type<TYPE_IPV6>(block, result, col_left_ptr, col_right_ptr); | 817 | 198 | case TYPE_FLOAT: | 818 | 198 | return execute_num_type<TYPE_FLOAT>(block, result, col_left_ptr, col_right_ptr); | 819 | 156 | case TYPE_DOUBLE: | 820 | 156 | return execute_num_type<TYPE_DOUBLE>(block, result, col_left_ptr, col_right_ptr); | 821 | 0 | case TYPE_TIMEV2: | 822 | 0 | return execute_num_type<TYPE_TIMEV2>(block, result, col_left_ptr, col_right_ptr); | 823 | 0 | case TYPE_DECIMALV2: | 824 | 5 | case TYPE_DECIMAL32: | 825 | 2.22k | case TYPE_DECIMAL64: | 826 | 3.10k | case TYPE_DECIMAL128I: | 827 | 3.11k | case TYPE_DECIMAL256: | 828 | 3.11k | return execute_decimal(block, result, col_with_type_and_name_left, | 829 | 3.11k | col_with_type_and_name_right); | 830 | 99 | case TYPE_CHAR: | 831 | 453 | case TYPE_VARCHAR: | 832 | 893 | case TYPE_STRING: | 833 | 893 | return execute_string(block, result, col_left_untyped, col_right_untyped); | 834 | 69 | default: | 835 | 69 | return execute_generic(block, result, col_with_type_and_name_left, | 836 | 69 | col_with_type_and_name_right); | 837 | 31.2k | } | 838 | 0 | return Status::OK(); | 839 | 31.2k | } |
|
840 | | }; |
841 | | |
842 | | } // namespace doris |