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.3k | PaddedPODArray<UInt8>& c) { |
72 | 11.3k | size_t size = a.size(); |
73 | 11.3k | const A* __restrict a_pos = a.data(); |
74 | 11.3k | const B* __restrict b_pos = b.data(); |
75 | 11.3k | UInt8* __restrict c_pos = c.data(); |
76 | 11.3k | const A* __restrict a_end = a_pos + size; |
77 | | |
78 | 11.3M | while (a_pos < a_end) { |
79 | 11.3M | *c_pos = Op::apply(*a_pos, *b_pos); |
80 | 11.3M | ++a_pos; |
81 | 11.3M | ++b_pos; |
82 | 11.3M | ++c_pos; |
83 | 11.3M | } |
84 | 11.3k | } _ZN5doris17NumComparisonImplIhhNS_8EqualsOpILNS_13PrimitiveTypeE2EEEE13vector_vectorERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RS9_ Line | Count | Source | 71 | 67 | PaddedPODArray<UInt8>& c) { | 72 | 67 | size_t size = a.size(); | 73 | 67 | const A* __restrict a_pos = a.data(); | 74 | 67 | const B* __restrict b_pos = b.data(); | 75 | 67 | UInt8* __restrict c_pos = c.data(); | 76 | 67 | const A* __restrict a_end = a_pos + size; | 77 | | | 78 | 134 | while (a_pos < a_end) { | 79 | 67 | *c_pos = Op::apply(*a_pos, *b_pos); | 80 | 67 | ++a_pos; | 81 | 67 | ++b_pos; | 82 | 67 | ++c_pos; | 83 | 67 | } | 84 | 67 | } |
_ZN5doris17NumComparisonImplINS_11DateV2ValueINS_15DateV2ValueTypeEEES3_NS_8EqualsOpILNS_13PrimitiveTypeE25EEEE13vector_vectorERKNS_8PODArrayIS3_Lm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESE_RNS8_IhLm4096ESB_Lm16ELm15EEE Line | Count | Source | 71 | 319 | PaddedPODArray<UInt8>& c) { | 72 | 319 | size_t size = a.size(); | 73 | 319 | const A* __restrict a_pos = a.data(); | 74 | 319 | const B* __restrict b_pos = b.data(); | 75 | 319 | UInt8* __restrict c_pos = c.data(); | 76 | 319 | const A* __restrict a_end = a_pos + size; | 77 | | | 78 | 1.49k | while (a_pos < a_end) { | 79 | 1.17k | *c_pos = Op::apply(*a_pos, *b_pos); | 80 | 1.17k | ++a_pos; | 81 | 1.17k | ++b_pos; | 82 | 1.17k | ++c_pos; | 83 | 1.17k | } | 84 | 319 | } |
_ZN5doris17NumComparisonImplINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEES3_NS_8EqualsOpILNS_13PrimitiveTypeE26EEEE13vector_vectorERKNS_8PODArrayIS3_Lm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESE_RNS8_IhLm4096ESB_Lm16ELm15EEE Line | Count | Source | 71 | 245 | PaddedPODArray<UInt8>& c) { | 72 | 245 | size_t size = a.size(); | 73 | 245 | const A* __restrict a_pos = a.data(); | 74 | 245 | const B* __restrict b_pos = b.data(); | 75 | 245 | UInt8* __restrict c_pos = c.data(); | 76 | 245 | const A* __restrict a_end = a_pos + size; | 77 | | | 78 | 508 | while (a_pos < a_end) { | 79 | 263 | *c_pos = Op::apply(*a_pos, *b_pos); | 80 | 263 | ++a_pos; | 81 | 263 | ++b_pos; | 82 | 263 | ++c_pos; | 83 | 263 | } | 84 | 245 | } |
_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 | 140 | PaddedPODArray<UInt8>& c) { | 72 | 140 | size_t size = a.size(); | 73 | 140 | const A* __restrict a_pos = a.data(); | 74 | 140 | const B* __restrict b_pos = b.data(); | 75 | 140 | UInt8* __restrict c_pos = c.data(); | 76 | 140 | const A* __restrict a_end = a_pos + size; | 77 | | | 78 | 421 | while (a_pos < a_end) { | 79 | 281 | *c_pos = Op::apply(*a_pos, *b_pos); | 80 | 281 | ++a_pos; | 81 | 281 | ++b_pos; | 82 | 281 | ++c_pos; | 83 | 281 | } | 84 | 140 | } |
_ZN5doris17NumComparisonImplIssNS_8EqualsOpILNS_13PrimitiveTypeE4EEEE13vector_vectorERKNS_8PODArrayIsLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 71 | 73 | PaddedPODArray<UInt8>& c) { | 72 | 73 | size_t size = a.size(); | 73 | 73 | const A* __restrict a_pos = a.data(); | 74 | 73 | const B* __restrict b_pos = b.data(); | 75 | 73 | UInt8* __restrict c_pos = c.data(); | 76 | 73 | const A* __restrict a_end = a_pos + size; | 77 | | | 78 | 146 | while (a_pos < a_end) { | 79 | 73 | *c_pos = Op::apply(*a_pos, *b_pos); | 80 | 73 | ++a_pos; | 81 | 73 | ++b_pos; | 82 | 73 | ++c_pos; | 83 | 73 | } | 84 | 73 | } |
_ZN5doris17NumComparisonImplIiiNS_8EqualsOpILNS_13PrimitiveTypeE5EEEE13vector_vectorERKNS_8PODArrayIiLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 71 | 239 | PaddedPODArray<UInt8>& c) { | 72 | 239 | size_t size = a.size(); | 73 | 239 | const A* __restrict a_pos = a.data(); | 74 | 239 | const B* __restrict b_pos = b.data(); | 75 | 239 | UInt8* __restrict c_pos = c.data(); | 76 | 239 | const A* __restrict a_end = a_pos + size; | 77 | | | 78 | 1.59k | while (a_pos < a_end) { | 79 | 1.35k | *c_pos = Op::apply(*a_pos, *b_pos); | 80 | 1.35k | ++a_pos; | 81 | 1.35k | ++b_pos; | 82 | 1.35k | ++c_pos; | 83 | 1.35k | } | 84 | 239 | } |
_ZN5doris17NumComparisonImplIllNS_8EqualsOpILNS_13PrimitiveTypeE6EEEE13vector_vectorERKNS_8PODArrayIlLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 71 | 126 | PaddedPODArray<UInt8>& c) { | 72 | 126 | size_t size = a.size(); | 73 | 126 | const A* __restrict a_pos = a.data(); | 74 | 126 | const B* __restrict b_pos = b.data(); | 75 | 126 | UInt8* __restrict c_pos = c.data(); | 76 | 126 | const A* __restrict a_end = a_pos + size; | 77 | | | 78 | 1.45k | while (a_pos < a_end) { | 79 | 1.33k | *c_pos = Op::apply(*a_pos, *b_pos); | 80 | 1.33k | ++a_pos; | 81 | 1.33k | ++b_pos; | 82 | 1.33k | ++c_pos; | 83 | 1.33k | } | 84 | 126 | } |
_ZN5doris17NumComparisonImplInnNS_8EqualsOpILNS_13PrimitiveTypeE7EEEE13vector_vectorERKNS_8PODArrayInLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 71 | 71 | PaddedPODArray<UInt8>& c) { | 72 | 71 | size_t size = a.size(); | 73 | 71 | const A* __restrict a_pos = a.data(); | 74 | 71 | const B* __restrict b_pos = b.data(); | 75 | 71 | UInt8* __restrict c_pos = c.data(); | 76 | 71 | const A* __restrict a_end = a_pos + size; | 77 | | | 78 | 142 | while (a_pos < a_end) { | 79 | 71 | *c_pos = Op::apply(*a_pos, *b_pos); | 80 | 71 | ++a_pos; | 81 | 71 | ++b_pos; | 82 | 71 | ++c_pos; | 83 | 71 | } | 84 | 71 | } |
_ZN5doris17NumComparisonImplIjjNS_8EqualsOpILNS_13PrimitiveTypeE36EEEE13vector_vectorERKNS_8PODArrayIjLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 71 | 5 | PaddedPODArray<UInt8>& c) { | 72 | 5 | size_t size = a.size(); | 73 | 5 | const A* __restrict a_pos = a.data(); | 74 | 5 | const B* __restrict b_pos = b.data(); | 75 | 5 | UInt8* __restrict c_pos = c.data(); | 76 | 5 | const A* __restrict a_end = a_pos + size; | 77 | | | 78 | 10 | while (a_pos < a_end) { | 79 | 5 | *c_pos = Op::apply(*a_pos, *b_pos); | 80 | 5 | ++a_pos; | 81 | 5 | ++b_pos; | 82 | 5 | ++c_pos; | 83 | 5 | } | 84 | 5 | } |
_ZN5doris17NumComparisonImplIooNS_8EqualsOpILNS_13PrimitiveTypeE37EEEE13vector_vectorERKNS_8PODArrayIoLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 71 | 13 | PaddedPODArray<UInt8>& c) { | 72 | 13 | size_t size = a.size(); | 73 | 13 | const A* __restrict a_pos = a.data(); | 74 | 13 | const B* __restrict b_pos = b.data(); | 75 | 13 | UInt8* __restrict c_pos = c.data(); | 76 | 13 | const A* __restrict a_end = a_pos + size; | 77 | | | 78 | 26 | while (a_pos < a_end) { | 79 | 13 | *c_pos = Op::apply(*a_pos, *b_pos); | 80 | 13 | ++a_pos; | 81 | 13 | ++b_pos; | 82 | 13 | ++c_pos; | 83 | 13 | } | 84 | 13 | } |
_ZN5doris17NumComparisonImplIffNS_8EqualsOpILNS_13PrimitiveTypeE8EEEE13vector_vectorERKNS_8PODArrayIfLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 71 | 94 | PaddedPODArray<UInt8>& c) { | 72 | 94 | size_t size = a.size(); | 73 | 94 | const A* __restrict a_pos = a.data(); | 74 | 94 | const B* __restrict b_pos = b.data(); | 75 | 94 | UInt8* __restrict c_pos = c.data(); | 76 | 94 | const A* __restrict a_end = a_pos + size; | 77 | | | 78 | 207 | while (a_pos < a_end) { | 79 | 113 | *c_pos = Op::apply(*a_pos, *b_pos); | 80 | 113 | ++a_pos; | 81 | 113 | ++b_pos; | 82 | 113 | ++c_pos; | 83 | 113 | } | 84 | 94 | } |
_ZN5doris17NumComparisonImplIddNS_8EqualsOpILNS_13PrimitiveTypeE9EEEE13vector_vectorERKNS_8PODArrayIdLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 71 | 92 | PaddedPODArray<UInt8>& c) { | 72 | 92 | size_t size = a.size(); | 73 | 92 | const A* __restrict a_pos = a.data(); | 74 | 92 | const B* __restrict b_pos = b.data(); | 75 | 92 | UInt8* __restrict c_pos = c.data(); | 76 | 92 | const A* __restrict a_end = a_pos + size; | 77 | | | 78 | 205 | while (a_pos < a_end) { | 79 | 113 | *c_pos = Op::apply(*a_pos, *b_pos); | 80 | 113 | ++a_pos; | 81 | 113 | ++b_pos; | 82 | 113 | ++c_pos; | 83 | 113 | } | 84 | 92 | } |
_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 | 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 | 108 | while (a_pos < a_end) { | 79 | 69 | *c_pos = Op::apply(*a_pos, *b_pos); | 80 | 69 | ++a_pos; | 81 | 69 | ++b_pos; | 82 | 69 | ++c_pos; | 83 | 69 | } | 84 | 39 | } |
Unexecuted instantiation: _ZN5doris17NumComparisonImplINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEES3_NS_11NotEqualsOpILNS_13PrimitiveTypeE26EEEE13vector_vectorERKNS_8PODArrayIS3_Lm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESE_RNS8_IhLm4096ESB_Lm16ELm15EEE Unexecuted instantiation: _ZN5doris17NumComparisonImplINS_16TimestampTzValueES1_NS_11NotEqualsOpILNS_13PrimitiveTypeE42EEEE13vector_vectorERKNS_8PODArrayIS1_Lm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESC_RNS6_IhLm4096ES9_Lm16ELm15EEE _ZN5doris17NumComparisonImplIaaNS_11NotEqualsOpILNS_13PrimitiveTypeE3EEEE13vector_vectorERKNS_8PODArrayIaLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 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 | 3.95k | PaddedPODArray<UInt8>& c) { | 72 | 3.95k | size_t size = a.size(); | 73 | 3.95k | const A* __restrict a_pos = a.data(); | 74 | 3.95k | const B* __restrict b_pos = b.data(); | 75 | 3.95k | UInt8* __restrict c_pos = c.data(); | 76 | 3.95k | const A* __restrict a_end = a_pos + size; | 77 | | | 78 | 1.74M | while (a_pos < a_end) { | 79 | 1.74M | *c_pos = Op::apply(*a_pos, *b_pos); | 80 | 1.74M | ++a_pos; | 81 | 1.74M | ++b_pos; | 82 | 1.74M | ++c_pos; | 83 | 1.74M | } | 84 | 3.95k | } |
_ZN5doris17NumComparisonImplIllNS_11NotEqualsOpILNS_13PrimitiveTypeE6EEEE13vector_vectorERKNS_8PODArrayIlLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 71 | 410 | PaddedPODArray<UInt8>& c) { | 72 | 410 | size_t size = a.size(); | 73 | 410 | const A* __restrict a_pos = a.data(); | 74 | 410 | const B* __restrict b_pos = b.data(); | 75 | 410 | UInt8* __restrict c_pos = c.data(); | 76 | 410 | const A* __restrict a_end = a_pos + size; | 77 | | | 78 | 7.61k | while (a_pos < a_end) { | 79 | 7.20k | *c_pos = Op::apply(*a_pos, *b_pos); | 80 | 7.20k | ++a_pos; | 81 | 7.20k | ++b_pos; | 82 | 7.20k | ++c_pos; | 83 | 7.20k | } | 84 | 410 | } |
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.10k | PaddedPODArray<UInt8>& c) { | 72 | 1.10k | size_t size = a.size(); | 73 | 1.10k | const A* __restrict a_pos = a.data(); | 74 | 1.10k | const B* __restrict b_pos = b.data(); | 75 | 1.10k | UInt8* __restrict c_pos = c.data(); | 76 | 1.10k | const A* __restrict a_end = a_pos + size; | 77 | | | 78 | 7.19M | while (a_pos < a_end) { | 79 | 7.19M | *c_pos = Op::apply(*a_pos, *b_pos); | 80 | 7.19M | ++a_pos; | 81 | 7.19M | ++b_pos; | 82 | 7.19M | ++c_pos; | 83 | 7.19M | } | 84 | 1.10k | } |
Unexecuted instantiation: _ZN5doris17NumComparisonImplINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEES3_NS_9GreaterOpILNS_13PrimitiveTypeE26EEEE13vector_vectorERKNS_8PODArrayIS3_Lm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESE_RNS8_IhLm4096ESB_Lm16ELm15EEE _ZN5doris17NumComparisonImplINS_16TimestampTzValueES1_NS_9GreaterOpILNS_13PrimitiveTypeE42EEEE13vector_vectorERKNS_8PODArrayIS1_Lm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESC_RNS6_IhLm4096ES9_Lm16ELm15EEE Line | Count | Source | 71 | 1 | PaddedPODArray<UInt8>& c) { | 72 | 1 | size_t size = a.size(); | 73 | 1 | const A* __restrict a_pos = a.data(); | 74 | 1 | const B* __restrict b_pos = b.data(); | 75 | 1 | UInt8* __restrict c_pos = c.data(); | 76 | 1 | const A* __restrict a_end = a_pos + size; | 77 | | | 78 | 10 | while (a_pos < a_end) { | 79 | 9 | *c_pos = Op::apply(*a_pos, *b_pos); | 80 | 9 | ++a_pos; | 81 | 9 | ++b_pos; | 82 | 9 | ++c_pos; | 83 | 9 | } | 84 | 1 | } |
_ZN5doris17NumComparisonImplIaaNS_9GreaterOpILNS_13PrimitiveTypeE3EEEE13vector_vectorERKNS_8PODArrayIaLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 71 | 42 | PaddedPODArray<UInt8>& c) { | 72 | 42 | size_t size = a.size(); | 73 | 42 | const A* __restrict a_pos = a.data(); | 74 | 42 | const B* __restrict b_pos = b.data(); | 75 | 42 | UInt8* __restrict c_pos = c.data(); | 76 | 42 | const A* __restrict a_end = a_pos + size; | 77 | | | 78 | 326 | while (a_pos < a_end) { | 79 | 284 | *c_pos = Op::apply(*a_pos, *b_pos); | 80 | 284 | ++a_pos; | 81 | 284 | ++b_pos; | 82 | 284 | ++c_pos; | 83 | 284 | } | 84 | 42 | } |
_ZN5doris17NumComparisonImplIssNS_9GreaterOpILNS_13PrimitiveTypeE4EEEE13vector_vectorERKNS_8PODArrayIsLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 71 | 129 | PaddedPODArray<UInt8>& c) { | 72 | 129 | size_t size = a.size(); | 73 | 129 | const A* __restrict a_pos = a.data(); | 74 | 129 | const B* __restrict b_pos = b.data(); | 75 | 129 | UInt8* __restrict c_pos = c.data(); | 76 | 129 | const A* __restrict a_end = a_pos + size; | 77 | | | 78 | 385 | while (a_pos < a_end) { | 79 | 256 | *c_pos = Op::apply(*a_pos, *b_pos); | 80 | 256 | ++a_pos; | 81 | 256 | ++b_pos; | 82 | 256 | ++c_pos; | 83 | 256 | } | 84 | 129 | } |
_ZN5doris17NumComparisonImplIiiNS_9GreaterOpILNS_13PrimitiveTypeE5EEEE13vector_vectorERKNS_8PODArrayIiLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 71 | 49 | PaddedPODArray<UInt8>& c) { | 72 | 49 | size_t size = a.size(); | 73 | 49 | const A* __restrict a_pos = a.data(); | 74 | 49 | const B* __restrict b_pos = b.data(); | 75 | 49 | UInt8* __restrict c_pos = c.data(); | 76 | 49 | const A* __restrict a_end = a_pos + size; | 77 | | | 78 | 271 | while (a_pos < a_end) { | 79 | 222 | *c_pos = Op::apply(*a_pos, *b_pos); | 80 | 222 | ++a_pos; | 81 | 222 | ++b_pos; | 82 | 222 | ++c_pos; | 83 | 222 | } | 84 | 49 | } |
_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 | 577 | while (a_pos < a_end) { | 79 | 513 | *c_pos = Op::apply(*a_pos, *b_pos); | 80 | 513 | ++a_pos; | 81 | 513 | ++b_pos; | 82 | 513 | ++c_pos; | 83 | 513 | } | 84 | 64 | } |
_ZN5doris17NumComparisonImplInnNS_9GreaterOpILNS_13PrimitiveTypeE7EEEE13vector_vectorERKNS_8PODArrayInLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 71 | 3 | PaddedPODArray<UInt8>& c) { | 72 | 3 | size_t size = a.size(); | 73 | 3 | const A* __restrict a_pos = a.data(); | 74 | 3 | const B* __restrict b_pos = b.data(); | 75 | 3 | UInt8* __restrict c_pos = c.data(); | 76 | 3 | const A* __restrict a_end = a_pos + size; | 77 | | | 78 | 9 | while (a_pos < a_end) { | 79 | 6 | *c_pos = Op::apply(*a_pos, *b_pos); | 80 | 6 | ++a_pos; | 81 | 6 | ++b_pos; | 82 | 6 | ++c_pos; | 83 | 6 | } | 84 | 3 | } |
_ZN5doris17NumComparisonImplIjjNS_9GreaterOpILNS_13PrimitiveTypeE36EEEE13vector_vectorERKNS_8PODArrayIjLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 71 | 1 | PaddedPODArray<UInt8>& c) { | 72 | 1 | size_t size = a.size(); | 73 | 1 | const A* __restrict a_pos = a.data(); | 74 | 1 | const B* __restrict b_pos = b.data(); | 75 | 1 | UInt8* __restrict c_pos = c.data(); | 76 | 1 | const A* __restrict a_end = a_pos + size; | 77 | | | 78 | 2 | while (a_pos < a_end) { | 79 | 1 | *c_pos = Op::apply(*a_pos, *b_pos); | 80 | 1 | ++a_pos; | 81 | 1 | ++b_pos; | 82 | 1 | ++c_pos; | 83 | 1 | } | 84 | 1 | } |
_ZN5doris17NumComparisonImplIooNS_9GreaterOpILNS_13PrimitiveTypeE37EEEE13vector_vectorERKNS_8PODArrayIoLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 71 | 1 | PaddedPODArray<UInt8>& c) { | 72 | 1 | size_t size = a.size(); | 73 | 1 | const A* __restrict a_pos = a.data(); | 74 | 1 | const B* __restrict b_pos = b.data(); | 75 | 1 | UInt8* __restrict c_pos = c.data(); | 76 | 1 | const A* __restrict a_end = a_pos + size; | 77 | | | 78 | 2 | while (a_pos < a_end) { | 79 | 1 | *c_pos = Op::apply(*a_pos, *b_pos); | 80 | 1 | ++a_pos; | 81 | 1 | ++b_pos; | 82 | 1 | ++c_pos; | 83 | 1 | } | 84 | 1 | } |
_ZN5doris17NumComparisonImplIffNS_9GreaterOpILNS_13PrimitiveTypeE8EEEE13vector_vectorERKNS_8PODArrayIfLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 71 | 20 | PaddedPODArray<UInt8>& c) { | 72 | 20 | size_t size = a.size(); | 73 | 20 | const A* __restrict a_pos = a.data(); | 74 | 20 | const B* __restrict b_pos = b.data(); | 75 | 20 | UInt8* __restrict c_pos = c.data(); | 76 | 20 | const A* __restrict a_end = a_pos + size; | 77 | | | 78 | 59 | while (a_pos < a_end) { | 79 | 39 | *c_pos = Op::apply(*a_pos, *b_pos); | 80 | 39 | ++a_pos; | 81 | 39 | ++b_pos; | 82 | 39 | ++c_pos; | 83 | 39 | } | 84 | 20 | } |
_ZN5doris17NumComparisonImplIddNS_9GreaterOpILNS_13PrimitiveTypeE9EEEE13vector_vectorERKNS_8PODArrayIdLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 71 | 26 | PaddedPODArray<UInt8>& c) { | 72 | 26 | size_t size = a.size(); | 73 | 26 | const A* __restrict a_pos = a.data(); | 74 | 26 | const B* __restrict b_pos = b.data(); | 75 | 26 | UInt8* __restrict c_pos = c.data(); | 76 | 26 | const A* __restrict a_end = a_pos + size; | 77 | | | 78 | 96 | while (a_pos < a_end) { | 79 | 70 | *c_pos = Op::apply(*a_pos, *b_pos); | 80 | 70 | ++a_pos; | 81 | 70 | ++b_pos; | 82 | 70 | ++c_pos; | 83 | 70 | } | 84 | 26 | } |
Unexecuted instantiation: _ZN5doris17NumComparisonImplIddNS_9GreaterOpILNS_13PrimitiveTypeE27EEEE13vector_vectorERKNS_8PODArrayIdLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Unexecuted instantiation: _ZN5doris17NumComparisonImplIhhNS_17GreaterOrEqualsOpILNS_13PrimitiveTypeE2EEEE13vector_vectorERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RS9_ _ZN5doris17NumComparisonImplINS_11DateV2ValueINS_15DateV2ValueTypeEEES3_NS_17GreaterOrEqualsOpILNS_13PrimitiveTypeE25EEEE13vector_vectorERKNS_8PODArrayIS3_Lm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESE_RNS8_IhLm4096ESB_Lm16ELm15EEE Line | Count | Source | 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 | } |
_ZN5doris17NumComparisonImplINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEES3_NS_17GreaterOrEqualsOpILNS_13PrimitiveTypeE26EEEE13vector_vectorERKNS_8PODArrayIS3_Lm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESE_RNS8_IhLm4096ESB_Lm16ELm15EEE Line | Count | Source | 71 | 6 | PaddedPODArray<UInt8>& c) { | 72 | 6 | size_t size = a.size(); | 73 | 6 | const A* __restrict a_pos = a.data(); | 74 | 6 | const B* __restrict b_pos = b.data(); | 75 | 6 | UInt8* __restrict c_pos = c.data(); | 76 | 6 | const A* __restrict a_end = a_pos + size; | 77 | | | 78 | 70 | while (a_pos < a_end) { | 79 | 64 | *c_pos = Op::apply(*a_pos, *b_pos); | 80 | 64 | ++a_pos; | 81 | 64 | ++b_pos; | 82 | 64 | ++c_pos; | 83 | 64 | } | 84 | 6 | } |
_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 | 3 | PaddedPODArray<UInt8>& c) { | 72 | 3 | size_t size = a.size(); | 73 | 3 | const A* __restrict a_pos = a.data(); | 74 | 3 | const B* __restrict b_pos = b.data(); | 75 | 3 | UInt8* __restrict c_pos = c.data(); | 76 | 3 | const A* __restrict a_end = a_pos + size; | 77 | | | 78 | 7 | 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 | 3 | } |
_ZN5doris17NumComparisonImplIllNS_17GreaterOrEqualsOpILNS_13PrimitiveTypeE6EEEE13vector_vectorERKNS_8PODArrayIlLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 71 | 9 | PaddedPODArray<UInt8>& c) { | 72 | 9 | size_t size = a.size(); | 73 | 9 | const A* __restrict a_pos = a.data(); | 74 | 9 | const B* __restrict b_pos = b.data(); | 75 | 9 | UInt8* __restrict c_pos = c.data(); | 76 | 9 | const A* __restrict a_end = a_pos + size; | 77 | | | 78 | 64 | while (a_pos < a_end) { | 79 | 55 | *c_pos = Op::apply(*a_pos, *b_pos); | 80 | 55 | ++a_pos; | 81 | 55 | ++b_pos; | 82 | 55 | ++c_pos; | 83 | 55 | } | 84 | 9 | } |
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 | 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_17GreaterOrEqualsOpILNS_13PrimitiveTypeE9EEEE13vector_vectorERKNS_8PODArrayIdLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 71 | 23 | PaddedPODArray<UInt8>& c) { | 72 | 23 | size_t size = a.size(); | 73 | 23 | const A* __restrict a_pos = a.data(); | 74 | 23 | const B* __restrict b_pos = b.data(); | 75 | 23 | UInt8* __restrict c_pos = c.data(); | 76 | 23 | const A* __restrict a_end = a_pos + size; | 77 | | | 78 | 66 | 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 | 23 | } |
Unexecuted instantiation: _ZN5doris17NumComparisonImplIddNS_17GreaterOrEqualsOpILNS_13PrimitiveTypeE27EEEE13vector_vectorERKNS_8PODArrayIdLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE _ZN5doris17NumComparisonImplIhhNS_6LessOpILNS_13PrimitiveTypeE2EEEE13vector_vectorERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RS9_ Line | Count | Source | 71 | 95 | PaddedPODArray<UInt8>& c) { | 72 | 95 | size_t size = a.size(); | 73 | 95 | const A* __restrict a_pos = a.data(); | 74 | 95 | const B* __restrict b_pos = b.data(); | 75 | 95 | UInt8* __restrict c_pos = c.data(); | 76 | 95 | const A* __restrict a_end = a_pos + size; | 77 | | | 78 | 364 | while (a_pos < a_end) { | 79 | 269 | *c_pos = Op::apply(*a_pos, *b_pos); | 80 | 269 | ++a_pos; | 81 | 269 | ++b_pos; | 82 | 269 | ++c_pos; | 83 | 269 | } | 84 | 95 | } |
_ZN5doris17NumComparisonImplINS_11DateV2ValueINS_15DateV2ValueTypeEEES3_NS_6LessOpILNS_13PrimitiveTypeE25EEEE13vector_vectorERKNS_8PODArrayIS3_Lm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESE_RNS8_IhLm4096ESB_Lm16ELm15EEE Line | Count | Source | 71 | 1.73k | PaddedPODArray<UInt8>& c) { | 72 | 1.73k | size_t size = a.size(); | 73 | 1.73k | const A* __restrict a_pos = a.data(); | 74 | 1.73k | const B* __restrict b_pos = b.data(); | 75 | 1.73k | UInt8* __restrict c_pos = c.data(); | 76 | 1.73k | const A* __restrict a_end = a_pos + size; | 77 | | | 78 | 2.33M | while (a_pos < a_end) { | 79 | 2.33M | *c_pos = Op::apply(*a_pos, *b_pos); | 80 | 2.33M | ++a_pos; | 81 | 2.33M | ++b_pos; | 82 | 2.33M | ++c_pos; | 83 | 2.33M | } | 84 | 1.73k | } |
_ZN5doris17NumComparisonImplINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEES3_NS_6LessOpILNS_13PrimitiveTypeE26EEEE13vector_vectorERKNS_8PODArrayIS3_Lm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESE_RNS8_IhLm4096ESB_Lm16ELm15EEE Line | Count | Source | 71 | 289 | PaddedPODArray<UInt8>& c) { | 72 | 289 | size_t size = a.size(); | 73 | 289 | const A* __restrict a_pos = a.data(); | 74 | 289 | const B* __restrict b_pos = b.data(); | 75 | 289 | UInt8* __restrict c_pos = c.data(); | 76 | 289 | const A* __restrict a_end = a_pos + size; | 77 | | | 78 | 926 | while (a_pos < a_end) { | 79 | 637 | *c_pos = Op::apply(*a_pos, *b_pos); | 80 | 637 | ++a_pos; | 81 | 637 | ++b_pos; | 82 | 637 | ++c_pos; | 83 | 637 | } | 84 | 289 | } |
_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 | 152 | PaddedPODArray<UInt8>& c) { | 72 | 152 | size_t size = a.size(); | 73 | 152 | const A* __restrict a_pos = a.data(); | 74 | 152 | const B* __restrict b_pos = b.data(); | 75 | 152 | UInt8* __restrict c_pos = c.data(); | 76 | 152 | const A* __restrict a_end = a_pos + size; | 77 | | | 78 | 478 | while (a_pos < a_end) { | 79 | 326 | *c_pos = Op::apply(*a_pos, *b_pos); | 80 | 326 | ++a_pos; | 81 | 326 | ++b_pos; | 82 | 326 | ++c_pos; | 83 | 326 | } | 84 | 152 | } |
_ZN5doris17NumComparisonImplIssNS_6LessOpILNS_13PrimitiveTypeE4EEEE13vector_vectorERKNS_8PODArrayIsLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 71 | 137 | PaddedPODArray<UInt8>& c) { | 72 | 137 | size_t size = a.size(); | 73 | 137 | const A* __restrict a_pos = a.data(); | 74 | 137 | const B* __restrict b_pos = b.data(); | 75 | 137 | UInt8* __restrict c_pos = c.data(); | 76 | 137 | const A* __restrict a_end = a_pos + size; | 77 | | | 78 | 449 | while (a_pos < a_end) { | 79 | 312 | *c_pos = Op::apply(*a_pos, *b_pos); | 80 | 312 | ++a_pos; | 81 | 312 | ++b_pos; | 82 | 312 | ++c_pos; | 83 | 312 | } | 84 | 137 | } |
_ZN5doris17NumComparisonImplIiiNS_6LessOpILNS_13PrimitiveTypeE5EEEE13vector_vectorERKNS_8PODArrayIiLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 71 | 178 | PaddedPODArray<UInt8>& c) { | 72 | 178 | size_t size = a.size(); | 73 | 178 | const A* __restrict a_pos = a.data(); | 74 | 178 | const B* __restrict b_pos = b.data(); | 75 | 178 | UInt8* __restrict c_pos = c.data(); | 76 | 178 | const A* __restrict a_end = a_pos + size; | 77 | | | 78 | 1.03k | while (a_pos < a_end) { | 79 | 859 | *c_pos = Op::apply(*a_pos, *b_pos); | 80 | 859 | ++a_pos; | 81 | 859 | ++b_pos; | 82 | 859 | ++c_pos; | 83 | 859 | } | 84 | 178 | } |
_ZN5doris17NumComparisonImplIllNS_6LessOpILNS_13PrimitiveTypeE6EEEE13vector_vectorERKNS_8PODArrayIlLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 71 | 212 | PaddedPODArray<UInt8>& c) { | 72 | 212 | size_t size = a.size(); | 73 | 212 | const A* __restrict a_pos = a.data(); | 74 | 212 | const B* __restrict b_pos = b.data(); | 75 | 212 | UInt8* __restrict c_pos = c.data(); | 76 | 212 | const A* __restrict a_end = a_pos + size; | 77 | | | 78 | 5.41k | while (a_pos < a_end) { | 79 | 5.20k | *c_pos = Op::apply(*a_pos, *b_pos); | 80 | 5.20k | ++a_pos; | 81 | 5.20k | ++b_pos; | 82 | 5.20k | ++c_pos; | 83 | 5.20k | } | 84 | 212 | } |
_ZN5doris17NumComparisonImplInnNS_6LessOpILNS_13PrimitiveTypeE7EEEE13vector_vectorERKNS_8PODArrayInLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 71 | 157 | PaddedPODArray<UInt8>& c) { | 72 | 157 | size_t size = a.size(); | 73 | 157 | const A* __restrict a_pos = a.data(); | 74 | 157 | const B* __restrict b_pos = b.data(); | 75 | 157 | UInt8* __restrict c_pos = c.data(); | 76 | 157 | const A* __restrict a_end = a_pos + size; | 77 | | | 78 | 488 | while (a_pos < a_end) { | 79 | 331 | *c_pos = Op::apply(*a_pos, *b_pos); | 80 | 331 | ++a_pos; | 81 | 331 | ++b_pos; | 82 | 331 | ++c_pos; | 83 | 331 | } | 84 | 157 | } |
_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 | 158 | PaddedPODArray<UInt8>& c) { | 72 | 158 | size_t size = a.size(); | 73 | 158 | const A* __restrict a_pos = a.data(); | 74 | 158 | const B* __restrict b_pos = b.data(); | 75 | 158 | UInt8* __restrict c_pos = c.data(); | 76 | 158 | const A* __restrict a_end = a_pos + size; | 77 | | | 78 | 509 | while (a_pos < a_end) { | 79 | 351 | *c_pos = Op::apply(*a_pos, *b_pos); | 80 | 351 | ++a_pos; | 81 | 351 | ++b_pos; | 82 | 351 | ++c_pos; | 83 | 351 | } | 84 | 158 | } |
_ZN5doris17NumComparisonImplIddNS_6LessOpILNS_13PrimitiveTypeE9EEEE13vector_vectorERKNS_8PODArrayIdLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 71 | 161 | PaddedPODArray<UInt8>& c) { | 72 | 161 | size_t size = a.size(); | 73 | 161 | const A* __restrict a_pos = a.data(); | 74 | 161 | const B* __restrict b_pos = b.data(); | 75 | 161 | UInt8* __restrict c_pos = c.data(); | 76 | 161 | const A* __restrict a_end = a_pos + size; | 77 | | | 78 | 522 | while (a_pos < a_end) { | 79 | 361 | *c_pos = Op::apply(*a_pos, *b_pos); | 80 | 361 | ++a_pos; | 81 | 361 | ++b_pos; | 82 | 361 | ++c_pos; | 83 | 361 | } | 84 | 161 | } |
Unexecuted instantiation: _ZN5doris17NumComparisonImplIddNS_6LessOpILNS_13PrimitiveTypeE27EEEE13vector_vectorERKNS_8PODArrayIdLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Unexecuted instantiation: _ZN5doris17NumComparisonImplIhhNS_14LessOrEqualsOpILNS_13PrimitiveTypeE2EEEE13vector_vectorERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RS9_ _ZN5doris17NumComparisonImplINS_11DateV2ValueINS_15DateV2ValueTypeEEES3_NS_14LessOrEqualsOpILNS_13PrimitiveTypeE25EEEE13vector_vectorERKNS_8PODArrayIS3_Lm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESE_RNS8_IhLm4096ESB_Lm16ELm15EEE Line | Count | Source | 71 | 431 | PaddedPODArray<UInt8>& c) { | 72 | 431 | size_t size = a.size(); | 73 | 431 | const A* __restrict a_pos = a.data(); | 74 | 431 | const B* __restrict b_pos = b.data(); | 75 | 431 | UInt8* __restrict c_pos = c.data(); | 76 | 431 | const A* __restrict a_end = a_pos + size; | 77 | | | 78 | 6.70k | while (a_pos < a_end) { | 79 | 6.27k | *c_pos = Op::apply(*a_pos, *b_pos); | 80 | 6.27k | ++a_pos; | 81 | 6.27k | ++b_pos; | 82 | 6.27k | ++c_pos; | 83 | 6.27k | } | 84 | 431 | } |
Unexecuted instantiation: _ZN5doris17NumComparisonImplINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEES3_NS_14LessOrEqualsOpILNS_13PrimitiveTypeE26EEEE13vector_vectorERKNS_8PODArrayIS3_Lm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESE_RNS8_IhLm4096ESB_Lm16ELm15EEE _ZN5doris17NumComparisonImplINS_16TimestampTzValueES1_NS_14LessOrEqualsOpILNS_13PrimitiveTypeE42EEEE13vector_vectorERKNS_8PODArrayIS1_Lm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESC_RNS6_IhLm4096ES9_Lm16ELm15EEE Line | Count | Source | 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 | 23 | PaddedPODArray<UInt8>& c) { | 72 | 23 | size_t size = a.size(); | 73 | 23 | const A* __restrict a_pos = a.data(); | 74 | 23 | const B* __restrict b_pos = b.data(); | 75 | 23 | UInt8* __restrict c_pos = c.data(); | 76 | 23 | const A* __restrict a_end = a_pos + size; | 77 | | | 78 | 105 | while (a_pos < a_end) { | 79 | 82 | *c_pos = Op::apply(*a_pos, *b_pos); | 80 | 82 | ++a_pos; | 81 | 82 | ++b_pos; | 82 | 82 | ++c_pos; | 83 | 82 | } | 84 | 23 | } |
_ZN5doris17NumComparisonImplIllNS_14LessOrEqualsOpILNS_13PrimitiveTypeE6EEEE13vector_vectorERKNS_8PODArrayIlLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 71 | 69 | PaddedPODArray<UInt8>& c) { | 72 | 69 | size_t size = a.size(); | 73 | 69 | const A* __restrict a_pos = a.data(); | 74 | 69 | const B* __restrict b_pos = b.data(); | 75 | 69 | UInt8* __restrict c_pos = c.data(); | 76 | 69 | const A* __restrict a_end = a_pos + size; | 77 | | | 78 | 189 | while (a_pos < a_end) { | 79 | 120 | *c_pos = Op::apply(*a_pos, *b_pos); | 80 | 120 | ++a_pos; | 81 | 120 | ++b_pos; | 82 | 120 | ++c_pos; | 83 | 120 | } | 84 | 69 | } |
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 | 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_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 | 97.2k | PaddedPODArray<UInt8>& c) { |
88 | 97.2k | size_t size = a.size(); |
89 | 97.2k | const A* __restrict a_pos = a.data(); |
90 | 97.2k | UInt8* __restrict c_pos = c.data(); |
91 | 97.2k | const A* __restrict a_end = a_pos + size; |
92 | | |
93 | 31.4M | while (a_pos < a_end) { |
94 | 31.3M | *c_pos = Op::apply(*a_pos, b); |
95 | 31.3M | ++a_pos; |
96 | 31.3M | ++c_pos; |
97 | 31.3M | } |
98 | 97.2k | } _ZN5doris17NumComparisonImplIhhNS_8EqualsOpILNS_13PrimitiveTypeE2EEEE15vector_constantERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEhRS9_ Line | Count | Source | 87 | 24 | PaddedPODArray<UInt8>& c) { | 88 | 24 | size_t size = a.size(); | 89 | 24 | const A* __restrict a_pos = a.data(); | 90 | 24 | UInt8* __restrict c_pos = c.data(); | 91 | 24 | const A* __restrict a_end = a_pos + size; | 92 | | | 93 | 163 | while (a_pos < a_end) { | 94 | 139 | *c_pos = Op::apply(*a_pos, b); | 95 | 139 | ++a_pos; | 96 | 139 | ++c_pos; | 97 | 139 | } | 98 | 24 | } |
_ZN5doris17NumComparisonImplINS_11DateV2ValueINS_15DateV2ValueTypeEEES3_NS_8EqualsOpILNS_13PrimitiveTypeE25EEEE15vector_constantERKNS_8PODArrayIS3_Lm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEES3_RNS8_IhLm4096ESB_Lm16ELm15EEE Line | Count | Source | 87 | 539 | PaddedPODArray<UInt8>& c) { | 88 | 539 | size_t size = a.size(); | 89 | 539 | const A* __restrict a_pos = a.data(); | 90 | 539 | UInt8* __restrict c_pos = c.data(); | 91 | 539 | const A* __restrict a_end = a_pos + size; | 92 | | | 93 | 204k | while (a_pos < a_end) { | 94 | 203k | *c_pos = Op::apply(*a_pos, b); | 95 | 203k | ++a_pos; | 96 | 203k | ++c_pos; | 97 | 203k | } | 98 | 539 | } |
_ZN5doris17NumComparisonImplINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEES3_NS_8EqualsOpILNS_13PrimitiveTypeE26EEEE15vector_constantERKNS_8PODArrayIS3_Lm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEES3_RNS8_IhLm4096ESB_Lm16ELm15EEE Line | Count | Source | 87 | 182 | PaddedPODArray<UInt8>& c) { | 88 | 182 | size_t size = a.size(); | 89 | 182 | const A* __restrict a_pos = a.data(); | 90 | 182 | UInt8* __restrict c_pos = c.data(); | 91 | 182 | 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 | 182 | } |
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 | 4.88k | PaddedPODArray<UInt8>& c) { | 88 | 4.88k | size_t size = a.size(); | 89 | 4.88k | const A* __restrict a_pos = a.data(); | 90 | 4.88k | UInt8* __restrict c_pos = c.data(); | 91 | 4.88k | const A* __restrict a_end = a_pos + size; | 92 | | | 93 | 9.12M | while (a_pos < a_end) { | 94 | 9.11M | *c_pos = Op::apply(*a_pos, b); | 95 | 9.11M | ++a_pos; | 96 | 9.11M | ++c_pos; | 97 | 9.11M | } | 98 | 4.88k | } |
_ZN5doris17NumComparisonImplIssNS_8EqualsOpILNS_13PrimitiveTypeE4EEEE15vector_constantERKNS_8PODArrayIsLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEsRNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 87 | 317 | PaddedPODArray<UInt8>& c) { | 88 | 317 | size_t size = a.size(); | 89 | 317 | const A* __restrict a_pos = a.data(); | 90 | 317 | UInt8* __restrict c_pos = c.data(); | 91 | 317 | 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 | 317 | } |
_ZN5doris17NumComparisonImplIiiNS_8EqualsOpILNS_13PrimitiveTypeE5EEEE15vector_constantERKNS_8PODArrayIiLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEiRNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 87 | 1.80k | PaddedPODArray<UInt8>& c) { | 88 | 1.80k | size_t size = a.size(); | 89 | 1.80k | const A* __restrict a_pos = a.data(); | 90 | 1.80k | UInt8* __restrict c_pos = c.data(); | 91 | 1.80k | const A* __restrict a_end = a_pos + size; | 92 | | | 93 | 189k | while (a_pos < a_end) { | 94 | 187k | *c_pos = Op::apply(*a_pos, b); | 95 | 187k | ++a_pos; | 96 | 187k | ++c_pos; | 97 | 187k | } | 98 | 1.80k | } |
_ZN5doris17NumComparisonImplIllNS_8EqualsOpILNS_13PrimitiveTypeE6EEEE15vector_constantERKNS_8PODArrayIlLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEElRNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 87 | 2.47k | PaddedPODArray<UInt8>& c) { | 88 | 2.47k | size_t size = a.size(); | 89 | 2.47k | const A* __restrict a_pos = a.data(); | 90 | 2.47k | UInt8* __restrict c_pos = c.data(); | 91 | 2.47k | const A* __restrict a_end = a_pos + size; | 92 | | | 93 | 757k | while (a_pos < a_end) { | 94 | 755k | *c_pos = Op::apply(*a_pos, b); | 95 | 755k | ++a_pos; | 96 | 755k | ++c_pos; | 97 | 755k | } | 98 | 2.47k | } |
_ZN5doris17NumComparisonImplInnNS_8EqualsOpILNS_13PrimitiveTypeE7EEEE15vector_constantERKNS_8PODArrayInLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEnRNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 87 | 43 | PaddedPODArray<UInt8>& c) { | 88 | 43 | size_t size = a.size(); | 89 | 43 | const A* __restrict a_pos = a.data(); | 90 | 43 | UInt8* __restrict c_pos = c.data(); | 91 | 43 | 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 | 43 | } |
_ZN5doris17NumComparisonImplIjjNS_8EqualsOpILNS_13PrimitiveTypeE36EEEE15vector_constantERKNS_8PODArrayIjLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEjRNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 87 | 18 | PaddedPODArray<UInt8>& c) { | 88 | 18 | size_t size = a.size(); | 89 | 18 | const A* __restrict a_pos = a.data(); | 90 | 18 | UInt8* __restrict c_pos = c.data(); | 91 | 18 | const A* __restrict a_end = a_pos + size; | 92 | | | 93 | 132 | 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 | 18 | } |
_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 | } |
Unexecuted instantiation: _ZN5doris17NumComparisonImplIffNS_8EqualsOpILNS_13PrimitiveTypeE8EEEE15vector_constantERKNS_8PODArrayIfLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEfRNS5_IhLm4096ES8_Lm16ELm15EEE _ZN5doris17NumComparisonImplIddNS_8EqualsOpILNS_13PrimitiveTypeE9EEEE15vector_constantERKNS_8PODArrayIdLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEdRNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 87 | 549 | PaddedPODArray<UInt8>& c) { | 88 | 549 | size_t size = a.size(); | 89 | 549 | const A* __restrict a_pos = a.data(); | 90 | 549 | UInt8* __restrict c_pos = c.data(); | 91 | 549 | const A* __restrict a_end = a_pos + size; | 92 | | | 93 | 711k | while (a_pos < a_end) { | 94 | 710k | *c_pos = Op::apply(*a_pos, b); | 95 | 710k | ++a_pos; | 96 | 710k | ++c_pos; | 97 | 710k | } | 98 | 549 | } |
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 | 31 | PaddedPODArray<UInt8>& c) { | 88 | 31 | size_t size = a.size(); | 89 | 31 | const A* __restrict a_pos = a.data(); | 90 | 31 | UInt8* __restrict c_pos = c.data(); | 91 | 31 | const A* __restrict a_end = a_pos + size; | 92 | | | 93 | 82 | while (a_pos < a_end) { | 94 | 51 | *c_pos = Op::apply(*a_pos, b); | 95 | 51 | ++a_pos; | 96 | 51 | ++c_pos; | 97 | 51 | } | 98 | 31 | } |
Unexecuted instantiation: _ZN5doris17NumComparisonImplINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEES3_NS_11NotEqualsOpILNS_13PrimitiveTypeE26EEEE15vector_constantERKNS_8PODArrayIS3_Lm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEES3_RNS8_IhLm4096ESB_Lm16ELm15EEE Unexecuted instantiation: _ZN5doris17NumComparisonImplINS_16TimestampTzValueES1_NS_11NotEqualsOpILNS_13PrimitiveTypeE42EEEE15vector_constantERKNS_8PODArrayIS1_Lm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEES1_RNS6_IhLm4096ES9_Lm16ELm15EEE _ZN5doris17NumComparisonImplIaaNS_11NotEqualsOpILNS_13PrimitiveTypeE3EEEE15vector_constantERKNS_8PODArrayIaLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEaRNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 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 | 78 | while (a_pos < a_end) { | 94 | 50 | *c_pos = Op::apply(*a_pos, b); | 95 | 50 | ++a_pos; | 96 | 50 | ++c_pos; | 97 | 50 | } | 98 | 28 | } |
Unexecuted instantiation: _ZN5doris17NumComparisonImplIssNS_11NotEqualsOpILNS_13PrimitiveTypeE4EEEE15vector_constantERKNS_8PODArrayIsLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEsRNS5_IhLm4096ES8_Lm16ELm15EEE _ZN5doris17NumComparisonImplIiiNS_11NotEqualsOpILNS_13PrimitiveTypeE5EEEE15vector_constantERKNS_8PODArrayIiLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEiRNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 87 | 197 | PaddedPODArray<UInt8>& c) { | 88 | 197 | size_t size = a.size(); | 89 | 197 | const A* __restrict a_pos = a.data(); | 90 | 197 | UInt8* __restrict c_pos = c.data(); | 91 | 197 | const A* __restrict a_end = a_pos + size; | 92 | | | 93 | 1.82k | while (a_pos < a_end) { | 94 | 1.62k | *c_pos = Op::apply(*a_pos, b); | 95 | 1.62k | ++a_pos; | 96 | 1.62k | ++c_pos; | 97 | 1.62k | } | 98 | 197 | } |
_ZN5doris17NumComparisonImplIllNS_11NotEqualsOpILNS_13PrimitiveTypeE6EEEE15vector_constantERKNS_8PODArrayIlLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEElRNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 87 | 775 | PaddedPODArray<UInt8>& c) { | 88 | 775 | size_t size = a.size(); | 89 | 775 | const A* __restrict a_pos = a.data(); | 90 | 775 | UInt8* __restrict c_pos = c.data(); | 91 | 775 | const A* __restrict a_end = a_pos + size; | 92 | | | 93 | 3.91k | while (a_pos < a_end) { | 94 | 3.13k | *c_pos = Op::apply(*a_pos, b); | 95 | 3.13k | ++a_pos; | 96 | 3.13k | ++c_pos; | 97 | 3.13k | } | 98 | 775 | } |
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 | 41 | PaddedPODArray<UInt8>& c) { | 88 | 41 | size_t size = a.size(); | 89 | 41 | const A* __restrict a_pos = a.data(); | 90 | 41 | UInt8* __restrict c_pos = c.data(); | 91 | 41 | const A* __restrict a_end = a_pos + size; | 92 | | | 93 | 149 | while (a_pos < a_end) { | 94 | 108 | *c_pos = Op::apply(*a_pos, b); | 95 | 108 | ++a_pos; | 96 | 108 | ++c_pos; | 97 | 108 | } | 98 | 41 | } |
_ZN5doris17NumComparisonImplINS_11DateV2ValueINS_15DateV2ValueTypeEEES3_NS_6LessOpILNS_13PrimitiveTypeE25EEEE15vector_constantERKNS_8PODArrayIS3_Lm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEES3_RNS8_IhLm4096ESB_Lm16ELm15EEE Line | Count | Source | 87 | 339 | PaddedPODArray<UInt8>& c) { | 88 | 339 | size_t size = a.size(); | 89 | 339 | const A* __restrict a_pos = a.data(); | 90 | 339 | UInt8* __restrict c_pos = c.data(); | 91 | 339 | const A* __restrict a_end = a_pos + size; | 92 | | | 93 | 1.34M | while (a_pos < a_end) { | 94 | 1.34M | *c_pos = Op::apply(*a_pos, b); | 95 | 1.34M | ++a_pos; | 96 | 1.34M | ++c_pos; | 97 | 1.34M | } | 98 | 339 | } |
_ZN5doris17NumComparisonImplINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEES3_NS_9GreaterOpILNS_13PrimitiveTypeE26EEEE15vector_constantERKNS_8PODArrayIS3_Lm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEES3_RNS8_IhLm4096ESB_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 | 3 | 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 | 1 | } |
_ZN5doris17NumComparisonImplINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEES3_NS_6LessOpILNS_13PrimitiveTypeE26EEEE15vector_constantERKNS_8PODArrayIS3_Lm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEES3_RNS8_IhLm4096ESB_Lm16ELm15EEE Line | Count | Source | 87 | 59 | PaddedPODArray<UInt8>& c) { | 88 | 59 | size_t size = a.size(); | 89 | 59 | const A* __restrict a_pos = a.data(); | 90 | 59 | UInt8* __restrict c_pos = c.data(); | 91 | 59 | const A* __restrict a_end = a_pos + size; | 92 | | | 93 | 269 | while (a_pos < a_end) { | 94 | 210 | *c_pos = Op::apply(*a_pos, b); | 95 | 210 | ++a_pos; | 96 | 210 | ++c_pos; | 97 | 210 | } | 98 | 59 | } |
Unexecuted instantiation: _ZN5doris17NumComparisonImplINS_16TimestampTzValueES1_NS_9GreaterOpILNS_13PrimitiveTypeE42EEEE15vector_constantERKNS_8PODArrayIS1_Lm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEES1_RNS6_IhLm4096ES9_Lm16ELm15EEE _ZN5doris17NumComparisonImplINS_16TimestampTzValueES1_NS_6LessOpILNS_13PrimitiveTypeE42EEEE15vector_constantERKNS_8PODArrayIS1_Lm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEES1_RNS6_IhLm4096ES9_Lm16ELm15EEE Line | Count | Source | 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.06k | PaddedPODArray<UInt8>& c) { | 88 | 1.06k | size_t size = a.size(); | 89 | 1.06k | const A* __restrict a_pos = a.data(); | 90 | 1.06k | UInt8* __restrict c_pos = c.data(); | 91 | 1.06k | const A* __restrict a_end = a_pos + size; | 92 | | | 93 | 6.49k | while (a_pos < a_end) { | 94 | 5.42k | *c_pos = Op::apply(*a_pos, b); | 95 | 5.42k | ++a_pos; | 96 | 5.42k | ++c_pos; | 97 | 5.42k | } | 98 | 1.06k | } |
_ZN5doris17NumComparisonImplIaaNS_6LessOpILNS_13PrimitiveTypeE3EEEE15vector_constantERKNS_8PODArrayIaLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEaRNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 87 | 1.98k | PaddedPODArray<UInt8>& c) { | 88 | 1.98k | size_t size = a.size(); | 89 | 1.98k | const A* __restrict a_pos = a.data(); | 90 | 1.98k | UInt8* __restrict c_pos = c.data(); | 91 | 1.98k | const A* __restrict a_end = a_pos + size; | 92 | | | 93 | 5.54k | 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 | 1.98k | } |
_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.26k | while (a_pos < a_end) { | 94 | 4.80k | *c_pos = Op::apply(*a_pos, b); | 95 | 4.80k | ++a_pos; | 96 | 4.80k | ++c_pos; | 97 | 4.80k | } | 98 | 1.45k | } |
_ZN5doris17NumComparisonImplIssNS_6LessOpILNS_13PrimitiveTypeE4EEEE15vector_constantERKNS_8PODArrayIsLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEsRNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 87 | 242 | PaddedPODArray<UInt8>& c) { | 88 | 242 | size_t size = a.size(); | 89 | 242 | const A* __restrict a_pos = a.data(); | 90 | 242 | UInt8* __restrict c_pos = c.data(); | 91 | 242 | const A* __restrict a_end = a_pos + size; | 92 | | | 93 | 1.20k | while (a_pos < a_end) { | 94 | 959 | *c_pos = Op::apply(*a_pos, b); | 95 | 959 | ++a_pos; | 96 | 959 | ++c_pos; | 97 | 959 | } | 98 | 242 | } |
_ZN5doris17NumComparisonImplIiiNS_9GreaterOpILNS_13PrimitiveTypeE5EEEE15vector_constantERKNS_8PODArrayIiLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEiRNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 87 | 4.70k | PaddedPODArray<UInt8>& c) { | 88 | 4.70k | size_t size = a.size(); | 89 | 4.70k | const A* __restrict a_pos = a.data(); | 90 | 4.70k | UInt8* __restrict c_pos = c.data(); | 91 | 4.70k | const A* __restrict a_end = a_pos + size; | 92 | | | 93 | 959k | while (a_pos < a_end) { | 94 | 954k | *c_pos = Op::apply(*a_pos, b); | 95 | 954k | ++a_pos; | 96 | 954k | ++c_pos; | 97 | 954k | } | 98 | 4.70k | } |
_ZN5doris17NumComparisonImplIiiNS_6LessOpILNS_13PrimitiveTypeE5EEEE15vector_constantERKNS_8PODArrayIiLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEiRNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 87 | 62.9k | PaddedPODArray<UInt8>& c) { | 88 | 62.9k | size_t size = a.size(); | 89 | 62.9k | const A* __restrict a_pos = a.data(); | 90 | 62.9k | UInt8* __restrict c_pos = c.data(); | 91 | 62.9k | const A* __restrict a_end = a_pos + size; | 92 | | | 93 | 5.32M | while (a_pos < a_end) { | 94 | 5.25M | *c_pos = Op::apply(*a_pos, b); | 95 | 5.25M | ++a_pos; | 96 | 5.25M | ++c_pos; | 97 | 5.25M | } | 98 | 62.9k | } |
_ZN5doris17NumComparisonImplIllNS_9GreaterOpILNS_13PrimitiveTypeE6EEEE15vector_constantERKNS_8PODArrayIlLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEElRNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 87 | 1.20k | PaddedPODArray<UInt8>& c) { | 88 | 1.20k | size_t size = a.size(); | 89 | 1.20k | const A* __restrict a_pos = a.data(); | 90 | 1.20k | UInt8* __restrict c_pos = c.data(); | 91 | 1.20k | const A* __restrict a_end = a_pos + size; | 92 | | | 93 | 97.8k | while (a_pos < a_end) { | 94 | 96.6k | *c_pos = Op::apply(*a_pos, b); | 95 | 96.6k | ++a_pos; | 96 | 96.6k | ++c_pos; | 97 | 96.6k | } | 98 | 1.20k | } |
_ZN5doris17NumComparisonImplIllNS_6LessOpILNS_13PrimitiveTypeE6EEEE15vector_constantERKNS_8PODArrayIlLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEElRNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 87 | 1.01k | PaddedPODArray<UInt8>& c) { | 88 | 1.01k | size_t size = a.size(); | 89 | 1.01k | const A* __restrict a_pos = a.data(); | 90 | 1.01k | UInt8* __restrict c_pos = c.data(); | 91 | 1.01k | const A* __restrict a_end = a_pos + size; | 92 | | | 93 | 11.6k | while (a_pos < a_end) { | 94 | 10.6k | *c_pos = Op::apply(*a_pos, b); | 95 | 10.6k | ++a_pos; | 96 | 10.6k | ++c_pos; | 97 | 10.6k | } | 98 | 1.01k | } |
_ZN5doris17NumComparisonImplInnNS_9GreaterOpILNS_13PrimitiveTypeE7EEEE15vector_constantERKNS_8PODArrayInLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEnRNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 87 | 258 | PaddedPODArray<UInt8>& c) { | 88 | 258 | size_t size = a.size(); | 89 | 258 | const A* __restrict a_pos = a.data(); | 90 | 258 | UInt8* __restrict c_pos = c.data(); | 91 | 258 | const A* __restrict a_end = a_pos + size; | 92 | | | 93 | 1.89k | 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 | 258 | } |
_ZN5doris17NumComparisonImplInnNS_6LessOpILNS_13PrimitiveTypeE7EEEE15vector_constantERKNS_8PODArrayInLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEnRNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 87 | 97 | PaddedPODArray<UInt8>& c) { | 88 | 97 | size_t size = a.size(); | 89 | 97 | const A* __restrict a_pos = a.data(); | 90 | 97 | UInt8* __restrict c_pos = c.data(); | 91 | 97 | 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 | 97 | } |
_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 | 200 | PaddedPODArray<UInt8>& c) { | 88 | 200 | size_t size = a.size(); | 89 | 200 | const A* __restrict a_pos = a.data(); | 90 | 200 | UInt8* __restrict c_pos = c.data(); | 91 | 200 | const A* __restrict a_end = a_pos + size; | 92 | | | 93 | 2.61k | while (a_pos < a_end) { | 94 | 2.41k | *c_pos = Op::apply(*a_pos, b); | 95 | 2.41k | ++a_pos; | 96 | 2.41k | ++c_pos; | 97 | 2.41k | } | 98 | 200 | } |
Unexecuted instantiation: _ZN5doris17NumComparisonImplIffNS_6LessOpILNS_13PrimitiveTypeE8EEEE15vector_constantERKNS_8PODArrayIfLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEfRNS5_IhLm4096ES8_Lm16ELm15EEE _ZN5doris17NumComparisonImplIddNS_9GreaterOpILNS_13PrimitiveTypeE9EEEE15vector_constantERKNS_8PODArrayIdLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEdRNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 87 | 510 | PaddedPODArray<UInt8>& c) { | 88 | 510 | size_t size = a.size(); | 89 | 510 | const A* __restrict a_pos = a.data(); | 90 | 510 | UInt8* __restrict c_pos = c.data(); | 91 | 510 | const A* __restrict a_end = a_pos + size; | 92 | | | 93 | 7.47k | while (a_pos < a_end) { | 94 | 6.96k | *c_pos = Op::apply(*a_pos, b); | 95 | 6.96k | ++a_pos; | 96 | 6.96k | ++c_pos; | 97 | 6.96k | } | 98 | 510 | } |
_ZN5doris17NumComparisonImplIddNS_6LessOpILNS_13PrimitiveTypeE9EEEE15vector_constantERKNS_8PODArrayIdLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEdRNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 87 | 192 | PaddedPODArray<UInt8>& c) { | 88 | 192 | size_t size = a.size(); | 89 | 192 | const A* __restrict a_pos = a.data(); | 90 | 192 | UInt8* __restrict c_pos = c.data(); | 91 | 192 | const A* __restrict a_end = a_pos + size; | 92 | | | 93 | 282k | while (a_pos < a_end) { | 94 | 282k | *c_pos = Op::apply(*a_pos, b); | 95 | 282k | ++a_pos; | 96 | 282k | ++c_pos; | 97 | 282k | } | 98 | 192 | } |
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 | 13 | PaddedPODArray<UInt8>& c) { | 88 | 13 | size_t size = a.size(); | 89 | 13 | const A* __restrict a_pos = a.data(); | 90 | 13 | UInt8* __restrict c_pos = c.data(); | 91 | 13 | const A* __restrict a_end = a_pos + size; | 92 | | | 93 | 43.0k | while (a_pos < a_end) { | 94 | 43.0k | *c_pos = Op::apply(*a_pos, b); | 95 | 43.0k | ++a_pos; | 96 | 43.0k | ++c_pos; | 97 | 43.0k | } | 98 | 13 | } |
_ZN5doris17NumComparisonImplIhhNS_14LessOrEqualsOpILNS_13PrimitiveTypeE2EEEE15vector_constantERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEhRS9_ 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 | 160k | while (a_pos < a_end) { | 94 | 160k | *c_pos = Op::apply(*a_pos, b); | 95 | 160k | ++a_pos; | 96 | 160k | ++c_pos; | 97 | 160k | } | 98 | 40 | } |
_ZN5doris17NumComparisonImplINS_11DateV2ValueINS_15DateV2ValueTypeEEES3_NS_17GreaterOrEqualsOpILNS_13PrimitiveTypeE25EEEE15vector_constantERKNS_8PODArrayIS3_Lm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEES3_RNS8_IhLm4096ESB_Lm16ELm15EEE Line | Count | Source | 87 | 463 | PaddedPODArray<UInt8>& c) { | 88 | 463 | size_t size = a.size(); | 89 | 463 | const A* __restrict a_pos = a.data(); | 90 | 463 | UInt8* __restrict c_pos = c.data(); | 91 | 463 | const A* __restrict a_end = a_pos + size; | 92 | | | 93 | 1.44M | while (a_pos < a_end) { | 94 | 1.44M | *c_pos = Op::apply(*a_pos, b); | 95 | 1.44M | ++a_pos; | 96 | 1.44M | ++c_pos; | 97 | 1.44M | } | 98 | 463 | } |
_ZN5doris17NumComparisonImplINS_11DateV2ValueINS_15DateV2ValueTypeEEES3_NS_14LessOrEqualsOpILNS_13PrimitiveTypeE25EEEE15vector_constantERKNS_8PODArrayIS3_Lm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEES3_RNS8_IhLm4096ESB_Lm16ELm15EEE Line | Count | Source | 87 | 189 | PaddedPODArray<UInt8>& c) { | 88 | 189 | size_t size = a.size(); | 89 | 189 | const A* __restrict a_pos = a.data(); | 90 | 189 | UInt8* __restrict c_pos = c.data(); | 91 | 189 | const A* __restrict a_end = a_pos + size; | 92 | | | 93 | 722k | while (a_pos < a_end) { | 94 | 721k | *c_pos = Op::apply(*a_pos, b); | 95 | 721k | ++a_pos; | 96 | 721k | ++c_pos; | 97 | 721k | } | 98 | 189 | } |
_ZN5doris17NumComparisonImplINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEES3_NS_17GreaterOrEqualsOpILNS_13PrimitiveTypeE26EEEE15vector_constantERKNS_8PODArrayIS3_Lm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEES3_RNS8_IhLm4096ESB_Lm16ELm15EEE Line | Count | Source | 87 | 137 | PaddedPODArray<UInt8>& c) { | 88 | 137 | size_t size = a.size(); | 89 | 137 | const A* __restrict a_pos = a.data(); | 90 | 137 | UInt8* __restrict c_pos = c.data(); | 91 | 137 | const A* __restrict a_end = a_pos + size; | 92 | | | 93 | 513 | while (a_pos < a_end) { | 94 | 376 | *c_pos = Op::apply(*a_pos, b); | 95 | 376 | ++a_pos; | 96 | 376 | ++c_pos; | 97 | 376 | } | 98 | 137 | } |
_ZN5doris17NumComparisonImplINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEES3_NS_14LessOrEqualsOpILNS_13PrimitiveTypeE26EEEE15vector_constantERKNS_8PODArrayIS3_Lm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEES3_RNS8_IhLm4096ESB_Lm16ELm15EEE Line | Count | Source | 87 | 58 | PaddedPODArray<UInt8>& c) { | 88 | 58 | size_t size = a.size(); | 89 | 58 | const A* __restrict a_pos = a.data(); | 90 | 58 | UInt8* __restrict c_pos = c.data(); | 91 | 58 | const A* __restrict a_end = a_pos + size; | 92 | | | 93 | 235 | while (a_pos < a_end) { | 94 | 177 | *c_pos = Op::apply(*a_pos, b); | 95 | 177 | ++a_pos; | 96 | 177 | ++c_pos; | 97 | 177 | } | 98 | 58 | } |
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 | 60 | PaddedPODArray<UInt8>& c) { | 88 | 60 | size_t size = a.size(); | 89 | 60 | const A* __restrict a_pos = a.data(); | 90 | 60 | UInt8* __restrict c_pos = c.data(); | 91 | 60 | const A* __restrict a_end = a_pos + size; | 92 | | | 93 | 140k | while (a_pos < a_end) { | 94 | 140k | *c_pos = Op::apply(*a_pos, b); | 95 | 140k | ++a_pos; | 96 | 140k | ++c_pos; | 97 | 140k | } | 98 | 60 | } |
_ZN5doris17NumComparisonImplIaaNS_14LessOrEqualsOpILNS_13PrimitiveTypeE3EEEE15vector_constantERKNS_8PODArrayIaLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEaRNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 87 | 63 | PaddedPODArray<UInt8>& c) { | 88 | 63 | size_t size = a.size(); | 89 | 63 | const A* __restrict a_pos = a.data(); | 90 | 63 | UInt8* __restrict c_pos = c.data(); | 91 | 63 | const A* __restrict a_end = a_pos + size; | 92 | | | 93 | 130k | while (a_pos < a_end) { | 94 | 130k | *c_pos = Op::apply(*a_pos, b); | 95 | 130k | ++a_pos; | 96 | 130k | ++c_pos; | 97 | 130k | } | 98 | 63 | } |
_ZN5doris17NumComparisonImplIssNS_17GreaterOrEqualsOpILNS_13PrimitiveTypeE4EEEE15vector_constantERKNS_8PODArrayIsLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEsRNS5_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 | 90.5k | while (a_pos < a_end) { | 94 | 90.4k | *c_pos = Op::apply(*a_pos, b); | 95 | 90.4k | ++a_pos; | 96 | 90.4k | ++c_pos; | 97 | 90.4k | } | 98 | 89 | } |
_ZN5doris17NumComparisonImplIssNS_14LessOrEqualsOpILNS_13PrimitiveTypeE4EEEE15vector_constantERKNS_8PODArrayIsLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEsRNS5_IhLm4096ES8_Lm16ELm15EEE 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 | 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 | 106 | } |
_ZN5doris17NumComparisonImplIiiNS_17GreaterOrEqualsOpILNS_13PrimitiveTypeE5EEEE15vector_constantERKNS_8PODArrayIiLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEiRNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 87 | 1.24k | PaddedPODArray<UInt8>& c) { | 88 | 1.24k | size_t size = a.size(); | 89 | 1.24k | const A* __restrict a_pos = a.data(); | 90 | 1.24k | UInt8* __restrict c_pos = c.data(); | 91 | 1.24k | const A* __restrict a_end = a_pos + size; | 92 | | | 93 | 2.17M | while (a_pos < a_end) { | 94 | 2.17M | *c_pos = Op::apply(*a_pos, b); | 95 | 2.17M | ++a_pos; | 96 | 2.17M | ++c_pos; | 97 | 2.17M | } | 98 | 1.24k | } |
_ZN5doris17NumComparisonImplIiiNS_14LessOrEqualsOpILNS_13PrimitiveTypeE5EEEE15vector_constantERKNS_8PODArrayIiLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEiRNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 87 | 5.64k | PaddedPODArray<UInt8>& c) { | 88 | 5.64k | size_t size = a.size(); | 89 | 5.64k | const A* __restrict a_pos = a.data(); | 90 | 5.64k | UInt8* __restrict c_pos = c.data(); | 91 | 5.64k | const A* __restrict a_end = a_pos + size; | 92 | | | 93 | 6.12M | while (a_pos < a_end) { | 94 | 6.11M | *c_pos = Op::apply(*a_pos, b); | 95 | 6.11M | ++a_pos; | 96 | 6.11M | ++c_pos; | 97 | 6.11M | } | 98 | 5.64k | } |
_ZN5doris17NumComparisonImplIllNS_17GreaterOrEqualsOpILNS_13PrimitiveTypeE6EEEE15vector_constantERKNS_8PODArrayIlLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEElRNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 87 | 241 | PaddedPODArray<UInt8>& c) { | 88 | 241 | size_t size = a.size(); | 89 | 241 | const A* __restrict a_pos = a.data(); | 90 | 241 | UInt8* __restrict c_pos = c.data(); | 91 | 241 | const A* __restrict a_end = a_pos + size; | 92 | | | 93 | 886 | while (a_pos < a_end) { | 94 | 645 | *c_pos = Op::apply(*a_pos, b); | 95 | 645 | ++a_pos; | 96 | 645 | ++c_pos; | 97 | 645 | } | 98 | 241 | } |
_ZN5doris17NumComparisonImplIllNS_14LessOrEqualsOpILNS_13PrimitiveTypeE6EEEE15vector_constantERKNS_8PODArrayIlLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEElRNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 87 | 323 | PaddedPODArray<UInt8>& c) { | 88 | 323 | size_t size = a.size(); | 89 | 323 | const A* __restrict a_pos = a.data(); | 90 | 323 | UInt8* __restrict c_pos = c.data(); | 91 | 323 | const A* __restrict a_end = a_pos + size; | 92 | | | 93 | 3.52k | while (a_pos < a_end) { | 94 | 3.19k | *c_pos = Op::apply(*a_pos, b); | 95 | 3.19k | ++a_pos; | 96 | 3.19k | ++c_pos; | 97 | 3.19k | } | 98 | 323 | } |
_ZN5doris17NumComparisonImplInnNS_17GreaterOrEqualsOpILNS_13PrimitiveTypeE7EEEE15vector_constantERKNS_8PODArrayInLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEnRNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 87 | 22 | PaddedPODArray<UInt8>& c) { | 88 | 22 | size_t size = a.size(); | 89 | 22 | const A* __restrict a_pos = a.data(); | 90 | 22 | UInt8* __restrict c_pos = c.data(); | 91 | 22 | const A* __restrict a_end = a_pos + size; | 92 | | | 93 | 110k | while (a_pos < a_end) { | 94 | 110k | *c_pos = Op::apply(*a_pos, b); | 95 | 110k | ++a_pos; | 96 | 110k | ++c_pos; | 97 | 110k | } | 98 | 22 | } |
_ZN5doris17NumComparisonImplInnNS_14LessOrEqualsOpILNS_13PrimitiveTypeE7EEEE15vector_constantERKNS_8PODArrayInLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEnRNS5_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 | 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 | 28 | } |
_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 | 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 | 10 | 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 | 4 | } |
Unexecuted instantiation: _ZN5doris17NumComparisonImplIffNS_14LessOrEqualsOpILNS_13PrimitiveTypeE8EEEE15vector_constantERKNS_8PODArrayIfLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEfRNS5_IhLm4096ES8_Lm16ELm15EEE _ZN5doris17NumComparisonImplIddNS_17GreaterOrEqualsOpILNS_13PrimitiveTypeE9EEEE15vector_constantERKNS_8PODArrayIdLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEdRNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 87 | 113 | PaddedPODArray<UInt8>& c) { | 88 | 113 | size_t size = a.size(); | 89 | 113 | const A* __restrict a_pos = a.data(); | 90 | 113 | UInt8* __restrict c_pos = c.data(); | 91 | 113 | const A* __restrict a_end = a_pos + size; | 92 | | | 93 | 355k | while (a_pos < a_end) { | 94 | 355k | *c_pos = Op::apply(*a_pos, b); | 95 | 355k | ++a_pos; | 96 | 355k | ++c_pos; | 97 | 355k | } | 98 | 113 | } |
_ZN5doris17NumComparisonImplIddNS_14LessOrEqualsOpILNS_13PrimitiveTypeE9EEEE15vector_constantERKNS_8PODArrayIdLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEdRNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 87 | 103 | PaddedPODArray<UInt8>& c) { | 88 | 103 | size_t size = a.size(); | 89 | 103 | const A* __restrict a_pos = a.data(); | 90 | 103 | UInt8* __restrict c_pos = c.data(); | 91 | 103 | const A* __restrict a_end = a_pos + size; | 92 | | | 93 | 275k | while (a_pos < a_end) { | 94 | 275k | *c_pos = Op::apply(*a_pos, b); | 95 | 275k | ++a_pos; | 96 | 275k | ++c_pos; | 97 | 275k | } | 98 | 103 | } |
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.3k | static void constant_vector(A a, const PaddedPODArray<B>& b, PaddedPODArray<UInt8>& c) { |
101 | 66.3k | NumComparisonImpl<B, A, typename Op::SymmetricOp>::vector_constant(b, a, c); |
102 | 66.3k | } 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 | 288 | static void constant_vector(A a, const PaddedPODArray<B>& b, PaddedPODArray<UInt8>& c) { | 101 | 288 | NumComparisonImpl<B, A, typename Op::SymmetricOp>::vector_constant(b, a, c); | 102 | 288 | } |
_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 | 110 | static void constant_vector(A a, const PaddedPODArray<B>& b, PaddedPODArray<UInt8>& c) { | 101 | 110 | NumComparisonImpl<B, A, typename Op::SymmetricOp>::vector_constant(b, a, c); | 102 | 110 | } |
_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 | 16 | static void constant_vector(A a, const PaddedPODArray<B>& b, PaddedPODArray<UInt8>& c) { | 101 | 16 | NumComparisonImpl<B, A, typename Op::SymmetricOp>::vector_constant(b, a, c); | 102 | 16 | } |
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 | 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 | } |
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 | 222 | static void constant_vector(A a, const PaddedPODArray<B>& b, PaddedPODArray<UInt8>& c) { | 101 | 222 | NumComparisonImpl<B, A, typename Op::SymmetricOp>::vector_constant(b, a, c); | 102 | 222 | } |
_ZN5doris17NumComparisonImplIssNS_9GreaterOpILNS_13PrimitiveTypeE4EEEE15constant_vectorEsRKNS_8PODArrayIsLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 100 | 228 | static void constant_vector(A a, const PaddedPODArray<B>& b, PaddedPODArray<UInt8>& c) { | 101 | 228 | NumComparisonImpl<B, A, typename Op::SymmetricOp>::vector_constant(b, a, c); | 102 | 228 | } |
_ZN5doris17NumComparisonImplIiiNS_9GreaterOpILNS_13PrimitiveTypeE5EEEE15constant_vectorEiRKNS_8PODArrayIiLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 100 | 62.1k | static void constant_vector(A a, const PaddedPODArray<B>& b, PaddedPODArray<UInt8>& c) { | 101 | 62.1k | NumComparisonImpl<B, A, typename Op::SymmetricOp>::vector_constant(b, a, c); | 102 | 62.1k | } |
_ZN5doris17NumComparisonImplIllNS_9GreaterOpILNS_13PrimitiveTypeE6EEEE15constant_vectorElRKNS_8PODArrayIlLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 100 | 518 | static void constant_vector(A a, const PaddedPODArray<B>& b, PaddedPODArray<UInt8>& c) { | 101 | 518 | NumComparisonImpl<B, A, typename Op::SymmetricOp>::vector_constant(b, a, c); | 102 | 518 | } |
_ZN5doris17NumComparisonImplInnNS_9GreaterOpILNS_13PrimitiveTypeE7EEEE15constant_vectorEnRKNS_8PODArrayInLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 100 | 55 | static void constant_vector(A a, const PaddedPODArray<B>& b, PaddedPODArray<UInt8>& c) { | 101 | 55 | NumComparisonImpl<B, A, typename Op::SymmetricOp>::vector_constant(b, a, c); | 102 | 55 | } |
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 | 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 | } |
Unexecuted instantiation: _ZN5doris17NumComparisonImplIssNS_6LessOpILNS_13PrimitiveTypeE4EEEE15constant_vectorEsRKNS_8PODArrayIsLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERNS5_IhLm4096ES8_Lm16ELm15EEE _ZN5doris17NumComparisonImplIiiNS_6LessOpILNS_13PrimitiveTypeE5EEEE15constant_vectorEiRKNS_8PODArrayIiLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 100 | 121 | static void constant_vector(A a, const PaddedPODArray<B>& b, PaddedPODArray<UInt8>& c) { | 101 | 121 | NumComparisonImpl<B, A, typename Op::SymmetricOp>::vector_constant(b, a, c); | 102 | 121 | } |
_ZN5doris17NumComparisonImplIllNS_6LessOpILNS_13PrimitiveTypeE6EEEE15constant_vectorElRKNS_8PODArrayIlLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 100 | 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 | 57 | static void constant_vector(A a, const PaddedPODArray<B>& b, PaddedPODArray<UInt8>& c) { | 101 | 57 | NumComparisonImpl<B, A, typename Op::SymmetricOp>::vector_constant(b, a, c); | 102 | 57 | } |
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 | 602 | static void constant_vector(A a, const PaddedPODArray<B>& b, PaddedPODArray<UInt8>& c) { | 101 | 602 | NumComparisonImpl<B, A, typename Op::SymmetricOp>::vector_constant(b, a, c); | 102 | 602 | } |
_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 | 153 | static void vector_constant(const IColumn& a, const IColumn& b, PaddedPODArray<UInt8>& c) { |
115 | 153 | const auto& col_right = assert_cast<const ColumnConst&>(b).get_data_column(); |
116 | 560k | for (size_t i = 0, size = a.size(); i < size; ++i) { |
117 | 560k | c[i] = Op::apply(a.compare_at(i, 0, col_right, 1), 0); |
118 | 560k | } |
119 | 153 | } _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 | 47 | static void vector_constant(const IColumn& a, const IColumn& b, PaddedPODArray<UInt8>& c) { | 115 | 47 | const auto& col_right = assert_cast<const ColumnConst&>(b).get_data_column(); | 116 | 229k | for (size_t i = 0, size = a.size(); i < size; ++i) { | 117 | 229k | c[i] = Op::apply(a.compare_at(i, 0, col_right, 1), 0); | 118 | 229k | } | 119 | 47 | } |
_ZN5doris21GenericComparisonImplINS_17GreaterOrEqualsOpILNS_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 | 330k | c[i] = Op::apply(a.compare_at(i, 0, col_right, 1), 0); | 118 | 330k | } | 119 | 69 | } |
|
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 | 464 | PaddedPODArray<UInt8>& c) { |
133 | 464 | size_t size = a_offsets.size(); |
134 | 464 | ColumnString::Offset prev_a_offset = 0; |
135 | 464 | ColumnString::Offset prev_b_offset = 0; |
136 | 464 | const auto* a_pos = a_data.data(); |
137 | 464 | const auto* b_pos = b_data.data(); |
138 | | |
139 | 1.65k | for (size_t i = 0; i < size; ++i) { |
140 | 1.18k | c[i] = Op::apply(memcmp_small_allow_overflow15( |
141 | 1.18k | a_pos + prev_a_offset, a_offsets[i] - prev_a_offset, |
142 | 1.18k | b_pos + prev_b_offset, b_offsets[i] - prev_b_offset), |
143 | 1.18k | 0); |
144 | | |
145 | 1.18k | prev_a_offset = a_offsets[i]; |
146 | 1.18k | prev_b_offset = b_offsets[i]; |
147 | 1.18k | } |
148 | 464 | } _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 | 36 | PaddedPODArray<UInt8>& c) { | 133 | 36 | size_t size = a_offsets.size(); | 134 | 36 | ColumnString::Offset prev_a_offset = 0; | 135 | 36 | ColumnString::Offset prev_b_offset = 0; | 136 | 36 | const auto* a_pos = a_data.data(); | 137 | 36 | const auto* b_pos = b_data.data(); | 138 | | | 139 | 230 | for (size_t i = 0; i < size; ++i) { | 140 | 194 | c[i] = Op::apply(memcmp_small_allow_overflow15( | 141 | 194 | a_pos + prev_a_offset, a_offsets[i] - prev_a_offset, | 142 | 194 | b_pos + prev_b_offset, b_offsets[i] - prev_b_offset), | 143 | 194 | 0); | 144 | | | 145 | 194 | prev_a_offset = a_offsets[i]; | 146 | 194 | prev_b_offset = b_offsets[i]; | 147 | 194 | } | 148 | 36 | } |
_ZN5doris20StringComparisonImplINS_6LessOpILNS_13PrimitiveTypeE5EEEE27string_vector_string_vectorERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERKNS5_IjLm4096ES8_Lm16ELm15EEESB_SE_RS9_ Line | Count | Source | 132 | 426 | PaddedPODArray<UInt8>& c) { | 133 | 426 | size_t size = a_offsets.size(); | 134 | 426 | ColumnString::Offset prev_a_offset = 0; | 135 | 426 | ColumnString::Offset prev_b_offset = 0; | 136 | 426 | const auto* a_pos = a_data.data(); | 137 | 426 | const auto* b_pos = b_data.data(); | 138 | | | 139 | 1.37k | for (size_t i = 0; i < size; ++i) { | 140 | 948 | c[i] = Op::apply(memcmp_small_allow_overflow15( | 141 | 948 | a_pos + prev_a_offset, a_offsets[i] - prev_a_offset, | 142 | 948 | b_pos + prev_b_offset, b_offsets[i] - prev_b_offset), | 143 | 948 | 0); | 144 | | | 145 | 948 | prev_a_offset = a_offsets[i]; | 146 | 948 | prev_b_offset = b_offsets[i]; | 147 | 948 | } | 148 | 426 | } |
Unexecuted instantiation: _ZN5doris20StringComparisonImplINS_14LessOrEqualsOpILNS_13PrimitiveTypeE5EEEE27string_vector_string_vectorERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERKNS5_IjLm4096ES8_Lm16ELm15EEESB_SE_RS9_ |
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 | 811 | PaddedPODArray<UInt8>& c) { |
155 | 811 | size_t size = a_offsets.size(); |
156 | 811 | ColumnString::Offset prev_a_offset = 0; |
157 | 811 | const auto* a_pos = a_data.data(); |
158 | 811 | const auto* b_pos = b_data.data(); |
159 | | |
160 | 1.28M | for (size_t i = 0; i < size; ++i) { |
161 | 1.28M | c[i] = Op::apply( |
162 | 1.28M | memcmp_small_allow_overflow15(a_pos + prev_a_offset, |
163 | 1.28M | a_offsets[i] - prev_a_offset, b_pos, b_size), |
164 | 1.28M | 0); |
165 | | |
166 | 1.28M | prev_a_offset = a_offsets[i]; |
167 | 1.28M | } |
168 | 811 | } _ZN5doris20StringComparisonImplINS_9GreaterOpILNS_13PrimitiveTypeE5EEEE22string_vector_constantERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERKNS5_IjLm4096ES8_Lm16ELm15EEESB_jRS9_ Line | Count | Source | 154 | 191 | PaddedPODArray<UInt8>& c) { | 155 | 191 | size_t size = a_offsets.size(); | 156 | 191 | ColumnString::Offset prev_a_offset = 0; | 157 | 191 | const auto* a_pos = a_data.data(); | 158 | 191 | const auto* b_pos = b_data.data(); | 159 | | | 160 | 325k | for (size_t i = 0; i < size; ++i) { | 161 | 325k | c[i] = Op::apply( | 162 | 325k | memcmp_small_allow_overflow15(a_pos + prev_a_offset, | 163 | 325k | a_offsets[i] - prev_a_offset, b_pos, b_size), | 164 | 325k | 0); | 165 | | | 166 | 325k | prev_a_offset = a_offsets[i]; | 167 | 325k | } | 168 | 191 | } |
_ZN5doris20StringComparisonImplINS_6LessOpILNS_13PrimitiveTypeE5EEEE22string_vector_constantERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERKNS5_IjLm4096ES8_Lm16ELm15EEESB_jRS9_ Line | Count | Source | 154 | 106 | PaddedPODArray<UInt8>& c) { | 155 | 106 | size_t size = a_offsets.size(); | 156 | 106 | ColumnString::Offset prev_a_offset = 0; | 157 | 106 | const auto* a_pos = a_data.data(); | 158 | 106 | const auto* b_pos = b_data.data(); | 159 | | | 160 | 72.8k | for (size_t i = 0; i < size; ++i) { | 161 | 72.7k | c[i] = Op::apply( | 162 | 72.7k | memcmp_small_allow_overflow15(a_pos + prev_a_offset, | 163 | 72.7k | a_offsets[i] - prev_a_offset, b_pos, b_size), | 164 | 72.7k | 0); | 165 | | | 166 | 72.7k | prev_a_offset = a_offsets[i]; | 167 | 72.7k | } | 168 | 106 | } |
_ZN5doris20StringComparisonImplINS_17GreaterOrEqualsOpILNS_13PrimitiveTypeE5EEEE22string_vector_constantERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERKNS5_IjLm4096ES8_Lm16ELm15EEESB_jRS9_ Line | Count | Source | 154 | 290 | PaddedPODArray<UInt8>& c) { | 155 | 290 | size_t size = a_offsets.size(); | 156 | 290 | ColumnString::Offset prev_a_offset = 0; | 157 | 290 | const auto* a_pos = a_data.data(); | 158 | 290 | const auto* b_pos = b_data.data(); | 159 | | | 160 | 536k | for (size_t i = 0; i < size; ++i) { | 161 | 536k | c[i] = Op::apply( | 162 | 536k | memcmp_small_allow_overflow15(a_pos + prev_a_offset, | 163 | 536k | a_offsets[i] - prev_a_offset, b_pos, b_size), | 164 | 536k | 0); | 165 | | | 166 | 536k | prev_a_offset = a_offsets[i]; | 167 | 536k | } | 168 | 290 | } |
_ZN5doris20StringComparisonImplINS_14LessOrEqualsOpILNS_13PrimitiveTypeE5EEEE22string_vector_constantERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERKNS5_IjLm4096ES8_Lm16ELm15EEESB_jRS9_ Line | Count | Source | 154 | 224 | PaddedPODArray<UInt8>& c) { | 155 | 224 | size_t size = a_offsets.size(); | 156 | 224 | ColumnString::Offset prev_a_offset = 0; | 157 | 224 | const auto* a_pos = a_data.data(); | 158 | 224 | const auto* b_pos = b_data.data(); | 159 | | | 160 | 350k | for (size_t i = 0; i < size; ++i) { | 161 | 350k | c[i] = Op::apply( | 162 | 350k | memcmp_small_allow_overflow15(a_pos + prev_a_offset, | 163 | 350k | a_offsets[i] - prev_a_offset, b_pos, b_size), | 164 | 350k | 0); | 165 | | | 166 | 350k | prev_a_offset = a_offsets[i]; | 167 | 350k | } | 168 | 224 | } |
|
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 | 429 | PaddedPODArray<UInt8>& c) { |
187 | 429 | size_t size = a_offsets.size(); |
188 | 429 | ColumnString::Offset prev_a_offset = 0; |
189 | 429 | ColumnString::Offset prev_b_offset = 0; |
190 | 429 | const auto* a_pos = a_data.data(); |
191 | 429 | const auto* b_pos = b_data.data(); |
192 | | |
193 | 1.34k | for (size_t i = 0; i < size; ++i) { |
194 | 918 | auto a_size = a_offsets[i] - prev_a_offset; |
195 | 918 | auto b_size = b_offsets[i] - prev_b_offset; |
196 | | |
197 | 918 | c[i] = positive == memequal_small_allow_overflow15(a_pos + prev_a_offset, a_size, |
198 | 918 | b_pos + prev_b_offset, b_size); |
199 | | |
200 | 918 | prev_a_offset = a_offsets[i]; |
201 | 918 | prev_b_offset = b_offsets[i]; |
202 | 918 | } |
203 | 429 | } _ZN5doris16StringEqualsImplILb1EE27string_vector_string_vectorERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERKNS2_IjLm4096ES5_Lm16ELm15EEES8_SB_RS6_ Line | Count | Source | 186 | 428 | PaddedPODArray<UInt8>& c) { | 187 | 428 | size_t size = a_offsets.size(); | 188 | 428 | ColumnString::Offset prev_a_offset = 0; | 189 | 428 | ColumnString::Offset prev_b_offset = 0; | 190 | 428 | const auto* a_pos = a_data.data(); | 191 | 428 | const auto* b_pos = b_data.data(); | 192 | | | 193 | 1.34k | for (size_t i = 0; i < size; ++i) { | 194 | 914 | auto a_size = a_offsets[i] - prev_a_offset; | 195 | 914 | auto b_size = b_offsets[i] - prev_b_offset; | 196 | | | 197 | 914 | c[i] = positive == memequal_small_allow_overflow15(a_pos + prev_a_offset, a_size, | 198 | 914 | b_pos + prev_b_offset, b_size); | 199 | | | 200 | 914 | prev_a_offset = a_offsets[i]; | 201 | 914 | prev_b_offset = b_offsets[i]; | 202 | 914 | } | 203 | 428 | } |
_ZN5doris16StringEqualsImplILb0EE27string_vector_string_vectorERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERKNS2_IjLm4096ES5_Lm16ELm15EEES8_SB_RS6_ Line | Count | Source | 186 | 1 | PaddedPODArray<UInt8>& c) { | 187 | 1 | size_t size = a_offsets.size(); | 188 | 1 | ColumnString::Offset prev_a_offset = 0; | 189 | 1 | ColumnString::Offset prev_b_offset = 0; | 190 | 1 | const auto* a_pos = a_data.data(); | 191 | 1 | const auto* b_pos = b_data.data(); | 192 | | | 193 | 5 | for (size_t i = 0; i < size; ++i) { | 194 | 4 | auto a_size = a_offsets[i] - prev_a_offset; | 195 | 4 | auto b_size = b_offsets[i] - prev_b_offset; | 196 | | | 197 | 4 | c[i] = positive == memequal_small_allow_overflow15(a_pos + prev_a_offset, a_size, | 198 | 4 | b_pos + prev_b_offset, b_size); | 199 | | | 200 | 4 | prev_a_offset = a_offsets[i]; | 201 | 4 | prev_b_offset = b_offsets[i]; | 202 | 4 | } | 203 | 1 | } |
|
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 | 10.6k | PaddedPODArray<UInt8>& c) { |
210 | 10.6k | size_t size = a_offsets.size(); |
211 | 10.6k | if (b_size == 0) { |
212 | 1 | auto* __restrict data = c.data(); |
213 | 1 | auto* __restrict offsets = a_offsets.data(); |
214 | | |
215 | 1 | ColumnString::Offset prev_a_offset = 0; |
216 | 4 | for (size_t i = 0; i < size; ++i) { |
217 | 3 | data[i] = positive ? (offsets[i] == prev_a_offset) : (offsets[i] != prev_a_offset); |
218 | 3 | prev_a_offset = offsets[i]; |
219 | 3 | } |
220 | 10.6k | } else { |
221 | 10.6k | ColumnString::Offset prev_a_offset = 0; |
222 | 10.6k | const auto* a_pos = a_data.data(); |
223 | 10.6k | const auto* b_pos = b_data.data(); |
224 | 1.38M | for (size_t i = 0; i < size; ++i) { |
225 | 1.37M | auto a_size = a_offsets[i] - prev_a_offset; |
226 | 1.37M | c[i] = positive == memequal_small_allow_overflow15(a_pos + prev_a_offset, a_size, |
227 | 1.37M | b_pos, b_size); |
228 | 1.37M | prev_a_offset = a_offsets[i]; |
229 | 1.37M | } |
230 | 10.6k | } |
231 | 10.6k | } _ZN5doris16StringEqualsImplILb1EE22string_vector_constantERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERKNS2_IjLm4096ES5_Lm16ELm15EEES8_jRS6_ Line | Count | Source | 209 | 10.6k | PaddedPODArray<UInt8>& c) { | 210 | 10.6k | size_t size = a_offsets.size(); | 211 | 10.6k | 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 | 10.6k | } else { | 221 | 10.6k | ColumnString::Offset prev_a_offset = 0; | 222 | 10.6k | const auto* a_pos = a_data.data(); | 223 | 10.6k | const auto* b_pos = b_data.data(); | 224 | 1.34M | for (size_t i = 0; i < size; ++i) { | 225 | 1.33M | auto a_size = a_offsets[i] - prev_a_offset; | 226 | 1.33M | c[i] = positive == memequal_small_allow_overflow15(a_pos + prev_a_offset, a_size, | 227 | 1.33M | b_pos, b_size); | 228 | 1.33M | prev_a_offset = a_offsets[i]; | 229 | 1.33M | } | 230 | 10.6k | } | 231 | 10.6k | } |
_ZN5doris16StringEqualsImplILb0EE22string_vector_constantERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERKNS2_IjLm4096ES5_Lm16ELm15EEES8_jRS6_ Line | Count | Source | 209 | 92 | PaddedPODArray<UInt8>& c) { | 210 | 92 | size_t size = a_offsets.size(); | 211 | 92 | if (b_size == 0) { | 212 | 1 | auto* __restrict data = c.data(); | 213 | 1 | auto* __restrict offsets = a_offsets.data(); | 214 | | | 215 | 1 | ColumnString::Offset prev_a_offset = 0; | 216 | 4 | for (size_t i = 0; i < size; ++i) { | 217 | 3 | data[i] = positive ? (offsets[i] == prev_a_offset) : (offsets[i] != prev_a_offset); | 218 | 3 | prev_a_offset = offsets[i]; | 219 | 3 | } | 220 | 91 | } else { | 221 | 91 | ColumnString::Offset prev_a_offset = 0; | 222 | 91 | const auto* a_pos = a_data.data(); | 223 | 91 | const auto* b_pos = b_data.data(); | 224 | 43.4k | for (size_t i = 0; i < size; ++i) { | 225 | 43.3k | auto a_size = a_offsets[i] - prev_a_offset; | 226 | 43.3k | c[i] = positive == memequal_small_allow_overflow15(a_pos + prev_a_offset, a_size, | 227 | 43.3k | b_pos, b_size); | 228 | 43.3k | prev_a_offset = a_offsets[i]; | 229 | 43.3k | } | 230 | 91 | } | 231 | 92 | } |
|
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 | 4 | inline Op symmetric_op(Op op) { |
278 | 4 | switch (op) { |
279 | 0 | case Op::EQ: |
280 | 0 | case Op::NE: |
281 | 0 | return op; |
282 | 2 | case Op::LT: |
283 | 2 | 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 | 4 | } |
291 | 0 | __builtin_unreachable(); |
292 | 4 | } |
293 | | |
294 | | inline ZoneMapFilterResult evaluate(const ZoneMapEvalContext& ctx, const VExprSPtrs& arguments, |
295 | 2.49k | Op op) { |
296 | 2.49k | auto slot_literal = expr_zonemap::extract_slot_and_literal(arguments); |
297 | | |
298 | 2.49k | auto slot_type = expr_zonemap::fetch_compatible_slot_type(ctx, slot_literal->slot_index, |
299 | 2.49k | slot_literal->slot_type); |
300 | 2.49k | if (slot_type == nullptr) { |
301 | 1 | return unsupported_zonemap_filter(ctx); |
302 | 1 | } |
303 | 2.49k | auto zone_map_ptr = ctx.zone_map(slot_literal->slot_index); |
304 | 2.49k | if (zone_map_ptr == nullptr) { |
305 | 30 | return unsupported_zonemap_filter(ctx); |
306 | 30 | } |
307 | 2.46k | const auto& zone_map = *zone_map_ptr; |
308 | 2.46k | if (!zone_map.has_not_null) { |
309 | 59 | return ZoneMapFilterResult::kNoMatch; |
310 | 59 | } |
311 | 2.40k | if (!expr_zonemap::range_stats_usable_for_zonemap(zone_map, slot_type)) { |
312 | 109 | return unsupported_zonemap_filter(ctx); |
313 | 109 | } |
314 | | |
315 | 2.29k | const auto effective_op = slot_literal->literal_on_left ? symmetric_op(op) : op; |
316 | 2.29k | const auto& literal = slot_literal->literal; |
317 | 2.29k | switch (effective_op) { |
318 | 1.40k | case Op::EQ: |
319 | 1.40k | return literal < zone_map.min_value || zone_map.max_value < literal |
320 | 1.40k | ? ZoneMapFilterResult::kNoMatch |
321 | 1.40k | : ZoneMapFilterResult::kMayMatch; |
322 | 96 | case Op::NE: |
323 | 96 | return zone_map.min_value == literal && zone_map.max_value == literal |
324 | 96 | ? ZoneMapFilterResult::kNoMatch |
325 | 96 | : ZoneMapFilterResult::kMayMatch; |
326 | 195 | case Op::LT: |
327 | 195 | return zone_map.min_value >= literal ? ZoneMapFilterResult::kNoMatch |
328 | 195 | : ZoneMapFilterResult::kMayMatch; |
329 | 177 | case Op::LE: |
330 | 177 | return zone_map.min_value > literal ? ZoneMapFilterResult::kNoMatch |
331 | 177 | : ZoneMapFilterResult::kMayMatch; |
332 | 218 | case Op::GT: |
333 | 218 | return zone_map.max_value <= literal ? ZoneMapFilterResult::kNoMatch |
334 | 218 | : ZoneMapFilterResult::kMayMatch; |
335 | 209 | case Op::GE: |
336 | 209 | return zone_map.max_value < literal ? ZoneMapFilterResult::kNoMatch |
337 | 209 | : ZoneMapFilterResult::kMayMatch; |
338 | 2.29k | } |
339 | | |
340 | | // keep this to avoid compile failure with g++. |
341 | 0 | __builtin_unreachable(); |
342 | 2.29k | } |
343 | | |
344 | 28.4k | inline bool can_evaluate(const VExprSPtrs& arguments) { |
345 | 28.4k | auto slot_literal = expr_zonemap::extract_slot_and_literal(arguments); |
346 | 28.4k | if (!slot_literal.has_value()) { |
347 | 18.7k | return false; |
348 | 18.7k | } |
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 | 9.69k | if (slot_literal->literal.is_null()) { |
354 | 4 | return false; |
355 | 4 | } |
356 | | |
357 | 9.68k | DORIS_CHECK(slot_literal->slot_type != nullptr); |
358 | 9.68k | DORIS_CHECK(slot_literal->literal_type != nullptr); |
359 | 9.68k | 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 | 1 | return false; |
364 | 1 | } |
365 | | |
366 | 9.68k | return true; |
367 | 9.68k | } |
368 | | |
369 | 36 | inline bool can_evaluate_equality(const VExprSPtrs& arguments, Op op) { |
370 | 36 | return op == Op::EQ && can_evaluate(arguments); |
371 | 36 | } |
372 | | |
373 | | inline ZoneMapFilterResult evaluate_dictionary(const DictionaryEvalContext& ctx, |
374 | 4 | const VExprSPtrs& arguments, Op op) { |
375 | 4 | DORIS_CHECK(op == Op::EQ); |
376 | 4 | auto slot_literal = expr_zonemap::extract_slot_and_literal(arguments); |
377 | 4 | DORIS_CHECK(slot_literal.has_value()); |
378 | 4 | return expr_zonemap::eval_eq_dictionary(ctx, *slot_literal); |
379 | 4 | } |
380 | | |
381 | | inline ZoneMapFilterResult evaluate_bloom_filter(const BloomFilterEvalContext& ctx, |
382 | 4 | const VExprSPtrs& arguments, Op op) { |
383 | 4 | DORIS_CHECK(op == Op::EQ); |
384 | 4 | auto slot_literal = expr_zonemap::extract_slot_and_literal(arguments); |
385 | 4 | DORIS_CHECK(slot_literal.has_value()); |
386 | 4 | return expr_zonemap::eval_eq_bloom_filter(ctx, *slot_literal); |
387 | 4 | } |
388 | | |
389 | 31.0k | inline std::optional<Op> op_from_name(std::string_view name) { |
390 | 31.0k | if (name == NameEquals::name) { |
391 | 15.0k | return Op::EQ; |
392 | 15.0k | } |
393 | 16.0k | if (name == NameNotEquals::name) { |
394 | 1.41k | return Op::NE; |
395 | 1.41k | } |
396 | 14.5k | if (name == NameLess::name) { |
397 | 3.29k | return Op::LT; |
398 | 3.29k | } |
399 | 11.3k | if (name == NameLessOrEquals::name) { |
400 | 2.18k | return Op::LE; |
401 | 2.18k | } |
402 | 9.11k | if (name == NameGreater::name) { |
403 | 5.10k | return Op::GT; |
404 | 5.10k | } |
405 | 4.08k | if (name == NameGreaterOrEquals::name) { |
406 | 4.08k | return Op::GE; |
407 | 4.08k | } |
408 | 18.4E | return std::nullopt; |
409 | 4.01k | } |
410 | | } // namespace comparison_zonemap_detail |
411 | | |
412 | | template <template <PrimitiveType> class Op, typename Name> |
413 | | class FunctionComparison : public IFunction { |
414 | | public: |
415 | | static constexpr auto name = Name::name; |
416 | 265k | static FunctionPtr create() { return std::make_shared<FunctionComparison>(); }_ZN5doris18FunctionComparisonINS_8EqualsOpENS_10NameEqualsEE6createEv Line | Count | Source | 416 | 240k | static FunctionPtr create() { return std::make_shared<FunctionComparison>(); } |
_ZN5doris18FunctionComparisonINS_11NotEqualsOpENS_13NameNotEqualsEE6createEv Line | Count | Source | 416 | 1.18k | static FunctionPtr create() { return std::make_shared<FunctionComparison>(); } |
_ZN5doris18FunctionComparisonINS_9GreaterOpENS_11NameGreaterEE6createEv Line | Count | Source | 416 | 4.94k | static FunctionPtr create() { return std::make_shared<FunctionComparison>(); } |
_ZN5doris18FunctionComparisonINS_17GreaterOrEqualsOpENS_19NameGreaterOrEqualsEE6createEv Line | Count | Source | 416 | 6.85k | static FunctionPtr create() { return std::make_shared<FunctionComparison>(); } |
_ZN5doris18FunctionComparisonINS_6LessOpENS_8NameLessEE6createEv Line | Count | Source | 416 | 3.02k | static FunctionPtr create() { return std::make_shared<FunctionComparison>(); } |
_ZN5doris18FunctionComparisonINS_14LessOrEqualsOpENS_16NameLessOrEqualsEE6createEv Line | Count | Source | 416 | 9.11k | static FunctionPtr create() { return std::make_shared<FunctionComparison>(); } |
|
417 | | |
418 | 265k | FunctionComparison() = default; _ZN5doris18FunctionComparisonINS_8EqualsOpENS_10NameEqualsEEC2Ev Line | Count | Source | 418 | 240k | FunctionComparison() = default; |
_ZN5doris18FunctionComparisonINS_11NotEqualsOpENS_13NameNotEqualsEEC2Ev Line | Count | Source | 418 | 1.18k | FunctionComparison() = default; |
_ZN5doris18FunctionComparisonINS_9GreaterOpENS_11NameGreaterEEC2Ev Line | Count | Source | 418 | 4.94k | FunctionComparison() = default; |
_ZN5doris18FunctionComparisonINS_17GreaterOrEqualsOpENS_19NameGreaterOrEqualsEEC2Ev Line | Count | Source | 418 | 6.85k | FunctionComparison() = default; |
_ZN5doris18FunctionComparisonINS_6LessOpENS_8NameLessEEC2Ev Line | Count | Source | 418 | 3.02k | FunctionComparison() = default; |
_ZN5doris18FunctionComparisonINS_14LessOrEqualsOpENS_16NameLessOrEqualsEEC2Ev Line | Count | Source | 418 | 9.10k | FunctionComparison() = default; |
|
419 | | |
420 | 658k | double execute_cost() const override { return 0.5; }_ZNK5doris18FunctionComparisonINS_8EqualsOpENS_10NameEqualsEE12execute_costEv Line | Count | Source | 420 | 641k | double execute_cost() const override { return 0.5; } |
_ZNK5doris18FunctionComparisonINS_11NotEqualsOpENS_13NameNotEqualsEE12execute_costEv Line | Count | Source | 420 | 603 | double execute_cost() const override { return 0.5; } |
_ZNK5doris18FunctionComparisonINS_9GreaterOpENS_11NameGreaterEE12execute_costEv Line | Count | Source | 420 | 1.89k | double execute_cost() const override { return 0.5; } |
_ZNK5doris18FunctionComparisonINS_17GreaterOrEqualsOpENS_19NameGreaterOrEqualsEE12execute_costEv Line | Count | Source | 420 | 7.88k | double execute_cost() const override { return 0.5; } |
_ZNK5doris18FunctionComparisonINS_6LessOpENS_8NameLessEE12execute_costEv Line | Count | Source | 420 | 1.14k | double execute_cost() const override { return 0.5; } |
_ZNK5doris18FunctionComparisonINS_14LessOrEqualsOpENS_16NameLessOrEqualsEE12execute_costEv Line | Count | Source | 420 | 4.99k | double execute_cost() const override { return 0.5; } |
|
421 | | |
422 | | private: |
423 | | template <PrimitiveType PT> |
424 | | Status execute_num_type(Block& block, uint32_t result, const ColumnPtr& col_left_ptr, |
425 | 108k | const ColumnPtr& col_right_ptr) const { |
426 | 108k | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); |
427 | 108k | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); |
428 | | |
429 | 108k | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); |
430 | 108k | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); |
431 | | |
432 | 108k | DCHECK(!(left_is_const && right_is_const)); |
433 | | |
434 | 108k | if (!left_is_const && !right_is_const) { |
435 | 11.3k | auto col_res = ColumnUInt8::create(); |
436 | | |
437 | 11.3k | ColumnUInt8::Container& vec_res = col_res->get_data(); |
438 | 11.3k | vec_res.resize(col_left->get_data().size()); |
439 | 11.3k | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, |
440 | 11.3k | typename PrimitiveTypeTraits<PT>::CppType, |
441 | 11.3k | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), |
442 | 11.3k | vec_res); |
443 | | |
444 | 11.3k | block.replace_by_position(result, std::move(col_res)); |
445 | 97.2k | } else if (!left_is_const && right_is_const) { |
446 | 30.9k | auto col_res = ColumnUInt8::create(); |
447 | | |
448 | 30.9k | ColumnUInt8::Container& vec_res = col_res->get_data(); |
449 | 30.9k | vec_res.resize(col_left->size()); |
450 | 30.9k | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, |
451 | 30.9k | typename PrimitiveTypeTraits<PT>::CppType, |
452 | 30.9k | Op<PT>>::vector_constant(col_left->get_data(), |
453 | 30.9k | col_right->get_element(0), vec_res); |
454 | | |
455 | 30.9k | block.replace_by_position(result, std::move(col_res)); |
456 | 66.3k | } else if (left_is_const && !right_is_const) { |
457 | 66.3k | auto col_res = ColumnUInt8::create(); |
458 | | |
459 | 66.3k | ColumnUInt8::Container& vec_res = col_res->get_data(); |
460 | 66.3k | vec_res.resize(col_right->size()); |
461 | 66.3k | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, |
462 | 66.3k | typename PrimitiveTypeTraits<PT>::CppType, |
463 | 66.3k | Op<PT>>::constant_vector(col_left->get_element(0), |
464 | 66.3k | col_right->get_data(), vec_res); |
465 | | |
466 | 66.3k | block.replace_by_position(result, std::move(col_res)); |
467 | 66.3k | } |
468 | 108k | return Status::OK(); |
469 | 108k | } _ZNK5doris18FunctionComparisonINS_8EqualsOpENS_10NameEqualsEE16execute_num_typeILNS_13PrimitiveTypeE2EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 425 | 91 | const ColumnPtr& col_right_ptr) const { | 426 | 91 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 427 | 91 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 428 | | | 429 | 91 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 430 | 91 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 431 | | | 432 | 91 | DCHECK(!(left_is_const && right_is_const)); | 433 | | | 434 | 91 | if (!left_is_const && !right_is_const) { | 435 | 67 | auto col_res = ColumnUInt8::create(); | 436 | | | 437 | 67 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 438 | 67 | vec_res.resize(col_left->get_data().size()); | 439 | 67 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 440 | 67 | typename PrimitiveTypeTraits<PT>::CppType, | 441 | 67 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 442 | 67 | vec_res); | 443 | | | 444 | 67 | block.replace_by_position(result, std::move(col_res)); | 445 | 67 | } else if (!left_is_const && right_is_const) { | 446 | 24 | auto col_res = ColumnUInt8::create(); | 447 | | | 448 | 24 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 449 | 24 | vec_res.resize(col_left->size()); | 450 | 24 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 451 | 24 | typename PrimitiveTypeTraits<PT>::CppType, | 452 | 24 | Op<PT>>::vector_constant(col_left->get_data(), | 453 | 24 | col_right->get_element(0), vec_res); | 454 | | | 455 | 24 | block.replace_by_position(result, std::move(col_res)); | 456 | 24 | } else if (left_is_const && !right_is_const) { | 457 | 0 | auto col_res = ColumnUInt8::create(); | 458 | |
| 459 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 460 | 0 | vec_res.resize(col_right->size()); | 461 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 462 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 463 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 464 | 0 | col_right->get_data(), vec_res); | 465 | |
| 466 | 0 | block.replace_by_position(result, std::move(col_res)); | 467 | 0 | } | 468 | 91 | return Status::OK(); | 469 | 91 | } |
_ZNK5doris18FunctionComparisonINS_8EqualsOpENS_10NameEqualsEE16execute_num_typeILNS_13PrimitiveTypeE25EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 425 | 858 | const ColumnPtr& col_right_ptr) const { | 426 | 858 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 427 | 858 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 428 | | | 429 | 858 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 430 | 858 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 431 | | | 432 | 858 | DCHECK(!(left_is_const && right_is_const)); | 433 | | | 434 | 858 | if (!left_is_const && !right_is_const) { | 435 | 319 | auto col_res = ColumnUInt8::create(); | 436 | | | 437 | 319 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 438 | 319 | vec_res.resize(col_left->get_data().size()); | 439 | 319 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 440 | 319 | typename PrimitiveTypeTraits<PT>::CppType, | 441 | 319 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 442 | 319 | vec_res); | 443 | | | 444 | 319 | block.replace_by_position(result, std::move(col_res)); | 445 | 539 | } else if (!left_is_const && right_is_const) { | 446 | 539 | auto col_res = ColumnUInt8::create(); | 447 | | | 448 | 539 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 449 | 539 | vec_res.resize(col_left->size()); | 450 | 539 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 451 | 539 | typename PrimitiveTypeTraits<PT>::CppType, | 452 | 539 | Op<PT>>::vector_constant(col_left->get_data(), | 453 | 539 | col_right->get_element(0), vec_res); | 454 | | | 455 | 539 | block.replace_by_position(result, std::move(col_res)); | 456 | 539 | } else if (left_is_const && !right_is_const) { | 457 | 0 | auto col_res = ColumnUInt8::create(); | 458 | |
| 459 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 460 | 0 | vec_res.resize(col_right->size()); | 461 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 462 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 463 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 464 | 0 | col_right->get_data(), vec_res); | 465 | |
| 466 | 0 | block.replace_by_position(result, std::move(col_res)); | 467 | 0 | } | 468 | 858 | return Status::OK(); | 469 | 858 | } |
_ZNK5doris18FunctionComparisonINS_8EqualsOpENS_10NameEqualsEE16execute_num_typeILNS_13PrimitiveTypeE26EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 425 | 427 | const ColumnPtr& col_right_ptr) const { | 426 | 427 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 427 | 427 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 428 | | | 429 | 427 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 430 | 427 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 431 | | | 432 | 427 | DCHECK(!(left_is_const && right_is_const)); | 433 | | | 434 | 427 | if (!left_is_const && !right_is_const) { | 435 | 245 | auto col_res = ColumnUInt8::create(); | 436 | | | 437 | 245 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 438 | 245 | vec_res.resize(col_left->get_data().size()); | 439 | 245 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 440 | 245 | typename PrimitiveTypeTraits<PT>::CppType, | 441 | 245 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 442 | 245 | vec_res); | 443 | | | 444 | 245 | block.replace_by_position(result, std::move(col_res)); | 445 | 245 | } else if (!left_is_const && right_is_const) { | 446 | 182 | auto col_res = ColumnUInt8::create(); | 447 | | | 448 | 182 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 449 | 182 | vec_res.resize(col_left->size()); | 450 | 182 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 451 | 182 | typename PrimitiveTypeTraits<PT>::CppType, | 452 | 182 | Op<PT>>::vector_constant(col_left->get_data(), | 453 | 182 | col_right->get_element(0), vec_res); | 454 | | | 455 | 182 | block.replace_by_position(result, std::move(col_res)); | 456 | 182 | } else if (left_is_const && !right_is_const) { | 457 | 0 | auto col_res = ColumnUInt8::create(); | 458 | |
| 459 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 460 | 0 | vec_res.resize(col_right->size()); | 461 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 462 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 463 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 464 | 0 | col_right->get_data(), vec_res); | 465 | |
| 466 | 0 | block.replace_by_position(result, std::move(col_res)); | 467 | 0 | } | 468 | 427 | return Status::OK(); | 469 | 427 | } |
_ZNK5doris18FunctionComparisonINS_8EqualsOpENS_10NameEqualsEE16execute_num_typeILNS_13PrimitiveTypeE42EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 425 | 2 | const ColumnPtr& col_right_ptr) const { | 426 | 2 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 427 | 2 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 428 | | | 429 | 2 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 430 | 2 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 431 | | | 432 | 2 | DCHECK(!(left_is_const && right_is_const)); | 433 | | | 434 | 2 | if (!left_is_const && !right_is_const) { | 435 | 2 | auto col_res = ColumnUInt8::create(); | 436 | | | 437 | 2 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 438 | 2 | vec_res.resize(col_left->get_data().size()); | 439 | 2 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 440 | 2 | typename PrimitiveTypeTraits<PT>::CppType, | 441 | 2 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 442 | 2 | vec_res); | 443 | | | 444 | 2 | block.replace_by_position(result, std::move(col_res)); | 445 | 2 | } else if (!left_is_const && right_is_const) { | 446 | 0 | auto col_res = ColumnUInt8::create(); | 447 | |
| 448 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 449 | 0 | vec_res.resize(col_left->size()); | 450 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 451 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 452 | 0 | Op<PT>>::vector_constant(col_left->get_data(), | 453 | 0 | col_right->get_element(0), vec_res); | 454 | |
| 455 | 0 | block.replace_by_position(result, std::move(col_res)); | 456 | 0 | } else if (left_is_const && !right_is_const) { | 457 | 0 | auto col_res = ColumnUInt8::create(); | 458 | |
| 459 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 460 | 0 | vec_res.resize(col_right->size()); | 461 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 462 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 463 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 464 | 0 | col_right->get_data(), vec_res); | 465 | |
| 466 | 0 | block.replace_by_position(result, std::move(col_res)); | 467 | 0 | } | 468 | 2 | return Status::OK(); | 469 | 2 | } |
_ZNK5doris18FunctionComparisonINS_8EqualsOpENS_10NameEqualsEE16execute_num_typeILNS_13PrimitiveTypeE3EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 425 | 5.02k | const ColumnPtr& col_right_ptr) const { | 426 | 5.02k | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 427 | 5.02k | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 428 | | | 429 | 5.02k | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 430 | 5.02k | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 431 | | | 432 | 5.02k | DCHECK(!(left_is_const && right_is_const)); | 433 | | | 434 | 5.02k | if (!left_is_const && !right_is_const) { | 435 | 140 | auto col_res = ColumnUInt8::create(); | 436 | | | 437 | 140 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 438 | 140 | vec_res.resize(col_left->get_data().size()); | 439 | 140 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 440 | 140 | typename PrimitiveTypeTraits<PT>::CppType, | 441 | 140 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 442 | 140 | vec_res); | 443 | | | 444 | 140 | block.replace_by_position(result, std::move(col_res)); | 445 | 4.88k | } else if (!left_is_const && right_is_const) { | 446 | 4.59k | auto col_res = ColumnUInt8::create(); | 447 | | | 448 | 4.59k | ColumnUInt8::Container& vec_res = col_res->get_data(); | 449 | 4.59k | vec_res.resize(col_left->size()); | 450 | 4.59k | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 451 | 4.59k | typename PrimitiveTypeTraits<PT>::CppType, | 452 | 4.59k | Op<PT>>::vector_constant(col_left->get_data(), | 453 | 4.59k | col_right->get_element(0), vec_res); | 454 | | | 455 | 4.59k | block.replace_by_position(result, std::move(col_res)); | 456 | 4.59k | } else if (left_is_const && !right_is_const) { | 457 | 288 | auto col_res = ColumnUInt8::create(); | 458 | | | 459 | 288 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 460 | 288 | vec_res.resize(col_right->size()); | 461 | 288 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 462 | 288 | typename PrimitiveTypeTraits<PT>::CppType, | 463 | 288 | Op<PT>>::constant_vector(col_left->get_element(0), | 464 | 288 | col_right->get_data(), vec_res); | 465 | | | 466 | 288 | block.replace_by_position(result, std::move(col_res)); | 467 | 288 | } | 468 | 5.02k | return Status::OK(); | 469 | 5.02k | } |
_ZNK5doris18FunctionComparisonINS_8EqualsOpENS_10NameEqualsEE16execute_num_typeILNS_13PrimitiveTypeE4EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 425 | 390 | const ColumnPtr& col_right_ptr) const { | 426 | 390 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 427 | 390 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 428 | | | 429 | 390 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 430 | 390 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 431 | | | 432 | 390 | DCHECK(!(left_is_const && right_is_const)); | 433 | | | 434 | 390 | if (!left_is_const && !right_is_const) { | 435 | 73 | auto col_res = ColumnUInt8::create(); | 436 | | | 437 | 73 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 438 | 73 | vec_res.resize(col_left->get_data().size()); | 439 | 73 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 440 | 73 | typename PrimitiveTypeTraits<PT>::CppType, | 441 | 73 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 442 | 73 | vec_res); | 443 | | | 444 | 73 | block.replace_by_position(result, std::move(col_res)); | 445 | 317 | } else if (!left_is_const && right_is_const) { | 446 | 269 | auto col_res = ColumnUInt8::create(); | 447 | | | 448 | 269 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 449 | 269 | vec_res.resize(col_left->size()); | 450 | 269 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 451 | 269 | typename PrimitiveTypeTraits<PT>::CppType, | 452 | 269 | Op<PT>>::vector_constant(col_left->get_data(), | 453 | 269 | col_right->get_element(0), vec_res); | 454 | | | 455 | 269 | block.replace_by_position(result, std::move(col_res)); | 456 | 269 | } else if (left_is_const && !right_is_const) { | 457 | 48 | auto col_res = ColumnUInt8::create(); | 458 | | | 459 | 48 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 460 | 48 | vec_res.resize(col_right->size()); | 461 | 48 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 462 | 48 | typename PrimitiveTypeTraits<PT>::CppType, | 463 | 48 | Op<PT>>::constant_vector(col_left->get_element(0), | 464 | 48 | col_right->get_data(), vec_res); | 465 | | | 466 | 48 | block.replace_by_position(result, std::move(col_res)); | 467 | 48 | } | 468 | 390 | return Status::OK(); | 469 | 390 | } |
_ZNK5doris18FunctionComparisonINS_8EqualsOpENS_10NameEqualsEE16execute_num_typeILNS_13PrimitiveTypeE5EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 425 | 2.04k | const ColumnPtr& col_right_ptr) const { | 426 | 2.04k | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 427 | 2.04k | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 428 | | | 429 | 2.04k | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 430 | 2.04k | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 431 | | | 432 | 2.04k | DCHECK(!(left_is_const && right_is_const)); | 433 | | | 434 | 2.04k | if (!left_is_const && !right_is_const) { | 435 | 239 | auto col_res = ColumnUInt8::create(); | 436 | | | 437 | 239 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 438 | 239 | vec_res.resize(col_left->get_data().size()); | 439 | 239 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 440 | 239 | typename PrimitiveTypeTraits<PT>::CppType, | 441 | 239 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 442 | 239 | vec_res); | 443 | | | 444 | 239 | block.replace_by_position(result, std::move(col_res)); | 445 | 1.80k | } else if (!left_is_const && right_is_const) { | 446 | 1.69k | auto col_res = ColumnUInt8::create(); | 447 | | | 448 | 1.69k | ColumnUInt8::Container& vec_res = col_res->get_data(); | 449 | 1.69k | vec_res.resize(col_left->size()); | 450 | 1.69k | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 451 | 1.69k | typename PrimitiveTypeTraits<PT>::CppType, | 452 | 1.69k | Op<PT>>::vector_constant(col_left->get_data(), | 453 | 1.69k | col_right->get_element(0), vec_res); | 454 | | | 455 | 1.69k | block.replace_by_position(result, std::move(col_res)); | 456 | 1.69k | } else if (left_is_const && !right_is_const) { | 457 | 110 | auto col_res = ColumnUInt8::create(); | 458 | | | 459 | 110 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 460 | 110 | vec_res.resize(col_right->size()); | 461 | 110 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 462 | 110 | typename PrimitiveTypeTraits<PT>::CppType, | 463 | 110 | Op<PT>>::constant_vector(col_left->get_element(0), | 464 | 110 | col_right->get_data(), vec_res); | 465 | | | 466 | 110 | block.replace_by_position(result, std::move(col_res)); | 467 | 110 | } | 468 | 2.04k | return Status::OK(); | 469 | 2.04k | } |
_ZNK5doris18FunctionComparisonINS_8EqualsOpENS_10NameEqualsEE16execute_num_typeILNS_13PrimitiveTypeE6EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 425 | 2.60k | const ColumnPtr& col_right_ptr) const { | 426 | 2.60k | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 427 | 2.60k | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 428 | | | 429 | 2.60k | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 430 | 2.60k | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 431 | | | 432 | 2.60k | DCHECK(!(left_is_const && right_is_const)); | 433 | | | 434 | 2.60k | if (!left_is_const && !right_is_const) { | 435 | 126 | auto col_res = ColumnUInt8::create(); | 436 | | | 437 | 126 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 438 | 126 | vec_res.resize(col_left->get_data().size()); | 439 | 126 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 440 | 126 | typename PrimitiveTypeTraits<PT>::CppType, | 441 | 126 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 442 | 126 | vec_res); | 443 | | | 444 | 126 | block.replace_by_position(result, std::move(col_res)); | 445 | 2.47k | } else if (!left_is_const && right_is_const) { | 446 | 1.72k | auto col_res = ColumnUInt8::create(); | 447 | | | 448 | 1.72k | ColumnUInt8::Container& vec_res = col_res->get_data(); | 449 | 1.72k | vec_res.resize(col_left->size()); | 450 | 1.72k | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 451 | 1.72k | typename PrimitiveTypeTraits<PT>::CppType, | 452 | 1.72k | Op<PT>>::vector_constant(col_left->get_data(), | 453 | 1.72k | col_right->get_element(0), vec_res); | 454 | | | 455 | 1.72k | block.replace_by_position(result, std::move(col_res)); | 456 | 1.72k | } else if (left_is_const && !right_is_const) { | 457 | 752 | auto col_res = ColumnUInt8::create(); | 458 | | | 459 | 752 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 460 | 752 | vec_res.resize(col_right->size()); | 461 | 752 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 462 | 752 | typename PrimitiveTypeTraits<PT>::CppType, | 463 | 752 | Op<PT>>::constant_vector(col_left->get_element(0), | 464 | 752 | col_right->get_data(), vec_res); | 465 | | | 466 | 752 | block.replace_by_position(result, std::move(col_res)); | 467 | 752 | } | 468 | 2.60k | return Status::OK(); | 469 | 2.60k | } |
_ZNK5doris18FunctionComparisonINS_8EqualsOpENS_10NameEqualsEE16execute_num_typeILNS_13PrimitiveTypeE7EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 425 | 114 | const ColumnPtr& col_right_ptr) const { | 426 | 114 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 427 | 114 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 428 | | | 429 | 114 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 430 | 114 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 431 | | | 432 | 114 | DCHECK(!(left_is_const && right_is_const)); | 433 | | | 434 | 114 | if (!left_is_const && !right_is_const) { | 435 | 71 | auto col_res = ColumnUInt8::create(); | 436 | | | 437 | 71 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 438 | 71 | vec_res.resize(col_left->get_data().size()); | 439 | 71 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 440 | 71 | typename PrimitiveTypeTraits<PT>::CppType, | 441 | 71 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 442 | 71 | vec_res); | 443 | | | 444 | 71 | block.replace_by_position(result, std::move(col_res)); | 445 | 71 | } else if (!left_is_const && right_is_const) { | 446 | 27 | auto col_res = ColumnUInt8::create(); | 447 | | | 448 | 27 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 449 | 27 | vec_res.resize(col_left->size()); | 450 | 27 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 451 | 27 | typename PrimitiveTypeTraits<PT>::CppType, | 452 | 27 | Op<PT>>::vector_constant(col_left->get_data(), | 453 | 27 | col_right->get_element(0), vec_res); | 454 | | | 455 | 27 | block.replace_by_position(result, std::move(col_res)); | 456 | 27 | } else if (left_is_const && !right_is_const) { | 457 | 16 | auto col_res = ColumnUInt8::create(); | 458 | | | 459 | 16 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 460 | 16 | vec_res.resize(col_right->size()); | 461 | 16 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 462 | 16 | typename PrimitiveTypeTraits<PT>::CppType, | 463 | 16 | Op<PT>>::constant_vector(col_left->get_element(0), | 464 | 16 | col_right->get_data(), vec_res); | 465 | | | 466 | 16 | block.replace_by_position(result, std::move(col_res)); | 467 | 16 | } | 468 | 114 | return Status::OK(); | 469 | 114 | } |
_ZNK5doris18FunctionComparisonINS_8EqualsOpENS_10NameEqualsEE16execute_num_typeILNS_13PrimitiveTypeE36EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 425 | 23 | const ColumnPtr& col_right_ptr) const { | 426 | 23 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 427 | 23 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 428 | | | 429 | 23 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 430 | 23 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 431 | | | 432 | 23 | DCHECK(!(left_is_const && right_is_const)); | 433 | | | 434 | 23 | if (!left_is_const && !right_is_const) { | 435 | 5 | auto col_res = ColumnUInt8::create(); | 436 | | | 437 | 5 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 438 | 5 | vec_res.resize(col_left->get_data().size()); | 439 | 5 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 440 | 5 | typename PrimitiveTypeTraits<PT>::CppType, | 441 | 5 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 442 | 5 | vec_res); | 443 | | | 444 | 5 | block.replace_by_position(result, std::move(col_res)); | 445 | 18 | } else if (!left_is_const && right_is_const) { | 446 | 18 | auto col_res = ColumnUInt8::create(); | 447 | | | 448 | 18 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 449 | 18 | vec_res.resize(col_left->size()); | 450 | 18 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 451 | 18 | typename PrimitiveTypeTraits<PT>::CppType, | 452 | 18 | Op<PT>>::vector_constant(col_left->get_data(), | 453 | 18 | col_right->get_element(0), vec_res); | 454 | | | 455 | 18 | block.replace_by_position(result, std::move(col_res)); | 456 | 18 | } else if (left_is_const && !right_is_const) { | 457 | 0 | auto col_res = ColumnUInt8::create(); | 458 | |
| 459 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 460 | 0 | vec_res.resize(col_right->size()); | 461 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 462 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 463 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 464 | 0 | col_right->get_data(), vec_res); | 465 | |
| 466 | 0 | block.replace_by_position(result, std::move(col_res)); | 467 | 0 | } | 468 | 23 | return Status::OK(); | 469 | 23 | } |
_ZNK5doris18FunctionComparisonINS_8EqualsOpENS_10NameEqualsEE16execute_num_typeILNS_13PrimitiveTypeE37EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 425 | 19 | const ColumnPtr& col_right_ptr) const { | 426 | 19 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 427 | 19 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 428 | | | 429 | 19 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 430 | 19 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 431 | | | 432 | 19 | DCHECK(!(left_is_const && right_is_const)); | 433 | | | 434 | 19 | if (!left_is_const && !right_is_const) { | 435 | 13 | auto col_res = ColumnUInt8::create(); | 436 | | | 437 | 13 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 438 | 13 | vec_res.resize(col_left->get_data().size()); | 439 | 13 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 440 | 13 | typename PrimitiveTypeTraits<PT>::CppType, | 441 | 13 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 442 | 13 | vec_res); | 443 | | | 444 | 13 | block.replace_by_position(result, std::move(col_res)); | 445 | 13 | } else if (!left_is_const && right_is_const) { | 446 | 6 | auto col_res = ColumnUInt8::create(); | 447 | | | 448 | 6 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 449 | 6 | vec_res.resize(col_left->size()); | 450 | 6 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 451 | 6 | typename PrimitiveTypeTraits<PT>::CppType, | 452 | 6 | Op<PT>>::vector_constant(col_left->get_data(), | 453 | 6 | col_right->get_element(0), vec_res); | 454 | | | 455 | 6 | block.replace_by_position(result, std::move(col_res)); | 456 | 6 | } else if (left_is_const && !right_is_const) { | 457 | 0 | auto col_res = ColumnUInt8::create(); | 458 | |
| 459 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 460 | 0 | vec_res.resize(col_right->size()); | 461 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 462 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 463 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 464 | 0 | col_right->get_data(), vec_res); | 465 | |
| 466 | 0 | block.replace_by_position(result, std::move(col_res)); | 467 | 0 | } | 468 | 19 | return Status::OK(); | 469 | 19 | } |
_ZNK5doris18FunctionComparisonINS_8EqualsOpENS_10NameEqualsEE16execute_num_typeILNS_13PrimitiveTypeE8EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 425 | 94 | const ColumnPtr& col_right_ptr) const { | 426 | 94 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 427 | 94 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 428 | | | 429 | 94 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 430 | 94 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 431 | | | 432 | 94 | DCHECK(!(left_is_const && right_is_const)); | 433 | | | 434 | 94 | if (!left_is_const && !right_is_const) { | 435 | 94 | auto col_res = ColumnUInt8::create(); | 436 | | | 437 | 94 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 438 | 94 | vec_res.resize(col_left->get_data().size()); | 439 | 94 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 440 | 94 | typename PrimitiveTypeTraits<PT>::CppType, | 441 | 94 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 442 | 94 | vec_res); | 443 | | | 444 | 94 | block.replace_by_position(result, std::move(col_res)); | 445 | 94 | } else if (!left_is_const && right_is_const) { | 446 | 0 | auto col_res = ColumnUInt8::create(); | 447 | |
| 448 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 449 | 0 | vec_res.resize(col_left->size()); | 450 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 451 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 452 | 0 | Op<PT>>::vector_constant(col_left->get_data(), | 453 | 0 | col_right->get_element(0), vec_res); | 454 | |
| 455 | 0 | block.replace_by_position(result, std::move(col_res)); | 456 | 0 | } else if (left_is_const && !right_is_const) { | 457 | 0 | auto col_res = ColumnUInt8::create(); | 458 | |
| 459 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 460 | 0 | vec_res.resize(col_right->size()); | 461 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 462 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 463 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 464 | 0 | col_right->get_data(), vec_res); | 465 | |
| 466 | 0 | block.replace_by_position(result, std::move(col_res)); | 467 | 0 | } | 468 | 94 | return Status::OK(); | 469 | 94 | } |
_ZNK5doris18FunctionComparisonINS_8EqualsOpENS_10NameEqualsEE16execute_num_typeILNS_13PrimitiveTypeE9EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 425 | 641 | const ColumnPtr& col_right_ptr) const { | 426 | 641 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 427 | 641 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 428 | | | 429 | 641 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 430 | 641 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 431 | | | 432 | 641 | DCHECK(!(left_is_const && right_is_const)); | 433 | | | 434 | 641 | if (!left_is_const && !right_is_const) { | 435 | 92 | auto col_res = ColumnUInt8::create(); | 436 | | | 437 | 92 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 438 | 92 | vec_res.resize(col_left->get_data().size()); | 439 | 92 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 440 | 92 | typename PrimitiveTypeTraits<PT>::CppType, | 441 | 92 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 442 | 92 | vec_res); | 443 | | | 444 | 92 | block.replace_by_position(result, std::move(col_res)); | 445 | 549 | } else if (!left_is_const && right_is_const) { | 446 | 549 | auto col_res = ColumnUInt8::create(); | 447 | | | 448 | 549 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 449 | 549 | vec_res.resize(col_left->size()); | 450 | 549 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 451 | 549 | typename PrimitiveTypeTraits<PT>::CppType, | 452 | 549 | Op<PT>>::vector_constant(col_left->get_data(), | 453 | 549 | col_right->get_element(0), vec_res); | 454 | | | 455 | 549 | block.replace_by_position(result, std::move(col_res)); | 456 | 549 | } else if (left_is_const && !right_is_const) { | 457 | 0 | auto col_res = ColumnUInt8::create(); | 458 | |
| 459 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 460 | 0 | vec_res.resize(col_right->size()); | 461 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 462 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 463 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 464 | 0 | col_right->get_data(), vec_res); | 465 | |
| 466 | 0 | block.replace_by_position(result, std::move(col_res)); | 467 | 0 | } | 468 | 641 | return Status::OK(); | 469 | 641 | } |
_ZNK5doris18FunctionComparisonINS_8EqualsOpENS_10NameEqualsEE16execute_num_typeILNS_13PrimitiveTypeE27EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 425 | 4 | const ColumnPtr& col_right_ptr) const { | 426 | 4 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 427 | 4 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 428 | | | 429 | 4 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 430 | 4 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 431 | | | 432 | 4 | DCHECK(!(left_is_const && right_is_const)); | 433 | | | 434 | 4 | if (!left_is_const && !right_is_const) { | 435 | 4 | auto col_res = ColumnUInt8::create(); | 436 | | | 437 | 4 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 438 | 4 | vec_res.resize(col_left->get_data().size()); | 439 | 4 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 440 | 4 | typename PrimitiveTypeTraits<PT>::CppType, | 441 | 4 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 442 | 4 | vec_res); | 443 | | | 444 | 4 | block.replace_by_position(result, std::move(col_res)); | 445 | 4 | } else if (!left_is_const && right_is_const) { | 446 | 0 | auto col_res = ColumnUInt8::create(); | 447 | |
| 448 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 449 | 0 | vec_res.resize(col_left->size()); | 450 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 451 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 452 | 0 | Op<PT>>::vector_constant(col_left->get_data(), | 453 | 0 | col_right->get_element(0), vec_res); | 454 | |
| 455 | 0 | block.replace_by_position(result, std::move(col_res)); | 456 | 0 | } else if (left_is_const && !right_is_const) { | 457 | 0 | auto col_res = ColumnUInt8::create(); | 458 | |
| 459 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 460 | 0 | vec_res.resize(col_right->size()); | 461 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 462 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 463 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 464 | 0 | col_right->get_data(), vec_res); | 465 | |
| 466 | 0 | block.replace_by_position(result, std::move(col_res)); | 467 | 0 | } | 468 | 4 | return Status::OK(); | 469 | 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 | 425 | 70 | const ColumnPtr& col_right_ptr) const { | 426 | 70 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 427 | 70 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 428 | | | 429 | 70 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 430 | 70 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 431 | | | 432 | 70 | DCHECK(!(left_is_const && right_is_const)); | 433 | | | 434 | 70 | if (!left_is_const && !right_is_const) { | 435 | 39 | auto col_res = ColumnUInt8::create(); | 436 | | | 437 | 39 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 438 | 39 | vec_res.resize(col_left->get_data().size()); | 439 | 39 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 440 | 39 | typename PrimitiveTypeTraits<PT>::CppType, | 441 | 39 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 442 | 39 | vec_res); | 443 | | | 444 | 39 | block.replace_by_position(result, std::move(col_res)); | 445 | 39 | } else if (!left_is_const && right_is_const) { | 446 | 31 | auto col_res = ColumnUInt8::create(); | 447 | | | 448 | 31 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 449 | 31 | vec_res.resize(col_left->size()); | 450 | 31 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 451 | 31 | typename PrimitiveTypeTraits<PT>::CppType, | 452 | 31 | Op<PT>>::vector_constant(col_left->get_data(), | 453 | 31 | col_right->get_element(0), vec_res); | 454 | | | 455 | 31 | block.replace_by_position(result, std::move(col_res)); | 456 | 31 | } else if (left_is_const && !right_is_const) { | 457 | 0 | auto col_res = ColumnUInt8::create(); | 458 | |
| 459 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 460 | 0 | vec_res.resize(col_right->size()); | 461 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 462 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 463 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 464 | 0 | col_right->get_data(), vec_res); | 465 | |
| 466 | 0 | block.replace_by_position(result, std::move(col_res)); | 467 | 0 | } | 468 | 70 | return Status::OK(); | 469 | 70 | } |
Unexecuted instantiation: _ZNK5doris18FunctionComparisonINS_11NotEqualsOpENS_13NameNotEqualsEE16execute_num_typeILNS_13PrimitiveTypeE26EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Unexecuted instantiation: _ZNK5doris18FunctionComparisonINS_11NotEqualsOpENS_13NameNotEqualsEE16execute_num_typeILNS_13PrimitiveTypeE42EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ _ZNK5doris18FunctionComparisonINS_11NotEqualsOpENS_13NameNotEqualsEE16execute_num_typeILNS_13PrimitiveTypeE3EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 425 | 84 | const ColumnPtr& col_right_ptr) const { | 426 | 84 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 427 | 84 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 428 | | | 429 | 84 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 430 | 84 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 431 | | | 432 | 84 | DCHECK(!(left_is_const && right_is_const)); | 433 | | | 434 | 84 | if (!left_is_const && !right_is_const) { | 435 | 56 | auto col_res = ColumnUInt8::create(); | 436 | | | 437 | 56 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 438 | 56 | vec_res.resize(col_left->get_data().size()); | 439 | 56 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 440 | 56 | typename PrimitiveTypeTraits<PT>::CppType, | 441 | 56 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 442 | 56 | vec_res); | 443 | | | 444 | 56 | block.replace_by_position(result, std::move(col_res)); | 445 | 56 | } else if (!left_is_const && right_is_const) { | 446 | 28 | auto col_res = ColumnUInt8::create(); | 447 | | | 448 | 28 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 449 | 28 | vec_res.resize(col_left->size()); | 450 | 28 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 451 | 28 | typename PrimitiveTypeTraits<PT>::CppType, | 452 | 28 | Op<PT>>::vector_constant(col_left->get_data(), | 453 | 28 | col_right->get_element(0), vec_res); | 454 | | | 455 | 28 | block.replace_by_position(result, std::move(col_res)); | 456 | 28 | } else if (left_is_const && !right_is_const) { | 457 | 0 | auto col_res = ColumnUInt8::create(); | 458 | |
| 459 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 460 | 0 | vec_res.resize(col_right->size()); | 461 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 462 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 463 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 464 | 0 | col_right->get_data(), vec_res); | 465 | |
| 466 | 0 | block.replace_by_position(result, std::move(col_res)); | 467 | 0 | } | 468 | 84 | return Status::OK(); | 469 | 84 | } |
Unexecuted instantiation: _ZNK5doris18FunctionComparisonINS_11NotEqualsOpENS_13NameNotEqualsEE16execute_num_typeILNS_13PrimitiveTypeE4EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ _ZNK5doris18FunctionComparisonINS_11NotEqualsOpENS_13NameNotEqualsEE16execute_num_typeILNS_13PrimitiveTypeE5EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 425 | 4.14k | const ColumnPtr& col_right_ptr) const { | 426 | 4.14k | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 427 | 4.14k | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 428 | | | 429 | 4.14k | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 430 | 4.14k | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 431 | | | 432 | 4.14k | DCHECK(!(left_is_const && right_is_const)); | 433 | | | 434 | 4.14k | if (!left_is_const && !right_is_const) { | 435 | 3.95k | auto col_res = ColumnUInt8::create(); | 436 | | | 437 | 3.95k | ColumnUInt8::Container& vec_res = col_res->get_data(); | 438 | 3.95k | vec_res.resize(col_left->get_data().size()); | 439 | 3.95k | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 440 | 3.95k | typename PrimitiveTypeTraits<PT>::CppType, | 441 | 3.95k | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 442 | 3.95k | vec_res); | 443 | | | 444 | 3.95k | block.replace_by_position(result, std::move(col_res)); | 445 | 3.95k | } else if (!left_is_const && right_is_const) { | 446 | 197 | auto col_res = ColumnUInt8::create(); | 447 | | | 448 | 197 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 449 | 197 | vec_res.resize(col_left->size()); | 450 | 197 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 451 | 197 | typename PrimitiveTypeTraits<PT>::CppType, | 452 | 197 | Op<PT>>::vector_constant(col_left->get_data(), | 453 | 197 | col_right->get_element(0), vec_res); | 454 | | | 455 | 197 | block.replace_by_position(result, std::move(col_res)); | 456 | 197 | } else if (left_is_const && !right_is_const) { | 457 | 0 | auto col_res = ColumnUInt8::create(); | 458 | |
| 459 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 460 | 0 | vec_res.resize(col_right->size()); | 461 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 462 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 463 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 464 | 0 | col_right->get_data(), vec_res); | 465 | |
| 466 | 0 | block.replace_by_position(result, std::move(col_res)); | 467 | 0 | } | 468 | 4.14k | return Status::OK(); | 469 | 4.14k | } |
_ZNK5doris18FunctionComparisonINS_11NotEqualsOpENS_13NameNotEqualsEE16execute_num_typeILNS_13PrimitiveTypeE6EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 425 | 1.18k | const ColumnPtr& col_right_ptr) const { | 426 | 1.18k | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 427 | 1.18k | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 428 | | | 429 | 1.18k | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 430 | 1.18k | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 431 | | | 432 | 1.18k | DCHECK(!(left_is_const && right_is_const)); | 433 | | | 434 | 1.18k | if (!left_is_const && !right_is_const) { | 435 | 410 | auto col_res = ColumnUInt8::create(); | 436 | | | 437 | 410 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 438 | 410 | vec_res.resize(col_left->get_data().size()); | 439 | 410 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 440 | 410 | typename PrimitiveTypeTraits<PT>::CppType, | 441 | 410 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 442 | 410 | vec_res); | 443 | | | 444 | 410 | block.replace_by_position(result, std::move(col_res)); | 445 | 775 | } else if (!left_is_const && right_is_const) { | 446 | 23 | auto col_res = ColumnUInt8::create(); | 447 | | | 448 | 23 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 449 | 23 | vec_res.resize(col_left->size()); | 450 | 23 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 451 | 23 | typename PrimitiveTypeTraits<PT>::CppType, | 452 | 23 | Op<PT>>::vector_constant(col_left->get_data(), | 453 | 23 | col_right->get_element(0), vec_res); | 454 | | | 455 | 23 | block.replace_by_position(result, std::move(col_res)); | 456 | 752 | } else if (left_is_const && !right_is_const) { | 457 | 752 | auto col_res = ColumnUInt8::create(); | 458 | | | 459 | 752 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 460 | 752 | vec_res.resize(col_right->size()); | 461 | 752 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 462 | 752 | typename PrimitiveTypeTraits<PT>::CppType, | 463 | 752 | Op<PT>>::constant_vector(col_left->get_element(0), | 464 | 752 | col_right->get_data(), vec_res); | 465 | | | 466 | 752 | block.replace_by_position(result, std::move(col_res)); | 467 | 752 | } | 468 | 1.18k | return Status::OK(); | 469 | 1.18k | } |
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 | 425 | 48 | const ColumnPtr& col_right_ptr) const { | 426 | 48 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 427 | 48 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 428 | | | 429 | 48 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 430 | 48 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 431 | | | 432 | 48 | DCHECK(!(left_is_const && right_is_const)); | 433 | | | 434 | 48 | if (!left_is_const && !right_is_const) { | 435 | 20 | auto col_res = ColumnUInt8::create(); | 436 | | | 437 | 20 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 438 | 20 | vec_res.resize(col_left->get_data().size()); | 439 | 20 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 440 | 20 | typename PrimitiveTypeTraits<PT>::CppType, | 441 | 20 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 442 | 20 | vec_res); | 443 | | | 444 | 20 | block.replace_by_position(result, std::move(col_res)); | 445 | 28 | } else if (!left_is_const && right_is_const) { | 446 | 28 | auto col_res = ColumnUInt8::create(); | 447 | | | 448 | 28 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 449 | 28 | vec_res.resize(col_left->size()); | 450 | 28 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 451 | 28 | typename PrimitiveTypeTraits<PT>::CppType, | 452 | 28 | Op<PT>>::vector_constant(col_left->get_data(), | 453 | 28 | col_right->get_element(0), vec_res); | 454 | | | 455 | 28 | block.replace_by_position(result, std::move(col_res)); | 456 | 28 | } else if (left_is_const && !right_is_const) { | 457 | 0 | auto col_res = ColumnUInt8::create(); | 458 | |
| 459 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 460 | 0 | vec_res.resize(col_right->size()); | 461 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 462 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 463 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 464 | 0 | col_right->get_data(), vec_res); | 465 | |
| 466 | 0 | block.replace_by_position(result, std::move(col_res)); | 467 | 0 | } | 468 | 48 | return Status::OK(); | 469 | 48 | } |
_ZNK5doris18FunctionComparisonINS_11NotEqualsOpENS_13NameNotEqualsEE16execute_num_typeILNS_13PrimitiveTypeE9EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 425 | 60 | const ColumnPtr& col_right_ptr) const { | 426 | 60 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 427 | 60 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 428 | | | 429 | 60 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 430 | 60 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 431 | | | 432 | 60 | DCHECK(!(left_is_const && right_is_const)); | 433 | | | 434 | 60 | if (!left_is_const && !right_is_const) { | 435 | 20 | auto col_res = ColumnUInt8::create(); | 436 | | | 437 | 20 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 438 | 20 | vec_res.resize(col_left->get_data().size()); | 439 | 20 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 440 | 20 | typename PrimitiveTypeTraits<PT>::CppType, | 441 | 20 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 442 | 20 | vec_res); | 443 | | | 444 | 20 | block.replace_by_position(result, std::move(col_res)); | 445 | 40 | } else if (!left_is_const && right_is_const) { | 446 | 40 | auto col_res = ColumnUInt8::create(); | 447 | | | 448 | 40 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 449 | 40 | vec_res.resize(col_left->size()); | 450 | 40 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 451 | 40 | typename PrimitiveTypeTraits<PT>::CppType, | 452 | 40 | Op<PT>>::vector_constant(col_left->get_data(), | 453 | 40 | col_right->get_element(0), vec_res); | 454 | | | 455 | 40 | block.replace_by_position(result, std::move(col_res)); | 456 | 40 | } else if (left_is_const && !right_is_const) { | 457 | 0 | auto col_res = ColumnUInt8::create(); | 458 | |
| 459 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 460 | 0 | vec_res.resize(col_right->size()); | 461 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 462 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 463 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 464 | 0 | col_right->get_data(), vec_res); | 465 | |
| 466 | 0 | block.replace_by_position(result, std::move(col_res)); | 467 | 0 | } | 468 | 60 | return Status::OK(); | 469 | 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 | 425 | 1.14k | const ColumnPtr& col_right_ptr) const { | 426 | 1.14k | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 427 | 1.14k | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 428 | | | 429 | 1.14k | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 430 | 1.14k | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 431 | | | 432 | 1.14k | DCHECK(!(left_is_const && right_is_const)); | 433 | | | 434 | 1.14k | if (!left_is_const && !right_is_const) { | 435 | 1.10k | auto col_res = ColumnUInt8::create(); | 436 | | | 437 | 1.10k | ColumnUInt8::Container& vec_res = col_res->get_data(); | 438 | 1.10k | vec_res.resize(col_left->get_data().size()); | 439 | 1.10k | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 440 | 1.10k | typename PrimitiveTypeTraits<PT>::CppType, | 441 | 1.10k | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 442 | 1.10k | vec_res); | 443 | | | 444 | 1.10k | block.replace_by_position(result, std::move(col_res)); | 445 | 1.10k | } else if (!left_is_const && right_is_const) { | 446 | 41 | auto col_res = ColumnUInt8::create(); | 447 | | | 448 | 41 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 449 | 41 | vec_res.resize(col_left->size()); | 450 | 41 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 451 | 41 | typename PrimitiveTypeTraits<PT>::CppType, | 452 | 41 | Op<PT>>::vector_constant(col_left->get_data(), | 453 | 41 | col_right->get_element(0), vec_res); | 454 | | | 455 | 41 | block.replace_by_position(result, std::move(col_res)); | 456 | 41 | } else if (left_is_const && !right_is_const) { | 457 | 0 | auto col_res = ColumnUInt8::create(); | 458 | |
| 459 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 460 | 0 | vec_res.resize(col_right->size()); | 461 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 462 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 463 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 464 | 0 | col_right->get_data(), vec_res); | 465 | |
| 466 | 0 | block.replace_by_position(result, std::move(col_res)); | 467 | 0 | } | 468 | 1.14k | return Status::OK(); | 469 | 1.14k | } |
_ZNK5doris18FunctionComparisonINS_9GreaterOpENS_11NameGreaterEE16execute_num_typeILNS_13PrimitiveTypeE26EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 425 | 1 | const ColumnPtr& col_right_ptr) const { | 426 | 1 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 427 | 1 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 428 | | | 429 | 1 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 430 | 1 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 431 | | | 432 | 1 | DCHECK(!(left_is_const && right_is_const)); | 433 | | | 434 | 1 | if (!left_is_const && !right_is_const) { | 435 | 0 | auto col_res = ColumnUInt8::create(); | 436 | |
| 437 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 438 | 0 | vec_res.resize(col_left->get_data().size()); | 439 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 440 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 441 | 0 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 442 | 0 | vec_res); | 443 | |
| 444 | 0 | block.replace_by_position(result, std::move(col_res)); | 445 | 1 | } else if (!left_is_const && right_is_const) { | 446 | 1 | auto col_res = ColumnUInt8::create(); | 447 | | | 448 | 1 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 449 | 1 | vec_res.resize(col_left->size()); | 450 | 1 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 451 | 1 | typename PrimitiveTypeTraits<PT>::CppType, | 452 | 1 | Op<PT>>::vector_constant(col_left->get_data(), | 453 | 1 | col_right->get_element(0), vec_res); | 454 | | | 455 | 1 | block.replace_by_position(result, std::move(col_res)); | 456 | 1 | } else if (left_is_const && !right_is_const) { | 457 | 0 | auto col_res = ColumnUInt8::create(); | 458 | |
| 459 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 460 | 0 | vec_res.resize(col_right->size()); | 461 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 462 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 463 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 464 | 0 | col_right->get_data(), vec_res); | 465 | |
| 466 | 0 | block.replace_by_position(result, std::move(col_res)); | 467 | 0 | } | 468 | 1 | return Status::OK(); | 469 | 1 | } |
_ZNK5doris18FunctionComparisonINS_9GreaterOpENS_11NameGreaterEE16execute_num_typeILNS_13PrimitiveTypeE42EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 425 | 1 | const ColumnPtr& col_right_ptr) const { | 426 | 1 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 427 | 1 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 428 | | | 429 | 1 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 430 | 1 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 431 | | | 432 | 1 | DCHECK(!(left_is_const && right_is_const)); | 433 | | | 434 | 1 | if (!left_is_const && !right_is_const) { | 435 | 1 | auto col_res = ColumnUInt8::create(); | 436 | | | 437 | 1 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 438 | 1 | vec_res.resize(col_left->get_data().size()); | 439 | 1 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 440 | 1 | typename PrimitiveTypeTraits<PT>::CppType, | 441 | 1 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 442 | 1 | vec_res); | 443 | | | 444 | 1 | block.replace_by_position(result, std::move(col_res)); | 445 | 1 | } else if (!left_is_const && right_is_const) { | 446 | 0 | auto col_res = ColumnUInt8::create(); | 447 | |
| 448 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 449 | 0 | vec_res.resize(col_left->size()); | 450 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 451 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 452 | 0 | Op<PT>>::vector_constant(col_left->get_data(), | 453 | 0 | col_right->get_element(0), vec_res); | 454 | |
| 455 | 0 | block.replace_by_position(result, std::move(col_res)); | 456 | 0 | } else if (left_is_const && !right_is_const) { | 457 | 0 | auto col_res = ColumnUInt8::create(); | 458 | |
| 459 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 460 | 0 | vec_res.resize(col_right->size()); | 461 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 462 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 463 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 464 | 0 | col_right->get_data(), vec_res); | 465 | |
| 466 | 0 | block.replace_by_position(result, std::move(col_res)); | 467 | 0 | } | 468 | 1 | return Status::OK(); | 469 | 1 | } |
_ZNK5doris18FunctionComparisonINS_9GreaterOpENS_11NameGreaterEE16execute_num_typeILNS_13PrimitiveTypeE3EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 425 | 1.08k | const ColumnPtr& col_right_ptr) const { | 426 | 1.08k | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 427 | 1.08k | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 428 | | | 429 | 1.08k | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 430 | 1.08k | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 431 | | | 432 | 1.08k | DCHECK(!(left_is_const && right_is_const)); | 433 | | | 434 | 1.08k | if (!left_is_const && !right_is_const) { | 435 | 42 | auto col_res = ColumnUInt8::create(); | 436 | | | 437 | 42 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 438 | 42 | vec_res.resize(col_left->get_data().size()); | 439 | 42 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 440 | 42 | typename PrimitiveTypeTraits<PT>::CppType, | 441 | 42 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 442 | 42 | vec_res); | 443 | | | 444 | 42 | block.replace_by_position(result, std::move(col_res)); | 445 | 1.04k | } else if (!left_is_const && right_is_const) { | 446 | 823 | auto col_res = ColumnUInt8::create(); | 447 | | | 448 | 823 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 449 | 823 | vec_res.resize(col_left->size()); | 450 | 823 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 451 | 823 | typename PrimitiveTypeTraits<PT>::CppType, | 452 | 823 | Op<PT>>::vector_constant(col_left->get_data(), | 453 | 823 | col_right->get_element(0), vec_res); | 454 | | | 455 | 823 | block.replace_by_position(result, std::move(col_res)); | 456 | 823 | } else if (left_is_const && !right_is_const) { | 457 | 222 | auto col_res = ColumnUInt8::create(); | 458 | | | 459 | 222 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 460 | 222 | vec_res.resize(col_right->size()); | 461 | 222 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 462 | 222 | typename PrimitiveTypeTraits<PT>::CppType, | 463 | 222 | Op<PT>>::constant_vector(col_left->get_element(0), | 464 | 222 | col_right->get_data(), vec_res); | 465 | | | 466 | 222 | block.replace_by_position(result, std::move(col_res)); | 467 | 222 | } | 468 | 1.08k | return Status::OK(); | 469 | 1.08k | } |
_ZNK5doris18FunctionComparisonINS_9GreaterOpENS_11NameGreaterEE16execute_num_typeILNS_13PrimitiveTypeE4EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 425 | 1.81k | const ColumnPtr& col_right_ptr) const { | 426 | 1.81k | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 427 | 1.81k | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 428 | | | 429 | 1.81k | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 430 | 1.81k | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 431 | | | 432 | 1.81k | DCHECK(!(left_is_const && right_is_const)); | 433 | | | 434 | 1.81k | if (!left_is_const && !right_is_const) { | 435 | 129 | auto col_res = ColumnUInt8::create(); | 436 | | | 437 | 129 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 438 | 129 | vec_res.resize(col_left->get_data().size()); | 439 | 129 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 440 | 129 | typename PrimitiveTypeTraits<PT>::CppType, | 441 | 129 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 442 | 129 | vec_res); | 443 | | | 444 | 129 | block.replace_by_position(result, std::move(col_res)); | 445 | 1.68k | } else if (!left_is_const && right_is_const) { | 446 | 1.45k | auto col_res = ColumnUInt8::create(); | 447 | | | 448 | 1.45k | ColumnUInt8::Container& vec_res = col_res->get_data(); | 449 | 1.45k | vec_res.resize(col_left->size()); | 450 | 1.45k | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 451 | 1.45k | typename PrimitiveTypeTraits<PT>::CppType, | 452 | 1.45k | Op<PT>>::vector_constant(col_left->get_data(), | 453 | 1.45k | col_right->get_element(0), vec_res); | 454 | | | 455 | 1.45k | block.replace_by_position(result, std::move(col_res)); | 456 | 1.45k | } else if (left_is_const && !right_is_const) { | 457 | 228 | auto col_res = ColumnUInt8::create(); | 458 | | | 459 | 228 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 460 | 228 | vec_res.resize(col_right->size()); | 461 | 228 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 462 | 228 | typename PrimitiveTypeTraits<PT>::CppType, | 463 | 228 | Op<PT>>::constant_vector(col_left->get_element(0), | 464 | 228 | col_right->get_data(), vec_res); | 465 | | | 466 | 228 | block.replace_by_position(result, std::move(col_res)); | 467 | 228 | } | 468 | 1.81k | return Status::OK(); | 469 | 1.81k | } |
_ZNK5doris18FunctionComparisonINS_9GreaterOpENS_11NameGreaterEE16execute_num_typeILNS_13PrimitiveTypeE5EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 425 | 66.8k | const ColumnPtr& col_right_ptr) const { | 426 | 66.8k | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 427 | 66.8k | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 428 | | | 429 | 66.8k | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 430 | 66.8k | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 431 | | | 432 | 66.8k | DCHECK(!(left_is_const && right_is_const)); | 433 | | | 434 | 66.8k | if (!left_is_const && !right_is_const) { | 435 | 49 | auto col_res = ColumnUInt8::create(); | 436 | | | 437 | 49 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 438 | 49 | vec_res.resize(col_left->get_data().size()); | 439 | 49 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 440 | 49 | typename PrimitiveTypeTraits<PT>::CppType, | 441 | 49 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 442 | 49 | vec_res); | 443 | | | 444 | 49 | block.replace_by_position(result, std::move(col_res)); | 445 | 66.7k | } else if (!left_is_const && right_is_const) { | 446 | 4.58k | auto col_res = ColumnUInt8::create(); | 447 | | | 448 | 4.58k | ColumnUInt8::Container& vec_res = col_res->get_data(); | 449 | 4.58k | vec_res.resize(col_left->size()); | 450 | 4.58k | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 451 | 4.58k | typename PrimitiveTypeTraits<PT>::CppType, | 452 | 4.58k | Op<PT>>::vector_constant(col_left->get_data(), | 453 | 4.58k | col_right->get_element(0), vec_res); | 454 | | | 455 | 4.58k | block.replace_by_position(result, std::move(col_res)); | 456 | 62.1k | } else if (left_is_const && !right_is_const) { | 457 | 62.1k | auto col_res = ColumnUInt8::create(); | 458 | | | 459 | 62.1k | ColumnUInt8::Container& vec_res = col_res->get_data(); | 460 | 62.1k | vec_res.resize(col_right->size()); | 461 | 62.1k | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 462 | 62.1k | typename PrimitiveTypeTraits<PT>::CppType, | 463 | 62.1k | Op<PT>>::constant_vector(col_left->get_element(0), | 464 | 62.1k | col_right->get_data(), vec_res); | 465 | | | 466 | 62.1k | block.replace_by_position(result, std::move(col_res)); | 467 | 62.1k | } | 468 | 66.8k | return Status::OK(); | 469 | 66.8k | } |
_ZNK5doris18FunctionComparisonINS_9GreaterOpENS_11NameGreaterEE16execute_num_typeILNS_13PrimitiveTypeE6EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 425 | 1.71k | const ColumnPtr& col_right_ptr) const { | 426 | 1.71k | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 427 | 1.71k | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 428 | | | 429 | 1.71k | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 430 | 1.71k | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 431 | | | 432 | 1.71k | DCHECK(!(left_is_const && right_is_const)); | 433 | | | 434 | 1.71k | if (!left_is_const && !right_is_const) { | 435 | 64 | auto col_res = ColumnUInt8::create(); | 436 | | | 437 | 64 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 438 | 64 | vec_res.resize(col_left->get_data().size()); | 439 | 64 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 440 | 64 | typename PrimitiveTypeTraits<PT>::CppType, | 441 | 64 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 442 | 64 | vec_res); | 443 | | | 444 | 64 | block.replace_by_position(result, std::move(col_res)); | 445 | 1.65k | } else if (!left_is_const && right_is_const) { | 446 | 1.13k | auto col_res = ColumnUInt8::create(); | 447 | | | 448 | 1.13k | ColumnUInt8::Container& vec_res = col_res->get_data(); | 449 | 1.13k | vec_res.resize(col_left->size()); | 450 | 1.13k | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 451 | 1.13k | typename PrimitiveTypeTraits<PT>::CppType, | 452 | 1.13k | Op<PT>>::vector_constant(col_left->get_data(), | 453 | 1.13k | col_right->get_element(0), vec_res); | 454 | | | 455 | 1.13k | block.replace_by_position(result, std::move(col_res)); | 456 | 1.13k | } else if (left_is_const && !right_is_const) { | 457 | 518 | auto col_res = ColumnUInt8::create(); | 458 | | | 459 | 518 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 460 | 518 | vec_res.resize(col_right->size()); | 461 | 518 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 462 | 518 | typename PrimitiveTypeTraits<PT>::CppType, | 463 | 518 | Op<PT>>::constant_vector(col_left->get_element(0), | 464 | 518 | col_right->get_data(), vec_res); | 465 | | | 466 | 518 | block.replace_by_position(result, std::move(col_res)); | 467 | 518 | } | 468 | 1.71k | return Status::OK(); | 469 | 1.71k | } |
_ZNK5doris18FunctionComparisonINS_9GreaterOpENS_11NameGreaterEE16execute_num_typeILNS_13PrimitiveTypeE7EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 425 | 259 | const ColumnPtr& col_right_ptr) const { | 426 | 259 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 427 | 259 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 428 | | | 429 | 259 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 430 | 259 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 431 | | | 432 | 259 | DCHECK(!(left_is_const && right_is_const)); | 433 | | | 434 | 259 | if (!left_is_const && !right_is_const) { | 435 | 3 | auto col_res = ColumnUInt8::create(); | 436 | | | 437 | 3 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 438 | 3 | vec_res.resize(col_left->get_data().size()); | 439 | 3 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 440 | 3 | typename PrimitiveTypeTraits<PT>::CppType, | 441 | 3 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 442 | 3 | vec_res); | 443 | | | 444 | 3 | block.replace_by_position(result, std::move(col_res)); | 445 | 256 | } else if (!left_is_const && right_is_const) { | 446 | 201 | auto col_res = ColumnUInt8::create(); | 447 | | | 448 | 201 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 449 | 201 | vec_res.resize(col_left->size()); | 450 | 201 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 451 | 201 | typename PrimitiveTypeTraits<PT>::CppType, | 452 | 201 | Op<PT>>::vector_constant(col_left->get_data(), | 453 | 201 | col_right->get_element(0), vec_res); | 454 | | | 455 | 201 | block.replace_by_position(result, std::move(col_res)); | 456 | 201 | } else if (left_is_const && !right_is_const) { | 457 | 55 | auto col_res = ColumnUInt8::create(); | 458 | | | 459 | 55 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 460 | 55 | vec_res.resize(col_right->size()); | 461 | 55 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 462 | 55 | typename PrimitiveTypeTraits<PT>::CppType, | 463 | 55 | Op<PT>>::constant_vector(col_left->get_element(0), | 464 | 55 | col_right->get_data(), vec_res); | 465 | | | 466 | 55 | block.replace_by_position(result, std::move(col_res)); | 467 | 55 | } | 468 | 259 | return Status::OK(); | 469 | 259 | } |
_ZNK5doris18FunctionComparisonINS_9GreaterOpENS_11NameGreaterEE16execute_num_typeILNS_13PrimitiveTypeE36EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 425 | 4 | const ColumnPtr& col_right_ptr) const { | 426 | 4 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 427 | 4 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 428 | | | 429 | 4 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 430 | 4 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 431 | | | 432 | 4 | DCHECK(!(left_is_const && right_is_const)); | 433 | | | 434 | 4 | if (!left_is_const && !right_is_const) { | 435 | 1 | auto col_res = ColumnUInt8::create(); | 436 | | | 437 | 1 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 438 | 1 | vec_res.resize(col_left->get_data().size()); | 439 | 1 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 440 | 1 | typename PrimitiveTypeTraits<PT>::CppType, | 441 | 1 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 442 | 1 | vec_res); | 443 | | | 444 | 1 | block.replace_by_position(result, std::move(col_res)); | 445 | 3 | } else if (!left_is_const && right_is_const) { | 446 | 3 | auto col_res = ColumnUInt8::create(); | 447 | | | 448 | 3 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 449 | 3 | vec_res.resize(col_left->size()); | 450 | 3 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 451 | 3 | typename PrimitiveTypeTraits<PT>::CppType, | 452 | 3 | Op<PT>>::vector_constant(col_left->get_data(), | 453 | 3 | col_right->get_element(0), vec_res); | 454 | | | 455 | 3 | block.replace_by_position(result, std::move(col_res)); | 456 | 3 | } else if (left_is_const && !right_is_const) { | 457 | 0 | auto col_res = ColumnUInt8::create(); | 458 | |
| 459 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 460 | 0 | vec_res.resize(col_right->size()); | 461 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 462 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 463 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 464 | 0 | col_right->get_data(), vec_res); | 465 | |
| 466 | 0 | block.replace_by_position(result, std::move(col_res)); | 467 | 0 | } | 468 | 4 | return Status::OK(); | 469 | 4 | } |
_ZNK5doris18FunctionComparisonINS_9GreaterOpENS_11NameGreaterEE16execute_num_typeILNS_13PrimitiveTypeE37EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 425 | 1 | const ColumnPtr& col_right_ptr) const { | 426 | 1 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 427 | 1 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 428 | | | 429 | 1 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 430 | 1 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 431 | | | 432 | 1 | DCHECK(!(left_is_const && right_is_const)); | 433 | | | 434 | 1 | if (!left_is_const && !right_is_const) { | 435 | 1 | auto col_res = ColumnUInt8::create(); | 436 | | | 437 | 1 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 438 | 1 | vec_res.resize(col_left->get_data().size()); | 439 | 1 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 440 | 1 | typename PrimitiveTypeTraits<PT>::CppType, | 441 | 1 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 442 | 1 | vec_res); | 443 | | | 444 | 1 | block.replace_by_position(result, std::move(col_res)); | 445 | 1 | } else if (!left_is_const && right_is_const) { | 446 | 0 | auto col_res = ColumnUInt8::create(); | 447 | |
| 448 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 449 | 0 | vec_res.resize(col_left->size()); | 450 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 451 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 452 | 0 | Op<PT>>::vector_constant(col_left->get_data(), | 453 | 0 | col_right->get_element(0), vec_res); | 454 | |
| 455 | 0 | block.replace_by_position(result, std::move(col_res)); | 456 | 0 | } else if (left_is_const && !right_is_const) { | 457 | 0 | auto col_res = ColumnUInt8::create(); | 458 | |
| 459 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 460 | 0 | vec_res.resize(col_right->size()); | 461 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 462 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 463 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 464 | 0 | col_right->get_data(), vec_res); | 465 | |
| 466 | 0 | block.replace_by_position(result, std::move(col_res)); | 467 | 0 | } | 468 | 1 | return Status::OK(); | 469 | 1 | } |
_ZNK5doris18FunctionComparisonINS_9GreaterOpENS_11NameGreaterEE16execute_num_typeILNS_13PrimitiveTypeE8EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 425 | 220 | const ColumnPtr& col_right_ptr) const { | 426 | 220 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 427 | 220 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 428 | | | 429 | 220 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 430 | 220 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 431 | | | 432 | 220 | DCHECK(!(left_is_const && right_is_const)); | 433 | | | 434 | 220 | if (!left_is_const && !right_is_const) { | 435 | 20 | auto col_res = ColumnUInt8::create(); | 436 | | | 437 | 20 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 438 | 20 | vec_res.resize(col_left->get_data().size()); | 439 | 20 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 440 | 20 | typename PrimitiveTypeTraits<PT>::CppType, | 441 | 20 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 442 | 20 | vec_res); | 443 | | | 444 | 20 | block.replace_by_position(result, std::move(col_res)); | 445 | 200 | } else if (!left_is_const && right_is_const) { | 446 | 200 | auto col_res = ColumnUInt8::create(); | 447 | | | 448 | 200 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 449 | 200 | vec_res.resize(col_left->size()); | 450 | 200 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 451 | 200 | typename PrimitiveTypeTraits<PT>::CppType, | 452 | 200 | Op<PT>>::vector_constant(col_left->get_data(), | 453 | 200 | col_right->get_element(0), vec_res); | 454 | | | 455 | 200 | block.replace_by_position(result, std::move(col_res)); | 456 | 200 | } else if (left_is_const && !right_is_const) { | 457 | 0 | auto col_res = ColumnUInt8::create(); | 458 | |
| 459 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 460 | 0 | vec_res.resize(col_right->size()); | 461 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 462 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 463 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 464 | 0 | col_right->get_data(), vec_res); | 465 | |
| 466 | 0 | block.replace_by_position(result, std::move(col_res)); | 467 | 0 | } | 468 | 220 | return Status::OK(); | 469 | 220 | } |
_ZNK5doris18FunctionComparisonINS_9GreaterOpENS_11NameGreaterEE16execute_num_typeILNS_13PrimitiveTypeE9EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 425 | 536 | const ColumnPtr& col_right_ptr) const { | 426 | 536 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 427 | 536 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 428 | | | 429 | 536 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 430 | 536 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 431 | | | 432 | 536 | DCHECK(!(left_is_const && right_is_const)); | 433 | | | 434 | 536 | if (!left_is_const && !right_is_const) { | 435 | 26 | auto col_res = ColumnUInt8::create(); | 436 | | | 437 | 26 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 438 | 26 | vec_res.resize(col_left->get_data().size()); | 439 | 26 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 440 | 26 | typename PrimitiveTypeTraits<PT>::CppType, | 441 | 26 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 442 | 26 | vec_res); | 443 | | | 444 | 26 | block.replace_by_position(result, std::move(col_res)); | 445 | 510 | } else if (!left_is_const && right_is_const) { | 446 | 510 | auto col_res = ColumnUInt8::create(); | 447 | | | 448 | 510 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 449 | 510 | vec_res.resize(col_left->size()); | 450 | 510 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 451 | 510 | typename PrimitiveTypeTraits<PT>::CppType, | 452 | 510 | Op<PT>>::vector_constant(col_left->get_data(), | 453 | 510 | col_right->get_element(0), vec_res); | 454 | | | 455 | 510 | block.replace_by_position(result, std::move(col_res)); | 456 | 510 | } else if (left_is_const && !right_is_const) { | 457 | 0 | auto col_res = ColumnUInt8::create(); | 458 | |
| 459 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 460 | 0 | vec_res.resize(col_right->size()); | 461 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 462 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 463 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 464 | 0 | col_right->get_data(), vec_res); | 465 | |
| 466 | 0 | block.replace_by_position(result, std::move(col_res)); | 467 | 0 | } | 468 | 536 | return Status::OK(); | 469 | 536 | } |
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 | 425 | 13 | const ColumnPtr& col_right_ptr) const { | 426 | 13 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 427 | 13 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 428 | | | 429 | 13 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 430 | 13 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 431 | | | 432 | 13 | DCHECK(!(left_is_const && right_is_const)); | 433 | | | 434 | 13 | if (!left_is_const && !right_is_const) { | 435 | 0 | auto col_res = ColumnUInt8::create(); | 436 | |
| 437 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 438 | 0 | vec_res.resize(col_left->get_data().size()); | 439 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 440 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 441 | 0 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 442 | 0 | vec_res); | 443 | |
| 444 | 0 | block.replace_by_position(result, std::move(col_res)); | 445 | 13 | } else if (!left_is_const && right_is_const) { | 446 | 13 | auto col_res = ColumnUInt8::create(); | 447 | | | 448 | 13 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 449 | 13 | vec_res.resize(col_left->size()); | 450 | 13 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 451 | 13 | typename PrimitiveTypeTraits<PT>::CppType, | 452 | 13 | Op<PT>>::vector_constant(col_left->get_data(), | 453 | 13 | col_right->get_element(0), vec_res); | 454 | | | 455 | 13 | block.replace_by_position(result, std::move(col_res)); | 456 | 13 | } else if (left_is_const && !right_is_const) { | 457 | 0 | auto col_res = ColumnUInt8::create(); | 458 | |
| 459 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 460 | 0 | vec_res.resize(col_right->size()); | 461 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 462 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 463 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 464 | 0 | col_right->get_data(), vec_res); | 465 | |
| 466 | 0 | block.replace_by_position(result, std::move(col_res)); | 467 | 0 | } | 468 | 13 | return Status::OK(); | 469 | 13 | } |
_ZNK5doris18FunctionComparisonINS_17GreaterOrEqualsOpENS_19NameGreaterOrEqualsEE16execute_num_typeILNS_13PrimitiveTypeE25EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 425 | 465 | const ColumnPtr& col_right_ptr) const { | 426 | 465 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 427 | 465 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 428 | | | 429 | 465 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 430 | 465 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 431 | | | 432 | 465 | DCHECK(!(left_is_const && right_is_const)); | 433 | | | 434 | 465 | if (!left_is_const && !right_is_const) { | 435 | 1 | auto col_res = ColumnUInt8::create(); | 436 | | | 437 | 1 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 438 | 1 | vec_res.resize(col_left->get_data().size()); | 439 | 1 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 440 | 1 | typename PrimitiveTypeTraits<PT>::CppType, | 441 | 1 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 442 | 1 | vec_res); | 443 | | | 444 | 1 | block.replace_by_position(result, std::move(col_res)); | 445 | 464 | } else if (!left_is_const && right_is_const) { | 446 | 458 | auto col_res = ColumnUInt8::create(); | 447 | | | 448 | 458 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 449 | 458 | vec_res.resize(col_left->size()); | 450 | 458 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 451 | 458 | typename PrimitiveTypeTraits<PT>::CppType, | 452 | 458 | Op<PT>>::vector_constant(col_left->get_data(), | 453 | 458 | col_right->get_element(0), vec_res); | 454 | | | 455 | 458 | block.replace_by_position(result, std::move(col_res)); | 456 | 458 | } else if (left_is_const && !right_is_const) { | 457 | 6 | auto col_res = ColumnUInt8::create(); | 458 | | | 459 | 6 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 460 | 6 | vec_res.resize(col_right->size()); | 461 | 6 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 462 | 6 | typename PrimitiveTypeTraits<PT>::CppType, | 463 | 6 | Op<PT>>::constant_vector(col_left->get_element(0), | 464 | 6 | col_right->get_data(), vec_res); | 465 | | | 466 | 6 | block.replace_by_position(result, std::move(col_res)); | 467 | 6 | } | 468 | 465 | return Status::OK(); | 469 | 465 | } |
_ZNK5doris18FunctionComparisonINS_17GreaterOrEqualsOpENS_19NameGreaterOrEqualsEE16execute_num_typeILNS_13PrimitiveTypeE26EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 425 | 143 | const ColumnPtr& col_right_ptr) const { | 426 | 143 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 427 | 143 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 428 | | | 429 | 143 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 430 | 143 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 431 | | | 432 | 143 | DCHECK(!(left_is_const && right_is_const)); | 433 | | | 434 | 143 | if (!left_is_const && !right_is_const) { | 435 | 6 | auto col_res = ColumnUInt8::create(); | 436 | | | 437 | 6 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 438 | 6 | vec_res.resize(col_left->get_data().size()); | 439 | 6 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 440 | 6 | typename PrimitiveTypeTraits<PT>::CppType, | 441 | 6 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 442 | 6 | vec_res); | 443 | | | 444 | 6 | block.replace_by_position(result, std::move(col_res)); | 445 | 137 | } else if (!left_is_const && right_is_const) { | 446 | 137 | auto col_res = ColumnUInt8::create(); | 447 | | | 448 | 137 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 449 | 137 | vec_res.resize(col_left->size()); | 450 | 137 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 451 | 137 | typename PrimitiveTypeTraits<PT>::CppType, | 452 | 137 | Op<PT>>::vector_constant(col_left->get_data(), | 453 | 137 | col_right->get_element(0), vec_res); | 454 | | | 455 | 137 | block.replace_by_position(result, std::move(col_res)); | 456 | 137 | } else if (left_is_const && !right_is_const) { | 457 | 0 | auto col_res = ColumnUInt8::create(); | 458 | |
| 459 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 460 | 0 | vec_res.resize(col_right->size()); | 461 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 462 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 463 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 464 | 0 | col_right->get_data(), vec_res); | 465 | |
| 466 | 0 | block.replace_by_position(result, std::move(col_res)); | 467 | 0 | } | 468 | 143 | return Status::OK(); | 469 | 143 | } |
_ZNK5doris18FunctionComparisonINS_17GreaterOrEqualsOpENS_19NameGreaterOrEqualsEE16execute_num_typeILNS_13PrimitiveTypeE42EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 425 | 1 | const ColumnPtr& col_right_ptr) const { | 426 | 1 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 427 | 1 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 428 | | | 429 | 1 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 430 | 1 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 431 | | | 432 | 1 | DCHECK(!(left_is_const && right_is_const)); | 433 | | | 434 | 1 | if (!left_is_const && !right_is_const) { | 435 | 1 | auto col_res = ColumnUInt8::create(); | 436 | | | 437 | 1 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 438 | 1 | vec_res.resize(col_left->get_data().size()); | 439 | 1 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 440 | 1 | typename PrimitiveTypeTraits<PT>::CppType, | 441 | 1 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 442 | 1 | vec_res); | 443 | | | 444 | 1 | block.replace_by_position(result, std::move(col_res)); | 445 | 1 | } else if (!left_is_const && right_is_const) { | 446 | 0 | auto col_res = ColumnUInt8::create(); | 447 | |
| 448 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 449 | 0 | vec_res.resize(col_left->size()); | 450 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 451 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 452 | 0 | Op<PT>>::vector_constant(col_left->get_data(), | 453 | 0 | col_right->get_element(0), vec_res); | 454 | |
| 455 | 0 | block.replace_by_position(result, std::move(col_res)); | 456 | 0 | } else if (left_is_const && !right_is_const) { | 457 | 0 | auto col_res = ColumnUInt8::create(); | 458 | |
| 459 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 460 | 0 | vec_res.resize(col_right->size()); | 461 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 462 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 463 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 464 | 0 | col_right->get_data(), vec_res); | 465 | |
| 466 | 0 | block.replace_by_position(result, std::move(col_res)); | 467 | 0 | } | 468 | 1 | return Status::OK(); | 469 | 1 | } |
_ZNK5doris18FunctionComparisonINS_17GreaterOrEqualsOpENS_19NameGreaterOrEqualsEE16execute_num_typeILNS_13PrimitiveTypeE3EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 425 | 60 | const ColumnPtr& col_right_ptr) const { | 426 | 60 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 427 | 60 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 428 | | | 429 | 60 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 430 | 60 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 431 | | | 432 | 60 | DCHECK(!(left_is_const && right_is_const)); | 433 | | | 434 | 60 | if (!left_is_const && !right_is_const) { | 435 | 0 | auto col_res = ColumnUInt8::create(); | 436 | |
| 437 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 438 | 0 | vec_res.resize(col_left->get_data().size()); | 439 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 440 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 441 | 0 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 442 | 0 | vec_res); | 443 | |
| 444 | 0 | block.replace_by_position(result, std::move(col_res)); | 445 | 60 | } else if (!left_is_const && right_is_const) { | 446 | 60 | auto col_res = ColumnUInt8::create(); | 447 | | | 448 | 60 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 449 | 60 | vec_res.resize(col_left->size()); | 450 | 60 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 451 | 60 | typename PrimitiveTypeTraits<PT>::CppType, | 452 | 60 | Op<PT>>::vector_constant(col_left->get_data(), | 453 | 60 | col_right->get_element(0), vec_res); | 454 | | | 455 | 60 | block.replace_by_position(result, std::move(col_res)); | 456 | 60 | } else if (left_is_const && !right_is_const) { | 457 | 0 | auto col_res = ColumnUInt8::create(); | 458 | |
| 459 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 460 | 0 | vec_res.resize(col_right->size()); | 461 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 462 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 463 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 464 | 0 | col_right->get_data(), vec_res); | 465 | |
| 466 | 0 | block.replace_by_position(result, std::move(col_res)); | 467 | 0 | } | 468 | 60 | return Status::OK(); | 469 | 60 | } |
_ZNK5doris18FunctionComparisonINS_17GreaterOrEqualsOpENS_19NameGreaterOrEqualsEE16execute_num_typeILNS_13PrimitiveTypeE4EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 425 | 89 | const ColumnPtr& col_right_ptr) const { | 426 | 89 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 427 | 89 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 428 | | | 429 | 89 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 430 | 89 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 431 | | | 432 | 89 | DCHECK(!(left_is_const && right_is_const)); | 433 | | | 434 | 89 | if (!left_is_const && !right_is_const) { | 435 | 0 | auto col_res = ColumnUInt8::create(); | 436 | |
| 437 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 438 | 0 | vec_res.resize(col_left->get_data().size()); | 439 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 440 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 441 | 0 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 442 | 0 | vec_res); | 443 | |
| 444 | 0 | block.replace_by_position(result, std::move(col_res)); | 445 | 89 | } else if (!left_is_const && right_is_const) { | 446 | 89 | auto col_res = ColumnUInt8::create(); | 447 | | | 448 | 89 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 449 | 89 | vec_res.resize(col_left->size()); | 450 | 89 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 451 | 89 | typename PrimitiveTypeTraits<PT>::CppType, | 452 | 89 | Op<PT>>::vector_constant(col_left->get_data(), | 453 | 89 | col_right->get_element(0), vec_res); | 454 | | | 455 | 89 | block.replace_by_position(result, std::move(col_res)); | 456 | 89 | } else if (left_is_const && !right_is_const) { | 457 | 0 | auto col_res = ColumnUInt8::create(); | 458 | |
| 459 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 460 | 0 | vec_res.resize(col_right->size()); | 461 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 462 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 463 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 464 | 0 | col_right->get_data(), vec_res); | 465 | |
| 466 | 0 | block.replace_by_position(result, std::move(col_res)); | 467 | 0 | } | 468 | 89 | return Status::OK(); | 469 | 89 | } |
_ZNK5doris18FunctionComparisonINS_17GreaterOrEqualsOpENS_19NameGreaterOrEqualsEE16execute_num_typeILNS_13PrimitiveTypeE5EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 425 | 643 | const ColumnPtr& col_right_ptr) const { | 426 | 643 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 427 | 643 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 428 | | | 429 | 643 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 430 | 643 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 431 | | | 432 | 643 | DCHECK(!(left_is_const && right_is_const)); | 433 | | | 434 | 643 | if (!left_is_const && !right_is_const) { | 435 | 3 | auto col_res = ColumnUInt8::create(); | 436 | | | 437 | 3 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 438 | 3 | vec_res.resize(col_left->get_data().size()); | 439 | 3 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 440 | 3 | typename PrimitiveTypeTraits<PT>::CppType, | 441 | 3 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 442 | 3 | vec_res); | 443 | | | 444 | 3 | block.replace_by_position(result, std::move(col_res)); | 445 | 640 | } else if (!left_is_const && right_is_const) { | 446 | 640 | auto col_res = ColumnUInt8::create(); | 447 | | | 448 | 640 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 449 | 640 | vec_res.resize(col_left->size()); | 450 | 640 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 451 | 640 | typename PrimitiveTypeTraits<PT>::CppType, | 452 | 640 | Op<PT>>::vector_constant(col_left->get_data(), | 453 | 640 | col_right->get_element(0), vec_res); | 454 | | | 455 | 640 | block.replace_by_position(result, std::move(col_res)); | 456 | 640 | } else if (left_is_const && !right_is_const) { | 457 | 0 | auto col_res = ColumnUInt8::create(); | 458 | |
| 459 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 460 | 0 | vec_res.resize(col_right->size()); | 461 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 462 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 463 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 464 | 0 | col_right->get_data(), vec_res); | 465 | |
| 466 | 0 | block.replace_by_position(result, std::move(col_res)); | 467 | 0 | } | 468 | 643 | return Status::OK(); | 469 | 643 | } |
_ZNK5doris18FunctionComparisonINS_17GreaterOrEqualsOpENS_19NameGreaterOrEqualsEE16execute_num_typeILNS_13PrimitiveTypeE6EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 425 | 202 | const ColumnPtr& col_right_ptr) const { | 426 | 202 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 427 | 202 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 428 | | | 429 | 202 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 430 | 202 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 431 | | | 432 | 202 | DCHECK(!(left_is_const && right_is_const)); | 433 | | | 434 | 202 | if (!left_is_const && !right_is_const) { | 435 | 9 | auto col_res = ColumnUInt8::create(); | 436 | | | 437 | 9 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 438 | 9 | vec_res.resize(col_left->get_data().size()); | 439 | 9 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 440 | 9 | typename PrimitiveTypeTraits<PT>::CppType, | 441 | 9 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 442 | 9 | vec_res); | 443 | | | 444 | 9 | block.replace_by_position(result, std::move(col_res)); | 445 | 193 | } else if (!left_is_const && right_is_const) { | 446 | 193 | auto col_res = ColumnUInt8::create(); | 447 | | | 448 | 193 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 449 | 193 | vec_res.resize(col_left->size()); | 450 | 193 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 451 | 193 | typename PrimitiveTypeTraits<PT>::CppType, | 452 | 193 | Op<PT>>::vector_constant(col_left->get_data(), | 453 | 193 | col_right->get_element(0), vec_res); | 454 | | | 455 | 193 | block.replace_by_position(result, std::move(col_res)); | 456 | 193 | } else if (left_is_const && !right_is_const) { | 457 | 0 | auto col_res = ColumnUInt8::create(); | 458 | |
| 459 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 460 | 0 | vec_res.resize(col_right->size()); | 461 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 462 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 463 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 464 | 0 | col_right->get_data(), vec_res); | 465 | |
| 466 | 0 | block.replace_by_position(result, std::move(col_res)); | 467 | 0 | } | 468 | 202 | return Status::OK(); | 469 | 202 | } |
_ZNK5doris18FunctionComparisonINS_17GreaterOrEqualsOpENS_19NameGreaterOrEqualsEE16execute_num_typeILNS_13PrimitiveTypeE7EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 425 | 22 | const ColumnPtr& col_right_ptr) const { | 426 | 22 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 427 | 22 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 428 | | | 429 | 22 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 430 | 22 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 431 | | | 432 | 22 | DCHECK(!(left_is_const && right_is_const)); | 433 | | | 434 | 22 | if (!left_is_const && !right_is_const) { | 435 | 0 | auto col_res = ColumnUInt8::create(); | 436 | |
| 437 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 438 | 0 | vec_res.resize(col_left->get_data().size()); | 439 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 440 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 441 | 0 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 442 | 0 | vec_res); | 443 | |
| 444 | 0 | block.replace_by_position(result, std::move(col_res)); | 445 | 22 | } else if (!left_is_const && right_is_const) { | 446 | 22 | auto col_res = ColumnUInt8::create(); | 447 | | | 448 | 22 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 449 | 22 | vec_res.resize(col_left->size()); | 450 | 22 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 451 | 22 | typename PrimitiveTypeTraits<PT>::CppType, | 452 | 22 | Op<PT>>::vector_constant(col_left->get_data(), | 453 | 22 | col_right->get_element(0), vec_res); | 454 | | | 455 | 22 | block.replace_by_position(result, std::move(col_res)); | 456 | 22 | } else if (left_is_const && !right_is_const) { | 457 | 0 | auto col_res = ColumnUInt8::create(); | 458 | |
| 459 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 460 | 0 | vec_res.resize(col_right->size()); | 461 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 462 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 463 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 464 | 0 | col_right->get_data(), vec_res); | 465 | |
| 466 | 0 | block.replace_by_position(result, std::move(col_res)); | 467 | 0 | } | 468 | 22 | return Status::OK(); | 469 | 22 | } |
_ZNK5doris18FunctionComparisonINS_17GreaterOrEqualsOpENS_19NameGreaterOrEqualsEE16execute_num_typeILNS_13PrimitiveTypeE36EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 425 | 11 | const ColumnPtr& col_right_ptr) const { | 426 | 11 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 427 | 11 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 428 | | | 429 | 11 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 430 | 11 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 431 | | | 432 | 11 | DCHECK(!(left_is_const && right_is_const)); | 433 | | | 434 | 11 | if (!left_is_const && !right_is_const) { | 435 | 1 | auto col_res = ColumnUInt8::create(); | 436 | | | 437 | 1 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 438 | 1 | vec_res.resize(col_left->get_data().size()); | 439 | 1 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 440 | 1 | typename PrimitiveTypeTraits<PT>::CppType, | 441 | 1 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 442 | 1 | vec_res); | 443 | | | 444 | 1 | block.replace_by_position(result, std::move(col_res)); | 445 | 10 | } else if (!left_is_const && right_is_const) { | 446 | 10 | auto col_res = ColumnUInt8::create(); | 447 | | | 448 | 10 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 449 | 10 | vec_res.resize(col_left->size()); | 450 | 10 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 451 | 10 | typename PrimitiveTypeTraits<PT>::CppType, | 452 | 10 | Op<PT>>::vector_constant(col_left->get_data(), | 453 | 10 | col_right->get_element(0), vec_res); | 454 | | | 455 | 10 | block.replace_by_position(result, std::move(col_res)); | 456 | 10 | } else if (left_is_const && !right_is_const) { | 457 | 0 | auto col_res = ColumnUInt8::create(); | 458 | |
| 459 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 460 | 0 | vec_res.resize(col_right->size()); | 461 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 462 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 463 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 464 | 0 | col_right->get_data(), vec_res); | 465 | |
| 466 | 0 | block.replace_by_position(result, std::move(col_res)); | 467 | 0 | } | 468 | 11 | return Status::OK(); | 469 | 11 | } |
_ZNK5doris18FunctionComparisonINS_17GreaterOrEqualsOpENS_19NameGreaterOrEqualsEE16execute_num_typeILNS_13PrimitiveTypeE37EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 425 | 1 | const ColumnPtr& col_right_ptr) const { | 426 | 1 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 427 | 1 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 428 | | | 429 | 1 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 430 | 1 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 431 | | | 432 | 1 | DCHECK(!(left_is_const && right_is_const)); | 433 | | | 434 | 1 | if (!left_is_const && !right_is_const) { | 435 | 1 | auto col_res = ColumnUInt8::create(); | 436 | | | 437 | 1 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 438 | 1 | vec_res.resize(col_left->get_data().size()); | 439 | 1 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 440 | 1 | typename PrimitiveTypeTraits<PT>::CppType, | 441 | 1 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 442 | 1 | vec_res); | 443 | | | 444 | 1 | block.replace_by_position(result, std::move(col_res)); | 445 | 1 | } else if (!left_is_const && right_is_const) { | 446 | 0 | auto col_res = ColumnUInt8::create(); | 447 | |
| 448 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 449 | 0 | vec_res.resize(col_left->size()); | 450 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 451 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 452 | 0 | Op<PT>>::vector_constant(col_left->get_data(), | 453 | 0 | col_right->get_element(0), vec_res); | 454 | |
| 455 | 0 | block.replace_by_position(result, std::move(col_res)); | 456 | 0 | } else if (left_is_const && !right_is_const) { | 457 | 0 | auto col_res = ColumnUInt8::create(); | 458 | |
| 459 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 460 | 0 | vec_res.resize(col_right->size()); | 461 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 462 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 463 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 464 | 0 | col_right->get_data(), vec_res); | 465 | |
| 466 | 0 | block.replace_by_position(result, std::move(col_res)); | 467 | 0 | } | 468 | 1 | return Status::OK(); | 469 | 1 | } |
_ZNK5doris18FunctionComparisonINS_17GreaterOrEqualsOpENS_19NameGreaterOrEqualsEE16execute_num_typeILNS_13PrimitiveTypeE8EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 425 | 24 | const ColumnPtr& col_right_ptr) const { | 426 | 24 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 427 | 24 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 428 | | | 429 | 24 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 430 | 24 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 431 | | | 432 | 24 | DCHECK(!(left_is_const && right_is_const)); | 433 | | | 434 | 24 | if (!left_is_const && !right_is_const) { | 435 | 20 | auto col_res = ColumnUInt8::create(); | 436 | | | 437 | 20 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 438 | 20 | vec_res.resize(col_left->get_data().size()); | 439 | 20 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 440 | 20 | typename PrimitiveTypeTraits<PT>::CppType, | 441 | 20 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 442 | 20 | vec_res); | 443 | | | 444 | 20 | block.replace_by_position(result, std::move(col_res)); | 445 | 20 | } else if (!left_is_const && right_is_const) { | 446 | 4 | auto col_res = ColumnUInt8::create(); | 447 | | | 448 | 4 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 449 | 4 | vec_res.resize(col_left->size()); | 450 | 4 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 451 | 4 | typename PrimitiveTypeTraits<PT>::CppType, | 452 | 4 | Op<PT>>::vector_constant(col_left->get_data(), | 453 | 4 | col_right->get_element(0), vec_res); | 454 | | | 455 | 4 | block.replace_by_position(result, std::move(col_res)); | 456 | 4 | } else if (left_is_const && !right_is_const) { | 457 | 0 | auto col_res = ColumnUInt8::create(); | 458 | |
| 459 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 460 | 0 | vec_res.resize(col_right->size()); | 461 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 462 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 463 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 464 | 0 | col_right->get_data(), vec_res); | 465 | |
| 466 | 0 | block.replace_by_position(result, std::move(col_res)); | 467 | 0 | } | 468 | 24 | return Status::OK(); | 469 | 24 | } |
_ZNK5doris18FunctionComparisonINS_17GreaterOrEqualsOpENS_19NameGreaterOrEqualsEE16execute_num_typeILNS_13PrimitiveTypeE9EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 425 | 135 | const ColumnPtr& col_right_ptr) const { | 426 | 135 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 427 | 135 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 428 | | | 429 | 135 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 430 | 135 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 431 | | | 432 | 135 | DCHECK(!(left_is_const && right_is_const)); | 433 | | | 434 | 135 | if (!left_is_const && !right_is_const) { | 435 | 23 | auto col_res = ColumnUInt8::create(); | 436 | | | 437 | 23 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 438 | 23 | vec_res.resize(col_left->get_data().size()); | 439 | 23 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 440 | 23 | typename PrimitiveTypeTraits<PT>::CppType, | 441 | 23 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 442 | 23 | vec_res); | 443 | | | 444 | 23 | block.replace_by_position(result, std::move(col_res)); | 445 | 112 | } else if (!left_is_const && right_is_const) { | 446 | 112 | auto col_res = ColumnUInt8::create(); | 447 | | | 448 | 112 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 449 | 112 | vec_res.resize(col_left->size()); | 450 | 112 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 451 | 112 | typename PrimitiveTypeTraits<PT>::CppType, | 452 | 112 | Op<PT>>::vector_constant(col_left->get_data(), | 453 | 112 | col_right->get_element(0), vec_res); | 454 | | | 455 | 112 | block.replace_by_position(result, std::move(col_res)); | 456 | 112 | } else if (left_is_const && !right_is_const) { | 457 | 0 | auto col_res = ColumnUInt8::create(); | 458 | |
| 459 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 460 | 0 | vec_res.resize(col_right->size()); | 461 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 462 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 463 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 464 | 0 | col_right->get_data(), vec_res); | 465 | |
| 466 | 0 | block.replace_by_position(result, std::move(col_res)); | 467 | 0 | } | 468 | 135 | return Status::OK(); | 469 | 135 | } |
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 | 425 | 95 | const ColumnPtr& col_right_ptr) const { | 426 | 95 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 427 | 95 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 428 | | | 429 | 95 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 430 | 95 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 431 | | | 432 | 95 | DCHECK(!(left_is_const && right_is_const)); | 433 | | | 434 | 95 | if (!left_is_const && !right_is_const) { | 435 | 95 | auto col_res = ColumnUInt8::create(); | 436 | | | 437 | 95 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 438 | 95 | vec_res.resize(col_left->get_data().size()); | 439 | 95 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 440 | 95 | typename PrimitiveTypeTraits<PT>::CppType, | 441 | 95 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 442 | 95 | vec_res); | 443 | | | 444 | 95 | block.replace_by_position(result, std::move(col_res)); | 445 | 95 | } else if (!left_is_const && right_is_const) { | 446 | 0 | auto col_res = ColumnUInt8::create(); | 447 | |
| 448 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 449 | 0 | vec_res.resize(col_left->size()); | 450 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 451 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 452 | 0 | Op<PT>>::vector_constant(col_left->get_data(), | 453 | 0 | col_right->get_element(0), vec_res); | 454 | |
| 455 | 0 | block.replace_by_position(result, std::move(col_res)); | 456 | 0 | } else if (left_is_const && !right_is_const) { | 457 | 0 | auto col_res = ColumnUInt8::create(); | 458 | |
| 459 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 460 | 0 | vec_res.resize(col_right->size()); | 461 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 462 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 463 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 464 | 0 | col_right->get_data(), vec_res); | 465 | |
| 466 | 0 | block.replace_by_position(result, std::move(col_res)); | 467 | 0 | } | 468 | 95 | return Status::OK(); | 469 | 95 | } |
_ZNK5doris18FunctionComparisonINS_6LessOpENS_8NameLessEE16execute_num_typeILNS_13PrimitiveTypeE25EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 425 | 2.07k | const ColumnPtr& col_right_ptr) const { | 426 | 2.07k | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 427 | 2.07k | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 428 | | | 429 | 2.07k | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 430 | 2.07k | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 431 | | | 432 | 2.07k | DCHECK(!(left_is_const && right_is_const)); | 433 | | | 434 | 2.07k | if (!left_is_const && !right_is_const) { | 435 | 1.73k | auto col_res = ColumnUInt8::create(); | 436 | | | 437 | 1.73k | ColumnUInt8::Container& vec_res = col_res->get_data(); | 438 | 1.73k | vec_res.resize(col_left->get_data().size()); | 439 | 1.73k | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 440 | 1.73k | typename PrimitiveTypeTraits<PT>::CppType, | 441 | 1.73k | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 442 | 1.73k | vec_res); | 443 | | | 444 | 1.73k | block.replace_by_position(result, std::move(col_res)); | 445 | 1.73k | } else if (!left_is_const && right_is_const) { | 446 | 338 | auto col_res = ColumnUInt8::create(); | 447 | | | 448 | 338 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 449 | 338 | vec_res.resize(col_left->size()); | 450 | 338 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 451 | 338 | typename PrimitiveTypeTraits<PT>::CppType, | 452 | 338 | Op<PT>>::vector_constant(col_left->get_data(), | 453 | 338 | col_right->get_element(0), vec_res); | 454 | | | 455 | 338 | block.replace_by_position(result, std::move(col_res)); | 456 | 338 | } else if (left_is_const && !right_is_const) { | 457 | 0 | auto col_res = ColumnUInt8::create(); | 458 | |
| 459 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 460 | 0 | vec_res.resize(col_right->size()); | 461 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 462 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 463 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 464 | 0 | col_right->get_data(), vec_res); | 465 | |
| 466 | 0 | block.replace_by_position(result, std::move(col_res)); | 467 | 0 | } | 468 | 2.07k | return Status::OK(); | 469 | 2.07k | } |
_ZNK5doris18FunctionComparisonINS_6LessOpENS_8NameLessEE16execute_num_typeILNS_13PrimitiveTypeE26EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 425 | 348 | const ColumnPtr& col_right_ptr) const { | 426 | 348 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 427 | 348 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 428 | | | 429 | 348 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 430 | 348 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 431 | | | 432 | 348 | DCHECK(!(left_is_const && right_is_const)); | 433 | | | 434 | 348 | if (!left_is_const && !right_is_const) { | 435 | 289 | auto col_res = ColumnUInt8::create(); | 436 | | | 437 | 289 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 438 | 289 | vec_res.resize(col_left->get_data().size()); | 439 | 289 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 440 | 289 | typename PrimitiveTypeTraits<PT>::CppType, | 441 | 289 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 442 | 289 | vec_res); | 443 | | | 444 | 289 | block.replace_by_position(result, std::move(col_res)); | 445 | 289 | } else if (!left_is_const && right_is_const) { | 446 | 59 | auto col_res = ColumnUInt8::create(); | 447 | | | 448 | 59 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 449 | 59 | vec_res.resize(col_left->size()); | 450 | 59 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 451 | 59 | typename PrimitiveTypeTraits<PT>::CppType, | 452 | 59 | Op<PT>>::vector_constant(col_left->get_data(), | 453 | 59 | col_right->get_element(0), vec_res); | 454 | | | 455 | 59 | block.replace_by_position(result, std::move(col_res)); | 456 | 59 | } else if (left_is_const && !right_is_const) { | 457 | 0 | auto col_res = ColumnUInt8::create(); | 458 | |
| 459 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 460 | 0 | vec_res.resize(col_right->size()); | 461 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 462 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 463 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 464 | 0 | col_right->get_data(), vec_res); | 465 | |
| 466 | 0 | block.replace_by_position(result, std::move(col_res)); | 467 | 0 | } | 468 | 348 | return Status::OK(); | 469 | 348 | } |
_ZNK5doris18FunctionComparisonINS_6LessOpENS_8NameLessEE16execute_num_typeILNS_13PrimitiveTypeE42EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 425 | 2 | const ColumnPtr& col_right_ptr) const { | 426 | 2 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 427 | 2 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 428 | | | 429 | 2 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 430 | 2 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 431 | | | 432 | 2 | DCHECK(!(left_is_const && right_is_const)); | 433 | | | 434 | 2 | if (!left_is_const && !right_is_const) { | 435 | 1 | auto col_res = ColumnUInt8::create(); | 436 | | | 437 | 1 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 438 | 1 | vec_res.resize(col_left->get_data().size()); | 439 | 1 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 440 | 1 | typename PrimitiveTypeTraits<PT>::CppType, | 441 | 1 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 442 | 1 | vec_res); | 443 | | | 444 | 1 | block.replace_by_position(result, std::move(col_res)); | 445 | 1 | } else if (!left_is_const && right_is_const) { | 446 | 1 | auto col_res = ColumnUInt8::create(); | 447 | | | 448 | 1 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 449 | 1 | vec_res.resize(col_left->size()); | 450 | 1 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 451 | 1 | typename PrimitiveTypeTraits<PT>::CppType, | 452 | 1 | Op<PT>>::vector_constant(col_left->get_data(), | 453 | 1 | col_right->get_element(0), vec_res); | 454 | | | 455 | 1 | block.replace_by_position(result, std::move(col_res)); | 456 | 1 | } else if (left_is_const && !right_is_const) { | 457 | 0 | auto col_res = ColumnUInt8::create(); | 458 | |
| 459 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 460 | 0 | vec_res.resize(col_right->size()); | 461 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 462 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 463 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 464 | 0 | col_right->get_data(), vec_res); | 465 | |
| 466 | 0 | block.replace_by_position(result, std::move(col_res)); | 467 | 0 | } | 468 | 2 | return Status::OK(); | 469 | 2 | } |
_ZNK5doris18FunctionComparisonINS_6LessOpENS_8NameLessEE16execute_num_typeILNS_13PrimitiveTypeE3EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 425 | 2.15k | const ColumnPtr& col_right_ptr) const { | 426 | 2.15k | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 427 | 2.15k | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 428 | | | 429 | 2.15k | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 430 | 2.15k | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 431 | | | 432 | 2.15k | DCHECK(!(left_is_const && right_is_const)); | 433 | | | 434 | 2.15k | if (!left_is_const && !right_is_const) { | 435 | 150 | auto col_res = ColumnUInt8::create(); | 436 | | | 437 | 150 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 438 | 150 | vec_res.resize(col_left->get_data().size()); | 439 | 150 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 440 | 150 | typename PrimitiveTypeTraits<PT>::CppType, | 441 | 150 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 442 | 150 | vec_res); | 443 | | | 444 | 150 | block.replace_by_position(result, std::move(col_res)); | 445 | 2.00k | } else if (!left_is_const && right_is_const) { | 446 | 1.76k | auto col_res = ColumnUInt8::create(); | 447 | | | 448 | 1.76k | ColumnUInt8::Container& vec_res = col_res->get_data(); | 449 | 1.76k | vec_res.resize(col_left->size()); | 450 | 1.76k | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 451 | 1.76k | typename PrimitiveTypeTraits<PT>::CppType, | 452 | 1.76k | Op<PT>>::vector_constant(col_left->get_data(), | 453 | 1.76k | col_right->get_element(0), vec_res); | 454 | | | 455 | 1.76k | block.replace_by_position(result, std::move(col_res)); | 456 | 1.76k | } else if (left_is_const && !right_is_const) { | 457 | 240 | auto col_res = ColumnUInt8::create(); | 458 | | | 459 | 240 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 460 | 240 | vec_res.resize(col_right->size()); | 461 | 240 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 462 | 240 | typename PrimitiveTypeTraits<PT>::CppType, | 463 | 240 | Op<PT>>::constant_vector(col_left->get_element(0), | 464 | 240 | col_right->get_data(), vec_res); | 465 | | | 466 | 240 | block.replace_by_position(result, std::move(col_res)); | 467 | 240 | } | 468 | 2.15k | return Status::OK(); | 469 | 2.15k | } |
_ZNK5doris18FunctionComparisonINS_6LessOpENS_8NameLessEE16execute_num_typeILNS_13PrimitiveTypeE4EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 425 | 151 | const ColumnPtr& col_right_ptr) const { | 426 | 151 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 427 | 151 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 428 | | | 429 | 151 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 430 | 151 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 431 | | | 432 | 151 | DCHECK(!(left_is_const && right_is_const)); | 433 | | | 434 | 151 | if (!left_is_const && !right_is_const) { | 435 | 137 | auto col_res = ColumnUInt8::create(); | 436 | | | 437 | 137 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 438 | 137 | vec_res.resize(col_left->get_data().size()); | 439 | 137 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 440 | 137 | typename PrimitiveTypeTraits<PT>::CppType, | 441 | 137 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 442 | 137 | vec_res); | 443 | | | 444 | 137 | block.replace_by_position(result, std::move(col_res)); | 445 | 137 | } else if (!left_is_const && right_is_const) { | 446 | 14 | auto col_res = ColumnUInt8::create(); | 447 | | | 448 | 14 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 449 | 14 | vec_res.resize(col_left->size()); | 450 | 14 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 451 | 14 | typename PrimitiveTypeTraits<PT>::CppType, | 452 | 14 | Op<PT>>::vector_constant(col_left->get_data(), | 453 | 14 | col_right->get_element(0), vec_res); | 454 | | | 455 | 14 | block.replace_by_position(result, std::move(col_res)); | 456 | 14 | } else if (left_is_const && !right_is_const) { | 457 | 0 | auto col_res = ColumnUInt8::create(); | 458 | |
| 459 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 460 | 0 | vec_res.resize(col_right->size()); | 461 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 462 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 463 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 464 | 0 | col_right->get_data(), vec_res); | 465 | |
| 466 | 0 | block.replace_by_position(result, std::move(col_res)); | 467 | 0 | } | 468 | 151 | return Status::OK(); | 469 | 151 | } |
_ZNK5doris18FunctionComparisonINS_6LessOpENS_8NameLessEE16execute_num_typeILNS_13PrimitiveTypeE5EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 425 | 1.09k | const ColumnPtr& col_right_ptr) const { | 426 | 1.09k | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 427 | 1.09k | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 428 | | | 429 | 1.09k | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 430 | 1.09k | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 431 | | | 432 | 1.09k | DCHECK(!(left_is_const && right_is_const)); | 433 | | | 434 | 1.09k | if (!left_is_const && !right_is_const) { | 435 | 178 | auto col_res = ColumnUInt8::create(); | 436 | | | 437 | 178 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 438 | 178 | vec_res.resize(col_left->get_data().size()); | 439 | 178 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 440 | 178 | typename PrimitiveTypeTraits<PT>::CppType, | 441 | 178 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 442 | 178 | vec_res); | 443 | | | 444 | 178 | block.replace_by_position(result, std::move(col_res)); | 445 | 912 | } else if (!left_is_const && right_is_const) { | 446 | 791 | auto col_res = ColumnUInt8::create(); | 447 | | | 448 | 791 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 449 | 791 | vec_res.resize(col_left->size()); | 450 | 791 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 451 | 791 | typename PrimitiveTypeTraits<PT>::CppType, | 452 | 791 | Op<PT>>::vector_constant(col_left->get_data(), | 453 | 791 | col_right->get_element(0), vec_res); | 454 | | | 455 | 791 | block.replace_by_position(result, std::move(col_res)); | 456 | 791 | } else if (left_is_const && !right_is_const) { | 457 | 121 | auto col_res = ColumnUInt8::create(); | 458 | | | 459 | 121 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 460 | 121 | vec_res.resize(col_right->size()); | 461 | 121 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 462 | 121 | typename PrimitiveTypeTraits<PT>::CppType, | 463 | 121 | Op<PT>>::constant_vector(col_left->get_element(0), | 464 | 121 | col_right->get_data(), vec_res); | 465 | | | 466 | 121 | block.replace_by_position(result, std::move(col_res)); | 467 | 121 | } | 468 | 1.09k | return Status::OK(); | 469 | 1.09k | } |
_ZNK5doris18FunctionComparisonINS_6LessOpENS_8NameLessEE16execute_num_typeILNS_13PrimitiveTypeE6EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 425 | 783 | const ColumnPtr& col_right_ptr) const { | 426 | 783 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 427 | 783 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 428 | | | 429 | 783 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 430 | 783 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 431 | | | 432 | 783 | DCHECK(!(left_is_const && right_is_const)); | 433 | | | 434 | 783 | if (!left_is_const && !right_is_const) { | 435 | 212 | auto col_res = ColumnUInt8::create(); | 436 | | | 437 | 212 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 438 | 212 | vec_res.resize(col_left->get_data().size()); | 439 | 212 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 440 | 212 | typename PrimitiveTypeTraits<PT>::CppType, | 441 | 212 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 442 | 212 | vec_res); | 443 | | | 444 | 212 | block.replace_by_position(result, std::move(col_res)); | 445 | 571 | } else if (!left_is_const && right_is_const) { | 446 | 498 | auto col_res = ColumnUInt8::create(); | 447 | | | 448 | 498 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 449 | 498 | vec_res.resize(col_left->size()); | 450 | 498 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 451 | 498 | typename PrimitiveTypeTraits<PT>::CppType, | 452 | 498 | Op<PT>>::vector_constant(col_left->get_data(), | 453 | 498 | col_right->get_element(0), vec_res); | 454 | | | 455 | 498 | block.replace_by_position(result, std::move(col_res)); | 456 | 498 | } else if (left_is_const && !right_is_const) { | 457 | 73 | auto col_res = ColumnUInt8::create(); | 458 | | | 459 | 73 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 460 | 73 | vec_res.resize(col_right->size()); | 461 | 73 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 462 | 73 | typename PrimitiveTypeTraits<PT>::CppType, | 463 | 73 | Op<PT>>::constant_vector(col_left->get_element(0), | 464 | 73 | col_right->get_data(), vec_res); | 465 | | | 466 | 73 | block.replace_by_position(result, std::move(col_res)); | 467 | 73 | } | 468 | 783 | return Status::OK(); | 469 | 783 | } |
_ZNK5doris18FunctionComparisonINS_6LessOpENS_8NameLessEE16execute_num_typeILNS_13PrimitiveTypeE7EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 425 | 256 | const ColumnPtr& col_right_ptr) const { | 426 | 256 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 427 | 256 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 428 | | | 429 | 256 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 430 | 256 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 431 | | | 432 | 256 | DCHECK(!(left_is_const && right_is_const)); | 433 | | | 434 | 256 | if (!left_is_const && !right_is_const) { | 435 | 157 | auto col_res = ColumnUInt8::create(); | 436 | | | 437 | 157 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 438 | 157 | vec_res.resize(col_left->get_data().size()); | 439 | 157 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 440 | 157 | typename PrimitiveTypeTraits<PT>::CppType, | 441 | 157 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 442 | 157 | vec_res); | 443 | | | 444 | 157 | block.replace_by_position(result, std::move(col_res)); | 445 | 157 | } else if (!left_is_const && right_is_const) { | 446 | 42 | auto col_res = ColumnUInt8::create(); | 447 | | | 448 | 42 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 449 | 42 | vec_res.resize(col_left->size()); | 450 | 42 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 451 | 42 | typename PrimitiveTypeTraits<PT>::CppType, | 452 | 42 | Op<PT>>::vector_constant(col_left->get_data(), | 453 | 42 | col_right->get_element(0), vec_res); | 454 | | | 455 | 42 | block.replace_by_position(result, std::move(col_res)); | 456 | 57 | } else if (left_is_const && !right_is_const) { | 457 | 57 | auto col_res = ColumnUInt8::create(); | 458 | | | 459 | 57 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 460 | 57 | vec_res.resize(col_right->size()); | 461 | 57 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 462 | 57 | typename PrimitiveTypeTraits<PT>::CppType, | 463 | 57 | Op<PT>>::constant_vector(col_left->get_element(0), | 464 | 57 | col_right->get_data(), vec_res); | 465 | | | 466 | 57 | block.replace_by_position(result, std::move(col_res)); | 467 | 57 | } | 468 | 256 | return Status::OK(); | 469 | 256 | } |
_ZNK5doris18FunctionComparisonINS_6LessOpENS_8NameLessEE16execute_num_typeILNS_13PrimitiveTypeE36EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 425 | 18 | const ColumnPtr& col_right_ptr) const { | 426 | 18 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 427 | 18 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 428 | | | 429 | 18 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 430 | 18 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 431 | | | 432 | 18 | DCHECK(!(left_is_const && right_is_const)); | 433 | | | 434 | 18 | if (!left_is_const && !right_is_const) { | 435 | 16 | auto col_res = ColumnUInt8::create(); | 436 | | | 437 | 16 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 438 | 16 | vec_res.resize(col_left->get_data().size()); | 439 | 16 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 440 | 16 | typename PrimitiveTypeTraits<PT>::CppType, | 441 | 16 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 442 | 16 | vec_res); | 443 | | | 444 | 16 | block.replace_by_position(result, std::move(col_res)); | 445 | 16 | } else if (!left_is_const && right_is_const) { | 446 | 2 | auto col_res = ColumnUInt8::create(); | 447 | | | 448 | 2 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 449 | 2 | vec_res.resize(col_left->size()); | 450 | 2 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 451 | 2 | typename PrimitiveTypeTraits<PT>::CppType, | 452 | 2 | Op<PT>>::vector_constant(col_left->get_data(), | 453 | 2 | col_right->get_element(0), vec_res); | 454 | | | 455 | 2 | block.replace_by_position(result, std::move(col_res)); | 456 | 2 | } else if (left_is_const && !right_is_const) { | 457 | 0 | auto col_res = ColumnUInt8::create(); | 458 | |
| 459 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 460 | 0 | vec_res.resize(col_right->size()); | 461 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 462 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 463 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 464 | 0 | col_right->get_data(), vec_res); | 465 | |
| 466 | 0 | block.replace_by_position(result, std::move(col_res)); | 467 | 0 | } | 468 | 18 | return Status::OK(); | 469 | 18 | } |
_ZNK5doris18FunctionComparisonINS_6LessOpENS_8NameLessEE16execute_num_typeILNS_13PrimitiveTypeE37EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 425 | 16 | const ColumnPtr& col_right_ptr) const { | 426 | 16 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 427 | 16 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 428 | | | 429 | 16 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 430 | 16 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 431 | | | 432 | 16 | DCHECK(!(left_is_const && right_is_const)); | 433 | | | 434 | 16 | if (!left_is_const && !right_is_const) { | 435 | 16 | auto col_res = ColumnUInt8::create(); | 436 | | | 437 | 16 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 438 | 16 | vec_res.resize(col_left->get_data().size()); | 439 | 16 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 440 | 16 | typename PrimitiveTypeTraits<PT>::CppType, | 441 | 16 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 442 | 16 | vec_res); | 443 | | | 444 | 16 | block.replace_by_position(result, std::move(col_res)); | 445 | 16 | } else if (!left_is_const && right_is_const) { | 446 | 0 | auto col_res = ColumnUInt8::create(); | 447 | |
| 448 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 449 | 0 | vec_res.resize(col_left->size()); | 450 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 451 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 452 | 0 | Op<PT>>::vector_constant(col_left->get_data(), | 453 | 0 | col_right->get_element(0), vec_res); | 454 | |
| 455 | 0 | block.replace_by_position(result, std::move(col_res)); | 456 | 0 | } else if (left_is_const && !right_is_const) { | 457 | 0 | auto col_res = ColumnUInt8::create(); | 458 | |
| 459 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 460 | 0 | vec_res.resize(col_right->size()); | 461 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 462 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 463 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 464 | 0 | col_right->get_data(), vec_res); | 465 | |
| 466 | 0 | block.replace_by_position(result, std::move(col_res)); | 467 | 0 | } | 468 | 16 | return Status::OK(); | 469 | 16 | } |
_ZNK5doris18FunctionComparisonINS_6LessOpENS_8NameLessEE16execute_num_typeILNS_13PrimitiveTypeE8EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 425 | 158 | const ColumnPtr& col_right_ptr) const { | 426 | 158 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 427 | 158 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 428 | | | 429 | 158 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 430 | 158 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 431 | | | 432 | 158 | DCHECK(!(left_is_const && right_is_const)); | 433 | | | 434 | 158 | if (!left_is_const && !right_is_const) { | 435 | 158 | auto col_res = ColumnUInt8::create(); | 436 | | | 437 | 158 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 438 | 158 | vec_res.resize(col_left->get_data().size()); | 439 | 158 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 440 | 158 | typename PrimitiveTypeTraits<PT>::CppType, | 441 | 158 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 442 | 158 | vec_res); | 443 | | | 444 | 158 | block.replace_by_position(result, std::move(col_res)); | 445 | 158 | } else if (!left_is_const && right_is_const) { | 446 | 0 | auto col_res = ColumnUInt8::create(); | 447 | |
| 448 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 449 | 0 | vec_res.resize(col_left->size()); | 450 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 451 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 452 | 0 | Op<PT>>::vector_constant(col_left->get_data(), | 453 | 0 | col_right->get_element(0), vec_res); | 454 | |
| 455 | 0 | block.replace_by_position(result, std::move(col_res)); | 456 | 0 | } else if (left_is_const && !right_is_const) { | 457 | 0 | auto col_res = ColumnUInt8::create(); | 458 | |
| 459 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 460 | 0 | vec_res.resize(col_right->size()); | 461 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 462 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 463 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 464 | 0 | col_right->get_data(), vec_res); | 465 | |
| 466 | 0 | block.replace_by_position(result, std::move(col_res)); | 467 | 0 | } | 468 | 158 | return Status::OK(); | 469 | 158 | } |
_ZNK5doris18FunctionComparisonINS_6LessOpENS_8NameLessEE16execute_num_typeILNS_13PrimitiveTypeE9EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 425 | 353 | const ColumnPtr& col_right_ptr) const { | 426 | 353 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 427 | 353 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 428 | | | 429 | 353 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 430 | 353 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 431 | | | 432 | 353 | DCHECK(!(left_is_const && right_is_const)); | 433 | | | 434 | 353 | if (!left_is_const && !right_is_const) { | 435 | 161 | auto col_res = ColumnUInt8::create(); | 436 | | | 437 | 161 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 438 | 161 | vec_res.resize(col_left->get_data().size()); | 439 | 161 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 440 | 161 | typename PrimitiveTypeTraits<PT>::CppType, | 441 | 161 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 442 | 161 | vec_res); | 443 | | | 444 | 161 | block.replace_by_position(result, std::move(col_res)); | 445 | 192 | } else if (!left_is_const && right_is_const) { | 446 | 192 | auto col_res = ColumnUInt8::create(); | 447 | | | 448 | 192 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 449 | 192 | vec_res.resize(col_left->size()); | 450 | 192 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 451 | 192 | typename PrimitiveTypeTraits<PT>::CppType, | 452 | 192 | Op<PT>>::vector_constant(col_left->get_data(), | 453 | 192 | col_right->get_element(0), vec_res); | 454 | | | 455 | 192 | block.replace_by_position(result, std::move(col_res)); | 456 | 192 | } else if (left_is_const && !right_is_const) { | 457 | 0 | auto col_res = ColumnUInt8::create(); | 458 | |
| 459 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 460 | 0 | vec_res.resize(col_right->size()); | 461 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 462 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 463 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 464 | 0 | col_right->get_data(), vec_res); | 465 | |
| 466 | 0 | block.replace_by_position(result, std::move(col_res)); | 467 | 0 | } | 468 | 353 | return Status::OK(); | 469 | 353 | } |
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 | 425 | 40 | const ColumnPtr& col_right_ptr) const { | 426 | 40 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 427 | 40 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 428 | | | 429 | 40 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 430 | 40 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 431 | | | 432 | 40 | DCHECK(!(left_is_const && right_is_const)); | 433 | | | 434 | 40 | if (!left_is_const && !right_is_const) { | 435 | 0 | auto col_res = ColumnUInt8::create(); | 436 | |
| 437 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 438 | 0 | vec_res.resize(col_left->get_data().size()); | 439 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 440 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 441 | 0 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 442 | 0 | vec_res); | 443 | |
| 444 | 0 | block.replace_by_position(result, std::move(col_res)); | 445 | 40 | } else if (!left_is_const && right_is_const) { | 446 | 40 | auto col_res = ColumnUInt8::create(); | 447 | | | 448 | 40 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 449 | 40 | vec_res.resize(col_left->size()); | 450 | 40 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 451 | 40 | typename PrimitiveTypeTraits<PT>::CppType, | 452 | 40 | Op<PT>>::vector_constant(col_left->get_data(), | 453 | 40 | col_right->get_element(0), vec_res); | 454 | | | 455 | 40 | block.replace_by_position(result, std::move(col_res)); | 456 | 40 | } else if (left_is_const && !right_is_const) { | 457 | 0 | auto col_res = ColumnUInt8::create(); | 458 | |
| 459 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 460 | 0 | vec_res.resize(col_right->size()); | 461 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 462 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 463 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 464 | 0 | col_right->get_data(), vec_res); | 465 | |
| 466 | 0 | block.replace_by_position(result, std::move(col_res)); | 467 | 0 | } | 468 | 40 | return Status::OK(); | 469 | 40 | } |
_ZNK5doris18FunctionComparisonINS_14LessOrEqualsOpENS_16NameLessOrEqualsEE16execute_num_typeILNS_13PrimitiveTypeE25EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 425 | 619 | const ColumnPtr& col_right_ptr) const { | 426 | 619 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 427 | 619 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 428 | | | 429 | 619 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 430 | 619 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 431 | | | 432 | 619 | DCHECK(!(left_is_const && right_is_const)); | 433 | | | 434 | 619 | if (!left_is_const && !right_is_const) { | 435 | 429 | auto col_res = ColumnUInt8::create(); | 436 | | | 437 | 429 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 438 | 429 | vec_res.resize(col_left->get_data().size()); | 439 | 429 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 440 | 429 | typename PrimitiveTypeTraits<PT>::CppType, | 441 | 429 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 442 | 429 | vec_res); | 443 | | | 444 | 429 | block.replace_by_position(result, std::move(col_res)); | 445 | 429 | } else if (!left_is_const && right_is_const) { | 446 | 183 | auto col_res = ColumnUInt8::create(); | 447 | | | 448 | 183 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 449 | 183 | vec_res.resize(col_left->size()); | 450 | 183 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 451 | 183 | typename PrimitiveTypeTraits<PT>::CppType, | 452 | 183 | Op<PT>>::vector_constant(col_left->get_data(), | 453 | 183 | col_right->get_element(0), vec_res); | 454 | | | 455 | 183 | block.replace_by_position(result, std::move(col_res)); | 456 | 183 | } else if (left_is_const && !right_is_const) { | 457 | 5 | auto col_res = ColumnUInt8::create(); | 458 | | | 459 | 5 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 460 | 5 | vec_res.resize(col_right->size()); | 461 | 5 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 462 | 5 | typename PrimitiveTypeTraits<PT>::CppType, | 463 | 5 | Op<PT>>::constant_vector(col_left->get_element(0), | 464 | 5 | col_right->get_data(), vec_res); | 465 | | | 466 | 5 | block.replace_by_position(result, std::move(col_res)); | 467 | 5 | } | 468 | 619 | return Status::OK(); | 469 | 619 | } |
_ZNK5doris18FunctionComparisonINS_14LessOrEqualsOpENS_16NameLessOrEqualsEE16execute_num_typeILNS_13PrimitiveTypeE26EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 425 | 58 | const ColumnPtr& col_right_ptr) const { | 426 | 58 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 427 | 58 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 428 | | | 429 | 58 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 430 | 58 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 431 | | | 432 | 58 | DCHECK(!(left_is_const && right_is_const)); | 433 | | | 434 | 58 | if (!left_is_const && !right_is_const) { | 435 | 0 | auto col_res = ColumnUInt8::create(); | 436 | |
| 437 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 438 | 0 | vec_res.resize(col_left->get_data().size()); | 439 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 440 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 441 | 0 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 442 | 0 | vec_res); | 443 | |
| 444 | 0 | block.replace_by_position(result, std::move(col_res)); | 445 | 58 | } else if (!left_is_const && right_is_const) { | 446 | 58 | auto col_res = ColumnUInt8::create(); | 447 | | | 448 | 58 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 449 | 58 | vec_res.resize(col_left->size()); | 450 | 58 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 451 | 58 | typename PrimitiveTypeTraits<PT>::CppType, | 452 | 58 | Op<PT>>::vector_constant(col_left->get_data(), | 453 | 58 | col_right->get_element(0), vec_res); | 454 | | | 455 | 58 | block.replace_by_position(result, std::move(col_res)); | 456 | 58 | } else if (left_is_const && !right_is_const) { | 457 | 0 | auto col_res = ColumnUInt8::create(); | 458 | |
| 459 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 460 | 0 | vec_res.resize(col_right->size()); | 461 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 462 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 463 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 464 | 0 | col_right->get_data(), vec_res); | 465 | |
| 466 | 0 | block.replace_by_position(result, std::move(col_res)); | 467 | 0 | } | 468 | 58 | return Status::OK(); | 469 | 58 | } |
_ZNK5doris18FunctionComparisonINS_14LessOrEqualsOpENS_16NameLessOrEqualsEE16execute_num_typeILNS_13PrimitiveTypeE42EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 425 | 1 | const ColumnPtr& col_right_ptr) const { | 426 | 1 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 427 | 1 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 428 | | | 429 | 1 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 430 | 1 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 431 | | | 432 | 1 | DCHECK(!(left_is_const && right_is_const)); | 433 | | | 434 | 1 | if (!left_is_const && !right_is_const) { | 435 | 1 | auto col_res = ColumnUInt8::create(); | 436 | | | 437 | 1 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 438 | 1 | vec_res.resize(col_left->get_data().size()); | 439 | 1 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 440 | 1 | typename PrimitiveTypeTraits<PT>::CppType, | 441 | 1 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 442 | 1 | vec_res); | 443 | | | 444 | 1 | block.replace_by_position(result, std::move(col_res)); | 445 | 1 | } else if (!left_is_const && right_is_const) { | 446 | 0 | auto col_res = ColumnUInt8::create(); | 447 | |
| 448 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 449 | 0 | vec_res.resize(col_left->size()); | 450 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 451 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 452 | 0 | Op<PT>>::vector_constant(col_left->get_data(), | 453 | 0 | col_right->get_element(0), vec_res); | 454 | |
| 455 | 0 | block.replace_by_position(result, std::move(col_res)); | 456 | 0 | } else if (left_is_const && !right_is_const) { | 457 | 0 | auto col_res = ColumnUInt8::create(); | 458 | |
| 459 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 460 | 0 | vec_res.resize(col_right->size()); | 461 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 462 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 463 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 464 | 0 | col_right->get_data(), vec_res); | 465 | |
| 466 | 0 | block.replace_by_position(result, std::move(col_res)); | 467 | 0 | } | 468 | 1 | return Status::OK(); | 469 | 1 | } |
_ZNK5doris18FunctionComparisonINS_14LessOrEqualsOpENS_16NameLessOrEqualsEE16execute_num_typeILNS_13PrimitiveTypeE3EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 425 | 64 | const ColumnPtr& col_right_ptr) const { | 426 | 64 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 427 | 64 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 428 | | | 429 | 64 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 430 | 64 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 431 | | | 432 | 64 | DCHECK(!(left_is_const && right_is_const)); | 433 | | | 434 | 64 | if (!left_is_const && !right_is_const) { | 435 | 1 | auto col_res = ColumnUInt8::create(); | 436 | | | 437 | 1 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 438 | 1 | vec_res.resize(col_left->get_data().size()); | 439 | 1 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 440 | 1 | typename PrimitiveTypeTraits<PT>::CppType, | 441 | 1 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 442 | 1 | vec_res); | 443 | | | 444 | 1 | block.replace_by_position(result, std::move(col_res)); | 445 | 63 | } else if (!left_is_const && right_is_const) { | 446 | 63 | auto col_res = ColumnUInt8::create(); | 447 | | | 448 | 63 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 449 | 63 | vec_res.resize(col_left->size()); | 450 | 63 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 451 | 63 | typename PrimitiveTypeTraits<PT>::CppType, | 452 | 63 | Op<PT>>::vector_constant(col_left->get_data(), | 453 | 63 | col_right->get_element(0), vec_res); | 454 | | | 455 | 63 | block.replace_by_position(result, std::move(col_res)); | 456 | 63 | } else if (left_is_const && !right_is_const) { | 457 | 0 | auto col_res = ColumnUInt8::create(); | 458 | |
| 459 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 460 | 0 | vec_res.resize(col_right->size()); | 461 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 462 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 463 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 464 | 0 | col_right->get_data(), vec_res); | 465 | |
| 466 | 0 | block.replace_by_position(result, std::move(col_res)); | 467 | 0 | } | 468 | 64 | return Status::OK(); | 469 | 64 | } |
_ZNK5doris18FunctionComparisonINS_14LessOrEqualsOpENS_16NameLessOrEqualsEE16execute_num_typeILNS_13PrimitiveTypeE4EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 425 | 106 | const ColumnPtr& col_right_ptr) const { | 426 | 106 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 427 | 106 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 428 | | | 429 | 106 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 430 | 106 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 431 | | | 432 | 106 | DCHECK(!(left_is_const && right_is_const)); | 433 | | | 434 | 106 | if (!left_is_const && !right_is_const) { | 435 | 0 | auto col_res = ColumnUInt8::create(); | 436 | |
| 437 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 438 | 0 | vec_res.resize(col_left->get_data().size()); | 439 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 440 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 441 | 0 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 442 | 0 | vec_res); | 443 | |
| 444 | 0 | block.replace_by_position(result, std::move(col_res)); | 445 | 106 | } else if (!left_is_const && right_is_const) { | 446 | 106 | auto col_res = ColumnUInt8::create(); | 447 | | | 448 | 106 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 449 | 106 | vec_res.resize(col_left->size()); | 450 | 106 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 451 | 106 | typename PrimitiveTypeTraits<PT>::CppType, | 452 | 106 | Op<PT>>::vector_constant(col_left->get_data(), | 453 | 106 | col_right->get_element(0), vec_res); | 454 | | | 455 | 106 | block.replace_by_position(result, std::move(col_res)); | 456 | 106 | } else if (left_is_const && !right_is_const) { | 457 | 0 | auto col_res = ColumnUInt8::create(); | 458 | |
| 459 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 460 | 0 | vec_res.resize(col_right->size()); | 461 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 462 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 463 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 464 | 0 | col_right->get_data(), vec_res); | 465 | |
| 466 | 0 | block.replace_by_position(result, std::move(col_res)); | 467 | 0 | } | 468 | 106 | return Status::OK(); | 469 | 106 | } |
_ZNK5doris18FunctionComparisonINS_14LessOrEqualsOpENS_16NameLessOrEqualsEE16execute_num_typeILNS_13PrimitiveTypeE5EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 425 | 6.26k | const ColumnPtr& col_right_ptr) const { | 426 | 6.26k | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 427 | 6.26k | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 428 | | | 429 | 6.26k | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 430 | 6.26k | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 431 | | | 432 | 6.26k | DCHECK(!(left_is_const && right_is_const)); | 433 | | | 434 | 6.26k | if (!left_is_const && !right_is_const) { | 435 | 23 | auto col_res = ColumnUInt8::create(); | 436 | | | 437 | 23 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 438 | 23 | vec_res.resize(col_left->get_data().size()); | 439 | 23 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 440 | 23 | typename PrimitiveTypeTraits<PT>::CppType, | 441 | 23 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 442 | 23 | vec_res); | 443 | | | 444 | 23 | block.replace_by_position(result, std::move(col_res)); | 445 | 6.24k | } else if (!left_is_const && right_is_const) { | 446 | 5.63k | auto col_res = ColumnUInt8::create(); | 447 | | | 448 | 5.63k | ColumnUInt8::Container& vec_res = col_res->get_data(); | 449 | 5.63k | vec_res.resize(col_left->size()); | 450 | 5.63k | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 451 | 5.63k | typename PrimitiveTypeTraits<PT>::CppType, | 452 | 5.63k | Op<PT>>::vector_constant(col_left->get_data(), | 453 | 5.63k | col_right->get_element(0), vec_res); | 454 | | | 455 | 5.63k | block.replace_by_position(result, std::move(col_res)); | 456 | 5.63k | } else if (left_is_const && !right_is_const) { | 457 | 602 | auto col_res = ColumnUInt8::create(); | 458 | | | 459 | 602 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 460 | 602 | vec_res.resize(col_right->size()); | 461 | 602 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 462 | 602 | typename PrimitiveTypeTraits<PT>::CppType, | 463 | 602 | Op<PT>>::constant_vector(col_left->get_element(0), | 464 | 602 | col_right->get_data(), vec_res); | 465 | | | 466 | 602 | block.replace_by_position(result, std::move(col_res)); | 467 | 602 | } | 468 | 6.26k | return Status::OK(); | 469 | 6.26k | } |
_ZNK5doris18FunctionComparisonINS_14LessOrEqualsOpENS_16NameLessOrEqualsEE16execute_num_typeILNS_13PrimitiveTypeE6EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 425 | 440 | const ColumnPtr& col_right_ptr) const { | 426 | 440 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 427 | 440 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 428 | | | 429 | 440 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 430 | 440 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 431 | | | 432 | 440 | DCHECK(!(left_is_const && right_is_const)); | 433 | | | 434 | 440 | if (!left_is_const && !right_is_const) { | 435 | 69 | auto col_res = ColumnUInt8::create(); | 436 | | | 437 | 69 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 438 | 69 | vec_res.resize(col_left->get_data().size()); | 439 | 69 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 440 | 69 | typename PrimitiveTypeTraits<PT>::CppType, | 441 | 69 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 442 | 69 | vec_res); | 443 | | | 444 | 69 | block.replace_by_position(result, std::move(col_res)); | 445 | 371 | } else if (!left_is_const && right_is_const) { | 446 | 323 | auto col_res = ColumnUInt8::create(); | 447 | | | 448 | 323 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 449 | 323 | vec_res.resize(col_left->size()); | 450 | 323 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 451 | 323 | typename PrimitiveTypeTraits<PT>::CppType, | 452 | 323 | Op<PT>>::vector_constant(col_left->get_data(), | 453 | 323 | col_right->get_element(0), vec_res); | 454 | | | 455 | 323 | block.replace_by_position(result, std::move(col_res)); | 456 | 323 | } else if (left_is_const && !right_is_const) { | 457 | 48 | auto col_res = ColumnUInt8::create(); | 458 | | | 459 | 48 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 460 | 48 | vec_res.resize(col_right->size()); | 461 | 48 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 462 | 48 | typename PrimitiveTypeTraits<PT>::CppType, | 463 | 48 | Op<PT>>::constant_vector(col_left->get_element(0), | 464 | 48 | col_right->get_data(), vec_res); | 465 | | | 466 | 48 | block.replace_by_position(result, std::move(col_res)); | 467 | 48 | } | 468 | 440 | return Status::OK(); | 469 | 440 | } |
_ZNK5doris18FunctionComparisonINS_14LessOrEqualsOpENS_16NameLessOrEqualsEE16execute_num_typeILNS_13PrimitiveTypeE7EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 425 | 28 | const ColumnPtr& col_right_ptr) const { | 426 | 28 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 427 | 28 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 428 | | | 429 | 28 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 430 | 28 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 431 | | | 432 | 28 | DCHECK(!(left_is_const && right_is_const)); | 433 | | | 434 | 28 | if (!left_is_const && !right_is_const) { | 435 | 0 | auto col_res = ColumnUInt8::create(); | 436 | |
| 437 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 438 | 0 | vec_res.resize(col_left->get_data().size()); | 439 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 440 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 441 | 0 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 442 | 0 | vec_res); | 443 | |
| 444 | 0 | block.replace_by_position(result, std::move(col_res)); | 445 | 28 | } else if (!left_is_const && right_is_const) { | 446 | 28 | auto col_res = ColumnUInt8::create(); | 447 | | | 448 | 28 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 449 | 28 | vec_res.resize(col_left->size()); | 450 | 28 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 451 | 28 | typename PrimitiveTypeTraits<PT>::CppType, | 452 | 28 | Op<PT>>::vector_constant(col_left->get_data(), | 453 | 28 | col_right->get_element(0), vec_res); | 454 | | | 455 | 28 | block.replace_by_position(result, std::move(col_res)); | 456 | 28 | } else if (left_is_const && !right_is_const) { | 457 | 0 | auto col_res = ColumnUInt8::create(); | 458 | |
| 459 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 460 | 0 | vec_res.resize(col_right->size()); | 461 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 462 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 463 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 464 | 0 | col_right->get_data(), vec_res); | 465 | |
| 466 | 0 | block.replace_by_position(result, std::move(col_res)); | 467 | 0 | } | 468 | 28 | return Status::OK(); | 469 | 28 | } |
_ZNK5doris18FunctionComparisonINS_14LessOrEqualsOpENS_16NameLessOrEqualsEE16execute_num_typeILNS_13PrimitiveTypeE36EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 425 | 10 | const ColumnPtr& col_right_ptr) const { | 426 | 10 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 427 | 10 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 428 | | | 429 | 10 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 430 | 10 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 431 | | | 432 | 10 | DCHECK(!(left_is_const && right_is_const)); | 433 | | | 434 | 10 | if (!left_is_const && !right_is_const) { | 435 | 0 | auto col_res = ColumnUInt8::create(); | 436 | |
| 437 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 438 | 0 | vec_res.resize(col_left->get_data().size()); | 439 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 440 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 441 | 0 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 442 | 0 | vec_res); | 443 | |
| 444 | 0 | block.replace_by_position(result, std::move(col_res)); | 445 | 10 | } else if (!left_is_const && right_is_const) { | 446 | 10 | auto col_res = ColumnUInt8::create(); | 447 | | | 448 | 10 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 449 | 10 | vec_res.resize(col_left->size()); | 450 | 10 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 451 | 10 | typename PrimitiveTypeTraits<PT>::CppType, | 452 | 10 | Op<PT>>::vector_constant(col_left->get_data(), | 453 | 10 | col_right->get_element(0), vec_res); | 454 | | | 455 | 10 | block.replace_by_position(result, std::move(col_res)); | 456 | 10 | } else if (left_is_const && !right_is_const) { | 457 | 0 | auto col_res = ColumnUInt8::create(); | 458 | |
| 459 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 460 | 0 | vec_res.resize(col_right->size()); | 461 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 462 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 463 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 464 | 0 | col_right->get_data(), vec_res); | 465 | |
| 466 | 0 | block.replace_by_position(result, std::move(col_res)); | 467 | 0 | } | 468 | 10 | return Status::OK(); | 469 | 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 | 425 | 20 | const ColumnPtr& col_right_ptr) const { | 426 | 20 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 427 | 20 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 428 | | | 429 | 20 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 430 | 20 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 431 | | | 432 | 20 | DCHECK(!(left_is_const && right_is_const)); | 433 | | | 434 | 20 | if (!left_is_const && !right_is_const) { | 435 | 20 | auto col_res = ColumnUInt8::create(); | 436 | | | 437 | 20 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 438 | 20 | vec_res.resize(col_left->get_data().size()); | 439 | 20 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 440 | 20 | typename PrimitiveTypeTraits<PT>::CppType, | 441 | 20 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 442 | 20 | vec_res); | 443 | | | 444 | 20 | block.replace_by_position(result, std::move(col_res)); | 445 | 20 | } else if (!left_is_const && right_is_const) { | 446 | 0 | auto col_res = ColumnUInt8::create(); | 447 | |
| 448 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 449 | 0 | vec_res.resize(col_left->size()); | 450 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 451 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 452 | 0 | Op<PT>>::vector_constant(col_left->get_data(), | 453 | 0 | col_right->get_element(0), vec_res); | 454 | |
| 455 | 0 | block.replace_by_position(result, std::move(col_res)); | 456 | 0 | } else if (left_is_const && !right_is_const) { | 457 | 0 | auto col_res = ColumnUInt8::create(); | 458 | |
| 459 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 460 | 0 | vec_res.resize(col_right->size()); | 461 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 462 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 463 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 464 | 0 | col_right->get_data(), vec_res); | 465 | |
| 466 | 0 | block.replace_by_position(result, std::move(col_res)); | 467 | 0 | } | 468 | 20 | return Status::OK(); | 469 | 20 | } |
_ZNK5doris18FunctionComparisonINS_14LessOrEqualsOpENS_16NameLessOrEqualsEE16execute_num_typeILNS_13PrimitiveTypeE9EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 425 | 124 | const ColumnPtr& col_right_ptr) const { | 426 | 124 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 427 | 124 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 428 | | | 429 | 124 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 430 | 124 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 431 | | | 432 | 124 | DCHECK(!(left_is_const && right_is_const)); | 433 | | | 434 | 124 | if (!left_is_const && !right_is_const) { | 435 | 20 | auto col_res = ColumnUInt8::create(); | 436 | | | 437 | 20 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 438 | 20 | vec_res.resize(col_left->get_data().size()); | 439 | 20 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 440 | 20 | typename PrimitiveTypeTraits<PT>::CppType, | 441 | 20 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 442 | 20 | vec_res); | 443 | | | 444 | 20 | block.replace_by_position(result, std::move(col_res)); | 445 | 104 | } else if (!left_is_const && right_is_const) { | 446 | 103 | auto col_res = ColumnUInt8::create(); | 447 | | | 448 | 103 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 449 | 103 | vec_res.resize(col_left->size()); | 450 | 103 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 451 | 103 | typename PrimitiveTypeTraits<PT>::CppType, | 452 | 103 | Op<PT>>::vector_constant(col_left->get_data(), | 453 | 103 | col_right->get_element(0), vec_res); | 454 | | | 455 | 103 | block.replace_by_position(result, std::move(col_res)); | 456 | 103 | } else if (left_is_const && !right_is_const) { | 457 | 1 | auto col_res = ColumnUInt8::create(); | 458 | | | 459 | 1 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 460 | 1 | vec_res.resize(col_right->size()); | 461 | 1 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 462 | 1 | typename PrimitiveTypeTraits<PT>::CppType, | 463 | 1 | Op<PT>>::constant_vector(col_left->get_element(0), | 464 | 1 | col_right->get_data(), vec_res); | 465 | | | 466 | 1 | block.replace_by_position(result, std::move(col_res)); | 467 | 1 | } | 468 | 124 | return Status::OK(); | 469 | 124 | } |
Unexecuted instantiation: _ZNK5doris18FunctionComparisonINS_14LessOrEqualsOpENS_16NameLessOrEqualsEE16execute_num_typeILNS_13PrimitiveTypeE27EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ |
470 | | |
471 | | Status execute_decimal(Block& block, uint32_t result, const ColumnWithTypeAndName& col_left, |
472 | 3.23k | const ColumnWithTypeAndName& col_right) const { |
473 | 3.23k | auto call = [&](const auto& type) -> bool { |
474 | 3.23k | using DispatchType = std::decay_t<decltype(type)>; |
475 | 3.23k | DecimalComparison<DispatchType::PType, DispatchType::PType, Op, false>( |
476 | 3.23k | block, result, col_left, col_right); |
477 | 3.23k | return true; |
478 | 3.23k | }; _ZZNK5doris18FunctionComparisonINS_8EqualsOpENS_10NameEqualsEE15execute_decimalERNS_5BlockEjRKNS_21ColumnWithTypeAndNameES8_ENKUlRKT_E_clINS_16DispatchDataTypeILNS_13PrimitiveTypeE28EEEEEbSB_ Line | Count | Source | 473 | 146 | auto call = [&](const auto& type) -> bool { | 474 | 146 | using DispatchType = std::decay_t<decltype(type)>; | 475 | 146 | DecimalComparison<DispatchType::PType, DispatchType::PType, Op, false>( | 476 | 146 | block, result, col_left, col_right); | 477 | 146 | return true; | 478 | 146 | }; |
_ZZNK5doris18FunctionComparisonINS_8EqualsOpENS_10NameEqualsEE15execute_decimalERNS_5BlockEjRKNS_21ColumnWithTypeAndNameES8_ENKUlRKT_E_clINS_16DispatchDataTypeILNS_13PrimitiveTypeE29EEEEEbSB_ Line | Count | Source | 473 | 174 | auto call = [&](const auto& type) -> bool { | 474 | 174 | using DispatchType = std::decay_t<decltype(type)>; | 475 | 174 | DecimalComparison<DispatchType::PType, DispatchType::PType, Op, false>( | 476 | 174 | block, result, col_left, col_right); | 477 | 174 | return true; | 478 | 174 | }; |
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 | 473 | 839 | auto call = [&](const auto& type) -> bool { | 474 | 839 | using DispatchType = std::decay_t<decltype(type)>; | 475 | 839 | DecimalComparison<DispatchType::PType, DispatchType::PType, Op, false>( | 476 | 839 | block, result, col_left, col_right); | 477 | 839 | return true; | 478 | 839 | }; |
_ZZNK5doris18FunctionComparisonINS_8EqualsOpENS_10NameEqualsEE15execute_decimalERNS_5BlockEjRKNS_21ColumnWithTypeAndNameES8_ENKUlRKT_E_clINS_16DispatchDataTypeILNS_13PrimitiveTypeE35EEEEEbSB_ Line | Count | Source | 473 | 30 | auto call = [&](const auto& type) -> bool { | 474 | 30 | using DispatchType = std::decay_t<decltype(type)>; | 475 | 30 | DecimalComparison<DispatchType::PType, DispatchType::PType, Op, false>( | 476 | 30 | block, result, col_left, col_right); | 477 | 30 | return true; | 478 | 30 | }; |
Unexecuted instantiation: _ZZNK5doris18FunctionComparisonINS_11NotEqualsOpENS_13NameNotEqualsEE15execute_decimalERNS_5BlockEjRKNS_21ColumnWithTypeAndNameES8_ENKUlRKT_E_clINS_16DispatchDataTypeILNS_13PrimitiveTypeE28EEEEEbSB_ _ZZNK5doris18FunctionComparisonINS_11NotEqualsOpENS_13NameNotEqualsEE15execute_decimalERNS_5BlockEjRKNS_21ColumnWithTypeAndNameES8_ENKUlRKT_E_clINS_16DispatchDataTypeILNS_13PrimitiveTypeE29EEEEEbSB_ Line | Count | Source | 473 | 68 | auto call = [&](const auto& type) -> bool { | 474 | 68 | using DispatchType = std::decay_t<decltype(type)>; | 475 | 68 | DecimalComparison<DispatchType::PType, DispatchType::PType, Op, false>( | 476 | 68 | block, result, col_left, col_right); | 477 | 68 | return true; | 478 | 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 | 473 | 28 | auto call = [&](const auto& type) -> bool { | 474 | 28 | using DispatchType = std::decay_t<decltype(type)>; | 475 | 28 | DecimalComparison<DispatchType::PType, DispatchType::PType, Op, false>( | 476 | 28 | block, result, col_left, col_right); | 477 | 28 | return true; | 478 | 28 | }; |
_ZZNK5doris18FunctionComparisonINS_11NotEqualsOpENS_13NameNotEqualsEE15execute_decimalERNS_5BlockEjRKNS_21ColumnWithTypeAndNameES8_ENKUlRKT_E_clINS_16DispatchDataTypeILNS_13PrimitiveTypeE35EEEEEbSB_ Line | Count | Source | 473 | 30 | auto call = [&](const auto& type) -> bool { | 474 | 30 | using DispatchType = std::decay_t<decltype(type)>; | 475 | 30 | DecimalComparison<DispatchType::PType, DispatchType::PType, Op, false>( | 476 | 30 | block, result, col_left, col_right); | 477 | 30 | return true; | 478 | 30 | }; |
_ZZNK5doris18FunctionComparisonINS_9GreaterOpENS_11NameGreaterEE15execute_decimalERNS_5BlockEjRKNS_21ColumnWithTypeAndNameES8_ENKUlRKT_E_clINS_16DispatchDataTypeILNS_13PrimitiveTypeE28EEEEEbSB_ Line | Count | Source | 473 | 8 | auto call = [&](const auto& type) -> bool { | 474 | 8 | using DispatchType = std::decay_t<decltype(type)>; | 475 | 8 | DecimalComparison<DispatchType::PType, DispatchType::PType, Op, false>( | 476 | 8 | block, result, col_left, col_right); | 477 | 8 | return true; | 478 | 8 | }; |
_ZZNK5doris18FunctionComparisonINS_9GreaterOpENS_11NameGreaterEE15execute_decimalERNS_5BlockEjRKNS_21ColumnWithTypeAndNameES8_ENKUlRKT_E_clINS_16DispatchDataTypeILNS_13PrimitiveTypeE29EEEEEbSB_ Line | Count | Source | 473 | 66 | auto call = [&](const auto& type) -> bool { | 474 | 66 | using DispatchType = std::decay_t<decltype(type)>; | 475 | 66 | DecimalComparison<DispatchType::PType, DispatchType::PType, Op, false>( | 476 | 66 | block, result, col_left, col_right); | 477 | 66 | return true; | 478 | 66 | }; |
Unexecuted instantiation: _ZZNK5doris18FunctionComparisonINS_9GreaterOpENS_11NameGreaterEE15execute_decimalERNS_5BlockEjRKNS_21ColumnWithTypeAndNameES8_ENKUlRKT_E_clINS_16DispatchDataTypeILNS_13PrimitiveTypeE20EEEEEbSB_ _ZZNK5doris18FunctionComparisonINS_9GreaterOpENS_11NameGreaterEE15execute_decimalERNS_5BlockEjRKNS_21ColumnWithTypeAndNameES8_ENKUlRKT_E_clINS_16DispatchDataTypeILNS_13PrimitiveTypeE30EEEEEbSB_ Line | Count | Source | 473 | 728 | auto call = [&](const auto& type) -> bool { | 474 | 728 | using DispatchType = std::decay_t<decltype(type)>; | 475 | 728 | DecimalComparison<DispatchType::PType, DispatchType::PType, Op, false>( | 476 | 728 | block, result, col_left, col_right); | 477 | 728 | return true; | 478 | 728 | }; |
_ZZNK5doris18FunctionComparisonINS_9GreaterOpENS_11NameGreaterEE15execute_decimalERNS_5BlockEjRKNS_21ColumnWithTypeAndNameES8_ENKUlRKT_E_clINS_16DispatchDataTypeILNS_13PrimitiveTypeE35EEEEEbSB_ Line | Count | Source | 473 | 2 | auto call = [&](const auto& type) -> bool { | 474 | 2 | using DispatchType = std::decay_t<decltype(type)>; | 475 | 2 | DecimalComparison<DispatchType::PType, DispatchType::PType, Op, false>( | 476 | 2 | block, result, col_left, col_right); | 477 | 2 | return true; | 478 | 2 | }; |
_ZZNK5doris18FunctionComparisonINS_17GreaterOrEqualsOpENS_19NameGreaterOrEqualsEE15execute_decimalERNS_5BlockEjRKNS_21ColumnWithTypeAndNameES8_ENKUlRKT_E_clINS_16DispatchDataTypeILNS_13PrimitiveTypeE28EEEEEbSB_ Line | Count | Source | 473 | 4 | auto call = [&](const auto& type) -> bool { | 474 | 4 | using DispatchType = std::decay_t<decltype(type)>; | 475 | 4 | DecimalComparison<DispatchType::PType, DispatchType::PType, Op, false>( | 476 | 4 | block, result, col_left, col_right); | 477 | 4 | return true; | 478 | 4 | }; |
_ZZNK5doris18FunctionComparisonINS_17GreaterOrEqualsOpENS_19NameGreaterOrEqualsEE15execute_decimalERNS_5BlockEjRKNS_21ColumnWithTypeAndNameES8_ENKUlRKT_E_clINS_16DispatchDataTypeILNS_13PrimitiveTypeE29EEEEEbSB_ Line | Count | Source | 473 | 52 | auto call = [&](const auto& type) -> bool { | 474 | 52 | using DispatchType = std::decay_t<decltype(type)>; | 475 | 52 | DecimalComparison<DispatchType::PType, DispatchType::PType, Op, false>( | 476 | 52 | block, result, col_left, col_right); | 477 | 52 | return true; | 478 | 52 | }; |
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 | 473 | 73 | auto call = [&](const auto& type) -> bool { | 474 | 73 | using DispatchType = std::decay_t<decltype(type)>; | 475 | 73 | DecimalComparison<DispatchType::PType, DispatchType::PType, Op, false>( | 476 | 73 | block, result, col_left, col_right); | 477 | 73 | return true; | 478 | 73 | }; |
_ZZNK5doris18FunctionComparisonINS_17GreaterOrEqualsOpENS_19NameGreaterOrEqualsEE15execute_decimalERNS_5BlockEjRKNS_21ColumnWithTypeAndNameES8_ENKUlRKT_E_clINS_16DispatchDataTypeILNS_13PrimitiveTypeE35EEEEEbSB_ Line | Count | Source | 473 | 21 | auto call = [&](const auto& type) -> bool { | 474 | 21 | using DispatchType = std::decay_t<decltype(type)>; | 475 | 21 | DecimalComparison<DispatchType::PType, DispatchType::PType, Op, false>( | 476 | 21 | block, result, col_left, col_right); | 477 | 21 | return true; | 478 | 21 | }; |
_ZZNK5doris18FunctionComparisonINS_6LessOpENS_8NameLessEE15execute_decimalERNS_5BlockEjRKNS_21ColumnWithTypeAndNameES8_ENKUlRKT_E_clINS_16DispatchDataTypeILNS_13PrimitiveTypeE28EEEEEbSB_ Line | Count | Source | 473 | 213 | auto call = [&](const auto& type) -> bool { | 474 | 213 | using DispatchType = std::decay_t<decltype(type)>; | 475 | 213 | DecimalComparison<DispatchType::PType, DispatchType::PType, Op, false>( | 476 | 213 | block, result, col_left, col_right); | 477 | 213 | return true; | 478 | 213 | }; |
_ZZNK5doris18FunctionComparisonINS_6LessOpENS_8NameLessEE15execute_decimalERNS_5BlockEjRKNS_21ColumnWithTypeAndNameES8_ENKUlRKT_E_clINS_16DispatchDataTypeILNS_13PrimitiveTypeE29EEEEEbSB_ Line | Count | Source | 473 | 225 | auto call = [&](const auto& type) -> bool { | 474 | 225 | using DispatchType = std::decay_t<decltype(type)>; | 475 | 225 | DecimalComparison<DispatchType::PType, DispatchType::PType, Op, false>( | 476 | 225 | block, result, col_left, col_right); | 477 | 225 | return true; | 478 | 225 | }; |
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 | 473 | 347 | auto call = [&](const auto& type) -> bool { | 474 | 347 | using DispatchType = std::decay_t<decltype(type)>; | 475 | 347 | DecimalComparison<DispatchType::PType, DispatchType::PType, Op, false>( | 476 | 347 | block, result, col_left, col_right); | 477 | 347 | return true; | 478 | 347 | }; |
_ZZNK5doris18FunctionComparisonINS_6LessOpENS_8NameLessEE15execute_decimalERNS_5BlockEjRKNS_21ColumnWithTypeAndNameES8_ENKUlRKT_E_clINS_16DispatchDataTypeILNS_13PrimitiveTypeE35EEEEEbSB_ Line | Count | Source | 473 | 1 | auto call = [&](const auto& type) -> bool { | 474 | 1 | using DispatchType = std::decay_t<decltype(type)>; | 475 | 1 | DecimalComparison<DispatchType::PType, DispatchType::PType, Op, false>( | 476 | 1 | block, result, col_left, col_right); | 477 | 1 | return true; | 478 | 1 | }; |
_ZZNK5doris18FunctionComparisonINS_14LessOrEqualsOpENS_16NameLessOrEqualsEE15execute_decimalERNS_5BlockEjRKNS_21ColumnWithTypeAndNameES8_ENKUlRKT_E_clINS_16DispatchDataTypeILNS_13PrimitiveTypeE28EEEEEbSB_ Line | Count | Source | 473 | 7 | auto call = [&](const auto& type) -> bool { | 474 | 7 | using DispatchType = std::decay_t<decltype(type)>; | 475 | 7 | DecimalComparison<DispatchType::PType, DispatchType::PType, Op, false>( | 476 | 7 | block, result, col_left, col_right); | 477 | 7 | return true; | 478 | 7 | }; |
_ZZNK5doris18FunctionComparisonINS_14LessOrEqualsOpENS_16NameLessOrEqualsEE15execute_decimalERNS_5BlockEjRKNS_21ColumnWithTypeAndNameES8_ENKUlRKT_E_clINS_16DispatchDataTypeILNS_13PrimitiveTypeE29EEEEEbSB_ Line | Count | Source | 473 | 59 | auto call = [&](const auto& type) -> bool { | 474 | 59 | using DispatchType = std::decay_t<decltype(type)>; | 475 | 59 | DecimalComparison<DispatchType::PType, DispatchType::PType, Op, false>( | 476 | 59 | block, result, col_left, col_right); | 477 | 59 | return true; | 478 | 59 | }; |
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 | 473 | 100 | auto call = [&](const auto& type) -> bool { | 474 | 100 | using DispatchType = std::decay_t<decltype(type)>; | 475 | 100 | DecimalComparison<DispatchType::PType, DispatchType::PType, Op, false>( | 476 | 100 | block, result, col_left, col_right); | 477 | 100 | return true; | 478 | 100 | }; |
_ZZNK5doris18FunctionComparisonINS_14LessOrEqualsOpENS_16NameLessOrEqualsEE15execute_decimalERNS_5BlockEjRKNS_21ColumnWithTypeAndNameES8_ENKUlRKT_E_clINS_16DispatchDataTypeILNS_13PrimitiveTypeE35EEEEEbSB_ Line | Count | Source | 473 | 16 | auto call = [&](const auto& type) -> bool { | 474 | 16 | using DispatchType = std::decay_t<decltype(type)>; | 475 | 16 | DecimalComparison<DispatchType::PType, DispatchType::PType, Op, false>( | 476 | 16 | block, result, col_left, col_right); | 477 | 16 | return true; | 478 | 16 | }; |
|
479 | | |
480 | 3.23k | if (col_left.type->get_primitive_type() != col_right.type->get_primitive_type()) { |
481 | 0 | return Status::RuntimeError( |
482 | 0 | "type of left column {} is not equal to type of right column {}", |
483 | 0 | col_left.type->get_name(), col_right.type->get_name()); |
484 | 0 | } |
485 | | |
486 | 3.23k | if (!dispatch_switch_decimal(col_right.type->get_primitive_type(), call)) { |
487 | 0 | return Status::RuntimeError("Wrong call for {} with {} and {}", get_name(), |
488 | 0 | col_left.type->get_name(), col_right.type->get_name()); |
489 | 0 | } |
490 | 3.23k | return Status::OK(); |
491 | 3.23k | } _ZNK5doris18FunctionComparisonINS_8EqualsOpENS_10NameEqualsEE15execute_decimalERNS_5BlockEjRKNS_21ColumnWithTypeAndNameES8_ Line | Count | Source | 472 | 1.18k | const ColumnWithTypeAndName& col_right) const { | 473 | 1.18k | auto call = [&](const auto& type) -> bool { | 474 | 1.18k | using DispatchType = std::decay_t<decltype(type)>; | 475 | 1.18k | DecimalComparison<DispatchType::PType, DispatchType::PType, Op, false>( | 476 | 1.18k | block, result, col_left, col_right); | 477 | 1.18k | return true; | 478 | 1.18k | }; | 479 | | | 480 | 1.18k | if (col_left.type->get_primitive_type() != col_right.type->get_primitive_type()) { | 481 | 0 | return Status::RuntimeError( | 482 | 0 | "type of left column {} is not equal to type of right column {}", | 483 | 0 | col_left.type->get_name(), col_right.type->get_name()); | 484 | 0 | } | 485 | | | 486 | 1.18k | if (!dispatch_switch_decimal(col_right.type->get_primitive_type(), call)) { | 487 | 0 | return Status::RuntimeError("Wrong call for {} with {} and {}", get_name(), | 488 | 0 | col_left.type->get_name(), col_right.type->get_name()); | 489 | 0 | } | 490 | 1.18k | return Status::OK(); | 491 | 1.18k | } |
_ZNK5doris18FunctionComparisonINS_11NotEqualsOpENS_13NameNotEqualsEE15execute_decimalERNS_5BlockEjRKNS_21ColumnWithTypeAndNameES8_ Line | Count | Source | 472 | 127 | const ColumnWithTypeAndName& col_right) const { | 473 | 127 | auto call = [&](const auto& type) -> bool { | 474 | 127 | using DispatchType = std::decay_t<decltype(type)>; | 475 | 127 | DecimalComparison<DispatchType::PType, DispatchType::PType, Op, false>( | 476 | 127 | block, result, col_left, col_right); | 477 | 127 | return true; | 478 | 127 | }; | 479 | | | 480 | 127 | if (col_left.type->get_primitive_type() != col_right.type->get_primitive_type()) { | 481 | 0 | return Status::RuntimeError( | 482 | 0 | "type of left column {} is not equal to type of right column {}", | 483 | 0 | col_left.type->get_name(), col_right.type->get_name()); | 484 | 0 | } | 485 | | | 486 | 127 | if (!dispatch_switch_decimal(col_right.type->get_primitive_type(), call)) { | 487 | 0 | return Status::RuntimeError("Wrong call for {} with {} and {}", get_name(), | 488 | 0 | col_left.type->get_name(), col_right.type->get_name()); | 489 | 0 | } | 490 | 127 | return Status::OK(); | 491 | 127 | } |
_ZNK5doris18FunctionComparisonINS_9GreaterOpENS_11NameGreaterEE15execute_decimalERNS_5BlockEjRKNS_21ColumnWithTypeAndNameES8_ Line | Count | Source | 472 | 804 | const ColumnWithTypeAndName& col_right) const { | 473 | 804 | auto call = [&](const auto& type) -> bool { | 474 | 804 | using DispatchType = std::decay_t<decltype(type)>; | 475 | 804 | DecimalComparison<DispatchType::PType, DispatchType::PType, Op, false>( | 476 | 804 | block, result, col_left, col_right); | 477 | 804 | return true; | 478 | 804 | }; | 479 | | | 480 | 804 | if (col_left.type->get_primitive_type() != col_right.type->get_primitive_type()) { | 481 | 0 | return Status::RuntimeError( | 482 | 0 | "type of left column {} is not equal to type of right column {}", | 483 | 0 | col_left.type->get_name(), col_right.type->get_name()); | 484 | 0 | } | 485 | | | 486 | 804 | if (!dispatch_switch_decimal(col_right.type->get_primitive_type(), call)) { | 487 | 0 | return Status::RuntimeError("Wrong call for {} with {} and {}", get_name(), | 488 | 0 | col_left.type->get_name(), col_right.type->get_name()); | 489 | 0 | } | 490 | 804 | return Status::OK(); | 491 | 804 | } |
_ZNK5doris18FunctionComparisonINS_17GreaterOrEqualsOpENS_19NameGreaterOrEqualsEE15execute_decimalERNS_5BlockEjRKNS_21ColumnWithTypeAndNameES8_ Line | Count | Source | 472 | 150 | const ColumnWithTypeAndName& col_right) const { | 473 | 150 | auto call = [&](const auto& type) -> bool { | 474 | 150 | using DispatchType = std::decay_t<decltype(type)>; | 475 | 150 | DecimalComparison<DispatchType::PType, DispatchType::PType, Op, false>( | 476 | 150 | block, result, col_left, col_right); | 477 | 150 | return true; | 478 | 150 | }; | 479 | | | 480 | 150 | if (col_left.type->get_primitive_type() != col_right.type->get_primitive_type()) { | 481 | 0 | return Status::RuntimeError( | 482 | 0 | "type of left column {} is not equal to type of right column {}", | 483 | 0 | col_left.type->get_name(), col_right.type->get_name()); | 484 | 0 | } | 485 | | | 486 | 150 | if (!dispatch_switch_decimal(col_right.type->get_primitive_type(), call)) { | 487 | 0 | return Status::RuntimeError("Wrong call for {} with {} and {}", get_name(), | 488 | 0 | col_left.type->get_name(), col_right.type->get_name()); | 489 | 0 | } | 490 | 150 | return Status::OK(); | 491 | 150 | } |
_ZNK5doris18FunctionComparisonINS_6LessOpENS_8NameLessEE15execute_decimalERNS_5BlockEjRKNS_21ColumnWithTypeAndNameES8_ Line | Count | Source | 472 | 786 | const ColumnWithTypeAndName& col_right) const { | 473 | 786 | auto call = [&](const auto& type) -> bool { | 474 | 786 | using DispatchType = std::decay_t<decltype(type)>; | 475 | 786 | DecimalComparison<DispatchType::PType, DispatchType::PType, Op, false>( | 476 | 786 | block, result, col_left, col_right); | 477 | 786 | return true; | 478 | 786 | }; | 479 | | | 480 | 786 | if (col_left.type->get_primitive_type() != col_right.type->get_primitive_type()) { | 481 | 0 | return Status::RuntimeError( | 482 | 0 | "type of left column {} is not equal to type of right column {}", | 483 | 0 | col_left.type->get_name(), col_right.type->get_name()); | 484 | 0 | } | 485 | | | 486 | 786 | if (!dispatch_switch_decimal(col_right.type->get_primitive_type(), call)) { | 487 | 0 | return Status::RuntimeError("Wrong call for {} with {} and {}", get_name(), | 488 | 0 | col_left.type->get_name(), col_right.type->get_name()); | 489 | 0 | } | 490 | 786 | return Status::OK(); | 491 | 786 | } |
_ZNK5doris18FunctionComparisonINS_14LessOrEqualsOpENS_16NameLessOrEqualsEE15execute_decimalERNS_5BlockEjRKNS_21ColumnWithTypeAndNameES8_ Line | Count | Source | 472 | 182 | const ColumnWithTypeAndName& col_right) const { | 473 | 182 | auto call = [&](const auto& type) -> bool { | 474 | 182 | using DispatchType = std::decay_t<decltype(type)>; | 475 | 182 | DecimalComparison<DispatchType::PType, DispatchType::PType, Op, false>( | 476 | 182 | block, result, col_left, col_right); | 477 | 182 | return true; | 478 | 182 | }; | 479 | | | 480 | 182 | if (col_left.type->get_primitive_type() != col_right.type->get_primitive_type()) { | 481 | 0 | return Status::RuntimeError( | 482 | 0 | "type of left column {} is not equal to type of right column {}", | 483 | 0 | col_left.type->get_name(), col_right.type->get_name()); | 484 | 0 | } | 485 | | | 486 | 182 | if (!dispatch_switch_decimal(col_right.type->get_primitive_type(), call)) { | 487 | 0 | return Status::RuntimeError("Wrong call for {} with {} and {}", get_name(), | 488 | 0 | col_left.type->get_name(), col_right.type->get_name()); | 489 | 0 | } | 490 | 182 | return Status::OK(); | 491 | 182 | } |
|
492 | | |
493 | | Status execute_string(Block& block, uint32_t result, const IColumn* c0, |
494 | 12.3k | const IColumn* c1) const { |
495 | 12.3k | const ColumnString* c0_string = check_and_get_column<ColumnString>(c0); |
496 | 12.3k | const ColumnString* c1_string = check_and_get_column<ColumnString>(c1); |
497 | 12.3k | const ColumnConst* c0_const = check_and_get_column_const_string_or_fixedstring(c0); |
498 | 12.3k | const ColumnConst* c1_const = check_and_get_column_const_string_or_fixedstring(c1); |
499 | 12.3k | if (!((c0_string || c0_const) && (c1_string || c1_const))) { |
500 | 0 | return Status::NotSupported("Illegal columns {}, {} of argument of function {}", |
501 | 0 | c0->get_name(), c1->get_name(), name); |
502 | 0 | } |
503 | 12.3k | DCHECK(!(c0_const && c1_const)); |
504 | 12.3k | const ColumnString::Chars* c0_const_chars = nullptr; |
505 | 12.3k | const ColumnString::Chars* c1_const_chars = nullptr; |
506 | 12.3k | ColumnString::Offset c0_const_size = 0; |
507 | 12.3k | ColumnString::Offset c1_const_size = 0; |
508 | | |
509 | 12.3k | if (c0_const) { |
510 | 6 | const ColumnString* c0_const_string = |
511 | 6 | check_and_get_column<ColumnString>(&c0_const->get_data_column()); |
512 | | |
513 | 6 | if (c0_const_string) { |
514 | 6 | c0_const_chars = &c0_const_string->get_chars(); |
515 | 6 | c0_const_size = c0_const_string->get_offsets()[0]; |
516 | 6 | } else { |
517 | 0 | return Status::NotSupported("Illegal columns {}, of argument of function {}", |
518 | 0 | c0->get_name(), name); |
519 | 0 | } |
520 | 6 | } |
521 | | |
522 | 12.3k | if (c1_const) { |
523 | 11.5k | const ColumnString* c1_const_string = |
524 | 11.5k | check_and_get_column<ColumnString>(&c1_const->get_data_column()); |
525 | | |
526 | 11.5k | if (c1_const_string) { |
527 | 11.5k | c1_const_chars = &c1_const_string->get_chars(); |
528 | 11.5k | c1_const_size = c1_const_string->get_offsets()[0]; |
529 | 11.5k | } else { |
530 | 0 | return Status::NotSupported("Illegal columns {}, of argument of function {}", |
531 | 0 | c1->get_name(), name); |
532 | 0 | } |
533 | 11.5k | } |
534 | | |
535 | 12.3k | using StringImpl = StringComparisonImpl<Op<TYPE_INT>>; |
536 | | |
537 | 12.3k | auto c_res = ColumnUInt8::create(); |
538 | 12.3k | ColumnUInt8::Container& vec_res = c_res->get_data(); |
539 | 12.3k | vec_res.resize(c0->size()); |
540 | | |
541 | 12.3k | if (c0_string && c1_string) { |
542 | 893 | StringImpl::string_vector_string_vector( |
543 | 893 | c0_string->get_chars(), c0_string->get_offsets(), c1_string->get_chars(), |
544 | 893 | c1_string->get_offsets(), vec_res); |
545 | 11.5k | } else if (c0_string && c1_const) { |
546 | 11.5k | StringImpl::string_vector_constant(c0_string->get_chars(), c0_string->get_offsets(), |
547 | 11.5k | *c1_const_chars, c1_const_size, vec_res); |
548 | 11.5k | } else if (c0_const && c1_string) { |
549 | 6 | StringImpl::constant_string_vector(*c0_const_chars, c0_const_size, |
550 | 6 | c1_string->get_chars(), c1_string->get_offsets(), |
551 | 6 | vec_res); |
552 | 6 | } else { |
553 | 0 | return Status::NotSupported("Illegal columns {}, {} of argument of function {}", |
554 | 0 | c0->get_name(), c1->get_name(), name); |
555 | 0 | } |
556 | 12.3k | block.replace_by_position(result, std::move(c_res)); |
557 | 12.3k | return Status::OK(); |
558 | 12.3k | } _ZNK5doris18FunctionComparisonINS_8EqualsOpENS_10NameEqualsEE14execute_stringERNS_5BlockEjPKNS_7IColumnES8_ Line | Count | Source | 494 | 11.0k | const IColumn* c1) const { | 495 | 11.0k | const ColumnString* c0_string = check_and_get_column<ColumnString>(c0); | 496 | 11.0k | const ColumnString* c1_string = check_and_get_column<ColumnString>(c1); | 497 | 11.0k | const ColumnConst* c0_const = check_and_get_column_const_string_or_fixedstring(c0); | 498 | 11.0k | const ColumnConst* c1_const = check_and_get_column_const_string_or_fixedstring(c1); | 499 | 11.0k | if (!((c0_string || c0_const) && (c1_string || c1_const))) { | 500 | 0 | return Status::NotSupported("Illegal columns {}, {} of argument of function {}", | 501 | 0 | c0->get_name(), c1->get_name(), name); | 502 | 0 | } | 503 | 11.0k | DCHECK(!(c0_const && c1_const)); | 504 | 11.0k | const ColumnString::Chars* c0_const_chars = nullptr; | 505 | 11.0k | const ColumnString::Chars* c1_const_chars = nullptr; | 506 | 11.0k | ColumnString::Offset c0_const_size = 0; | 507 | 11.0k | ColumnString::Offset c1_const_size = 0; | 508 | | | 509 | 11.0k | if (c0_const) { | 510 | 0 | const ColumnString* c0_const_string = | 511 | 0 | check_and_get_column<ColumnString>(&c0_const->get_data_column()); | 512 | |
| 513 | 0 | if (c0_const_string) { | 514 | 0 | c0_const_chars = &c0_const_string->get_chars(); | 515 | 0 | c0_const_size = c0_const_string->get_offsets()[0]; | 516 | 0 | } else { | 517 | 0 | return Status::NotSupported("Illegal columns {}, of argument of function {}", | 518 | 0 | c0->get_name(), name); | 519 | 0 | } | 520 | 0 | } | 521 | | | 522 | 11.0k | if (c1_const) { | 523 | 10.6k | const ColumnString* c1_const_string = | 524 | 10.6k | check_and_get_column<ColumnString>(&c1_const->get_data_column()); | 525 | | | 526 | 10.6k | if (c1_const_string) { | 527 | 10.6k | c1_const_chars = &c1_const_string->get_chars(); | 528 | 10.6k | c1_const_size = c1_const_string->get_offsets()[0]; | 529 | 10.6k | } else { | 530 | 0 | return Status::NotSupported("Illegal columns {}, of argument of function {}", | 531 | 0 | c1->get_name(), name); | 532 | 0 | } | 533 | 10.6k | } | 534 | | | 535 | 11.0k | using StringImpl = StringComparisonImpl<Op<TYPE_INT>>; | 536 | | | 537 | 11.0k | auto c_res = ColumnUInt8::create(); | 538 | 11.0k | ColumnUInt8::Container& vec_res = c_res->get_data(); | 539 | 11.0k | vec_res.resize(c0->size()); | 540 | | | 541 | 11.0k | if (c0_string && c1_string) { | 542 | 428 | StringImpl::string_vector_string_vector( | 543 | 428 | c0_string->get_chars(), c0_string->get_offsets(), c1_string->get_chars(), | 544 | 428 | c1_string->get_offsets(), vec_res); | 545 | 10.6k | } else if (c0_string && c1_const) { | 546 | 10.6k | StringImpl::string_vector_constant(c0_string->get_chars(), c0_string->get_offsets(), | 547 | 10.6k | *c1_const_chars, c1_const_size, vec_res); | 548 | 10.6k | } else if (c0_const && c1_string) { | 549 | 0 | StringImpl::constant_string_vector(*c0_const_chars, c0_const_size, | 550 | 0 | c1_string->get_chars(), c1_string->get_offsets(), | 551 | 0 | vec_res); | 552 | 0 | } else { | 553 | 0 | return Status::NotSupported("Illegal columns {}, {} of argument of function {}", | 554 | 0 | c0->get_name(), c1->get_name(), name); | 555 | 0 | } | 556 | 11.0k | block.replace_by_position(result, std::move(c_res)); | 557 | 11.0k | return Status::OK(); | 558 | 11.0k | } |
_ZNK5doris18FunctionComparisonINS_11NotEqualsOpENS_13NameNotEqualsEE14execute_stringERNS_5BlockEjPKNS_7IColumnES8_ Line | Count | Source | 494 | 93 | const IColumn* c1) const { | 495 | 93 | const ColumnString* c0_string = check_and_get_column<ColumnString>(c0); | 496 | 93 | const ColumnString* c1_string = check_and_get_column<ColumnString>(c1); | 497 | 93 | const ColumnConst* c0_const = check_and_get_column_const_string_or_fixedstring(c0); | 498 | 93 | const ColumnConst* c1_const = check_and_get_column_const_string_or_fixedstring(c1); | 499 | 93 | if (!((c0_string || c0_const) && (c1_string || c1_const))) { | 500 | 0 | return Status::NotSupported("Illegal columns {}, {} of argument of function {}", | 501 | 0 | c0->get_name(), c1->get_name(), name); | 502 | 0 | } | 503 | 93 | DCHECK(!(c0_const && c1_const)); | 504 | 93 | const ColumnString::Chars* c0_const_chars = nullptr; | 505 | 93 | const ColumnString::Chars* c1_const_chars = nullptr; | 506 | 93 | ColumnString::Offset c0_const_size = 0; | 507 | 93 | ColumnString::Offset c1_const_size = 0; | 508 | | | 509 | 93 | if (c0_const) { | 510 | 0 | const ColumnString* c0_const_string = | 511 | 0 | check_and_get_column<ColumnString>(&c0_const->get_data_column()); | 512 | |
| 513 | 0 | if (c0_const_string) { | 514 | 0 | c0_const_chars = &c0_const_string->get_chars(); | 515 | 0 | c0_const_size = c0_const_string->get_offsets()[0]; | 516 | 0 | } else { | 517 | 0 | return Status::NotSupported("Illegal columns {}, of argument of function {}", | 518 | 0 | c0->get_name(), name); | 519 | 0 | } | 520 | 0 | } | 521 | | | 522 | 93 | if (c1_const) { | 523 | 92 | const ColumnString* c1_const_string = | 524 | 92 | check_and_get_column<ColumnString>(&c1_const->get_data_column()); | 525 | | | 526 | 92 | if (c1_const_string) { | 527 | 92 | c1_const_chars = &c1_const_string->get_chars(); | 528 | 92 | c1_const_size = c1_const_string->get_offsets()[0]; | 529 | 92 | } else { | 530 | 0 | return Status::NotSupported("Illegal columns {}, of argument of function {}", | 531 | 0 | c1->get_name(), name); | 532 | 0 | } | 533 | 92 | } | 534 | | | 535 | 93 | using StringImpl = StringComparisonImpl<Op<TYPE_INT>>; | 536 | | | 537 | 93 | auto c_res = ColumnUInt8::create(); | 538 | 93 | ColumnUInt8::Container& vec_res = c_res->get_data(); | 539 | 93 | vec_res.resize(c0->size()); | 540 | | | 541 | 93 | if (c0_string && c1_string) { | 542 | 1 | StringImpl::string_vector_string_vector( | 543 | 1 | c0_string->get_chars(), c0_string->get_offsets(), c1_string->get_chars(), | 544 | 1 | c1_string->get_offsets(), vec_res); | 545 | 92 | } else if (c0_string && c1_const) { | 546 | 92 | StringImpl::string_vector_constant(c0_string->get_chars(), c0_string->get_offsets(), | 547 | 92 | *c1_const_chars, c1_const_size, vec_res); | 548 | 92 | } else if (c0_const && c1_string) { | 549 | 0 | StringImpl::constant_string_vector(*c0_const_chars, c0_const_size, | 550 | 0 | c1_string->get_chars(), c1_string->get_offsets(), | 551 | 0 | vec_res); | 552 | 0 | } else { | 553 | 0 | return Status::NotSupported("Illegal columns {}, {} of argument of function {}", | 554 | 0 | c0->get_name(), c1->get_name(), name); | 555 | 0 | } | 556 | 93 | block.replace_by_position(result, std::move(c_res)); | 557 | 93 | return Status::OK(); | 558 | 93 | } |
_ZNK5doris18FunctionComparisonINS_9GreaterOpENS_11NameGreaterEE14execute_stringERNS_5BlockEjPKNS_7IColumnES8_ Line | Count | Source | 494 | 187 | const IColumn* c1) const { | 495 | 187 | const ColumnString* c0_string = check_and_get_column<ColumnString>(c0); | 496 | 187 | const ColumnString* c1_string = check_and_get_column<ColumnString>(c1); | 497 | 187 | const ColumnConst* c0_const = check_and_get_column_const_string_or_fixedstring(c0); | 498 | 187 | const ColumnConst* c1_const = check_and_get_column_const_string_or_fixedstring(c1); | 499 | 187 | if (!((c0_string || c0_const) && (c1_string || c1_const))) { | 500 | 0 | return Status::NotSupported("Illegal columns {}, {} of argument of function {}", | 501 | 0 | c0->get_name(), c1->get_name(), name); | 502 | 0 | } | 503 | 187 | DCHECK(!(c0_const && c1_const)); | 504 | 187 | const ColumnString::Chars* c0_const_chars = nullptr; | 505 | 187 | const ColumnString::Chars* c1_const_chars = nullptr; | 506 | 187 | ColumnString::Offset c0_const_size = 0; | 507 | 187 | ColumnString::Offset c1_const_size = 0; | 508 | | | 509 | 187 | if (c0_const) { | 510 | 0 | const ColumnString* c0_const_string = | 511 | 0 | check_and_get_column<ColumnString>(&c0_const->get_data_column()); | 512 | |
| 513 | 0 | if (c0_const_string) { | 514 | 0 | c0_const_chars = &c0_const_string->get_chars(); | 515 | 0 | c0_const_size = c0_const_string->get_offsets()[0]; | 516 | 0 | } else { | 517 | 0 | return Status::NotSupported("Illegal columns {}, of argument of function {}", | 518 | 0 | c0->get_name(), name); | 519 | 0 | } | 520 | 0 | } | 521 | | | 522 | 187 | if (c1_const) { | 523 | 185 | const ColumnString* c1_const_string = | 524 | 185 | check_and_get_column<ColumnString>(&c1_const->get_data_column()); | 525 | | | 526 | 185 | if (c1_const_string) { | 527 | 185 | c1_const_chars = &c1_const_string->get_chars(); | 528 | 185 | c1_const_size = c1_const_string->get_offsets()[0]; | 529 | 185 | } else { | 530 | 0 | return Status::NotSupported("Illegal columns {}, of argument of function {}", | 531 | 0 | c1->get_name(), name); | 532 | 0 | } | 533 | 185 | } | 534 | | | 535 | 187 | using StringImpl = StringComparisonImpl<Op<TYPE_INT>>; | 536 | | | 537 | 187 | auto c_res = ColumnUInt8::create(); | 538 | 187 | ColumnUInt8::Container& vec_res = c_res->get_data(); | 539 | 187 | vec_res.resize(c0->size()); | 540 | | | 541 | 187 | if (c0_string && c1_string) { | 542 | 2 | StringImpl::string_vector_string_vector( | 543 | 2 | c0_string->get_chars(), c0_string->get_offsets(), c1_string->get_chars(), | 544 | 2 | c1_string->get_offsets(), vec_res); | 545 | 185 | } else if (c0_string && c1_const) { | 546 | 185 | StringImpl::string_vector_constant(c0_string->get_chars(), c0_string->get_offsets(), | 547 | 185 | *c1_const_chars, c1_const_size, vec_res); | 548 | 185 | } else if (c0_const && c1_string) { | 549 | 0 | StringImpl::constant_string_vector(*c0_const_chars, c0_const_size, | 550 | 0 | c1_string->get_chars(), c1_string->get_offsets(), | 551 | 0 | vec_res); | 552 | 0 | } else { | 553 | 0 | return Status::NotSupported("Illegal columns {}, {} of argument of function {}", | 554 | 0 | c0->get_name(), c1->get_name(), name); | 555 | 0 | } | 556 | 187 | block.replace_by_position(result, std::move(c_res)); | 557 | 187 | return Status::OK(); | 558 | 187 | } |
_ZNK5doris18FunctionComparisonINS_17GreaterOrEqualsOpENS_19NameGreaterOrEqualsEE14execute_stringERNS_5BlockEjPKNS_7IColumnES8_ Line | Count | Source | 494 | 326 | const IColumn* c1) const { | 495 | 326 | const ColumnString* c0_string = check_and_get_column<ColumnString>(c0); | 496 | 326 | const ColumnString* c1_string = check_and_get_column<ColumnString>(c1); | 497 | 326 | const ColumnConst* c0_const = check_and_get_column_const_string_or_fixedstring(c0); | 498 | 326 | const ColumnConst* c1_const = check_and_get_column_const_string_or_fixedstring(c1); | 499 | 326 | if (!((c0_string || c0_const) && (c1_string || c1_const))) { | 500 | 0 | return Status::NotSupported("Illegal columns {}, {} of argument of function {}", | 501 | 0 | c0->get_name(), c1->get_name(), name); | 502 | 0 | } | 503 | 326 | DCHECK(!(c0_const && c1_const)); | 504 | 326 | const ColumnString::Chars* c0_const_chars = nullptr; | 505 | 326 | const ColumnString::Chars* c1_const_chars = nullptr; | 506 | 326 | ColumnString::Offset c0_const_size = 0; | 507 | 326 | ColumnString::Offset c1_const_size = 0; | 508 | | | 509 | 326 | if (c0_const) { | 510 | 0 | const ColumnString* c0_const_string = | 511 | 0 | check_and_get_column<ColumnString>(&c0_const->get_data_column()); | 512 | |
| 513 | 0 | if (c0_const_string) { | 514 | 0 | c0_const_chars = &c0_const_string->get_chars(); | 515 | 0 | c0_const_size = c0_const_string->get_offsets()[0]; | 516 | 0 | } else { | 517 | 0 | return Status::NotSupported("Illegal columns {}, of argument of function {}", | 518 | 0 | c0->get_name(), name); | 519 | 0 | } | 520 | 0 | } | 521 | | | 522 | 326 | if (c1_const) { | 523 | 290 | const ColumnString* c1_const_string = | 524 | 290 | check_and_get_column<ColumnString>(&c1_const->get_data_column()); | 525 | | | 526 | 290 | if (c1_const_string) { | 527 | 290 | c1_const_chars = &c1_const_string->get_chars(); | 528 | 290 | c1_const_size = c1_const_string->get_offsets()[0]; | 529 | 290 | } else { | 530 | 0 | return Status::NotSupported("Illegal columns {}, of argument of function {}", | 531 | 0 | c1->get_name(), name); | 532 | 0 | } | 533 | 290 | } | 534 | | | 535 | 326 | using StringImpl = StringComparisonImpl<Op<TYPE_INT>>; | 536 | | | 537 | 326 | auto c_res = ColumnUInt8::create(); | 538 | 326 | ColumnUInt8::Container& vec_res = c_res->get_data(); | 539 | 326 | vec_res.resize(c0->size()); | 540 | | | 541 | 326 | if (c0_string && c1_string) { | 542 | 36 | StringImpl::string_vector_string_vector( | 543 | 36 | c0_string->get_chars(), c0_string->get_offsets(), c1_string->get_chars(), | 544 | 36 | c1_string->get_offsets(), vec_res); | 545 | 290 | } else if (c0_string && c1_const) { | 546 | 290 | StringImpl::string_vector_constant(c0_string->get_chars(), c0_string->get_offsets(), | 547 | 290 | *c1_const_chars, c1_const_size, vec_res); | 548 | 290 | } else if (c0_const && c1_string) { | 549 | 0 | StringImpl::constant_string_vector(*c0_const_chars, c0_const_size, | 550 | 0 | c1_string->get_chars(), c1_string->get_offsets(), | 551 | 0 | vec_res); | 552 | 0 | } else { | 553 | 0 | return Status::NotSupported("Illegal columns {}, {} of argument of function {}", | 554 | 0 | c0->get_name(), c1->get_name(), name); | 555 | 0 | } | 556 | 326 | block.replace_by_position(result, std::move(c_res)); | 557 | 326 | return Status::OK(); | 558 | 326 | } |
_ZNK5doris18FunctionComparisonINS_6LessOpENS_8NameLessEE14execute_stringERNS_5BlockEjPKNS_7IColumnES8_ Line | Count | Source | 494 | 538 | const IColumn* c1) const { | 495 | 538 | const ColumnString* c0_string = check_and_get_column<ColumnString>(c0); | 496 | 538 | const ColumnString* c1_string = check_and_get_column<ColumnString>(c1); | 497 | 538 | const ColumnConst* c0_const = check_and_get_column_const_string_or_fixedstring(c0); | 498 | 538 | const ColumnConst* c1_const = check_and_get_column_const_string_or_fixedstring(c1); | 499 | 538 | if (!((c0_string || c0_const) && (c1_string || c1_const))) { | 500 | 0 | return Status::NotSupported("Illegal columns {}, {} of argument of function {}", | 501 | 0 | c0->get_name(), c1->get_name(), name); | 502 | 0 | } | 503 | 538 | DCHECK(!(c0_const && c1_const)); | 504 | 538 | const ColumnString::Chars* c0_const_chars = nullptr; | 505 | 538 | const ColumnString::Chars* c1_const_chars = nullptr; | 506 | 538 | ColumnString::Offset c0_const_size = 0; | 507 | 538 | ColumnString::Offset c1_const_size = 0; | 508 | | | 509 | 538 | if (c0_const) { | 510 | 6 | const ColumnString* c0_const_string = | 511 | 6 | check_and_get_column<ColumnString>(&c0_const->get_data_column()); | 512 | | | 513 | 6 | if (c0_const_string) { | 514 | 6 | c0_const_chars = &c0_const_string->get_chars(); | 515 | 6 | c0_const_size = c0_const_string->get_offsets()[0]; | 516 | 6 | } else { | 517 | 0 | return Status::NotSupported("Illegal columns {}, of argument of function {}", | 518 | 0 | c0->get_name(), name); | 519 | 0 | } | 520 | 6 | } | 521 | | | 522 | 538 | if (c1_const) { | 523 | 106 | const ColumnString* c1_const_string = | 524 | 106 | check_and_get_column<ColumnString>(&c1_const->get_data_column()); | 525 | | | 526 | 106 | if (c1_const_string) { | 527 | 106 | c1_const_chars = &c1_const_string->get_chars(); | 528 | 106 | c1_const_size = c1_const_string->get_offsets()[0]; | 529 | 106 | } else { | 530 | 0 | return Status::NotSupported("Illegal columns {}, of argument of function {}", | 531 | 0 | c1->get_name(), name); | 532 | 0 | } | 533 | 106 | } | 534 | | | 535 | 538 | using StringImpl = StringComparisonImpl<Op<TYPE_INT>>; | 536 | | | 537 | 538 | auto c_res = ColumnUInt8::create(); | 538 | 538 | ColumnUInt8::Container& vec_res = c_res->get_data(); | 539 | 538 | vec_res.resize(c0->size()); | 540 | | | 541 | 538 | if (c0_string && c1_string) { | 542 | 426 | StringImpl::string_vector_string_vector( | 543 | 426 | c0_string->get_chars(), c0_string->get_offsets(), c1_string->get_chars(), | 544 | 426 | c1_string->get_offsets(), vec_res); | 545 | 426 | } else if (c0_string && c1_const) { | 546 | 106 | StringImpl::string_vector_constant(c0_string->get_chars(), c0_string->get_offsets(), | 547 | 106 | *c1_const_chars, c1_const_size, vec_res); | 548 | 106 | } else if (c0_const && c1_string) { | 549 | 6 | StringImpl::constant_string_vector(*c0_const_chars, c0_const_size, | 550 | 6 | c1_string->get_chars(), c1_string->get_offsets(), | 551 | 6 | vec_res); | 552 | 6 | } else { | 553 | 0 | return Status::NotSupported("Illegal columns {}, {} of argument of function {}", | 554 | 0 | c0->get_name(), c1->get_name(), name); | 555 | 0 | } | 556 | 538 | block.replace_by_position(result, std::move(c_res)); | 557 | 538 | return Status::OK(); | 558 | 538 | } |
_ZNK5doris18FunctionComparisonINS_14LessOrEqualsOpENS_16NameLessOrEqualsEE14execute_stringERNS_5BlockEjPKNS_7IColumnES8_ Line | Count | Source | 494 | 224 | const IColumn* c1) const { | 495 | 224 | const ColumnString* c0_string = check_and_get_column<ColumnString>(c0); | 496 | 224 | const ColumnString* c1_string = check_and_get_column<ColumnString>(c1); | 497 | 224 | const ColumnConst* c0_const = check_and_get_column_const_string_or_fixedstring(c0); | 498 | 224 | const ColumnConst* c1_const = check_and_get_column_const_string_or_fixedstring(c1); | 499 | 224 | if (!((c0_string || c0_const) && (c1_string || c1_const))) { | 500 | 0 | return Status::NotSupported("Illegal columns {}, {} of argument of function {}", | 501 | 0 | c0->get_name(), c1->get_name(), name); | 502 | 0 | } | 503 | 224 | DCHECK(!(c0_const && c1_const)); | 504 | 224 | const ColumnString::Chars* c0_const_chars = nullptr; | 505 | 224 | const ColumnString::Chars* c1_const_chars = nullptr; | 506 | 224 | ColumnString::Offset c0_const_size = 0; | 507 | 224 | ColumnString::Offset c1_const_size = 0; | 508 | | | 509 | 224 | if (c0_const) { | 510 | 0 | const ColumnString* c0_const_string = | 511 | 0 | check_and_get_column<ColumnString>(&c0_const->get_data_column()); | 512 | |
| 513 | 0 | if (c0_const_string) { | 514 | 0 | c0_const_chars = &c0_const_string->get_chars(); | 515 | 0 | c0_const_size = c0_const_string->get_offsets()[0]; | 516 | 0 | } else { | 517 | 0 | return Status::NotSupported("Illegal columns {}, of argument of function {}", | 518 | 0 | c0->get_name(), name); | 519 | 0 | } | 520 | 0 | } | 521 | | | 522 | 224 | if (c1_const) { | 523 | 224 | const ColumnString* c1_const_string = | 524 | 224 | check_and_get_column<ColumnString>(&c1_const->get_data_column()); | 525 | | | 526 | 224 | if (c1_const_string) { | 527 | 224 | c1_const_chars = &c1_const_string->get_chars(); | 528 | 224 | c1_const_size = c1_const_string->get_offsets()[0]; | 529 | 224 | } else { | 530 | 0 | return Status::NotSupported("Illegal columns {}, of argument of function {}", | 531 | 0 | c1->get_name(), name); | 532 | 0 | } | 533 | 224 | } | 534 | | | 535 | 224 | using StringImpl = StringComparisonImpl<Op<TYPE_INT>>; | 536 | | | 537 | 224 | auto c_res = ColumnUInt8::create(); | 538 | 224 | ColumnUInt8::Container& vec_res = c_res->get_data(); | 539 | 224 | vec_res.resize(c0->size()); | 540 | | | 541 | 224 | if (c0_string && c1_string) { | 542 | 0 | StringImpl::string_vector_string_vector( | 543 | 0 | c0_string->get_chars(), c0_string->get_offsets(), c1_string->get_chars(), | 544 | 0 | c1_string->get_offsets(), vec_res); | 545 | 224 | } else if (c0_string && c1_const) { | 546 | 224 | StringImpl::string_vector_constant(c0_string->get_chars(), c0_string->get_offsets(), | 547 | 224 | *c1_const_chars, c1_const_size, vec_res); | 548 | 224 | } else if (c0_const && c1_string) { | 549 | 0 | StringImpl::constant_string_vector(*c0_const_chars, c0_const_size, | 550 | 0 | c1_string->get_chars(), c1_string->get_offsets(), | 551 | 0 | vec_res); | 552 | 0 | } else { | 553 | 0 | return Status::NotSupported("Illegal columns {}, {} of argument of function {}", | 554 | 0 | c0->get_name(), c1->get_name(), name); | 555 | 0 | } | 556 | 224 | block.replace_by_position(result, std::move(c_res)); | 557 | 224 | return Status::OK(); | 558 | 224 | } |
|
559 | | |
560 | | void execute_generic_identical_types(Block& block, uint32_t result, const IColumn* c0, |
561 | 162 | const IColumn* c1) const { |
562 | 162 | bool c0_const = is_column_const(*c0); |
563 | 162 | bool c1_const = is_column_const(*c1); |
564 | | |
565 | 162 | DCHECK(!(c0_const && c1_const)); |
566 | | |
567 | 162 | auto c_res = ColumnUInt8::create(); |
568 | 162 | ColumnUInt8::Container& vec_res = c_res->get_data(); |
569 | 162 | vec_res.resize(c0->size()); |
570 | | |
571 | 162 | if (c0_const) { |
572 | 0 | GenericComparisonImpl<Op<TYPE_INT>>::constant_vector(*c0, *c1, vec_res); |
573 | 162 | } else if (c1_const) { |
574 | 153 | GenericComparisonImpl<Op<TYPE_INT>>::vector_constant(*c0, *c1, vec_res); |
575 | 153 | } else { |
576 | 9 | GenericComparisonImpl<Op<TYPE_INT>>::vector_vector(*c0, *c1, vec_res); |
577 | 9 | } |
578 | | |
579 | 162 | block.replace_by_position(result, std::move(c_res)); |
580 | 162 | } _ZNK5doris18FunctionComparisonINS_8EqualsOpENS_10NameEqualsEE31execute_generic_identical_typesERNS_5BlockEjPKNS_7IColumnES8_ Line | Count | Source | 561 | 17 | const IColumn* c1) const { | 562 | 17 | bool c0_const = is_column_const(*c0); | 563 | 17 | bool c1_const = is_column_const(*c1); | 564 | | | 565 | 17 | DCHECK(!(c0_const && c1_const)); | 566 | | | 567 | 17 | auto c_res = ColumnUInt8::create(); | 568 | 17 | ColumnUInt8::Container& vec_res = c_res->get_data(); | 569 | 17 | vec_res.resize(c0->size()); | 570 | | | 571 | 17 | if (c0_const) { | 572 | 0 | GenericComparisonImpl<Op<TYPE_INT>>::constant_vector(*c0, *c1, vec_res); | 573 | 17 | } else if (c1_const) { | 574 | 13 | GenericComparisonImpl<Op<TYPE_INT>>::vector_constant(*c0, *c1, vec_res); | 575 | 13 | } else { | 576 | 4 | GenericComparisonImpl<Op<TYPE_INT>>::vector_vector(*c0, *c1, vec_res); | 577 | 4 | } | 578 | | | 579 | 17 | block.replace_by_position(result, std::move(c_res)); | 580 | 17 | } |
_ZNK5doris18FunctionComparisonINS_11NotEqualsOpENS_13NameNotEqualsEE31execute_generic_identical_typesERNS_5BlockEjPKNS_7IColumnES8_ Line | Count | Source | 561 | 8 | const IColumn* c1) const { | 562 | 8 | bool c0_const = is_column_const(*c0); | 563 | 8 | bool c1_const = is_column_const(*c1); | 564 | | | 565 | 8 | DCHECK(!(c0_const && c1_const)); | 566 | | | 567 | 8 | auto c_res = ColumnUInt8::create(); | 568 | 8 | ColumnUInt8::Container& vec_res = c_res->get_data(); | 569 | 8 | vec_res.resize(c0->size()); | 570 | | | 571 | 8 | if (c0_const) { | 572 | 0 | GenericComparisonImpl<Op<TYPE_INT>>::constant_vector(*c0, *c1, vec_res); | 573 | 8 | } else if (c1_const) { | 574 | 8 | GenericComparisonImpl<Op<TYPE_INT>>::vector_constant(*c0, *c1, vec_res); | 575 | 8 | } else { | 576 | 0 | GenericComparisonImpl<Op<TYPE_INT>>::vector_vector(*c0, *c1, vec_res); | 577 | 0 | } | 578 | | | 579 | 8 | block.replace_by_position(result, std::move(c_res)); | 580 | 8 | } |
_ZNK5doris18FunctionComparisonINS_9GreaterOpENS_11NameGreaterEE31execute_generic_identical_typesERNS_5BlockEjPKNS_7IColumnES8_ Line | Count | Source | 561 | 9 | const IColumn* c1) const { | 562 | 9 | bool c0_const = is_column_const(*c0); | 563 | 9 | bool c1_const = is_column_const(*c1); | 564 | | | 565 | 9 | DCHECK(!(c0_const && c1_const)); | 566 | | | 567 | 9 | auto c_res = ColumnUInt8::create(); | 568 | 9 | ColumnUInt8::Container& vec_res = c_res->get_data(); | 569 | 9 | vec_res.resize(c0->size()); | 570 | | | 571 | 9 | if (c0_const) { | 572 | 0 | GenericComparisonImpl<Op<TYPE_INT>>::constant_vector(*c0, *c1, vec_res); | 573 | 9 | } else if (c1_const) { | 574 | 8 | GenericComparisonImpl<Op<TYPE_INT>>::vector_constant(*c0, *c1, vec_res); | 575 | 8 | } else { | 576 | 1 | GenericComparisonImpl<Op<TYPE_INT>>::vector_vector(*c0, *c1, vec_res); | 577 | 1 | } | 578 | | | 579 | 9 | block.replace_by_position(result, std::move(c_res)); | 580 | 9 | } |
_ZNK5doris18FunctionComparisonINS_17GreaterOrEqualsOpENS_19NameGreaterOrEqualsEE31execute_generic_identical_typesERNS_5BlockEjPKNS_7IColumnES8_ Line | Count | Source | 561 | 70 | const IColumn* c1) const { | 562 | 70 | bool c0_const = is_column_const(*c0); | 563 | 70 | bool c1_const = is_column_const(*c1); | 564 | | | 565 | 70 | DCHECK(!(c0_const && c1_const)); | 566 | | | 567 | 70 | auto c_res = ColumnUInt8::create(); | 568 | 70 | ColumnUInt8::Container& vec_res = c_res->get_data(); | 569 | 70 | vec_res.resize(c0->size()); | 570 | | | 571 | 70 | if (c0_const) { | 572 | 0 | GenericComparisonImpl<Op<TYPE_INT>>::constant_vector(*c0, *c1, vec_res); | 573 | 70 | } else if (c1_const) { | 574 | 69 | GenericComparisonImpl<Op<TYPE_INT>>::vector_constant(*c0, *c1, vec_res); | 575 | 69 | } else { | 576 | 1 | GenericComparisonImpl<Op<TYPE_INT>>::vector_vector(*c0, *c1, vec_res); | 577 | 1 | } | 578 | | | 579 | 70 | block.replace_by_position(result, std::move(c_res)); | 580 | 70 | } |
_ZNK5doris18FunctionComparisonINS_6LessOpENS_8NameLessEE31execute_generic_identical_typesERNS_5BlockEjPKNS_7IColumnES8_ Line | Count | Source | 561 | 11 | const IColumn* c1) const { | 562 | 11 | bool c0_const = is_column_const(*c0); | 563 | 11 | bool c1_const = is_column_const(*c1); | 564 | | | 565 | 11 | DCHECK(!(c0_const && c1_const)); | 566 | | | 567 | 11 | auto c_res = ColumnUInt8::create(); | 568 | 11 | ColumnUInt8::Container& vec_res = c_res->get_data(); | 569 | 11 | vec_res.resize(c0->size()); | 570 | | | 571 | 11 | if (c0_const) { | 572 | 0 | GenericComparisonImpl<Op<TYPE_INT>>::constant_vector(*c0, *c1, vec_res); | 573 | 11 | } else if (c1_const) { | 574 | 8 | GenericComparisonImpl<Op<TYPE_INT>>::vector_constant(*c0, *c1, vec_res); | 575 | 8 | } else { | 576 | 3 | GenericComparisonImpl<Op<TYPE_INT>>::vector_vector(*c0, *c1, vec_res); | 577 | 3 | } | 578 | | | 579 | 11 | block.replace_by_position(result, std::move(c_res)); | 580 | 11 | } |
_ZNK5doris18FunctionComparisonINS_14LessOrEqualsOpENS_16NameLessOrEqualsEE31execute_generic_identical_typesERNS_5BlockEjPKNS_7IColumnES8_ Line | Count | Source | 561 | 47 | const IColumn* c1) const { | 562 | 47 | bool c0_const = is_column_const(*c0); | 563 | 47 | bool c1_const = is_column_const(*c1); | 564 | | | 565 | 47 | DCHECK(!(c0_const && c1_const)); | 566 | | | 567 | 47 | auto c_res = ColumnUInt8::create(); | 568 | 47 | ColumnUInt8::Container& vec_res = c_res->get_data(); | 569 | 47 | vec_res.resize(c0->size()); | 570 | | | 571 | 47 | if (c0_const) { | 572 | 0 | GenericComparisonImpl<Op<TYPE_INT>>::constant_vector(*c0, *c1, vec_res); | 573 | 47 | } else if (c1_const) { | 574 | 47 | GenericComparisonImpl<Op<TYPE_INT>>::vector_constant(*c0, *c1, vec_res); | 575 | 47 | } else { | 576 | 0 | GenericComparisonImpl<Op<TYPE_INT>>::vector_vector(*c0, *c1, vec_res); | 577 | 0 | } | 578 | | | 579 | 47 | block.replace_by_position(result, std::move(c_res)); | 580 | 47 | } |
|
581 | | |
582 | | Status execute_generic(Block& block, uint32_t result, const ColumnWithTypeAndName& c0, |
583 | 162 | const ColumnWithTypeAndName& c1) const { |
584 | 162 | execute_generic_identical_types(block, result, c0.column.get(), c1.column.get()); |
585 | 162 | return Status::OK(); |
586 | 162 | } _ZNK5doris18FunctionComparisonINS_8EqualsOpENS_10NameEqualsEE15execute_genericERNS_5BlockEjRKNS_21ColumnWithTypeAndNameES8_ Line | Count | Source | 583 | 17 | const ColumnWithTypeAndName& c1) const { | 584 | 17 | execute_generic_identical_types(block, result, c0.column.get(), c1.column.get()); | 585 | 17 | return Status::OK(); | 586 | 17 | } |
_ZNK5doris18FunctionComparisonINS_11NotEqualsOpENS_13NameNotEqualsEE15execute_genericERNS_5BlockEjRKNS_21ColumnWithTypeAndNameES8_ Line | Count | Source | 583 | 8 | const ColumnWithTypeAndName& c1) const { | 584 | 8 | execute_generic_identical_types(block, result, c0.column.get(), c1.column.get()); | 585 | 8 | return Status::OK(); | 586 | 8 | } |
_ZNK5doris18FunctionComparisonINS_9GreaterOpENS_11NameGreaterEE15execute_genericERNS_5BlockEjRKNS_21ColumnWithTypeAndNameES8_ Line | Count | Source | 583 | 9 | const ColumnWithTypeAndName& c1) const { | 584 | 9 | execute_generic_identical_types(block, result, c0.column.get(), c1.column.get()); | 585 | 9 | return Status::OK(); | 586 | 9 | } |
_ZNK5doris18FunctionComparisonINS_17GreaterOrEqualsOpENS_19NameGreaterOrEqualsEE15execute_genericERNS_5BlockEjRKNS_21ColumnWithTypeAndNameES8_ Line | Count | Source | 583 | 70 | const ColumnWithTypeAndName& c1) const { | 584 | 70 | execute_generic_identical_types(block, result, c0.column.get(), c1.column.get()); | 585 | 70 | return Status::OK(); | 586 | 70 | } |
_ZNK5doris18FunctionComparisonINS_6LessOpENS_8NameLessEE15execute_genericERNS_5BlockEjRKNS_21ColumnWithTypeAndNameES8_ Line | Count | Source | 583 | 11 | const ColumnWithTypeAndName& c1) const { | 584 | 11 | execute_generic_identical_types(block, result, c0.column.get(), c1.column.get()); | 585 | 11 | return Status::OK(); | 586 | 11 | } |
_ZNK5doris18FunctionComparisonINS_14LessOrEqualsOpENS_16NameLessOrEqualsEE15execute_genericERNS_5BlockEjRKNS_21ColumnWithTypeAndNameES8_ Line | Count | Source | 583 | 47 | const ColumnWithTypeAndName& c1) const { | 584 | 47 | execute_generic_identical_types(block, result, c0.column.get(), c1.column.get()); | 585 | 47 | return Status::OK(); | 586 | 47 | } |
|
587 | | |
588 | | public: |
589 | 222 | String get_name() const override { return name; }_ZNK5doris18FunctionComparisonINS_8EqualsOpENS_10NameEqualsEE8get_nameB5cxx11Ev Line | Count | Source | 589 | 63 | String get_name() const override { return name; } |
_ZNK5doris18FunctionComparisonINS_11NotEqualsOpENS_13NameNotEqualsEE8get_nameB5cxx11Ev Line | Count | Source | 589 | 37 | String get_name() const override { return name; } |
_ZNK5doris18FunctionComparisonINS_9GreaterOpENS_11NameGreaterEE8get_nameB5cxx11Ev Line | Count | Source | 589 | 39 | String get_name() const override { return name; } |
_ZNK5doris18FunctionComparisonINS_17GreaterOrEqualsOpENS_19NameGreaterOrEqualsEE8get_nameB5cxx11Ev Line | Count | Source | 589 | 81 | String get_name() const override { return name; } |
_ZNK5doris18FunctionComparisonINS_6LessOpENS_8NameLessEE8get_nameB5cxx11Ev Line | Count | Source | 589 | 1 | String get_name() const override { return name; } |
_ZNK5doris18FunctionComparisonINS_14LessOrEqualsOpENS_16NameLessOrEqualsEE8get_nameB5cxx11Ev Line | Count | Source | 589 | 1 | String get_name() const override { return name; } |
|
590 | | |
591 | 265k | size_t get_number_of_arguments() const override { return 2; }_ZNK5doris18FunctionComparisonINS_8EqualsOpENS_10NameEqualsEE23get_number_of_argumentsEv Line | Count | Source | 591 | 240k | size_t get_number_of_arguments() const override { return 2; } |
_ZNK5doris18FunctionComparisonINS_11NotEqualsOpENS_13NameNotEqualsEE23get_number_of_argumentsEv Line | Count | Source | 591 | 1.17k | size_t get_number_of_arguments() const override { return 2; } |
_ZNK5doris18FunctionComparisonINS_9GreaterOpENS_11NameGreaterEE23get_number_of_argumentsEv Line | Count | Source | 591 | 4.93k | size_t get_number_of_arguments() const override { return 2; } |
_ZNK5doris18FunctionComparisonINS_17GreaterOrEqualsOpENS_19NameGreaterOrEqualsEE23get_number_of_argumentsEv Line | Count | Source | 591 | 6.83k | size_t get_number_of_arguments() const override { return 2; } |
_ZNK5doris18FunctionComparisonINS_6LessOpENS_8NameLessEE23get_number_of_argumentsEv Line | Count | Source | 591 | 3.01k | size_t get_number_of_arguments() const override { return 2; } |
_ZNK5doris18FunctionComparisonINS_14LessOrEqualsOpENS_16NameLessOrEqualsEE23get_number_of_argumentsEv Line | Count | Source | 591 | 9.06k | size_t get_number_of_arguments() const override { return 2; } |
|
592 | | |
593 | | ZoneMapFilterResult evaluate_zonemap_filter(const ZoneMapEvalContext& ctx, |
594 | 2.48k | const VExprSPtrs& arguments) const override { |
595 | 2.48k | auto op = comparison_zonemap_detail::op_from_name(name); |
596 | 2.48k | DORIS_CHECK(op.has_value()); |
597 | 2.48k | return comparison_zonemap_detail::evaluate(ctx, arguments, *op); |
598 | 2.48k | } _ZNK5doris18FunctionComparisonINS_8EqualsOpENS_10NameEqualsEE23evaluate_zonemap_filterERKNS_18ZoneMapEvalContextERKSt6vectorISt10shared_ptrINS_5VExprEESaISA_EE Line | Count | Source | 594 | 1.44k | const VExprSPtrs& arguments) const override { | 595 | 1.44k | auto op = comparison_zonemap_detail::op_from_name(name); | 596 | 1.44k | DORIS_CHECK(op.has_value()); | 597 | 1.44k | return comparison_zonemap_detail::evaluate(ctx, arguments, *op); | 598 | 1.44k | } |
_ZNK5doris18FunctionComparisonINS_11NotEqualsOpENS_13NameNotEqualsEE23evaluate_zonemap_filterERKNS_18ZoneMapEvalContextERKSt6vectorISt10shared_ptrINS_5VExprEESaISA_EE Line | Count | Source | 594 | 143 | const VExprSPtrs& arguments) const override { | 595 | 143 | auto op = comparison_zonemap_detail::op_from_name(name); | 596 | 143 | DORIS_CHECK(op.has_value()); | 597 | 143 | return comparison_zonemap_detail::evaluate(ctx, arguments, *op); | 598 | 143 | } |
_ZNK5doris18FunctionComparisonINS_9GreaterOpENS_11NameGreaterEE23evaluate_zonemap_filterERKNS_18ZoneMapEvalContextERKSt6vectorISt10shared_ptrINS_5VExprEESaISA_EE Line | Count | Source | 594 | 217 | const VExprSPtrs& arguments) const override { | 595 | 217 | auto op = comparison_zonemap_detail::op_from_name(name); | 596 | 217 | DORIS_CHECK(op.has_value()); | 597 | 217 | return comparison_zonemap_detail::evaluate(ctx, arguments, *op); | 598 | 217 | } |
_ZNK5doris18FunctionComparisonINS_17GreaterOrEqualsOpENS_19NameGreaterOrEqualsEE23evaluate_zonemap_filterERKNS_18ZoneMapEvalContextERKSt6vectorISt10shared_ptrINS_5VExprEESaISA_EE Line | Count | Source | 594 | 232 | const VExprSPtrs& arguments) const override { | 595 | 232 | auto op = comparison_zonemap_detail::op_from_name(name); | 596 | 232 | DORIS_CHECK(op.has_value()); | 597 | 232 | return comparison_zonemap_detail::evaluate(ctx, arguments, *op); | 598 | 232 | } |
_ZNK5doris18FunctionComparisonINS_6LessOpENS_8NameLessEE23evaluate_zonemap_filterERKNS_18ZoneMapEvalContextERKSt6vectorISt10shared_ptrINS_5VExprEESaISA_EE Line | Count | Source | 594 | 265 | const VExprSPtrs& arguments) const override { | 595 | 265 | auto op = comparison_zonemap_detail::op_from_name(name); | 596 | 265 | DORIS_CHECK(op.has_value()); | 597 | 265 | return comparison_zonemap_detail::evaluate(ctx, arguments, *op); | 598 | 265 | } |
_ZNK5doris18FunctionComparisonINS_14LessOrEqualsOpENS_16NameLessOrEqualsEE23evaluate_zonemap_filterERKNS_18ZoneMapEvalContextERKSt6vectorISt10shared_ptrINS_5VExprEESaISA_EE Line | Count | Source | 594 | 184 | const VExprSPtrs& arguments) const override { | 595 | 184 | auto op = comparison_zonemap_detail::op_from_name(name); | 596 | 184 | DORIS_CHECK(op.has_value()); | 597 | 184 | return comparison_zonemap_detail::evaluate(ctx, arguments, *op); | 598 | 184 | } |
|
599 | | |
600 | 28.5k | bool can_evaluate_zonemap_filter(const VExprSPtrs& arguments) const override { |
601 | 28.5k | return comparison_zonemap_detail::op_from_name(name).has_value() && |
602 | 28.5k | comparison_zonemap_detail::can_evaluate(arguments); |
603 | 28.5k | } _ZNK5doris18FunctionComparisonINS_8EqualsOpENS_10NameEqualsEE27can_evaluate_zonemap_filterERKSt6vectorISt10shared_ptrINS_5VExprEESaIS7_EE Line | Count | Source | 600 | 13.5k | bool can_evaluate_zonemap_filter(const VExprSPtrs& arguments) const override { | 601 | 13.5k | return comparison_zonemap_detail::op_from_name(name).has_value() && | 602 | 13.5k | comparison_zonemap_detail::can_evaluate(arguments); | 603 | 13.5k | } |
_ZNK5doris18FunctionComparisonINS_11NotEqualsOpENS_13NameNotEqualsEE27can_evaluate_zonemap_filterERKSt6vectorISt10shared_ptrINS_5VExprEESaIS7_EE Line | Count | Source | 600 | 1.27k | bool can_evaluate_zonemap_filter(const VExprSPtrs& arguments) const override { | 601 | 1.27k | return comparison_zonemap_detail::op_from_name(name).has_value() && | 602 | 1.27k | comparison_zonemap_detail::can_evaluate(arguments); | 603 | 1.27k | } |
_ZNK5doris18FunctionComparisonINS_9GreaterOpENS_11NameGreaterEE27can_evaluate_zonemap_filterERKSt6vectorISt10shared_ptrINS_5VExprEESaIS7_EE Line | Count | Source | 600 | 4.83k | bool can_evaluate_zonemap_filter(const VExprSPtrs& arguments) const override { | 601 | 4.83k | return comparison_zonemap_detail::op_from_name(name).has_value() && | 602 | 4.84k | comparison_zonemap_detail::can_evaluate(arguments); | 603 | 4.83k | } |
_ZNK5doris18FunctionComparisonINS_17GreaterOrEqualsOpENS_19NameGreaterOrEqualsEE27can_evaluate_zonemap_filterERKSt6vectorISt10shared_ptrINS_5VExprEESaIS7_EE Line | Count | Source | 600 | 3.84k | bool can_evaluate_zonemap_filter(const VExprSPtrs& arguments) const override { | 601 | 3.84k | return comparison_zonemap_detail::op_from_name(name).has_value() && | 602 | 3.85k | comparison_zonemap_detail::can_evaluate(arguments); | 603 | 3.84k | } |
_ZNK5doris18FunctionComparisonINS_6LessOpENS_8NameLessEE27can_evaluate_zonemap_filterERKSt6vectorISt10shared_ptrINS_5VExprEESaIS7_EE Line | Count | Source | 600 | 3.02k | bool can_evaluate_zonemap_filter(const VExprSPtrs& arguments) const override { | 601 | 3.02k | return comparison_zonemap_detail::op_from_name(name).has_value() && | 602 | 3.02k | comparison_zonemap_detail::can_evaluate(arguments); | 603 | 3.02k | } |
_ZNK5doris18FunctionComparisonINS_14LessOrEqualsOpENS_16NameLessOrEqualsEE27can_evaluate_zonemap_filterERKSt6vectorISt10shared_ptrINS_5VExprEESaIS7_EE Line | Count | Source | 600 | 1.99k | bool can_evaluate_zonemap_filter(const VExprSPtrs& arguments) const override { | 601 | 1.99k | return comparison_zonemap_detail::op_from_name(name).has_value() && | 602 | 2.00k | comparison_zonemap_detail::can_evaluate(arguments); | 603 | 1.99k | } |
|
604 | | |
605 | | ZoneMapFilterResult evaluate_dictionary_filter(const DictionaryEvalContext& ctx, |
606 | 4 | const VExprSPtrs& arguments) const override { |
607 | 4 | auto op = comparison_zonemap_detail::op_from_name(name); |
608 | 4 | DORIS_CHECK(op.has_value()); |
609 | 4 | return comparison_zonemap_detail::evaluate_dictionary(ctx, arguments, *op); |
610 | 4 | } _ZNK5doris18FunctionComparisonINS_8EqualsOpENS_10NameEqualsEE26evaluate_dictionary_filterERKNS_12expr_zonemap21DictionaryEvalContextERKSt6vectorISt10shared_ptrINS_5VExprEESaISB_EE Line | Count | Source | 606 | 4 | const VExprSPtrs& arguments) const override { | 607 | 4 | auto op = comparison_zonemap_detail::op_from_name(name); | 608 | 4 | DORIS_CHECK(op.has_value()); | 609 | 4 | return comparison_zonemap_detail::evaluate_dictionary(ctx, arguments, *op); | 610 | 4 | } |
Unexecuted instantiation: _ZNK5doris18FunctionComparisonINS_11NotEqualsOpENS_13NameNotEqualsEE26evaluate_dictionary_filterERKNS_12expr_zonemap21DictionaryEvalContextERKSt6vectorISt10shared_ptrINS_5VExprEESaISB_EE Unexecuted instantiation: _ZNK5doris18FunctionComparisonINS_9GreaterOpENS_11NameGreaterEE26evaluate_dictionary_filterERKNS_12expr_zonemap21DictionaryEvalContextERKSt6vectorISt10shared_ptrINS_5VExprEESaISB_EE Unexecuted instantiation: _ZNK5doris18FunctionComparisonINS_17GreaterOrEqualsOpENS_19NameGreaterOrEqualsEE26evaluate_dictionary_filterERKNS_12expr_zonemap21DictionaryEvalContextERKSt6vectorISt10shared_ptrINS_5VExprEESaISB_EE Unexecuted instantiation: _ZNK5doris18FunctionComparisonINS_6LessOpENS_8NameLessEE26evaluate_dictionary_filterERKNS_12expr_zonemap21DictionaryEvalContextERKSt6vectorISt10shared_ptrINS_5VExprEESaISB_EE Unexecuted instantiation: _ZNK5doris18FunctionComparisonINS_14LessOrEqualsOpENS_16NameLessOrEqualsEE26evaluate_dictionary_filterERKNS_12expr_zonemap21DictionaryEvalContextERKSt6vectorISt10shared_ptrINS_5VExprEESaISB_EE |
611 | | |
612 | 18 | bool can_evaluate_dictionary_filter(const VExprSPtrs& arguments) const override { |
613 | 18 | auto op = comparison_zonemap_detail::op_from_name(name); |
614 | 18 | return op.has_value() && comparison_zonemap_detail::can_evaluate_equality(arguments, *op); |
615 | 18 | } _ZNK5doris18FunctionComparisonINS_8EqualsOpENS_10NameEqualsEE30can_evaluate_dictionary_filterERKSt6vectorISt10shared_ptrINS_5VExprEESaIS7_EE Line | Count | Source | 612 | 3 | bool can_evaluate_dictionary_filter(const VExprSPtrs& arguments) const override { | 613 | 3 | auto op = comparison_zonemap_detail::op_from_name(name); | 614 | 3 | return op.has_value() && comparison_zonemap_detail::can_evaluate_equality(arguments, *op); | 615 | 3 | } |
_ZNK5doris18FunctionComparisonINS_11NotEqualsOpENS_13NameNotEqualsEE30can_evaluate_dictionary_filterERKSt6vectorISt10shared_ptrINS_5VExprEESaIS7_EE Line | Count | Source | 612 | 1 | bool can_evaluate_dictionary_filter(const VExprSPtrs& arguments) const override { | 613 | 1 | auto op = comparison_zonemap_detail::op_from_name(name); | 614 | 1 | return op.has_value() && comparison_zonemap_detail::can_evaluate_equality(arguments, *op); | 615 | 1 | } |
_ZNK5doris18FunctionComparisonINS_9GreaterOpENS_11NameGreaterEE30can_evaluate_dictionary_filterERKSt6vectorISt10shared_ptrINS_5VExprEESaIS7_EE Line | Count | Source | 612 | 14 | bool can_evaluate_dictionary_filter(const VExprSPtrs& arguments) const override { | 613 | 14 | auto op = comparison_zonemap_detail::op_from_name(name); | 614 | 14 | return op.has_value() && comparison_zonemap_detail::can_evaluate_equality(arguments, *op); | 615 | 14 | } |
Unexecuted instantiation: _ZNK5doris18FunctionComparisonINS_17GreaterOrEqualsOpENS_19NameGreaterOrEqualsEE30can_evaluate_dictionary_filterERKSt6vectorISt10shared_ptrINS_5VExprEESaIS7_EE Unexecuted instantiation: _ZNK5doris18FunctionComparisonINS_6LessOpENS_8NameLessEE30can_evaluate_dictionary_filterERKSt6vectorISt10shared_ptrINS_5VExprEESaIS7_EE Unexecuted instantiation: _ZNK5doris18FunctionComparisonINS_14LessOrEqualsOpENS_16NameLessOrEqualsEE30can_evaluate_dictionary_filterERKSt6vectorISt10shared_ptrINS_5VExprEESaIS7_EE |
616 | | |
617 | | ZoneMapFilterResult evaluate_bloom_filter(const BloomFilterEvalContext& ctx, |
618 | 4 | const VExprSPtrs& arguments) const override { |
619 | 4 | auto op = comparison_zonemap_detail::op_from_name(name); |
620 | 4 | DORIS_CHECK(op.has_value()); |
621 | 4 | return comparison_zonemap_detail::evaluate_bloom_filter(ctx, arguments, *op); |
622 | 4 | } _ZNK5doris18FunctionComparisonINS_8EqualsOpENS_10NameEqualsEE21evaluate_bloom_filterERKNS_12expr_zonemap22BloomFilterEvalContextERKSt6vectorISt10shared_ptrINS_5VExprEESaISB_EE Line | Count | Source | 618 | 4 | const VExprSPtrs& arguments) const override { | 619 | 4 | auto op = comparison_zonemap_detail::op_from_name(name); | 620 | 4 | DORIS_CHECK(op.has_value()); | 621 | 4 | return comparison_zonemap_detail::evaluate_bloom_filter(ctx, arguments, *op); | 622 | 4 | } |
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 |
623 | | |
624 | 18 | bool can_evaluate_bloom_filter(const VExprSPtrs& arguments) const override { |
625 | 18 | auto op = comparison_zonemap_detail::op_from_name(name); |
626 | 18 | return op.has_value() && comparison_zonemap_detail::can_evaluate_equality(arguments, *op); |
627 | 18 | } _ZNK5doris18FunctionComparisonINS_8EqualsOpENS_10NameEqualsEE25can_evaluate_bloom_filterERKSt6vectorISt10shared_ptrINS_5VExprEESaIS7_EE Line | Count | Source | 624 | 3 | bool can_evaluate_bloom_filter(const VExprSPtrs& arguments) const override { | 625 | 3 | auto op = comparison_zonemap_detail::op_from_name(name); | 626 | 3 | return op.has_value() && comparison_zonemap_detail::can_evaluate_equality(arguments, *op); | 627 | 3 | } |
_ZNK5doris18FunctionComparisonINS_11NotEqualsOpENS_13NameNotEqualsEE25can_evaluate_bloom_filterERKSt6vectorISt10shared_ptrINS_5VExprEESaIS7_EE Line | Count | Source | 624 | 1 | bool can_evaluate_bloom_filter(const VExprSPtrs& arguments) const override { | 625 | 1 | auto op = comparison_zonemap_detail::op_from_name(name); | 626 | 1 | return op.has_value() && comparison_zonemap_detail::can_evaluate_equality(arguments, *op); | 627 | 1 | } |
_ZNK5doris18FunctionComparisonINS_9GreaterOpENS_11NameGreaterEE25can_evaluate_bloom_filterERKSt6vectorISt10shared_ptrINS_5VExprEESaIS7_EE Line | Count | Source | 624 | 14 | bool can_evaluate_bloom_filter(const VExprSPtrs& arguments) const override { | 625 | 14 | auto op = comparison_zonemap_detail::op_from_name(name); | 626 | 14 | return op.has_value() && comparison_zonemap_detail::can_evaluate_equality(arguments, *op); | 627 | 14 | } |
Unexecuted instantiation: _ZNK5doris18FunctionComparisonINS_17GreaterOrEqualsOpENS_19NameGreaterOrEqualsEE25can_evaluate_bloom_filterERKSt6vectorISt10shared_ptrINS_5VExprEESaIS7_EE Unexecuted instantiation: _ZNK5doris18FunctionComparisonINS_6LessOpENS_8NameLessEE25can_evaluate_bloom_filterERKSt6vectorISt10shared_ptrINS_5VExprEESaIS7_EE Unexecuted instantiation: _ZNK5doris18FunctionComparisonINS_14LessOrEqualsOpENS_16NameLessOrEqualsEE25can_evaluate_bloom_filterERKSt6vectorISt10shared_ptrINS_5VExprEESaIS7_EE |
628 | | |
629 | | /// Get result types by argument types. If the function does not apply to these arguments, throw an exception. |
630 | 265k | DataTypePtr get_return_type_impl(const DataTypes& arguments) const override { |
631 | 265k | return std::make_shared<DataTypeUInt8>(); |
632 | 265k | } _ZNK5doris18FunctionComparisonINS_8EqualsOpENS_10NameEqualsEE20get_return_type_implERKSt6vectorISt10shared_ptrIKNS_9IDataTypeEESaIS8_EE Line | Count | Source | 630 | 240k | DataTypePtr get_return_type_impl(const DataTypes& arguments) const override { | 631 | 240k | return std::make_shared<DataTypeUInt8>(); | 632 | 240k | } |
_ZNK5doris18FunctionComparisonINS_11NotEqualsOpENS_13NameNotEqualsEE20get_return_type_implERKSt6vectorISt10shared_ptrIKNS_9IDataTypeEESaIS8_EE Line | Count | Source | 630 | 1.17k | DataTypePtr get_return_type_impl(const DataTypes& arguments) const override { | 631 | 1.17k | return std::make_shared<DataTypeUInt8>(); | 632 | 1.17k | } |
_ZNK5doris18FunctionComparisonINS_9GreaterOpENS_11NameGreaterEE20get_return_type_implERKSt6vectorISt10shared_ptrIKNS_9IDataTypeEESaIS8_EE Line | Count | Source | 630 | 4.93k | DataTypePtr get_return_type_impl(const DataTypes& arguments) const override { | 631 | 4.93k | return std::make_shared<DataTypeUInt8>(); | 632 | 4.93k | } |
_ZNK5doris18FunctionComparisonINS_17GreaterOrEqualsOpENS_19NameGreaterOrEqualsEE20get_return_type_implERKSt6vectorISt10shared_ptrIKNS_9IDataTypeEESaIS8_EE Line | Count | Source | 630 | 6.84k | DataTypePtr get_return_type_impl(const DataTypes& arguments) const override { | 631 | 6.84k | return std::make_shared<DataTypeUInt8>(); | 632 | 6.84k | } |
_ZNK5doris18FunctionComparisonINS_6LessOpENS_8NameLessEE20get_return_type_implERKSt6vectorISt10shared_ptrIKNS_9IDataTypeEESaIS8_EE Line | Count | Source | 630 | 3.01k | DataTypePtr get_return_type_impl(const DataTypes& arguments) const override { | 631 | 3.01k | return std::make_shared<DataTypeUInt8>(); | 632 | 3.01k | } |
_ZNK5doris18FunctionComparisonINS_14LessOrEqualsOpENS_16NameLessOrEqualsEE20get_return_type_implERKSt6vectorISt10shared_ptrIKNS_9IDataTypeEESaIS8_EE Line | Count | Source | 630 | 9.08k | DataTypePtr get_return_type_impl(const DataTypes& arguments) const override { | 631 | 9.08k | return std::make_shared<DataTypeUInt8>(); | 632 | 9.08k | } |
|
633 | | |
634 | | Status evaluate_inverted_index( |
635 | | const ColumnsWithTypeAndName& arguments, |
636 | | const std::vector<IndexFieldNameAndTypePair>& data_type_with_names, |
637 | | std::vector<segment_v2::IndexIterator*> iterators, uint32_t num_rows, |
638 | | const InvertedIndexAnalyzerCtx* analyzer_ctx, |
639 | 1.35k | segment_v2::InvertedIndexResultBitmap& bitmap_result) const override { |
640 | 1.35k | DCHECK(arguments.size() == 1); |
641 | 1.35k | DCHECK(data_type_with_names.size() == 1); |
642 | 1.35k | DCHECK(iterators.size() == 1); |
643 | 1.35k | auto* iter = iterators[0]; |
644 | 1.35k | auto data_type_with_name = data_type_with_names[0]; |
645 | 1.35k | if (iter == nullptr) { |
646 | 0 | return Status::OK(); |
647 | 0 | } |
648 | 1.35k | if (!segment_v2::IndexReaderHelper::has_string_or_bkd_index(iter)) { |
649 | 310 | return Status::OK(); |
650 | 310 | } |
651 | 1.04k | segment_v2::InvertedIndexQueryType query_type; |
652 | 1.04k | std::string_view name_view(name); |
653 | 1.04k | if (name_view == NameEquals::name || name_view == NameNotEquals::name) { |
654 | 721 | query_type = segment_v2::InvertedIndexQueryType::EQUAL_QUERY; |
655 | 721 | } else if (name_view == NameLess::name) { |
656 | 76 | query_type = segment_v2::InvertedIndexQueryType::LESS_THAN_QUERY; |
657 | 247 | } else if (name_view == NameLessOrEquals::name) { |
658 | 81 | query_type = segment_v2::InvertedIndexQueryType::LESS_EQUAL_QUERY; |
659 | 166 | } else if (name_view == NameGreater::name) { |
660 | 73 | query_type = segment_v2::InvertedIndexQueryType::GREATER_THAN_QUERY; |
661 | 93 | } else if (name_view == NameGreaterOrEquals::name) { |
662 | 93 | query_type = segment_v2::InvertedIndexQueryType::GREATER_EQUAL_QUERY; |
663 | 93 | } else { |
664 | 0 | return Status::InvalidArgument("invalid comparison op type {}", Name::name); |
665 | 0 | } |
666 | | |
667 | 1.04k | if (segment_v2::is_range_query(query_type) && |
668 | 1.04k | iter->get_reader(segment_v2::InvertedIndexReaderType::STRING_TYPE)) { |
669 | | // untokenized strings exceed ignore_above, they are written as null, causing range query errors |
670 | 133 | return Status::OK(); |
671 | 133 | } |
672 | 911 | Field param_value; |
673 | 911 | arguments[0].column->get(0, param_value); |
674 | 911 | if (param_value.is_null()) { |
675 | 2 | return Status::OK(); |
676 | 2 | } |
677 | 909 | segment_v2::InvertedIndexParam param; |
678 | 909 | param.column_name = data_type_with_name.first; |
679 | 909 | param.column_type = data_type_with_name.second; |
680 | 909 | param.query_value = param_value; |
681 | 909 | param.query_type = query_type; |
682 | 909 | param.num_rows = num_rows; |
683 | 909 | param.roaring = std::make_shared<roaring::Roaring>(); |
684 | 909 | param.analyzer_ctx = analyzer_ctx; |
685 | 909 | RETURN_IF_ERROR(iter->read_from_index(segment_v2::IndexParam {¶m})); |
686 | 753 | std::shared_ptr<roaring::Roaring> null_bitmap = std::make_shared<roaring::Roaring>(); |
687 | 753 | if (iter->has_null()) { |
688 | 753 | segment_v2::InvertedIndexQueryCacheHandle null_bitmap_cache_handle; |
689 | 753 | RETURN_IF_ERROR(iter->read_null_bitmap(&null_bitmap_cache_handle)); |
690 | 753 | null_bitmap = null_bitmap_cache_handle.get_bitmap(); |
691 | 753 | } |
692 | 753 | segment_v2::InvertedIndexResultBitmap result(param.roaring, null_bitmap); |
693 | 753 | bitmap_result = result; |
694 | 753 | bitmap_result.mask_out_null(); |
695 | | |
696 | 753 | if (name_view == NameNotEquals::name) { |
697 | 59 | roaring::Roaring full_result; |
698 | 59 | full_result.addRange(0, num_rows); |
699 | 59 | bitmap_result.op_not(&full_result); |
700 | 59 | } |
701 | | |
702 | 753 | return Status::OK(); |
703 | 753 | } _ZNK5doris18FunctionComparisonINS_8EqualsOpENS_10NameEqualsEE23evaluate_inverted_indexERKSt6vectorINS_21ColumnWithTypeAndNameESaIS5_EERKS4_ISt4pairINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt10shared_ptrIKNS_9IDataTypeEEESaISL_EES4_IPNS_10segment_v213IndexIteratorESaISS_EEjPKNS_24InvertedIndexAnalyzerCtxERNSQ_25InvertedIndexResultBitmapE Line | Count | Source | 639 | 697 | segment_v2::InvertedIndexResultBitmap& bitmap_result) const override { | 640 | 697 | DCHECK(arguments.size() == 1); | 641 | 697 | DCHECK(data_type_with_names.size() == 1); | 642 | 697 | DCHECK(iterators.size() == 1); | 643 | 697 | auto* iter = iterators[0]; | 644 | 697 | auto data_type_with_name = data_type_with_names[0]; | 645 | 697 | if (iter == nullptr) { | 646 | 0 | return Status::OK(); | 647 | 0 | } | 648 | 697 | if (!segment_v2::IndexReaderHelper::has_string_or_bkd_index(iter)) { | 649 | 42 | return Status::OK(); | 650 | 42 | } | 651 | 655 | segment_v2::InvertedIndexQueryType query_type; | 652 | 655 | std::string_view name_view(name); | 653 | 655 | if (name_view == NameEquals::name || name_view == NameNotEquals::name) { | 654 | 655 | query_type = segment_v2::InvertedIndexQueryType::EQUAL_QUERY; | 655 | 655 | } else if (name_view == NameLess::name) { | 656 | 0 | query_type = segment_v2::InvertedIndexQueryType::LESS_THAN_QUERY; | 657 | 0 | } else if (name_view == NameLessOrEquals::name) { | 658 | 0 | query_type = segment_v2::InvertedIndexQueryType::LESS_EQUAL_QUERY; | 659 | 0 | } else if (name_view == NameGreater::name) { | 660 | 0 | query_type = segment_v2::InvertedIndexQueryType::GREATER_THAN_QUERY; | 661 | 0 | } else if (name_view == NameGreaterOrEquals::name) { | 662 | 0 | query_type = segment_v2::InvertedIndexQueryType::GREATER_EQUAL_QUERY; | 663 | 0 | } else { | 664 | 0 | return Status::InvalidArgument("invalid comparison op type {}", Name::name); | 665 | 0 | } | 666 | | | 667 | 655 | if (segment_v2::is_range_query(query_type) && | 668 | 655 | iter->get_reader(segment_v2::InvertedIndexReaderType::STRING_TYPE)) { | 669 | | // untokenized strings exceed ignore_above, they are written as null, causing range query errors | 670 | 0 | return Status::OK(); | 671 | 0 | } | 672 | 655 | Field param_value; | 673 | 655 | arguments[0].column->get(0, param_value); | 674 | 655 | if (param_value.is_null()) { | 675 | 2 | return Status::OK(); | 676 | 2 | } | 677 | 653 | segment_v2::InvertedIndexParam param; | 678 | 653 | param.column_name = data_type_with_name.first; | 679 | 653 | param.column_type = data_type_with_name.second; | 680 | 653 | param.query_value = param_value; | 681 | 653 | param.query_type = query_type; | 682 | 653 | param.num_rows = num_rows; | 683 | 653 | param.roaring = std::make_shared<roaring::Roaring>(); | 684 | 653 | param.analyzer_ctx = analyzer_ctx; | 685 | 653 | RETURN_IF_ERROR(iter->read_from_index(segment_v2::IndexParam {¶m})); | 686 | 604 | std::shared_ptr<roaring::Roaring> null_bitmap = std::make_shared<roaring::Roaring>(); | 687 | 604 | if (iter->has_null()) { | 688 | 604 | segment_v2::InvertedIndexQueryCacheHandle null_bitmap_cache_handle; | 689 | 604 | RETURN_IF_ERROR(iter->read_null_bitmap(&null_bitmap_cache_handle)); | 690 | 604 | null_bitmap = null_bitmap_cache_handle.get_bitmap(); | 691 | 604 | } | 692 | 604 | segment_v2::InvertedIndexResultBitmap result(param.roaring, null_bitmap); | 693 | 604 | bitmap_result = result; | 694 | 604 | bitmap_result.mask_out_null(); | 695 | | | 696 | 604 | if (name_view == NameNotEquals::name) { | 697 | 0 | roaring::Roaring full_result; | 698 | 0 | full_result.addRange(0, num_rows); | 699 | 0 | bitmap_result.op_not(&full_result); | 700 | 0 | } | 701 | | | 702 | 604 | return Status::OK(); | 703 | 604 | } |
_ZNK5doris18FunctionComparisonINS_11NotEqualsOpENS_13NameNotEqualsEE23evaluate_inverted_indexERKSt6vectorINS_21ColumnWithTypeAndNameESaIS5_EERKS4_ISt4pairINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt10shared_ptrIKNS_9IDataTypeEEESaISL_EES4_IPNS_10segment_v213IndexIteratorESaISS_EEjPKNS_24InvertedIndexAnalyzerCtxERNSQ_25InvertedIndexResultBitmapE Line | Count | Source | 639 | 72 | segment_v2::InvertedIndexResultBitmap& bitmap_result) const override { | 640 | 72 | DCHECK(arguments.size() == 1); | 641 | 72 | DCHECK(data_type_with_names.size() == 1); | 642 | 72 | DCHECK(iterators.size() == 1); | 643 | 72 | auto* iter = iterators[0]; | 644 | 72 | auto data_type_with_name = data_type_with_names[0]; | 645 | 72 | if (iter == nullptr) { | 646 | 0 | return Status::OK(); | 647 | 0 | } | 648 | 72 | if (!segment_v2::IndexReaderHelper::has_string_or_bkd_index(iter)) { | 649 | 6 | return Status::OK(); | 650 | 6 | } | 651 | 66 | segment_v2::InvertedIndexQueryType query_type; | 652 | 66 | std::string_view name_view(name); | 653 | 66 | if (name_view == NameEquals::name || name_view == NameNotEquals::name) { | 654 | 66 | query_type = segment_v2::InvertedIndexQueryType::EQUAL_QUERY; | 655 | 66 | } else if (name_view == NameLess::name) { | 656 | 0 | query_type = segment_v2::InvertedIndexQueryType::LESS_THAN_QUERY; | 657 | 0 | } else if (name_view == NameLessOrEquals::name) { | 658 | 0 | query_type = segment_v2::InvertedIndexQueryType::LESS_EQUAL_QUERY; | 659 | 0 | } else if (name_view == NameGreater::name) { | 660 | 0 | query_type = segment_v2::InvertedIndexQueryType::GREATER_THAN_QUERY; | 661 | 0 | } else if (name_view == NameGreaterOrEquals::name) { | 662 | 0 | query_type = segment_v2::InvertedIndexQueryType::GREATER_EQUAL_QUERY; | 663 | 0 | } else { | 664 | 0 | return Status::InvalidArgument("invalid comparison op type {}", Name::name); | 665 | 0 | } | 666 | | | 667 | 66 | if (segment_v2::is_range_query(query_type) && | 668 | 66 | iter->get_reader(segment_v2::InvertedIndexReaderType::STRING_TYPE)) { | 669 | | // untokenized strings exceed ignore_above, they are written as null, causing range query errors | 670 | 0 | return Status::OK(); | 671 | 0 | } | 672 | 66 | Field param_value; | 673 | 66 | arguments[0].column->get(0, param_value); | 674 | 66 | if (param_value.is_null()) { | 675 | 0 | return Status::OK(); | 676 | 0 | } | 677 | 66 | segment_v2::InvertedIndexParam param; | 678 | 66 | param.column_name = data_type_with_name.first; | 679 | 66 | param.column_type = data_type_with_name.second; | 680 | 66 | param.query_value = param_value; | 681 | 66 | param.query_type = query_type; | 682 | 66 | param.num_rows = num_rows; | 683 | 66 | param.roaring = std::make_shared<roaring::Roaring>(); | 684 | 66 | param.analyzer_ctx = analyzer_ctx; | 685 | 66 | RETURN_IF_ERROR(iter->read_from_index(segment_v2::IndexParam {¶m})); | 686 | 59 | std::shared_ptr<roaring::Roaring> null_bitmap = std::make_shared<roaring::Roaring>(); | 687 | 59 | if (iter->has_null()) { | 688 | 59 | segment_v2::InvertedIndexQueryCacheHandle null_bitmap_cache_handle; | 689 | 59 | RETURN_IF_ERROR(iter->read_null_bitmap(&null_bitmap_cache_handle)); | 690 | 59 | null_bitmap = null_bitmap_cache_handle.get_bitmap(); | 691 | 59 | } | 692 | 59 | segment_v2::InvertedIndexResultBitmap result(param.roaring, null_bitmap); | 693 | 59 | bitmap_result = result; | 694 | 59 | bitmap_result.mask_out_null(); | 695 | | | 696 | 59 | if (name_view == NameNotEquals::name) { | 697 | 59 | roaring::Roaring full_result; | 698 | 59 | full_result.addRange(0, num_rows); | 699 | 59 | bitmap_result.op_not(&full_result); | 700 | 59 | } | 701 | | | 702 | 59 | return Status::OK(); | 703 | 59 | } |
_ZNK5doris18FunctionComparisonINS_9GreaterOpENS_11NameGreaterEE23evaluate_inverted_indexERKSt6vectorINS_21ColumnWithTypeAndNameESaIS5_EERKS4_ISt4pairINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt10shared_ptrIKNS_9IDataTypeEEESaISL_EES4_IPNS_10segment_v213IndexIteratorESaISS_EEjPKNS_24InvertedIndexAnalyzerCtxERNSQ_25InvertedIndexResultBitmapE Line | Count | Source | 639 | 112 | segment_v2::InvertedIndexResultBitmap& bitmap_result) const override { | 640 | 112 | DCHECK(arguments.size() == 1); | 641 | 112 | DCHECK(data_type_with_names.size() == 1); | 642 | 112 | DCHECK(iterators.size() == 1); | 643 | 112 | auto* iter = iterators[0]; | 644 | 112 | auto data_type_with_name = data_type_with_names[0]; | 645 | 112 | if (iter == nullptr) { | 646 | 0 | return Status::OK(); | 647 | 0 | } | 648 | 112 | if (!segment_v2::IndexReaderHelper::has_string_or_bkd_index(iter)) { | 649 | 39 | return Status::OK(); | 650 | 39 | } | 651 | 73 | segment_v2::InvertedIndexQueryType query_type; | 652 | 73 | std::string_view name_view(name); | 653 | 73 | if (name_view == NameEquals::name || name_view == NameNotEquals::name) { | 654 | 0 | query_type = segment_v2::InvertedIndexQueryType::EQUAL_QUERY; | 655 | 73 | } else if (name_view == NameLess::name) { | 656 | 0 | query_type = segment_v2::InvertedIndexQueryType::LESS_THAN_QUERY; | 657 | 73 | } else if (name_view == NameLessOrEquals::name) { | 658 | 0 | query_type = segment_v2::InvertedIndexQueryType::LESS_EQUAL_QUERY; | 659 | 73 | } else if (name_view == NameGreater::name) { | 660 | 73 | query_type = segment_v2::InvertedIndexQueryType::GREATER_THAN_QUERY; | 661 | 73 | } else if (name_view == NameGreaterOrEquals::name) { | 662 | 0 | query_type = segment_v2::InvertedIndexQueryType::GREATER_EQUAL_QUERY; | 663 | 0 | } else { | 664 | 0 | return Status::InvalidArgument("invalid comparison op type {}", Name::name); | 665 | 0 | } | 666 | | | 667 | 73 | if (segment_v2::is_range_query(query_type) && | 668 | 73 | iter->get_reader(segment_v2::InvertedIndexReaderType::STRING_TYPE)) { | 669 | | // untokenized strings exceed ignore_above, they are written as null, causing range query errors | 670 | 17 | return Status::OK(); | 671 | 17 | } | 672 | 56 | Field param_value; | 673 | 56 | arguments[0].column->get(0, param_value); | 674 | 56 | if (param_value.is_null()) { | 675 | 0 | return Status::OK(); | 676 | 0 | } | 677 | 56 | segment_v2::InvertedIndexParam param; | 678 | 56 | param.column_name = data_type_with_name.first; | 679 | 56 | param.column_type = data_type_with_name.second; | 680 | 56 | param.query_value = param_value; | 681 | 56 | param.query_type = query_type; | 682 | 56 | param.num_rows = num_rows; | 683 | 56 | param.roaring = std::make_shared<roaring::Roaring>(); | 684 | 56 | param.analyzer_ctx = analyzer_ctx; | 685 | 56 | RETURN_IF_ERROR(iter->read_from_index(segment_v2::IndexParam {¶m})); | 686 | 37 | std::shared_ptr<roaring::Roaring> null_bitmap = std::make_shared<roaring::Roaring>(); | 687 | 37 | if (iter->has_null()) { | 688 | 37 | segment_v2::InvertedIndexQueryCacheHandle null_bitmap_cache_handle; | 689 | 37 | RETURN_IF_ERROR(iter->read_null_bitmap(&null_bitmap_cache_handle)); | 690 | 37 | null_bitmap = null_bitmap_cache_handle.get_bitmap(); | 691 | 37 | } | 692 | 37 | segment_v2::InvertedIndexResultBitmap result(param.roaring, null_bitmap); | 693 | 37 | bitmap_result = result; | 694 | 37 | bitmap_result.mask_out_null(); | 695 | | | 696 | 37 | if (name_view == NameNotEquals::name) { | 697 | 0 | roaring::Roaring full_result; | 698 | 0 | full_result.addRange(0, num_rows); | 699 | 0 | bitmap_result.op_not(&full_result); | 700 | 0 | } | 701 | | | 702 | 37 | return Status::OK(); | 703 | 37 | } |
_ZNK5doris18FunctionComparisonINS_17GreaterOrEqualsOpENS_19NameGreaterOrEqualsEE23evaluate_inverted_indexERKSt6vectorINS_21ColumnWithTypeAndNameESaIS5_EERKS4_ISt4pairINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt10shared_ptrIKNS_9IDataTypeEEESaISL_EES4_IPNS_10segment_v213IndexIteratorESaISS_EEjPKNS_24InvertedIndexAnalyzerCtxERNSQ_25InvertedIndexResultBitmapE Line | Count | Source | 639 | 179 | segment_v2::InvertedIndexResultBitmap& bitmap_result) const override { | 640 | 179 | DCHECK(arguments.size() == 1); | 641 | 179 | DCHECK(data_type_with_names.size() == 1); | 642 | 179 | DCHECK(iterators.size() == 1); | 643 | 179 | auto* iter = iterators[0]; | 644 | 179 | auto data_type_with_name = data_type_with_names[0]; | 645 | 179 | if (iter == nullptr) { | 646 | 0 | return Status::OK(); | 647 | 0 | } | 648 | 179 | if (!segment_v2::IndexReaderHelper::has_string_or_bkd_index(iter)) { | 649 | 86 | return Status::OK(); | 650 | 86 | } | 651 | 93 | segment_v2::InvertedIndexQueryType query_type; | 652 | 93 | std::string_view name_view(name); | 653 | 93 | if (name_view == NameEquals::name || name_view == NameNotEquals::name) { | 654 | 0 | query_type = segment_v2::InvertedIndexQueryType::EQUAL_QUERY; | 655 | 93 | } else if (name_view == NameLess::name) { | 656 | 0 | query_type = segment_v2::InvertedIndexQueryType::LESS_THAN_QUERY; | 657 | 93 | } else if (name_view == NameLessOrEquals::name) { | 658 | 0 | query_type = segment_v2::InvertedIndexQueryType::LESS_EQUAL_QUERY; | 659 | 93 | } else if (name_view == NameGreater::name) { | 660 | 0 | query_type = segment_v2::InvertedIndexQueryType::GREATER_THAN_QUERY; | 661 | 93 | } else if (name_view == NameGreaterOrEquals::name) { | 662 | 93 | query_type = segment_v2::InvertedIndexQueryType::GREATER_EQUAL_QUERY; | 663 | 93 | } else { | 664 | 0 | return Status::InvalidArgument("invalid comparison op type {}", Name::name); | 665 | 0 | } | 666 | | | 667 | 93 | if (segment_v2::is_range_query(query_type) && | 668 | 93 | iter->get_reader(segment_v2::InvertedIndexReaderType::STRING_TYPE)) { | 669 | | // untokenized strings exceed ignore_above, they are written as null, causing range query errors | 670 | 47 | return Status::OK(); | 671 | 47 | } | 672 | 46 | Field param_value; | 673 | 46 | arguments[0].column->get(0, param_value); | 674 | 46 | if (param_value.is_null()) { | 675 | 0 | return Status::OK(); | 676 | 0 | } | 677 | 46 | segment_v2::InvertedIndexParam param; | 678 | 46 | param.column_name = data_type_with_name.first; | 679 | 46 | param.column_type = data_type_with_name.second; | 680 | 46 | param.query_value = param_value; | 681 | 46 | param.query_type = query_type; | 682 | 46 | param.num_rows = num_rows; | 683 | 46 | param.roaring = std::make_shared<roaring::Roaring>(); | 684 | 46 | param.analyzer_ctx = analyzer_ctx; | 685 | 46 | RETURN_IF_ERROR(iter->read_from_index(segment_v2::IndexParam {¶m})); | 686 | 5 | std::shared_ptr<roaring::Roaring> null_bitmap = std::make_shared<roaring::Roaring>(); | 687 | 5 | if (iter->has_null()) { | 688 | 5 | segment_v2::InvertedIndexQueryCacheHandle null_bitmap_cache_handle; | 689 | 5 | RETURN_IF_ERROR(iter->read_null_bitmap(&null_bitmap_cache_handle)); | 690 | 5 | null_bitmap = null_bitmap_cache_handle.get_bitmap(); | 691 | 5 | } | 692 | 5 | segment_v2::InvertedIndexResultBitmap result(param.roaring, null_bitmap); | 693 | 5 | bitmap_result = result; | 694 | 5 | bitmap_result.mask_out_null(); | 695 | | | 696 | 5 | if (name_view == NameNotEquals::name) { | 697 | 0 | roaring::Roaring full_result; | 698 | 0 | full_result.addRange(0, num_rows); | 699 | 0 | bitmap_result.op_not(&full_result); | 700 | 0 | } | 701 | | | 702 | 5 | return Status::OK(); | 703 | 5 | } |
_ZNK5doris18FunctionComparisonINS_6LessOpENS_8NameLessEE23evaluate_inverted_indexERKSt6vectorINS_21ColumnWithTypeAndNameESaIS5_EERKS4_ISt4pairINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt10shared_ptrIKNS_9IDataTypeEEESaISL_EES4_IPNS_10segment_v213IndexIteratorESaISS_EEjPKNS_24InvertedIndexAnalyzerCtxERNSQ_25InvertedIndexResultBitmapE Line | Count | Source | 639 | 119 | segment_v2::InvertedIndexResultBitmap& bitmap_result) const override { | 640 | 119 | DCHECK(arguments.size() == 1); | 641 | 119 | DCHECK(data_type_with_names.size() == 1); | 642 | 119 | DCHECK(iterators.size() == 1); | 643 | 119 | auto* iter = iterators[0]; | 644 | 119 | auto data_type_with_name = data_type_with_names[0]; | 645 | 119 | if (iter == nullptr) { | 646 | 0 | return Status::OK(); | 647 | 0 | } | 648 | 119 | if (!segment_v2::IndexReaderHelper::has_string_or_bkd_index(iter)) { | 649 | 43 | return Status::OK(); | 650 | 43 | } | 651 | 76 | segment_v2::InvertedIndexQueryType query_type; | 652 | 76 | std::string_view name_view(name); | 653 | 76 | if (name_view == NameEquals::name || name_view == NameNotEquals::name) { | 654 | 0 | query_type = segment_v2::InvertedIndexQueryType::EQUAL_QUERY; | 655 | 76 | } else if (name_view == NameLess::name) { | 656 | 76 | query_type = segment_v2::InvertedIndexQueryType::LESS_THAN_QUERY; | 657 | 76 | } else if (name_view == NameLessOrEquals::name) { | 658 | 0 | query_type = segment_v2::InvertedIndexQueryType::LESS_EQUAL_QUERY; | 659 | 0 | } else if (name_view == NameGreater::name) { | 660 | 0 | query_type = segment_v2::InvertedIndexQueryType::GREATER_THAN_QUERY; | 661 | 0 | } else if (name_view == NameGreaterOrEquals::name) { | 662 | 0 | query_type = segment_v2::InvertedIndexQueryType::GREATER_EQUAL_QUERY; | 663 | 0 | } else { | 664 | 0 | return Status::InvalidArgument("invalid comparison op type {}", Name::name); | 665 | 0 | } | 666 | | | 667 | 76 | if (segment_v2::is_range_query(query_type) && | 668 | 76 | iter->get_reader(segment_v2::InvertedIndexReaderType::STRING_TYPE)) { | 669 | | // untokenized strings exceed ignore_above, they are written as null, causing range query errors | 670 | 18 | return Status::OK(); | 671 | 18 | } | 672 | 58 | Field param_value; | 673 | 58 | arguments[0].column->get(0, param_value); | 674 | 58 | if (param_value.is_null()) { | 675 | 0 | return Status::OK(); | 676 | 0 | } | 677 | 58 | segment_v2::InvertedIndexParam param; | 678 | 58 | param.column_name = data_type_with_name.first; | 679 | 58 | param.column_type = data_type_with_name.second; | 680 | 58 | param.query_value = param_value; | 681 | 58 | param.query_type = query_type; | 682 | 58 | param.num_rows = num_rows; | 683 | 58 | param.roaring = std::make_shared<roaring::Roaring>(); | 684 | 58 | param.analyzer_ctx = analyzer_ctx; | 685 | 58 | RETURN_IF_ERROR(iter->read_from_index(segment_v2::IndexParam {¶m})); | 686 | 39 | std::shared_ptr<roaring::Roaring> null_bitmap = std::make_shared<roaring::Roaring>(); | 687 | 39 | if (iter->has_null()) { | 688 | 39 | segment_v2::InvertedIndexQueryCacheHandle null_bitmap_cache_handle; | 689 | 39 | RETURN_IF_ERROR(iter->read_null_bitmap(&null_bitmap_cache_handle)); | 690 | 39 | null_bitmap = null_bitmap_cache_handle.get_bitmap(); | 691 | 39 | } | 692 | 39 | segment_v2::InvertedIndexResultBitmap result(param.roaring, null_bitmap); | 693 | 39 | bitmap_result = result; | 694 | 39 | bitmap_result.mask_out_null(); | 695 | | | 696 | 39 | if (name_view == NameNotEquals::name) { | 697 | 0 | roaring::Roaring full_result; | 698 | 0 | full_result.addRange(0, num_rows); | 699 | 0 | bitmap_result.op_not(&full_result); | 700 | 0 | } | 701 | | | 702 | 39 | return Status::OK(); | 703 | 39 | } |
_ZNK5doris18FunctionComparisonINS_14LessOrEqualsOpENS_16NameLessOrEqualsEE23evaluate_inverted_indexERKSt6vectorINS_21ColumnWithTypeAndNameESaIS5_EERKS4_ISt4pairINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt10shared_ptrIKNS_9IDataTypeEEESaISL_EES4_IPNS_10segment_v213IndexIteratorESaISS_EEjPKNS_24InvertedIndexAnalyzerCtxERNSQ_25InvertedIndexResultBitmapE Line | Count | Source | 639 | 175 | segment_v2::InvertedIndexResultBitmap& bitmap_result) const override { | 640 | 175 | DCHECK(arguments.size() == 1); | 641 | 175 | DCHECK(data_type_with_names.size() == 1); | 642 | 175 | DCHECK(iterators.size() == 1); | 643 | 175 | auto* iter = iterators[0]; | 644 | 175 | auto data_type_with_name = data_type_with_names[0]; | 645 | 175 | if (iter == nullptr) { | 646 | 0 | return Status::OK(); | 647 | 0 | } | 648 | 175 | if (!segment_v2::IndexReaderHelper::has_string_or_bkd_index(iter)) { | 649 | 94 | return Status::OK(); | 650 | 94 | } | 651 | 81 | segment_v2::InvertedIndexQueryType query_type; | 652 | 81 | std::string_view name_view(name); | 653 | 81 | if (name_view == NameEquals::name || name_view == NameNotEquals::name) { | 654 | 0 | query_type = segment_v2::InvertedIndexQueryType::EQUAL_QUERY; | 655 | 81 | } else if (name_view == NameLess::name) { | 656 | 0 | query_type = segment_v2::InvertedIndexQueryType::LESS_THAN_QUERY; | 657 | 81 | } else if (name_view == NameLessOrEquals::name) { | 658 | 81 | query_type = segment_v2::InvertedIndexQueryType::LESS_EQUAL_QUERY; | 659 | 81 | } else if (name_view == NameGreater::name) { | 660 | 0 | query_type = segment_v2::InvertedIndexQueryType::GREATER_THAN_QUERY; | 661 | 0 | } else if (name_view == NameGreaterOrEquals::name) { | 662 | 0 | query_type = segment_v2::InvertedIndexQueryType::GREATER_EQUAL_QUERY; | 663 | 0 | } else { | 664 | 0 | return Status::InvalidArgument("invalid comparison op type {}", Name::name); | 665 | 0 | } | 666 | | | 667 | 81 | if (segment_v2::is_range_query(query_type) && | 668 | 81 | iter->get_reader(segment_v2::InvertedIndexReaderType::STRING_TYPE)) { | 669 | | // untokenized strings exceed ignore_above, they are written as null, causing range query errors | 670 | 51 | return Status::OK(); | 671 | 51 | } | 672 | 30 | Field param_value; | 673 | 30 | arguments[0].column->get(0, param_value); | 674 | 30 | if (param_value.is_null()) { | 675 | 0 | return Status::OK(); | 676 | 0 | } | 677 | 30 | segment_v2::InvertedIndexParam param; | 678 | 30 | param.column_name = data_type_with_name.first; | 679 | 30 | param.column_type = data_type_with_name.second; | 680 | 30 | param.query_value = param_value; | 681 | 30 | param.query_type = query_type; | 682 | 30 | param.num_rows = num_rows; | 683 | 30 | param.roaring = std::make_shared<roaring::Roaring>(); | 684 | 30 | param.analyzer_ctx = analyzer_ctx; | 685 | 30 | RETURN_IF_ERROR(iter->read_from_index(segment_v2::IndexParam {¶m})); | 686 | 9 | std::shared_ptr<roaring::Roaring> null_bitmap = std::make_shared<roaring::Roaring>(); | 687 | 9 | if (iter->has_null()) { | 688 | 9 | segment_v2::InvertedIndexQueryCacheHandle null_bitmap_cache_handle; | 689 | 9 | RETURN_IF_ERROR(iter->read_null_bitmap(&null_bitmap_cache_handle)); | 690 | 9 | null_bitmap = null_bitmap_cache_handle.get_bitmap(); | 691 | 9 | } | 692 | 9 | segment_v2::InvertedIndexResultBitmap result(param.roaring, null_bitmap); | 693 | 9 | bitmap_result = result; | 694 | 9 | bitmap_result.mask_out_null(); | 695 | | | 696 | 9 | if (name_view == NameNotEquals::name) { | 697 | 0 | roaring::Roaring full_result; | 698 | 0 | full_result.addRange(0, num_rows); | 699 | 0 | bitmap_result.op_not(&full_result); | 700 | 0 | } | 701 | | | 702 | 9 | return Status::OK(); | 703 | 9 | } |
|
704 | | |
705 | | Status execute_impl(FunctionContext* context, Block& block, const ColumnNumbers& arguments, |
706 | 124k | uint32_t result, size_t input_rows_count) const override { |
707 | 124k | const auto& col_with_type_and_name_left = block.get_by_position(arguments[0]); |
708 | 124k | const auto& col_with_type_and_name_right = block.get_by_position(arguments[1]); |
709 | | |
710 | 124k | const auto& col_left_ptr = col_with_type_and_name_left.column; |
711 | 124k | const auto& col_right_ptr = col_with_type_and_name_right.column; |
712 | 124k | const IColumn* col_left_untyped = col_with_type_and_name_left.column.get(); |
713 | 124k | const IColumn* col_right_untyped = col_with_type_and_name_right.column.get(); |
714 | | |
715 | 124k | const DataTypePtr& left_type = col_with_type_and_name_left.type; |
716 | 124k | const DataTypePtr& right_type = col_with_type_and_name_right.type; |
717 | | |
718 | | /// The case when arguments are the same (tautological comparison). Return constant. |
719 | | /// NOTE: Nullable types are special case. (BTW, this function use default implementation for Nullable, so Nullable types cannot be here. Check just in case.) |
720 | | /// NOTE: We consider NaN comparison to be implementation specific (and in our implementation NaNs are sometimes equal sometimes not). |
721 | 124k | if (left_type->equals(*right_type) && !left_type->is_nullable() && |
722 | 124k | col_left_untyped == col_right_untyped) { |
723 | | /// Always true: =, <=, >= |
724 | | // TODO: Return const column in the future. But seems so far to do. We need a unified approach for passing const column. |
725 | | if constexpr (std::is_same_v<Op<TYPE_INT>, EqualsOp<TYPE_INT>> || |
726 | | std::is_same_v<Op<TYPE_INT>, LessOrEqualsOp<TYPE_INT>> || |
727 | 0 | std::is_same_v<Op<TYPE_INT>, GreaterOrEqualsOp<TYPE_INT>>) { |
728 | 0 | block.get_by_position(result).column = |
729 | 0 | DataTypeUInt8() |
730 | 0 | .create_column_const(input_rows_count, |
731 | 0 | Field::create_field<TYPE_BOOLEAN>(1)) |
732 | 0 | ->convert_to_full_column_if_const(); |
733 | 0 | return Status::OK(); |
734 | 0 | } else { |
735 | 0 | block.get_by_position(result).column = |
736 | 0 | DataTypeUInt8() |
737 | 0 | .create_column_const(input_rows_count, |
738 | 0 | Field::create_field<TYPE_BOOLEAN>(0)) |
739 | 0 | ->convert_to_full_column_if_const(); |
740 | 0 | return Status::OK(); |
741 | 0 | } |
742 | 0 | } |
743 | | |
744 | 233k | auto can_compare = [](PrimitiveType t) -> bool { |
745 | 233k | return is_int_or_bool(t) || is_float_or_double(t) || is_ip(t) || is_date_type(t); |
746 | 233k | }; _ZZNK5doris18FunctionComparisonINS_8EqualsOpENS_10NameEqualsEE12execute_implEPNS_15FunctionContextERNS_5BlockERKSt6vectorIjSaIjEEjmENKUlNS_13PrimitiveTypeEE_clESD_ Line | Count | Source | 744 | 36.8k | auto can_compare = [](PrimitiveType t) -> bool { | 745 | 36.8k | return is_int_or_bool(t) || is_float_or_double(t) || is_ip(t) || is_date_type(t); | 746 | 36.8k | }; |
_ZZNK5doris18FunctionComparisonINS_11NotEqualsOpENS_13NameNotEqualsEE12execute_implEPNS_15FunctionContextERNS_5BlockERKSt6vectorIjSaIjEEjmENKUlNS_13PrimitiveTypeEE_clESD_ Line | Count | Source | 744 | 11.4k | auto can_compare = [](PrimitiveType t) -> bool { | 745 | 11.4k | return is_int_or_bool(t) || is_float_or_double(t) || is_ip(t) || is_date_type(t); | 746 | 11.4k | }; |
_ZZNK5doris18FunctionComparisonINS_9GreaterOpENS_11NameGreaterEE12execute_implEPNS_15FunctionContextERNS_5BlockERKSt6vectorIjSaIjEEjmENKUlNS_13PrimitiveTypeEE_clESD_ Line | Count | Source | 744 | 148k | auto can_compare = [](PrimitiveType t) -> bool { | 745 | 148k | return is_int_or_bool(t) || is_float_or_double(t) || is_ip(t) || is_date_type(t); | 746 | 148k | }; |
_ZZNK5doris18FunctionComparisonINS_17GreaterOrEqualsOpENS_19NameGreaterOrEqualsEE12execute_implEPNS_15FunctionContextERNS_5BlockERKSt6vectorIjSaIjEEjmENKUlNS_13PrimitiveTypeEE_clESD_ Line | Count | Source | 744 | 4.23k | auto can_compare = [](PrimitiveType t) -> bool { | 745 | 4.23k | return is_int_or_bool(t) || is_float_or_double(t) || is_ip(t) || is_date_type(t); | 746 | 4.23k | }; |
_ZZNK5doris18FunctionComparisonINS_6LessOpENS_8NameLessEE12execute_implEPNS_15FunctionContextERNS_5BlockERKSt6vectorIjSaIjEEjmENKUlNS_13PrimitiveTypeEE_clESD_ Line | Count | Source | 744 | 16.3k | auto can_compare = [](PrimitiveType t) -> bool { | 745 | 16.3k | return is_int_or_bool(t) || is_float_or_double(t) || is_ip(t) || is_date_type(t); | 746 | 16.3k | }; |
_ZZNK5doris18FunctionComparisonINS_14LessOrEqualsOpENS_16NameLessOrEqualsEE12execute_implEPNS_15FunctionContextERNS_5BlockERKSt6vectorIjSaIjEEjmENKUlNS_13PrimitiveTypeEE_clESD_ Line | Count | Source | 744 | 16.0k | auto can_compare = [](PrimitiveType t) -> bool { | 745 | 16.0k | return is_int_or_bool(t) || is_float_or_double(t) || is_ip(t) || is_date_type(t); | 746 | 16.0k | }; |
|
747 | | |
748 | 124k | if (can_compare(left_type->get_primitive_type()) && |
749 | 124k | can_compare(right_type->get_primitive_type())) { |
750 | | // check left type equals right type TODO: remove this after FE is aware of scales difference |
751 | 108k | if (!left_type->equals_ignore_precision(*right_type)) { |
752 | 0 | return Status::RuntimeError("not same type in function {} , left : {} , right : {}", |
753 | 0 | get_name(), left_type->get_name(), |
754 | 0 | right_type->get_name()); |
755 | 0 | } |
756 | 108k | } |
757 | | |
758 | 124k | auto compare_type = left_type->get_primitive_type(); |
759 | 124k | switch (compare_type) { |
760 | 239 | case TYPE_BOOLEAN: |
761 | 239 | return execute_num_type<TYPE_BOOLEAN>(block, result, col_left_ptr, col_right_ptr); |
762 | 5.22k | case TYPE_DATEV2: |
763 | 5.22k | return execute_num_type<TYPE_DATEV2>(block, result, col_left_ptr, col_right_ptr); |
764 | 977 | case TYPE_DATETIMEV2: |
765 | 977 | return execute_num_type<TYPE_DATETIMEV2>(block, result, col_left_ptr, col_right_ptr); |
766 | 7 | case TYPE_TIMESTAMPTZ: |
767 | 7 | return execute_num_type<TYPE_TIMESTAMPTZ>(block, result, col_left_ptr, col_right_ptr); |
768 | 8.47k | case TYPE_TINYINT: |
769 | 8.47k | return execute_num_type<TYPE_TINYINT>(block, result, col_left_ptr, col_right_ptr); |
770 | 2.55k | case TYPE_SMALLINT: |
771 | 2.55k | return execute_num_type<TYPE_SMALLINT>(block, result, col_left_ptr, col_right_ptr); |
772 | 80.9k | case TYPE_INT: |
773 | 80.9k | return execute_num_type<TYPE_INT>(block, result, col_left_ptr, col_right_ptr); |
774 | 6.92k | case TYPE_BIGINT: |
775 | 6.92k | return execute_num_type<TYPE_BIGINT>(block, result, col_left_ptr, col_right_ptr); |
776 | 679 | case TYPE_LARGEINT: |
777 | 679 | return execute_num_type<TYPE_LARGEINT>(block, result, col_left_ptr, col_right_ptr); |
778 | 66 | case TYPE_IPV4: |
779 | 66 | return execute_num_type<TYPE_IPV4>(block, result, col_left_ptr, col_right_ptr); |
780 | 37 | case TYPE_IPV6: |
781 | 37 | return execute_num_type<TYPE_IPV6>(block, result, col_left_ptr, col_right_ptr); |
782 | 564 | case TYPE_FLOAT: |
783 | 564 | return execute_num_type<TYPE_FLOAT>(block, result, col_left_ptr, col_right_ptr); |
784 | 1.84k | case TYPE_DOUBLE: |
785 | 1.84k | return execute_num_type<TYPE_DOUBLE>(block, result, col_left_ptr, col_right_ptr); |
786 | 4 | case TYPE_TIMEV2: |
787 | 4 | return execute_num_type<TYPE_TIMEV2>(block, result, col_left_ptr, col_right_ptr); |
788 | 0 | case TYPE_DECIMALV2: |
789 | 378 | case TYPE_DECIMAL32: |
790 | 1.02k | case TYPE_DECIMAL64: |
791 | 3.13k | case TYPE_DECIMAL128I: |
792 | 3.23k | case TYPE_DECIMAL256: |
793 | 3.23k | return execute_decimal(block, result, col_with_type_and_name_left, |
794 | 3.23k | col_with_type_and_name_right); |
795 | 1.08k | case TYPE_CHAR: |
796 | 7.04k | case TYPE_VARCHAR: |
797 | 12.3k | case TYPE_STRING: |
798 | 12.3k | return execute_string(block, result, col_left_untyped, col_right_untyped); |
799 | 162 | default: |
800 | 162 | return execute_generic(block, result, col_with_type_and_name_left, |
801 | 162 | col_with_type_and_name_right); |
802 | 124k | } |
803 | 0 | return Status::OK(); |
804 | 124k | } _ZNK5doris18FunctionComparisonINS_8EqualsOpENS_10NameEqualsEE12execute_implEPNS_15FunctionContextERNS_5BlockERKSt6vectorIjSaIjEEjm Line | Count | Source | 706 | 24.5k | uint32_t result, size_t input_rows_count) const override { | 707 | 24.5k | const auto& col_with_type_and_name_left = block.get_by_position(arguments[0]); | 708 | 24.5k | const auto& col_with_type_and_name_right = block.get_by_position(arguments[1]); | 709 | | | 710 | 24.5k | const auto& col_left_ptr = col_with_type_and_name_left.column; | 711 | 24.5k | const auto& col_right_ptr = col_with_type_and_name_right.column; | 712 | 24.5k | const IColumn* col_left_untyped = col_with_type_and_name_left.column.get(); | 713 | 24.5k | const IColumn* col_right_untyped = col_with_type_and_name_right.column.get(); | 714 | | | 715 | 24.5k | const DataTypePtr& left_type = col_with_type_and_name_left.type; | 716 | 24.5k | const DataTypePtr& right_type = col_with_type_and_name_right.type; | 717 | | | 718 | | /// The case when arguments are the same (tautological comparison). Return constant. | 719 | | /// NOTE: Nullable types are special case. (BTW, this function use default implementation for Nullable, so Nullable types cannot be here. Check just in case.) | 720 | | /// NOTE: We consider NaN comparison to be implementation specific (and in our implementation NaNs are sometimes equal sometimes not). | 721 | 24.5k | if (left_type->equals(*right_type) && !left_type->is_nullable() && | 722 | 24.5k | col_left_untyped == col_right_untyped) { | 723 | | /// Always true: =, <=, >= | 724 | | // TODO: Return const column in the future. But seems so far to do. We need a unified approach for passing const column. | 725 | | if constexpr (std::is_same_v<Op<TYPE_INT>, EqualsOp<TYPE_INT>> || | 726 | | std::is_same_v<Op<TYPE_INT>, LessOrEqualsOp<TYPE_INT>> || | 727 | 0 | std::is_same_v<Op<TYPE_INT>, GreaterOrEqualsOp<TYPE_INT>>) { | 728 | 0 | block.get_by_position(result).column = | 729 | 0 | DataTypeUInt8() | 730 | 0 | .create_column_const(input_rows_count, | 731 | 0 | Field::create_field<TYPE_BOOLEAN>(1)) | 732 | 0 | ->convert_to_full_column_if_const(); | 733 | 0 | return Status::OK(); | 734 | | } else { | 735 | | block.get_by_position(result).column = | 736 | | DataTypeUInt8() | 737 | | .create_column_const(input_rows_count, | 738 | | Field::create_field<TYPE_BOOLEAN>(0)) | 739 | | ->convert_to_full_column_if_const(); | 740 | | return Status::OK(); | 741 | | } | 742 | 0 | } | 743 | | | 744 | 0 | auto can_compare = [](PrimitiveType t) -> bool { | 745 | 24.5k | return is_int_or_bool(t) || is_float_or_double(t) || is_ip(t) || is_date_type(t); | 746 | 24.5k | }; | 747 | | | 748 | 24.5k | if (can_compare(left_type->get_primitive_type()) && | 749 | 24.5k | can_compare(right_type->get_primitive_type())) { | 750 | | // check left type equals right type TODO: remove this after FE is aware of scales difference | 751 | 12.3k | if (!left_type->equals_ignore_precision(*right_type)) { | 752 | 0 | return Status::RuntimeError("not same type in function {} , left : {} , right : {}", | 753 | 0 | get_name(), left_type->get_name(), | 754 | 0 | right_type->get_name()); | 755 | 0 | } | 756 | 12.3k | } | 757 | | | 758 | 24.5k | auto compare_type = left_type->get_primitive_type(); | 759 | 24.5k | switch (compare_type) { | 760 | 91 | case TYPE_BOOLEAN: | 761 | 91 | return execute_num_type<TYPE_BOOLEAN>(block, result, col_left_ptr, col_right_ptr); | 762 | 858 | case TYPE_DATEV2: | 763 | 858 | return execute_num_type<TYPE_DATEV2>(block, result, col_left_ptr, col_right_ptr); | 764 | 427 | case TYPE_DATETIMEV2: | 765 | 427 | return execute_num_type<TYPE_DATETIMEV2>(block, result, col_left_ptr, col_right_ptr); | 766 | 2 | case TYPE_TIMESTAMPTZ: | 767 | 2 | return execute_num_type<TYPE_TIMESTAMPTZ>(block, result, col_left_ptr, col_right_ptr); | 768 | 5.02k | case TYPE_TINYINT: | 769 | 5.02k | return execute_num_type<TYPE_TINYINT>(block, result, col_left_ptr, col_right_ptr); | 770 | 390 | case TYPE_SMALLINT: | 771 | 390 | return execute_num_type<TYPE_SMALLINT>(block, result, col_left_ptr, col_right_ptr); | 772 | 2.04k | case TYPE_INT: | 773 | 2.04k | return execute_num_type<TYPE_INT>(block, result, col_left_ptr, col_right_ptr); | 774 | 2.60k | case TYPE_BIGINT: | 775 | 2.60k | return execute_num_type<TYPE_BIGINT>(block, result, col_left_ptr, col_right_ptr); | 776 | 114 | case TYPE_LARGEINT: | 777 | 114 | return execute_num_type<TYPE_LARGEINT>(block, result, col_left_ptr, col_right_ptr); | 778 | 23 | case TYPE_IPV4: | 779 | 23 | return execute_num_type<TYPE_IPV4>(block, result, col_left_ptr, col_right_ptr); | 780 | 19 | case TYPE_IPV6: | 781 | 19 | return execute_num_type<TYPE_IPV6>(block, result, col_left_ptr, col_right_ptr); | 782 | 94 | case TYPE_FLOAT: | 783 | 94 | return execute_num_type<TYPE_FLOAT>(block, result, col_left_ptr, col_right_ptr); | 784 | 641 | case TYPE_DOUBLE: | 785 | 641 | return execute_num_type<TYPE_DOUBLE>(block, result, col_left_ptr, col_right_ptr); | 786 | 4 | case TYPE_TIMEV2: | 787 | 4 | return execute_num_type<TYPE_TIMEV2>(block, result, col_left_ptr, col_right_ptr); | 788 | 0 | case TYPE_DECIMALV2: | 789 | 146 | case TYPE_DECIMAL32: | 790 | 320 | case TYPE_DECIMAL64: | 791 | 1.15k | case TYPE_DECIMAL128I: | 792 | 1.18k | case TYPE_DECIMAL256: | 793 | 1.18k | return execute_decimal(block, result, col_with_type_and_name_left, | 794 | 1.18k | col_with_type_and_name_right); | 795 | 825 | case TYPE_CHAR: | 796 | 6.16k | case TYPE_VARCHAR: | 797 | 11.0k | case TYPE_STRING: | 798 | 11.0k | return execute_string(block, result, col_left_untyped, col_right_untyped); | 799 | 17 | default: | 800 | 17 | return execute_generic(block, result, col_with_type_and_name_left, | 801 | 17 | col_with_type_and_name_right); | 802 | 24.5k | } | 803 | 0 | return Status::OK(); | 804 | 24.5k | } |
_ZNK5doris18FunctionComparisonINS_11NotEqualsOpENS_13NameNotEqualsEE12execute_implEPNS_15FunctionContextERNS_5BlockERKSt6vectorIjSaIjEEjm Line | Count | Source | 706 | 5.82k | uint32_t result, size_t input_rows_count) const override { | 707 | 5.82k | const auto& col_with_type_and_name_left = block.get_by_position(arguments[0]); | 708 | 5.82k | const auto& col_with_type_and_name_right = block.get_by_position(arguments[1]); | 709 | | | 710 | 5.82k | const auto& col_left_ptr = col_with_type_and_name_left.column; | 711 | 5.82k | const auto& col_right_ptr = col_with_type_and_name_right.column; | 712 | 5.82k | const IColumn* col_left_untyped = col_with_type_and_name_left.column.get(); | 713 | 5.82k | const IColumn* col_right_untyped = col_with_type_and_name_right.column.get(); | 714 | | | 715 | 5.82k | const DataTypePtr& left_type = col_with_type_and_name_left.type; | 716 | 5.82k | const DataTypePtr& right_type = col_with_type_and_name_right.type; | 717 | | | 718 | | /// The case when arguments are the same (tautological comparison). Return constant. | 719 | | /// NOTE: Nullable types are special case. (BTW, this function use default implementation for Nullable, so Nullable types cannot be here. Check just in case.) | 720 | | /// NOTE: We consider NaN comparison to be implementation specific (and in our implementation NaNs are sometimes equal sometimes not). | 721 | 5.82k | if (left_type->equals(*right_type) && !left_type->is_nullable() && | 722 | 5.82k | col_left_untyped == col_right_untyped) { | 723 | | /// Always true: =, <=, >= | 724 | | // TODO: Return const column in the future. But seems so far to do. We need a unified approach for passing const column. | 725 | | if constexpr (std::is_same_v<Op<TYPE_INT>, EqualsOp<TYPE_INT>> || | 726 | | std::is_same_v<Op<TYPE_INT>, LessOrEqualsOp<TYPE_INT>> || | 727 | | std::is_same_v<Op<TYPE_INT>, GreaterOrEqualsOp<TYPE_INT>>) { | 728 | | block.get_by_position(result).column = | 729 | | DataTypeUInt8() | 730 | | .create_column_const(input_rows_count, | 731 | | Field::create_field<TYPE_BOOLEAN>(1)) | 732 | | ->convert_to_full_column_if_const(); | 733 | | return Status::OK(); | 734 | 0 | } else { | 735 | 0 | block.get_by_position(result).column = | 736 | 0 | DataTypeUInt8() | 737 | 0 | .create_column_const(input_rows_count, | 738 | 0 | Field::create_field<TYPE_BOOLEAN>(0)) | 739 | 0 | ->convert_to_full_column_if_const(); | 740 | 0 | return Status::OK(); | 741 | 0 | } | 742 | 0 | } | 743 | | | 744 | 0 | auto can_compare = [](PrimitiveType t) -> bool { | 745 | 5.82k | return is_int_or_bool(t) || is_float_or_double(t) || is_ip(t) || is_date_type(t); | 746 | 5.82k | }; | 747 | | | 748 | 5.82k | if (can_compare(left_type->get_primitive_type()) && | 749 | 5.82k | can_compare(right_type->get_primitive_type())) { | 750 | | // check left type equals right type TODO: remove this after FE is aware of scales difference | 751 | 5.59k | if (!left_type->equals_ignore_precision(*right_type)) { | 752 | 0 | return Status::RuntimeError("not same type in function {} , left : {} , right : {}", | 753 | 0 | get_name(), left_type->get_name(), | 754 | 0 | right_type->get_name()); | 755 | 0 | } | 756 | 5.59k | } | 757 | | | 758 | 5.82k | auto compare_type = left_type->get_primitive_type(); | 759 | 5.82k | switch (compare_type) { | 760 | 0 | case TYPE_BOOLEAN: | 761 | 0 | return execute_num_type<TYPE_BOOLEAN>(block, result, col_left_ptr, col_right_ptr); | 762 | 70 | case TYPE_DATEV2: | 763 | 70 | return execute_num_type<TYPE_DATEV2>(block, result, col_left_ptr, col_right_ptr); | 764 | 0 | case TYPE_DATETIMEV2: | 765 | 0 | return execute_num_type<TYPE_DATETIMEV2>(block, result, col_left_ptr, col_right_ptr); | 766 | 0 | case TYPE_TIMESTAMPTZ: | 767 | 0 | return execute_num_type<TYPE_TIMESTAMPTZ>(block, result, col_left_ptr, col_right_ptr); | 768 | 84 | case TYPE_TINYINT: | 769 | 84 | return execute_num_type<TYPE_TINYINT>(block, result, col_left_ptr, col_right_ptr); | 770 | 0 | case TYPE_SMALLINT: | 771 | 0 | return execute_num_type<TYPE_SMALLINT>(block, result, col_left_ptr, col_right_ptr); | 772 | 4.14k | case TYPE_INT: | 773 | 4.14k | return execute_num_type<TYPE_INT>(block, result, col_left_ptr, col_right_ptr); | 774 | 1.18k | case TYPE_BIGINT: | 775 | 1.18k | return execute_num_type<TYPE_BIGINT>(block, result, col_left_ptr, col_right_ptr); | 776 | 0 | case TYPE_LARGEINT: | 777 | 0 | return execute_num_type<TYPE_LARGEINT>(block, result, col_left_ptr, col_right_ptr); | 778 | 0 | case TYPE_IPV4: | 779 | 0 | return execute_num_type<TYPE_IPV4>(block, result, col_left_ptr, col_right_ptr); | 780 | 0 | case TYPE_IPV6: | 781 | 0 | return execute_num_type<TYPE_IPV6>(block, result, col_left_ptr, col_right_ptr); | 782 | 48 | case TYPE_FLOAT: | 783 | 48 | return execute_num_type<TYPE_FLOAT>(block, result, col_left_ptr, col_right_ptr); | 784 | 60 | case TYPE_DOUBLE: | 785 | 60 | return execute_num_type<TYPE_DOUBLE>(block, result, col_left_ptr, col_right_ptr); | 786 | 0 | case TYPE_TIMEV2: | 787 | 0 | return execute_num_type<TYPE_TIMEV2>(block, result, col_left_ptr, col_right_ptr); | 788 | 0 | case TYPE_DECIMALV2: | 789 | 0 | case TYPE_DECIMAL32: | 790 | 69 | case TYPE_DECIMAL64: | 791 | 97 | case TYPE_DECIMAL128I: | 792 | 127 | case TYPE_DECIMAL256: | 793 | 127 | return execute_decimal(block, result, col_with_type_and_name_left, | 794 | 127 | col_with_type_and_name_right); | 795 | 1 | case TYPE_CHAR: | 796 | 27 | case TYPE_VARCHAR: | 797 | 93 | case TYPE_STRING: | 798 | 93 | return execute_string(block, result, col_left_untyped, col_right_untyped); | 799 | 8 | default: | 800 | 8 | return execute_generic(block, result, col_with_type_and_name_left, | 801 | 8 | col_with_type_and_name_right); | 802 | 5.82k | } | 803 | 0 | return Status::OK(); | 804 | 5.82k | } |
_ZNK5doris18FunctionComparisonINS_9GreaterOpENS_11NameGreaterEE12execute_implEPNS_15FunctionContextERNS_5BlockERKSt6vectorIjSaIjEEjm Line | Count | Source | 706 | 74.5k | uint32_t result, size_t input_rows_count) const override { | 707 | 74.5k | const auto& col_with_type_and_name_left = block.get_by_position(arguments[0]); | 708 | 74.5k | const auto& col_with_type_and_name_right = block.get_by_position(arguments[1]); | 709 | | | 710 | 74.5k | const auto& col_left_ptr = col_with_type_and_name_left.column; | 711 | 74.5k | const auto& col_right_ptr = col_with_type_and_name_right.column; | 712 | 74.5k | const IColumn* col_left_untyped = col_with_type_and_name_left.column.get(); | 713 | 74.5k | const IColumn* col_right_untyped = col_with_type_and_name_right.column.get(); | 714 | | | 715 | 74.5k | const DataTypePtr& left_type = col_with_type_and_name_left.type; | 716 | 74.5k | const DataTypePtr& right_type = col_with_type_and_name_right.type; | 717 | | | 718 | | /// The case when arguments are the same (tautological comparison). Return constant. | 719 | | /// NOTE: Nullable types are special case. (BTW, this function use default implementation for Nullable, so Nullable types cannot be here. Check just in case.) | 720 | | /// NOTE: We consider NaN comparison to be implementation specific (and in our implementation NaNs are sometimes equal sometimes not). | 721 | 74.5k | if (left_type->equals(*right_type) && !left_type->is_nullable() && | 722 | 74.5k | col_left_untyped == col_right_untyped) { | 723 | | /// Always true: =, <=, >= | 724 | | // TODO: Return const column in the future. But seems so far to do. We need a unified approach for passing const column. | 725 | | if constexpr (std::is_same_v<Op<TYPE_INT>, EqualsOp<TYPE_INT>> || | 726 | | std::is_same_v<Op<TYPE_INT>, LessOrEqualsOp<TYPE_INT>> || | 727 | | std::is_same_v<Op<TYPE_INT>, GreaterOrEqualsOp<TYPE_INT>>) { | 728 | | block.get_by_position(result).column = | 729 | | DataTypeUInt8() | 730 | | .create_column_const(input_rows_count, | 731 | | Field::create_field<TYPE_BOOLEAN>(1)) | 732 | | ->convert_to_full_column_if_const(); | 733 | | return Status::OK(); | 734 | 0 | } else { | 735 | 0 | block.get_by_position(result).column = | 736 | 0 | DataTypeUInt8() | 737 | 0 | .create_column_const(input_rows_count, | 738 | 0 | Field::create_field<TYPE_BOOLEAN>(0)) | 739 | 0 | ->convert_to_full_column_if_const(); | 740 | 0 | return Status::OK(); | 741 | 0 | } | 742 | 0 | } | 743 | | | 744 | 0 | auto can_compare = [](PrimitiveType t) -> bool { | 745 | 74.5k | return is_int_or_bool(t) || is_float_or_double(t) || is_ip(t) || is_date_type(t); | 746 | 74.5k | }; | 747 | | | 748 | 74.5k | if (can_compare(left_type->get_primitive_type()) && | 749 | 74.5k | can_compare(right_type->get_primitive_type())) { | 750 | | // check left type equals right type TODO: remove this after FE is aware of scales difference | 751 | 73.5k | if (!left_type->equals_ignore_precision(*right_type)) { | 752 | 0 | return Status::RuntimeError("not same type in function {} , left : {} , right : {}", | 753 | 0 | get_name(), left_type->get_name(), | 754 | 0 | right_type->get_name()); | 755 | 0 | } | 756 | 73.5k | } | 757 | | | 758 | 74.5k | auto compare_type = left_type->get_primitive_type(); | 759 | 74.5k | switch (compare_type) { | 760 | 0 | case TYPE_BOOLEAN: | 761 | 0 | return execute_num_type<TYPE_BOOLEAN>(block, result, col_left_ptr, col_right_ptr); | 762 | 1.14k | case TYPE_DATEV2: | 763 | 1.14k | return execute_num_type<TYPE_DATEV2>(block, result, col_left_ptr, col_right_ptr); | 764 | 1 | case TYPE_DATETIMEV2: | 765 | 1 | return execute_num_type<TYPE_DATETIMEV2>(block, result, col_left_ptr, col_right_ptr); | 766 | 1 | case TYPE_TIMESTAMPTZ: | 767 | 1 | return execute_num_type<TYPE_TIMESTAMPTZ>(block, result, col_left_ptr, col_right_ptr); | 768 | 1.08k | case TYPE_TINYINT: | 769 | 1.08k | return execute_num_type<TYPE_TINYINT>(block, result, col_left_ptr, col_right_ptr); | 770 | 1.81k | case TYPE_SMALLINT: | 771 | 1.81k | return execute_num_type<TYPE_SMALLINT>(block, result, col_left_ptr, col_right_ptr); | 772 | 66.8k | case TYPE_INT: | 773 | 66.8k | return execute_num_type<TYPE_INT>(block, result, col_left_ptr, col_right_ptr); | 774 | 1.71k | case TYPE_BIGINT: | 775 | 1.71k | return execute_num_type<TYPE_BIGINT>(block, result, col_left_ptr, col_right_ptr); | 776 | 259 | case TYPE_LARGEINT: | 777 | 259 | return execute_num_type<TYPE_LARGEINT>(block, result, col_left_ptr, col_right_ptr); | 778 | 4 | case TYPE_IPV4: | 779 | 4 | return execute_num_type<TYPE_IPV4>(block, result, col_left_ptr, col_right_ptr); | 780 | 1 | case TYPE_IPV6: | 781 | 1 | return execute_num_type<TYPE_IPV6>(block, result, col_left_ptr, col_right_ptr); | 782 | 220 | case TYPE_FLOAT: | 783 | 220 | return execute_num_type<TYPE_FLOAT>(block, result, col_left_ptr, col_right_ptr); | 784 | 536 | case TYPE_DOUBLE: | 785 | 536 | return execute_num_type<TYPE_DOUBLE>(block, result, col_left_ptr, col_right_ptr); | 786 | 0 | case TYPE_TIMEV2: | 787 | 0 | return execute_num_type<TYPE_TIMEV2>(block, result, col_left_ptr, col_right_ptr); | 788 | 0 | case TYPE_DECIMALV2: | 789 | 8 | case TYPE_DECIMAL32: | 790 | 74 | case TYPE_DECIMAL64: | 791 | 802 | case TYPE_DECIMAL128I: | 792 | 804 | case TYPE_DECIMAL256: | 793 | 804 | return execute_decimal(block, result, col_with_type_and_name_left, | 794 | 804 | col_with_type_and_name_right); | 795 | 14 | case TYPE_CHAR: | 796 | 75 | case TYPE_VARCHAR: | 797 | 187 | case TYPE_STRING: | 798 | 187 | return execute_string(block, result, col_left_untyped, col_right_untyped); | 799 | 9 | default: | 800 | 9 | return execute_generic(block, result, col_with_type_and_name_left, | 801 | 9 | col_with_type_and_name_right); | 802 | 74.5k | } | 803 | 0 | return Status::OK(); | 804 | 74.5k | } |
_ZNK5doris18FunctionComparisonINS_17GreaterOrEqualsOpENS_19NameGreaterOrEqualsEE12execute_implEPNS_15FunctionContextERNS_5BlockERKSt6vectorIjSaIjEEjm Line | Count | Source | 706 | 2.35k | uint32_t result, size_t input_rows_count) const override { | 707 | 2.35k | const auto& col_with_type_and_name_left = block.get_by_position(arguments[0]); | 708 | 2.35k | const auto& col_with_type_and_name_right = block.get_by_position(arguments[1]); | 709 | | | 710 | 2.35k | const auto& col_left_ptr = col_with_type_and_name_left.column; | 711 | 2.35k | const auto& col_right_ptr = col_with_type_and_name_right.column; | 712 | 2.35k | const IColumn* col_left_untyped = col_with_type_and_name_left.column.get(); | 713 | 2.35k | const IColumn* col_right_untyped = col_with_type_and_name_right.column.get(); | 714 | | | 715 | 2.35k | const DataTypePtr& left_type = col_with_type_and_name_left.type; | 716 | 2.35k | const DataTypePtr& right_type = col_with_type_and_name_right.type; | 717 | | | 718 | | /// The case when arguments are the same (tautological comparison). Return constant. | 719 | | /// NOTE: Nullable types are special case. (BTW, this function use default implementation for Nullable, so Nullable types cannot be here. Check just in case.) | 720 | | /// NOTE: We consider NaN comparison to be implementation specific (and in our implementation NaNs are sometimes equal sometimes not). | 721 | 2.35k | if (left_type->equals(*right_type) && !left_type->is_nullable() && | 722 | 2.35k | col_left_untyped == col_right_untyped) { | 723 | | /// Always true: =, <=, >= | 724 | | // TODO: Return const column in the future. But seems so far to do. We need a unified approach for passing const column. | 725 | | if constexpr (std::is_same_v<Op<TYPE_INT>, EqualsOp<TYPE_INT>> || | 726 | | std::is_same_v<Op<TYPE_INT>, LessOrEqualsOp<TYPE_INT>> || | 727 | 0 | std::is_same_v<Op<TYPE_INT>, GreaterOrEqualsOp<TYPE_INT>>) { | 728 | 0 | block.get_by_position(result).column = | 729 | 0 | DataTypeUInt8() | 730 | 0 | .create_column_const(input_rows_count, | 731 | 0 | Field::create_field<TYPE_BOOLEAN>(1)) | 732 | 0 | ->convert_to_full_column_if_const(); | 733 | 0 | return Status::OK(); | 734 | | } else { | 735 | | block.get_by_position(result).column = | 736 | | DataTypeUInt8() | 737 | | .create_column_const(input_rows_count, | 738 | | Field::create_field<TYPE_BOOLEAN>(0)) | 739 | | ->convert_to_full_column_if_const(); | 740 | | return Status::OK(); | 741 | | } | 742 | 0 | } | 743 | | | 744 | 0 | auto can_compare = [](PrimitiveType t) -> bool { | 745 | 2.35k | return is_int_or_bool(t) || is_float_or_double(t) || is_ip(t) || is_date_type(t); | 746 | 2.35k | }; | 747 | | | 748 | 2.35k | if (can_compare(left_type->get_primitive_type()) && | 749 | 2.35k | can_compare(right_type->get_primitive_type())) { | 750 | | // check left type equals right type TODO: remove this after FE is aware of scales difference | 751 | 1.87k | if (!left_type->equals_ignore_precision(*right_type)) { | 752 | 0 | return Status::RuntimeError("not same type in function {} , left : {} , right : {}", | 753 | 0 | get_name(), left_type->get_name(), | 754 | 0 | right_type->get_name()); | 755 | 0 | } | 756 | 1.87k | } | 757 | | | 758 | 2.35k | auto compare_type = left_type->get_primitive_type(); | 759 | 2.35k | switch (compare_type) { | 760 | 13 | case TYPE_BOOLEAN: | 761 | 13 | return execute_num_type<TYPE_BOOLEAN>(block, result, col_left_ptr, col_right_ptr); | 762 | 465 | case TYPE_DATEV2: | 763 | 465 | return execute_num_type<TYPE_DATEV2>(block, result, col_left_ptr, col_right_ptr); | 764 | 143 | case TYPE_DATETIMEV2: | 765 | 143 | return execute_num_type<TYPE_DATETIMEV2>(block, result, col_left_ptr, col_right_ptr); | 766 | 1 | case TYPE_TIMESTAMPTZ: | 767 | 1 | return execute_num_type<TYPE_TIMESTAMPTZ>(block, result, col_left_ptr, col_right_ptr); | 768 | 60 | case TYPE_TINYINT: | 769 | 60 | return execute_num_type<TYPE_TINYINT>(block, result, col_left_ptr, col_right_ptr); | 770 | 89 | case TYPE_SMALLINT: | 771 | 89 | return execute_num_type<TYPE_SMALLINT>(block, result, col_left_ptr, col_right_ptr); | 772 | 643 | case TYPE_INT: | 773 | 643 | return execute_num_type<TYPE_INT>(block, result, col_left_ptr, col_right_ptr); | 774 | 202 | case TYPE_BIGINT: | 775 | 202 | return execute_num_type<TYPE_BIGINT>(block, result, col_left_ptr, col_right_ptr); | 776 | 22 | case TYPE_LARGEINT: | 777 | 22 | return execute_num_type<TYPE_LARGEINT>(block, result, col_left_ptr, col_right_ptr); | 778 | 11 | case TYPE_IPV4: | 779 | 11 | return execute_num_type<TYPE_IPV4>(block, result, col_left_ptr, col_right_ptr); | 780 | 1 | case TYPE_IPV6: | 781 | 1 | return execute_num_type<TYPE_IPV6>(block, result, col_left_ptr, col_right_ptr); | 782 | 24 | case TYPE_FLOAT: | 783 | 24 | return execute_num_type<TYPE_FLOAT>(block, result, col_left_ptr, col_right_ptr); | 784 | 135 | case TYPE_DOUBLE: | 785 | 135 | return execute_num_type<TYPE_DOUBLE>(block, result, col_left_ptr, col_right_ptr); | 786 | 0 | case TYPE_TIMEV2: | 787 | 0 | return execute_num_type<TYPE_TIMEV2>(block, result, col_left_ptr, col_right_ptr); | 788 | 0 | case TYPE_DECIMALV2: | 789 | 4 | case TYPE_DECIMAL32: | 790 | 56 | case TYPE_DECIMAL64: | 791 | 129 | case TYPE_DECIMAL128I: | 792 | 150 | case TYPE_DECIMAL256: | 793 | 150 | return execute_decimal(block, result, col_with_type_and_name_left, | 794 | 150 | col_with_type_and_name_right); | 795 | 32 | case TYPE_CHAR: | 796 | 248 | case TYPE_VARCHAR: | 797 | 326 | case TYPE_STRING: | 798 | 326 | return execute_string(block, result, col_left_untyped, col_right_untyped); | 799 | 70 | default: | 800 | 70 | return execute_generic(block, result, col_with_type_and_name_left, | 801 | 70 | col_with_type_and_name_right); | 802 | 2.35k | } | 803 | 0 | return Status::OK(); | 804 | 2.35k | } |
_ZNK5doris18FunctionComparisonINS_6LessOpENS_8NameLessEE12execute_implEPNS_15FunctionContextERNS_5BlockERKSt6vectorIjSaIjEEjm Line | Count | Source | 706 | 8.82k | uint32_t result, size_t input_rows_count) const override { | 707 | 8.82k | const auto& col_with_type_and_name_left = block.get_by_position(arguments[0]); | 708 | 8.82k | const auto& col_with_type_and_name_right = block.get_by_position(arguments[1]); | 709 | | | 710 | 8.82k | const auto& col_left_ptr = col_with_type_and_name_left.column; | 711 | 8.82k | const auto& col_right_ptr = col_with_type_and_name_right.column; | 712 | 8.82k | const IColumn* col_left_untyped = col_with_type_and_name_left.column.get(); | 713 | 8.82k | const IColumn* col_right_untyped = col_with_type_and_name_right.column.get(); | 714 | | | 715 | 8.82k | const DataTypePtr& left_type = col_with_type_and_name_left.type; | 716 | 8.82k | const DataTypePtr& right_type = col_with_type_and_name_right.type; | 717 | | | 718 | | /// The case when arguments are the same (tautological comparison). Return constant. | 719 | | /// NOTE: Nullable types are special case. (BTW, this function use default implementation for Nullable, so Nullable types cannot be here. Check just in case.) | 720 | | /// NOTE: We consider NaN comparison to be implementation specific (and in our implementation NaNs are sometimes equal sometimes not). | 721 | 8.82k | if (left_type->equals(*right_type) && !left_type->is_nullable() && | 722 | 8.82k | col_left_untyped == col_right_untyped) { | 723 | | /// Always true: =, <=, >= | 724 | | // TODO: Return const column in the future. But seems so far to do. We need a unified approach for passing const column. | 725 | | if constexpr (std::is_same_v<Op<TYPE_INT>, EqualsOp<TYPE_INT>> || | 726 | | std::is_same_v<Op<TYPE_INT>, LessOrEqualsOp<TYPE_INT>> || | 727 | | std::is_same_v<Op<TYPE_INT>, GreaterOrEqualsOp<TYPE_INT>>) { | 728 | | block.get_by_position(result).column = | 729 | | DataTypeUInt8() | 730 | | .create_column_const(input_rows_count, | 731 | | Field::create_field<TYPE_BOOLEAN>(1)) | 732 | | ->convert_to_full_column_if_const(); | 733 | | return Status::OK(); | 734 | 0 | } else { | 735 | 0 | block.get_by_position(result).column = | 736 | 0 | DataTypeUInt8() | 737 | 0 | .create_column_const(input_rows_count, | 738 | 0 | Field::create_field<TYPE_BOOLEAN>(0)) | 739 | 0 | ->convert_to_full_column_if_const(); | 740 | 0 | return Status::OK(); | 741 | 0 | } | 742 | 0 | } | 743 | | | 744 | 0 | auto can_compare = [](PrimitiveType t) -> bool { | 745 | 8.82k | return is_int_or_bool(t) || is_float_or_double(t) || is_ip(t) || is_date_type(t); | 746 | 8.82k | }; | 747 | | | 748 | 8.82k | if (can_compare(left_type->get_primitive_type()) && | 749 | 8.82k | can_compare(right_type->get_primitive_type())) { | 750 | | // check left type equals right type TODO: remove this after FE is aware of scales difference | 751 | 7.49k | if (!left_type->equals_ignore_precision(*right_type)) { | 752 | 0 | return Status::RuntimeError("not same type in function {} , left : {} , right : {}", | 753 | 0 | get_name(), left_type->get_name(), | 754 | 0 | right_type->get_name()); | 755 | 0 | } | 756 | 7.49k | } | 757 | | | 758 | 8.82k | auto compare_type = left_type->get_primitive_type(); | 759 | 8.82k | switch (compare_type) { | 760 | 95 | case TYPE_BOOLEAN: | 761 | 95 | return execute_num_type<TYPE_BOOLEAN>(block, result, col_left_ptr, col_right_ptr); | 762 | 2.07k | case TYPE_DATEV2: | 763 | 2.07k | return execute_num_type<TYPE_DATEV2>(block, result, col_left_ptr, col_right_ptr); | 764 | 348 | case TYPE_DATETIMEV2: | 765 | 348 | return execute_num_type<TYPE_DATETIMEV2>(block, result, col_left_ptr, col_right_ptr); | 766 | 2 | case TYPE_TIMESTAMPTZ: | 767 | 2 | return execute_num_type<TYPE_TIMESTAMPTZ>(block, result, col_left_ptr, col_right_ptr); | 768 | 2.15k | case TYPE_TINYINT: | 769 | 2.15k | return execute_num_type<TYPE_TINYINT>(block, result, col_left_ptr, col_right_ptr); | 770 | 151 | case TYPE_SMALLINT: | 771 | 151 | return execute_num_type<TYPE_SMALLINT>(block, result, col_left_ptr, col_right_ptr); | 772 | 1.09k | case TYPE_INT: | 773 | 1.09k | return execute_num_type<TYPE_INT>(block, result, col_left_ptr, col_right_ptr); | 774 | 783 | case TYPE_BIGINT: | 775 | 783 | return execute_num_type<TYPE_BIGINT>(block, result, col_left_ptr, col_right_ptr); | 776 | 256 | case TYPE_LARGEINT: | 777 | 256 | return execute_num_type<TYPE_LARGEINT>(block, result, col_left_ptr, col_right_ptr); | 778 | 18 | case TYPE_IPV4: | 779 | 18 | return execute_num_type<TYPE_IPV4>(block, result, col_left_ptr, col_right_ptr); | 780 | 16 | case TYPE_IPV6: | 781 | 16 | return execute_num_type<TYPE_IPV6>(block, result, col_left_ptr, col_right_ptr); | 782 | 158 | case TYPE_FLOAT: | 783 | 158 | return execute_num_type<TYPE_FLOAT>(block, result, col_left_ptr, col_right_ptr); | 784 | 353 | case TYPE_DOUBLE: | 785 | 353 | return execute_num_type<TYPE_DOUBLE>(block, result, col_left_ptr, col_right_ptr); | 786 | 0 | case TYPE_TIMEV2: | 787 | 0 | return execute_num_type<TYPE_TIMEV2>(block, result, col_left_ptr, col_right_ptr); | 788 | 0 | case TYPE_DECIMALV2: | 789 | 213 | case TYPE_DECIMAL32: | 790 | 438 | case TYPE_DECIMAL64: | 791 | 785 | case TYPE_DECIMAL128I: | 792 | 786 | case TYPE_DECIMAL256: | 793 | 786 | return execute_decimal(block, result, col_with_type_and_name_left, | 794 | 786 | col_with_type_and_name_right); | 795 | 184 | case TYPE_CHAR: | 796 | 367 | case TYPE_VARCHAR: | 797 | 538 | case TYPE_STRING: | 798 | 538 | return execute_string(block, result, col_left_untyped, col_right_untyped); | 799 | 11 | default: | 800 | 11 | return execute_generic(block, result, col_with_type_and_name_left, | 801 | 11 | col_with_type_and_name_right); | 802 | 8.82k | } | 803 | 0 | return Status::OK(); | 804 | 8.82k | } |
_ZNK5doris18FunctionComparisonINS_14LessOrEqualsOpENS_16NameLessOrEqualsEE12execute_implEPNS_15FunctionContextERNS_5BlockERKSt6vectorIjSaIjEEjm Line | Count | Source | 706 | 8.22k | uint32_t result, size_t input_rows_count) const override { | 707 | 8.22k | const auto& col_with_type_and_name_left = block.get_by_position(arguments[0]); | 708 | 8.22k | const auto& col_with_type_and_name_right = block.get_by_position(arguments[1]); | 709 | | | 710 | 8.22k | const auto& col_left_ptr = col_with_type_and_name_left.column; | 711 | 8.22k | const auto& col_right_ptr = col_with_type_and_name_right.column; | 712 | 8.22k | const IColumn* col_left_untyped = col_with_type_and_name_left.column.get(); | 713 | 8.22k | const IColumn* col_right_untyped = col_with_type_and_name_right.column.get(); | 714 | | | 715 | 8.22k | const DataTypePtr& left_type = col_with_type_and_name_left.type; | 716 | 8.22k | const DataTypePtr& right_type = col_with_type_and_name_right.type; | 717 | | | 718 | | /// The case when arguments are the same (tautological comparison). Return constant. | 719 | | /// NOTE: Nullable types are special case. (BTW, this function use default implementation for Nullable, so Nullable types cannot be here. Check just in case.) | 720 | | /// NOTE: We consider NaN comparison to be implementation specific (and in our implementation NaNs are sometimes equal sometimes not). | 721 | 8.22k | if (left_type->equals(*right_type) && !left_type->is_nullable() && | 722 | 8.22k | col_left_untyped == col_right_untyped) { | 723 | | /// Always true: =, <=, >= | 724 | | // TODO: Return const column in the future. But seems so far to do. We need a unified approach for passing const column. | 725 | | if constexpr (std::is_same_v<Op<TYPE_INT>, EqualsOp<TYPE_INT>> || | 726 | | std::is_same_v<Op<TYPE_INT>, LessOrEqualsOp<TYPE_INT>> || | 727 | 0 | std::is_same_v<Op<TYPE_INT>, GreaterOrEqualsOp<TYPE_INT>>) { | 728 | 0 | block.get_by_position(result).column = | 729 | 0 | DataTypeUInt8() | 730 | 0 | .create_column_const(input_rows_count, | 731 | 0 | Field::create_field<TYPE_BOOLEAN>(1)) | 732 | 0 | ->convert_to_full_column_if_const(); | 733 | 0 | return Status::OK(); | 734 | | } else { | 735 | | block.get_by_position(result).column = | 736 | | DataTypeUInt8() | 737 | | .create_column_const(input_rows_count, | 738 | | Field::create_field<TYPE_BOOLEAN>(0)) | 739 | | ->convert_to_full_column_if_const(); | 740 | | return Status::OK(); | 741 | | } | 742 | 0 | } | 743 | | | 744 | 0 | auto can_compare = [](PrimitiveType t) -> bool { | 745 | 8.22k | return is_int_or_bool(t) || is_float_or_double(t) || is_ip(t) || is_date_type(t); | 746 | 8.22k | }; | 747 | | | 748 | 8.22k | if (can_compare(left_type->get_primitive_type()) && | 749 | 8.22k | can_compare(right_type->get_primitive_type())) { | 750 | | // check left type equals right type TODO: remove this after FE is aware of scales difference | 751 | 7.82k | if (!left_type->equals_ignore_precision(*right_type)) { | 752 | 0 | return Status::RuntimeError("not same type in function {} , left : {} , right : {}", | 753 | 0 | get_name(), left_type->get_name(), | 754 | 0 | right_type->get_name()); | 755 | 0 | } | 756 | 7.82k | } | 757 | | | 758 | 8.22k | auto compare_type = left_type->get_primitive_type(); | 759 | 8.22k | switch (compare_type) { | 760 | 40 | case TYPE_BOOLEAN: | 761 | 40 | return execute_num_type<TYPE_BOOLEAN>(block, result, col_left_ptr, col_right_ptr); | 762 | 618 | case TYPE_DATEV2: | 763 | 618 | return execute_num_type<TYPE_DATEV2>(block, result, col_left_ptr, col_right_ptr); | 764 | 58 | case TYPE_DATETIMEV2: | 765 | 58 | return execute_num_type<TYPE_DATETIMEV2>(block, result, col_left_ptr, col_right_ptr); | 766 | 1 | case TYPE_TIMESTAMPTZ: | 767 | 1 | return execute_num_type<TYPE_TIMESTAMPTZ>(block, result, col_left_ptr, col_right_ptr); | 768 | 64 | case TYPE_TINYINT: | 769 | 64 | return execute_num_type<TYPE_TINYINT>(block, result, col_left_ptr, col_right_ptr); | 770 | 106 | case TYPE_SMALLINT: | 771 | 106 | return execute_num_type<TYPE_SMALLINT>(block, result, col_left_ptr, col_right_ptr); | 772 | 6.26k | case TYPE_INT: | 773 | 6.26k | return execute_num_type<TYPE_INT>(block, result, col_left_ptr, col_right_ptr); | 774 | 440 | case TYPE_BIGINT: | 775 | 440 | return execute_num_type<TYPE_BIGINT>(block, result, col_left_ptr, col_right_ptr); | 776 | 28 | case TYPE_LARGEINT: | 777 | 28 | return execute_num_type<TYPE_LARGEINT>(block, result, col_left_ptr, col_right_ptr); | 778 | 10 | case TYPE_IPV4: | 779 | 10 | return execute_num_type<TYPE_IPV4>(block, result, col_left_ptr, col_right_ptr); | 780 | 0 | case TYPE_IPV6: | 781 | 0 | return execute_num_type<TYPE_IPV6>(block, result, col_left_ptr, col_right_ptr); | 782 | 20 | case TYPE_FLOAT: | 783 | 20 | return execute_num_type<TYPE_FLOAT>(block, result, col_left_ptr, col_right_ptr); | 784 | 124 | case TYPE_DOUBLE: | 785 | 124 | return execute_num_type<TYPE_DOUBLE>(block, result, col_left_ptr, col_right_ptr); | 786 | 0 | case TYPE_TIMEV2: | 787 | 0 | return execute_num_type<TYPE_TIMEV2>(block, result, col_left_ptr, col_right_ptr); | 788 | 0 | case TYPE_DECIMALV2: | 789 | 7 | case TYPE_DECIMAL32: | 790 | 66 | case TYPE_DECIMAL64: | 791 | 166 | case TYPE_DECIMAL128I: | 792 | 182 | case TYPE_DECIMAL256: | 793 | 182 | return execute_decimal(block, result, col_with_type_and_name_left, | 794 | 182 | col_with_type_and_name_right); | 795 | 28 | case TYPE_CHAR: | 796 | 159 | case TYPE_VARCHAR: | 797 | 224 | case TYPE_STRING: | 798 | 224 | return execute_string(block, result, col_left_untyped, col_right_untyped); | 799 | 47 | default: | 800 | 47 | return execute_generic(block, result, col_with_type_and_name_left, | 801 | 47 | col_with_type_and_name_right); | 802 | 8.22k | } | 803 | 0 | return Status::OK(); | 804 | 8.22k | } |
|
805 | | }; |
806 | | |
807 | | } // namespace doris |