be/src/exprs/function/function_unary_arithmetic.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/FunctionUnaryArithmetic.h |
19 | | // and modified by Doris |
20 | | |
21 | | #pragma once |
22 | | |
23 | | #include "core/column/column_decimal.h" |
24 | | #include "core/column/column_vector.h" |
25 | | #include "core/data_type/data_type_decimal.h" |
26 | | #include "core/data_type/data_type_number.h" |
27 | | #include "core/data_type/define_primitive_type.h" |
28 | | #include "core/types.h" |
29 | | #include "exprs/function/cast_type_to_either.h" |
30 | | #include "exprs/function/function.h" |
31 | | #include "exprs/function/function_helpers.h" |
32 | | |
33 | | namespace doris { |
34 | | |
35 | | template <PrimitiveType A, typename Op> |
36 | | struct UnaryOperationImpl { |
37 | | static constexpr PrimitiveType ResultType = Op::ResultType; |
38 | | using ColVecA = typename PrimitiveTypeTraits<A>::ColumnType; |
39 | | using ColVecC = typename PrimitiveTypeTraits<ResultType>::ColumnType; |
40 | | using ArrayA = typename ColVecA::Container; |
41 | | using ArrayC = typename ColVecC::Container; |
42 | | |
43 | 1.18k | static void NO_INLINE vector(const ArrayA& a, ArrayC& c) { |
44 | 1.18k | size_t size = a.size(); |
45 | 88.8k | for (size_t i = 0; i < size; ++i) c[i] = Op::apply(a[i]); |
46 | 1.18k | } _ZN5doris18UnaryOperationImplILNS_13PrimitiveTypeE9ENS_8SignImplIdEEE6vectorERKNS_8PODArrayIdLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERNS5_IaLm4096ES8_Lm16ELm15EEE Line | Count | Source | 43 | 26 | static void NO_INLINE vector(const ArrayA& a, ArrayC& c) { | 44 | 26 | size_t size = a.size(); | 45 | 91 | for (size_t i = 0; i < size; ++i) c[i] = Op::apply(a[i]); | 46 | 26 | } |
_ZN5doris18UnaryOperationImplILNS_13PrimitiveTypeE3ENS_7AbsImplIaEEE6vectorERKNS_8PODArrayIaLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERNS5_IsLm4096ES8_Lm16ELm15EEE Line | Count | Source | 43 | 77 | static void NO_INLINE vector(const ArrayA& a, ArrayC& c) { | 44 | 77 | size_t size = a.size(); | 45 | 279 | for (size_t i = 0; i < size; ++i) c[i] = Op::apply(a[i]); | 46 | 77 | } |
_ZN5doris18UnaryOperationImplILNS_13PrimitiveTypeE4ENS_7AbsImplIsEEE6vectorERKNS_8PODArrayIsLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERNS5_IiLm4096ES8_Lm16ELm15EEE Line | Count | Source | 43 | 88 | static void NO_INLINE vector(const ArrayA& a, ArrayC& c) { | 44 | 88 | size_t size = a.size(); | 45 | 379 | for (size_t i = 0; i < size; ++i) c[i] = Op::apply(a[i]); | 46 | 88 | } |
_ZN5doris18UnaryOperationImplILNS_13PrimitiveTypeE5ENS_7AbsImplIiEEE6vectorERKNS_8PODArrayIiLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERNS5_IlLm4096ES8_Lm16ELm15EEE Line | Count | Source | 43 | 363 | static void NO_INLINE vector(const ArrayA& a, ArrayC& c) { | 44 | 363 | size_t size = a.size(); | 45 | 1.56k | for (size_t i = 0; i < size; ++i) c[i] = Op::apply(a[i]); | 46 | 363 | } |
_ZN5doris18UnaryOperationImplILNS_13PrimitiveTypeE6ENS_7AbsImplIlEEE6vectorERKNS_8PODArrayIlLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERNS5_InLm4096ES8_Lm16ELm15EEE Line | Count | Source | 43 | 209 | static void NO_INLINE vector(const ArrayA& a, ArrayC& c) { | 44 | 209 | size_t size = a.size(); | 45 | 84.7k | for (size_t i = 0; i < size; ++i) c[i] = Op::apply(a[i]); | 46 | 209 | } |
_ZN5doris18UnaryOperationImplILNS_13PrimitiveTypeE7ENS_7AbsImplInEEE6vectorERKNS_8PODArrayInLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERS9_ Line | Count | Source | 43 | 16 | static void NO_INLINE vector(const ArrayA& a, ArrayC& c) { | 44 | 16 | size_t size = a.size(); | 45 | 91 | for (size_t i = 0; i < size; ++i) c[i] = Op::apply(a[i]); | 46 | 16 | } |
Unexecuted instantiation: _ZN5doris18UnaryOperationImplILNS_13PrimitiveTypeE2ENS_7AbsImplIhEEE6vectorERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERNS5_IsLm4096ES8_Lm16ELm15EEE _ZN5doris18UnaryOperationImplILNS_13PrimitiveTypeE28ENS_7AbsImplINS_7DecimalIiEEEEE6vectorERKNS_21DecimalPaddedPODArrayIS4_EERS8_ Line | Count | Source | 43 | 42 | static void NO_INLINE vector(const ArrayA& a, ArrayC& c) { | 44 | 42 | size_t size = a.size(); | 45 | 155 | for (size_t i = 0; i < size; ++i) c[i] = Op::apply(a[i]); | 46 | 42 | } |
_ZN5doris18UnaryOperationImplILNS_13PrimitiveTypeE29ENS_7AbsImplINS_7DecimalIlEEEEE6vectorERKNS_21DecimalPaddedPODArrayIS4_EERS8_ Line | Count | Source | 43 | 49 | static void NO_INLINE vector(const ArrayA& a, ArrayC& c) { | 44 | 49 | size_t size = a.size(); | 45 | 361 | for (size_t i = 0; i < size; ++i) c[i] = Op::apply(a[i]); | 46 | 49 | } |
_ZN5doris18UnaryOperationImplILNS_13PrimitiveTypeE30ENS_7AbsImplINS_12Decimal128V3EEEE6vectorERKNS_21DecimalPaddedPODArrayIS3_EERS7_ Line | Count | Source | 43 | 9 | static void NO_INLINE vector(const ArrayA& a, ArrayC& c) { | 44 | 9 | size_t size = a.size(); | 45 | 60 | for (size_t i = 0; i < size; ++i) c[i] = Op::apply(a[i]); | 46 | 9 | } |
_ZN5doris18UnaryOperationImplILNS_13PrimitiveTypeE20ENS_7AbsImplINS_14DecimalV2ValueEEEE6vectorERKNS_21DecimalPaddedPODArrayIS3_EERS7_ Line | Count | Source | 43 | 1 | static void NO_INLINE vector(const ArrayA& a, ArrayC& c) { | 44 | 1 | size_t size = a.size(); | 45 | 12 | for (size_t i = 0; i < size; ++i) c[i] = Op::apply(a[i]); | 46 | 1 | } |
_ZN5doris18UnaryOperationImplILNS_13PrimitiveTypeE35ENS_7AbsImplINS_7DecimalIN4wide7integerILm256EiEEEEEEE6vectorERKNS_21DecimalPaddedPODArrayIS7_EERSB_ Line | Count | Source | 43 | 6 | static void NO_INLINE vector(const ArrayA& a, ArrayC& c) { | 44 | 6 | size_t size = a.size(); | 45 | 36 | for (size_t i = 0; i < size; ++i) c[i] = Op::apply(a[i]); | 46 | 6 | } |
_ZN5doris18UnaryOperationImplILNS_13PrimitiveTypeE8ENS_7AbsImplIfEEE6vectorERKNS_8PODArrayIfLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERS9_ Line | Count | Source | 43 | 32 | static void NO_INLINE vector(const ArrayA& a, ArrayC& c) { | 44 | 32 | size_t size = a.size(); | 45 | 93 | for (size_t i = 0; i < size; ++i) c[i] = Op::apply(a[i]); | 46 | 32 | } |
_ZN5doris18UnaryOperationImplILNS_13PrimitiveTypeE9ENS_7AbsImplIdEEE6vectorERKNS_8PODArrayIdLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERS9_ Line | Count | Source | 43 | 91 | static void NO_INLINE vector(const ArrayA& a, ArrayC& c) { | 44 | 91 | size_t size = a.size(); | 45 | 347 | for (size_t i = 0; i < size; ++i) c[i] = Op::apply(a[i]); | 46 | 91 | } |
_ZN5doris18UnaryOperationImplILNS_13PrimitiveTypeE9ENS_12NegativeImplIdEEE6vectorERKNS_8PODArrayIdLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERS9_ Line | Count | Source | 43 | 17 | static void NO_INLINE vector(const ArrayA& a, ArrayC& c) { | 44 | 17 | size_t size = a.size(); | 45 | 54 | for (size_t i = 0; i < size; ++i) c[i] = Op::apply(a[i]); | 46 | 17 | } |
_ZN5doris18UnaryOperationImplILNS_13PrimitiveTypeE6ENS_12NegativeImplIlEEE6vectorERKNS_8PODArrayIlLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERS9_ Line | Count | Source | 43 | 22 | static void NO_INLINE vector(const ArrayA& a, ArrayC& c) { | 44 | 22 | size_t size = a.size(); | 45 | 61 | for (size_t i = 0; i < size; ++i) c[i] = Op::apply(a[i]); | 46 | 22 | } |
Unexecuted instantiation: _ZN5doris18UnaryOperationImplILNS_13PrimitiveTypeE20ENS_12NegativeImplINS_14DecimalV2ValueEEEE6vectorERKNS_21DecimalPaddedPODArrayIS3_EERS7_ Unexecuted instantiation: _ZN5doris18UnaryOperationImplILNS_13PrimitiveTypeE35ENS_12NegativeImplINS_7DecimalIN4wide7integerILm256EiEEEEEEE6vectorERKNS_21DecimalPaddedPODArrayIS7_EERSB_ Unexecuted instantiation: _ZN5doris18UnaryOperationImplILNS_13PrimitiveTypeE30ENS_12NegativeImplINS_12Decimal128V3EEEE6vectorERKNS_21DecimalPaddedPODArrayIS3_EERS7_ _ZN5doris18UnaryOperationImplILNS_13PrimitiveTypeE28ENS_12NegativeImplINS_7DecimalIiEEEEE6vectorERKNS_21DecimalPaddedPODArrayIS4_EERS8_ Line | Count | Source | 43 | 12 | static void NO_INLINE vector(const ArrayA& a, ArrayC& c) { | 44 | 12 | size_t size = a.size(); | 45 | 41 | for (size_t i = 0; i < size; ++i) c[i] = Op::apply(a[i]); | 46 | 12 | } |
Unexecuted instantiation: _ZN5doris18UnaryOperationImplILNS_13PrimitiveTypeE29ENS_12NegativeImplINS_7DecimalIlEEEEE6vectorERKNS_21DecimalPaddedPODArrayIS4_EERS8_ _ZN5doris18UnaryOperationImplILNS_13PrimitiveTypeE28ENS_12PositiveImplINS_7DecimalIiEEEEE6vectorERKNS_21DecimalPaddedPODArrayIS4_EERS8_ Line | Count | Source | 43 | 10 | static void NO_INLINE vector(const ArrayA& a, ArrayC& c) { | 44 | 10 | size_t size = a.size(); | 45 | 37 | for (size_t i = 0; i < size; ++i) c[i] = Op::apply(a[i]); | 46 | 10 | } |
_ZN5doris18UnaryOperationImplILNS_13PrimitiveTypeE29ENS_12PositiveImplINS_7DecimalIlEEEEE6vectorERKNS_21DecimalPaddedPODArrayIS4_EERS8_ Line | Count | Source | 43 | 3 | static void NO_INLINE vector(const ArrayA& a, ArrayC& c) { | 44 | 3 | size_t size = a.size(); | 45 | 7 | for (size_t i = 0; i < size; ++i) c[i] = Op::apply(a[i]); | 46 | 3 | } |
_ZN5doris18UnaryOperationImplILNS_13PrimitiveTypeE30ENS_12PositiveImplINS_12Decimal128V3EEEE6vectorERKNS_21DecimalPaddedPODArrayIS3_EERS7_ Line | Count | Source | 43 | 16 | static void NO_INLINE vector(const ArrayA& a, ArrayC& c) { | 44 | 16 | size_t size = a.size(); | 45 | 33 | for (size_t i = 0; i < size; ++i) c[i] = Op::apply(a[i]); | 46 | 16 | } |
Unexecuted instantiation: _ZN5doris18UnaryOperationImplILNS_13PrimitiveTypeE20ENS_12PositiveImplINS_14DecimalV2ValueEEEE6vectorERKNS_21DecimalPaddedPODArrayIS3_EERS7_ Unexecuted instantiation: _ZN5doris18UnaryOperationImplILNS_13PrimitiveTypeE35ENS_12PositiveImplINS_7DecimalIN4wide7integerILm256EiEEEEEEE6vectorERKNS_21DecimalPaddedPODArrayIS7_EERSB_ _ZN5doris18UnaryOperationImplILNS_13PrimitiveTypeE9ENS_12PositiveImplIdEEE6vectorERKNS_8PODArrayIdLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERS9_ Line | Count | Source | 43 | 9 | static void NO_INLINE vector(const ArrayA& a, ArrayC& c) { | 44 | 9 | size_t size = a.size(); | 45 | 38 | for (size_t i = 0; i < size; ++i) c[i] = Op::apply(a[i]); | 46 | 9 | } |
_ZN5doris18UnaryOperationImplILNS_13PrimitiveTypeE6ENS_12PositiveImplIlEEE6vectorERKNS_8PODArrayIlLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERS9_ Line | Count | Source | 43 | 14 | static void NO_INLINE vector(const ArrayA& a, ArrayC& c) { | 44 | 14 | size_t size = a.size(); | 45 | 45 | for (size_t i = 0; i < size; ++i) c[i] = Op::apply(a[i]); | 46 | 14 | } |
_ZN5doris18UnaryOperationImplILNS_13PrimitiveTypeE9ENS_11RadiansImplIdEEE6vectorERKNS_8PODArrayIdLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERS9_ Line | Count | Source | 43 | 17 | static void NO_INLINE vector(const ArrayA& a, ArrayC& c) { | 44 | 17 | size_t size = a.size(); | 45 | 54 | for (size_t i = 0; i < size; ++i) c[i] = Op::apply(a[i]); | 46 | 17 | } |
_ZN5doris18UnaryOperationImplILNS_13PrimitiveTypeE9ENS_11DegreesImplIdEEE6vectorERKNS_8PODArrayIdLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERS9_ Line | Count | Source | 43 | 21 | static void NO_INLINE vector(const ArrayA& a, ArrayC& c) { | 44 | 21 | size_t size = a.size(); | 45 | 62 | for (size_t i = 0; i < size; ++i) c[i] = Op::apply(a[i]); | 46 | 21 | } |
_ZN5doris18UnaryOperationImplILNS_13PrimitiveTypeE9ENS_11SignBitImplIdEEE6vectorERKNS_8PODArrayIdLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 43 | 17 | static void NO_INLINE vector(const ArrayA& a, ArrayC& c) { | 44 | 17 | size_t size = a.size(); | 45 | 56 | for (size_t i = 0; i < size; ++i) c[i] = Op::apply(a[i]); | 46 | 17 | } |
_ZN5doris18UnaryOperationImplILNS_13PrimitiveTypeE3ENS_10BitNotImplIaEEE6vectorERKNS_8PODArrayIaLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERS9_ Line | Count | Source | 43 | 2 | static void NO_INLINE vector(const ArrayA& a, ArrayC& c) { | 44 | 2 | size_t size = a.size(); | 45 | 4 | for (size_t i = 0; i < size; ++i) c[i] = Op::apply(a[i]); | 46 | 2 | } |
Unexecuted instantiation: _ZN5doris18UnaryOperationImplILNS_13PrimitiveTypeE4ENS_10BitNotImplIsEEE6vectorERKNS_8PODArrayIsLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERS9_ _ZN5doris18UnaryOperationImplILNS_13PrimitiveTypeE5ENS_10BitNotImplIiEEE6vectorERKNS_8PODArrayIiLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERS9_ Line | Count | Source | 43 | 1 | static void NO_INLINE vector(const ArrayA& a, ArrayC& c) { | 44 | 1 | size_t size = a.size(); | 45 | 6 | for (size_t i = 0; i < size; ++i) c[i] = Op::apply(a[i]); | 46 | 1 | } |
_ZN5doris18UnaryOperationImplILNS_13PrimitiveTypeE6ENS_10BitNotImplIlEEE6vectorERKNS_8PODArrayIlLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERS9_ Line | Count | Source | 43 | 3 | static void NO_INLINE vector(const ArrayA& a, ArrayC& c) { | 44 | 3 | size_t size = a.size(); | 45 | 6 | for (size_t i = 0; i < size; ++i) c[i] = Op::apply(a[i]); | 46 | 3 | } |
Unexecuted instantiation: _ZN5doris18UnaryOperationImplILNS_13PrimitiveTypeE7ENS_10BitNotImplInEEE6vectorERKNS_8PODArrayInLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERS9_ _ZN5doris18UnaryOperationImplILNS_13PrimitiveTypeE3ENS_12BitCountImplIaEEE6vectorERKNS_8PODArrayIaLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERS9_ Line | Count | Source | 43 | 4 | static void NO_INLINE vector(const ArrayA& a, ArrayC& c) { | 44 | 4 | size_t size = a.size(); | 45 | 8 | for (size_t i = 0; i < size; ++i) c[i] = Op::apply(a[i]); | 46 | 4 | } |
_ZN5doris18UnaryOperationImplILNS_13PrimitiveTypeE4ENS_12BitCountImplIsEEE6vectorERKNS_8PODArrayIsLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERNS5_IaLm4096ES8_Lm16ELm15EEE Line | Count | Source | 43 | 1 | static void NO_INLINE vector(const ArrayA& a, ArrayC& c) { | 44 | 1 | size_t size = a.size(); | 45 | 2 | for (size_t i = 0; i < size; ++i) c[i] = Op::apply(a[i]); | 46 | 1 | } |
_ZN5doris18UnaryOperationImplILNS_13PrimitiveTypeE5ENS_12BitCountImplIiEEE6vectorERKNS_8PODArrayIiLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERNS5_IaLm4096ES8_Lm16ELm15EEE Line | Count | Source | 43 | 2 | static void NO_INLINE vector(const ArrayA& a, ArrayC& c) { | 44 | 2 | size_t size = a.size(); | 45 | 4 | for (size_t i = 0; i < size; ++i) c[i] = Op::apply(a[i]); | 46 | 2 | } |
_ZN5doris18UnaryOperationImplILNS_13PrimitiveTypeE6ENS_12BitCountImplIlEEE6vectorERKNS_8PODArrayIlLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERNS5_IaLm4096ES8_Lm16ELm15EEE Line | Count | Source | 43 | 8 | static void NO_INLINE vector(const ArrayA& a, ArrayC& c) { | 44 | 8 | size_t size = a.size(); | 45 | 34 | for (size_t i = 0; i < size; ++i) c[i] = Op::apply(a[i]); | 46 | 8 | } |
Unexecuted instantiation: _ZN5doris18UnaryOperationImplILNS_13PrimitiveTypeE7ENS_12BitCountImplInEEE6vectorERKNS_8PODArrayInLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERNS5_IsLm4096ES8_Lm16ELm15EEE |
47 | | }; |
48 | | |
49 | | template <typename> |
50 | | struct AbsImpl; |
51 | | template <typename> |
52 | | struct NegativeImpl; |
53 | | template <typename> |
54 | | struct PositiveImpl; |
55 | | |
56 | | /// Used to indicate undefined operation |
57 | | struct InvalidType; |
58 | | |
59 | | template <typename Op, typename Name, PrimitiveType param_type> |
60 | | class FunctionUnaryArithmetic : public IFunction { |
61 | | using ResultDataType = typename PrimitiveTypeTraits<param_type>::DataType; |
62 | | static constexpr bool allow_decimal = std::string_view(Name::name) == "abs" || |
63 | | std::string_view(Name::name) == "negative" || |
64 | | std::string_view(Name::name) == "positive"; |
65 | | static constexpr bool not_variadic = |
66 | | std::string_view(Name::name) == "degree" || std::string_view(Name::name) == "radian" || |
67 | | std::string_view(Name::name) == "sign" || std::string_view(Name::name) == "signbit"; |
68 | | |
69 | | template <typename F> |
70 | 1.89k | static bool cast_type(const IDataType* type, F&& f) { |
71 | 1.89k | if (const auto* data_type = typeid_cast<const ResultDataType*>(type)) { |
72 | 1.88k | return f(*data_type); |
73 | 1.88k | } |
74 | 2 | return false; |
75 | 1.89k | } _ZN5doris23FunctionUnaryArithmeticINS_8SignImplIdEENS_8NameSignELNS_13PrimitiveTypeE9EE9cast_typeIZNKS5_20get_return_type_implERKSt6vectorISt10shared_ptrIKNS_9IDataTypeEESaISB_EEEUlRKT_E_EEbPSA_OSG_ Line | Count | Source | 70 | 14 | static bool cast_type(const IDataType* type, F&& f) { | 71 | 14 | if (const auto* data_type = typeid_cast<const ResultDataType*>(type)) { | 72 | 14 | return f(*data_type); | 73 | 14 | } | 74 | 0 | return false; | 75 | 14 | } |
_ZN5doris23FunctionUnaryArithmeticINS_8SignImplIdEENS_8NameSignELNS_13PrimitiveTypeE9EE9cast_typeIZNKS5_12execute_implEPNS_15FunctionContextERNS_5BlockERKSt6vectorIjSaIjEEjmEUlRKT_E_EEbPKNS_9IDataTypeEOSG_ Line | Count | Source | 70 | 26 | static bool cast_type(const IDataType* type, F&& f) { | 71 | 26 | if (const auto* data_type = typeid_cast<const ResultDataType*>(type)) { | 72 | 26 | return f(*data_type); | 73 | 26 | } | 74 | 0 | return false; | 75 | 26 | } |
_ZN5doris23FunctionUnaryArithmeticINS_7AbsImplIaEENS_7NameAbsELNS_13PrimitiveTypeE3EE9cast_typeIZNKS5_20get_return_type_implERKSt6vectorISt10shared_ptrIKNS_9IDataTypeEESaISB_EEEUlRKT_E_EEbPSA_OSG_ Line | Count | Source | 70 | 41 | static bool cast_type(const IDataType* type, F&& f) { | 71 | 41 | if (const auto* data_type = typeid_cast<const ResultDataType*>(type)) { | 72 | 41 | return f(*data_type); | 73 | 41 | } | 74 | 0 | return false; | 75 | 41 | } |
_ZN5doris23FunctionUnaryArithmeticINS_7AbsImplIaEENS_7NameAbsELNS_13PrimitiveTypeE3EE9cast_typeIZNKS5_12execute_implEPNS_15FunctionContextERNS_5BlockERKSt6vectorIjSaIjEEjmEUlRKT_E_EEbPKNS_9IDataTypeEOSG_ Line | Count | Source | 70 | 77 | static bool cast_type(const IDataType* type, F&& f) { | 71 | 77 | if (const auto* data_type = typeid_cast<const ResultDataType*>(type)) { | 72 | 77 | return f(*data_type); | 73 | 77 | } | 74 | 0 | return false; | 75 | 77 | } |
_ZN5doris23FunctionUnaryArithmeticINS_7AbsImplIsEENS_7NameAbsELNS_13PrimitiveTypeE4EE9cast_typeIZNKS5_20get_return_type_implERKSt6vectorISt10shared_ptrIKNS_9IDataTypeEESaISB_EEEUlRKT_E_EEbPSA_OSG_ Line | Count | Source | 70 | 28 | static bool cast_type(const IDataType* type, F&& f) { | 71 | 28 | if (const auto* data_type = typeid_cast<const ResultDataType*>(type)) { | 72 | 28 | return f(*data_type); | 73 | 28 | } | 74 | 0 | return false; | 75 | 28 | } |
_ZN5doris23FunctionUnaryArithmeticINS_7AbsImplIsEENS_7NameAbsELNS_13PrimitiveTypeE4EE9cast_typeIZNKS5_12execute_implEPNS_15FunctionContextERNS_5BlockERKSt6vectorIjSaIjEEjmEUlRKT_E_EEbPKNS_9IDataTypeEOSG_ Line | Count | Source | 70 | 88 | static bool cast_type(const IDataType* type, F&& f) { | 71 | 88 | if (const auto* data_type = typeid_cast<const ResultDataType*>(type)) { | 72 | 88 | return f(*data_type); | 73 | 88 | } | 74 | 0 | return false; | 75 | 88 | } |
_ZN5doris23FunctionUnaryArithmeticINS_7AbsImplIiEENS_7NameAbsELNS_13PrimitiveTypeE5EE9cast_typeIZNKS5_20get_return_type_implERKSt6vectorISt10shared_ptrIKNS_9IDataTypeEESaISB_EEEUlRKT_E_EEbPSA_OSG_ Line | Count | Source | 70 | 228 | static bool cast_type(const IDataType* type, F&& f) { | 71 | 228 | if (const auto* data_type = typeid_cast<const ResultDataType*>(type)) { | 72 | 228 | return f(*data_type); | 73 | 228 | } | 74 | 0 | return false; | 75 | 228 | } |
_ZN5doris23FunctionUnaryArithmeticINS_7AbsImplIiEENS_7NameAbsELNS_13PrimitiveTypeE5EE9cast_typeIZNKS5_12execute_implEPNS_15FunctionContextERNS_5BlockERKSt6vectorIjSaIjEEjmEUlRKT_E_EEbPKNS_9IDataTypeEOSG_ Line | Count | Source | 70 | 360 | static bool cast_type(const IDataType* type, F&& f) { | 71 | 360 | if (const auto* data_type = typeid_cast<const ResultDataType*>(type)) { | 72 | 359 | return f(*data_type); | 73 | 359 | } | 74 | 1 | return false; | 75 | 360 | } |
_ZN5doris23FunctionUnaryArithmeticINS_7AbsImplIlEENS_7NameAbsELNS_13PrimitiveTypeE6EE9cast_typeIZNKS5_20get_return_type_implERKSt6vectorISt10shared_ptrIKNS_9IDataTypeEESaISB_EEEUlRKT_E_EEbPSA_OSG_ Line | Count | Source | 70 | 152 | static bool cast_type(const IDataType* type, F&& f) { | 71 | 152 | if (const auto* data_type = typeid_cast<const ResultDataType*>(type)) { | 72 | 152 | return f(*data_type); | 73 | 152 | } | 74 | 0 | return false; | 75 | 152 | } |
_ZN5doris23FunctionUnaryArithmeticINS_7AbsImplIlEENS_7NameAbsELNS_13PrimitiveTypeE6EE9cast_typeIZNKS5_12execute_implEPNS_15FunctionContextERNS_5BlockERKSt6vectorIjSaIjEEjmEUlRKT_E_EEbPKNS_9IDataTypeEOSG_ Line | Count | Source | 70 | 208 | static bool cast_type(const IDataType* type, F&& f) { | 71 | 208 | if (const auto* data_type = typeid_cast<const ResultDataType*>(type)) { | 72 | 208 | return f(*data_type); | 73 | 208 | } | 74 | 0 | return false; | 75 | 208 | } |
_ZN5doris23FunctionUnaryArithmeticINS_7AbsImplInEENS_7NameAbsELNS_13PrimitiveTypeE7EE9cast_typeIZNKS5_20get_return_type_implERKSt6vectorISt10shared_ptrIKNS_9IDataTypeEESaISB_EEEUlRKT_E_EEbPSA_OSG_ Line | Count | Source | 70 | 4 | static bool cast_type(const IDataType* type, F&& f) { | 71 | 4 | if (const auto* data_type = typeid_cast<const ResultDataType*>(type)) { | 72 | 4 | return f(*data_type); | 73 | 4 | } | 74 | 0 | return false; | 75 | 4 | } |
_ZN5doris23FunctionUnaryArithmeticINS_7AbsImplInEENS_7NameAbsELNS_13PrimitiveTypeE7EE9cast_typeIZNKS5_12execute_implEPNS_15FunctionContextERNS_5BlockERKSt6vectorIjSaIjEEjmEUlRKT_E_EEbPKNS_9IDataTypeEOSG_ Line | Count | Source | 70 | 16 | static bool cast_type(const IDataType* type, F&& f) { | 71 | 16 | if (const auto* data_type = typeid_cast<const ResultDataType*>(type)) { | 72 | 16 | return f(*data_type); | 73 | 16 | } | 74 | 0 | return false; | 75 | 16 | } |
Unexecuted instantiation: _ZN5doris23FunctionUnaryArithmeticINS_7AbsImplIhEENS_7NameAbsELNS_13PrimitiveTypeE2EE9cast_typeIZNKS5_20get_return_type_implERKSt6vectorISt10shared_ptrIKNS_9IDataTypeEESaISB_EEEUlRKT_E_EEbPSA_OSG_ Unexecuted instantiation: _ZN5doris23FunctionUnaryArithmeticINS_7AbsImplIhEENS_7NameAbsELNS_13PrimitiveTypeE2EE9cast_typeIZNKS5_12execute_implEPNS_15FunctionContextERNS_5BlockERKSt6vectorIjSaIjEEjmEUlRKT_E_EEbPKNS_9IDataTypeEOSG_ _ZN5doris23FunctionUnaryArithmeticINS_7AbsImplINS_7DecimalIiEEEENS_7NameAbsELNS_13PrimitiveTypeE28EE9cast_typeIZNKS7_20get_return_type_implERKSt6vectorISt10shared_ptrIKNS_9IDataTypeEESaISD_EEEUlRKT_E_EEbPSC_OSI_ Line | Count | Source | 70 | 18 | static bool cast_type(const IDataType* type, F&& f) { | 71 | 18 | if (const auto* data_type = typeid_cast<const ResultDataType*>(type)) { | 72 | 18 | return f(*data_type); | 73 | 18 | } | 74 | 0 | return false; | 75 | 18 | } |
_ZN5doris23FunctionUnaryArithmeticINS_7AbsImplINS_7DecimalIiEEEENS_7NameAbsELNS_13PrimitiveTypeE28EE9cast_typeIZNKS7_12execute_implEPNS_15FunctionContextERNS_5BlockERKSt6vectorIjSaIjEEjmEUlRKT_E_EEbPKNS_9IDataTypeEOSI_ Line | Count | Source | 70 | 42 | static bool cast_type(const IDataType* type, F&& f) { | 71 | 42 | if (const auto* data_type = typeid_cast<const ResultDataType*>(type)) { | 72 | 42 | return f(*data_type); | 73 | 42 | } | 74 | 0 | return false; | 75 | 42 | } |
_ZN5doris23FunctionUnaryArithmeticINS_7AbsImplINS_7DecimalIlEEEENS_7NameAbsELNS_13PrimitiveTypeE29EE9cast_typeIZNKS7_20get_return_type_implERKSt6vectorISt10shared_ptrIKNS_9IDataTypeEESaISD_EEEUlRKT_E_EEbPSC_OSI_ Line | Count | Source | 70 | 35 | static bool cast_type(const IDataType* type, F&& f) { | 71 | 35 | if (const auto* data_type = typeid_cast<const ResultDataType*>(type)) { | 72 | 35 | return f(*data_type); | 73 | 35 | } | 74 | 0 | return false; | 75 | 35 | } |
_ZN5doris23FunctionUnaryArithmeticINS_7AbsImplINS_7DecimalIlEEEENS_7NameAbsELNS_13PrimitiveTypeE29EE9cast_typeIZNKS7_12execute_implEPNS_15FunctionContextERNS_5BlockERKSt6vectorIjSaIjEEjmEUlRKT_E_EEbPKNS_9IDataTypeEOSI_ Line | Count | Source | 70 | 47 | static bool cast_type(const IDataType* type, F&& f) { | 71 | 47 | if (const auto* data_type = typeid_cast<const ResultDataType*>(type)) { | 72 | 47 | return f(*data_type); | 73 | 47 | } | 74 | 0 | return false; | 75 | 47 | } |
_ZN5doris23FunctionUnaryArithmeticINS_7AbsImplINS_12Decimal128V3EEENS_7NameAbsELNS_13PrimitiveTypeE30EE9cast_typeIZNKS6_20get_return_type_implERKSt6vectorISt10shared_ptrIKNS_9IDataTypeEESaISC_EEEUlRKT_E_EEbPSB_OSH_ Line | Count | Source | 70 | 3 | static bool cast_type(const IDataType* type, F&& f) { | 71 | 3 | if (const auto* data_type = typeid_cast<const ResultDataType*>(type)) { | 72 | 3 | return f(*data_type); | 73 | 3 | } | 74 | 0 | return false; | 75 | 3 | } |
_ZN5doris23FunctionUnaryArithmeticINS_7AbsImplINS_12Decimal128V3EEENS_7NameAbsELNS_13PrimitiveTypeE30EE9cast_typeIZNKS6_12execute_implEPNS_15FunctionContextERNS_5BlockERKSt6vectorIjSaIjEEjmEUlRKT_E_EEbPKNS_9IDataTypeEOSH_ Line | Count | Source | 70 | 9 | static bool cast_type(const IDataType* type, F&& f) { | 71 | 9 | if (const auto* data_type = typeid_cast<const ResultDataType*>(type)) { | 72 | 9 | return f(*data_type); | 73 | 9 | } | 74 | 0 | return false; | 75 | 9 | } |
_ZN5doris23FunctionUnaryArithmeticINS_7AbsImplINS_14DecimalV2ValueEEENS_7NameAbsELNS_13PrimitiveTypeE20EE9cast_typeIZNKS6_20get_return_type_implERKSt6vectorISt10shared_ptrIKNS_9IDataTypeEESaISC_EEEUlRKT_E_EEbPSB_OSH_ Line | Count | Source | 70 | 1 | static bool cast_type(const IDataType* type, F&& f) { | 71 | 1 | if (const auto* data_type = typeid_cast<const ResultDataType*>(type)) { | 72 | 1 | return f(*data_type); | 73 | 1 | } | 74 | 0 | return false; | 75 | 1 | } |
_ZN5doris23FunctionUnaryArithmeticINS_7AbsImplINS_14DecimalV2ValueEEENS_7NameAbsELNS_13PrimitiveTypeE20EE9cast_typeIZNKS6_12execute_implEPNS_15FunctionContextERNS_5BlockERKSt6vectorIjSaIjEEjmEUlRKT_E_EEbPKNS_9IDataTypeEOSH_ Line | Count | Source | 70 | 1 | static bool cast_type(const IDataType* type, F&& f) { | 71 | 1 | if (const auto* data_type = typeid_cast<const ResultDataType*>(type)) { | 72 | 1 | return f(*data_type); | 73 | 1 | } | 74 | 0 | return false; | 75 | 1 | } |
_ZN5doris23FunctionUnaryArithmeticINS_7AbsImplINS_7DecimalIN4wide7integerILm256EiEEEEEENS_7NameAbsELNS_13PrimitiveTypeE35EE9cast_typeIZNKSA_20get_return_type_implERKSt6vectorISt10shared_ptrIKNS_9IDataTypeEESaISG_EEEUlRKT_E_EEbPSF_OSL_ Line | Count | Source | 70 | 2 | static bool cast_type(const IDataType* type, F&& f) { | 71 | 2 | if (const auto* data_type = typeid_cast<const ResultDataType*>(type)) { | 72 | 2 | return f(*data_type); | 73 | 2 | } | 74 | 0 | return false; | 75 | 2 | } |
_ZN5doris23FunctionUnaryArithmeticINS_7AbsImplINS_7DecimalIN4wide7integerILm256EiEEEEEENS_7NameAbsELNS_13PrimitiveTypeE35EE9cast_typeIZNKSA_12execute_implEPNS_15FunctionContextERNS_5BlockERKSt6vectorIjSaIjEEjmEUlRKT_E_EEbPKNS_9IDataTypeEOSL_ Line | Count | Source | 70 | 6 | static bool cast_type(const IDataType* type, F&& f) { | 71 | 6 | if (const auto* data_type = typeid_cast<const ResultDataType*>(type)) { | 72 | 6 | return f(*data_type); | 73 | 6 | } | 74 | 0 | return false; | 75 | 6 | } |
_ZN5doris23FunctionUnaryArithmeticINS_7AbsImplIfEENS_7NameAbsELNS_13PrimitiveTypeE8EE9cast_typeIZNKS5_20get_return_type_implERKSt6vectorISt10shared_ptrIKNS_9IDataTypeEESaISB_EEEUlRKT_E_EEbPSA_OSG_ Line | Count | Source | 70 | 14 | static bool cast_type(const IDataType* type, F&& f) { | 71 | 14 | if (const auto* data_type = typeid_cast<const ResultDataType*>(type)) { | 72 | 14 | return f(*data_type); | 73 | 14 | } | 74 | 0 | return false; | 75 | 14 | } |
_ZN5doris23FunctionUnaryArithmeticINS_7AbsImplIfEENS_7NameAbsELNS_13PrimitiveTypeE8EE9cast_typeIZNKS5_12execute_implEPNS_15FunctionContextERNS_5BlockERKSt6vectorIjSaIjEEjmEUlRKT_E_EEbPKNS_9IDataTypeEOSG_ Line | Count | Source | 70 | 32 | static bool cast_type(const IDataType* type, F&& f) { | 71 | 32 | if (const auto* data_type = typeid_cast<const ResultDataType*>(type)) { | 72 | 32 | return f(*data_type); | 73 | 32 | } | 74 | 0 | return false; | 75 | 32 | } |
_ZN5doris23FunctionUnaryArithmeticINS_7AbsImplIdEENS_7NameAbsELNS_13PrimitiveTypeE9EE9cast_typeIZNKS5_20get_return_type_implERKSt6vectorISt10shared_ptrIKNS_9IDataTypeEESaISB_EEEUlRKT_E_EEbPSA_OSG_ Line | Count | Source | 70 | 49 | static bool cast_type(const IDataType* type, F&& f) { | 71 | 49 | if (const auto* data_type = typeid_cast<const ResultDataType*>(type)) { | 72 | 49 | return f(*data_type); | 73 | 49 | } | 74 | 0 | return false; | 75 | 49 | } |
_ZN5doris23FunctionUnaryArithmeticINS_7AbsImplIdEENS_7NameAbsELNS_13PrimitiveTypeE9EE9cast_typeIZNKS5_12execute_implEPNS_15FunctionContextERNS_5BlockERKSt6vectorIjSaIjEEjmEUlRKT_E_EEbPKNS_9IDataTypeEOSG_ Line | Count | Source | 70 | 91 | static bool cast_type(const IDataType* type, F&& f) { | 71 | 91 | if (const auto* data_type = typeid_cast<const ResultDataType*>(type)) { | 72 | 91 | return f(*data_type); | 73 | 91 | } | 74 | 0 | return false; | 75 | 91 | } |
_ZN5doris23FunctionUnaryArithmeticINS_12NegativeImplIdEENS_12NameNegativeELNS_13PrimitiveTypeE9EE9cast_typeIZNKS5_20get_return_type_implERKSt6vectorISt10shared_ptrIKNS_9IDataTypeEESaISB_EEEUlRKT_E_EEbPSA_OSG_ Line | Count | Source | 70 | 11 | static bool cast_type(const IDataType* type, F&& f) { | 71 | 11 | if (const auto* data_type = typeid_cast<const ResultDataType*>(type)) { | 72 | 11 | return f(*data_type); | 73 | 11 | } | 74 | 0 | return false; | 75 | 11 | } |
_ZN5doris23FunctionUnaryArithmeticINS_12NegativeImplIdEENS_12NameNegativeELNS_13PrimitiveTypeE9EE9cast_typeIZNKS5_12execute_implEPNS_15FunctionContextERNS_5BlockERKSt6vectorIjSaIjEEjmEUlRKT_E_EEbPKNS_9IDataTypeEOSG_ Line | Count | Source | 70 | 17 | static bool cast_type(const IDataType* type, F&& f) { | 71 | 17 | if (const auto* data_type = typeid_cast<const ResultDataType*>(type)) { | 72 | 17 | return f(*data_type); | 73 | 17 | } | 74 | 0 | return false; | 75 | 17 | } |
_ZN5doris23FunctionUnaryArithmeticINS_12NegativeImplIlEENS_12NameNegativeELNS_13PrimitiveTypeE6EE9cast_typeIZNKS5_20get_return_type_implERKSt6vectorISt10shared_ptrIKNS_9IDataTypeEESaISB_EEEUlRKT_E_EEbPSA_OSG_ Line | Count | Source | 70 | 18 | static bool cast_type(const IDataType* type, F&& f) { | 71 | 18 | if (const auto* data_type = typeid_cast<const ResultDataType*>(type)) { | 72 | 18 | return f(*data_type); | 73 | 18 | } | 74 | 0 | return false; | 75 | 18 | } |
_ZN5doris23FunctionUnaryArithmeticINS_12NegativeImplIlEENS_12NameNegativeELNS_13PrimitiveTypeE6EE9cast_typeIZNKS5_12execute_implEPNS_15FunctionContextERNS_5BlockERKSt6vectorIjSaIjEEjmEUlRKT_E_EEbPKNS_9IDataTypeEOSG_ Line | Count | Source | 70 | 22 | static bool cast_type(const IDataType* type, F&& f) { | 71 | 22 | if (const auto* data_type = typeid_cast<const ResultDataType*>(type)) { | 72 | 22 | return f(*data_type); | 73 | 22 | } | 74 | 0 | return false; | 75 | 22 | } |
Unexecuted instantiation: _ZN5doris23FunctionUnaryArithmeticINS_12NegativeImplINS_14DecimalV2ValueEEENS_12NameNegativeELNS_13PrimitiveTypeE20EE9cast_typeIZNKS6_20get_return_type_implERKSt6vectorISt10shared_ptrIKNS_9IDataTypeEESaISC_EEEUlRKT_E_EEbPSB_OSH_ Unexecuted instantiation: _ZN5doris23FunctionUnaryArithmeticINS_12NegativeImplINS_14DecimalV2ValueEEENS_12NameNegativeELNS_13PrimitiveTypeE20EE9cast_typeIZNKS6_12execute_implEPNS_15FunctionContextERNS_5BlockERKSt6vectorIjSaIjEEjmEUlRKT_E_EEbPKNS_9IDataTypeEOSH_ Unexecuted instantiation: _ZN5doris23FunctionUnaryArithmeticINS_12NegativeImplINS_7DecimalIN4wide7integerILm256EiEEEEEENS_12NameNegativeELNS_13PrimitiveTypeE35EE9cast_typeIZNKSA_20get_return_type_implERKSt6vectorISt10shared_ptrIKNS_9IDataTypeEESaISG_EEEUlRKT_E_EEbPSF_OSL_ Unexecuted instantiation: _ZN5doris23FunctionUnaryArithmeticINS_12NegativeImplINS_7DecimalIN4wide7integerILm256EiEEEEEENS_12NameNegativeELNS_13PrimitiveTypeE35EE9cast_typeIZNKSA_12execute_implEPNS_15FunctionContextERNS_5BlockERKSt6vectorIjSaIjEEjmEUlRKT_E_EEbPKNS_9IDataTypeEOSL_ Unexecuted instantiation: _ZN5doris23FunctionUnaryArithmeticINS_12NegativeImplINS_12Decimal128V3EEENS_12NameNegativeELNS_13PrimitiveTypeE30EE9cast_typeIZNKS6_20get_return_type_implERKSt6vectorISt10shared_ptrIKNS_9IDataTypeEESaISC_EEEUlRKT_E_EEbPSB_OSH_ Unexecuted instantiation: _ZN5doris23FunctionUnaryArithmeticINS_12NegativeImplINS_12Decimal128V3EEENS_12NameNegativeELNS_13PrimitiveTypeE30EE9cast_typeIZNKS6_12execute_implEPNS_15FunctionContextERNS_5BlockERKSt6vectorIjSaIjEEjmEUlRKT_E_EEbPKNS_9IDataTypeEOSH_ _ZN5doris23FunctionUnaryArithmeticINS_12NegativeImplINS_7DecimalIiEEEENS_12NameNegativeELNS_13PrimitiveTypeE28EE9cast_typeIZNKS7_20get_return_type_implERKSt6vectorISt10shared_ptrIKNS_9IDataTypeEESaISD_EEEUlRKT_E_EEbPSC_OSI_ Line | Count | Source | 70 | 6 | static bool cast_type(const IDataType* type, F&& f) { | 71 | 6 | if (const auto* data_type = typeid_cast<const ResultDataType*>(type)) { | 72 | 6 | return f(*data_type); | 73 | 6 | } | 74 | 0 | return false; | 75 | 6 | } |
_ZN5doris23FunctionUnaryArithmeticINS_12NegativeImplINS_7DecimalIiEEEENS_12NameNegativeELNS_13PrimitiveTypeE28EE9cast_typeIZNKS7_12execute_implEPNS_15FunctionContextERNS_5BlockERKSt6vectorIjSaIjEEjmEUlRKT_E_EEbPKNS_9IDataTypeEOSI_ Line | Count | Source | 70 | 12 | static bool cast_type(const IDataType* type, F&& f) { | 71 | 12 | if (const auto* data_type = typeid_cast<const ResultDataType*>(type)) { | 72 | 12 | return f(*data_type); | 73 | 12 | } | 74 | 0 | return false; | 75 | 12 | } |
Unexecuted instantiation: _ZN5doris23FunctionUnaryArithmeticINS_12NegativeImplINS_7DecimalIlEEEENS_12NameNegativeELNS_13PrimitiveTypeE29EE9cast_typeIZNKS7_20get_return_type_implERKSt6vectorISt10shared_ptrIKNS_9IDataTypeEESaISD_EEEUlRKT_E_EEbPSC_OSI_ Unexecuted instantiation: _ZN5doris23FunctionUnaryArithmeticINS_12NegativeImplINS_7DecimalIlEEEENS_12NameNegativeELNS_13PrimitiveTypeE29EE9cast_typeIZNKS7_12execute_implEPNS_15FunctionContextERNS_5BlockERKSt6vectorIjSaIjEEjmEUlRKT_E_EEbPKNS_9IDataTypeEOSI_ _ZN5doris23FunctionUnaryArithmeticINS_12PositiveImplINS_7DecimalIiEEEENS_12NamePositiveELNS_13PrimitiveTypeE28EE9cast_typeIZNKS7_20get_return_type_implERKSt6vectorISt10shared_ptrIKNS_9IDataTypeEESaISD_EEEUlRKT_E_EEbPSC_OSI_ Line | Count | Source | 70 | 4 | static bool cast_type(const IDataType* type, F&& f) { | 71 | 4 | if (const auto* data_type = typeid_cast<const ResultDataType*>(type)) { | 72 | 4 | return f(*data_type); | 73 | 4 | } | 74 | 0 | return false; | 75 | 4 | } |
_ZN5doris23FunctionUnaryArithmeticINS_12PositiveImplINS_7DecimalIiEEEENS_12NamePositiveELNS_13PrimitiveTypeE28EE9cast_typeIZNKS7_12execute_implEPNS_15FunctionContextERNS_5BlockERKSt6vectorIjSaIjEEjmEUlRKT_E_EEbPKNS_9IDataTypeEOSI_ Line | Count | Source | 70 | 10 | static bool cast_type(const IDataType* type, F&& f) { | 71 | 10 | if (const auto* data_type = typeid_cast<const ResultDataType*>(type)) { | 72 | 10 | return f(*data_type); | 73 | 10 | } | 74 | 0 | return false; | 75 | 10 | } |
_ZN5doris23FunctionUnaryArithmeticINS_12PositiveImplINS_7DecimalIlEEEENS_12NamePositiveELNS_13PrimitiveTypeE29EE9cast_typeIZNKS7_20get_return_type_implERKSt6vectorISt10shared_ptrIKNS_9IDataTypeEESaISD_EEEUlRKT_E_EEbPSC_OSI_ Line | Count | Source | 70 | 3 | static bool cast_type(const IDataType* type, F&& f) { | 71 | 3 | if (const auto* data_type = typeid_cast<const ResultDataType*>(type)) { | 72 | 3 | return f(*data_type); | 73 | 3 | } | 74 | 0 | return false; | 75 | 3 | } |
_ZN5doris23FunctionUnaryArithmeticINS_12PositiveImplINS_7DecimalIlEEEENS_12NamePositiveELNS_13PrimitiveTypeE29EE9cast_typeIZNKS7_12execute_implEPNS_15FunctionContextERNS_5BlockERKSt6vectorIjSaIjEEjmEUlRKT_E_EEbPKNS_9IDataTypeEOSI_ Line | Count | Source | 70 | 3 | static bool cast_type(const IDataType* type, F&& f) { | 71 | 3 | if (const auto* data_type = typeid_cast<const ResultDataType*>(type)) { | 72 | 3 | return f(*data_type); | 73 | 3 | } | 74 | 0 | return false; | 75 | 3 | } |
_ZN5doris23FunctionUnaryArithmeticINS_12PositiveImplINS_12Decimal128V3EEENS_12NamePositiveELNS_13PrimitiveTypeE30EE9cast_typeIZNKS6_20get_return_type_implERKSt6vectorISt10shared_ptrIKNS_9IDataTypeEESaISC_EEEUlRKT_E_EEbPSB_OSH_ Line | Count | Source | 70 | 2 | static bool cast_type(const IDataType* type, F&& f) { | 71 | 2 | if (const auto* data_type = typeid_cast<const ResultDataType*>(type)) { | 72 | 2 | return f(*data_type); | 73 | 2 | } | 74 | 0 | return false; | 75 | 2 | } |
_ZN5doris23FunctionUnaryArithmeticINS_12PositiveImplINS_12Decimal128V3EEENS_12NamePositiveELNS_13PrimitiveTypeE30EE9cast_typeIZNKS6_12execute_implEPNS_15FunctionContextERNS_5BlockERKSt6vectorIjSaIjEEjmEUlRKT_E_EEbPKNS_9IDataTypeEOSH_ Line | Count | Source | 70 | 16 | static bool cast_type(const IDataType* type, F&& f) { | 71 | 16 | if (const auto* data_type = typeid_cast<const ResultDataType*>(type)) { | 72 | 16 | return f(*data_type); | 73 | 16 | } | 74 | 0 | return false; | 75 | 16 | } |
Unexecuted instantiation: _ZN5doris23FunctionUnaryArithmeticINS_12PositiveImplINS_14DecimalV2ValueEEENS_12NamePositiveELNS_13PrimitiveTypeE20EE9cast_typeIZNKS6_20get_return_type_implERKSt6vectorISt10shared_ptrIKNS_9IDataTypeEESaISC_EEEUlRKT_E_EEbPSB_OSH_ Unexecuted instantiation: _ZN5doris23FunctionUnaryArithmeticINS_12PositiveImplINS_14DecimalV2ValueEEENS_12NamePositiveELNS_13PrimitiveTypeE20EE9cast_typeIZNKS6_12execute_implEPNS_15FunctionContextERNS_5BlockERKSt6vectorIjSaIjEEjmEUlRKT_E_EEbPKNS_9IDataTypeEOSH_ Unexecuted instantiation: _ZN5doris23FunctionUnaryArithmeticINS_12PositiveImplINS_7DecimalIN4wide7integerILm256EiEEEEEENS_12NamePositiveELNS_13PrimitiveTypeE35EE9cast_typeIZNKSA_20get_return_type_implERKSt6vectorISt10shared_ptrIKNS_9IDataTypeEESaISG_EEEUlRKT_E_EEbPSF_OSL_ Unexecuted instantiation: _ZN5doris23FunctionUnaryArithmeticINS_12PositiveImplINS_7DecimalIN4wide7integerILm256EiEEEEEENS_12NamePositiveELNS_13PrimitiveTypeE35EE9cast_typeIZNKSA_12execute_implEPNS_15FunctionContextERNS_5BlockERKSt6vectorIjSaIjEEjmEUlRKT_E_EEbPKNS_9IDataTypeEOSL_ _ZN5doris23FunctionUnaryArithmeticINS_12PositiveImplIdEENS_12NamePositiveELNS_13PrimitiveTypeE9EE9cast_typeIZNKS5_20get_return_type_implERKSt6vectorISt10shared_ptrIKNS_9IDataTypeEESaISB_EEEUlRKT_E_EEbPSA_OSG_ Line | Count | Source | 70 | 3 | static bool cast_type(const IDataType* type, F&& f) { | 71 | 3 | if (const auto* data_type = typeid_cast<const ResultDataType*>(type)) { | 72 | 3 | return f(*data_type); | 73 | 3 | } | 74 | 0 | return false; | 75 | 3 | } |
_ZN5doris23FunctionUnaryArithmeticINS_12PositiveImplIdEENS_12NamePositiveELNS_13PrimitiveTypeE9EE9cast_typeIZNKS5_12execute_implEPNS_15FunctionContextERNS_5BlockERKSt6vectorIjSaIjEEjmEUlRKT_E_EEbPKNS_9IDataTypeEOSG_ Line | Count | Source | 70 | 9 | static bool cast_type(const IDataType* type, F&& f) { | 71 | 9 | if (const auto* data_type = typeid_cast<const ResultDataType*>(type)) { | 72 | 8 | return f(*data_type); | 73 | 8 | } | 74 | 1 | return false; | 75 | 9 | } |
_ZN5doris23FunctionUnaryArithmeticINS_12PositiveImplIlEENS_12NamePositiveELNS_13PrimitiveTypeE6EE9cast_typeIZNKS5_20get_return_type_implERKSt6vectorISt10shared_ptrIKNS_9IDataTypeEESaISB_EEEUlRKT_E_EEbPSA_OSG_ Line | Count | Source | 70 | 8 | static bool cast_type(const IDataType* type, F&& f) { | 71 | 8 | if (const auto* data_type = typeid_cast<const ResultDataType*>(type)) { | 72 | 8 | return f(*data_type); | 73 | 8 | } | 74 | 0 | return false; | 75 | 8 | } |
_ZN5doris23FunctionUnaryArithmeticINS_12PositiveImplIlEENS_12NamePositiveELNS_13PrimitiveTypeE6EE9cast_typeIZNKS5_12execute_implEPNS_15FunctionContextERNS_5BlockERKSt6vectorIjSaIjEEjmEUlRKT_E_EEbPKNS_9IDataTypeEOSG_ Line | Count | Source | 70 | 14 | static bool cast_type(const IDataType* type, F&& f) { | 71 | 14 | if (const auto* data_type = typeid_cast<const ResultDataType*>(type)) { | 72 | 14 | return f(*data_type); | 73 | 14 | } | 74 | 0 | return false; | 75 | 14 | } |
_ZN5doris23FunctionUnaryArithmeticINS_11RadiansImplIdEENS_11NameRadiansELNS_13PrimitiveTypeE9EE9cast_typeIZNKS5_20get_return_type_implERKSt6vectorISt10shared_ptrIKNS_9IDataTypeEESaISB_EEEUlRKT_E_EEbPSA_OSG_ Line | Count | Source | 70 | 12 | static bool cast_type(const IDataType* type, F&& f) { | 71 | 12 | if (const auto* data_type = typeid_cast<const ResultDataType*>(type)) { | 72 | 12 | return f(*data_type); | 73 | 12 | } | 74 | 0 | return false; | 75 | 12 | } |
_ZN5doris23FunctionUnaryArithmeticINS_11RadiansImplIdEENS_11NameRadiansELNS_13PrimitiveTypeE9EE9cast_typeIZNKS5_12execute_implEPNS_15FunctionContextERNS_5BlockERKSt6vectorIjSaIjEEjmEUlRKT_E_EEbPKNS_9IDataTypeEOSG_ Line | Count | Source | 70 | 17 | static bool cast_type(const IDataType* type, F&& f) { | 71 | 17 | if (const auto* data_type = typeid_cast<const ResultDataType*>(type)) { | 72 | 17 | return f(*data_type); | 73 | 17 | } | 74 | 0 | return false; | 75 | 17 | } |
_ZN5doris23FunctionUnaryArithmeticINS_11DegreesImplIdEENS_11NameDegreesELNS_13PrimitiveTypeE9EE9cast_typeIZNKS5_20get_return_type_implERKSt6vectorISt10shared_ptrIKNS_9IDataTypeEESaISB_EEEUlRKT_E_EEbPSA_OSG_ Line | Count | Source | 70 | 16 | static bool cast_type(const IDataType* type, F&& f) { | 71 | 16 | if (const auto* data_type = typeid_cast<const ResultDataType*>(type)) { | 72 | 16 | return f(*data_type); | 73 | 16 | } | 74 | 0 | return false; | 75 | 16 | } |
_ZN5doris23FunctionUnaryArithmeticINS_11DegreesImplIdEENS_11NameDegreesELNS_13PrimitiveTypeE9EE9cast_typeIZNKS5_12execute_implEPNS_15FunctionContextERNS_5BlockERKSt6vectorIjSaIjEEjmEUlRKT_E_EEbPKNS_9IDataTypeEOSG_ Line | Count | Source | 70 | 21 | static bool cast_type(const IDataType* type, F&& f) { | 71 | 21 | if (const auto* data_type = typeid_cast<const ResultDataType*>(type)) { | 72 | 21 | return f(*data_type); | 73 | 21 | } | 74 | 0 | return false; | 75 | 21 | } |
_ZN5doris23FunctionUnaryArithmeticINS_11SignBitImplIdEENS_11NameSignBitELNS_13PrimitiveTypeE9EE9cast_typeIZNKS5_20get_return_type_implERKSt6vectorISt10shared_ptrIKNS_9IDataTypeEESaISB_EEEUlRKT_E_EEbPSA_OSG_ Line | Count | Source | 70 | 12 | static bool cast_type(const IDataType* type, F&& f) { | 71 | 12 | if (const auto* data_type = typeid_cast<const ResultDataType*>(type)) { | 72 | 12 | return f(*data_type); | 73 | 12 | } | 74 | 0 | return false; | 75 | 12 | } |
_ZN5doris23FunctionUnaryArithmeticINS_11SignBitImplIdEENS_11NameSignBitELNS_13PrimitiveTypeE9EE9cast_typeIZNKS5_12execute_implEPNS_15FunctionContextERNS_5BlockERKSt6vectorIjSaIjEEjmEUlRKT_E_EEbPKNS_9IDataTypeEOSG_ Line | Count | Source | 70 | 17 | static bool cast_type(const IDataType* type, F&& f) { | 71 | 17 | if (const auto* data_type = typeid_cast<const ResultDataType*>(type)) { | 72 | 17 | return f(*data_type); | 73 | 17 | } | 74 | 0 | return false; | 75 | 17 | } |
_ZN5doris23FunctionUnaryArithmeticINS_10BitNotImplIaEENS_10NameBitNotELNS_13PrimitiveTypeE3EE9cast_typeIZNKS5_20get_return_type_implERKSt6vectorISt10shared_ptrIKNS_9IDataTypeEESaISB_EEEUlRKT_E_EEbPSA_OSG_ Line | Count | Source | 70 | 2 | static bool cast_type(const IDataType* type, F&& f) { | 71 | 2 | if (const auto* data_type = typeid_cast<const ResultDataType*>(type)) { | 72 | 2 | return f(*data_type); | 73 | 2 | } | 74 | 0 | return false; | 75 | 2 | } |
_ZN5doris23FunctionUnaryArithmeticINS_10BitNotImplIaEENS_10NameBitNotELNS_13PrimitiveTypeE3EE9cast_typeIZNKS5_12execute_implEPNS_15FunctionContextERNS_5BlockERKSt6vectorIjSaIjEEjmEUlRKT_E_EEbPKNS_9IDataTypeEOSG_ Line | Count | Source | 70 | 2 | static bool cast_type(const IDataType* type, F&& f) { | 71 | 2 | if (const auto* data_type = typeid_cast<const ResultDataType*>(type)) { | 72 | 2 | return f(*data_type); | 73 | 2 | } | 74 | 0 | return false; | 75 | 2 | } |
Unexecuted instantiation: _ZN5doris23FunctionUnaryArithmeticINS_10BitNotImplIsEENS_10NameBitNotELNS_13PrimitiveTypeE4EE9cast_typeIZNKS5_20get_return_type_implERKSt6vectorISt10shared_ptrIKNS_9IDataTypeEESaISB_EEEUlRKT_E_EEbPSA_OSG_ Unexecuted instantiation: _ZN5doris23FunctionUnaryArithmeticINS_10BitNotImplIsEENS_10NameBitNotELNS_13PrimitiveTypeE4EE9cast_typeIZNKS5_12execute_implEPNS_15FunctionContextERNS_5BlockERKSt6vectorIjSaIjEEjmEUlRKT_E_EEbPKNS_9IDataTypeEOSG_ _ZN5doris23FunctionUnaryArithmeticINS_10BitNotImplIiEENS_10NameBitNotELNS_13PrimitiveTypeE5EE9cast_typeIZNKS5_20get_return_type_implERKSt6vectorISt10shared_ptrIKNS_9IDataTypeEESaISB_EEEUlRKT_E_EEbPSA_OSG_ Line | Count | Source | 70 | 1 | static bool cast_type(const IDataType* type, F&& f) { | 71 | 1 | if (const auto* data_type = typeid_cast<const ResultDataType*>(type)) { | 72 | 1 | return f(*data_type); | 73 | 1 | } | 74 | 0 | return false; | 75 | 1 | } |
_ZN5doris23FunctionUnaryArithmeticINS_10BitNotImplIiEENS_10NameBitNotELNS_13PrimitiveTypeE5EE9cast_typeIZNKS5_12execute_implEPNS_15FunctionContextERNS_5BlockERKSt6vectorIjSaIjEEjmEUlRKT_E_EEbPKNS_9IDataTypeEOSG_ Line | Count | Source | 70 | 1 | static bool cast_type(const IDataType* type, F&& f) { | 71 | 1 | if (const auto* data_type = typeid_cast<const ResultDataType*>(type)) { | 72 | 1 | return f(*data_type); | 73 | 1 | } | 74 | 0 | return false; | 75 | 1 | } |
_ZN5doris23FunctionUnaryArithmeticINS_10BitNotImplIlEENS_10NameBitNotELNS_13PrimitiveTypeE6EE9cast_typeIZNKS5_20get_return_type_implERKSt6vectorISt10shared_ptrIKNS_9IDataTypeEESaISB_EEEUlRKT_E_EEbPSA_OSG_ Line | Count | Source | 70 | 4 | static bool cast_type(const IDataType* type, F&& f) { | 71 | 4 | if (const auto* data_type = typeid_cast<const ResultDataType*>(type)) { | 72 | 4 | return f(*data_type); | 73 | 4 | } | 74 | 0 | return false; | 75 | 4 | } |
_ZN5doris23FunctionUnaryArithmeticINS_10BitNotImplIlEENS_10NameBitNotELNS_13PrimitiveTypeE6EE9cast_typeIZNKS5_12execute_implEPNS_15FunctionContextERNS_5BlockERKSt6vectorIjSaIjEEjmEUlRKT_E_EEbPKNS_9IDataTypeEOSG_ Line | Count | Source | 70 | 3 | static bool cast_type(const IDataType* type, F&& f) { | 71 | 3 | if (const auto* data_type = typeid_cast<const ResultDataType*>(type)) { | 72 | 3 | return f(*data_type); | 73 | 3 | } | 74 | 0 | return false; | 75 | 3 | } |
Unexecuted instantiation: _ZN5doris23FunctionUnaryArithmeticINS_10BitNotImplInEENS_10NameBitNotELNS_13PrimitiveTypeE7EE9cast_typeIZNKS5_20get_return_type_implERKSt6vectorISt10shared_ptrIKNS_9IDataTypeEESaISB_EEEUlRKT_E_EEbPSA_OSG_ Unexecuted instantiation: _ZN5doris23FunctionUnaryArithmeticINS_10BitNotImplInEENS_10NameBitNotELNS_13PrimitiveTypeE7EE9cast_typeIZNKS5_12execute_implEPNS_15FunctionContextERNS_5BlockERKSt6vectorIjSaIjEEjmEUlRKT_E_EEbPKNS_9IDataTypeEOSG_ _ZN5doris23FunctionUnaryArithmeticINS_12BitCountImplIaEENS_12NameBitCountELNS_13PrimitiveTypeE3EE9cast_typeIZNKS5_20get_return_type_implERKSt6vectorISt10shared_ptrIKNS_9IDataTypeEESaISB_EEEUlRKT_E_EEbPSA_OSG_ Line | Count | Source | 70 | 7 | static bool cast_type(const IDataType* type, F&& f) { | 71 | 7 | if (const auto* data_type = typeid_cast<const ResultDataType*>(type)) { | 72 | 7 | return f(*data_type); | 73 | 7 | } | 74 | 0 | return false; | 75 | 7 | } |
_ZN5doris23FunctionUnaryArithmeticINS_12BitCountImplIaEENS_12NameBitCountELNS_13PrimitiveTypeE3EE9cast_typeIZNKS5_12execute_implEPNS_15FunctionContextERNS_5BlockERKSt6vectorIjSaIjEEjmEUlRKT_E_EEbPKNS_9IDataTypeEOSG_ Line | Count | Source | 70 | 4 | static bool cast_type(const IDataType* type, F&& f) { | 71 | 4 | if (const auto* data_type = typeid_cast<const ResultDataType*>(type)) { | 72 | 4 | return f(*data_type); | 73 | 4 | } | 74 | 0 | return false; | 75 | 4 | } |
_ZN5doris23FunctionUnaryArithmeticINS_12BitCountImplIsEENS_12NameBitCountELNS_13PrimitiveTypeE4EE9cast_typeIZNKS5_20get_return_type_implERKSt6vectorISt10shared_ptrIKNS_9IDataTypeEESaISB_EEEUlRKT_E_EEbPSA_OSG_ Line | Count | Source | 70 | 1 | static bool cast_type(const IDataType* type, F&& f) { | 71 | 1 | if (const auto* data_type = typeid_cast<const ResultDataType*>(type)) { | 72 | 1 | return f(*data_type); | 73 | 1 | } | 74 | 0 | return false; | 75 | 1 | } |
_ZN5doris23FunctionUnaryArithmeticINS_12BitCountImplIsEENS_12NameBitCountELNS_13PrimitiveTypeE4EE9cast_typeIZNKS5_12execute_implEPNS_15FunctionContextERNS_5BlockERKSt6vectorIjSaIjEEjmEUlRKT_E_EEbPKNS_9IDataTypeEOSG_ Line | Count | Source | 70 | 1 | static bool cast_type(const IDataType* type, F&& f) { | 71 | 1 | if (const auto* data_type = typeid_cast<const ResultDataType*>(type)) { | 72 | 1 | return f(*data_type); | 73 | 1 | } | 74 | 0 | return false; | 75 | 1 | } |
_ZN5doris23FunctionUnaryArithmeticINS_12BitCountImplIiEENS_12NameBitCountELNS_13PrimitiveTypeE5EE9cast_typeIZNKS5_20get_return_type_implERKSt6vectorISt10shared_ptrIKNS_9IDataTypeEESaISB_EEEUlRKT_E_EEbPSA_OSG_ Line | Count | Source | 70 | 2 | static bool cast_type(const IDataType* type, F&& f) { | 71 | 2 | if (const auto* data_type = typeid_cast<const ResultDataType*>(type)) { | 72 | 2 | return f(*data_type); | 73 | 2 | } | 74 | 0 | return false; | 75 | 2 | } |
_ZN5doris23FunctionUnaryArithmeticINS_12BitCountImplIiEENS_12NameBitCountELNS_13PrimitiveTypeE5EE9cast_typeIZNKS5_12execute_implEPNS_15FunctionContextERNS_5BlockERKSt6vectorIjSaIjEEjmEUlRKT_E_EEbPKNS_9IDataTypeEOSG_ Line | Count | Source | 70 | 2 | static bool cast_type(const IDataType* type, F&& f) { | 71 | 2 | if (const auto* data_type = typeid_cast<const ResultDataType*>(type)) { | 72 | 2 | return f(*data_type); | 73 | 2 | } | 74 | 0 | return false; | 75 | 2 | } |
_ZN5doris23FunctionUnaryArithmeticINS_12BitCountImplIlEENS_12NameBitCountELNS_13PrimitiveTypeE6EE9cast_typeIZNKS5_20get_return_type_implERKSt6vectorISt10shared_ptrIKNS_9IDataTypeEESaISB_EEEUlRKT_E_EEbPSA_OSG_ Line | Count | Source | 70 | 8 | static bool cast_type(const IDataType* type, F&& f) { | 71 | 8 | if (const auto* data_type = typeid_cast<const ResultDataType*>(type)) { | 72 | 8 | return f(*data_type); | 73 | 8 | } | 74 | 0 | return false; | 75 | 8 | } |
_ZN5doris23FunctionUnaryArithmeticINS_12BitCountImplIlEENS_12NameBitCountELNS_13PrimitiveTypeE6EE9cast_typeIZNKS5_12execute_implEPNS_15FunctionContextERNS_5BlockERKSt6vectorIjSaIjEEjmEUlRKT_E_EEbPKNS_9IDataTypeEOSG_ Line | Count | Source | 70 | 8 | static bool cast_type(const IDataType* type, F&& f) { | 71 | 8 | if (const auto* data_type = typeid_cast<const ResultDataType*>(type)) { | 72 | 8 | return f(*data_type); | 73 | 8 | } | 74 | 0 | return false; | 75 | 8 | } |
Unexecuted instantiation: _ZN5doris23FunctionUnaryArithmeticINS_12BitCountImplInEENS_12NameBitCountELNS_13PrimitiveTypeE7EE9cast_typeIZNKS5_20get_return_type_implERKSt6vectorISt10shared_ptrIKNS_9IDataTypeEESaISB_EEEUlRKT_E_EEbPSA_OSG_ Unexecuted instantiation: _ZN5doris23FunctionUnaryArithmeticINS_12BitCountImplInEENS_12NameBitCountELNS_13PrimitiveTypeE7EE9cast_typeIZNKS5_12execute_implEPNS_15FunctionContextERNS_5BlockERKSt6vectorIjSaIjEEjmEUlRKT_E_EEbPKNS_9IDataTypeEOSG_ |
76 | | |
77 | | public: |
78 | | static constexpr auto name = Name::name; |
79 | 1.07k | static FunctionPtr create() { return std::make_shared<FunctionUnaryArithmetic>(); }_ZN5doris23FunctionUnaryArithmeticINS_8SignImplIdEENS_8NameSignELNS_13PrimitiveTypeE9EE6createEv Line | Count | Source | 79 | 23 | static FunctionPtr create() { return std::make_shared<FunctionUnaryArithmetic>(); } |
_ZN5doris23FunctionUnaryArithmeticINS_7AbsImplIaEENS_7NameAbsELNS_13PrimitiveTypeE3EE6createEv Line | Count | Source | 79 | 50 | static FunctionPtr create() { return std::make_shared<FunctionUnaryArithmetic>(); } |
_ZN5doris23FunctionUnaryArithmeticINS_7AbsImplIsEENS_7NameAbsELNS_13PrimitiveTypeE4EE6createEv Line | Count | Source | 79 | 37 | static FunctionPtr create() { return std::make_shared<FunctionUnaryArithmetic>(); } |
_ZN5doris23FunctionUnaryArithmeticINS_7AbsImplIiEENS_7NameAbsELNS_13PrimitiveTypeE5EE6createEv Line | Count | Source | 79 | 237 | static FunctionPtr create() { return std::make_shared<FunctionUnaryArithmetic>(); } |
_ZN5doris23FunctionUnaryArithmeticINS_7AbsImplIlEENS_7NameAbsELNS_13PrimitiveTypeE6EE6createEv Line | Count | Source | 79 | 161 | static FunctionPtr create() { return std::make_shared<FunctionUnaryArithmetic>(); } |
_ZN5doris23FunctionUnaryArithmeticINS_7AbsImplInEENS_7NameAbsELNS_13PrimitiveTypeE7EE6createEv Line | Count | Source | 79 | 13 | static FunctionPtr create() { return std::make_shared<FunctionUnaryArithmetic>(); } |
_ZN5doris23FunctionUnaryArithmeticINS_7AbsImplIhEENS_7NameAbsELNS_13PrimitiveTypeE2EE6createEv Line | Count | Source | 79 | 9 | static FunctionPtr create() { return std::make_shared<FunctionUnaryArithmetic>(); } |
_ZN5doris23FunctionUnaryArithmeticINS_7AbsImplINS_7DecimalIiEEEENS_7NameAbsELNS_13PrimitiveTypeE28EE6createEv Line | Count | Source | 79 | 27 | static FunctionPtr create() { return std::make_shared<FunctionUnaryArithmetic>(); } |
_ZN5doris23FunctionUnaryArithmeticINS_7AbsImplINS_7DecimalIlEEEENS_7NameAbsELNS_13PrimitiveTypeE29EE6createEv Line | Count | Source | 79 | 44 | static FunctionPtr create() { return std::make_shared<FunctionUnaryArithmetic>(); } |
_ZN5doris23FunctionUnaryArithmeticINS_7AbsImplINS_12Decimal128V3EEENS_7NameAbsELNS_13PrimitiveTypeE30EE6createEv Line | Count | Source | 79 | 12 | static FunctionPtr create() { return std::make_shared<FunctionUnaryArithmetic>(); } |
_ZN5doris23FunctionUnaryArithmeticINS_7AbsImplINS_14DecimalV2ValueEEENS_7NameAbsELNS_13PrimitiveTypeE20EE6createEv Line | Count | Source | 79 | 10 | static FunctionPtr create() { return std::make_shared<FunctionUnaryArithmetic>(); } |
_ZN5doris23FunctionUnaryArithmeticINS_7AbsImplINS_7DecimalIN4wide7integerILm256EiEEEEEENS_7NameAbsELNS_13PrimitiveTypeE35EE6createEv Line | Count | Source | 79 | 11 | static FunctionPtr create() { return std::make_shared<FunctionUnaryArithmetic>(); } |
_ZN5doris23FunctionUnaryArithmeticINS_7AbsImplIfEENS_7NameAbsELNS_13PrimitiveTypeE8EE6createEv Line | Count | Source | 79 | 23 | static FunctionPtr create() { return std::make_shared<FunctionUnaryArithmetic>(); } |
_ZN5doris23FunctionUnaryArithmeticINS_7AbsImplIdEENS_7NameAbsELNS_13PrimitiveTypeE9EE6createEv Line | Count | Source | 79 | 58 | static FunctionPtr create() { return std::make_shared<FunctionUnaryArithmetic>(); } |
_ZN5doris23FunctionUnaryArithmeticINS_12NegativeImplIdEENS_12NameNegativeELNS_13PrimitiveTypeE9EE6createEv Line | Count | Source | 79 | 20 | static FunctionPtr create() { return std::make_shared<FunctionUnaryArithmetic>(); } |
_ZN5doris23FunctionUnaryArithmeticINS_12NegativeImplIlEENS_12NameNegativeELNS_13PrimitiveTypeE6EE6createEv Line | Count | Source | 79 | 27 | static FunctionPtr create() { return std::make_shared<FunctionUnaryArithmetic>(); } |
_ZN5doris23FunctionUnaryArithmeticINS_12NegativeImplINS_14DecimalV2ValueEEENS_12NameNegativeELNS_13PrimitiveTypeE20EE6createEv Line | Count | Source | 79 | 9 | static FunctionPtr create() { return std::make_shared<FunctionUnaryArithmetic>(); } |
_ZN5doris23FunctionUnaryArithmeticINS_12NegativeImplINS_7DecimalIN4wide7integerILm256EiEEEEEENS_12NameNegativeELNS_13PrimitiveTypeE35EE6createEv Line | Count | Source | 79 | 9 | static FunctionPtr create() { return std::make_shared<FunctionUnaryArithmetic>(); } |
_ZN5doris23FunctionUnaryArithmeticINS_12NegativeImplINS_12Decimal128V3EEENS_12NameNegativeELNS_13PrimitiveTypeE30EE6createEv Line | Count | Source | 79 | 9 | static FunctionPtr create() { return std::make_shared<FunctionUnaryArithmetic>(); } |
_ZN5doris23FunctionUnaryArithmeticINS_12NegativeImplINS_7DecimalIiEEEENS_12NameNegativeELNS_13PrimitiveTypeE28EE6createEv Line | Count | Source | 79 | 15 | static FunctionPtr create() { return std::make_shared<FunctionUnaryArithmetic>(); } |
_ZN5doris23FunctionUnaryArithmeticINS_12NegativeImplINS_7DecimalIlEEEENS_12NameNegativeELNS_13PrimitiveTypeE29EE6createEv Line | Count | Source | 79 | 9 | static FunctionPtr create() { return std::make_shared<FunctionUnaryArithmetic>(); } |
_ZN5doris23FunctionUnaryArithmeticINS_12PositiveImplINS_7DecimalIiEEEENS_12NamePositiveELNS_13PrimitiveTypeE28EE6createEv Line | Count | Source | 79 | 13 | static FunctionPtr create() { return std::make_shared<FunctionUnaryArithmetic>(); } |
_ZN5doris23FunctionUnaryArithmeticINS_12PositiveImplINS_7DecimalIlEEEENS_12NamePositiveELNS_13PrimitiveTypeE29EE6createEv Line | Count | Source | 79 | 12 | static FunctionPtr create() { return std::make_shared<FunctionUnaryArithmetic>(); } |
_ZN5doris23FunctionUnaryArithmeticINS_12PositiveImplINS_12Decimal128V3EEENS_12NamePositiveELNS_13PrimitiveTypeE30EE6createEv Line | Count | Source | 79 | 11 | static FunctionPtr create() { return std::make_shared<FunctionUnaryArithmetic>(); } |
_ZN5doris23FunctionUnaryArithmeticINS_12PositiveImplINS_14DecimalV2ValueEEENS_12NamePositiveELNS_13PrimitiveTypeE20EE6createEv Line | Count | Source | 79 | 9 | static FunctionPtr create() { return std::make_shared<FunctionUnaryArithmetic>(); } |
_ZN5doris23FunctionUnaryArithmeticINS_12PositiveImplINS_7DecimalIN4wide7integerILm256EiEEEEEENS_12NamePositiveELNS_13PrimitiveTypeE35EE6createEv Line | Count | Source | 79 | 9 | static FunctionPtr create() { return std::make_shared<FunctionUnaryArithmetic>(); } |
_ZN5doris23FunctionUnaryArithmeticINS_12PositiveImplIdEENS_12NamePositiveELNS_13PrimitiveTypeE9EE6createEv Line | Count | Source | 79 | 12 | static FunctionPtr create() { return std::make_shared<FunctionUnaryArithmetic>(); } |
_ZN5doris23FunctionUnaryArithmeticINS_12PositiveImplIlEENS_12NamePositiveELNS_13PrimitiveTypeE6EE6createEv Line | Count | Source | 79 | 17 | static FunctionPtr create() { return std::make_shared<FunctionUnaryArithmetic>(); } |
_ZN5doris23FunctionUnaryArithmeticINS_11RadiansImplIdEENS_11NameRadiansELNS_13PrimitiveTypeE9EE6createEv Line | Count | Source | 79 | 21 | static FunctionPtr create() { return std::make_shared<FunctionUnaryArithmetic>(); } |
_ZN5doris23FunctionUnaryArithmeticINS_11DegreesImplIdEENS_11NameDegreesELNS_13PrimitiveTypeE9EE6createEv Line | Count | Source | 79 | 25 | static FunctionPtr create() { return std::make_shared<FunctionUnaryArithmetic>(); } |
_ZN5doris23FunctionUnaryArithmeticINS_11SignBitImplIdEENS_11NameSignBitELNS_13PrimitiveTypeE9EE6createEv Line | Count | Source | 79 | 21 | static FunctionPtr create() { return std::make_shared<FunctionUnaryArithmetic>(); } |
_ZN5doris23FunctionUnaryArithmeticINS_10BitNotImplIaEENS_10NameBitNotELNS_13PrimitiveTypeE3EE6createEv Line | Count | Source | 79 | 11 | static FunctionPtr create() { return std::make_shared<FunctionUnaryArithmetic>(); } |
_ZN5doris23FunctionUnaryArithmeticINS_10BitNotImplIsEENS_10NameBitNotELNS_13PrimitiveTypeE4EE6createEv Line | Count | Source | 79 | 9 | static FunctionPtr create() { return std::make_shared<FunctionUnaryArithmetic>(); } |
_ZN5doris23FunctionUnaryArithmeticINS_10BitNotImplIiEENS_10NameBitNotELNS_13PrimitiveTypeE5EE6createEv Line | Count | Source | 79 | 10 | static FunctionPtr create() { return std::make_shared<FunctionUnaryArithmetic>(); } |
_ZN5doris23FunctionUnaryArithmeticINS_10BitNotImplIlEENS_10NameBitNotELNS_13PrimitiveTypeE6EE6createEv Line | Count | Source | 79 | 13 | static FunctionPtr create() { return std::make_shared<FunctionUnaryArithmetic>(); } |
_ZN5doris23FunctionUnaryArithmeticINS_10BitNotImplInEENS_10NameBitNotELNS_13PrimitiveTypeE7EE6createEv Line | Count | Source | 79 | 9 | static FunctionPtr create() { return std::make_shared<FunctionUnaryArithmetic>(); } |
_ZN5doris23FunctionUnaryArithmeticINS_12BitCountImplIaEENS_12NameBitCountELNS_13PrimitiveTypeE3EE6createEv Line | Count | Source | 79 | 16 | static FunctionPtr create() { return std::make_shared<FunctionUnaryArithmetic>(); } |
_ZN5doris23FunctionUnaryArithmeticINS_12BitCountImplIsEENS_12NameBitCountELNS_13PrimitiveTypeE4EE6createEv Line | Count | Source | 79 | 10 | static FunctionPtr create() { return std::make_shared<FunctionUnaryArithmetic>(); } |
_ZN5doris23FunctionUnaryArithmeticINS_12BitCountImplIiEENS_12NameBitCountELNS_13PrimitiveTypeE5EE6createEv Line | Count | Source | 79 | 11 | static FunctionPtr create() { return std::make_shared<FunctionUnaryArithmetic>(); } |
_ZN5doris23FunctionUnaryArithmeticINS_12BitCountImplIlEENS_12NameBitCountELNS_13PrimitiveTypeE6EE6createEv Line | Count | Source | 79 | 17 | static FunctionPtr create() { return std::make_shared<FunctionUnaryArithmetic>(); } |
_ZN5doris23FunctionUnaryArithmeticINS_12BitCountImplInEENS_12NameBitCountELNS_13PrimitiveTypeE7EE6createEv Line | Count | Source | 79 | 9 | static FunctionPtr create() { return std::make_shared<FunctionUnaryArithmetic>(); } |
|
80 | | |
81 | 2 | String get_name() const override { return name; }_ZNK5doris23FunctionUnaryArithmeticINS_8SignImplIdEENS_8NameSignELNS_13PrimitiveTypeE9EE8get_nameB5cxx11Ev Line | Count | Source | 81 | 1 | String get_name() const override { return name; } |
Unexecuted instantiation: _ZNK5doris23FunctionUnaryArithmeticINS_7AbsImplIaEENS_7NameAbsELNS_13PrimitiveTypeE3EE8get_nameB5cxx11Ev Unexecuted instantiation: _ZNK5doris23FunctionUnaryArithmeticINS_7AbsImplIsEENS_7NameAbsELNS_13PrimitiveTypeE4EE8get_nameB5cxx11Ev Unexecuted instantiation: _ZNK5doris23FunctionUnaryArithmeticINS_7AbsImplIiEENS_7NameAbsELNS_13PrimitiveTypeE5EE8get_nameB5cxx11Ev Unexecuted instantiation: _ZNK5doris23FunctionUnaryArithmeticINS_7AbsImplIlEENS_7NameAbsELNS_13PrimitiveTypeE6EE8get_nameB5cxx11Ev Unexecuted instantiation: _ZNK5doris23FunctionUnaryArithmeticINS_7AbsImplInEENS_7NameAbsELNS_13PrimitiveTypeE7EE8get_nameB5cxx11Ev Unexecuted instantiation: _ZNK5doris23FunctionUnaryArithmeticINS_7AbsImplIhEENS_7NameAbsELNS_13PrimitiveTypeE2EE8get_nameB5cxx11Ev Unexecuted instantiation: _ZNK5doris23FunctionUnaryArithmeticINS_7AbsImplINS_7DecimalIiEEEENS_7NameAbsELNS_13PrimitiveTypeE28EE8get_nameB5cxx11Ev Unexecuted instantiation: _ZNK5doris23FunctionUnaryArithmeticINS_7AbsImplINS_7DecimalIlEEEENS_7NameAbsELNS_13PrimitiveTypeE29EE8get_nameB5cxx11Ev Unexecuted instantiation: _ZNK5doris23FunctionUnaryArithmeticINS_7AbsImplINS_12Decimal128V3EEENS_7NameAbsELNS_13PrimitiveTypeE30EE8get_nameB5cxx11Ev Unexecuted instantiation: _ZNK5doris23FunctionUnaryArithmeticINS_7AbsImplINS_14DecimalV2ValueEEENS_7NameAbsELNS_13PrimitiveTypeE20EE8get_nameB5cxx11Ev Unexecuted instantiation: _ZNK5doris23FunctionUnaryArithmeticINS_7AbsImplINS_7DecimalIN4wide7integerILm256EiEEEEEENS_7NameAbsELNS_13PrimitiveTypeE35EE8get_nameB5cxx11Ev Unexecuted instantiation: _ZNK5doris23FunctionUnaryArithmeticINS_7AbsImplIfEENS_7NameAbsELNS_13PrimitiveTypeE8EE8get_nameB5cxx11Ev Unexecuted instantiation: _ZNK5doris23FunctionUnaryArithmeticINS_7AbsImplIdEENS_7NameAbsELNS_13PrimitiveTypeE9EE8get_nameB5cxx11Ev Unexecuted instantiation: _ZNK5doris23FunctionUnaryArithmeticINS_12NegativeImplIdEENS_12NameNegativeELNS_13PrimitiveTypeE9EE8get_nameB5cxx11Ev Unexecuted instantiation: _ZNK5doris23FunctionUnaryArithmeticINS_12NegativeImplIlEENS_12NameNegativeELNS_13PrimitiveTypeE6EE8get_nameB5cxx11Ev Unexecuted instantiation: _ZNK5doris23FunctionUnaryArithmeticINS_12NegativeImplINS_14DecimalV2ValueEEENS_12NameNegativeELNS_13PrimitiveTypeE20EE8get_nameB5cxx11Ev Unexecuted instantiation: _ZNK5doris23FunctionUnaryArithmeticINS_12NegativeImplINS_7DecimalIN4wide7integerILm256EiEEEEEENS_12NameNegativeELNS_13PrimitiveTypeE35EE8get_nameB5cxx11Ev Unexecuted instantiation: _ZNK5doris23FunctionUnaryArithmeticINS_12NegativeImplINS_12Decimal128V3EEENS_12NameNegativeELNS_13PrimitiveTypeE30EE8get_nameB5cxx11Ev Unexecuted instantiation: _ZNK5doris23FunctionUnaryArithmeticINS_12NegativeImplINS_7DecimalIiEEEENS_12NameNegativeELNS_13PrimitiveTypeE28EE8get_nameB5cxx11Ev Unexecuted instantiation: _ZNK5doris23FunctionUnaryArithmeticINS_12NegativeImplINS_7DecimalIlEEEENS_12NameNegativeELNS_13PrimitiveTypeE29EE8get_nameB5cxx11Ev Unexecuted instantiation: _ZNK5doris23FunctionUnaryArithmeticINS_12PositiveImplINS_7DecimalIiEEEENS_12NamePositiveELNS_13PrimitiveTypeE28EE8get_nameB5cxx11Ev Unexecuted instantiation: _ZNK5doris23FunctionUnaryArithmeticINS_12PositiveImplINS_7DecimalIlEEEENS_12NamePositiveELNS_13PrimitiveTypeE29EE8get_nameB5cxx11Ev Unexecuted instantiation: _ZNK5doris23FunctionUnaryArithmeticINS_12PositiveImplINS_12Decimal128V3EEENS_12NamePositiveELNS_13PrimitiveTypeE30EE8get_nameB5cxx11Ev Unexecuted instantiation: _ZNK5doris23FunctionUnaryArithmeticINS_12PositiveImplINS_14DecimalV2ValueEEENS_12NamePositiveELNS_13PrimitiveTypeE20EE8get_nameB5cxx11Ev Unexecuted instantiation: _ZNK5doris23FunctionUnaryArithmeticINS_12PositiveImplINS_7DecimalIN4wide7integerILm256EiEEEEEENS_12NamePositiveELNS_13PrimitiveTypeE35EE8get_nameB5cxx11Ev Unexecuted instantiation: _ZNK5doris23FunctionUnaryArithmeticINS_12PositiveImplIdEENS_12NamePositiveELNS_13PrimitiveTypeE9EE8get_nameB5cxx11Ev Unexecuted instantiation: _ZNK5doris23FunctionUnaryArithmeticINS_12PositiveImplIlEENS_12NamePositiveELNS_13PrimitiveTypeE6EE8get_nameB5cxx11Ev Unexecuted instantiation: _ZNK5doris23FunctionUnaryArithmeticINS_11RadiansImplIdEENS_11NameRadiansELNS_13PrimitiveTypeE9EE8get_nameB5cxx11Ev Unexecuted instantiation: _ZNK5doris23FunctionUnaryArithmeticINS_11DegreesImplIdEENS_11NameDegreesELNS_13PrimitiveTypeE9EE8get_nameB5cxx11Ev _ZNK5doris23FunctionUnaryArithmeticINS_11SignBitImplIdEENS_11NameSignBitELNS_13PrimitiveTypeE9EE8get_nameB5cxx11Ev Line | Count | Source | 81 | 1 | String get_name() const override { return name; } |
Unexecuted instantiation: _ZNK5doris23FunctionUnaryArithmeticINS_10BitNotImplIaEENS_10NameBitNotELNS_13PrimitiveTypeE3EE8get_nameB5cxx11Ev Unexecuted instantiation: _ZNK5doris23FunctionUnaryArithmeticINS_10BitNotImplIsEENS_10NameBitNotELNS_13PrimitiveTypeE4EE8get_nameB5cxx11Ev Unexecuted instantiation: _ZNK5doris23FunctionUnaryArithmeticINS_10BitNotImplIiEENS_10NameBitNotELNS_13PrimitiveTypeE5EE8get_nameB5cxx11Ev Unexecuted instantiation: _ZNK5doris23FunctionUnaryArithmeticINS_10BitNotImplIlEENS_10NameBitNotELNS_13PrimitiveTypeE6EE8get_nameB5cxx11Ev Unexecuted instantiation: _ZNK5doris23FunctionUnaryArithmeticINS_10BitNotImplInEENS_10NameBitNotELNS_13PrimitiveTypeE7EE8get_nameB5cxx11Ev Unexecuted instantiation: _ZNK5doris23FunctionUnaryArithmeticINS_12BitCountImplIaEENS_12NameBitCountELNS_13PrimitiveTypeE3EE8get_nameB5cxx11Ev Unexecuted instantiation: _ZNK5doris23FunctionUnaryArithmeticINS_12BitCountImplIsEENS_12NameBitCountELNS_13PrimitiveTypeE4EE8get_nameB5cxx11Ev Unexecuted instantiation: _ZNK5doris23FunctionUnaryArithmeticINS_12BitCountImplIiEENS_12NameBitCountELNS_13PrimitiveTypeE5EE8get_nameB5cxx11Ev Unexecuted instantiation: _ZNK5doris23FunctionUnaryArithmeticINS_12BitCountImplIlEENS_12NameBitCountELNS_13PrimitiveTypeE6EE8get_nameB5cxx11Ev Unexecuted instantiation: _ZNK5doris23FunctionUnaryArithmeticINS_12BitCountImplInEENS_12NameBitCountELNS_13PrimitiveTypeE7EE8get_nameB5cxx11Ev |
82 | | |
83 | 26 | size_t get_number_of_arguments() const override { return 1; }_ZNK5doris23FunctionUnaryArithmeticINS_8SignImplIdEENS_8NameSignELNS_13PrimitiveTypeE9EE23get_number_of_argumentsEv Line | Count | Source | 83 | 14 | size_t get_number_of_arguments() const override { return 1; } |
Unexecuted instantiation: _ZNK5doris23FunctionUnaryArithmeticINS_7AbsImplIaEENS_7NameAbsELNS_13PrimitiveTypeE3EE23get_number_of_argumentsEv Unexecuted instantiation: _ZNK5doris23FunctionUnaryArithmeticINS_7AbsImplIsEENS_7NameAbsELNS_13PrimitiveTypeE4EE23get_number_of_argumentsEv Unexecuted instantiation: _ZNK5doris23FunctionUnaryArithmeticINS_7AbsImplIiEENS_7NameAbsELNS_13PrimitiveTypeE5EE23get_number_of_argumentsEv Unexecuted instantiation: _ZNK5doris23FunctionUnaryArithmeticINS_7AbsImplIlEENS_7NameAbsELNS_13PrimitiveTypeE6EE23get_number_of_argumentsEv Unexecuted instantiation: _ZNK5doris23FunctionUnaryArithmeticINS_7AbsImplInEENS_7NameAbsELNS_13PrimitiveTypeE7EE23get_number_of_argumentsEv Unexecuted instantiation: _ZNK5doris23FunctionUnaryArithmeticINS_7AbsImplIhEENS_7NameAbsELNS_13PrimitiveTypeE2EE23get_number_of_argumentsEv Unexecuted instantiation: _ZNK5doris23FunctionUnaryArithmeticINS_7AbsImplINS_7DecimalIiEEEENS_7NameAbsELNS_13PrimitiveTypeE28EE23get_number_of_argumentsEv Unexecuted instantiation: _ZNK5doris23FunctionUnaryArithmeticINS_7AbsImplINS_7DecimalIlEEEENS_7NameAbsELNS_13PrimitiveTypeE29EE23get_number_of_argumentsEv Unexecuted instantiation: _ZNK5doris23FunctionUnaryArithmeticINS_7AbsImplINS_12Decimal128V3EEENS_7NameAbsELNS_13PrimitiveTypeE30EE23get_number_of_argumentsEv Unexecuted instantiation: _ZNK5doris23FunctionUnaryArithmeticINS_7AbsImplINS_14DecimalV2ValueEEENS_7NameAbsELNS_13PrimitiveTypeE20EE23get_number_of_argumentsEv Unexecuted instantiation: _ZNK5doris23FunctionUnaryArithmeticINS_7AbsImplINS_7DecimalIN4wide7integerILm256EiEEEEEENS_7NameAbsELNS_13PrimitiveTypeE35EE23get_number_of_argumentsEv Unexecuted instantiation: _ZNK5doris23FunctionUnaryArithmeticINS_7AbsImplIfEENS_7NameAbsELNS_13PrimitiveTypeE8EE23get_number_of_argumentsEv Unexecuted instantiation: _ZNK5doris23FunctionUnaryArithmeticINS_7AbsImplIdEENS_7NameAbsELNS_13PrimitiveTypeE9EE23get_number_of_argumentsEv Unexecuted instantiation: _ZNK5doris23FunctionUnaryArithmeticINS_12NegativeImplIdEENS_12NameNegativeELNS_13PrimitiveTypeE9EE23get_number_of_argumentsEv Unexecuted instantiation: _ZNK5doris23FunctionUnaryArithmeticINS_12NegativeImplIlEENS_12NameNegativeELNS_13PrimitiveTypeE6EE23get_number_of_argumentsEv Unexecuted instantiation: _ZNK5doris23FunctionUnaryArithmeticINS_12NegativeImplINS_14DecimalV2ValueEEENS_12NameNegativeELNS_13PrimitiveTypeE20EE23get_number_of_argumentsEv Unexecuted instantiation: _ZNK5doris23FunctionUnaryArithmeticINS_12NegativeImplINS_7DecimalIN4wide7integerILm256EiEEEEEENS_12NameNegativeELNS_13PrimitiveTypeE35EE23get_number_of_argumentsEv Unexecuted instantiation: _ZNK5doris23FunctionUnaryArithmeticINS_12NegativeImplINS_12Decimal128V3EEENS_12NameNegativeELNS_13PrimitiveTypeE30EE23get_number_of_argumentsEv Unexecuted instantiation: _ZNK5doris23FunctionUnaryArithmeticINS_12NegativeImplINS_7DecimalIiEEEENS_12NameNegativeELNS_13PrimitiveTypeE28EE23get_number_of_argumentsEv Unexecuted instantiation: _ZNK5doris23FunctionUnaryArithmeticINS_12NegativeImplINS_7DecimalIlEEEENS_12NameNegativeELNS_13PrimitiveTypeE29EE23get_number_of_argumentsEv Unexecuted instantiation: _ZNK5doris23FunctionUnaryArithmeticINS_12PositiveImplINS_7DecimalIiEEEENS_12NamePositiveELNS_13PrimitiveTypeE28EE23get_number_of_argumentsEv Unexecuted instantiation: _ZNK5doris23FunctionUnaryArithmeticINS_12PositiveImplINS_7DecimalIlEEEENS_12NamePositiveELNS_13PrimitiveTypeE29EE23get_number_of_argumentsEv Unexecuted instantiation: _ZNK5doris23FunctionUnaryArithmeticINS_12PositiveImplINS_12Decimal128V3EEENS_12NamePositiveELNS_13PrimitiveTypeE30EE23get_number_of_argumentsEv Unexecuted instantiation: _ZNK5doris23FunctionUnaryArithmeticINS_12PositiveImplINS_14DecimalV2ValueEEENS_12NamePositiveELNS_13PrimitiveTypeE20EE23get_number_of_argumentsEv Unexecuted instantiation: _ZNK5doris23FunctionUnaryArithmeticINS_12PositiveImplINS_7DecimalIN4wide7integerILm256EiEEEEEENS_12NamePositiveELNS_13PrimitiveTypeE35EE23get_number_of_argumentsEv Unexecuted instantiation: _ZNK5doris23FunctionUnaryArithmeticINS_12PositiveImplIdEENS_12NamePositiveELNS_13PrimitiveTypeE9EE23get_number_of_argumentsEv Unexecuted instantiation: _ZNK5doris23FunctionUnaryArithmeticINS_12PositiveImplIlEENS_12NamePositiveELNS_13PrimitiveTypeE6EE23get_number_of_argumentsEv Unexecuted instantiation: _ZNK5doris23FunctionUnaryArithmeticINS_11RadiansImplIdEENS_11NameRadiansELNS_13PrimitiveTypeE9EE23get_number_of_argumentsEv Unexecuted instantiation: _ZNK5doris23FunctionUnaryArithmeticINS_11DegreesImplIdEENS_11NameDegreesELNS_13PrimitiveTypeE9EE23get_number_of_argumentsEv _ZNK5doris23FunctionUnaryArithmeticINS_11SignBitImplIdEENS_11NameSignBitELNS_13PrimitiveTypeE9EE23get_number_of_argumentsEv Line | Count | Source | 83 | 12 | size_t get_number_of_arguments() const override { return 1; } |
Unexecuted instantiation: _ZNK5doris23FunctionUnaryArithmeticINS_10BitNotImplIaEENS_10NameBitNotELNS_13PrimitiveTypeE3EE23get_number_of_argumentsEv Unexecuted instantiation: _ZNK5doris23FunctionUnaryArithmeticINS_10BitNotImplIsEENS_10NameBitNotELNS_13PrimitiveTypeE4EE23get_number_of_argumentsEv Unexecuted instantiation: _ZNK5doris23FunctionUnaryArithmeticINS_10BitNotImplIiEENS_10NameBitNotELNS_13PrimitiveTypeE5EE23get_number_of_argumentsEv Unexecuted instantiation: _ZNK5doris23FunctionUnaryArithmeticINS_10BitNotImplIlEENS_10NameBitNotELNS_13PrimitiveTypeE6EE23get_number_of_argumentsEv Unexecuted instantiation: _ZNK5doris23FunctionUnaryArithmeticINS_10BitNotImplInEENS_10NameBitNotELNS_13PrimitiveTypeE7EE23get_number_of_argumentsEv Unexecuted instantiation: _ZNK5doris23FunctionUnaryArithmeticINS_12BitCountImplIaEENS_12NameBitCountELNS_13PrimitiveTypeE3EE23get_number_of_argumentsEv Unexecuted instantiation: _ZNK5doris23FunctionUnaryArithmeticINS_12BitCountImplIsEENS_12NameBitCountELNS_13PrimitiveTypeE4EE23get_number_of_argumentsEv Unexecuted instantiation: _ZNK5doris23FunctionUnaryArithmeticINS_12BitCountImplIiEENS_12NameBitCountELNS_13PrimitiveTypeE5EE23get_number_of_argumentsEv Unexecuted instantiation: _ZNK5doris23FunctionUnaryArithmeticINS_12BitCountImplIlEENS_12NameBitCountELNS_13PrimitiveTypeE6EE23get_number_of_argumentsEv Unexecuted instantiation: _ZNK5doris23FunctionUnaryArithmeticINS_12BitCountImplInEENS_12NameBitCountELNS_13PrimitiveTypeE7EE23get_number_of_argumentsEv |
84 | | |
85 | 750 | bool is_variadic() const override { |
86 | 750 | if constexpr (not_variadic) { |
87 | 28 | return false; |
88 | 28 | } |
89 | 0 | return true; |
90 | 750 | } _ZNK5doris23FunctionUnaryArithmeticINS_8SignImplIdEENS_8NameSignELNS_13PrimitiveTypeE9EE11is_variadicEv Line | Count | Source | 85 | 15 | bool is_variadic() const override { | 86 | 15 | if constexpr (not_variadic) { | 87 | 15 | return false; | 88 | 15 | } | 89 | 0 | return true; | 90 | 15 | } |
_ZNK5doris23FunctionUnaryArithmeticINS_7AbsImplIaEENS_7NameAbsELNS_13PrimitiveTypeE3EE11is_variadicEv Line | Count | Source | 85 | 42 | bool is_variadic() const override { | 86 | | if constexpr (not_variadic) { | 87 | | return false; | 88 | | } | 89 | 42 | return true; | 90 | 42 | } |
_ZNK5doris23FunctionUnaryArithmeticINS_7AbsImplIsEENS_7NameAbsELNS_13PrimitiveTypeE4EE11is_variadicEv Line | Count | Source | 85 | 29 | bool is_variadic() const override { | 86 | | if constexpr (not_variadic) { | 87 | | return false; | 88 | | } | 89 | 29 | return true; | 90 | 29 | } |
_ZNK5doris23FunctionUnaryArithmeticINS_7AbsImplIiEENS_7NameAbsELNS_13PrimitiveTypeE5EE11is_variadicEv Line | Count | Source | 85 | 229 | bool is_variadic() const override { | 86 | | if constexpr (not_variadic) { | 87 | | return false; | 88 | | } | 89 | 229 | return true; | 90 | 229 | } |
_ZNK5doris23FunctionUnaryArithmeticINS_7AbsImplIlEENS_7NameAbsELNS_13PrimitiveTypeE6EE11is_variadicEv Line | Count | Source | 85 | 153 | bool is_variadic() const override { | 86 | | if constexpr (not_variadic) { | 87 | | return false; | 88 | | } | 89 | 153 | return true; | 90 | 153 | } |
_ZNK5doris23FunctionUnaryArithmeticINS_7AbsImplInEENS_7NameAbsELNS_13PrimitiveTypeE7EE11is_variadicEv Line | Count | Source | 85 | 5 | bool is_variadic() const override { | 86 | | if constexpr (not_variadic) { | 87 | | return false; | 88 | | } | 89 | 5 | return true; | 90 | 5 | } |
_ZNK5doris23FunctionUnaryArithmeticINS_7AbsImplIhEENS_7NameAbsELNS_13PrimitiveTypeE2EE11is_variadicEv Line | Count | Source | 85 | 1 | bool is_variadic() const override { | 86 | | if constexpr (not_variadic) { | 87 | | return false; | 88 | | } | 89 | 1 | return true; | 90 | 1 | } |
_ZNK5doris23FunctionUnaryArithmeticINS_7AbsImplINS_7DecimalIiEEEENS_7NameAbsELNS_13PrimitiveTypeE28EE11is_variadicEv Line | Count | Source | 85 | 19 | bool is_variadic() const override { | 86 | | if constexpr (not_variadic) { | 87 | | return false; | 88 | | } | 89 | 19 | return true; | 90 | 19 | } |
_ZNK5doris23FunctionUnaryArithmeticINS_7AbsImplINS_7DecimalIlEEEENS_7NameAbsELNS_13PrimitiveTypeE29EE11is_variadicEv Line | Count | Source | 85 | 36 | bool is_variadic() const override { | 86 | | if constexpr (not_variadic) { | 87 | | return false; | 88 | | } | 89 | 36 | return true; | 90 | 36 | } |
_ZNK5doris23FunctionUnaryArithmeticINS_7AbsImplINS_12Decimal128V3EEENS_7NameAbsELNS_13PrimitiveTypeE30EE11is_variadicEv Line | Count | Source | 85 | 4 | bool is_variadic() const override { | 86 | | if constexpr (not_variadic) { | 87 | | return false; | 88 | | } | 89 | 4 | return true; | 90 | 4 | } |
_ZNK5doris23FunctionUnaryArithmeticINS_7AbsImplINS_14DecimalV2ValueEEENS_7NameAbsELNS_13PrimitiveTypeE20EE11is_variadicEv Line | Count | Source | 85 | 2 | bool is_variadic() const override { | 86 | | if constexpr (not_variadic) { | 87 | | return false; | 88 | | } | 89 | 2 | return true; | 90 | 2 | } |
_ZNK5doris23FunctionUnaryArithmeticINS_7AbsImplINS_7DecimalIN4wide7integerILm256EiEEEEEENS_7NameAbsELNS_13PrimitiveTypeE35EE11is_variadicEv Line | Count | Source | 85 | 3 | bool is_variadic() const override { | 86 | | if constexpr (not_variadic) { | 87 | | return false; | 88 | | } | 89 | 3 | return true; | 90 | 3 | } |
_ZNK5doris23FunctionUnaryArithmeticINS_7AbsImplIfEENS_7NameAbsELNS_13PrimitiveTypeE8EE11is_variadicEv Line | Count | Source | 85 | 15 | bool is_variadic() const override { | 86 | | if constexpr (not_variadic) { | 87 | | return false; | 88 | | } | 89 | 15 | return true; | 90 | 15 | } |
_ZNK5doris23FunctionUnaryArithmeticINS_7AbsImplIdEENS_7NameAbsELNS_13PrimitiveTypeE9EE11is_variadicEv Line | Count | Source | 85 | 50 | bool is_variadic() const override { | 86 | | if constexpr (not_variadic) { | 87 | | return false; | 88 | | } | 89 | 50 | return true; | 90 | 50 | } |
_ZNK5doris23FunctionUnaryArithmeticINS_12NegativeImplIdEENS_12NameNegativeELNS_13PrimitiveTypeE9EE11is_variadicEv Line | Count | Source | 85 | 12 | bool is_variadic() const override { | 86 | | if constexpr (not_variadic) { | 87 | | return false; | 88 | | } | 89 | 12 | return true; | 90 | 12 | } |
_ZNK5doris23FunctionUnaryArithmeticINS_12NegativeImplIlEENS_12NameNegativeELNS_13PrimitiveTypeE6EE11is_variadicEv Line | Count | Source | 85 | 19 | bool is_variadic() const override { | 86 | | if constexpr (not_variadic) { | 87 | | return false; | 88 | | } | 89 | 19 | return true; | 90 | 19 | } |
_ZNK5doris23FunctionUnaryArithmeticINS_12NegativeImplINS_14DecimalV2ValueEEENS_12NameNegativeELNS_13PrimitiveTypeE20EE11is_variadicEv Line | Count | Source | 85 | 1 | bool is_variadic() const override { | 86 | | if constexpr (not_variadic) { | 87 | | return false; | 88 | | } | 89 | 1 | return true; | 90 | 1 | } |
_ZNK5doris23FunctionUnaryArithmeticINS_12NegativeImplINS_7DecimalIN4wide7integerILm256EiEEEEEENS_12NameNegativeELNS_13PrimitiveTypeE35EE11is_variadicEv Line | Count | Source | 85 | 1 | bool is_variadic() const override { | 86 | | if constexpr (not_variadic) { | 87 | | return false; | 88 | | } | 89 | 1 | return true; | 90 | 1 | } |
_ZNK5doris23FunctionUnaryArithmeticINS_12NegativeImplINS_12Decimal128V3EEENS_12NameNegativeELNS_13PrimitiveTypeE30EE11is_variadicEv Line | Count | Source | 85 | 1 | bool is_variadic() const override { | 86 | | if constexpr (not_variadic) { | 87 | | return false; | 88 | | } | 89 | 1 | return true; | 90 | 1 | } |
_ZNK5doris23FunctionUnaryArithmeticINS_12NegativeImplINS_7DecimalIiEEEENS_12NameNegativeELNS_13PrimitiveTypeE28EE11is_variadicEv Line | Count | Source | 85 | 7 | bool is_variadic() const override { | 86 | | if constexpr (not_variadic) { | 87 | | return false; | 88 | | } | 89 | 7 | return true; | 90 | 7 | } |
_ZNK5doris23FunctionUnaryArithmeticINS_12NegativeImplINS_7DecimalIlEEEENS_12NameNegativeELNS_13PrimitiveTypeE29EE11is_variadicEv Line | Count | Source | 85 | 1 | bool is_variadic() const override { | 86 | | if constexpr (not_variadic) { | 87 | | return false; | 88 | | } | 89 | 1 | return true; | 90 | 1 | } |
_ZNK5doris23FunctionUnaryArithmeticINS_12PositiveImplINS_7DecimalIiEEEENS_12NamePositiveELNS_13PrimitiveTypeE28EE11is_variadicEv Line | Count | Source | 85 | 5 | bool is_variadic() const override { | 86 | | if constexpr (not_variadic) { | 87 | | return false; | 88 | | } | 89 | 5 | return true; | 90 | 5 | } |
_ZNK5doris23FunctionUnaryArithmeticINS_12PositiveImplINS_7DecimalIlEEEENS_12NamePositiveELNS_13PrimitiveTypeE29EE11is_variadicEv Line | Count | Source | 85 | 4 | bool is_variadic() const override { | 86 | | if constexpr (not_variadic) { | 87 | | return false; | 88 | | } | 89 | 4 | return true; | 90 | 4 | } |
_ZNK5doris23FunctionUnaryArithmeticINS_12PositiveImplINS_12Decimal128V3EEENS_12NamePositiveELNS_13PrimitiveTypeE30EE11is_variadicEv Line | Count | Source | 85 | 3 | bool is_variadic() const override { | 86 | | if constexpr (not_variadic) { | 87 | | return false; | 88 | | } | 89 | 3 | return true; | 90 | 3 | } |
_ZNK5doris23FunctionUnaryArithmeticINS_12PositiveImplINS_14DecimalV2ValueEEENS_12NamePositiveELNS_13PrimitiveTypeE20EE11is_variadicEv Line | Count | Source | 85 | 1 | bool is_variadic() const override { | 86 | | if constexpr (not_variadic) { | 87 | | return false; | 88 | | } | 89 | 1 | return true; | 90 | 1 | } |
_ZNK5doris23FunctionUnaryArithmeticINS_12PositiveImplINS_7DecimalIN4wide7integerILm256EiEEEEEENS_12NamePositiveELNS_13PrimitiveTypeE35EE11is_variadicEv Line | Count | Source | 85 | 1 | bool is_variadic() const override { | 86 | | if constexpr (not_variadic) { | 87 | | return false; | 88 | | } | 89 | 1 | return true; | 90 | 1 | } |
_ZNK5doris23FunctionUnaryArithmeticINS_12PositiveImplIdEENS_12NamePositiveELNS_13PrimitiveTypeE9EE11is_variadicEv Line | Count | Source | 85 | 4 | bool is_variadic() const override { | 86 | | if constexpr (not_variadic) { | 87 | | return false; | 88 | | } | 89 | 4 | return true; | 90 | 4 | } |
_ZNK5doris23FunctionUnaryArithmeticINS_12PositiveImplIlEENS_12NamePositiveELNS_13PrimitiveTypeE6EE11is_variadicEv Line | Count | Source | 85 | 9 | bool is_variadic() const override { | 86 | | if constexpr (not_variadic) { | 87 | | return false; | 88 | | } | 89 | 9 | return true; | 90 | 9 | } |
_ZNK5doris23FunctionUnaryArithmeticINS_11RadiansImplIdEENS_11NameRadiansELNS_13PrimitiveTypeE9EE11is_variadicEv Line | Count | Source | 85 | 13 | bool is_variadic() const override { | 86 | | if constexpr (not_variadic) { | 87 | | return false; | 88 | | } | 89 | 13 | return true; | 90 | 13 | } |
_ZNK5doris23FunctionUnaryArithmeticINS_11DegreesImplIdEENS_11NameDegreesELNS_13PrimitiveTypeE9EE11is_variadicEv Line | Count | Source | 85 | 17 | bool is_variadic() const override { | 86 | | if constexpr (not_variadic) { | 87 | | return false; | 88 | | } | 89 | 17 | return true; | 90 | 17 | } |
_ZNK5doris23FunctionUnaryArithmeticINS_11SignBitImplIdEENS_11NameSignBitELNS_13PrimitiveTypeE9EE11is_variadicEv Line | Count | Source | 85 | 13 | bool is_variadic() const override { | 86 | 13 | if constexpr (not_variadic) { | 87 | 13 | return false; | 88 | 13 | } | 89 | 0 | return true; | 90 | 13 | } |
_ZNK5doris23FunctionUnaryArithmeticINS_10BitNotImplIaEENS_10NameBitNotELNS_13PrimitiveTypeE3EE11is_variadicEv Line | Count | Source | 85 | 3 | bool is_variadic() const override { | 86 | | if constexpr (not_variadic) { | 87 | | return false; | 88 | | } | 89 | 3 | return true; | 90 | 3 | } |
_ZNK5doris23FunctionUnaryArithmeticINS_10BitNotImplIsEENS_10NameBitNotELNS_13PrimitiveTypeE4EE11is_variadicEv Line | Count | Source | 85 | 1 | bool is_variadic() const override { | 86 | | if constexpr (not_variadic) { | 87 | | return false; | 88 | | } | 89 | 1 | return true; | 90 | 1 | } |
_ZNK5doris23FunctionUnaryArithmeticINS_10BitNotImplIiEENS_10NameBitNotELNS_13PrimitiveTypeE5EE11is_variadicEv Line | Count | Source | 85 | 2 | bool is_variadic() const override { | 86 | | if constexpr (not_variadic) { | 87 | | return false; | 88 | | } | 89 | 2 | return true; | 90 | 2 | } |
_ZNK5doris23FunctionUnaryArithmeticINS_10BitNotImplIlEENS_10NameBitNotELNS_13PrimitiveTypeE6EE11is_variadicEv Line | Count | Source | 85 | 5 | bool is_variadic() const override { | 86 | | if constexpr (not_variadic) { | 87 | | return false; | 88 | | } | 89 | 5 | return true; | 90 | 5 | } |
_ZNK5doris23FunctionUnaryArithmeticINS_10BitNotImplInEENS_10NameBitNotELNS_13PrimitiveTypeE7EE11is_variadicEv Line | Count | Source | 85 | 1 | bool is_variadic() const override { | 86 | | if constexpr (not_variadic) { | 87 | | return false; | 88 | | } | 89 | 1 | return true; | 90 | 1 | } |
_ZNK5doris23FunctionUnaryArithmeticINS_12BitCountImplIaEENS_12NameBitCountELNS_13PrimitiveTypeE3EE11is_variadicEv Line | Count | Source | 85 | 8 | bool is_variadic() const override { | 86 | | if constexpr (not_variadic) { | 87 | | return false; | 88 | | } | 89 | 8 | return true; | 90 | 8 | } |
_ZNK5doris23FunctionUnaryArithmeticINS_12BitCountImplIsEENS_12NameBitCountELNS_13PrimitiveTypeE4EE11is_variadicEv Line | Count | Source | 85 | 2 | bool is_variadic() const override { | 86 | | if constexpr (not_variadic) { | 87 | | return false; | 88 | | } | 89 | 2 | return true; | 90 | 2 | } |
_ZNK5doris23FunctionUnaryArithmeticINS_12BitCountImplIiEENS_12NameBitCountELNS_13PrimitiveTypeE5EE11is_variadicEv Line | Count | Source | 85 | 3 | bool is_variadic() const override { | 86 | | if constexpr (not_variadic) { | 87 | | return false; | 88 | | } | 89 | 3 | return true; | 90 | 3 | } |
_ZNK5doris23FunctionUnaryArithmeticINS_12BitCountImplIlEENS_12NameBitCountELNS_13PrimitiveTypeE6EE11is_variadicEv Line | Count | Source | 85 | 9 | bool is_variadic() const override { | 86 | | if constexpr (not_variadic) { | 87 | | return false; | 88 | | } | 89 | 9 | return true; | 90 | 9 | } |
_ZNK5doris23FunctionUnaryArithmeticINS_12BitCountImplInEENS_12NameBitCountELNS_13PrimitiveTypeE7EE11is_variadicEv Line | Count | Source | 85 | 1 | bool is_variadic() const override { | 86 | | if constexpr (not_variadic) { | 87 | | return false; | 88 | | } | 89 | 1 | return true; | 90 | 1 | } |
|
91 | | |
92 | 328 | DataTypes get_variadic_argument_types_impl() const override { |
93 | 328 | if constexpr (not_variadic) { |
94 | 16 | return {}; |
95 | 16 | } |
96 | 0 | return {std::make_shared<ResultDataType>()}; |
97 | 328 | } _ZNK5doris23FunctionUnaryArithmeticINS_8SignImplIdEENS_8NameSignELNS_13PrimitiveTypeE9EE32get_variadic_argument_types_implEv Line | Count | Source | 92 | 8 | DataTypes get_variadic_argument_types_impl() const override { | 93 | 8 | if constexpr (not_variadic) { | 94 | 8 | return {}; | 95 | 8 | } | 96 | 0 | return {std::make_shared<ResultDataType>()}; | 97 | 8 | } |
_ZNK5doris23FunctionUnaryArithmeticINS_7AbsImplIaEENS_7NameAbsELNS_13PrimitiveTypeE3EE32get_variadic_argument_types_implEv Line | Count | Source | 92 | 8 | DataTypes get_variadic_argument_types_impl() const override { | 93 | | if constexpr (not_variadic) { | 94 | | return {}; | 95 | | } | 96 | 8 | return {std::make_shared<ResultDataType>()}; | 97 | 8 | } |
_ZNK5doris23FunctionUnaryArithmeticINS_7AbsImplIsEENS_7NameAbsELNS_13PrimitiveTypeE4EE32get_variadic_argument_types_implEv Line | Count | Source | 92 | 8 | DataTypes get_variadic_argument_types_impl() const override { | 93 | | if constexpr (not_variadic) { | 94 | | return {}; | 95 | | } | 96 | 8 | return {std::make_shared<ResultDataType>()}; | 97 | 8 | } |
_ZNK5doris23FunctionUnaryArithmeticINS_7AbsImplIiEENS_7NameAbsELNS_13PrimitiveTypeE5EE32get_variadic_argument_types_implEv Line | Count | Source | 92 | 8 | DataTypes get_variadic_argument_types_impl() const override { | 93 | | if constexpr (not_variadic) { | 94 | | return {}; | 95 | | } | 96 | 8 | return {std::make_shared<ResultDataType>()}; | 97 | 8 | } |
_ZNK5doris23FunctionUnaryArithmeticINS_7AbsImplIlEENS_7NameAbsELNS_13PrimitiveTypeE6EE32get_variadic_argument_types_implEv Line | Count | Source | 92 | 8 | DataTypes get_variadic_argument_types_impl() const override { | 93 | | if constexpr (not_variadic) { | 94 | | return {}; | 95 | | } | 96 | 8 | return {std::make_shared<ResultDataType>()}; | 97 | 8 | } |
_ZNK5doris23FunctionUnaryArithmeticINS_7AbsImplInEENS_7NameAbsELNS_13PrimitiveTypeE7EE32get_variadic_argument_types_implEv Line | Count | Source | 92 | 8 | DataTypes get_variadic_argument_types_impl() const override { | 93 | | if constexpr (not_variadic) { | 94 | | return {}; | 95 | | } | 96 | 8 | return {std::make_shared<ResultDataType>()}; | 97 | 8 | } |
_ZNK5doris23FunctionUnaryArithmeticINS_7AbsImplIhEENS_7NameAbsELNS_13PrimitiveTypeE2EE32get_variadic_argument_types_implEv Line | Count | Source | 92 | 8 | DataTypes get_variadic_argument_types_impl() const override { | 93 | | if constexpr (not_variadic) { | 94 | | return {}; | 95 | | } | 96 | 8 | return {std::make_shared<ResultDataType>()}; | 97 | 8 | } |
_ZNK5doris23FunctionUnaryArithmeticINS_7AbsImplINS_7DecimalIiEEEENS_7NameAbsELNS_13PrimitiveTypeE28EE32get_variadic_argument_types_implEv Line | Count | Source | 92 | 8 | DataTypes get_variadic_argument_types_impl() const override { | 93 | | if constexpr (not_variadic) { | 94 | | return {}; | 95 | | } | 96 | 8 | return {std::make_shared<ResultDataType>()}; | 97 | 8 | } |
_ZNK5doris23FunctionUnaryArithmeticINS_7AbsImplINS_7DecimalIlEEEENS_7NameAbsELNS_13PrimitiveTypeE29EE32get_variadic_argument_types_implEv Line | Count | Source | 92 | 8 | DataTypes get_variadic_argument_types_impl() const override { | 93 | | if constexpr (not_variadic) { | 94 | | return {}; | 95 | | } | 96 | 8 | return {std::make_shared<ResultDataType>()}; | 97 | 8 | } |
_ZNK5doris23FunctionUnaryArithmeticINS_7AbsImplINS_12Decimal128V3EEENS_7NameAbsELNS_13PrimitiveTypeE30EE32get_variadic_argument_types_implEv Line | Count | Source | 92 | 8 | DataTypes get_variadic_argument_types_impl() const override { | 93 | | if constexpr (not_variadic) { | 94 | | return {}; | 95 | | } | 96 | 8 | return {std::make_shared<ResultDataType>()}; | 97 | 8 | } |
_ZNK5doris23FunctionUnaryArithmeticINS_7AbsImplINS_14DecimalV2ValueEEENS_7NameAbsELNS_13PrimitiveTypeE20EE32get_variadic_argument_types_implEv Line | Count | Source | 92 | 8 | DataTypes get_variadic_argument_types_impl() const override { | 93 | | if constexpr (not_variadic) { | 94 | | return {}; | 95 | | } | 96 | 8 | return {std::make_shared<ResultDataType>()}; | 97 | 8 | } |
_ZNK5doris23FunctionUnaryArithmeticINS_7AbsImplINS_7DecimalIN4wide7integerILm256EiEEEEEENS_7NameAbsELNS_13PrimitiveTypeE35EE32get_variadic_argument_types_implEv Line | Count | Source | 92 | 8 | DataTypes get_variadic_argument_types_impl() const override { | 93 | | if constexpr (not_variadic) { | 94 | | return {}; | 95 | | } | 96 | 8 | return {std::make_shared<ResultDataType>()}; | 97 | 8 | } |
_ZNK5doris23FunctionUnaryArithmeticINS_7AbsImplIfEENS_7NameAbsELNS_13PrimitiveTypeE8EE32get_variadic_argument_types_implEv Line | Count | Source | 92 | 8 | DataTypes get_variadic_argument_types_impl() const override { | 93 | | if constexpr (not_variadic) { | 94 | | return {}; | 95 | | } | 96 | 8 | return {std::make_shared<ResultDataType>()}; | 97 | 8 | } |
_ZNK5doris23FunctionUnaryArithmeticINS_7AbsImplIdEENS_7NameAbsELNS_13PrimitiveTypeE9EE32get_variadic_argument_types_implEv Line | Count | Source | 92 | 8 | DataTypes get_variadic_argument_types_impl() const override { | 93 | | if constexpr (not_variadic) { | 94 | | return {}; | 95 | | } | 96 | 8 | return {std::make_shared<ResultDataType>()}; | 97 | 8 | } |
_ZNK5doris23FunctionUnaryArithmeticINS_12NegativeImplIdEENS_12NameNegativeELNS_13PrimitiveTypeE9EE32get_variadic_argument_types_implEv Line | Count | Source | 92 | 8 | DataTypes get_variadic_argument_types_impl() const override { | 93 | | if constexpr (not_variadic) { | 94 | | return {}; | 95 | | } | 96 | 8 | return {std::make_shared<ResultDataType>()}; | 97 | 8 | } |
_ZNK5doris23FunctionUnaryArithmeticINS_12NegativeImplIlEENS_12NameNegativeELNS_13PrimitiveTypeE6EE32get_variadic_argument_types_implEv Line | Count | Source | 92 | 8 | DataTypes get_variadic_argument_types_impl() const override { | 93 | | if constexpr (not_variadic) { | 94 | | return {}; | 95 | | } | 96 | 8 | return {std::make_shared<ResultDataType>()}; | 97 | 8 | } |
_ZNK5doris23FunctionUnaryArithmeticINS_12NegativeImplINS_14DecimalV2ValueEEENS_12NameNegativeELNS_13PrimitiveTypeE20EE32get_variadic_argument_types_implEv Line | Count | Source | 92 | 8 | DataTypes get_variadic_argument_types_impl() const override { | 93 | | if constexpr (not_variadic) { | 94 | | return {}; | 95 | | } | 96 | 8 | return {std::make_shared<ResultDataType>()}; | 97 | 8 | } |
_ZNK5doris23FunctionUnaryArithmeticINS_12NegativeImplINS_7DecimalIN4wide7integerILm256EiEEEEEENS_12NameNegativeELNS_13PrimitiveTypeE35EE32get_variadic_argument_types_implEv Line | Count | Source | 92 | 8 | DataTypes get_variadic_argument_types_impl() const override { | 93 | | if constexpr (not_variadic) { | 94 | | return {}; | 95 | | } | 96 | 8 | return {std::make_shared<ResultDataType>()}; | 97 | 8 | } |
_ZNK5doris23FunctionUnaryArithmeticINS_12NegativeImplINS_12Decimal128V3EEENS_12NameNegativeELNS_13PrimitiveTypeE30EE32get_variadic_argument_types_implEv Line | Count | Source | 92 | 8 | DataTypes get_variadic_argument_types_impl() const override { | 93 | | if constexpr (not_variadic) { | 94 | | return {}; | 95 | | } | 96 | 8 | return {std::make_shared<ResultDataType>()}; | 97 | 8 | } |
_ZNK5doris23FunctionUnaryArithmeticINS_12NegativeImplINS_7DecimalIiEEEENS_12NameNegativeELNS_13PrimitiveTypeE28EE32get_variadic_argument_types_implEv Line | Count | Source | 92 | 8 | DataTypes get_variadic_argument_types_impl() const override { | 93 | | if constexpr (not_variadic) { | 94 | | return {}; | 95 | | } | 96 | 8 | return {std::make_shared<ResultDataType>()}; | 97 | 8 | } |
_ZNK5doris23FunctionUnaryArithmeticINS_12NegativeImplINS_7DecimalIlEEEENS_12NameNegativeELNS_13PrimitiveTypeE29EE32get_variadic_argument_types_implEv Line | Count | Source | 92 | 8 | DataTypes get_variadic_argument_types_impl() const override { | 93 | | if constexpr (not_variadic) { | 94 | | return {}; | 95 | | } | 96 | 8 | return {std::make_shared<ResultDataType>()}; | 97 | 8 | } |
_ZNK5doris23FunctionUnaryArithmeticINS_12PositiveImplINS_7DecimalIiEEEENS_12NamePositiveELNS_13PrimitiveTypeE28EE32get_variadic_argument_types_implEv Line | Count | Source | 92 | 8 | DataTypes get_variadic_argument_types_impl() const override { | 93 | | if constexpr (not_variadic) { | 94 | | return {}; | 95 | | } | 96 | 8 | return {std::make_shared<ResultDataType>()}; | 97 | 8 | } |
_ZNK5doris23FunctionUnaryArithmeticINS_12PositiveImplINS_7DecimalIlEEEENS_12NamePositiveELNS_13PrimitiveTypeE29EE32get_variadic_argument_types_implEv Line | Count | Source | 92 | 8 | DataTypes get_variadic_argument_types_impl() const override { | 93 | | if constexpr (not_variadic) { | 94 | | return {}; | 95 | | } | 96 | 8 | return {std::make_shared<ResultDataType>()}; | 97 | 8 | } |
_ZNK5doris23FunctionUnaryArithmeticINS_12PositiveImplINS_12Decimal128V3EEENS_12NamePositiveELNS_13PrimitiveTypeE30EE32get_variadic_argument_types_implEv Line | Count | Source | 92 | 8 | DataTypes get_variadic_argument_types_impl() const override { | 93 | | if constexpr (not_variadic) { | 94 | | return {}; | 95 | | } | 96 | 8 | return {std::make_shared<ResultDataType>()}; | 97 | 8 | } |
_ZNK5doris23FunctionUnaryArithmeticINS_12PositiveImplINS_14DecimalV2ValueEEENS_12NamePositiveELNS_13PrimitiveTypeE20EE32get_variadic_argument_types_implEv Line | Count | Source | 92 | 8 | DataTypes get_variadic_argument_types_impl() const override { | 93 | | if constexpr (not_variadic) { | 94 | | return {}; | 95 | | } | 96 | 8 | return {std::make_shared<ResultDataType>()}; | 97 | 8 | } |
_ZNK5doris23FunctionUnaryArithmeticINS_12PositiveImplINS_7DecimalIN4wide7integerILm256EiEEEEEENS_12NamePositiveELNS_13PrimitiveTypeE35EE32get_variadic_argument_types_implEv Line | Count | Source | 92 | 8 | DataTypes get_variadic_argument_types_impl() const override { | 93 | | if constexpr (not_variadic) { | 94 | | return {}; | 95 | | } | 96 | 8 | return {std::make_shared<ResultDataType>()}; | 97 | 8 | } |
_ZNK5doris23FunctionUnaryArithmeticINS_12PositiveImplIdEENS_12NamePositiveELNS_13PrimitiveTypeE9EE32get_variadic_argument_types_implEv Line | Count | Source | 92 | 8 | DataTypes get_variadic_argument_types_impl() const override { | 93 | | if constexpr (not_variadic) { | 94 | | return {}; | 95 | | } | 96 | 8 | return {std::make_shared<ResultDataType>()}; | 97 | 8 | } |
_ZNK5doris23FunctionUnaryArithmeticINS_12PositiveImplIlEENS_12NamePositiveELNS_13PrimitiveTypeE6EE32get_variadic_argument_types_implEv Line | Count | Source | 92 | 8 | DataTypes get_variadic_argument_types_impl() const override { | 93 | | if constexpr (not_variadic) { | 94 | | return {}; | 95 | | } | 96 | 8 | return {std::make_shared<ResultDataType>()}; | 97 | 8 | } |
_ZNK5doris23FunctionUnaryArithmeticINS_11RadiansImplIdEENS_11NameRadiansELNS_13PrimitiveTypeE9EE32get_variadic_argument_types_implEv Line | Count | Source | 92 | 8 | DataTypes get_variadic_argument_types_impl() const override { | 93 | | if constexpr (not_variadic) { | 94 | | return {}; | 95 | | } | 96 | 8 | return {std::make_shared<ResultDataType>()}; | 97 | 8 | } |
_ZNK5doris23FunctionUnaryArithmeticINS_11DegreesImplIdEENS_11NameDegreesELNS_13PrimitiveTypeE9EE32get_variadic_argument_types_implEv Line | Count | Source | 92 | 8 | DataTypes get_variadic_argument_types_impl() const override { | 93 | | if constexpr (not_variadic) { | 94 | | return {}; | 95 | | } | 96 | 8 | return {std::make_shared<ResultDataType>()}; | 97 | 8 | } |
_ZNK5doris23FunctionUnaryArithmeticINS_11SignBitImplIdEENS_11NameSignBitELNS_13PrimitiveTypeE9EE32get_variadic_argument_types_implEv Line | Count | Source | 92 | 8 | DataTypes get_variadic_argument_types_impl() const override { | 93 | 8 | if constexpr (not_variadic) { | 94 | 8 | return {}; | 95 | 8 | } | 96 | 0 | return {std::make_shared<ResultDataType>()}; | 97 | 8 | } |
_ZNK5doris23FunctionUnaryArithmeticINS_10BitNotImplIaEENS_10NameBitNotELNS_13PrimitiveTypeE3EE32get_variadic_argument_types_implEv Line | Count | Source | 92 | 8 | DataTypes get_variadic_argument_types_impl() const override { | 93 | | if constexpr (not_variadic) { | 94 | | return {}; | 95 | | } | 96 | 8 | return {std::make_shared<ResultDataType>()}; | 97 | 8 | } |
_ZNK5doris23FunctionUnaryArithmeticINS_10BitNotImplIsEENS_10NameBitNotELNS_13PrimitiveTypeE4EE32get_variadic_argument_types_implEv Line | Count | Source | 92 | 8 | DataTypes get_variadic_argument_types_impl() const override { | 93 | | if constexpr (not_variadic) { | 94 | | return {}; | 95 | | } | 96 | 8 | return {std::make_shared<ResultDataType>()}; | 97 | 8 | } |
_ZNK5doris23FunctionUnaryArithmeticINS_10BitNotImplIiEENS_10NameBitNotELNS_13PrimitiveTypeE5EE32get_variadic_argument_types_implEv Line | Count | Source | 92 | 8 | DataTypes get_variadic_argument_types_impl() const override { | 93 | | if constexpr (not_variadic) { | 94 | | return {}; | 95 | | } | 96 | 8 | return {std::make_shared<ResultDataType>()}; | 97 | 8 | } |
_ZNK5doris23FunctionUnaryArithmeticINS_10BitNotImplIlEENS_10NameBitNotELNS_13PrimitiveTypeE6EE32get_variadic_argument_types_implEv Line | Count | Source | 92 | 8 | DataTypes get_variadic_argument_types_impl() const override { | 93 | | if constexpr (not_variadic) { | 94 | | return {}; | 95 | | } | 96 | 8 | return {std::make_shared<ResultDataType>()}; | 97 | 8 | } |
_ZNK5doris23FunctionUnaryArithmeticINS_10BitNotImplInEENS_10NameBitNotELNS_13PrimitiveTypeE7EE32get_variadic_argument_types_implEv Line | Count | Source | 92 | 8 | DataTypes get_variadic_argument_types_impl() const override { | 93 | | if constexpr (not_variadic) { | 94 | | return {}; | 95 | | } | 96 | 8 | return {std::make_shared<ResultDataType>()}; | 97 | 8 | } |
_ZNK5doris23FunctionUnaryArithmeticINS_12BitCountImplIaEENS_12NameBitCountELNS_13PrimitiveTypeE3EE32get_variadic_argument_types_implEv Line | Count | Source | 92 | 8 | DataTypes get_variadic_argument_types_impl() const override { | 93 | | if constexpr (not_variadic) { | 94 | | return {}; | 95 | | } | 96 | 8 | return {std::make_shared<ResultDataType>()}; | 97 | 8 | } |
_ZNK5doris23FunctionUnaryArithmeticINS_12BitCountImplIsEENS_12NameBitCountELNS_13PrimitiveTypeE4EE32get_variadic_argument_types_implEv Line | Count | Source | 92 | 8 | DataTypes get_variadic_argument_types_impl() const override { | 93 | | if constexpr (not_variadic) { | 94 | | return {}; | 95 | | } | 96 | 8 | return {std::make_shared<ResultDataType>()}; | 97 | 8 | } |
_ZNK5doris23FunctionUnaryArithmeticINS_12BitCountImplIiEENS_12NameBitCountELNS_13PrimitiveTypeE5EE32get_variadic_argument_types_implEv Line | Count | Source | 92 | 8 | DataTypes get_variadic_argument_types_impl() const override { | 93 | | if constexpr (not_variadic) { | 94 | | return {}; | 95 | | } | 96 | 8 | return {std::make_shared<ResultDataType>()}; | 97 | 8 | } |
_ZNK5doris23FunctionUnaryArithmeticINS_12BitCountImplIlEENS_12NameBitCountELNS_13PrimitiveTypeE6EE32get_variadic_argument_types_implEv Line | Count | Source | 92 | 8 | DataTypes get_variadic_argument_types_impl() const override { | 93 | | if constexpr (not_variadic) { | 94 | | return {}; | 95 | | } | 96 | 8 | return {std::make_shared<ResultDataType>()}; | 97 | 8 | } |
_ZNK5doris23FunctionUnaryArithmeticINS_12BitCountImplInEENS_12NameBitCountELNS_13PrimitiveTypeE7EE32get_variadic_argument_types_implEv Line | Count | Source | 92 | 8 | DataTypes get_variadic_argument_types_impl() const override { | 93 | | if constexpr (not_variadic) { | 94 | | return {}; | 95 | | } | 96 | 8 | return {std::make_shared<ResultDataType>()}; | 97 | 8 | } |
|
98 | | |
99 | 708 | DataTypePtr get_return_type_impl(const DataTypes& arguments) const override { |
100 | 708 | DataTypePtr result; |
101 | 709 | bool valid = cast_type(arguments[0].get(), [&](const auto& type) { |
102 | 709 | using DataType = std::decay_t<decltype(type)>; |
103 | | |
104 | 709 | if constexpr (IsDataTypeDecimal<DataType>) { |
105 | | if constexpr (!allow_decimal) return false; |
106 | 74 | result = std::make_shared<DataType>(type.get_precision(), type.get_scale()); |
107 | 635 | } else { |
108 | 635 | result = std::make_shared<typename PrimitiveTypeTraits<Op::ResultType>::DataType>(); |
109 | 635 | } |
110 | 709 | return true; |
111 | 709 | }); _ZZNK5doris23FunctionUnaryArithmeticINS_8SignImplIdEENS_8NameSignELNS_13PrimitiveTypeE9EE20get_return_type_implERKSt6vectorISt10shared_ptrIKNS_9IDataTypeEESaISA_EEENKUlRKT_E_clINS_14DataTypeNumberILS4_9EEEEEDaSH_ Line | Count | Source | 101 | 14 | bool valid = cast_type(arguments[0].get(), [&](const auto& type) { | 102 | 14 | using DataType = std::decay_t<decltype(type)>; | 103 | | | 104 | | if constexpr (IsDataTypeDecimal<DataType>) { | 105 | | if constexpr (!allow_decimal) return false; | 106 | | result = std::make_shared<DataType>(type.get_precision(), type.get_scale()); | 107 | 14 | } else { | 108 | 14 | result = std::make_shared<typename PrimitiveTypeTraits<Op::ResultType>::DataType>(); | 109 | 14 | } | 110 | 14 | return true; | 111 | 14 | }); |
_ZZNK5doris23FunctionUnaryArithmeticINS_7AbsImplIaEENS_7NameAbsELNS_13PrimitiveTypeE3EE20get_return_type_implERKSt6vectorISt10shared_ptrIKNS_9IDataTypeEESaISA_EEENKUlRKT_E_clINS_14DataTypeNumberILS4_3EEEEEDaSH_ Line | Count | Source | 101 | 41 | bool valid = cast_type(arguments[0].get(), [&](const auto& type) { | 102 | 41 | using DataType = std::decay_t<decltype(type)>; | 103 | | | 104 | | if constexpr (IsDataTypeDecimal<DataType>) { | 105 | | if constexpr (!allow_decimal) return false; | 106 | | result = std::make_shared<DataType>(type.get_precision(), type.get_scale()); | 107 | 41 | } else { | 108 | 41 | result = std::make_shared<typename PrimitiveTypeTraits<Op::ResultType>::DataType>(); | 109 | 41 | } | 110 | 41 | return true; | 111 | 41 | }); |
_ZZNK5doris23FunctionUnaryArithmeticINS_7AbsImplIsEENS_7NameAbsELNS_13PrimitiveTypeE4EE20get_return_type_implERKSt6vectorISt10shared_ptrIKNS_9IDataTypeEESaISA_EEENKUlRKT_E_clINS_14DataTypeNumberILS4_4EEEEEDaSH_ Line | Count | Source | 101 | 28 | bool valid = cast_type(arguments[0].get(), [&](const auto& type) { | 102 | 28 | using DataType = std::decay_t<decltype(type)>; | 103 | | | 104 | | if constexpr (IsDataTypeDecimal<DataType>) { | 105 | | if constexpr (!allow_decimal) return false; | 106 | | result = std::make_shared<DataType>(type.get_precision(), type.get_scale()); | 107 | 28 | } else { | 108 | 28 | result = std::make_shared<typename PrimitiveTypeTraits<Op::ResultType>::DataType>(); | 109 | 28 | } | 110 | 28 | return true; | 111 | 28 | }); |
_ZZNK5doris23FunctionUnaryArithmeticINS_7AbsImplIiEENS_7NameAbsELNS_13PrimitiveTypeE5EE20get_return_type_implERKSt6vectorISt10shared_ptrIKNS_9IDataTypeEESaISA_EEENKUlRKT_E_clINS_14DataTypeNumberILS4_5EEEEEDaSH_ Line | Count | Source | 101 | 228 | bool valid = cast_type(arguments[0].get(), [&](const auto& type) { | 102 | 228 | using DataType = std::decay_t<decltype(type)>; | 103 | | | 104 | | if constexpr (IsDataTypeDecimal<DataType>) { | 105 | | if constexpr (!allow_decimal) return false; | 106 | | result = std::make_shared<DataType>(type.get_precision(), type.get_scale()); | 107 | 228 | } else { | 108 | 228 | result = std::make_shared<typename PrimitiveTypeTraits<Op::ResultType>::DataType>(); | 109 | 228 | } | 110 | 228 | return true; | 111 | 228 | }); |
_ZZNK5doris23FunctionUnaryArithmeticINS_7AbsImplIlEENS_7NameAbsELNS_13PrimitiveTypeE6EE20get_return_type_implERKSt6vectorISt10shared_ptrIKNS_9IDataTypeEESaISA_EEENKUlRKT_E_clINS_14DataTypeNumberILS4_6EEEEEDaSH_ Line | Count | Source | 101 | 152 | bool valid = cast_type(arguments[0].get(), [&](const auto& type) { | 102 | 152 | using DataType = std::decay_t<decltype(type)>; | 103 | | | 104 | | if constexpr (IsDataTypeDecimal<DataType>) { | 105 | | if constexpr (!allow_decimal) return false; | 106 | | result = std::make_shared<DataType>(type.get_precision(), type.get_scale()); | 107 | 152 | } else { | 108 | 152 | result = std::make_shared<typename PrimitiveTypeTraits<Op::ResultType>::DataType>(); | 109 | 152 | } | 110 | 152 | return true; | 111 | 152 | }); |
_ZZNK5doris23FunctionUnaryArithmeticINS_7AbsImplInEENS_7NameAbsELNS_13PrimitiveTypeE7EE20get_return_type_implERKSt6vectorISt10shared_ptrIKNS_9IDataTypeEESaISA_EEENKUlRKT_E_clINS_14DataTypeNumberILS4_7EEEEEDaSH_ Line | Count | Source | 101 | 4 | bool valid = cast_type(arguments[0].get(), [&](const auto& type) { | 102 | 4 | using DataType = std::decay_t<decltype(type)>; | 103 | | | 104 | | if constexpr (IsDataTypeDecimal<DataType>) { | 105 | | if constexpr (!allow_decimal) return false; | 106 | | result = std::make_shared<DataType>(type.get_precision(), type.get_scale()); | 107 | 4 | } else { | 108 | 4 | result = std::make_shared<typename PrimitiveTypeTraits<Op::ResultType>::DataType>(); | 109 | 4 | } | 110 | 4 | return true; | 111 | 4 | }); |
Unexecuted instantiation: _ZZNK5doris23FunctionUnaryArithmeticINS_7AbsImplIhEENS_7NameAbsELNS_13PrimitiveTypeE2EE20get_return_type_implERKSt6vectorISt10shared_ptrIKNS_9IDataTypeEESaISA_EEENKUlRKT_E_clINS_14DataTypeNumberILS4_2EEEEEDaSH_ _ZZNK5doris23FunctionUnaryArithmeticINS_7AbsImplINS_7DecimalIiEEEENS_7NameAbsELNS_13PrimitiveTypeE28EE20get_return_type_implERKSt6vectorISt10shared_ptrIKNS_9IDataTypeEESaISC_EEENKUlRKT_E_clINS_15DataTypeDecimalILS6_28EEEEEDaSJ_ Line | Count | Source | 101 | 18 | bool valid = cast_type(arguments[0].get(), [&](const auto& type) { | 102 | 18 | using DataType = std::decay_t<decltype(type)>; | 103 | | | 104 | 18 | if constexpr (IsDataTypeDecimal<DataType>) { | 105 | | if constexpr (!allow_decimal) return false; | 106 | 18 | result = std::make_shared<DataType>(type.get_precision(), type.get_scale()); | 107 | | } else { | 108 | | result = std::make_shared<typename PrimitiveTypeTraits<Op::ResultType>::DataType>(); | 109 | | } | 110 | 18 | return true; | 111 | 18 | }); |
_ZZNK5doris23FunctionUnaryArithmeticINS_7AbsImplINS_7DecimalIlEEEENS_7NameAbsELNS_13PrimitiveTypeE29EE20get_return_type_implERKSt6vectorISt10shared_ptrIKNS_9IDataTypeEESaISC_EEENKUlRKT_E_clINS_15DataTypeDecimalILS6_29EEEEEDaSJ_ Line | Count | Source | 101 | 35 | bool valid = cast_type(arguments[0].get(), [&](const auto& type) { | 102 | 35 | using DataType = std::decay_t<decltype(type)>; | 103 | | | 104 | 35 | if constexpr (IsDataTypeDecimal<DataType>) { | 105 | | if constexpr (!allow_decimal) return false; | 106 | 35 | result = std::make_shared<DataType>(type.get_precision(), type.get_scale()); | 107 | | } else { | 108 | | result = std::make_shared<typename PrimitiveTypeTraits<Op::ResultType>::DataType>(); | 109 | | } | 110 | 35 | return true; | 111 | 35 | }); |
_ZZNK5doris23FunctionUnaryArithmeticINS_7AbsImplINS_12Decimal128V3EEENS_7NameAbsELNS_13PrimitiveTypeE30EE20get_return_type_implERKSt6vectorISt10shared_ptrIKNS_9IDataTypeEESaISB_EEENKUlRKT_E_clINS_15DataTypeDecimalILS5_30EEEEEDaSI_ Line | Count | Source | 101 | 3 | bool valid = cast_type(arguments[0].get(), [&](const auto& type) { | 102 | 3 | using DataType = std::decay_t<decltype(type)>; | 103 | | | 104 | 3 | if constexpr (IsDataTypeDecimal<DataType>) { | 105 | | if constexpr (!allow_decimal) return false; | 106 | 3 | result = std::make_shared<DataType>(type.get_precision(), type.get_scale()); | 107 | | } else { | 108 | | result = std::make_shared<typename PrimitiveTypeTraits<Op::ResultType>::DataType>(); | 109 | | } | 110 | 3 | return true; | 111 | 3 | }); |
_ZZNK5doris23FunctionUnaryArithmeticINS_7AbsImplINS_14DecimalV2ValueEEENS_7NameAbsELNS_13PrimitiveTypeE20EE20get_return_type_implERKSt6vectorISt10shared_ptrIKNS_9IDataTypeEESaISB_EEENKUlRKT_E_clINS_15DataTypeDecimalILS5_20EEEEEDaSI_ Line | Count | Source | 101 | 1 | bool valid = cast_type(arguments[0].get(), [&](const auto& type) { | 102 | 1 | using DataType = std::decay_t<decltype(type)>; | 103 | | | 104 | 1 | if constexpr (IsDataTypeDecimal<DataType>) { | 105 | | if constexpr (!allow_decimal) return false; | 106 | 1 | result = std::make_shared<DataType>(type.get_precision(), type.get_scale()); | 107 | | } else { | 108 | | result = std::make_shared<typename PrimitiveTypeTraits<Op::ResultType>::DataType>(); | 109 | | } | 110 | 1 | return true; | 111 | 1 | }); |
_ZZNK5doris23FunctionUnaryArithmeticINS_7AbsImplINS_7DecimalIN4wide7integerILm256EiEEEEEENS_7NameAbsELNS_13PrimitiveTypeE35EE20get_return_type_implERKSt6vectorISt10shared_ptrIKNS_9IDataTypeEESaISF_EEENKUlRKT_E_clINS_15DataTypeDecimalILS9_35EEEEEDaSM_ Line | Count | Source | 101 | 2 | bool valid = cast_type(arguments[0].get(), [&](const auto& type) { | 102 | 2 | using DataType = std::decay_t<decltype(type)>; | 103 | | | 104 | 2 | if constexpr (IsDataTypeDecimal<DataType>) { | 105 | | if constexpr (!allow_decimal) return false; | 106 | 2 | result = std::make_shared<DataType>(type.get_precision(), type.get_scale()); | 107 | | } else { | 108 | | result = std::make_shared<typename PrimitiveTypeTraits<Op::ResultType>::DataType>(); | 109 | | } | 110 | 2 | return true; | 111 | 2 | }); |
_ZZNK5doris23FunctionUnaryArithmeticINS_7AbsImplIfEENS_7NameAbsELNS_13PrimitiveTypeE8EE20get_return_type_implERKSt6vectorISt10shared_ptrIKNS_9IDataTypeEESaISA_EEENKUlRKT_E_clINS_14DataTypeNumberILS4_8EEEEEDaSH_ Line | Count | Source | 101 | 14 | bool valid = cast_type(arguments[0].get(), [&](const auto& type) { | 102 | 14 | using DataType = std::decay_t<decltype(type)>; | 103 | | | 104 | | if constexpr (IsDataTypeDecimal<DataType>) { | 105 | | if constexpr (!allow_decimal) return false; | 106 | | result = std::make_shared<DataType>(type.get_precision(), type.get_scale()); | 107 | 14 | } else { | 108 | 14 | result = std::make_shared<typename PrimitiveTypeTraits<Op::ResultType>::DataType>(); | 109 | 14 | } | 110 | 14 | return true; | 111 | 14 | }); |
_ZZNK5doris23FunctionUnaryArithmeticINS_7AbsImplIdEENS_7NameAbsELNS_13PrimitiveTypeE9EE20get_return_type_implERKSt6vectorISt10shared_ptrIKNS_9IDataTypeEESaISA_EEENKUlRKT_E_clINS_14DataTypeNumberILS4_9EEEEEDaSH_ Line | Count | Source | 101 | 49 | bool valid = cast_type(arguments[0].get(), [&](const auto& type) { | 102 | 49 | using DataType = std::decay_t<decltype(type)>; | 103 | | | 104 | | if constexpr (IsDataTypeDecimal<DataType>) { | 105 | | if constexpr (!allow_decimal) return false; | 106 | | result = std::make_shared<DataType>(type.get_precision(), type.get_scale()); | 107 | 49 | } else { | 108 | 49 | result = std::make_shared<typename PrimitiveTypeTraits<Op::ResultType>::DataType>(); | 109 | 49 | } | 110 | 49 | return true; | 111 | 49 | }); |
_ZZNK5doris23FunctionUnaryArithmeticINS_12NegativeImplIdEENS_12NameNegativeELNS_13PrimitiveTypeE9EE20get_return_type_implERKSt6vectorISt10shared_ptrIKNS_9IDataTypeEESaISA_EEENKUlRKT_E_clINS_14DataTypeNumberILS4_9EEEEEDaSH_ Line | Count | Source | 101 | 11 | bool valid = cast_type(arguments[0].get(), [&](const auto& type) { | 102 | 11 | using DataType = std::decay_t<decltype(type)>; | 103 | | | 104 | | if constexpr (IsDataTypeDecimal<DataType>) { | 105 | | if constexpr (!allow_decimal) return false; | 106 | | result = std::make_shared<DataType>(type.get_precision(), type.get_scale()); | 107 | 11 | } else { | 108 | 11 | result = std::make_shared<typename PrimitiveTypeTraits<Op::ResultType>::DataType>(); | 109 | 11 | } | 110 | 11 | return true; | 111 | 11 | }); |
_ZZNK5doris23FunctionUnaryArithmeticINS_12NegativeImplIlEENS_12NameNegativeELNS_13PrimitiveTypeE6EE20get_return_type_implERKSt6vectorISt10shared_ptrIKNS_9IDataTypeEESaISA_EEENKUlRKT_E_clINS_14DataTypeNumberILS4_6EEEEEDaSH_ Line | Count | Source | 101 | 18 | bool valid = cast_type(arguments[0].get(), [&](const auto& type) { | 102 | 18 | using DataType = std::decay_t<decltype(type)>; | 103 | | | 104 | | if constexpr (IsDataTypeDecimal<DataType>) { | 105 | | if constexpr (!allow_decimal) return false; | 106 | | result = std::make_shared<DataType>(type.get_precision(), type.get_scale()); | 107 | 18 | } else { | 108 | 18 | result = std::make_shared<typename PrimitiveTypeTraits<Op::ResultType>::DataType>(); | 109 | 18 | } | 110 | 18 | return true; | 111 | 18 | }); |
Unexecuted instantiation: _ZZNK5doris23FunctionUnaryArithmeticINS_12NegativeImplINS_14DecimalV2ValueEEENS_12NameNegativeELNS_13PrimitiveTypeE20EE20get_return_type_implERKSt6vectorISt10shared_ptrIKNS_9IDataTypeEESaISB_EEENKUlRKT_E_clINS_15DataTypeDecimalILS5_20EEEEEDaSI_ Unexecuted instantiation: _ZZNK5doris23FunctionUnaryArithmeticINS_12NegativeImplINS_7DecimalIN4wide7integerILm256EiEEEEEENS_12NameNegativeELNS_13PrimitiveTypeE35EE20get_return_type_implERKSt6vectorISt10shared_ptrIKNS_9IDataTypeEESaISF_EEENKUlRKT_E_clINS_15DataTypeDecimalILS9_35EEEEEDaSM_ Unexecuted instantiation: _ZZNK5doris23FunctionUnaryArithmeticINS_12NegativeImplINS_12Decimal128V3EEENS_12NameNegativeELNS_13PrimitiveTypeE30EE20get_return_type_implERKSt6vectorISt10shared_ptrIKNS_9IDataTypeEESaISB_EEENKUlRKT_E_clINS_15DataTypeDecimalILS5_30EEEEEDaSI_ _ZZNK5doris23FunctionUnaryArithmeticINS_12NegativeImplINS_7DecimalIiEEEENS_12NameNegativeELNS_13PrimitiveTypeE28EE20get_return_type_implERKSt6vectorISt10shared_ptrIKNS_9IDataTypeEESaISC_EEENKUlRKT_E_clINS_15DataTypeDecimalILS6_28EEEEEDaSJ_ Line | Count | Source | 101 | 6 | bool valid = cast_type(arguments[0].get(), [&](const auto& type) { | 102 | 6 | using DataType = std::decay_t<decltype(type)>; | 103 | | | 104 | 6 | if constexpr (IsDataTypeDecimal<DataType>) { | 105 | | if constexpr (!allow_decimal) return false; | 106 | 6 | result = std::make_shared<DataType>(type.get_precision(), type.get_scale()); | 107 | | } else { | 108 | | result = std::make_shared<typename PrimitiveTypeTraits<Op::ResultType>::DataType>(); | 109 | | } | 110 | 6 | return true; | 111 | 6 | }); |
Unexecuted instantiation: _ZZNK5doris23FunctionUnaryArithmeticINS_12NegativeImplINS_7DecimalIlEEEENS_12NameNegativeELNS_13PrimitiveTypeE29EE20get_return_type_implERKSt6vectorISt10shared_ptrIKNS_9IDataTypeEESaISC_EEENKUlRKT_E_clINS_15DataTypeDecimalILS6_29EEEEEDaSJ_ _ZZNK5doris23FunctionUnaryArithmeticINS_12PositiveImplINS_7DecimalIiEEEENS_12NamePositiveELNS_13PrimitiveTypeE28EE20get_return_type_implERKSt6vectorISt10shared_ptrIKNS_9IDataTypeEESaISC_EEENKUlRKT_E_clINS_15DataTypeDecimalILS6_28EEEEEDaSJ_ Line | Count | Source | 101 | 4 | bool valid = cast_type(arguments[0].get(), [&](const auto& type) { | 102 | 4 | using DataType = std::decay_t<decltype(type)>; | 103 | | | 104 | 4 | if constexpr (IsDataTypeDecimal<DataType>) { | 105 | | if constexpr (!allow_decimal) return false; | 106 | 4 | result = std::make_shared<DataType>(type.get_precision(), type.get_scale()); | 107 | | } else { | 108 | | result = std::make_shared<typename PrimitiveTypeTraits<Op::ResultType>::DataType>(); | 109 | | } | 110 | 4 | return true; | 111 | 4 | }); |
_ZZNK5doris23FunctionUnaryArithmeticINS_12PositiveImplINS_7DecimalIlEEEENS_12NamePositiveELNS_13PrimitiveTypeE29EE20get_return_type_implERKSt6vectorISt10shared_ptrIKNS_9IDataTypeEESaISC_EEENKUlRKT_E_clINS_15DataTypeDecimalILS6_29EEEEEDaSJ_ Line | Count | Source | 101 | 3 | bool valid = cast_type(arguments[0].get(), [&](const auto& type) { | 102 | 3 | using DataType = std::decay_t<decltype(type)>; | 103 | | | 104 | 3 | if constexpr (IsDataTypeDecimal<DataType>) { | 105 | | if constexpr (!allow_decimal) return false; | 106 | 3 | result = std::make_shared<DataType>(type.get_precision(), type.get_scale()); | 107 | | } else { | 108 | | result = std::make_shared<typename PrimitiveTypeTraits<Op::ResultType>::DataType>(); | 109 | | } | 110 | 3 | return true; | 111 | 3 | }); |
_ZZNK5doris23FunctionUnaryArithmeticINS_12PositiveImplINS_12Decimal128V3EEENS_12NamePositiveELNS_13PrimitiveTypeE30EE20get_return_type_implERKSt6vectorISt10shared_ptrIKNS_9IDataTypeEESaISB_EEENKUlRKT_E_clINS_15DataTypeDecimalILS5_30EEEEEDaSI_ Line | Count | Source | 101 | 2 | bool valid = cast_type(arguments[0].get(), [&](const auto& type) { | 102 | 2 | using DataType = std::decay_t<decltype(type)>; | 103 | | | 104 | 2 | if constexpr (IsDataTypeDecimal<DataType>) { | 105 | | if constexpr (!allow_decimal) return false; | 106 | 2 | result = std::make_shared<DataType>(type.get_precision(), type.get_scale()); | 107 | | } else { | 108 | | result = std::make_shared<typename PrimitiveTypeTraits<Op::ResultType>::DataType>(); | 109 | | } | 110 | 2 | return true; | 111 | 2 | }); |
Unexecuted instantiation: _ZZNK5doris23FunctionUnaryArithmeticINS_12PositiveImplINS_14DecimalV2ValueEEENS_12NamePositiveELNS_13PrimitiveTypeE20EE20get_return_type_implERKSt6vectorISt10shared_ptrIKNS_9IDataTypeEESaISB_EEENKUlRKT_E_clINS_15DataTypeDecimalILS5_20EEEEEDaSI_ Unexecuted instantiation: _ZZNK5doris23FunctionUnaryArithmeticINS_12PositiveImplINS_7DecimalIN4wide7integerILm256EiEEEEEENS_12NamePositiveELNS_13PrimitiveTypeE35EE20get_return_type_implERKSt6vectorISt10shared_ptrIKNS_9IDataTypeEESaISF_EEENKUlRKT_E_clINS_15DataTypeDecimalILS9_35EEEEEDaSM_ _ZZNK5doris23FunctionUnaryArithmeticINS_12PositiveImplIdEENS_12NamePositiveELNS_13PrimitiveTypeE9EE20get_return_type_implERKSt6vectorISt10shared_ptrIKNS_9IDataTypeEESaISA_EEENKUlRKT_E_clINS_14DataTypeNumberILS4_9EEEEEDaSH_ Line | Count | Source | 101 | 3 | bool valid = cast_type(arguments[0].get(), [&](const auto& type) { | 102 | 3 | using DataType = std::decay_t<decltype(type)>; | 103 | | | 104 | | if constexpr (IsDataTypeDecimal<DataType>) { | 105 | | if constexpr (!allow_decimal) return false; | 106 | | result = std::make_shared<DataType>(type.get_precision(), type.get_scale()); | 107 | 3 | } else { | 108 | 3 | result = std::make_shared<typename PrimitiveTypeTraits<Op::ResultType>::DataType>(); | 109 | 3 | } | 110 | 3 | return true; | 111 | 3 | }); |
_ZZNK5doris23FunctionUnaryArithmeticINS_12PositiveImplIlEENS_12NamePositiveELNS_13PrimitiveTypeE6EE20get_return_type_implERKSt6vectorISt10shared_ptrIKNS_9IDataTypeEESaISA_EEENKUlRKT_E_clINS_14DataTypeNumberILS4_6EEEEEDaSH_ Line | Count | Source | 101 | 8 | bool valid = cast_type(arguments[0].get(), [&](const auto& type) { | 102 | 8 | using DataType = std::decay_t<decltype(type)>; | 103 | | | 104 | | if constexpr (IsDataTypeDecimal<DataType>) { | 105 | | if constexpr (!allow_decimal) return false; | 106 | | result = std::make_shared<DataType>(type.get_precision(), type.get_scale()); | 107 | 8 | } else { | 108 | 8 | result = std::make_shared<typename PrimitiveTypeTraits<Op::ResultType>::DataType>(); | 109 | 8 | } | 110 | 8 | return true; | 111 | 8 | }); |
_ZZNK5doris23FunctionUnaryArithmeticINS_11RadiansImplIdEENS_11NameRadiansELNS_13PrimitiveTypeE9EE20get_return_type_implERKSt6vectorISt10shared_ptrIKNS_9IDataTypeEESaISA_EEENKUlRKT_E_clINS_14DataTypeNumberILS4_9EEEEEDaSH_ Line | Count | Source | 101 | 12 | bool valid = cast_type(arguments[0].get(), [&](const auto& type) { | 102 | 12 | using DataType = std::decay_t<decltype(type)>; | 103 | | | 104 | | if constexpr (IsDataTypeDecimal<DataType>) { | 105 | | if constexpr (!allow_decimal) return false; | 106 | | result = std::make_shared<DataType>(type.get_precision(), type.get_scale()); | 107 | 12 | } else { | 108 | 12 | result = std::make_shared<typename PrimitiveTypeTraits<Op::ResultType>::DataType>(); | 109 | 12 | } | 110 | 12 | return true; | 111 | 12 | }); |
_ZZNK5doris23FunctionUnaryArithmeticINS_11DegreesImplIdEENS_11NameDegreesELNS_13PrimitiveTypeE9EE20get_return_type_implERKSt6vectorISt10shared_ptrIKNS_9IDataTypeEESaISA_EEENKUlRKT_E_clINS_14DataTypeNumberILS4_9EEEEEDaSH_ Line | Count | Source | 101 | 16 | bool valid = cast_type(arguments[0].get(), [&](const auto& type) { | 102 | 16 | using DataType = std::decay_t<decltype(type)>; | 103 | | | 104 | | if constexpr (IsDataTypeDecimal<DataType>) { | 105 | | if constexpr (!allow_decimal) return false; | 106 | | result = std::make_shared<DataType>(type.get_precision(), type.get_scale()); | 107 | 16 | } else { | 108 | 16 | result = std::make_shared<typename PrimitiveTypeTraits<Op::ResultType>::DataType>(); | 109 | 16 | } | 110 | 16 | return true; | 111 | 16 | }); |
_ZZNK5doris23FunctionUnaryArithmeticINS_11SignBitImplIdEENS_11NameSignBitELNS_13PrimitiveTypeE9EE20get_return_type_implERKSt6vectorISt10shared_ptrIKNS_9IDataTypeEESaISA_EEENKUlRKT_E_clINS_14DataTypeNumberILS4_9EEEEEDaSH_ Line | Count | Source | 101 | 12 | bool valid = cast_type(arguments[0].get(), [&](const auto& type) { | 102 | 12 | using DataType = std::decay_t<decltype(type)>; | 103 | | | 104 | | if constexpr (IsDataTypeDecimal<DataType>) { | 105 | | if constexpr (!allow_decimal) return false; | 106 | | result = std::make_shared<DataType>(type.get_precision(), type.get_scale()); | 107 | 12 | } else { | 108 | 12 | result = std::make_shared<typename PrimitiveTypeTraits<Op::ResultType>::DataType>(); | 109 | 12 | } | 110 | 12 | return true; | 111 | 12 | }); |
_ZZNK5doris23FunctionUnaryArithmeticINS_10BitNotImplIaEENS_10NameBitNotELNS_13PrimitiveTypeE3EE20get_return_type_implERKSt6vectorISt10shared_ptrIKNS_9IDataTypeEESaISA_EEENKUlRKT_E_clINS_14DataTypeNumberILS4_3EEEEEDaSH_ Line | Count | Source | 101 | 2 | bool valid = cast_type(arguments[0].get(), [&](const auto& type) { | 102 | 2 | using DataType = std::decay_t<decltype(type)>; | 103 | | | 104 | | if constexpr (IsDataTypeDecimal<DataType>) { | 105 | | if constexpr (!allow_decimal) return false; | 106 | | result = std::make_shared<DataType>(type.get_precision(), type.get_scale()); | 107 | 2 | } else { | 108 | 2 | result = std::make_shared<typename PrimitiveTypeTraits<Op::ResultType>::DataType>(); | 109 | 2 | } | 110 | 2 | return true; | 111 | 2 | }); |
Unexecuted instantiation: _ZZNK5doris23FunctionUnaryArithmeticINS_10BitNotImplIsEENS_10NameBitNotELNS_13PrimitiveTypeE4EE20get_return_type_implERKSt6vectorISt10shared_ptrIKNS_9IDataTypeEESaISA_EEENKUlRKT_E_clINS_14DataTypeNumberILS4_4EEEEEDaSH_ _ZZNK5doris23FunctionUnaryArithmeticINS_10BitNotImplIiEENS_10NameBitNotELNS_13PrimitiveTypeE5EE20get_return_type_implERKSt6vectorISt10shared_ptrIKNS_9IDataTypeEESaISA_EEENKUlRKT_E_clINS_14DataTypeNumberILS4_5EEEEEDaSH_ Line | Count | Source | 101 | 1 | bool valid = cast_type(arguments[0].get(), [&](const auto& type) { | 102 | 1 | using DataType = std::decay_t<decltype(type)>; | 103 | | | 104 | | if constexpr (IsDataTypeDecimal<DataType>) { | 105 | | if constexpr (!allow_decimal) return false; | 106 | | result = std::make_shared<DataType>(type.get_precision(), type.get_scale()); | 107 | 1 | } else { | 108 | 1 | result = std::make_shared<typename PrimitiveTypeTraits<Op::ResultType>::DataType>(); | 109 | 1 | } | 110 | 1 | return true; | 111 | 1 | }); |
_ZZNK5doris23FunctionUnaryArithmeticINS_10BitNotImplIlEENS_10NameBitNotELNS_13PrimitiveTypeE6EE20get_return_type_implERKSt6vectorISt10shared_ptrIKNS_9IDataTypeEESaISA_EEENKUlRKT_E_clINS_14DataTypeNumberILS4_6EEEEEDaSH_ Line | Count | Source | 101 | 4 | bool valid = cast_type(arguments[0].get(), [&](const auto& type) { | 102 | 4 | using DataType = std::decay_t<decltype(type)>; | 103 | | | 104 | | if constexpr (IsDataTypeDecimal<DataType>) { | 105 | | if constexpr (!allow_decimal) return false; | 106 | | result = std::make_shared<DataType>(type.get_precision(), type.get_scale()); | 107 | 4 | } else { | 108 | 4 | result = std::make_shared<typename PrimitiveTypeTraits<Op::ResultType>::DataType>(); | 109 | 4 | } | 110 | 4 | return true; | 111 | 4 | }); |
Unexecuted instantiation: _ZZNK5doris23FunctionUnaryArithmeticINS_10BitNotImplInEENS_10NameBitNotELNS_13PrimitiveTypeE7EE20get_return_type_implERKSt6vectorISt10shared_ptrIKNS_9IDataTypeEESaISA_EEENKUlRKT_E_clINS_14DataTypeNumberILS4_7EEEEEDaSH_ _ZZNK5doris23FunctionUnaryArithmeticINS_12BitCountImplIaEENS_12NameBitCountELNS_13PrimitiveTypeE3EE20get_return_type_implERKSt6vectorISt10shared_ptrIKNS_9IDataTypeEESaISA_EEENKUlRKT_E_clINS_14DataTypeNumberILS4_3EEEEEDaSH_ Line | Count | Source | 101 | 7 | bool valid = cast_type(arguments[0].get(), [&](const auto& type) { | 102 | 7 | using DataType = std::decay_t<decltype(type)>; | 103 | | | 104 | | if constexpr (IsDataTypeDecimal<DataType>) { | 105 | | if constexpr (!allow_decimal) return false; | 106 | | result = std::make_shared<DataType>(type.get_precision(), type.get_scale()); | 107 | 7 | } else { | 108 | 7 | result = std::make_shared<typename PrimitiveTypeTraits<Op::ResultType>::DataType>(); | 109 | 7 | } | 110 | 7 | return true; | 111 | 7 | }); |
_ZZNK5doris23FunctionUnaryArithmeticINS_12BitCountImplIsEENS_12NameBitCountELNS_13PrimitiveTypeE4EE20get_return_type_implERKSt6vectorISt10shared_ptrIKNS_9IDataTypeEESaISA_EEENKUlRKT_E_clINS_14DataTypeNumberILS4_4EEEEEDaSH_ Line | Count | Source | 101 | 1 | bool valid = cast_type(arguments[0].get(), [&](const auto& type) { | 102 | 1 | using DataType = std::decay_t<decltype(type)>; | 103 | | | 104 | | if constexpr (IsDataTypeDecimal<DataType>) { | 105 | | if constexpr (!allow_decimal) return false; | 106 | | result = std::make_shared<DataType>(type.get_precision(), type.get_scale()); | 107 | 1 | } else { | 108 | 1 | result = std::make_shared<typename PrimitiveTypeTraits<Op::ResultType>::DataType>(); | 109 | 1 | } | 110 | 1 | return true; | 111 | 1 | }); |
_ZZNK5doris23FunctionUnaryArithmeticINS_12BitCountImplIiEENS_12NameBitCountELNS_13PrimitiveTypeE5EE20get_return_type_implERKSt6vectorISt10shared_ptrIKNS_9IDataTypeEESaISA_EEENKUlRKT_E_clINS_14DataTypeNumberILS4_5EEEEEDaSH_ Line | Count | Source | 101 | 2 | bool valid = cast_type(arguments[0].get(), [&](const auto& type) { | 102 | 2 | using DataType = std::decay_t<decltype(type)>; | 103 | | | 104 | | if constexpr (IsDataTypeDecimal<DataType>) { | 105 | | if constexpr (!allow_decimal) return false; | 106 | | result = std::make_shared<DataType>(type.get_precision(), type.get_scale()); | 107 | 2 | } else { | 108 | 2 | result = std::make_shared<typename PrimitiveTypeTraits<Op::ResultType>::DataType>(); | 109 | 2 | } | 110 | 2 | return true; | 111 | 2 | }); |
_ZZNK5doris23FunctionUnaryArithmeticINS_12BitCountImplIlEENS_12NameBitCountELNS_13PrimitiveTypeE6EE20get_return_type_implERKSt6vectorISt10shared_ptrIKNS_9IDataTypeEESaISA_EEENKUlRKT_E_clINS_14DataTypeNumberILS4_6EEEEEDaSH_ Line | Count | Source | 101 | 8 | bool valid = cast_type(arguments[0].get(), [&](const auto& type) { | 102 | 8 | using DataType = std::decay_t<decltype(type)>; | 103 | | | 104 | | if constexpr (IsDataTypeDecimal<DataType>) { | 105 | | if constexpr (!allow_decimal) return false; | 106 | | result = std::make_shared<DataType>(type.get_precision(), type.get_scale()); | 107 | 8 | } else { | 108 | 8 | result = std::make_shared<typename PrimitiveTypeTraits<Op::ResultType>::DataType>(); | 109 | 8 | } | 110 | 8 | return true; | 111 | 8 | }); |
Unexecuted instantiation: _ZZNK5doris23FunctionUnaryArithmeticINS_12BitCountImplInEENS_12NameBitCountELNS_13PrimitiveTypeE7EE20get_return_type_implERKSt6vectorISt10shared_ptrIKNS_9IDataTypeEESaISA_EEENKUlRKT_E_clINS_14DataTypeNumberILS4_7EEEEEDaSH_ |
112 | 708 | if (!valid) { |
113 | 0 | throw doris::Exception(ErrorCode::INVALID_ARGUMENT, |
114 | 0 | "Illegal type {} of argument of function {}", |
115 | 0 | arguments[0]->get_name(), get_name()); |
116 | 0 | } |
117 | 708 | return result; |
118 | 708 | } _ZNK5doris23FunctionUnaryArithmeticINS_8SignImplIdEENS_8NameSignELNS_13PrimitiveTypeE9EE20get_return_type_implERKSt6vectorISt10shared_ptrIKNS_9IDataTypeEESaISA_EE Line | Count | Source | 99 | 14 | DataTypePtr get_return_type_impl(const DataTypes& arguments) const override { | 100 | 14 | DataTypePtr result; | 101 | 14 | bool valid = cast_type(arguments[0].get(), [&](const auto& type) { | 102 | 14 | using DataType = std::decay_t<decltype(type)>; | 103 | | | 104 | 14 | if constexpr (IsDataTypeDecimal<DataType>) { | 105 | 14 | if constexpr (!allow_decimal) return false; | 106 | 14 | result = std::make_shared<DataType>(type.get_precision(), type.get_scale()); | 107 | 14 | } else { | 108 | 14 | result = std::make_shared<typename PrimitiveTypeTraits<Op::ResultType>::DataType>(); | 109 | 14 | } | 110 | 14 | return true; | 111 | 14 | }); | 112 | 14 | if (!valid) { | 113 | 0 | throw doris::Exception(ErrorCode::INVALID_ARGUMENT, | 114 | 0 | "Illegal type {} of argument of function {}", | 115 | 0 | arguments[0]->get_name(), get_name()); | 116 | 0 | } | 117 | 14 | return result; | 118 | 14 | } |
_ZNK5doris23FunctionUnaryArithmeticINS_7AbsImplIaEENS_7NameAbsELNS_13PrimitiveTypeE3EE20get_return_type_implERKSt6vectorISt10shared_ptrIKNS_9IDataTypeEESaISA_EE Line | Count | Source | 99 | 41 | DataTypePtr get_return_type_impl(const DataTypes& arguments) const override { | 100 | 41 | DataTypePtr result; | 101 | 41 | bool valid = cast_type(arguments[0].get(), [&](const auto& type) { | 102 | 41 | using DataType = std::decay_t<decltype(type)>; | 103 | | | 104 | 41 | if constexpr (IsDataTypeDecimal<DataType>) { | 105 | 41 | if constexpr (!allow_decimal) return false; | 106 | 41 | result = std::make_shared<DataType>(type.get_precision(), type.get_scale()); | 107 | 41 | } else { | 108 | 41 | result = std::make_shared<typename PrimitiveTypeTraits<Op::ResultType>::DataType>(); | 109 | 41 | } | 110 | 41 | return true; | 111 | 41 | }); | 112 | 41 | if (!valid) { | 113 | 0 | throw doris::Exception(ErrorCode::INVALID_ARGUMENT, | 114 | 0 | "Illegal type {} of argument of function {}", | 115 | 0 | arguments[0]->get_name(), get_name()); | 116 | 0 | } | 117 | 41 | return result; | 118 | 41 | } |
_ZNK5doris23FunctionUnaryArithmeticINS_7AbsImplIsEENS_7NameAbsELNS_13PrimitiveTypeE4EE20get_return_type_implERKSt6vectorISt10shared_ptrIKNS_9IDataTypeEESaISA_EE Line | Count | Source | 99 | 28 | DataTypePtr get_return_type_impl(const DataTypes& arguments) const override { | 100 | 28 | DataTypePtr result; | 101 | 28 | bool valid = cast_type(arguments[0].get(), [&](const auto& type) { | 102 | 28 | using DataType = std::decay_t<decltype(type)>; | 103 | | | 104 | 28 | if constexpr (IsDataTypeDecimal<DataType>) { | 105 | 28 | if constexpr (!allow_decimal) return false; | 106 | 28 | result = std::make_shared<DataType>(type.get_precision(), type.get_scale()); | 107 | 28 | } else { | 108 | 28 | result = std::make_shared<typename PrimitiveTypeTraits<Op::ResultType>::DataType>(); | 109 | 28 | } | 110 | 28 | return true; | 111 | 28 | }); | 112 | 28 | if (!valid) { | 113 | 0 | throw doris::Exception(ErrorCode::INVALID_ARGUMENT, | 114 | 0 | "Illegal type {} of argument of function {}", | 115 | 0 | arguments[0]->get_name(), get_name()); | 116 | 0 | } | 117 | 28 | return result; | 118 | 28 | } |
_ZNK5doris23FunctionUnaryArithmeticINS_7AbsImplIiEENS_7NameAbsELNS_13PrimitiveTypeE5EE20get_return_type_implERKSt6vectorISt10shared_ptrIKNS_9IDataTypeEESaISA_EE Line | Count | Source | 99 | 228 | DataTypePtr get_return_type_impl(const DataTypes& arguments) const override { | 100 | 228 | DataTypePtr result; | 101 | 228 | bool valid = cast_type(arguments[0].get(), [&](const auto& type) { | 102 | 228 | using DataType = std::decay_t<decltype(type)>; | 103 | | | 104 | 228 | if constexpr (IsDataTypeDecimal<DataType>) { | 105 | 228 | if constexpr (!allow_decimal) return false; | 106 | 228 | result = std::make_shared<DataType>(type.get_precision(), type.get_scale()); | 107 | 228 | } else { | 108 | 228 | result = std::make_shared<typename PrimitiveTypeTraits<Op::ResultType>::DataType>(); | 109 | 228 | } | 110 | 228 | return true; | 111 | 228 | }); | 112 | 228 | if (!valid) { | 113 | 0 | throw doris::Exception(ErrorCode::INVALID_ARGUMENT, | 114 | 0 | "Illegal type {} of argument of function {}", | 115 | 0 | arguments[0]->get_name(), get_name()); | 116 | 0 | } | 117 | 228 | return result; | 118 | 228 | } |
_ZNK5doris23FunctionUnaryArithmeticINS_7AbsImplIlEENS_7NameAbsELNS_13PrimitiveTypeE6EE20get_return_type_implERKSt6vectorISt10shared_ptrIKNS_9IDataTypeEESaISA_EE Line | Count | Source | 99 | 151 | DataTypePtr get_return_type_impl(const DataTypes& arguments) const override { | 100 | 151 | DataTypePtr result; | 101 | 151 | bool valid = cast_type(arguments[0].get(), [&](const auto& type) { | 102 | 151 | using DataType = std::decay_t<decltype(type)>; | 103 | | | 104 | 151 | if constexpr (IsDataTypeDecimal<DataType>) { | 105 | 151 | if constexpr (!allow_decimal) return false; | 106 | 151 | result = std::make_shared<DataType>(type.get_precision(), type.get_scale()); | 107 | 151 | } else { | 108 | 151 | result = std::make_shared<typename PrimitiveTypeTraits<Op::ResultType>::DataType>(); | 109 | 151 | } | 110 | 151 | return true; | 111 | 151 | }); | 112 | 151 | if (!valid) { | 113 | 0 | throw doris::Exception(ErrorCode::INVALID_ARGUMENT, | 114 | 0 | "Illegal type {} of argument of function {}", | 115 | 0 | arguments[0]->get_name(), get_name()); | 116 | 0 | } | 117 | 151 | return result; | 118 | 151 | } |
_ZNK5doris23FunctionUnaryArithmeticINS_7AbsImplInEENS_7NameAbsELNS_13PrimitiveTypeE7EE20get_return_type_implERKSt6vectorISt10shared_ptrIKNS_9IDataTypeEESaISA_EE Line | Count | Source | 99 | 4 | DataTypePtr get_return_type_impl(const DataTypes& arguments) const override { | 100 | 4 | DataTypePtr result; | 101 | 4 | bool valid = cast_type(arguments[0].get(), [&](const auto& type) { | 102 | 4 | using DataType = std::decay_t<decltype(type)>; | 103 | | | 104 | 4 | if constexpr (IsDataTypeDecimal<DataType>) { | 105 | 4 | if constexpr (!allow_decimal) return false; | 106 | 4 | result = std::make_shared<DataType>(type.get_precision(), type.get_scale()); | 107 | 4 | } else { | 108 | 4 | result = std::make_shared<typename PrimitiveTypeTraits<Op::ResultType>::DataType>(); | 109 | 4 | } | 110 | 4 | return true; | 111 | 4 | }); | 112 | 4 | if (!valid) { | 113 | 0 | throw doris::Exception(ErrorCode::INVALID_ARGUMENT, | 114 | 0 | "Illegal type {} of argument of function {}", | 115 | 0 | arguments[0]->get_name(), get_name()); | 116 | 0 | } | 117 | 4 | return result; | 118 | 4 | } |
Unexecuted instantiation: _ZNK5doris23FunctionUnaryArithmeticINS_7AbsImplIhEENS_7NameAbsELNS_13PrimitiveTypeE2EE20get_return_type_implERKSt6vectorISt10shared_ptrIKNS_9IDataTypeEESaISA_EE _ZNK5doris23FunctionUnaryArithmeticINS_7AbsImplINS_7DecimalIiEEEENS_7NameAbsELNS_13PrimitiveTypeE28EE20get_return_type_implERKSt6vectorISt10shared_ptrIKNS_9IDataTypeEESaISC_EE Line | Count | Source | 99 | 18 | DataTypePtr get_return_type_impl(const DataTypes& arguments) const override { | 100 | 18 | DataTypePtr result; | 101 | 18 | bool valid = cast_type(arguments[0].get(), [&](const auto& type) { | 102 | 18 | using DataType = std::decay_t<decltype(type)>; | 103 | | | 104 | 18 | if constexpr (IsDataTypeDecimal<DataType>) { | 105 | 18 | if constexpr (!allow_decimal) return false; | 106 | 18 | result = std::make_shared<DataType>(type.get_precision(), type.get_scale()); | 107 | 18 | } else { | 108 | 18 | result = std::make_shared<typename PrimitiveTypeTraits<Op::ResultType>::DataType>(); | 109 | 18 | } | 110 | 18 | return true; | 111 | 18 | }); | 112 | 18 | if (!valid) { | 113 | 0 | throw doris::Exception(ErrorCode::INVALID_ARGUMENT, | 114 | 0 | "Illegal type {} of argument of function {}", | 115 | 0 | arguments[0]->get_name(), get_name()); | 116 | 0 | } | 117 | 18 | return result; | 118 | 18 | } |
_ZNK5doris23FunctionUnaryArithmeticINS_7AbsImplINS_7DecimalIlEEEENS_7NameAbsELNS_13PrimitiveTypeE29EE20get_return_type_implERKSt6vectorISt10shared_ptrIKNS_9IDataTypeEESaISC_EE Line | Count | Source | 99 | 35 | DataTypePtr get_return_type_impl(const DataTypes& arguments) const override { | 100 | 35 | DataTypePtr result; | 101 | 35 | bool valid = cast_type(arguments[0].get(), [&](const auto& type) { | 102 | 35 | using DataType = std::decay_t<decltype(type)>; | 103 | | | 104 | 35 | if constexpr (IsDataTypeDecimal<DataType>) { | 105 | 35 | if constexpr (!allow_decimal) return false; | 106 | 35 | result = std::make_shared<DataType>(type.get_precision(), type.get_scale()); | 107 | 35 | } else { | 108 | 35 | result = std::make_shared<typename PrimitiveTypeTraits<Op::ResultType>::DataType>(); | 109 | 35 | } | 110 | 35 | return true; | 111 | 35 | }); | 112 | 35 | if (!valid) { | 113 | 0 | throw doris::Exception(ErrorCode::INVALID_ARGUMENT, | 114 | 0 | "Illegal type {} of argument of function {}", | 115 | 0 | arguments[0]->get_name(), get_name()); | 116 | 0 | } | 117 | 35 | return result; | 118 | 35 | } |
_ZNK5doris23FunctionUnaryArithmeticINS_7AbsImplINS_12Decimal128V3EEENS_7NameAbsELNS_13PrimitiveTypeE30EE20get_return_type_implERKSt6vectorISt10shared_ptrIKNS_9IDataTypeEESaISB_EE Line | Count | Source | 99 | 3 | DataTypePtr get_return_type_impl(const DataTypes& arguments) const override { | 100 | 3 | DataTypePtr result; | 101 | 3 | bool valid = cast_type(arguments[0].get(), [&](const auto& type) { | 102 | 3 | using DataType = std::decay_t<decltype(type)>; | 103 | | | 104 | 3 | if constexpr (IsDataTypeDecimal<DataType>) { | 105 | 3 | if constexpr (!allow_decimal) return false; | 106 | 3 | result = std::make_shared<DataType>(type.get_precision(), type.get_scale()); | 107 | 3 | } else { | 108 | 3 | result = std::make_shared<typename PrimitiveTypeTraits<Op::ResultType>::DataType>(); | 109 | 3 | } | 110 | 3 | return true; | 111 | 3 | }); | 112 | 3 | if (!valid) { | 113 | 0 | throw doris::Exception(ErrorCode::INVALID_ARGUMENT, | 114 | 0 | "Illegal type {} of argument of function {}", | 115 | 0 | arguments[0]->get_name(), get_name()); | 116 | 0 | } | 117 | 3 | return result; | 118 | 3 | } |
_ZNK5doris23FunctionUnaryArithmeticINS_7AbsImplINS_14DecimalV2ValueEEENS_7NameAbsELNS_13PrimitiveTypeE20EE20get_return_type_implERKSt6vectorISt10shared_ptrIKNS_9IDataTypeEESaISB_EE Line | Count | Source | 99 | 1 | DataTypePtr get_return_type_impl(const DataTypes& arguments) const override { | 100 | 1 | DataTypePtr result; | 101 | 1 | bool valid = cast_type(arguments[0].get(), [&](const auto& type) { | 102 | 1 | using DataType = std::decay_t<decltype(type)>; | 103 | | | 104 | 1 | if constexpr (IsDataTypeDecimal<DataType>) { | 105 | 1 | if constexpr (!allow_decimal) return false; | 106 | 1 | result = std::make_shared<DataType>(type.get_precision(), type.get_scale()); | 107 | 1 | } else { | 108 | 1 | result = std::make_shared<typename PrimitiveTypeTraits<Op::ResultType>::DataType>(); | 109 | 1 | } | 110 | 1 | return true; | 111 | 1 | }); | 112 | 1 | if (!valid) { | 113 | 0 | throw doris::Exception(ErrorCode::INVALID_ARGUMENT, | 114 | 0 | "Illegal type {} of argument of function {}", | 115 | 0 | arguments[0]->get_name(), get_name()); | 116 | 0 | } | 117 | 1 | return result; | 118 | 1 | } |
_ZNK5doris23FunctionUnaryArithmeticINS_7AbsImplINS_7DecimalIN4wide7integerILm256EiEEEEEENS_7NameAbsELNS_13PrimitiveTypeE35EE20get_return_type_implERKSt6vectorISt10shared_ptrIKNS_9IDataTypeEESaISF_EE Line | Count | Source | 99 | 2 | DataTypePtr get_return_type_impl(const DataTypes& arguments) const override { | 100 | 2 | DataTypePtr result; | 101 | 2 | bool valid = cast_type(arguments[0].get(), [&](const auto& type) { | 102 | 2 | using DataType = std::decay_t<decltype(type)>; | 103 | | | 104 | 2 | if constexpr (IsDataTypeDecimal<DataType>) { | 105 | 2 | if constexpr (!allow_decimal) return false; | 106 | 2 | result = std::make_shared<DataType>(type.get_precision(), type.get_scale()); | 107 | 2 | } else { | 108 | 2 | result = std::make_shared<typename PrimitiveTypeTraits<Op::ResultType>::DataType>(); | 109 | 2 | } | 110 | 2 | return true; | 111 | 2 | }); | 112 | 2 | if (!valid) { | 113 | 0 | throw doris::Exception(ErrorCode::INVALID_ARGUMENT, | 114 | 0 | "Illegal type {} of argument of function {}", | 115 | 0 | arguments[0]->get_name(), get_name()); | 116 | 0 | } | 117 | 2 | return result; | 118 | 2 | } |
_ZNK5doris23FunctionUnaryArithmeticINS_7AbsImplIfEENS_7NameAbsELNS_13PrimitiveTypeE8EE20get_return_type_implERKSt6vectorISt10shared_ptrIKNS_9IDataTypeEESaISA_EE Line | Count | Source | 99 | 14 | DataTypePtr get_return_type_impl(const DataTypes& arguments) const override { | 100 | 14 | DataTypePtr result; | 101 | 14 | bool valid = cast_type(arguments[0].get(), [&](const auto& type) { | 102 | 14 | using DataType = std::decay_t<decltype(type)>; | 103 | | | 104 | 14 | if constexpr (IsDataTypeDecimal<DataType>) { | 105 | 14 | if constexpr (!allow_decimal) return false; | 106 | 14 | result = std::make_shared<DataType>(type.get_precision(), type.get_scale()); | 107 | 14 | } else { | 108 | 14 | result = std::make_shared<typename PrimitiveTypeTraits<Op::ResultType>::DataType>(); | 109 | 14 | } | 110 | 14 | return true; | 111 | 14 | }); | 112 | 14 | if (!valid) { | 113 | 0 | throw doris::Exception(ErrorCode::INVALID_ARGUMENT, | 114 | 0 | "Illegal type {} of argument of function {}", | 115 | 0 | arguments[0]->get_name(), get_name()); | 116 | 0 | } | 117 | 14 | return result; | 118 | 14 | } |
_ZNK5doris23FunctionUnaryArithmeticINS_7AbsImplIdEENS_7NameAbsELNS_13PrimitiveTypeE9EE20get_return_type_implERKSt6vectorISt10shared_ptrIKNS_9IDataTypeEESaISA_EE Line | Count | Source | 99 | 49 | DataTypePtr get_return_type_impl(const DataTypes& arguments) const override { | 100 | 49 | DataTypePtr result; | 101 | 49 | bool valid = cast_type(arguments[0].get(), [&](const auto& type) { | 102 | 49 | using DataType = std::decay_t<decltype(type)>; | 103 | | | 104 | 49 | if constexpr (IsDataTypeDecimal<DataType>) { | 105 | 49 | if constexpr (!allow_decimal) return false; | 106 | 49 | result = std::make_shared<DataType>(type.get_precision(), type.get_scale()); | 107 | 49 | } else { | 108 | 49 | result = std::make_shared<typename PrimitiveTypeTraits<Op::ResultType>::DataType>(); | 109 | 49 | } | 110 | 49 | return true; | 111 | 49 | }); | 112 | 49 | if (!valid) { | 113 | 0 | throw doris::Exception(ErrorCode::INVALID_ARGUMENT, | 114 | 0 | "Illegal type {} of argument of function {}", | 115 | 0 | arguments[0]->get_name(), get_name()); | 116 | 0 | } | 117 | 49 | return result; | 118 | 49 | } |
_ZNK5doris23FunctionUnaryArithmeticINS_12NegativeImplIdEENS_12NameNegativeELNS_13PrimitiveTypeE9EE20get_return_type_implERKSt6vectorISt10shared_ptrIKNS_9IDataTypeEESaISA_EE Line | Count | Source | 99 | 11 | DataTypePtr get_return_type_impl(const DataTypes& arguments) const override { | 100 | 11 | DataTypePtr result; | 101 | 11 | bool valid = cast_type(arguments[0].get(), [&](const auto& type) { | 102 | 11 | using DataType = std::decay_t<decltype(type)>; | 103 | | | 104 | 11 | if constexpr (IsDataTypeDecimal<DataType>) { | 105 | 11 | if constexpr (!allow_decimal) return false; | 106 | 11 | result = std::make_shared<DataType>(type.get_precision(), type.get_scale()); | 107 | 11 | } else { | 108 | 11 | result = std::make_shared<typename PrimitiveTypeTraits<Op::ResultType>::DataType>(); | 109 | 11 | } | 110 | 11 | return true; | 111 | 11 | }); | 112 | 11 | if (!valid) { | 113 | 0 | throw doris::Exception(ErrorCode::INVALID_ARGUMENT, | 114 | 0 | "Illegal type {} of argument of function {}", | 115 | 0 | arguments[0]->get_name(), get_name()); | 116 | 0 | } | 117 | 11 | return result; | 118 | 11 | } |
_ZNK5doris23FunctionUnaryArithmeticINS_12NegativeImplIlEENS_12NameNegativeELNS_13PrimitiveTypeE6EE20get_return_type_implERKSt6vectorISt10shared_ptrIKNS_9IDataTypeEESaISA_EE Line | Count | Source | 99 | 18 | DataTypePtr get_return_type_impl(const DataTypes& arguments) const override { | 100 | 18 | DataTypePtr result; | 101 | 18 | bool valid = cast_type(arguments[0].get(), [&](const auto& type) { | 102 | 18 | using DataType = std::decay_t<decltype(type)>; | 103 | | | 104 | 18 | if constexpr (IsDataTypeDecimal<DataType>) { | 105 | 18 | if constexpr (!allow_decimal) return false; | 106 | 18 | result = std::make_shared<DataType>(type.get_precision(), type.get_scale()); | 107 | 18 | } else { | 108 | 18 | result = std::make_shared<typename PrimitiveTypeTraits<Op::ResultType>::DataType>(); | 109 | 18 | } | 110 | 18 | return true; | 111 | 18 | }); | 112 | 18 | if (!valid) { | 113 | 0 | throw doris::Exception(ErrorCode::INVALID_ARGUMENT, | 114 | 0 | "Illegal type {} of argument of function {}", | 115 | 0 | arguments[0]->get_name(), get_name()); | 116 | 0 | } | 117 | 18 | return result; | 118 | 18 | } |
Unexecuted instantiation: _ZNK5doris23FunctionUnaryArithmeticINS_12NegativeImplINS_14DecimalV2ValueEEENS_12NameNegativeELNS_13PrimitiveTypeE20EE20get_return_type_implERKSt6vectorISt10shared_ptrIKNS_9IDataTypeEESaISB_EE Unexecuted instantiation: _ZNK5doris23FunctionUnaryArithmeticINS_12NegativeImplINS_7DecimalIN4wide7integerILm256EiEEEEEENS_12NameNegativeELNS_13PrimitiveTypeE35EE20get_return_type_implERKSt6vectorISt10shared_ptrIKNS_9IDataTypeEESaISF_EE Unexecuted instantiation: _ZNK5doris23FunctionUnaryArithmeticINS_12NegativeImplINS_12Decimal128V3EEENS_12NameNegativeELNS_13PrimitiveTypeE30EE20get_return_type_implERKSt6vectorISt10shared_ptrIKNS_9IDataTypeEESaISB_EE _ZNK5doris23FunctionUnaryArithmeticINS_12NegativeImplINS_7DecimalIiEEEENS_12NameNegativeELNS_13PrimitiveTypeE28EE20get_return_type_implERKSt6vectorISt10shared_ptrIKNS_9IDataTypeEESaISC_EE Line | Count | Source | 99 | 6 | DataTypePtr get_return_type_impl(const DataTypes& arguments) const override { | 100 | 6 | DataTypePtr result; | 101 | 6 | bool valid = cast_type(arguments[0].get(), [&](const auto& type) { | 102 | 6 | using DataType = std::decay_t<decltype(type)>; | 103 | | | 104 | 6 | if constexpr (IsDataTypeDecimal<DataType>) { | 105 | 6 | if constexpr (!allow_decimal) return false; | 106 | 6 | result = std::make_shared<DataType>(type.get_precision(), type.get_scale()); | 107 | 6 | } else { | 108 | 6 | result = std::make_shared<typename PrimitiveTypeTraits<Op::ResultType>::DataType>(); | 109 | 6 | } | 110 | 6 | return true; | 111 | 6 | }); | 112 | 6 | if (!valid) { | 113 | 0 | throw doris::Exception(ErrorCode::INVALID_ARGUMENT, | 114 | 0 | "Illegal type {} of argument of function {}", | 115 | 0 | arguments[0]->get_name(), get_name()); | 116 | 0 | } | 117 | 6 | return result; | 118 | 6 | } |
Unexecuted instantiation: _ZNK5doris23FunctionUnaryArithmeticINS_12NegativeImplINS_7DecimalIlEEEENS_12NameNegativeELNS_13PrimitiveTypeE29EE20get_return_type_implERKSt6vectorISt10shared_ptrIKNS_9IDataTypeEESaISC_EE _ZNK5doris23FunctionUnaryArithmeticINS_12PositiveImplINS_7DecimalIiEEEENS_12NamePositiveELNS_13PrimitiveTypeE28EE20get_return_type_implERKSt6vectorISt10shared_ptrIKNS_9IDataTypeEESaISC_EE Line | Count | Source | 99 | 4 | DataTypePtr get_return_type_impl(const DataTypes& arguments) const override { | 100 | 4 | DataTypePtr result; | 101 | 4 | bool valid = cast_type(arguments[0].get(), [&](const auto& type) { | 102 | 4 | using DataType = std::decay_t<decltype(type)>; | 103 | | | 104 | 4 | if constexpr (IsDataTypeDecimal<DataType>) { | 105 | 4 | if constexpr (!allow_decimal) return false; | 106 | 4 | result = std::make_shared<DataType>(type.get_precision(), type.get_scale()); | 107 | 4 | } else { | 108 | 4 | result = std::make_shared<typename PrimitiveTypeTraits<Op::ResultType>::DataType>(); | 109 | 4 | } | 110 | 4 | return true; | 111 | 4 | }); | 112 | 4 | if (!valid) { | 113 | 0 | throw doris::Exception(ErrorCode::INVALID_ARGUMENT, | 114 | 0 | "Illegal type {} of argument of function {}", | 115 | 0 | arguments[0]->get_name(), get_name()); | 116 | 0 | } | 117 | 4 | return result; | 118 | 4 | } |
_ZNK5doris23FunctionUnaryArithmeticINS_12PositiveImplINS_7DecimalIlEEEENS_12NamePositiveELNS_13PrimitiveTypeE29EE20get_return_type_implERKSt6vectorISt10shared_ptrIKNS_9IDataTypeEESaISC_EE Line | Count | Source | 99 | 3 | DataTypePtr get_return_type_impl(const DataTypes& arguments) const override { | 100 | 3 | DataTypePtr result; | 101 | 3 | bool valid = cast_type(arguments[0].get(), [&](const auto& type) { | 102 | 3 | using DataType = std::decay_t<decltype(type)>; | 103 | | | 104 | 3 | if constexpr (IsDataTypeDecimal<DataType>) { | 105 | 3 | if constexpr (!allow_decimal) return false; | 106 | 3 | result = std::make_shared<DataType>(type.get_precision(), type.get_scale()); | 107 | 3 | } else { | 108 | 3 | result = std::make_shared<typename PrimitiveTypeTraits<Op::ResultType>::DataType>(); | 109 | 3 | } | 110 | 3 | return true; | 111 | 3 | }); | 112 | 3 | if (!valid) { | 113 | 0 | throw doris::Exception(ErrorCode::INVALID_ARGUMENT, | 114 | 0 | "Illegal type {} of argument of function {}", | 115 | 0 | arguments[0]->get_name(), get_name()); | 116 | 0 | } | 117 | 3 | return result; | 118 | 3 | } |
_ZNK5doris23FunctionUnaryArithmeticINS_12PositiveImplINS_12Decimal128V3EEENS_12NamePositiveELNS_13PrimitiveTypeE30EE20get_return_type_implERKSt6vectorISt10shared_ptrIKNS_9IDataTypeEESaISB_EE Line | Count | Source | 99 | 2 | DataTypePtr get_return_type_impl(const DataTypes& arguments) const override { | 100 | 2 | DataTypePtr result; | 101 | 2 | bool valid = cast_type(arguments[0].get(), [&](const auto& type) { | 102 | 2 | using DataType = std::decay_t<decltype(type)>; | 103 | | | 104 | 2 | if constexpr (IsDataTypeDecimal<DataType>) { | 105 | 2 | if constexpr (!allow_decimal) return false; | 106 | 2 | result = std::make_shared<DataType>(type.get_precision(), type.get_scale()); | 107 | 2 | } else { | 108 | 2 | result = std::make_shared<typename PrimitiveTypeTraits<Op::ResultType>::DataType>(); | 109 | 2 | } | 110 | 2 | return true; | 111 | 2 | }); | 112 | 2 | if (!valid) { | 113 | 0 | throw doris::Exception(ErrorCode::INVALID_ARGUMENT, | 114 | 0 | "Illegal type {} of argument of function {}", | 115 | 0 | arguments[0]->get_name(), get_name()); | 116 | 0 | } | 117 | 2 | return result; | 118 | 2 | } |
Unexecuted instantiation: _ZNK5doris23FunctionUnaryArithmeticINS_12PositiveImplINS_14DecimalV2ValueEEENS_12NamePositiveELNS_13PrimitiveTypeE20EE20get_return_type_implERKSt6vectorISt10shared_ptrIKNS_9IDataTypeEESaISB_EE Unexecuted instantiation: _ZNK5doris23FunctionUnaryArithmeticINS_12PositiveImplINS_7DecimalIN4wide7integerILm256EiEEEEEENS_12NamePositiveELNS_13PrimitiveTypeE35EE20get_return_type_implERKSt6vectorISt10shared_ptrIKNS_9IDataTypeEESaISF_EE _ZNK5doris23FunctionUnaryArithmeticINS_12PositiveImplIdEENS_12NamePositiveELNS_13PrimitiveTypeE9EE20get_return_type_implERKSt6vectorISt10shared_ptrIKNS_9IDataTypeEESaISA_EE Line | Count | Source | 99 | 3 | DataTypePtr get_return_type_impl(const DataTypes& arguments) const override { | 100 | 3 | DataTypePtr result; | 101 | 3 | bool valid = cast_type(arguments[0].get(), [&](const auto& type) { | 102 | 3 | using DataType = std::decay_t<decltype(type)>; | 103 | | | 104 | 3 | if constexpr (IsDataTypeDecimal<DataType>) { | 105 | 3 | if constexpr (!allow_decimal) return false; | 106 | 3 | result = std::make_shared<DataType>(type.get_precision(), type.get_scale()); | 107 | 3 | } else { | 108 | 3 | result = std::make_shared<typename PrimitiveTypeTraits<Op::ResultType>::DataType>(); | 109 | 3 | } | 110 | 3 | return true; | 111 | 3 | }); | 112 | 3 | if (!valid) { | 113 | 0 | throw doris::Exception(ErrorCode::INVALID_ARGUMENT, | 114 | 0 | "Illegal type {} of argument of function {}", | 115 | 0 | arguments[0]->get_name(), get_name()); | 116 | 0 | } | 117 | 3 | return result; | 118 | 3 | } |
_ZNK5doris23FunctionUnaryArithmeticINS_12PositiveImplIlEENS_12NamePositiveELNS_13PrimitiveTypeE6EE20get_return_type_implERKSt6vectorISt10shared_ptrIKNS_9IDataTypeEESaISA_EE Line | Count | Source | 99 | 8 | DataTypePtr get_return_type_impl(const DataTypes& arguments) const override { | 100 | 8 | DataTypePtr result; | 101 | 8 | bool valid = cast_type(arguments[0].get(), [&](const auto& type) { | 102 | 8 | using DataType = std::decay_t<decltype(type)>; | 103 | | | 104 | 8 | if constexpr (IsDataTypeDecimal<DataType>) { | 105 | 8 | if constexpr (!allow_decimal) return false; | 106 | 8 | result = std::make_shared<DataType>(type.get_precision(), type.get_scale()); | 107 | 8 | } else { | 108 | 8 | result = std::make_shared<typename PrimitiveTypeTraits<Op::ResultType>::DataType>(); | 109 | 8 | } | 110 | 8 | return true; | 111 | 8 | }); | 112 | 8 | if (!valid) { | 113 | 0 | throw doris::Exception(ErrorCode::INVALID_ARGUMENT, | 114 | 0 | "Illegal type {} of argument of function {}", | 115 | 0 | arguments[0]->get_name(), get_name()); | 116 | 0 | } | 117 | 8 | return result; | 118 | 8 | } |
_ZNK5doris23FunctionUnaryArithmeticINS_11RadiansImplIdEENS_11NameRadiansELNS_13PrimitiveTypeE9EE20get_return_type_implERKSt6vectorISt10shared_ptrIKNS_9IDataTypeEESaISA_EE Line | Count | Source | 99 | 12 | DataTypePtr get_return_type_impl(const DataTypes& arguments) const override { | 100 | 12 | DataTypePtr result; | 101 | 12 | bool valid = cast_type(arguments[0].get(), [&](const auto& type) { | 102 | 12 | using DataType = std::decay_t<decltype(type)>; | 103 | | | 104 | 12 | if constexpr (IsDataTypeDecimal<DataType>) { | 105 | 12 | if constexpr (!allow_decimal) return false; | 106 | 12 | result = std::make_shared<DataType>(type.get_precision(), type.get_scale()); | 107 | 12 | } else { | 108 | 12 | result = std::make_shared<typename PrimitiveTypeTraits<Op::ResultType>::DataType>(); | 109 | 12 | } | 110 | 12 | return true; | 111 | 12 | }); | 112 | 12 | if (!valid) { | 113 | 0 | throw doris::Exception(ErrorCode::INVALID_ARGUMENT, | 114 | 0 | "Illegal type {} of argument of function {}", | 115 | 0 | arguments[0]->get_name(), get_name()); | 116 | 0 | } | 117 | 12 | return result; | 118 | 12 | } |
_ZNK5doris23FunctionUnaryArithmeticINS_11DegreesImplIdEENS_11NameDegreesELNS_13PrimitiveTypeE9EE20get_return_type_implERKSt6vectorISt10shared_ptrIKNS_9IDataTypeEESaISA_EE Line | Count | Source | 99 | 16 | DataTypePtr get_return_type_impl(const DataTypes& arguments) const override { | 100 | 16 | DataTypePtr result; | 101 | 16 | bool valid = cast_type(arguments[0].get(), [&](const auto& type) { | 102 | 16 | using DataType = std::decay_t<decltype(type)>; | 103 | | | 104 | 16 | if constexpr (IsDataTypeDecimal<DataType>) { | 105 | 16 | if constexpr (!allow_decimal) return false; | 106 | 16 | result = std::make_shared<DataType>(type.get_precision(), type.get_scale()); | 107 | 16 | } else { | 108 | 16 | result = std::make_shared<typename PrimitiveTypeTraits<Op::ResultType>::DataType>(); | 109 | 16 | } | 110 | 16 | return true; | 111 | 16 | }); | 112 | 16 | if (!valid) { | 113 | 0 | throw doris::Exception(ErrorCode::INVALID_ARGUMENT, | 114 | 0 | "Illegal type {} of argument of function {}", | 115 | 0 | arguments[0]->get_name(), get_name()); | 116 | 0 | } | 117 | 16 | return result; | 118 | 16 | } |
_ZNK5doris23FunctionUnaryArithmeticINS_11SignBitImplIdEENS_11NameSignBitELNS_13PrimitiveTypeE9EE20get_return_type_implERKSt6vectorISt10shared_ptrIKNS_9IDataTypeEESaISA_EE Line | Count | Source | 99 | 12 | DataTypePtr get_return_type_impl(const DataTypes& arguments) const override { | 100 | 12 | DataTypePtr result; | 101 | 12 | bool valid = cast_type(arguments[0].get(), [&](const auto& type) { | 102 | 12 | using DataType = std::decay_t<decltype(type)>; | 103 | | | 104 | 12 | if constexpr (IsDataTypeDecimal<DataType>) { | 105 | 12 | if constexpr (!allow_decimal) return false; | 106 | 12 | result = std::make_shared<DataType>(type.get_precision(), type.get_scale()); | 107 | 12 | } else { | 108 | 12 | result = std::make_shared<typename PrimitiveTypeTraits<Op::ResultType>::DataType>(); | 109 | 12 | } | 110 | 12 | return true; | 111 | 12 | }); | 112 | 12 | if (!valid) { | 113 | 0 | throw doris::Exception(ErrorCode::INVALID_ARGUMENT, | 114 | 0 | "Illegal type {} of argument of function {}", | 115 | 0 | arguments[0]->get_name(), get_name()); | 116 | 0 | } | 117 | 12 | return result; | 118 | 12 | } |
_ZNK5doris23FunctionUnaryArithmeticINS_10BitNotImplIaEENS_10NameBitNotELNS_13PrimitiveTypeE3EE20get_return_type_implERKSt6vectorISt10shared_ptrIKNS_9IDataTypeEESaISA_EE Line | Count | Source | 99 | 2 | DataTypePtr get_return_type_impl(const DataTypes& arguments) const override { | 100 | 2 | DataTypePtr result; | 101 | 2 | bool valid = cast_type(arguments[0].get(), [&](const auto& type) { | 102 | 2 | using DataType = std::decay_t<decltype(type)>; | 103 | | | 104 | 2 | if constexpr (IsDataTypeDecimal<DataType>) { | 105 | 2 | if constexpr (!allow_decimal) return false; | 106 | 2 | result = std::make_shared<DataType>(type.get_precision(), type.get_scale()); | 107 | 2 | } else { | 108 | 2 | result = std::make_shared<typename PrimitiveTypeTraits<Op::ResultType>::DataType>(); | 109 | 2 | } | 110 | 2 | return true; | 111 | 2 | }); | 112 | 2 | if (!valid) { | 113 | 0 | throw doris::Exception(ErrorCode::INVALID_ARGUMENT, | 114 | 0 | "Illegal type {} of argument of function {}", | 115 | 0 | arguments[0]->get_name(), get_name()); | 116 | 0 | } | 117 | 2 | return result; | 118 | 2 | } |
Unexecuted instantiation: _ZNK5doris23FunctionUnaryArithmeticINS_10BitNotImplIsEENS_10NameBitNotELNS_13PrimitiveTypeE4EE20get_return_type_implERKSt6vectorISt10shared_ptrIKNS_9IDataTypeEESaISA_EE _ZNK5doris23FunctionUnaryArithmeticINS_10BitNotImplIiEENS_10NameBitNotELNS_13PrimitiveTypeE5EE20get_return_type_implERKSt6vectorISt10shared_ptrIKNS_9IDataTypeEESaISA_EE Line | Count | Source | 99 | 1 | DataTypePtr get_return_type_impl(const DataTypes& arguments) const override { | 100 | 1 | DataTypePtr result; | 101 | 1 | bool valid = cast_type(arguments[0].get(), [&](const auto& type) { | 102 | 1 | using DataType = std::decay_t<decltype(type)>; | 103 | | | 104 | 1 | if constexpr (IsDataTypeDecimal<DataType>) { | 105 | 1 | if constexpr (!allow_decimal) return false; | 106 | 1 | result = std::make_shared<DataType>(type.get_precision(), type.get_scale()); | 107 | 1 | } else { | 108 | 1 | result = std::make_shared<typename PrimitiveTypeTraits<Op::ResultType>::DataType>(); | 109 | 1 | } | 110 | 1 | return true; | 111 | 1 | }); | 112 | 1 | if (!valid) { | 113 | 0 | throw doris::Exception(ErrorCode::INVALID_ARGUMENT, | 114 | 0 | "Illegal type {} of argument of function {}", | 115 | 0 | arguments[0]->get_name(), get_name()); | 116 | 0 | } | 117 | 1 | return result; | 118 | 1 | } |
_ZNK5doris23FunctionUnaryArithmeticINS_10BitNotImplIlEENS_10NameBitNotELNS_13PrimitiveTypeE6EE20get_return_type_implERKSt6vectorISt10shared_ptrIKNS_9IDataTypeEESaISA_EE Line | Count | Source | 99 | 4 | DataTypePtr get_return_type_impl(const DataTypes& arguments) const override { | 100 | 4 | DataTypePtr result; | 101 | 4 | bool valid = cast_type(arguments[0].get(), [&](const auto& type) { | 102 | 4 | using DataType = std::decay_t<decltype(type)>; | 103 | | | 104 | 4 | if constexpr (IsDataTypeDecimal<DataType>) { | 105 | 4 | if constexpr (!allow_decimal) return false; | 106 | 4 | result = std::make_shared<DataType>(type.get_precision(), type.get_scale()); | 107 | 4 | } else { | 108 | 4 | result = std::make_shared<typename PrimitiveTypeTraits<Op::ResultType>::DataType>(); | 109 | 4 | } | 110 | 4 | return true; | 111 | 4 | }); | 112 | 4 | if (!valid) { | 113 | 0 | throw doris::Exception(ErrorCode::INVALID_ARGUMENT, | 114 | 0 | "Illegal type {} of argument of function {}", | 115 | 0 | arguments[0]->get_name(), get_name()); | 116 | 0 | } | 117 | 4 | return result; | 118 | 4 | } |
Unexecuted instantiation: _ZNK5doris23FunctionUnaryArithmeticINS_10BitNotImplInEENS_10NameBitNotELNS_13PrimitiveTypeE7EE20get_return_type_implERKSt6vectorISt10shared_ptrIKNS_9IDataTypeEESaISA_EE _ZNK5doris23FunctionUnaryArithmeticINS_12BitCountImplIaEENS_12NameBitCountELNS_13PrimitiveTypeE3EE20get_return_type_implERKSt6vectorISt10shared_ptrIKNS_9IDataTypeEESaISA_EE Line | Count | Source | 99 | 7 | DataTypePtr get_return_type_impl(const DataTypes& arguments) const override { | 100 | 7 | DataTypePtr result; | 101 | 7 | bool valid = cast_type(arguments[0].get(), [&](const auto& type) { | 102 | 7 | using DataType = std::decay_t<decltype(type)>; | 103 | | | 104 | 7 | if constexpr (IsDataTypeDecimal<DataType>) { | 105 | 7 | if constexpr (!allow_decimal) return false; | 106 | 7 | result = std::make_shared<DataType>(type.get_precision(), type.get_scale()); | 107 | 7 | } else { | 108 | 7 | result = std::make_shared<typename PrimitiveTypeTraits<Op::ResultType>::DataType>(); | 109 | 7 | } | 110 | 7 | return true; | 111 | 7 | }); | 112 | 7 | if (!valid) { | 113 | 0 | throw doris::Exception(ErrorCode::INVALID_ARGUMENT, | 114 | 0 | "Illegal type {} of argument of function {}", | 115 | 0 | arguments[0]->get_name(), get_name()); | 116 | 0 | } | 117 | 7 | return result; | 118 | 7 | } |
_ZNK5doris23FunctionUnaryArithmeticINS_12BitCountImplIsEENS_12NameBitCountELNS_13PrimitiveTypeE4EE20get_return_type_implERKSt6vectorISt10shared_ptrIKNS_9IDataTypeEESaISA_EE Line | Count | Source | 99 | 1 | DataTypePtr get_return_type_impl(const DataTypes& arguments) const override { | 100 | 1 | DataTypePtr result; | 101 | 1 | bool valid = cast_type(arguments[0].get(), [&](const auto& type) { | 102 | 1 | using DataType = std::decay_t<decltype(type)>; | 103 | | | 104 | 1 | if constexpr (IsDataTypeDecimal<DataType>) { | 105 | 1 | if constexpr (!allow_decimal) return false; | 106 | 1 | result = std::make_shared<DataType>(type.get_precision(), type.get_scale()); | 107 | 1 | } else { | 108 | 1 | result = std::make_shared<typename PrimitiveTypeTraits<Op::ResultType>::DataType>(); | 109 | 1 | } | 110 | 1 | return true; | 111 | 1 | }); | 112 | 1 | if (!valid) { | 113 | 0 | throw doris::Exception(ErrorCode::INVALID_ARGUMENT, | 114 | 0 | "Illegal type {} of argument of function {}", | 115 | 0 | arguments[0]->get_name(), get_name()); | 116 | 0 | } | 117 | 1 | return result; | 118 | 1 | } |
_ZNK5doris23FunctionUnaryArithmeticINS_12BitCountImplIiEENS_12NameBitCountELNS_13PrimitiveTypeE5EE20get_return_type_implERKSt6vectorISt10shared_ptrIKNS_9IDataTypeEESaISA_EE Line | Count | Source | 99 | 2 | DataTypePtr get_return_type_impl(const DataTypes& arguments) const override { | 100 | 2 | DataTypePtr result; | 101 | 2 | bool valid = cast_type(arguments[0].get(), [&](const auto& type) { | 102 | 2 | using DataType = std::decay_t<decltype(type)>; | 103 | | | 104 | 2 | if constexpr (IsDataTypeDecimal<DataType>) { | 105 | 2 | if constexpr (!allow_decimal) return false; | 106 | 2 | result = std::make_shared<DataType>(type.get_precision(), type.get_scale()); | 107 | 2 | } else { | 108 | 2 | result = std::make_shared<typename PrimitiveTypeTraits<Op::ResultType>::DataType>(); | 109 | 2 | } | 110 | 2 | return true; | 111 | 2 | }); | 112 | 2 | if (!valid) { | 113 | 0 | throw doris::Exception(ErrorCode::INVALID_ARGUMENT, | 114 | 0 | "Illegal type {} of argument of function {}", | 115 | 0 | arguments[0]->get_name(), get_name()); | 116 | 0 | } | 117 | 2 | return result; | 118 | 2 | } |
_ZNK5doris23FunctionUnaryArithmeticINS_12BitCountImplIlEENS_12NameBitCountELNS_13PrimitiveTypeE6EE20get_return_type_implERKSt6vectorISt10shared_ptrIKNS_9IDataTypeEESaISA_EE Line | Count | Source | 99 | 8 | DataTypePtr get_return_type_impl(const DataTypes& arguments) const override { | 100 | 8 | DataTypePtr result; | 101 | 8 | bool valid = cast_type(arguments[0].get(), [&](const auto& type) { | 102 | 8 | using DataType = std::decay_t<decltype(type)>; | 103 | | | 104 | 8 | if constexpr (IsDataTypeDecimal<DataType>) { | 105 | 8 | if constexpr (!allow_decimal) return false; | 106 | 8 | result = std::make_shared<DataType>(type.get_precision(), type.get_scale()); | 107 | 8 | } else { | 108 | 8 | result = std::make_shared<typename PrimitiveTypeTraits<Op::ResultType>::DataType>(); | 109 | 8 | } | 110 | 8 | return true; | 111 | 8 | }); | 112 | 8 | if (!valid) { | 113 | 0 | throw doris::Exception(ErrorCode::INVALID_ARGUMENT, | 114 | 0 | "Illegal type {} of argument of function {}", | 115 | 0 | arguments[0]->get_name(), get_name()); | 116 | 0 | } | 117 | 8 | return result; | 118 | 8 | } |
Unexecuted instantiation: _ZNK5doris23FunctionUnaryArithmeticINS_12BitCountImplInEENS_12NameBitCountELNS_13PrimitiveTypeE7EE20get_return_type_implERKSt6vectorISt10shared_ptrIKNS_9IDataTypeEESaISA_EE |
119 | | |
120 | | Status execute_impl(FunctionContext* context, Block& block, const ColumnNumbers& arguments, |
121 | 1.18k | uint32_t result, size_t input_rows_count) const override { |
122 | 1.18k | bool valid = |
123 | 1.18k | cast_type(block.get_by_position(arguments[0]).type.get(), [&](const auto& type) { |
124 | 1.18k | using DataType = std::decay_t<decltype(type)>; |
125 | | |
126 | 1.18k | if constexpr (IsDataTypeDecimal<DataType>) { |
127 | 147 | if constexpr (allow_decimal) { |
128 | 147 | if (auto col = check_and_get_column<ColumnDecimal<DataType::PType>>( |
129 | 147 | block.get_by_position(arguments[0]).column.get())) { |
130 | 144 | auto col_res = |
131 | 144 | PrimitiveTypeTraits<Op::ResultType>::ColumnType::create( |
132 | 144 | 0, type.get_scale()); |
133 | 144 | auto& vec_res = col_res->get_data(); |
134 | 144 | vec_res.resize(col->get_data().size()); |
135 | 144 | UnaryOperationImpl<DataType::PType, Op>::vector(col->get_data(), |
136 | 144 | vec_res); |
137 | 144 | block.replace_by_position(result, std::move(col_res)); |
138 | 144 | return true; |
139 | 144 | } |
140 | 147 | } |
141 | 1.03k | } else { |
142 | 1.03k | if (auto col = check_and_get_column<ColumnVector<DataType::PType>>( |
143 | 1.03k | block.get_by_position(arguments[0]).column.get())) { |
144 | 1.03k | auto col_res = |
145 | 1.03k | PrimitiveTypeTraits<Op::ResultType>::ColumnType::create(); |
146 | 1.03k | auto& vec_res = col_res->get_data(); |
147 | 1.03k | vec_res.resize(col->get_data().size()); |
148 | 1.03k | UnaryOperationImpl<DataType::PType, Op>::vector(col->get_data(), |
149 | 1.03k | vec_res); |
150 | 1.03k | block.replace_by_position(result, std::move(col_res)); |
151 | 1.03k | return true; |
152 | 1.03k | } |
153 | 1.03k | } |
154 | | |
155 | 3 | return false; |
156 | 1.18k | }); _ZZNK5doris23FunctionUnaryArithmeticINS_8SignImplIdEENS_8NameSignELNS_13PrimitiveTypeE9EE12execute_implEPNS_15FunctionContextERNS_5BlockERKSt6vectorIjSaIjEEjmENKUlRKT_E_clINS_14DataTypeNumberILS4_9EEEEEDaSH_ Line | Count | Source | 123 | 26 | cast_type(block.get_by_position(arguments[0]).type.get(), [&](const auto& type) { | 124 | 26 | using DataType = std::decay_t<decltype(type)>; | 125 | | | 126 | | if constexpr (IsDataTypeDecimal<DataType>) { | 127 | | if constexpr (allow_decimal) { | 128 | | if (auto col = check_and_get_column<ColumnDecimal<DataType::PType>>( | 129 | | block.get_by_position(arguments[0]).column.get())) { | 130 | | auto col_res = | 131 | | PrimitiveTypeTraits<Op::ResultType>::ColumnType::create( | 132 | | 0, type.get_scale()); | 133 | | auto& vec_res = col_res->get_data(); | 134 | | vec_res.resize(col->get_data().size()); | 135 | | UnaryOperationImpl<DataType::PType, Op>::vector(col->get_data(), | 136 | | vec_res); | 137 | | block.replace_by_position(result, std::move(col_res)); | 138 | | return true; | 139 | | } | 140 | | } | 141 | 26 | } else { | 142 | 26 | if (auto col = check_and_get_column<ColumnVector<DataType::PType>>( | 143 | 26 | block.get_by_position(arguments[0]).column.get())) { | 144 | 26 | auto col_res = | 145 | 26 | PrimitiveTypeTraits<Op::ResultType>::ColumnType::create(); | 146 | 26 | auto& vec_res = col_res->get_data(); | 147 | 26 | vec_res.resize(col->get_data().size()); | 148 | 26 | UnaryOperationImpl<DataType::PType, Op>::vector(col->get_data(), | 149 | 26 | vec_res); | 150 | 26 | block.replace_by_position(result, std::move(col_res)); | 151 | 26 | return true; | 152 | 26 | } | 153 | 26 | } | 154 | | | 155 | 0 | return false; | 156 | 26 | }); |
_ZZNK5doris23FunctionUnaryArithmeticINS_7AbsImplIaEENS_7NameAbsELNS_13PrimitiveTypeE3EE12execute_implEPNS_15FunctionContextERNS_5BlockERKSt6vectorIjSaIjEEjmENKUlRKT_E_clINS_14DataTypeNumberILS4_3EEEEEDaSH_ Line | Count | Source | 123 | 77 | cast_type(block.get_by_position(arguments[0]).type.get(), [&](const auto& type) { | 124 | 77 | using DataType = std::decay_t<decltype(type)>; | 125 | | | 126 | | if constexpr (IsDataTypeDecimal<DataType>) { | 127 | | if constexpr (allow_decimal) { | 128 | | if (auto col = check_and_get_column<ColumnDecimal<DataType::PType>>( | 129 | | block.get_by_position(arguments[0]).column.get())) { | 130 | | auto col_res = | 131 | | PrimitiveTypeTraits<Op::ResultType>::ColumnType::create( | 132 | | 0, type.get_scale()); | 133 | | auto& vec_res = col_res->get_data(); | 134 | | vec_res.resize(col->get_data().size()); | 135 | | UnaryOperationImpl<DataType::PType, Op>::vector(col->get_data(), | 136 | | vec_res); | 137 | | block.replace_by_position(result, std::move(col_res)); | 138 | | return true; | 139 | | } | 140 | | } | 141 | 77 | } else { | 142 | 77 | if (auto col = check_and_get_column<ColumnVector<DataType::PType>>( | 143 | 77 | block.get_by_position(arguments[0]).column.get())) { | 144 | 77 | auto col_res = | 145 | 77 | PrimitiveTypeTraits<Op::ResultType>::ColumnType::create(); | 146 | 77 | auto& vec_res = col_res->get_data(); | 147 | 77 | vec_res.resize(col->get_data().size()); | 148 | 77 | UnaryOperationImpl<DataType::PType, Op>::vector(col->get_data(), | 149 | 77 | vec_res); | 150 | 77 | block.replace_by_position(result, std::move(col_res)); | 151 | 77 | return true; | 152 | 77 | } | 153 | 77 | } | 154 | | | 155 | 0 | return false; | 156 | 77 | }); |
_ZZNK5doris23FunctionUnaryArithmeticINS_7AbsImplIsEENS_7NameAbsELNS_13PrimitiveTypeE4EE12execute_implEPNS_15FunctionContextERNS_5BlockERKSt6vectorIjSaIjEEjmENKUlRKT_E_clINS_14DataTypeNumberILS4_4EEEEEDaSH_ Line | Count | Source | 123 | 88 | cast_type(block.get_by_position(arguments[0]).type.get(), [&](const auto& type) { | 124 | 88 | using DataType = std::decay_t<decltype(type)>; | 125 | | | 126 | | if constexpr (IsDataTypeDecimal<DataType>) { | 127 | | if constexpr (allow_decimal) { | 128 | | if (auto col = check_and_get_column<ColumnDecimal<DataType::PType>>( | 129 | | block.get_by_position(arguments[0]).column.get())) { | 130 | | auto col_res = | 131 | | PrimitiveTypeTraits<Op::ResultType>::ColumnType::create( | 132 | | 0, type.get_scale()); | 133 | | auto& vec_res = col_res->get_data(); | 134 | | vec_res.resize(col->get_data().size()); | 135 | | UnaryOperationImpl<DataType::PType, Op>::vector(col->get_data(), | 136 | | vec_res); | 137 | | block.replace_by_position(result, std::move(col_res)); | 138 | | return true; | 139 | | } | 140 | | } | 141 | 88 | } else { | 142 | 88 | if (auto col = check_and_get_column<ColumnVector<DataType::PType>>( | 143 | 88 | block.get_by_position(arguments[0]).column.get())) { | 144 | 88 | auto col_res = | 145 | 88 | PrimitiveTypeTraits<Op::ResultType>::ColumnType::create(); | 146 | 88 | auto& vec_res = col_res->get_data(); | 147 | 88 | vec_res.resize(col->get_data().size()); | 148 | 88 | UnaryOperationImpl<DataType::PType, Op>::vector(col->get_data(), | 149 | 88 | vec_res); | 150 | 88 | block.replace_by_position(result, std::move(col_res)); | 151 | 88 | return true; | 152 | 88 | } | 153 | 88 | } | 154 | | | 155 | 0 | return false; | 156 | 88 | }); |
_ZZNK5doris23FunctionUnaryArithmeticINS_7AbsImplIiEENS_7NameAbsELNS_13PrimitiveTypeE5EE12execute_implEPNS_15FunctionContextERNS_5BlockERKSt6vectorIjSaIjEEjmENKUlRKT_E_clINS_14DataTypeNumberILS4_5EEEEEDaSH_ Line | Count | Source | 123 | 359 | cast_type(block.get_by_position(arguments[0]).type.get(), [&](const auto& type) { | 124 | 359 | using DataType = std::decay_t<decltype(type)>; | 125 | | | 126 | | if constexpr (IsDataTypeDecimal<DataType>) { | 127 | | if constexpr (allow_decimal) { | 128 | | if (auto col = check_and_get_column<ColumnDecimal<DataType::PType>>( | 129 | | block.get_by_position(arguments[0]).column.get())) { | 130 | | auto col_res = | 131 | | PrimitiveTypeTraits<Op::ResultType>::ColumnType::create( | 132 | | 0, type.get_scale()); | 133 | | auto& vec_res = col_res->get_data(); | 134 | | vec_res.resize(col->get_data().size()); | 135 | | UnaryOperationImpl<DataType::PType, Op>::vector(col->get_data(), | 136 | | vec_res); | 137 | | block.replace_by_position(result, std::move(col_res)); | 138 | | return true; | 139 | | } | 140 | | } | 141 | 359 | } else { | 142 | 359 | if (auto col = check_and_get_column<ColumnVector<DataType::PType>>( | 143 | 361 | block.get_by_position(arguments[0]).column.get())) { | 144 | 361 | auto col_res = | 145 | 361 | PrimitiveTypeTraits<Op::ResultType>::ColumnType::create(); | 146 | 361 | auto& vec_res = col_res->get_data(); | 147 | 361 | vec_res.resize(col->get_data().size()); | 148 | 361 | UnaryOperationImpl<DataType::PType, Op>::vector(col->get_data(), | 149 | 361 | vec_res); | 150 | 361 | block.replace_by_position(result, std::move(col_res)); | 151 | 361 | return true; | 152 | 361 | } | 153 | 359 | } | 154 | | | 155 | 18.4E | return false; | 156 | 359 | }); |
_ZZNK5doris23FunctionUnaryArithmeticINS_7AbsImplIlEENS_7NameAbsELNS_13PrimitiveTypeE6EE12execute_implEPNS_15FunctionContextERNS_5BlockERKSt6vectorIjSaIjEEjmENKUlRKT_E_clINS_14DataTypeNumberILS4_6EEEEEDaSH_ Line | Count | Source | 123 | 208 | cast_type(block.get_by_position(arguments[0]).type.get(), [&](const auto& type) { | 124 | 208 | using DataType = std::decay_t<decltype(type)>; | 125 | | | 126 | | if constexpr (IsDataTypeDecimal<DataType>) { | 127 | | if constexpr (allow_decimal) { | 128 | | if (auto col = check_and_get_column<ColumnDecimal<DataType::PType>>( | 129 | | block.get_by_position(arguments[0]).column.get())) { | 130 | | auto col_res = | 131 | | PrimitiveTypeTraits<Op::ResultType>::ColumnType::create( | 132 | | 0, type.get_scale()); | 133 | | auto& vec_res = col_res->get_data(); | 134 | | vec_res.resize(col->get_data().size()); | 135 | | UnaryOperationImpl<DataType::PType, Op>::vector(col->get_data(), | 136 | | vec_res); | 137 | | block.replace_by_position(result, std::move(col_res)); | 138 | | return true; | 139 | | } | 140 | | } | 141 | 208 | } else { | 142 | 208 | if (auto col = check_and_get_column<ColumnVector<DataType::PType>>( | 143 | 208 | block.get_by_position(arguments[0]).column.get())) { | 144 | 206 | auto col_res = | 145 | 206 | PrimitiveTypeTraits<Op::ResultType>::ColumnType::create(); | 146 | 206 | auto& vec_res = col_res->get_data(); | 147 | 206 | vec_res.resize(col->get_data().size()); | 148 | 206 | UnaryOperationImpl<DataType::PType, Op>::vector(col->get_data(), | 149 | 206 | vec_res); | 150 | 206 | block.replace_by_position(result, std::move(col_res)); | 151 | 206 | return true; | 152 | 206 | } | 153 | 208 | } | 154 | | | 155 | 2 | return false; | 156 | 208 | }); |
_ZZNK5doris23FunctionUnaryArithmeticINS_7AbsImplInEENS_7NameAbsELNS_13PrimitiveTypeE7EE12execute_implEPNS_15FunctionContextERNS_5BlockERKSt6vectorIjSaIjEEjmENKUlRKT_E_clINS_14DataTypeNumberILS4_7EEEEEDaSH_ Line | Count | Source | 123 | 16 | cast_type(block.get_by_position(arguments[0]).type.get(), [&](const auto& type) { | 124 | 16 | using DataType = std::decay_t<decltype(type)>; | 125 | | | 126 | | if constexpr (IsDataTypeDecimal<DataType>) { | 127 | | if constexpr (allow_decimal) { | 128 | | if (auto col = check_and_get_column<ColumnDecimal<DataType::PType>>( | 129 | | block.get_by_position(arguments[0]).column.get())) { | 130 | | auto col_res = | 131 | | PrimitiveTypeTraits<Op::ResultType>::ColumnType::create( | 132 | | 0, type.get_scale()); | 133 | | auto& vec_res = col_res->get_data(); | 134 | | vec_res.resize(col->get_data().size()); | 135 | | UnaryOperationImpl<DataType::PType, Op>::vector(col->get_data(), | 136 | | vec_res); | 137 | | block.replace_by_position(result, std::move(col_res)); | 138 | | return true; | 139 | | } | 140 | | } | 141 | 16 | } else { | 142 | 16 | if (auto col = check_and_get_column<ColumnVector<DataType::PType>>( | 143 | 16 | block.get_by_position(arguments[0]).column.get())) { | 144 | 16 | auto col_res = | 145 | 16 | PrimitiveTypeTraits<Op::ResultType>::ColumnType::create(); | 146 | 16 | auto& vec_res = col_res->get_data(); | 147 | 16 | vec_res.resize(col->get_data().size()); | 148 | 16 | UnaryOperationImpl<DataType::PType, Op>::vector(col->get_data(), | 149 | 16 | vec_res); | 150 | 16 | block.replace_by_position(result, std::move(col_res)); | 151 | 16 | return true; | 152 | 16 | } | 153 | 16 | } | 154 | | | 155 | 0 | return false; | 156 | 16 | }); |
Unexecuted instantiation: _ZZNK5doris23FunctionUnaryArithmeticINS_7AbsImplIhEENS_7NameAbsELNS_13PrimitiveTypeE2EE12execute_implEPNS_15FunctionContextERNS_5BlockERKSt6vectorIjSaIjEEjmENKUlRKT_E_clINS_14DataTypeNumberILS4_2EEEEEDaSH_ _ZZNK5doris23FunctionUnaryArithmeticINS_7AbsImplINS_7DecimalIiEEEENS_7NameAbsELNS_13PrimitiveTypeE28EE12execute_implEPNS_15FunctionContextERNS_5BlockERKSt6vectorIjSaIjEEjmENKUlRKT_E_clINS_15DataTypeDecimalILS6_28EEEEEDaSJ_ Line | Count | Source | 123 | 42 | cast_type(block.get_by_position(arguments[0]).type.get(), [&](const auto& type) { | 124 | 42 | using DataType = std::decay_t<decltype(type)>; | 125 | | | 126 | 42 | if constexpr (IsDataTypeDecimal<DataType>) { | 127 | 42 | if constexpr (allow_decimal) { | 128 | 42 | if (auto col = check_and_get_column<ColumnDecimal<DataType::PType>>( | 129 | 42 | block.get_by_position(arguments[0]).column.get())) { | 130 | 42 | auto col_res = | 131 | 42 | PrimitiveTypeTraits<Op::ResultType>::ColumnType::create( | 132 | 42 | 0, type.get_scale()); | 133 | 42 | auto& vec_res = col_res->get_data(); | 134 | 42 | vec_res.resize(col->get_data().size()); | 135 | 42 | UnaryOperationImpl<DataType::PType, Op>::vector(col->get_data(), | 136 | 42 | vec_res); | 137 | 42 | block.replace_by_position(result, std::move(col_res)); | 138 | 42 | return true; | 139 | 42 | } | 140 | 42 | } | 141 | | } else { | 142 | | if (auto col = check_and_get_column<ColumnVector<DataType::PType>>( | 143 | | block.get_by_position(arguments[0]).column.get())) { | 144 | | auto col_res = | 145 | | PrimitiveTypeTraits<Op::ResultType>::ColumnType::create(); | 146 | | auto& vec_res = col_res->get_data(); | 147 | | vec_res.resize(col->get_data().size()); | 148 | | UnaryOperationImpl<DataType::PType, Op>::vector(col->get_data(), | 149 | | vec_res); | 150 | | block.replace_by_position(result, std::move(col_res)); | 151 | | return true; | 152 | | } | 153 | | } | 154 | | | 155 | 0 | return false; | 156 | 42 | }); |
_ZZNK5doris23FunctionUnaryArithmeticINS_7AbsImplINS_7DecimalIlEEEENS_7NameAbsELNS_13PrimitiveTypeE29EE12execute_implEPNS_15FunctionContextERNS_5BlockERKSt6vectorIjSaIjEEjmENKUlRKT_E_clINS_15DataTypeDecimalILS6_29EEEEEDaSJ_ Line | Count | Source | 123 | 48 | cast_type(block.get_by_position(arguments[0]).type.get(), [&](const auto& type) { | 124 | 48 | using DataType = std::decay_t<decltype(type)>; | 125 | | | 126 | 48 | if constexpr (IsDataTypeDecimal<DataType>) { | 127 | 48 | if constexpr (allow_decimal) { | 128 | 48 | if (auto col = check_and_get_column<ColumnDecimal<DataType::PType>>( | 129 | 48 | block.get_by_position(arguments[0]).column.get())) { | 130 | 47 | auto col_res = | 131 | 47 | PrimitiveTypeTraits<Op::ResultType>::ColumnType::create( | 132 | 47 | 0, type.get_scale()); | 133 | 47 | auto& vec_res = col_res->get_data(); | 134 | 47 | vec_res.resize(col->get_data().size()); | 135 | 47 | UnaryOperationImpl<DataType::PType, Op>::vector(col->get_data(), | 136 | 47 | vec_res); | 137 | 47 | block.replace_by_position(result, std::move(col_res)); | 138 | 47 | return true; | 139 | 47 | } | 140 | 48 | } | 141 | | } else { | 142 | | if (auto col = check_and_get_column<ColumnVector<DataType::PType>>( | 143 | | block.get_by_position(arguments[0]).column.get())) { | 144 | | auto col_res = | 145 | | PrimitiveTypeTraits<Op::ResultType>::ColumnType::create(); | 146 | | auto& vec_res = col_res->get_data(); | 147 | | vec_res.resize(col->get_data().size()); | 148 | | UnaryOperationImpl<DataType::PType, Op>::vector(col->get_data(), | 149 | | vec_res); | 150 | | block.replace_by_position(result, std::move(col_res)); | 151 | | return true; | 152 | | } | 153 | | } | 154 | | | 155 | 1 | return false; | 156 | 48 | }); |
_ZZNK5doris23FunctionUnaryArithmeticINS_7AbsImplINS_12Decimal128V3EEENS_7NameAbsELNS_13PrimitiveTypeE30EE12execute_implEPNS_15FunctionContextERNS_5BlockERKSt6vectorIjSaIjEEjmENKUlRKT_E_clINS_15DataTypeDecimalILS5_30EEEEEDaSI_ Line | Count | Source | 123 | 9 | cast_type(block.get_by_position(arguments[0]).type.get(), [&](const auto& type) { | 124 | 9 | using DataType = std::decay_t<decltype(type)>; | 125 | | | 126 | 9 | if constexpr (IsDataTypeDecimal<DataType>) { | 127 | 9 | if constexpr (allow_decimal) { | 128 | 9 | if (auto col = check_and_get_column<ColumnDecimal<DataType::PType>>( | 129 | 9 | block.get_by_position(arguments[0]).column.get())) { | 130 | 9 | auto col_res = | 131 | 9 | PrimitiveTypeTraits<Op::ResultType>::ColumnType::create( | 132 | 9 | 0, type.get_scale()); | 133 | 9 | auto& vec_res = col_res->get_data(); | 134 | 9 | vec_res.resize(col->get_data().size()); | 135 | 9 | UnaryOperationImpl<DataType::PType, Op>::vector(col->get_data(), | 136 | 9 | vec_res); | 137 | 9 | block.replace_by_position(result, std::move(col_res)); | 138 | 9 | return true; | 139 | 9 | } | 140 | 9 | } | 141 | | } else { | 142 | | if (auto col = check_and_get_column<ColumnVector<DataType::PType>>( | 143 | | block.get_by_position(arguments[0]).column.get())) { | 144 | | auto col_res = | 145 | | PrimitiveTypeTraits<Op::ResultType>::ColumnType::create(); | 146 | | auto& vec_res = col_res->get_data(); | 147 | | vec_res.resize(col->get_data().size()); | 148 | | UnaryOperationImpl<DataType::PType, Op>::vector(col->get_data(), | 149 | | vec_res); | 150 | | block.replace_by_position(result, std::move(col_res)); | 151 | | return true; | 152 | | } | 153 | | } | 154 | | | 155 | 0 | return false; | 156 | 9 | }); |
_ZZNK5doris23FunctionUnaryArithmeticINS_7AbsImplINS_14DecimalV2ValueEEENS_7NameAbsELNS_13PrimitiveTypeE20EE12execute_implEPNS_15FunctionContextERNS_5BlockERKSt6vectorIjSaIjEEjmENKUlRKT_E_clINS_15DataTypeDecimalILS5_20EEEEEDaSI_ Line | Count | Source | 123 | 1 | cast_type(block.get_by_position(arguments[0]).type.get(), [&](const auto& type) { | 124 | 1 | using DataType = std::decay_t<decltype(type)>; | 125 | | | 126 | 1 | if constexpr (IsDataTypeDecimal<DataType>) { | 127 | 1 | if constexpr (allow_decimal) { | 128 | 1 | if (auto col = check_and_get_column<ColumnDecimal<DataType::PType>>( | 129 | 1 | block.get_by_position(arguments[0]).column.get())) { | 130 | 1 | auto col_res = | 131 | 1 | PrimitiveTypeTraits<Op::ResultType>::ColumnType::create( | 132 | 1 | 0, type.get_scale()); | 133 | 1 | auto& vec_res = col_res->get_data(); | 134 | 1 | vec_res.resize(col->get_data().size()); | 135 | 1 | UnaryOperationImpl<DataType::PType, Op>::vector(col->get_data(), | 136 | 1 | vec_res); | 137 | 1 | block.replace_by_position(result, std::move(col_res)); | 138 | 1 | return true; | 139 | 1 | } | 140 | 1 | } | 141 | | } else { | 142 | | if (auto col = check_and_get_column<ColumnVector<DataType::PType>>( | 143 | | block.get_by_position(arguments[0]).column.get())) { | 144 | | auto col_res = | 145 | | PrimitiveTypeTraits<Op::ResultType>::ColumnType::create(); | 146 | | auto& vec_res = col_res->get_data(); | 147 | | vec_res.resize(col->get_data().size()); | 148 | | UnaryOperationImpl<DataType::PType, Op>::vector(col->get_data(), | 149 | | vec_res); | 150 | | block.replace_by_position(result, std::move(col_res)); | 151 | | return true; | 152 | | } | 153 | | } | 154 | | | 155 | 0 | return false; | 156 | 1 | }); |
_ZZNK5doris23FunctionUnaryArithmeticINS_7AbsImplINS_7DecimalIN4wide7integerILm256EiEEEEEENS_7NameAbsELNS_13PrimitiveTypeE35EE12execute_implEPNS_15FunctionContextERNS_5BlockERKSt6vectorIjSaIjEEjmENKUlRKT_E_clINS_15DataTypeDecimalILS9_35EEEEEDaSM_ Line | Count | Source | 123 | 6 | cast_type(block.get_by_position(arguments[0]).type.get(), [&](const auto& type) { | 124 | 6 | using DataType = std::decay_t<decltype(type)>; | 125 | | | 126 | 6 | if constexpr (IsDataTypeDecimal<DataType>) { | 127 | 6 | if constexpr (allow_decimal) { | 128 | 6 | if (auto col = check_and_get_column<ColumnDecimal<DataType::PType>>( | 129 | 6 | block.get_by_position(arguments[0]).column.get())) { | 130 | 6 | auto col_res = | 131 | 6 | PrimitiveTypeTraits<Op::ResultType>::ColumnType::create( | 132 | 6 | 0, type.get_scale()); | 133 | 6 | auto& vec_res = col_res->get_data(); | 134 | 6 | vec_res.resize(col->get_data().size()); | 135 | 6 | UnaryOperationImpl<DataType::PType, Op>::vector(col->get_data(), | 136 | 6 | vec_res); | 137 | 6 | block.replace_by_position(result, std::move(col_res)); | 138 | 6 | return true; | 139 | 6 | } | 140 | 6 | } | 141 | | } else { | 142 | | if (auto col = check_and_get_column<ColumnVector<DataType::PType>>( | 143 | | block.get_by_position(arguments[0]).column.get())) { | 144 | | auto col_res = | 145 | | PrimitiveTypeTraits<Op::ResultType>::ColumnType::create(); | 146 | | auto& vec_res = col_res->get_data(); | 147 | | vec_res.resize(col->get_data().size()); | 148 | | UnaryOperationImpl<DataType::PType, Op>::vector(col->get_data(), | 149 | | vec_res); | 150 | | block.replace_by_position(result, std::move(col_res)); | 151 | | return true; | 152 | | } | 153 | | } | 154 | | | 155 | 0 | return false; | 156 | 6 | }); |
_ZZNK5doris23FunctionUnaryArithmeticINS_7AbsImplIfEENS_7NameAbsELNS_13PrimitiveTypeE8EE12execute_implEPNS_15FunctionContextERNS_5BlockERKSt6vectorIjSaIjEEjmENKUlRKT_E_clINS_14DataTypeNumberILS4_8EEEEEDaSH_ Line | Count | Source | 123 | 32 | cast_type(block.get_by_position(arguments[0]).type.get(), [&](const auto& type) { | 124 | 32 | using DataType = std::decay_t<decltype(type)>; | 125 | | | 126 | | if constexpr (IsDataTypeDecimal<DataType>) { | 127 | | if constexpr (allow_decimal) { | 128 | | if (auto col = check_and_get_column<ColumnDecimal<DataType::PType>>( | 129 | | block.get_by_position(arguments[0]).column.get())) { | 130 | | auto col_res = | 131 | | PrimitiveTypeTraits<Op::ResultType>::ColumnType::create( | 132 | | 0, type.get_scale()); | 133 | | auto& vec_res = col_res->get_data(); | 134 | | vec_res.resize(col->get_data().size()); | 135 | | UnaryOperationImpl<DataType::PType, Op>::vector(col->get_data(), | 136 | | vec_res); | 137 | | block.replace_by_position(result, std::move(col_res)); | 138 | | return true; | 139 | | } | 140 | | } | 141 | 32 | } else { | 142 | 32 | if (auto col = check_and_get_column<ColumnVector<DataType::PType>>( | 143 | 32 | block.get_by_position(arguments[0]).column.get())) { | 144 | 32 | auto col_res = | 145 | 32 | PrimitiveTypeTraits<Op::ResultType>::ColumnType::create(); | 146 | 32 | auto& vec_res = col_res->get_data(); | 147 | 32 | vec_res.resize(col->get_data().size()); | 148 | 32 | UnaryOperationImpl<DataType::PType, Op>::vector(col->get_data(), | 149 | 32 | vec_res); | 150 | 32 | block.replace_by_position(result, std::move(col_res)); | 151 | 32 | return true; | 152 | 32 | } | 153 | 32 | } | 154 | | | 155 | 0 | return false; | 156 | 32 | }); |
_ZZNK5doris23FunctionUnaryArithmeticINS_7AbsImplIdEENS_7NameAbsELNS_13PrimitiveTypeE9EE12execute_implEPNS_15FunctionContextERNS_5BlockERKSt6vectorIjSaIjEEjmENKUlRKT_E_clINS_14DataTypeNumberILS4_9EEEEEDaSH_ Line | Count | Source | 123 | 91 | cast_type(block.get_by_position(arguments[0]).type.get(), [&](const auto& type) { | 124 | 91 | using DataType = std::decay_t<decltype(type)>; | 125 | | | 126 | | if constexpr (IsDataTypeDecimal<DataType>) { | 127 | | if constexpr (allow_decimal) { | 128 | | if (auto col = check_and_get_column<ColumnDecimal<DataType::PType>>( | 129 | | block.get_by_position(arguments[0]).column.get())) { | 130 | | auto col_res = | 131 | | PrimitiveTypeTraits<Op::ResultType>::ColumnType::create( | 132 | | 0, type.get_scale()); | 133 | | auto& vec_res = col_res->get_data(); | 134 | | vec_res.resize(col->get_data().size()); | 135 | | UnaryOperationImpl<DataType::PType, Op>::vector(col->get_data(), | 136 | | vec_res); | 137 | | block.replace_by_position(result, std::move(col_res)); | 138 | | return true; | 139 | | } | 140 | | } | 141 | 91 | } else { | 142 | 91 | if (auto col = check_and_get_column<ColumnVector<DataType::PType>>( | 143 | 91 | block.get_by_position(arguments[0]).column.get())) { | 144 | 91 | auto col_res = | 145 | 91 | PrimitiveTypeTraits<Op::ResultType>::ColumnType::create(); | 146 | 91 | auto& vec_res = col_res->get_data(); | 147 | 91 | vec_res.resize(col->get_data().size()); | 148 | 91 | UnaryOperationImpl<DataType::PType, Op>::vector(col->get_data(), | 149 | 91 | vec_res); | 150 | 91 | block.replace_by_position(result, std::move(col_res)); | 151 | 91 | return true; | 152 | 91 | } | 153 | 91 | } | 154 | | | 155 | 0 | return false; | 156 | 91 | }); |
_ZZNK5doris23FunctionUnaryArithmeticINS_12NegativeImplIdEENS_12NameNegativeELNS_13PrimitiveTypeE9EE12execute_implEPNS_15FunctionContextERNS_5BlockERKSt6vectorIjSaIjEEjmENKUlRKT_E_clINS_14DataTypeNumberILS4_9EEEEEDaSH_ Line | Count | Source | 123 | 17 | cast_type(block.get_by_position(arguments[0]).type.get(), [&](const auto& type) { | 124 | 17 | using DataType = std::decay_t<decltype(type)>; | 125 | | | 126 | | if constexpr (IsDataTypeDecimal<DataType>) { | 127 | | if constexpr (allow_decimal) { | 128 | | if (auto col = check_and_get_column<ColumnDecimal<DataType::PType>>( | 129 | | block.get_by_position(arguments[0]).column.get())) { | 130 | | auto col_res = | 131 | | PrimitiveTypeTraits<Op::ResultType>::ColumnType::create( | 132 | | 0, type.get_scale()); | 133 | | auto& vec_res = col_res->get_data(); | 134 | | vec_res.resize(col->get_data().size()); | 135 | | UnaryOperationImpl<DataType::PType, Op>::vector(col->get_data(), | 136 | | vec_res); | 137 | | block.replace_by_position(result, std::move(col_res)); | 138 | | return true; | 139 | | } | 140 | | } | 141 | 17 | } else { | 142 | 17 | if (auto col = check_and_get_column<ColumnVector<DataType::PType>>( | 143 | 17 | block.get_by_position(arguments[0]).column.get())) { | 144 | 17 | auto col_res = | 145 | 17 | PrimitiveTypeTraits<Op::ResultType>::ColumnType::create(); | 146 | 17 | auto& vec_res = col_res->get_data(); | 147 | 17 | vec_res.resize(col->get_data().size()); | 148 | 17 | UnaryOperationImpl<DataType::PType, Op>::vector(col->get_data(), | 149 | 17 | vec_res); | 150 | 17 | block.replace_by_position(result, std::move(col_res)); | 151 | 17 | return true; | 152 | 17 | } | 153 | 17 | } | 154 | | | 155 | 0 | return false; | 156 | 17 | }); |
_ZZNK5doris23FunctionUnaryArithmeticINS_12NegativeImplIlEENS_12NameNegativeELNS_13PrimitiveTypeE6EE12execute_implEPNS_15FunctionContextERNS_5BlockERKSt6vectorIjSaIjEEjmENKUlRKT_E_clINS_14DataTypeNumberILS4_6EEEEEDaSH_ Line | Count | Source | 123 | 22 | cast_type(block.get_by_position(arguments[0]).type.get(), [&](const auto& type) { | 124 | 22 | using DataType = std::decay_t<decltype(type)>; | 125 | | | 126 | | if constexpr (IsDataTypeDecimal<DataType>) { | 127 | | if constexpr (allow_decimal) { | 128 | | if (auto col = check_and_get_column<ColumnDecimal<DataType::PType>>( | 129 | | block.get_by_position(arguments[0]).column.get())) { | 130 | | auto col_res = | 131 | | PrimitiveTypeTraits<Op::ResultType>::ColumnType::create( | 132 | | 0, type.get_scale()); | 133 | | auto& vec_res = col_res->get_data(); | 134 | | vec_res.resize(col->get_data().size()); | 135 | | UnaryOperationImpl<DataType::PType, Op>::vector(col->get_data(), | 136 | | vec_res); | 137 | | block.replace_by_position(result, std::move(col_res)); | 138 | | return true; | 139 | | } | 140 | | } | 141 | 22 | } else { | 142 | 22 | if (auto col = check_and_get_column<ColumnVector<DataType::PType>>( | 143 | 22 | block.get_by_position(arguments[0]).column.get())) { | 144 | 22 | auto col_res = | 145 | 22 | PrimitiveTypeTraits<Op::ResultType>::ColumnType::create(); | 146 | 22 | auto& vec_res = col_res->get_data(); | 147 | 22 | vec_res.resize(col->get_data().size()); | 148 | 22 | UnaryOperationImpl<DataType::PType, Op>::vector(col->get_data(), | 149 | 22 | vec_res); | 150 | 22 | block.replace_by_position(result, std::move(col_res)); | 151 | 22 | return true; | 152 | 22 | } | 153 | 22 | } | 154 | | | 155 | 0 | return false; | 156 | 22 | }); |
Unexecuted instantiation: _ZZNK5doris23FunctionUnaryArithmeticINS_12NegativeImplINS_14DecimalV2ValueEEENS_12NameNegativeELNS_13PrimitiveTypeE20EE12execute_implEPNS_15FunctionContextERNS_5BlockERKSt6vectorIjSaIjEEjmENKUlRKT_E_clINS_15DataTypeDecimalILS5_20EEEEEDaSI_ Unexecuted instantiation: _ZZNK5doris23FunctionUnaryArithmeticINS_12NegativeImplINS_7DecimalIN4wide7integerILm256EiEEEEEENS_12NameNegativeELNS_13PrimitiveTypeE35EE12execute_implEPNS_15FunctionContextERNS_5BlockERKSt6vectorIjSaIjEEjmENKUlRKT_E_clINS_15DataTypeDecimalILS9_35EEEEEDaSM_ Unexecuted instantiation: _ZZNK5doris23FunctionUnaryArithmeticINS_12NegativeImplINS_12Decimal128V3EEENS_12NameNegativeELNS_13PrimitiveTypeE30EE12execute_implEPNS_15FunctionContextERNS_5BlockERKSt6vectorIjSaIjEEjmENKUlRKT_E_clINS_15DataTypeDecimalILS5_30EEEEEDaSI_ _ZZNK5doris23FunctionUnaryArithmeticINS_12NegativeImplINS_7DecimalIiEEEENS_12NameNegativeELNS_13PrimitiveTypeE28EE12execute_implEPNS_15FunctionContextERNS_5BlockERKSt6vectorIjSaIjEEjmENKUlRKT_E_clINS_15DataTypeDecimalILS6_28EEEEEDaSJ_ Line | Count | Source | 123 | 12 | cast_type(block.get_by_position(arguments[0]).type.get(), [&](const auto& type) { | 124 | 12 | using DataType = std::decay_t<decltype(type)>; | 125 | | | 126 | 12 | if constexpr (IsDataTypeDecimal<DataType>) { | 127 | 12 | if constexpr (allow_decimal) { | 128 | 12 | if (auto col = check_and_get_column<ColumnDecimal<DataType::PType>>( | 129 | 12 | block.get_by_position(arguments[0]).column.get())) { | 130 | 10 | auto col_res = | 131 | 10 | PrimitiveTypeTraits<Op::ResultType>::ColumnType::create( | 132 | 10 | 0, type.get_scale()); | 133 | 10 | auto& vec_res = col_res->get_data(); | 134 | 10 | vec_res.resize(col->get_data().size()); | 135 | 10 | UnaryOperationImpl<DataType::PType, Op>::vector(col->get_data(), | 136 | 10 | vec_res); | 137 | 10 | block.replace_by_position(result, std::move(col_res)); | 138 | 10 | return true; | 139 | 10 | } | 140 | 12 | } | 141 | | } else { | 142 | | if (auto col = check_and_get_column<ColumnVector<DataType::PType>>( | 143 | | block.get_by_position(arguments[0]).column.get())) { | 144 | | auto col_res = | 145 | | PrimitiveTypeTraits<Op::ResultType>::ColumnType::create(); | 146 | | auto& vec_res = col_res->get_data(); | 147 | | vec_res.resize(col->get_data().size()); | 148 | | UnaryOperationImpl<DataType::PType, Op>::vector(col->get_data(), | 149 | | vec_res); | 150 | | block.replace_by_position(result, std::move(col_res)); | 151 | | return true; | 152 | | } | 153 | | } | 154 | | | 155 | 2 | return false; | 156 | 12 | }); |
Unexecuted instantiation: _ZZNK5doris23FunctionUnaryArithmeticINS_12NegativeImplINS_7DecimalIlEEEENS_12NameNegativeELNS_13PrimitiveTypeE29EE12execute_implEPNS_15FunctionContextERNS_5BlockERKSt6vectorIjSaIjEEjmENKUlRKT_E_clINS_15DataTypeDecimalILS6_29EEEEEDaSJ_ _ZZNK5doris23FunctionUnaryArithmeticINS_12PositiveImplINS_7DecimalIiEEEENS_12NamePositiveELNS_13PrimitiveTypeE28EE12execute_implEPNS_15FunctionContextERNS_5BlockERKSt6vectorIjSaIjEEjmENKUlRKT_E_clINS_15DataTypeDecimalILS6_28EEEEEDaSJ_ Line | Count | Source | 123 | 10 | cast_type(block.get_by_position(arguments[0]).type.get(), [&](const auto& type) { | 124 | 10 | using DataType = std::decay_t<decltype(type)>; | 125 | | | 126 | 10 | if constexpr (IsDataTypeDecimal<DataType>) { | 127 | 10 | if constexpr (allow_decimal) { | 128 | 10 | if (auto col = check_and_get_column<ColumnDecimal<DataType::PType>>( | 129 | 10 | block.get_by_position(arguments[0]).column.get())) { | 130 | 10 | auto col_res = | 131 | 10 | PrimitiveTypeTraits<Op::ResultType>::ColumnType::create( | 132 | 10 | 0, type.get_scale()); | 133 | 10 | auto& vec_res = col_res->get_data(); | 134 | 10 | vec_res.resize(col->get_data().size()); | 135 | 10 | UnaryOperationImpl<DataType::PType, Op>::vector(col->get_data(), | 136 | 10 | vec_res); | 137 | 10 | block.replace_by_position(result, std::move(col_res)); | 138 | 10 | return true; | 139 | 10 | } | 140 | 10 | } | 141 | | } else { | 142 | | if (auto col = check_and_get_column<ColumnVector<DataType::PType>>( | 143 | | block.get_by_position(arguments[0]).column.get())) { | 144 | | auto col_res = | 145 | | PrimitiveTypeTraits<Op::ResultType>::ColumnType::create(); | 146 | | auto& vec_res = col_res->get_data(); | 147 | | vec_res.resize(col->get_data().size()); | 148 | | UnaryOperationImpl<DataType::PType, Op>::vector(col->get_data(), | 149 | | vec_res); | 150 | | block.replace_by_position(result, std::move(col_res)); | 151 | | return true; | 152 | | } | 153 | | } | 154 | | | 155 | 0 | return false; | 156 | 10 | }); |
_ZZNK5doris23FunctionUnaryArithmeticINS_12PositiveImplINS_7DecimalIlEEEENS_12NamePositiveELNS_13PrimitiveTypeE29EE12execute_implEPNS_15FunctionContextERNS_5BlockERKSt6vectorIjSaIjEEjmENKUlRKT_E_clINS_15DataTypeDecimalILS6_29EEEEEDaSJ_ Line | Count | Source | 123 | 3 | cast_type(block.get_by_position(arguments[0]).type.get(), [&](const auto& type) { | 124 | 3 | using DataType = std::decay_t<decltype(type)>; | 125 | | | 126 | 3 | if constexpr (IsDataTypeDecimal<DataType>) { | 127 | 3 | if constexpr (allow_decimal) { | 128 | 3 | if (auto col = check_and_get_column<ColumnDecimal<DataType::PType>>( | 129 | 3 | block.get_by_position(arguments[0]).column.get())) { | 130 | 3 | auto col_res = | 131 | 3 | PrimitiveTypeTraits<Op::ResultType>::ColumnType::create( | 132 | 3 | 0, type.get_scale()); | 133 | 3 | auto& vec_res = col_res->get_data(); | 134 | 3 | vec_res.resize(col->get_data().size()); | 135 | 3 | UnaryOperationImpl<DataType::PType, Op>::vector(col->get_data(), | 136 | 3 | vec_res); | 137 | 3 | block.replace_by_position(result, std::move(col_res)); | 138 | 3 | return true; | 139 | 3 | } | 140 | 3 | } | 141 | | } else { | 142 | | if (auto col = check_and_get_column<ColumnVector<DataType::PType>>( | 143 | | block.get_by_position(arguments[0]).column.get())) { | 144 | | auto col_res = | 145 | | PrimitiveTypeTraits<Op::ResultType>::ColumnType::create(); | 146 | | auto& vec_res = col_res->get_data(); | 147 | | vec_res.resize(col->get_data().size()); | 148 | | UnaryOperationImpl<DataType::PType, Op>::vector(col->get_data(), | 149 | | vec_res); | 150 | | block.replace_by_position(result, std::move(col_res)); | 151 | | return true; | 152 | | } | 153 | | } | 154 | | | 155 | 0 | return false; | 156 | 3 | }); |
_ZZNK5doris23FunctionUnaryArithmeticINS_12PositiveImplINS_12Decimal128V3EEENS_12NamePositiveELNS_13PrimitiveTypeE30EE12execute_implEPNS_15FunctionContextERNS_5BlockERKSt6vectorIjSaIjEEjmENKUlRKT_E_clINS_15DataTypeDecimalILS5_30EEEEEDaSI_ Line | Count | Source | 123 | 16 | cast_type(block.get_by_position(arguments[0]).type.get(), [&](const auto& type) { | 124 | 16 | using DataType = std::decay_t<decltype(type)>; | 125 | | | 126 | 16 | if constexpr (IsDataTypeDecimal<DataType>) { | 127 | 16 | if constexpr (allow_decimal) { | 128 | 16 | if (auto col = check_and_get_column<ColumnDecimal<DataType::PType>>( | 129 | 16 | block.get_by_position(arguments[0]).column.get())) { | 130 | 16 | auto col_res = | 131 | 16 | PrimitiveTypeTraits<Op::ResultType>::ColumnType::create( | 132 | 16 | 0, type.get_scale()); | 133 | 16 | auto& vec_res = col_res->get_data(); | 134 | 16 | vec_res.resize(col->get_data().size()); | 135 | 16 | UnaryOperationImpl<DataType::PType, Op>::vector(col->get_data(), | 136 | 16 | vec_res); | 137 | 16 | block.replace_by_position(result, std::move(col_res)); | 138 | 16 | return true; | 139 | 16 | } | 140 | 16 | } | 141 | | } else { | 142 | | if (auto col = check_and_get_column<ColumnVector<DataType::PType>>( | 143 | | block.get_by_position(arguments[0]).column.get())) { | 144 | | auto col_res = | 145 | | PrimitiveTypeTraits<Op::ResultType>::ColumnType::create(); | 146 | | auto& vec_res = col_res->get_data(); | 147 | | vec_res.resize(col->get_data().size()); | 148 | | UnaryOperationImpl<DataType::PType, Op>::vector(col->get_data(), | 149 | | vec_res); | 150 | | block.replace_by_position(result, std::move(col_res)); | 151 | | return true; | 152 | | } | 153 | | } | 154 | | | 155 | 0 | return false; | 156 | 16 | }); |
Unexecuted instantiation: _ZZNK5doris23FunctionUnaryArithmeticINS_12PositiveImplINS_14DecimalV2ValueEEENS_12NamePositiveELNS_13PrimitiveTypeE20EE12execute_implEPNS_15FunctionContextERNS_5BlockERKSt6vectorIjSaIjEEjmENKUlRKT_E_clINS_15DataTypeDecimalILS5_20EEEEEDaSI_ Unexecuted instantiation: _ZZNK5doris23FunctionUnaryArithmeticINS_12PositiveImplINS_7DecimalIN4wide7integerILm256EiEEEEEENS_12NamePositiveELNS_13PrimitiveTypeE35EE12execute_implEPNS_15FunctionContextERNS_5BlockERKSt6vectorIjSaIjEEjmENKUlRKT_E_clINS_15DataTypeDecimalILS9_35EEEEEDaSM_ _ZZNK5doris23FunctionUnaryArithmeticINS_12PositiveImplIdEENS_12NamePositiveELNS_13PrimitiveTypeE9EE12execute_implEPNS_15FunctionContextERNS_5BlockERKSt6vectorIjSaIjEEjmENKUlRKT_E_clINS_14DataTypeNumberILS4_9EEEEEDaSH_ Line | Count | Source | 123 | 8 | cast_type(block.get_by_position(arguments[0]).type.get(), [&](const auto& type) { | 124 | 8 | using DataType = std::decay_t<decltype(type)>; | 125 | | | 126 | | if constexpr (IsDataTypeDecimal<DataType>) { | 127 | | if constexpr (allow_decimal) { | 128 | | if (auto col = check_and_get_column<ColumnDecimal<DataType::PType>>( | 129 | | block.get_by_position(arguments[0]).column.get())) { | 130 | | auto col_res = | 131 | | PrimitiveTypeTraits<Op::ResultType>::ColumnType::create( | 132 | | 0, type.get_scale()); | 133 | | auto& vec_res = col_res->get_data(); | 134 | | vec_res.resize(col->get_data().size()); | 135 | | UnaryOperationImpl<DataType::PType, Op>::vector(col->get_data(), | 136 | | vec_res); | 137 | | block.replace_by_position(result, std::move(col_res)); | 138 | | return true; | 139 | | } | 140 | | } | 141 | 8 | } else { | 142 | 8 | if (auto col = check_and_get_column<ColumnVector<DataType::PType>>( | 143 | 8 | block.get_by_position(arguments[0]).column.get())) { | 144 | 8 | auto col_res = | 145 | 8 | PrimitiveTypeTraits<Op::ResultType>::ColumnType::create(); | 146 | 8 | auto& vec_res = col_res->get_data(); | 147 | 8 | vec_res.resize(col->get_data().size()); | 148 | 8 | UnaryOperationImpl<DataType::PType, Op>::vector(col->get_data(), | 149 | 8 | vec_res); | 150 | 8 | block.replace_by_position(result, std::move(col_res)); | 151 | 8 | return true; | 152 | 8 | } | 153 | 8 | } | 154 | | | 155 | 0 | return false; | 156 | 8 | }); |
_ZZNK5doris23FunctionUnaryArithmeticINS_12PositiveImplIlEENS_12NamePositiveELNS_13PrimitiveTypeE6EE12execute_implEPNS_15FunctionContextERNS_5BlockERKSt6vectorIjSaIjEEjmENKUlRKT_E_clINS_14DataTypeNumberILS4_6EEEEEDaSH_ Line | Count | Source | 123 | 14 | cast_type(block.get_by_position(arguments[0]).type.get(), [&](const auto& type) { | 124 | 14 | using DataType = std::decay_t<decltype(type)>; | 125 | | | 126 | | if constexpr (IsDataTypeDecimal<DataType>) { | 127 | | if constexpr (allow_decimal) { | 128 | | if (auto col = check_and_get_column<ColumnDecimal<DataType::PType>>( | 129 | | block.get_by_position(arguments[0]).column.get())) { | 130 | | auto col_res = | 131 | | PrimitiveTypeTraits<Op::ResultType>::ColumnType::create( | 132 | | 0, type.get_scale()); | 133 | | auto& vec_res = col_res->get_data(); | 134 | | vec_res.resize(col->get_data().size()); | 135 | | UnaryOperationImpl<DataType::PType, Op>::vector(col->get_data(), | 136 | | vec_res); | 137 | | block.replace_by_position(result, std::move(col_res)); | 138 | | return true; | 139 | | } | 140 | | } | 141 | 14 | } else { | 142 | 14 | if (auto col = check_and_get_column<ColumnVector<DataType::PType>>( | 143 | 14 | block.get_by_position(arguments[0]).column.get())) { | 144 | 14 | auto col_res = | 145 | 14 | PrimitiveTypeTraits<Op::ResultType>::ColumnType::create(); | 146 | 14 | auto& vec_res = col_res->get_data(); | 147 | 14 | vec_res.resize(col->get_data().size()); | 148 | 14 | UnaryOperationImpl<DataType::PType, Op>::vector(col->get_data(), | 149 | 14 | vec_res); | 150 | 14 | block.replace_by_position(result, std::move(col_res)); | 151 | 14 | return true; | 152 | 14 | } | 153 | 14 | } | 154 | | | 155 | 0 | return false; | 156 | 14 | }); |
_ZZNK5doris23FunctionUnaryArithmeticINS_11RadiansImplIdEENS_11NameRadiansELNS_13PrimitiveTypeE9EE12execute_implEPNS_15FunctionContextERNS_5BlockERKSt6vectorIjSaIjEEjmENKUlRKT_E_clINS_14DataTypeNumberILS4_9EEEEEDaSH_ Line | Count | Source | 123 | 17 | cast_type(block.get_by_position(arguments[0]).type.get(), [&](const auto& type) { | 124 | 17 | using DataType = std::decay_t<decltype(type)>; | 125 | | | 126 | | if constexpr (IsDataTypeDecimal<DataType>) { | 127 | | if constexpr (allow_decimal) { | 128 | | if (auto col = check_and_get_column<ColumnDecimal<DataType::PType>>( | 129 | | block.get_by_position(arguments[0]).column.get())) { | 130 | | auto col_res = | 131 | | PrimitiveTypeTraits<Op::ResultType>::ColumnType::create( | 132 | | 0, type.get_scale()); | 133 | | auto& vec_res = col_res->get_data(); | 134 | | vec_res.resize(col->get_data().size()); | 135 | | UnaryOperationImpl<DataType::PType, Op>::vector(col->get_data(), | 136 | | vec_res); | 137 | | block.replace_by_position(result, std::move(col_res)); | 138 | | return true; | 139 | | } | 140 | | } | 141 | 17 | } else { | 142 | 17 | if (auto col = check_and_get_column<ColumnVector<DataType::PType>>( | 143 | 17 | block.get_by_position(arguments[0]).column.get())) { | 144 | 17 | auto col_res = | 145 | 17 | PrimitiveTypeTraits<Op::ResultType>::ColumnType::create(); | 146 | 17 | auto& vec_res = col_res->get_data(); | 147 | 17 | vec_res.resize(col->get_data().size()); | 148 | 17 | UnaryOperationImpl<DataType::PType, Op>::vector(col->get_data(), | 149 | 17 | vec_res); | 150 | 17 | block.replace_by_position(result, std::move(col_res)); | 151 | 17 | return true; | 152 | 17 | } | 153 | 17 | } | 154 | | | 155 | 0 | return false; | 156 | 17 | }); |
_ZZNK5doris23FunctionUnaryArithmeticINS_11DegreesImplIdEENS_11NameDegreesELNS_13PrimitiveTypeE9EE12execute_implEPNS_15FunctionContextERNS_5BlockERKSt6vectorIjSaIjEEjmENKUlRKT_E_clINS_14DataTypeNumberILS4_9EEEEEDaSH_ Line | Count | Source | 123 | 21 | cast_type(block.get_by_position(arguments[0]).type.get(), [&](const auto& type) { | 124 | 21 | using DataType = std::decay_t<decltype(type)>; | 125 | | | 126 | | if constexpr (IsDataTypeDecimal<DataType>) { | 127 | | if constexpr (allow_decimal) { | 128 | | if (auto col = check_and_get_column<ColumnDecimal<DataType::PType>>( | 129 | | block.get_by_position(arguments[0]).column.get())) { | 130 | | auto col_res = | 131 | | PrimitiveTypeTraits<Op::ResultType>::ColumnType::create( | 132 | | 0, type.get_scale()); | 133 | | auto& vec_res = col_res->get_data(); | 134 | | vec_res.resize(col->get_data().size()); | 135 | | UnaryOperationImpl<DataType::PType, Op>::vector(col->get_data(), | 136 | | vec_res); | 137 | | block.replace_by_position(result, std::move(col_res)); | 138 | | return true; | 139 | | } | 140 | | } | 141 | 21 | } else { | 142 | 21 | if (auto col = check_and_get_column<ColumnVector<DataType::PType>>( | 143 | 21 | block.get_by_position(arguments[0]).column.get())) { | 144 | 21 | auto col_res = | 145 | 21 | PrimitiveTypeTraits<Op::ResultType>::ColumnType::create(); | 146 | 21 | auto& vec_res = col_res->get_data(); | 147 | 21 | vec_res.resize(col->get_data().size()); | 148 | 21 | UnaryOperationImpl<DataType::PType, Op>::vector(col->get_data(), | 149 | 21 | vec_res); | 150 | 21 | block.replace_by_position(result, std::move(col_res)); | 151 | 21 | return true; | 152 | 21 | } | 153 | 21 | } | 154 | | | 155 | 0 | return false; | 156 | 21 | }); |
_ZZNK5doris23FunctionUnaryArithmeticINS_11SignBitImplIdEENS_11NameSignBitELNS_13PrimitiveTypeE9EE12execute_implEPNS_15FunctionContextERNS_5BlockERKSt6vectorIjSaIjEEjmENKUlRKT_E_clINS_14DataTypeNumberILS4_9EEEEEDaSH_ Line | Count | Source | 123 | 17 | cast_type(block.get_by_position(arguments[0]).type.get(), [&](const auto& type) { | 124 | 17 | using DataType = std::decay_t<decltype(type)>; | 125 | | | 126 | | if constexpr (IsDataTypeDecimal<DataType>) { | 127 | | if constexpr (allow_decimal) { | 128 | | if (auto col = check_and_get_column<ColumnDecimal<DataType::PType>>( | 129 | | block.get_by_position(arguments[0]).column.get())) { | 130 | | auto col_res = | 131 | | PrimitiveTypeTraits<Op::ResultType>::ColumnType::create( | 132 | | 0, type.get_scale()); | 133 | | auto& vec_res = col_res->get_data(); | 134 | | vec_res.resize(col->get_data().size()); | 135 | | UnaryOperationImpl<DataType::PType, Op>::vector(col->get_data(), | 136 | | vec_res); | 137 | | block.replace_by_position(result, std::move(col_res)); | 138 | | return true; | 139 | | } | 140 | | } | 141 | 17 | } else { | 142 | 17 | if (auto col = check_and_get_column<ColumnVector<DataType::PType>>( | 143 | 17 | block.get_by_position(arguments[0]).column.get())) { | 144 | 17 | auto col_res = | 145 | 17 | PrimitiveTypeTraits<Op::ResultType>::ColumnType::create(); | 146 | 17 | auto& vec_res = col_res->get_data(); | 147 | 17 | vec_res.resize(col->get_data().size()); | 148 | 17 | UnaryOperationImpl<DataType::PType, Op>::vector(col->get_data(), | 149 | 17 | vec_res); | 150 | 17 | block.replace_by_position(result, std::move(col_res)); | 151 | 17 | return true; | 152 | 17 | } | 153 | 17 | } | 154 | | | 155 | 0 | return false; | 156 | 17 | }); |
_ZZNK5doris23FunctionUnaryArithmeticINS_10BitNotImplIaEENS_10NameBitNotELNS_13PrimitiveTypeE3EE12execute_implEPNS_15FunctionContextERNS_5BlockERKSt6vectorIjSaIjEEjmENKUlRKT_E_clINS_14DataTypeNumberILS4_3EEEEEDaSH_ Line | Count | Source | 123 | 2 | cast_type(block.get_by_position(arguments[0]).type.get(), [&](const auto& type) { | 124 | 2 | using DataType = std::decay_t<decltype(type)>; | 125 | | | 126 | | if constexpr (IsDataTypeDecimal<DataType>) { | 127 | | if constexpr (allow_decimal) { | 128 | | if (auto col = check_and_get_column<ColumnDecimal<DataType::PType>>( | 129 | | block.get_by_position(arguments[0]).column.get())) { | 130 | | auto col_res = | 131 | | PrimitiveTypeTraits<Op::ResultType>::ColumnType::create( | 132 | | 0, type.get_scale()); | 133 | | auto& vec_res = col_res->get_data(); | 134 | | vec_res.resize(col->get_data().size()); | 135 | | UnaryOperationImpl<DataType::PType, Op>::vector(col->get_data(), | 136 | | vec_res); | 137 | | block.replace_by_position(result, std::move(col_res)); | 138 | | return true; | 139 | | } | 140 | | } | 141 | 2 | } else { | 142 | 2 | if (auto col = check_and_get_column<ColumnVector<DataType::PType>>( | 143 | 2 | block.get_by_position(arguments[0]).column.get())) { | 144 | 2 | auto col_res = | 145 | 2 | PrimitiveTypeTraits<Op::ResultType>::ColumnType::create(); | 146 | 2 | auto& vec_res = col_res->get_data(); | 147 | 2 | vec_res.resize(col->get_data().size()); | 148 | 2 | UnaryOperationImpl<DataType::PType, Op>::vector(col->get_data(), | 149 | 2 | vec_res); | 150 | 2 | block.replace_by_position(result, std::move(col_res)); | 151 | 2 | return true; | 152 | 2 | } | 153 | 2 | } | 154 | | | 155 | 0 | return false; | 156 | 2 | }); |
Unexecuted instantiation: _ZZNK5doris23FunctionUnaryArithmeticINS_10BitNotImplIsEENS_10NameBitNotELNS_13PrimitiveTypeE4EE12execute_implEPNS_15FunctionContextERNS_5BlockERKSt6vectorIjSaIjEEjmENKUlRKT_E_clINS_14DataTypeNumberILS4_4EEEEEDaSH_ _ZZNK5doris23FunctionUnaryArithmeticINS_10BitNotImplIiEENS_10NameBitNotELNS_13PrimitiveTypeE5EE12execute_implEPNS_15FunctionContextERNS_5BlockERKSt6vectorIjSaIjEEjmENKUlRKT_E_clINS_14DataTypeNumberILS4_5EEEEEDaSH_ Line | Count | Source | 123 | 1 | cast_type(block.get_by_position(arguments[0]).type.get(), [&](const auto& type) { | 124 | 1 | using DataType = std::decay_t<decltype(type)>; | 125 | | | 126 | | if constexpr (IsDataTypeDecimal<DataType>) { | 127 | | if constexpr (allow_decimal) { | 128 | | if (auto col = check_and_get_column<ColumnDecimal<DataType::PType>>( | 129 | | block.get_by_position(arguments[0]).column.get())) { | 130 | | auto col_res = | 131 | | PrimitiveTypeTraits<Op::ResultType>::ColumnType::create( | 132 | | 0, type.get_scale()); | 133 | | auto& vec_res = col_res->get_data(); | 134 | | vec_res.resize(col->get_data().size()); | 135 | | UnaryOperationImpl<DataType::PType, Op>::vector(col->get_data(), | 136 | | vec_res); | 137 | | block.replace_by_position(result, std::move(col_res)); | 138 | | return true; | 139 | | } | 140 | | } | 141 | 1 | } else { | 142 | 1 | if (auto col = check_and_get_column<ColumnVector<DataType::PType>>( | 143 | 1 | block.get_by_position(arguments[0]).column.get())) { | 144 | 1 | auto col_res = | 145 | 1 | PrimitiveTypeTraits<Op::ResultType>::ColumnType::create(); | 146 | 1 | auto& vec_res = col_res->get_data(); | 147 | 1 | vec_res.resize(col->get_data().size()); | 148 | 1 | UnaryOperationImpl<DataType::PType, Op>::vector(col->get_data(), | 149 | 1 | vec_res); | 150 | 1 | block.replace_by_position(result, std::move(col_res)); | 151 | 1 | return true; | 152 | 1 | } | 153 | 1 | } | 154 | | | 155 | 0 | return false; | 156 | 1 | }); |
_ZZNK5doris23FunctionUnaryArithmeticINS_10BitNotImplIlEENS_10NameBitNotELNS_13PrimitiveTypeE6EE12execute_implEPNS_15FunctionContextERNS_5BlockERKSt6vectorIjSaIjEEjmENKUlRKT_E_clINS_14DataTypeNumberILS4_6EEEEEDaSH_ Line | Count | Source | 123 | 3 | cast_type(block.get_by_position(arguments[0]).type.get(), [&](const auto& type) { | 124 | 3 | using DataType = std::decay_t<decltype(type)>; | 125 | | | 126 | | if constexpr (IsDataTypeDecimal<DataType>) { | 127 | | if constexpr (allow_decimal) { | 128 | | if (auto col = check_and_get_column<ColumnDecimal<DataType::PType>>( | 129 | | block.get_by_position(arguments[0]).column.get())) { | 130 | | auto col_res = | 131 | | PrimitiveTypeTraits<Op::ResultType>::ColumnType::create( | 132 | | 0, type.get_scale()); | 133 | | auto& vec_res = col_res->get_data(); | 134 | | vec_res.resize(col->get_data().size()); | 135 | | UnaryOperationImpl<DataType::PType, Op>::vector(col->get_data(), | 136 | | vec_res); | 137 | | block.replace_by_position(result, std::move(col_res)); | 138 | | return true; | 139 | | } | 140 | | } | 141 | 3 | } else { | 142 | 3 | if (auto col = check_and_get_column<ColumnVector<DataType::PType>>( | 143 | 3 | block.get_by_position(arguments[0]).column.get())) { | 144 | 3 | auto col_res = | 145 | 3 | PrimitiveTypeTraits<Op::ResultType>::ColumnType::create(); | 146 | 3 | auto& vec_res = col_res->get_data(); | 147 | 3 | vec_res.resize(col->get_data().size()); | 148 | 3 | UnaryOperationImpl<DataType::PType, Op>::vector(col->get_data(), | 149 | 3 | vec_res); | 150 | 3 | block.replace_by_position(result, std::move(col_res)); | 151 | 3 | return true; | 152 | 3 | } | 153 | 3 | } | 154 | | | 155 | 0 | return false; | 156 | 3 | }); |
Unexecuted instantiation: _ZZNK5doris23FunctionUnaryArithmeticINS_10BitNotImplInEENS_10NameBitNotELNS_13PrimitiveTypeE7EE12execute_implEPNS_15FunctionContextERNS_5BlockERKSt6vectorIjSaIjEEjmENKUlRKT_E_clINS_14DataTypeNumberILS4_7EEEEEDaSH_ _ZZNK5doris23FunctionUnaryArithmeticINS_12BitCountImplIaEENS_12NameBitCountELNS_13PrimitiveTypeE3EE12execute_implEPNS_15FunctionContextERNS_5BlockERKSt6vectorIjSaIjEEjmENKUlRKT_E_clINS_14DataTypeNumberILS4_3EEEEEDaSH_ Line | Count | Source | 123 | 4 | cast_type(block.get_by_position(arguments[0]).type.get(), [&](const auto& type) { | 124 | 4 | using DataType = std::decay_t<decltype(type)>; | 125 | | | 126 | | if constexpr (IsDataTypeDecimal<DataType>) { | 127 | | if constexpr (allow_decimal) { | 128 | | if (auto col = check_and_get_column<ColumnDecimal<DataType::PType>>( | 129 | | block.get_by_position(arguments[0]).column.get())) { | 130 | | auto col_res = | 131 | | PrimitiveTypeTraits<Op::ResultType>::ColumnType::create( | 132 | | 0, type.get_scale()); | 133 | | auto& vec_res = col_res->get_data(); | 134 | | vec_res.resize(col->get_data().size()); | 135 | | UnaryOperationImpl<DataType::PType, Op>::vector(col->get_data(), | 136 | | vec_res); | 137 | | block.replace_by_position(result, std::move(col_res)); | 138 | | return true; | 139 | | } | 140 | | } | 141 | 4 | } else { | 142 | 4 | if (auto col = check_and_get_column<ColumnVector<DataType::PType>>( | 143 | 4 | block.get_by_position(arguments[0]).column.get())) { | 144 | 4 | auto col_res = | 145 | 4 | PrimitiveTypeTraits<Op::ResultType>::ColumnType::create(); | 146 | 4 | auto& vec_res = col_res->get_data(); | 147 | 4 | vec_res.resize(col->get_data().size()); | 148 | 4 | UnaryOperationImpl<DataType::PType, Op>::vector(col->get_data(), | 149 | 4 | vec_res); | 150 | 4 | block.replace_by_position(result, std::move(col_res)); | 151 | 4 | return true; | 152 | 4 | } | 153 | 4 | } | 154 | | | 155 | 0 | return false; | 156 | 4 | }); |
_ZZNK5doris23FunctionUnaryArithmeticINS_12BitCountImplIsEENS_12NameBitCountELNS_13PrimitiveTypeE4EE12execute_implEPNS_15FunctionContextERNS_5BlockERKSt6vectorIjSaIjEEjmENKUlRKT_E_clINS_14DataTypeNumberILS4_4EEEEEDaSH_ Line | Count | Source | 123 | 1 | cast_type(block.get_by_position(arguments[0]).type.get(), [&](const auto& type) { | 124 | 1 | using DataType = std::decay_t<decltype(type)>; | 125 | | | 126 | | if constexpr (IsDataTypeDecimal<DataType>) { | 127 | | if constexpr (allow_decimal) { | 128 | | if (auto col = check_and_get_column<ColumnDecimal<DataType::PType>>( | 129 | | block.get_by_position(arguments[0]).column.get())) { | 130 | | auto col_res = | 131 | | PrimitiveTypeTraits<Op::ResultType>::ColumnType::create( | 132 | | 0, type.get_scale()); | 133 | | auto& vec_res = col_res->get_data(); | 134 | | vec_res.resize(col->get_data().size()); | 135 | | UnaryOperationImpl<DataType::PType, Op>::vector(col->get_data(), | 136 | | vec_res); | 137 | | block.replace_by_position(result, std::move(col_res)); | 138 | | return true; | 139 | | } | 140 | | } | 141 | 1 | } else { | 142 | 1 | if (auto col = check_and_get_column<ColumnVector<DataType::PType>>( | 143 | 1 | block.get_by_position(arguments[0]).column.get())) { | 144 | 1 | auto col_res = | 145 | 1 | PrimitiveTypeTraits<Op::ResultType>::ColumnType::create(); | 146 | 1 | auto& vec_res = col_res->get_data(); | 147 | 1 | vec_res.resize(col->get_data().size()); | 148 | 1 | UnaryOperationImpl<DataType::PType, Op>::vector(col->get_data(), | 149 | 1 | vec_res); | 150 | 1 | block.replace_by_position(result, std::move(col_res)); | 151 | 1 | return true; | 152 | 1 | } | 153 | 1 | } | 154 | | | 155 | 0 | return false; | 156 | 1 | }); |
_ZZNK5doris23FunctionUnaryArithmeticINS_12BitCountImplIiEENS_12NameBitCountELNS_13PrimitiveTypeE5EE12execute_implEPNS_15FunctionContextERNS_5BlockERKSt6vectorIjSaIjEEjmENKUlRKT_E_clINS_14DataTypeNumberILS4_5EEEEEDaSH_ Line | Count | Source | 123 | 2 | cast_type(block.get_by_position(arguments[0]).type.get(), [&](const auto& type) { | 124 | 2 | using DataType = std::decay_t<decltype(type)>; | 125 | | | 126 | | if constexpr (IsDataTypeDecimal<DataType>) { | 127 | | if constexpr (allow_decimal) { | 128 | | if (auto col = check_and_get_column<ColumnDecimal<DataType::PType>>( | 129 | | block.get_by_position(arguments[0]).column.get())) { | 130 | | auto col_res = | 131 | | PrimitiveTypeTraits<Op::ResultType>::ColumnType::create( | 132 | | 0, type.get_scale()); | 133 | | auto& vec_res = col_res->get_data(); | 134 | | vec_res.resize(col->get_data().size()); | 135 | | UnaryOperationImpl<DataType::PType, Op>::vector(col->get_data(), | 136 | | vec_res); | 137 | | block.replace_by_position(result, std::move(col_res)); | 138 | | return true; | 139 | | } | 140 | | } | 141 | 2 | } else { | 142 | 2 | if (auto col = check_and_get_column<ColumnVector<DataType::PType>>( | 143 | 2 | block.get_by_position(arguments[0]).column.get())) { | 144 | 2 | auto col_res = | 145 | 2 | PrimitiveTypeTraits<Op::ResultType>::ColumnType::create(); | 146 | 2 | auto& vec_res = col_res->get_data(); | 147 | 2 | vec_res.resize(col->get_data().size()); | 148 | 2 | UnaryOperationImpl<DataType::PType, Op>::vector(col->get_data(), | 149 | 2 | vec_res); | 150 | 2 | block.replace_by_position(result, std::move(col_res)); | 151 | 2 | return true; | 152 | 2 | } | 153 | 2 | } | 154 | | | 155 | 0 | return false; | 156 | 2 | }); |
_ZZNK5doris23FunctionUnaryArithmeticINS_12BitCountImplIlEENS_12NameBitCountELNS_13PrimitiveTypeE6EE12execute_implEPNS_15FunctionContextERNS_5BlockERKSt6vectorIjSaIjEEjmENKUlRKT_E_clINS_14DataTypeNumberILS4_6EEEEEDaSH_ Line | Count | Source | 123 | 8 | cast_type(block.get_by_position(arguments[0]).type.get(), [&](const auto& type) { | 124 | 8 | using DataType = std::decay_t<decltype(type)>; | 125 | | | 126 | | if constexpr (IsDataTypeDecimal<DataType>) { | 127 | | if constexpr (allow_decimal) { | 128 | | if (auto col = check_and_get_column<ColumnDecimal<DataType::PType>>( | 129 | | block.get_by_position(arguments[0]).column.get())) { | 130 | | auto col_res = | 131 | | PrimitiveTypeTraits<Op::ResultType>::ColumnType::create( | 132 | | 0, type.get_scale()); | 133 | | auto& vec_res = col_res->get_data(); | 134 | | vec_res.resize(col->get_data().size()); | 135 | | UnaryOperationImpl<DataType::PType, Op>::vector(col->get_data(), | 136 | | vec_res); | 137 | | block.replace_by_position(result, std::move(col_res)); | 138 | | return true; | 139 | | } | 140 | | } | 141 | 8 | } else { | 142 | 8 | if (auto col = check_and_get_column<ColumnVector<DataType::PType>>( | 143 | 8 | block.get_by_position(arguments[0]).column.get())) { | 144 | 8 | auto col_res = | 145 | 8 | PrimitiveTypeTraits<Op::ResultType>::ColumnType::create(); | 146 | 8 | auto& vec_res = col_res->get_data(); | 147 | 8 | vec_res.resize(col->get_data().size()); | 148 | 8 | UnaryOperationImpl<DataType::PType, Op>::vector(col->get_data(), | 149 | 8 | vec_res); | 150 | 8 | block.replace_by_position(result, std::move(col_res)); | 151 | 8 | return true; | 152 | 8 | } | 153 | 8 | } | 154 | | | 155 | 0 | return false; | 156 | 8 | }); |
Unexecuted instantiation: _ZZNK5doris23FunctionUnaryArithmeticINS_12BitCountImplInEENS_12NameBitCountELNS_13PrimitiveTypeE7EE12execute_implEPNS_15FunctionContextERNS_5BlockERKSt6vectorIjSaIjEEjmENKUlRKT_E_clINS_14DataTypeNumberILS4_7EEEEEDaSH_ |
157 | 1.18k | if (!valid) { |
158 | 0 | return Status::RuntimeError("{}'s argument does not match the expected data type", |
159 | 0 | get_name()); |
160 | 0 | } |
161 | 1.18k | return Status::OK(); |
162 | 1.18k | } _ZNK5doris23FunctionUnaryArithmeticINS_8SignImplIdEENS_8NameSignELNS_13PrimitiveTypeE9EE12execute_implEPNS_15FunctionContextERNS_5BlockERKSt6vectorIjSaIjEEjm Line | Count | Source | 121 | 26 | uint32_t result, size_t input_rows_count) const override { | 122 | 26 | bool valid = | 123 | 26 | cast_type(block.get_by_position(arguments[0]).type.get(), [&](const auto& type) { | 124 | 26 | using DataType = std::decay_t<decltype(type)>; | 125 | | | 126 | 26 | if constexpr (IsDataTypeDecimal<DataType>) { | 127 | 26 | if constexpr (allow_decimal) { | 128 | 26 | if (auto col = check_and_get_column<ColumnDecimal<DataType::PType>>( | 129 | 26 | block.get_by_position(arguments[0]).column.get())) { | 130 | 26 | auto col_res = | 131 | 26 | PrimitiveTypeTraits<Op::ResultType>::ColumnType::create( | 132 | 26 | 0, type.get_scale()); | 133 | 26 | auto& vec_res = col_res->get_data(); | 134 | 26 | vec_res.resize(col->get_data().size()); | 135 | 26 | UnaryOperationImpl<DataType::PType, Op>::vector(col->get_data(), | 136 | 26 | vec_res); | 137 | 26 | block.replace_by_position(result, std::move(col_res)); | 138 | 26 | return true; | 139 | 26 | } | 140 | 26 | } | 141 | 26 | } else { | 142 | 26 | if (auto col = check_and_get_column<ColumnVector<DataType::PType>>( | 143 | 26 | block.get_by_position(arguments[0]).column.get())) { | 144 | 26 | auto col_res = | 145 | 26 | PrimitiveTypeTraits<Op::ResultType>::ColumnType::create(); | 146 | 26 | auto& vec_res = col_res->get_data(); | 147 | 26 | vec_res.resize(col->get_data().size()); | 148 | 26 | UnaryOperationImpl<DataType::PType, Op>::vector(col->get_data(), | 149 | 26 | vec_res); | 150 | 26 | block.replace_by_position(result, std::move(col_res)); | 151 | 26 | return true; | 152 | 26 | } | 153 | 26 | } | 154 | | | 155 | 26 | return false; | 156 | 26 | }); | 157 | 26 | if (!valid) { | 158 | 0 | return Status::RuntimeError("{}'s argument does not match the expected data type", | 159 | 0 | get_name()); | 160 | 0 | } | 161 | 26 | return Status::OK(); | 162 | 26 | } |
_ZNK5doris23FunctionUnaryArithmeticINS_7AbsImplIaEENS_7NameAbsELNS_13PrimitiveTypeE3EE12execute_implEPNS_15FunctionContextERNS_5BlockERKSt6vectorIjSaIjEEjm Line | Count | Source | 121 | 77 | uint32_t result, size_t input_rows_count) const override { | 122 | 77 | bool valid = | 123 | 77 | cast_type(block.get_by_position(arguments[0]).type.get(), [&](const auto& type) { | 124 | 77 | using DataType = std::decay_t<decltype(type)>; | 125 | | | 126 | 77 | if constexpr (IsDataTypeDecimal<DataType>) { | 127 | 77 | if constexpr (allow_decimal) { | 128 | 77 | if (auto col = check_and_get_column<ColumnDecimal<DataType::PType>>( | 129 | 77 | block.get_by_position(arguments[0]).column.get())) { | 130 | 77 | auto col_res = | 131 | 77 | PrimitiveTypeTraits<Op::ResultType>::ColumnType::create( | 132 | 77 | 0, type.get_scale()); | 133 | 77 | auto& vec_res = col_res->get_data(); | 134 | 77 | vec_res.resize(col->get_data().size()); | 135 | 77 | UnaryOperationImpl<DataType::PType, Op>::vector(col->get_data(), | 136 | 77 | vec_res); | 137 | 77 | block.replace_by_position(result, std::move(col_res)); | 138 | 77 | return true; | 139 | 77 | } | 140 | 77 | } | 141 | 77 | } else { | 142 | 77 | if (auto col = check_and_get_column<ColumnVector<DataType::PType>>( | 143 | 77 | block.get_by_position(arguments[0]).column.get())) { | 144 | 77 | auto col_res = | 145 | 77 | PrimitiveTypeTraits<Op::ResultType>::ColumnType::create(); | 146 | 77 | auto& vec_res = col_res->get_data(); | 147 | 77 | vec_res.resize(col->get_data().size()); | 148 | 77 | UnaryOperationImpl<DataType::PType, Op>::vector(col->get_data(), | 149 | 77 | vec_res); | 150 | 77 | block.replace_by_position(result, std::move(col_res)); | 151 | 77 | return true; | 152 | 77 | } | 153 | 77 | } | 154 | | | 155 | 77 | return false; | 156 | 77 | }); | 157 | 77 | if (!valid) { | 158 | 0 | return Status::RuntimeError("{}'s argument does not match the expected data type", | 159 | 0 | get_name()); | 160 | 0 | } | 161 | 77 | return Status::OK(); | 162 | 77 | } |
_ZNK5doris23FunctionUnaryArithmeticINS_7AbsImplIsEENS_7NameAbsELNS_13PrimitiveTypeE4EE12execute_implEPNS_15FunctionContextERNS_5BlockERKSt6vectorIjSaIjEEjm Line | Count | Source | 121 | 88 | uint32_t result, size_t input_rows_count) const override { | 122 | 88 | bool valid = | 123 | 88 | cast_type(block.get_by_position(arguments[0]).type.get(), [&](const auto& type) { | 124 | 88 | using DataType = std::decay_t<decltype(type)>; | 125 | | | 126 | 88 | if constexpr (IsDataTypeDecimal<DataType>) { | 127 | 88 | if constexpr (allow_decimal) { | 128 | 88 | if (auto col = check_and_get_column<ColumnDecimal<DataType::PType>>( | 129 | 88 | block.get_by_position(arguments[0]).column.get())) { | 130 | 88 | auto col_res = | 131 | 88 | PrimitiveTypeTraits<Op::ResultType>::ColumnType::create( | 132 | 88 | 0, type.get_scale()); | 133 | 88 | auto& vec_res = col_res->get_data(); | 134 | 88 | vec_res.resize(col->get_data().size()); | 135 | 88 | UnaryOperationImpl<DataType::PType, Op>::vector(col->get_data(), | 136 | 88 | vec_res); | 137 | 88 | block.replace_by_position(result, std::move(col_res)); | 138 | 88 | return true; | 139 | 88 | } | 140 | 88 | } | 141 | 88 | } else { | 142 | 88 | if (auto col = check_and_get_column<ColumnVector<DataType::PType>>( | 143 | 88 | block.get_by_position(arguments[0]).column.get())) { | 144 | 88 | auto col_res = | 145 | 88 | PrimitiveTypeTraits<Op::ResultType>::ColumnType::create(); | 146 | 88 | auto& vec_res = col_res->get_data(); | 147 | 88 | vec_res.resize(col->get_data().size()); | 148 | 88 | UnaryOperationImpl<DataType::PType, Op>::vector(col->get_data(), | 149 | 88 | vec_res); | 150 | 88 | block.replace_by_position(result, std::move(col_res)); | 151 | 88 | return true; | 152 | 88 | } | 153 | 88 | } | 154 | | | 155 | 88 | return false; | 156 | 88 | }); | 157 | 88 | if (!valid) { | 158 | 0 | return Status::RuntimeError("{}'s argument does not match the expected data type", | 159 | 0 | get_name()); | 160 | 0 | } | 161 | 88 | return Status::OK(); | 162 | 88 | } |
_ZNK5doris23FunctionUnaryArithmeticINS_7AbsImplIiEENS_7NameAbsELNS_13PrimitiveTypeE5EE12execute_implEPNS_15FunctionContextERNS_5BlockERKSt6vectorIjSaIjEEjm Line | Count | Source | 121 | 362 | uint32_t result, size_t input_rows_count) const override { | 122 | 362 | bool valid = | 123 | 362 | cast_type(block.get_by_position(arguments[0]).type.get(), [&](const auto& type) { | 124 | 362 | using DataType = std::decay_t<decltype(type)>; | 125 | | | 126 | 362 | if constexpr (IsDataTypeDecimal<DataType>) { | 127 | 362 | if constexpr (allow_decimal) { | 128 | 362 | if (auto col = check_and_get_column<ColumnDecimal<DataType::PType>>( | 129 | 362 | block.get_by_position(arguments[0]).column.get())) { | 130 | 362 | auto col_res = | 131 | 362 | PrimitiveTypeTraits<Op::ResultType>::ColumnType::create( | 132 | 362 | 0, type.get_scale()); | 133 | 362 | auto& vec_res = col_res->get_data(); | 134 | 362 | vec_res.resize(col->get_data().size()); | 135 | 362 | UnaryOperationImpl<DataType::PType, Op>::vector(col->get_data(), | 136 | 362 | vec_res); | 137 | 362 | block.replace_by_position(result, std::move(col_res)); | 138 | 362 | return true; | 139 | 362 | } | 140 | 362 | } | 141 | 362 | } else { | 142 | 362 | if (auto col = check_and_get_column<ColumnVector<DataType::PType>>( | 143 | 362 | block.get_by_position(arguments[0]).column.get())) { | 144 | 362 | auto col_res = | 145 | 362 | PrimitiveTypeTraits<Op::ResultType>::ColumnType::create(); | 146 | 362 | auto& vec_res = col_res->get_data(); | 147 | 362 | vec_res.resize(col->get_data().size()); | 148 | 362 | UnaryOperationImpl<DataType::PType, Op>::vector(col->get_data(), | 149 | 362 | vec_res); | 150 | 362 | block.replace_by_position(result, std::move(col_res)); | 151 | 362 | return true; | 152 | 362 | } | 153 | 362 | } | 154 | | | 155 | 362 | return false; | 156 | 362 | }); | 157 | 362 | if (!valid) { | 158 | 0 | return Status::RuntimeError("{}'s argument does not match the expected data type", | 159 | 0 | get_name()); | 160 | 0 | } | 161 | 362 | return Status::OK(); | 162 | 362 | } |
_ZNK5doris23FunctionUnaryArithmeticINS_7AbsImplIlEENS_7NameAbsELNS_13PrimitiveTypeE6EE12execute_implEPNS_15FunctionContextERNS_5BlockERKSt6vectorIjSaIjEEjm Line | Count | Source | 121 | 209 | uint32_t result, size_t input_rows_count) const override { | 122 | 209 | bool valid = | 123 | 209 | cast_type(block.get_by_position(arguments[0]).type.get(), [&](const auto& type) { | 124 | 209 | using DataType = std::decay_t<decltype(type)>; | 125 | | | 126 | 209 | if constexpr (IsDataTypeDecimal<DataType>) { | 127 | 209 | if constexpr (allow_decimal) { | 128 | 209 | if (auto col = check_and_get_column<ColumnDecimal<DataType::PType>>( | 129 | 209 | block.get_by_position(arguments[0]).column.get())) { | 130 | 209 | auto col_res = | 131 | 209 | PrimitiveTypeTraits<Op::ResultType>::ColumnType::create( | 132 | 209 | 0, type.get_scale()); | 133 | 209 | auto& vec_res = col_res->get_data(); | 134 | 209 | vec_res.resize(col->get_data().size()); | 135 | 209 | UnaryOperationImpl<DataType::PType, Op>::vector(col->get_data(), | 136 | 209 | vec_res); | 137 | 209 | block.replace_by_position(result, std::move(col_res)); | 138 | 209 | return true; | 139 | 209 | } | 140 | 209 | } | 141 | 209 | } else { | 142 | 209 | if (auto col = check_and_get_column<ColumnVector<DataType::PType>>( | 143 | 209 | block.get_by_position(arguments[0]).column.get())) { | 144 | 209 | auto col_res = | 145 | 209 | PrimitiveTypeTraits<Op::ResultType>::ColumnType::create(); | 146 | 209 | auto& vec_res = col_res->get_data(); | 147 | 209 | vec_res.resize(col->get_data().size()); | 148 | 209 | UnaryOperationImpl<DataType::PType, Op>::vector(col->get_data(), | 149 | 209 | vec_res); | 150 | 209 | block.replace_by_position(result, std::move(col_res)); | 151 | 209 | return true; | 152 | 209 | } | 153 | 209 | } | 154 | | | 155 | 209 | return false; | 156 | 209 | }); | 157 | 209 | if (!valid) { | 158 | 0 | return Status::RuntimeError("{}'s argument does not match the expected data type", | 159 | 0 | get_name()); | 160 | 0 | } | 161 | 209 | return Status::OK(); | 162 | 209 | } |
_ZNK5doris23FunctionUnaryArithmeticINS_7AbsImplInEENS_7NameAbsELNS_13PrimitiveTypeE7EE12execute_implEPNS_15FunctionContextERNS_5BlockERKSt6vectorIjSaIjEEjm Line | Count | Source | 121 | 16 | uint32_t result, size_t input_rows_count) const override { | 122 | 16 | bool valid = | 123 | 16 | cast_type(block.get_by_position(arguments[0]).type.get(), [&](const auto& type) { | 124 | 16 | using DataType = std::decay_t<decltype(type)>; | 125 | | | 126 | 16 | if constexpr (IsDataTypeDecimal<DataType>) { | 127 | 16 | if constexpr (allow_decimal) { | 128 | 16 | if (auto col = check_and_get_column<ColumnDecimal<DataType::PType>>( | 129 | 16 | block.get_by_position(arguments[0]).column.get())) { | 130 | 16 | auto col_res = | 131 | 16 | PrimitiveTypeTraits<Op::ResultType>::ColumnType::create( | 132 | 16 | 0, type.get_scale()); | 133 | 16 | auto& vec_res = col_res->get_data(); | 134 | 16 | vec_res.resize(col->get_data().size()); | 135 | 16 | UnaryOperationImpl<DataType::PType, Op>::vector(col->get_data(), | 136 | 16 | vec_res); | 137 | 16 | block.replace_by_position(result, std::move(col_res)); | 138 | 16 | return true; | 139 | 16 | } | 140 | 16 | } | 141 | 16 | } else { | 142 | 16 | if (auto col = check_and_get_column<ColumnVector<DataType::PType>>( | 143 | 16 | block.get_by_position(arguments[0]).column.get())) { | 144 | 16 | auto col_res = | 145 | 16 | PrimitiveTypeTraits<Op::ResultType>::ColumnType::create(); | 146 | 16 | auto& vec_res = col_res->get_data(); | 147 | 16 | vec_res.resize(col->get_data().size()); | 148 | 16 | UnaryOperationImpl<DataType::PType, Op>::vector(col->get_data(), | 149 | 16 | vec_res); | 150 | 16 | block.replace_by_position(result, std::move(col_res)); | 151 | 16 | return true; | 152 | 16 | } | 153 | 16 | } | 154 | | | 155 | 16 | return false; | 156 | 16 | }); | 157 | 16 | if (!valid) { | 158 | 0 | return Status::RuntimeError("{}'s argument does not match the expected data type", | 159 | 0 | get_name()); | 160 | 0 | } | 161 | 16 | return Status::OK(); | 162 | 16 | } |
Unexecuted instantiation: _ZNK5doris23FunctionUnaryArithmeticINS_7AbsImplIhEENS_7NameAbsELNS_13PrimitiveTypeE2EE12execute_implEPNS_15FunctionContextERNS_5BlockERKSt6vectorIjSaIjEEjm _ZNK5doris23FunctionUnaryArithmeticINS_7AbsImplINS_7DecimalIiEEEENS_7NameAbsELNS_13PrimitiveTypeE28EE12execute_implEPNS_15FunctionContextERNS_5BlockERKSt6vectorIjSaIjEEjm Line | Count | Source | 121 | 42 | uint32_t result, size_t input_rows_count) const override { | 122 | 42 | bool valid = | 123 | 42 | cast_type(block.get_by_position(arguments[0]).type.get(), [&](const auto& type) { | 124 | 42 | using DataType = std::decay_t<decltype(type)>; | 125 | | | 126 | 42 | if constexpr (IsDataTypeDecimal<DataType>) { | 127 | 42 | if constexpr (allow_decimal) { | 128 | 42 | if (auto col = check_and_get_column<ColumnDecimal<DataType::PType>>( | 129 | 42 | block.get_by_position(arguments[0]).column.get())) { | 130 | 42 | auto col_res = | 131 | 42 | PrimitiveTypeTraits<Op::ResultType>::ColumnType::create( | 132 | 42 | 0, type.get_scale()); | 133 | 42 | auto& vec_res = col_res->get_data(); | 134 | 42 | vec_res.resize(col->get_data().size()); | 135 | 42 | UnaryOperationImpl<DataType::PType, Op>::vector(col->get_data(), | 136 | 42 | vec_res); | 137 | 42 | block.replace_by_position(result, std::move(col_res)); | 138 | 42 | return true; | 139 | 42 | } | 140 | 42 | } | 141 | 42 | } else { | 142 | 42 | if (auto col = check_and_get_column<ColumnVector<DataType::PType>>( | 143 | 42 | block.get_by_position(arguments[0]).column.get())) { | 144 | 42 | auto col_res = | 145 | 42 | PrimitiveTypeTraits<Op::ResultType>::ColumnType::create(); | 146 | 42 | auto& vec_res = col_res->get_data(); | 147 | 42 | vec_res.resize(col->get_data().size()); | 148 | 42 | UnaryOperationImpl<DataType::PType, Op>::vector(col->get_data(), | 149 | 42 | vec_res); | 150 | 42 | block.replace_by_position(result, std::move(col_res)); | 151 | 42 | return true; | 152 | 42 | } | 153 | 42 | } | 154 | | | 155 | 42 | return false; | 156 | 42 | }); | 157 | 42 | if (!valid) { | 158 | 0 | return Status::RuntimeError("{}'s argument does not match the expected data type", | 159 | 0 | get_name()); | 160 | 0 | } | 161 | 42 | return Status::OK(); | 162 | 42 | } |
_ZNK5doris23FunctionUnaryArithmeticINS_7AbsImplINS_7DecimalIlEEEENS_7NameAbsELNS_13PrimitiveTypeE29EE12execute_implEPNS_15FunctionContextERNS_5BlockERKSt6vectorIjSaIjEEjm Line | Count | Source | 121 | 47 | uint32_t result, size_t input_rows_count) const override { | 122 | 47 | bool valid = | 123 | 47 | cast_type(block.get_by_position(arguments[0]).type.get(), [&](const auto& type) { | 124 | 47 | using DataType = std::decay_t<decltype(type)>; | 125 | | | 126 | 47 | if constexpr (IsDataTypeDecimal<DataType>) { | 127 | 47 | if constexpr (allow_decimal) { | 128 | 47 | if (auto col = check_and_get_column<ColumnDecimal<DataType::PType>>( | 129 | 47 | block.get_by_position(arguments[0]).column.get())) { | 130 | 47 | auto col_res = | 131 | 47 | PrimitiveTypeTraits<Op::ResultType>::ColumnType::create( | 132 | 47 | 0, type.get_scale()); | 133 | 47 | auto& vec_res = col_res->get_data(); | 134 | 47 | vec_res.resize(col->get_data().size()); | 135 | 47 | UnaryOperationImpl<DataType::PType, Op>::vector(col->get_data(), | 136 | 47 | vec_res); | 137 | 47 | block.replace_by_position(result, std::move(col_res)); | 138 | 47 | return true; | 139 | 47 | } | 140 | 47 | } | 141 | 47 | } else { | 142 | 47 | if (auto col = check_and_get_column<ColumnVector<DataType::PType>>( | 143 | 47 | block.get_by_position(arguments[0]).column.get())) { | 144 | 47 | auto col_res = | 145 | 47 | PrimitiveTypeTraits<Op::ResultType>::ColumnType::create(); | 146 | 47 | auto& vec_res = col_res->get_data(); | 147 | 47 | vec_res.resize(col->get_data().size()); | 148 | 47 | UnaryOperationImpl<DataType::PType, Op>::vector(col->get_data(), | 149 | 47 | vec_res); | 150 | 47 | block.replace_by_position(result, std::move(col_res)); | 151 | 47 | return true; | 152 | 47 | } | 153 | 47 | } | 154 | | | 155 | 47 | return false; | 156 | 47 | }); | 157 | 47 | if (!valid) { | 158 | 0 | return Status::RuntimeError("{}'s argument does not match the expected data type", | 159 | 0 | get_name()); | 160 | 0 | } | 161 | 47 | return Status::OK(); | 162 | 47 | } |
_ZNK5doris23FunctionUnaryArithmeticINS_7AbsImplINS_12Decimal128V3EEENS_7NameAbsELNS_13PrimitiveTypeE30EE12execute_implEPNS_15FunctionContextERNS_5BlockERKSt6vectorIjSaIjEEjm Line | Count | Source | 121 | 9 | uint32_t result, size_t input_rows_count) const override { | 122 | 9 | bool valid = | 123 | 9 | cast_type(block.get_by_position(arguments[0]).type.get(), [&](const auto& type) { | 124 | 9 | using DataType = std::decay_t<decltype(type)>; | 125 | | | 126 | 9 | if constexpr (IsDataTypeDecimal<DataType>) { | 127 | 9 | if constexpr (allow_decimal) { | 128 | 9 | if (auto col = check_and_get_column<ColumnDecimal<DataType::PType>>( | 129 | 9 | block.get_by_position(arguments[0]).column.get())) { | 130 | 9 | auto col_res = | 131 | 9 | PrimitiveTypeTraits<Op::ResultType>::ColumnType::create( | 132 | 9 | 0, type.get_scale()); | 133 | 9 | auto& vec_res = col_res->get_data(); | 134 | 9 | vec_res.resize(col->get_data().size()); | 135 | 9 | UnaryOperationImpl<DataType::PType, Op>::vector(col->get_data(), | 136 | 9 | vec_res); | 137 | 9 | block.replace_by_position(result, std::move(col_res)); | 138 | 9 | return true; | 139 | 9 | } | 140 | 9 | } | 141 | 9 | } else { | 142 | 9 | if (auto col = check_and_get_column<ColumnVector<DataType::PType>>( | 143 | 9 | block.get_by_position(arguments[0]).column.get())) { | 144 | 9 | auto col_res = | 145 | 9 | PrimitiveTypeTraits<Op::ResultType>::ColumnType::create(); | 146 | 9 | auto& vec_res = col_res->get_data(); | 147 | 9 | vec_res.resize(col->get_data().size()); | 148 | 9 | UnaryOperationImpl<DataType::PType, Op>::vector(col->get_data(), | 149 | 9 | vec_res); | 150 | 9 | block.replace_by_position(result, std::move(col_res)); | 151 | 9 | return true; | 152 | 9 | } | 153 | 9 | } | 154 | | | 155 | 9 | return false; | 156 | 9 | }); | 157 | 9 | if (!valid) { | 158 | 0 | return Status::RuntimeError("{}'s argument does not match the expected data type", | 159 | 0 | get_name()); | 160 | 0 | } | 161 | 9 | return Status::OK(); | 162 | 9 | } |
_ZNK5doris23FunctionUnaryArithmeticINS_7AbsImplINS_14DecimalV2ValueEEENS_7NameAbsELNS_13PrimitiveTypeE20EE12execute_implEPNS_15FunctionContextERNS_5BlockERKSt6vectorIjSaIjEEjm Line | Count | Source | 121 | 1 | uint32_t result, size_t input_rows_count) const override { | 122 | 1 | bool valid = | 123 | 1 | cast_type(block.get_by_position(arguments[0]).type.get(), [&](const auto& type) { | 124 | 1 | using DataType = std::decay_t<decltype(type)>; | 125 | | | 126 | 1 | if constexpr (IsDataTypeDecimal<DataType>) { | 127 | 1 | if constexpr (allow_decimal) { | 128 | 1 | if (auto col = check_and_get_column<ColumnDecimal<DataType::PType>>( | 129 | 1 | block.get_by_position(arguments[0]).column.get())) { | 130 | 1 | auto col_res = | 131 | 1 | PrimitiveTypeTraits<Op::ResultType>::ColumnType::create( | 132 | 1 | 0, type.get_scale()); | 133 | 1 | auto& vec_res = col_res->get_data(); | 134 | 1 | vec_res.resize(col->get_data().size()); | 135 | 1 | UnaryOperationImpl<DataType::PType, Op>::vector(col->get_data(), | 136 | 1 | vec_res); | 137 | 1 | block.replace_by_position(result, std::move(col_res)); | 138 | 1 | return true; | 139 | 1 | } | 140 | 1 | } | 141 | 1 | } else { | 142 | 1 | if (auto col = check_and_get_column<ColumnVector<DataType::PType>>( | 143 | 1 | block.get_by_position(arguments[0]).column.get())) { | 144 | 1 | auto col_res = | 145 | 1 | PrimitiveTypeTraits<Op::ResultType>::ColumnType::create(); | 146 | 1 | auto& vec_res = col_res->get_data(); | 147 | 1 | vec_res.resize(col->get_data().size()); | 148 | 1 | UnaryOperationImpl<DataType::PType, Op>::vector(col->get_data(), | 149 | 1 | vec_res); | 150 | 1 | block.replace_by_position(result, std::move(col_res)); | 151 | 1 | return true; | 152 | 1 | } | 153 | 1 | } | 154 | | | 155 | 1 | return false; | 156 | 1 | }); | 157 | 1 | if (!valid) { | 158 | 0 | return Status::RuntimeError("{}'s argument does not match the expected data type", | 159 | 0 | get_name()); | 160 | 0 | } | 161 | 1 | return Status::OK(); | 162 | 1 | } |
_ZNK5doris23FunctionUnaryArithmeticINS_7AbsImplINS_7DecimalIN4wide7integerILm256EiEEEEEENS_7NameAbsELNS_13PrimitiveTypeE35EE12execute_implEPNS_15FunctionContextERNS_5BlockERKSt6vectorIjSaIjEEjm Line | Count | Source | 121 | 6 | uint32_t result, size_t input_rows_count) const override { | 122 | 6 | bool valid = | 123 | 6 | cast_type(block.get_by_position(arguments[0]).type.get(), [&](const auto& type) { | 124 | 6 | using DataType = std::decay_t<decltype(type)>; | 125 | | | 126 | 6 | if constexpr (IsDataTypeDecimal<DataType>) { | 127 | 6 | if constexpr (allow_decimal) { | 128 | 6 | if (auto col = check_and_get_column<ColumnDecimal<DataType::PType>>( | 129 | 6 | block.get_by_position(arguments[0]).column.get())) { | 130 | 6 | auto col_res = | 131 | 6 | PrimitiveTypeTraits<Op::ResultType>::ColumnType::create( | 132 | 6 | 0, type.get_scale()); | 133 | 6 | auto& vec_res = col_res->get_data(); | 134 | 6 | vec_res.resize(col->get_data().size()); | 135 | 6 | UnaryOperationImpl<DataType::PType, Op>::vector(col->get_data(), | 136 | 6 | vec_res); | 137 | 6 | block.replace_by_position(result, std::move(col_res)); | 138 | 6 | return true; | 139 | 6 | } | 140 | 6 | } | 141 | 6 | } else { | 142 | 6 | if (auto col = check_and_get_column<ColumnVector<DataType::PType>>( | 143 | 6 | block.get_by_position(arguments[0]).column.get())) { | 144 | 6 | auto col_res = | 145 | 6 | PrimitiveTypeTraits<Op::ResultType>::ColumnType::create(); | 146 | 6 | auto& vec_res = col_res->get_data(); | 147 | 6 | vec_res.resize(col->get_data().size()); | 148 | 6 | UnaryOperationImpl<DataType::PType, Op>::vector(col->get_data(), | 149 | 6 | vec_res); | 150 | 6 | block.replace_by_position(result, std::move(col_res)); | 151 | 6 | return true; | 152 | 6 | } | 153 | 6 | } | 154 | | | 155 | 6 | return false; | 156 | 6 | }); | 157 | 6 | if (!valid) { | 158 | 0 | return Status::RuntimeError("{}'s argument does not match the expected data type", | 159 | 0 | get_name()); | 160 | 0 | } | 161 | 6 | return Status::OK(); | 162 | 6 | } |
_ZNK5doris23FunctionUnaryArithmeticINS_7AbsImplIfEENS_7NameAbsELNS_13PrimitiveTypeE8EE12execute_implEPNS_15FunctionContextERNS_5BlockERKSt6vectorIjSaIjEEjm Line | Count | Source | 121 | 32 | uint32_t result, size_t input_rows_count) const override { | 122 | 32 | bool valid = | 123 | 32 | cast_type(block.get_by_position(arguments[0]).type.get(), [&](const auto& type) { | 124 | 32 | using DataType = std::decay_t<decltype(type)>; | 125 | | | 126 | 32 | if constexpr (IsDataTypeDecimal<DataType>) { | 127 | 32 | if constexpr (allow_decimal) { | 128 | 32 | if (auto col = check_and_get_column<ColumnDecimal<DataType::PType>>( | 129 | 32 | block.get_by_position(arguments[0]).column.get())) { | 130 | 32 | auto col_res = | 131 | 32 | PrimitiveTypeTraits<Op::ResultType>::ColumnType::create( | 132 | 32 | 0, type.get_scale()); | 133 | 32 | auto& vec_res = col_res->get_data(); | 134 | 32 | vec_res.resize(col->get_data().size()); | 135 | 32 | UnaryOperationImpl<DataType::PType, Op>::vector(col->get_data(), | 136 | 32 | vec_res); | 137 | 32 | block.replace_by_position(result, std::move(col_res)); | 138 | 32 | return true; | 139 | 32 | } | 140 | 32 | } | 141 | 32 | } else { | 142 | 32 | if (auto col = check_and_get_column<ColumnVector<DataType::PType>>( | 143 | 32 | block.get_by_position(arguments[0]).column.get())) { | 144 | 32 | auto col_res = | 145 | 32 | PrimitiveTypeTraits<Op::ResultType>::ColumnType::create(); | 146 | 32 | auto& vec_res = col_res->get_data(); | 147 | 32 | vec_res.resize(col->get_data().size()); | 148 | 32 | UnaryOperationImpl<DataType::PType, Op>::vector(col->get_data(), | 149 | 32 | vec_res); | 150 | 32 | block.replace_by_position(result, std::move(col_res)); | 151 | 32 | return true; | 152 | 32 | } | 153 | 32 | } | 154 | | | 155 | 32 | return false; | 156 | 32 | }); | 157 | 32 | if (!valid) { | 158 | 0 | return Status::RuntimeError("{}'s argument does not match the expected data type", | 159 | 0 | get_name()); | 160 | 0 | } | 161 | 32 | return Status::OK(); | 162 | 32 | } |
_ZNK5doris23FunctionUnaryArithmeticINS_7AbsImplIdEENS_7NameAbsELNS_13PrimitiveTypeE9EE12execute_implEPNS_15FunctionContextERNS_5BlockERKSt6vectorIjSaIjEEjm Line | Count | Source | 121 | 91 | uint32_t result, size_t input_rows_count) const override { | 122 | 91 | bool valid = | 123 | 91 | cast_type(block.get_by_position(arguments[0]).type.get(), [&](const auto& type) { | 124 | 91 | using DataType = std::decay_t<decltype(type)>; | 125 | | | 126 | 91 | if constexpr (IsDataTypeDecimal<DataType>) { | 127 | 91 | if constexpr (allow_decimal) { | 128 | 91 | if (auto col = check_and_get_column<ColumnDecimal<DataType::PType>>( | 129 | 91 | block.get_by_position(arguments[0]).column.get())) { | 130 | 91 | auto col_res = | 131 | 91 | PrimitiveTypeTraits<Op::ResultType>::ColumnType::create( | 132 | 91 | 0, type.get_scale()); | 133 | 91 | auto& vec_res = col_res->get_data(); | 134 | 91 | vec_res.resize(col->get_data().size()); | 135 | 91 | UnaryOperationImpl<DataType::PType, Op>::vector(col->get_data(), | 136 | 91 | vec_res); | 137 | 91 | block.replace_by_position(result, std::move(col_res)); | 138 | 91 | return true; | 139 | 91 | } | 140 | 91 | } | 141 | 91 | } else { | 142 | 91 | if (auto col = check_and_get_column<ColumnVector<DataType::PType>>( | 143 | 91 | block.get_by_position(arguments[0]).column.get())) { | 144 | 91 | auto col_res = | 145 | 91 | PrimitiveTypeTraits<Op::ResultType>::ColumnType::create(); | 146 | 91 | auto& vec_res = col_res->get_data(); | 147 | 91 | vec_res.resize(col->get_data().size()); | 148 | 91 | UnaryOperationImpl<DataType::PType, Op>::vector(col->get_data(), | 149 | 91 | vec_res); | 150 | 91 | block.replace_by_position(result, std::move(col_res)); | 151 | 91 | return true; | 152 | 91 | } | 153 | 91 | } | 154 | | | 155 | 91 | return false; | 156 | 91 | }); | 157 | 91 | if (!valid) { | 158 | 0 | return Status::RuntimeError("{}'s argument does not match the expected data type", | 159 | 0 | get_name()); | 160 | 0 | } | 161 | 91 | return Status::OK(); | 162 | 91 | } |
_ZNK5doris23FunctionUnaryArithmeticINS_12NegativeImplIdEENS_12NameNegativeELNS_13PrimitiveTypeE9EE12execute_implEPNS_15FunctionContextERNS_5BlockERKSt6vectorIjSaIjEEjm Line | Count | Source | 121 | 17 | uint32_t result, size_t input_rows_count) const override { | 122 | 17 | bool valid = | 123 | 17 | cast_type(block.get_by_position(arguments[0]).type.get(), [&](const auto& type) { | 124 | 17 | using DataType = std::decay_t<decltype(type)>; | 125 | | | 126 | 17 | if constexpr (IsDataTypeDecimal<DataType>) { | 127 | 17 | if constexpr (allow_decimal) { | 128 | 17 | if (auto col = check_and_get_column<ColumnDecimal<DataType::PType>>( | 129 | 17 | block.get_by_position(arguments[0]).column.get())) { | 130 | 17 | auto col_res = | 131 | 17 | PrimitiveTypeTraits<Op::ResultType>::ColumnType::create( | 132 | 17 | 0, type.get_scale()); | 133 | 17 | auto& vec_res = col_res->get_data(); | 134 | 17 | vec_res.resize(col->get_data().size()); | 135 | 17 | UnaryOperationImpl<DataType::PType, Op>::vector(col->get_data(), | 136 | 17 | vec_res); | 137 | 17 | block.replace_by_position(result, std::move(col_res)); | 138 | 17 | return true; | 139 | 17 | } | 140 | 17 | } | 141 | 17 | } else { | 142 | 17 | if (auto col = check_and_get_column<ColumnVector<DataType::PType>>( | 143 | 17 | block.get_by_position(arguments[0]).column.get())) { | 144 | 17 | auto col_res = | 145 | 17 | PrimitiveTypeTraits<Op::ResultType>::ColumnType::create(); | 146 | 17 | auto& vec_res = col_res->get_data(); | 147 | 17 | vec_res.resize(col->get_data().size()); | 148 | 17 | UnaryOperationImpl<DataType::PType, Op>::vector(col->get_data(), | 149 | 17 | vec_res); | 150 | 17 | block.replace_by_position(result, std::move(col_res)); | 151 | 17 | return true; | 152 | 17 | } | 153 | 17 | } | 154 | | | 155 | 17 | return false; | 156 | 17 | }); | 157 | 17 | if (!valid) { | 158 | 0 | return Status::RuntimeError("{}'s argument does not match the expected data type", | 159 | 0 | get_name()); | 160 | 0 | } | 161 | 17 | return Status::OK(); | 162 | 17 | } |
_ZNK5doris23FunctionUnaryArithmeticINS_12NegativeImplIlEENS_12NameNegativeELNS_13PrimitiveTypeE6EE12execute_implEPNS_15FunctionContextERNS_5BlockERKSt6vectorIjSaIjEEjm Line | Count | Source | 121 | 22 | uint32_t result, size_t input_rows_count) const override { | 122 | 22 | bool valid = | 123 | 22 | cast_type(block.get_by_position(arguments[0]).type.get(), [&](const auto& type) { | 124 | 22 | using DataType = std::decay_t<decltype(type)>; | 125 | | | 126 | 22 | if constexpr (IsDataTypeDecimal<DataType>) { | 127 | 22 | if constexpr (allow_decimal) { | 128 | 22 | if (auto col = check_and_get_column<ColumnDecimal<DataType::PType>>( | 129 | 22 | block.get_by_position(arguments[0]).column.get())) { | 130 | 22 | auto col_res = | 131 | 22 | PrimitiveTypeTraits<Op::ResultType>::ColumnType::create( | 132 | 22 | 0, type.get_scale()); | 133 | 22 | auto& vec_res = col_res->get_data(); | 134 | 22 | vec_res.resize(col->get_data().size()); | 135 | 22 | UnaryOperationImpl<DataType::PType, Op>::vector(col->get_data(), | 136 | 22 | vec_res); | 137 | 22 | block.replace_by_position(result, std::move(col_res)); | 138 | 22 | return true; | 139 | 22 | } | 140 | 22 | } | 141 | 22 | } else { | 142 | 22 | if (auto col = check_and_get_column<ColumnVector<DataType::PType>>( | 143 | 22 | block.get_by_position(arguments[0]).column.get())) { | 144 | 22 | auto col_res = | 145 | 22 | PrimitiveTypeTraits<Op::ResultType>::ColumnType::create(); | 146 | 22 | auto& vec_res = col_res->get_data(); | 147 | 22 | vec_res.resize(col->get_data().size()); | 148 | 22 | UnaryOperationImpl<DataType::PType, Op>::vector(col->get_data(), | 149 | 22 | vec_res); | 150 | 22 | block.replace_by_position(result, std::move(col_res)); | 151 | 22 | return true; | 152 | 22 | } | 153 | 22 | } | 154 | | | 155 | 22 | return false; | 156 | 22 | }); | 157 | 22 | if (!valid) { | 158 | 0 | return Status::RuntimeError("{}'s argument does not match the expected data type", | 159 | 0 | get_name()); | 160 | 0 | } | 161 | 22 | return Status::OK(); | 162 | 22 | } |
Unexecuted instantiation: _ZNK5doris23FunctionUnaryArithmeticINS_12NegativeImplINS_14DecimalV2ValueEEENS_12NameNegativeELNS_13PrimitiveTypeE20EE12execute_implEPNS_15FunctionContextERNS_5BlockERKSt6vectorIjSaIjEEjm Unexecuted instantiation: _ZNK5doris23FunctionUnaryArithmeticINS_12NegativeImplINS_7DecimalIN4wide7integerILm256EiEEEEEENS_12NameNegativeELNS_13PrimitiveTypeE35EE12execute_implEPNS_15FunctionContextERNS_5BlockERKSt6vectorIjSaIjEEjm Unexecuted instantiation: _ZNK5doris23FunctionUnaryArithmeticINS_12NegativeImplINS_12Decimal128V3EEENS_12NameNegativeELNS_13PrimitiveTypeE30EE12execute_implEPNS_15FunctionContextERNS_5BlockERKSt6vectorIjSaIjEEjm _ZNK5doris23FunctionUnaryArithmeticINS_12NegativeImplINS_7DecimalIiEEEENS_12NameNegativeELNS_13PrimitiveTypeE28EE12execute_implEPNS_15FunctionContextERNS_5BlockERKSt6vectorIjSaIjEEjm Line | Count | Source | 121 | 12 | uint32_t result, size_t input_rows_count) const override { | 122 | 12 | bool valid = | 123 | 12 | cast_type(block.get_by_position(arguments[0]).type.get(), [&](const auto& type) { | 124 | 12 | using DataType = std::decay_t<decltype(type)>; | 125 | | | 126 | 12 | if constexpr (IsDataTypeDecimal<DataType>) { | 127 | 12 | if constexpr (allow_decimal) { | 128 | 12 | if (auto col = check_and_get_column<ColumnDecimal<DataType::PType>>( | 129 | 12 | block.get_by_position(arguments[0]).column.get())) { | 130 | 12 | auto col_res = | 131 | 12 | PrimitiveTypeTraits<Op::ResultType>::ColumnType::create( | 132 | 12 | 0, type.get_scale()); | 133 | 12 | auto& vec_res = col_res->get_data(); | 134 | 12 | vec_res.resize(col->get_data().size()); | 135 | 12 | UnaryOperationImpl<DataType::PType, Op>::vector(col->get_data(), | 136 | 12 | vec_res); | 137 | 12 | block.replace_by_position(result, std::move(col_res)); | 138 | 12 | return true; | 139 | 12 | } | 140 | 12 | } | 141 | 12 | } else { | 142 | 12 | if (auto col = check_and_get_column<ColumnVector<DataType::PType>>( | 143 | 12 | block.get_by_position(arguments[0]).column.get())) { | 144 | 12 | auto col_res = | 145 | 12 | PrimitiveTypeTraits<Op::ResultType>::ColumnType::create(); | 146 | 12 | auto& vec_res = col_res->get_data(); | 147 | 12 | vec_res.resize(col->get_data().size()); | 148 | 12 | UnaryOperationImpl<DataType::PType, Op>::vector(col->get_data(), | 149 | 12 | vec_res); | 150 | 12 | block.replace_by_position(result, std::move(col_res)); | 151 | 12 | return true; | 152 | 12 | } | 153 | 12 | } | 154 | | | 155 | 12 | return false; | 156 | 12 | }); | 157 | 12 | if (!valid) { | 158 | 0 | return Status::RuntimeError("{}'s argument does not match the expected data type", | 159 | 0 | get_name()); | 160 | 0 | } | 161 | 12 | return Status::OK(); | 162 | 12 | } |
Unexecuted instantiation: _ZNK5doris23FunctionUnaryArithmeticINS_12NegativeImplINS_7DecimalIlEEEENS_12NameNegativeELNS_13PrimitiveTypeE29EE12execute_implEPNS_15FunctionContextERNS_5BlockERKSt6vectorIjSaIjEEjm _ZNK5doris23FunctionUnaryArithmeticINS_12PositiveImplINS_7DecimalIiEEEENS_12NamePositiveELNS_13PrimitiveTypeE28EE12execute_implEPNS_15FunctionContextERNS_5BlockERKSt6vectorIjSaIjEEjm Line | Count | Source | 121 | 10 | uint32_t result, size_t input_rows_count) const override { | 122 | 10 | bool valid = | 123 | 10 | cast_type(block.get_by_position(arguments[0]).type.get(), [&](const auto& type) { | 124 | 10 | using DataType = std::decay_t<decltype(type)>; | 125 | | | 126 | 10 | if constexpr (IsDataTypeDecimal<DataType>) { | 127 | 10 | if constexpr (allow_decimal) { | 128 | 10 | if (auto col = check_and_get_column<ColumnDecimal<DataType::PType>>( | 129 | 10 | block.get_by_position(arguments[0]).column.get())) { | 130 | 10 | auto col_res = | 131 | 10 | PrimitiveTypeTraits<Op::ResultType>::ColumnType::create( | 132 | 10 | 0, type.get_scale()); | 133 | 10 | auto& vec_res = col_res->get_data(); | 134 | 10 | vec_res.resize(col->get_data().size()); | 135 | 10 | UnaryOperationImpl<DataType::PType, Op>::vector(col->get_data(), | 136 | 10 | vec_res); | 137 | 10 | block.replace_by_position(result, std::move(col_res)); | 138 | 10 | return true; | 139 | 10 | } | 140 | 10 | } | 141 | 10 | } else { | 142 | 10 | if (auto col = check_and_get_column<ColumnVector<DataType::PType>>( | 143 | 10 | block.get_by_position(arguments[0]).column.get())) { | 144 | 10 | auto col_res = | 145 | 10 | PrimitiveTypeTraits<Op::ResultType>::ColumnType::create(); | 146 | 10 | auto& vec_res = col_res->get_data(); | 147 | 10 | vec_res.resize(col->get_data().size()); | 148 | 10 | UnaryOperationImpl<DataType::PType, Op>::vector(col->get_data(), | 149 | 10 | vec_res); | 150 | 10 | block.replace_by_position(result, std::move(col_res)); | 151 | 10 | return true; | 152 | 10 | } | 153 | 10 | } | 154 | | | 155 | 10 | return false; | 156 | 10 | }); | 157 | 10 | if (!valid) { | 158 | 0 | return Status::RuntimeError("{}'s argument does not match the expected data type", | 159 | 0 | get_name()); | 160 | 0 | } | 161 | 10 | return Status::OK(); | 162 | 10 | } |
_ZNK5doris23FunctionUnaryArithmeticINS_12PositiveImplINS_7DecimalIlEEEENS_12NamePositiveELNS_13PrimitiveTypeE29EE12execute_implEPNS_15FunctionContextERNS_5BlockERKSt6vectorIjSaIjEEjm Line | Count | Source | 121 | 3 | uint32_t result, size_t input_rows_count) const override { | 122 | 3 | bool valid = | 123 | 3 | cast_type(block.get_by_position(arguments[0]).type.get(), [&](const auto& type) { | 124 | 3 | using DataType = std::decay_t<decltype(type)>; | 125 | | | 126 | 3 | if constexpr (IsDataTypeDecimal<DataType>) { | 127 | 3 | if constexpr (allow_decimal) { | 128 | 3 | if (auto col = check_and_get_column<ColumnDecimal<DataType::PType>>( | 129 | 3 | block.get_by_position(arguments[0]).column.get())) { | 130 | 3 | auto col_res = | 131 | 3 | PrimitiveTypeTraits<Op::ResultType>::ColumnType::create( | 132 | 3 | 0, type.get_scale()); | 133 | 3 | auto& vec_res = col_res->get_data(); | 134 | 3 | vec_res.resize(col->get_data().size()); | 135 | 3 | UnaryOperationImpl<DataType::PType, Op>::vector(col->get_data(), | 136 | 3 | vec_res); | 137 | 3 | block.replace_by_position(result, std::move(col_res)); | 138 | 3 | return true; | 139 | 3 | } | 140 | 3 | } | 141 | 3 | } else { | 142 | 3 | if (auto col = check_and_get_column<ColumnVector<DataType::PType>>( | 143 | 3 | block.get_by_position(arguments[0]).column.get())) { | 144 | 3 | auto col_res = | 145 | 3 | PrimitiveTypeTraits<Op::ResultType>::ColumnType::create(); | 146 | 3 | auto& vec_res = col_res->get_data(); | 147 | 3 | vec_res.resize(col->get_data().size()); | 148 | 3 | UnaryOperationImpl<DataType::PType, Op>::vector(col->get_data(), | 149 | 3 | vec_res); | 150 | 3 | block.replace_by_position(result, std::move(col_res)); | 151 | 3 | return true; | 152 | 3 | } | 153 | 3 | } | 154 | | | 155 | 3 | return false; | 156 | 3 | }); | 157 | 3 | if (!valid) { | 158 | 0 | return Status::RuntimeError("{}'s argument does not match the expected data type", | 159 | 0 | get_name()); | 160 | 0 | } | 161 | 3 | return Status::OK(); | 162 | 3 | } |
_ZNK5doris23FunctionUnaryArithmeticINS_12PositiveImplINS_12Decimal128V3EEENS_12NamePositiveELNS_13PrimitiveTypeE30EE12execute_implEPNS_15FunctionContextERNS_5BlockERKSt6vectorIjSaIjEEjm Line | Count | Source | 121 | 16 | uint32_t result, size_t input_rows_count) const override { | 122 | 16 | bool valid = | 123 | 16 | cast_type(block.get_by_position(arguments[0]).type.get(), [&](const auto& type) { | 124 | 16 | using DataType = std::decay_t<decltype(type)>; | 125 | | | 126 | 16 | if constexpr (IsDataTypeDecimal<DataType>) { | 127 | 16 | if constexpr (allow_decimal) { | 128 | 16 | if (auto col = check_and_get_column<ColumnDecimal<DataType::PType>>( | 129 | 16 | block.get_by_position(arguments[0]).column.get())) { | 130 | 16 | auto col_res = | 131 | 16 | PrimitiveTypeTraits<Op::ResultType>::ColumnType::create( | 132 | 16 | 0, type.get_scale()); | 133 | 16 | auto& vec_res = col_res->get_data(); | 134 | 16 | vec_res.resize(col->get_data().size()); | 135 | 16 | UnaryOperationImpl<DataType::PType, Op>::vector(col->get_data(), | 136 | 16 | vec_res); | 137 | 16 | block.replace_by_position(result, std::move(col_res)); | 138 | 16 | return true; | 139 | 16 | } | 140 | 16 | } | 141 | 16 | } else { | 142 | 16 | if (auto col = check_and_get_column<ColumnVector<DataType::PType>>( | 143 | 16 | block.get_by_position(arguments[0]).column.get())) { | 144 | 16 | auto col_res = | 145 | 16 | PrimitiveTypeTraits<Op::ResultType>::ColumnType::create(); | 146 | 16 | auto& vec_res = col_res->get_data(); | 147 | 16 | vec_res.resize(col->get_data().size()); | 148 | 16 | UnaryOperationImpl<DataType::PType, Op>::vector(col->get_data(), | 149 | 16 | vec_res); | 150 | 16 | block.replace_by_position(result, std::move(col_res)); | 151 | 16 | return true; | 152 | 16 | } | 153 | 16 | } | 154 | | | 155 | 16 | return false; | 156 | 16 | }); | 157 | 16 | if (!valid) { | 158 | 0 | return Status::RuntimeError("{}'s argument does not match the expected data type", | 159 | 0 | get_name()); | 160 | 0 | } | 161 | 16 | return Status::OK(); | 162 | 16 | } |
Unexecuted instantiation: _ZNK5doris23FunctionUnaryArithmeticINS_12PositiveImplINS_14DecimalV2ValueEEENS_12NamePositiveELNS_13PrimitiveTypeE20EE12execute_implEPNS_15FunctionContextERNS_5BlockERKSt6vectorIjSaIjEEjm Unexecuted instantiation: _ZNK5doris23FunctionUnaryArithmeticINS_12PositiveImplINS_7DecimalIN4wide7integerILm256EiEEEEEENS_12NamePositiveELNS_13PrimitiveTypeE35EE12execute_implEPNS_15FunctionContextERNS_5BlockERKSt6vectorIjSaIjEEjm _ZNK5doris23FunctionUnaryArithmeticINS_12PositiveImplIdEENS_12NamePositiveELNS_13PrimitiveTypeE9EE12execute_implEPNS_15FunctionContextERNS_5BlockERKSt6vectorIjSaIjEEjm Line | Count | Source | 121 | 9 | uint32_t result, size_t input_rows_count) const override { | 122 | 9 | bool valid = | 123 | 9 | cast_type(block.get_by_position(arguments[0]).type.get(), [&](const auto& type) { | 124 | 9 | using DataType = std::decay_t<decltype(type)>; | 125 | | | 126 | 9 | if constexpr (IsDataTypeDecimal<DataType>) { | 127 | 9 | if constexpr (allow_decimal) { | 128 | 9 | if (auto col = check_and_get_column<ColumnDecimal<DataType::PType>>( | 129 | 9 | block.get_by_position(arguments[0]).column.get())) { | 130 | 9 | auto col_res = | 131 | 9 | PrimitiveTypeTraits<Op::ResultType>::ColumnType::create( | 132 | 9 | 0, type.get_scale()); | 133 | 9 | auto& vec_res = col_res->get_data(); | 134 | 9 | vec_res.resize(col->get_data().size()); | 135 | 9 | UnaryOperationImpl<DataType::PType, Op>::vector(col->get_data(), | 136 | 9 | vec_res); | 137 | 9 | block.replace_by_position(result, std::move(col_res)); | 138 | 9 | return true; | 139 | 9 | } | 140 | 9 | } | 141 | 9 | } else { | 142 | 9 | if (auto col = check_and_get_column<ColumnVector<DataType::PType>>( | 143 | 9 | block.get_by_position(arguments[0]).column.get())) { | 144 | 9 | auto col_res = | 145 | 9 | PrimitiveTypeTraits<Op::ResultType>::ColumnType::create(); | 146 | 9 | auto& vec_res = col_res->get_data(); | 147 | 9 | vec_res.resize(col->get_data().size()); | 148 | 9 | UnaryOperationImpl<DataType::PType, Op>::vector(col->get_data(), | 149 | 9 | vec_res); | 150 | 9 | block.replace_by_position(result, std::move(col_res)); | 151 | 9 | return true; | 152 | 9 | } | 153 | 9 | } | 154 | | | 155 | 9 | return false; | 156 | 9 | }); | 157 | 9 | if (!valid) { | 158 | 0 | return Status::RuntimeError("{}'s argument does not match the expected data type", | 159 | 0 | get_name()); | 160 | 0 | } | 161 | 9 | return Status::OK(); | 162 | 9 | } |
_ZNK5doris23FunctionUnaryArithmeticINS_12PositiveImplIlEENS_12NamePositiveELNS_13PrimitiveTypeE6EE12execute_implEPNS_15FunctionContextERNS_5BlockERKSt6vectorIjSaIjEEjm Line | Count | Source | 121 | 14 | uint32_t result, size_t input_rows_count) const override { | 122 | 14 | bool valid = | 123 | 14 | cast_type(block.get_by_position(arguments[0]).type.get(), [&](const auto& type) { | 124 | 14 | using DataType = std::decay_t<decltype(type)>; | 125 | | | 126 | 14 | if constexpr (IsDataTypeDecimal<DataType>) { | 127 | 14 | if constexpr (allow_decimal) { | 128 | 14 | if (auto col = check_and_get_column<ColumnDecimal<DataType::PType>>( | 129 | 14 | block.get_by_position(arguments[0]).column.get())) { | 130 | 14 | auto col_res = | 131 | 14 | PrimitiveTypeTraits<Op::ResultType>::ColumnType::create( | 132 | 14 | 0, type.get_scale()); | 133 | 14 | auto& vec_res = col_res->get_data(); | 134 | 14 | vec_res.resize(col->get_data().size()); | 135 | 14 | UnaryOperationImpl<DataType::PType, Op>::vector(col->get_data(), | 136 | 14 | vec_res); | 137 | 14 | block.replace_by_position(result, std::move(col_res)); | 138 | 14 | return true; | 139 | 14 | } | 140 | 14 | } | 141 | 14 | } else { | 142 | 14 | if (auto col = check_and_get_column<ColumnVector<DataType::PType>>( | 143 | 14 | block.get_by_position(arguments[0]).column.get())) { | 144 | 14 | auto col_res = | 145 | 14 | PrimitiveTypeTraits<Op::ResultType>::ColumnType::create(); | 146 | 14 | auto& vec_res = col_res->get_data(); | 147 | 14 | vec_res.resize(col->get_data().size()); | 148 | 14 | UnaryOperationImpl<DataType::PType, Op>::vector(col->get_data(), | 149 | 14 | vec_res); | 150 | 14 | block.replace_by_position(result, std::move(col_res)); | 151 | 14 | return true; | 152 | 14 | } | 153 | 14 | } | 154 | | | 155 | 14 | return false; | 156 | 14 | }); | 157 | 14 | if (!valid) { | 158 | 0 | return Status::RuntimeError("{}'s argument does not match the expected data type", | 159 | 0 | get_name()); | 160 | 0 | } | 161 | 14 | return Status::OK(); | 162 | 14 | } |
_ZNK5doris23FunctionUnaryArithmeticINS_11RadiansImplIdEENS_11NameRadiansELNS_13PrimitiveTypeE9EE12execute_implEPNS_15FunctionContextERNS_5BlockERKSt6vectorIjSaIjEEjm Line | Count | Source | 121 | 17 | uint32_t result, size_t input_rows_count) const override { | 122 | 17 | bool valid = | 123 | 17 | cast_type(block.get_by_position(arguments[0]).type.get(), [&](const auto& type) { | 124 | 17 | using DataType = std::decay_t<decltype(type)>; | 125 | | | 126 | 17 | if constexpr (IsDataTypeDecimal<DataType>) { | 127 | 17 | if constexpr (allow_decimal) { | 128 | 17 | if (auto col = check_and_get_column<ColumnDecimal<DataType::PType>>( | 129 | 17 | block.get_by_position(arguments[0]).column.get())) { | 130 | 17 | auto col_res = | 131 | 17 | PrimitiveTypeTraits<Op::ResultType>::ColumnType::create( | 132 | 17 | 0, type.get_scale()); | 133 | 17 | auto& vec_res = col_res->get_data(); | 134 | 17 | vec_res.resize(col->get_data().size()); | 135 | 17 | UnaryOperationImpl<DataType::PType, Op>::vector(col->get_data(), | 136 | 17 | vec_res); | 137 | 17 | block.replace_by_position(result, std::move(col_res)); | 138 | 17 | return true; | 139 | 17 | } | 140 | 17 | } | 141 | 17 | } else { | 142 | 17 | if (auto col = check_and_get_column<ColumnVector<DataType::PType>>( | 143 | 17 | block.get_by_position(arguments[0]).column.get())) { | 144 | 17 | auto col_res = | 145 | 17 | PrimitiveTypeTraits<Op::ResultType>::ColumnType::create(); | 146 | 17 | auto& vec_res = col_res->get_data(); | 147 | 17 | vec_res.resize(col->get_data().size()); | 148 | 17 | UnaryOperationImpl<DataType::PType, Op>::vector(col->get_data(), | 149 | 17 | vec_res); | 150 | 17 | block.replace_by_position(result, std::move(col_res)); | 151 | 17 | return true; | 152 | 17 | } | 153 | 17 | } | 154 | | | 155 | 17 | return false; | 156 | 17 | }); | 157 | 17 | if (!valid) { | 158 | 0 | return Status::RuntimeError("{}'s argument does not match the expected data type", | 159 | 0 | get_name()); | 160 | 0 | } | 161 | 17 | return Status::OK(); | 162 | 17 | } |
_ZNK5doris23FunctionUnaryArithmeticINS_11DegreesImplIdEENS_11NameDegreesELNS_13PrimitiveTypeE9EE12execute_implEPNS_15FunctionContextERNS_5BlockERKSt6vectorIjSaIjEEjm Line | Count | Source | 121 | 21 | uint32_t result, size_t input_rows_count) const override { | 122 | 21 | bool valid = | 123 | 21 | cast_type(block.get_by_position(arguments[0]).type.get(), [&](const auto& type) { | 124 | 21 | using DataType = std::decay_t<decltype(type)>; | 125 | | | 126 | 21 | if constexpr (IsDataTypeDecimal<DataType>) { | 127 | 21 | if constexpr (allow_decimal) { | 128 | 21 | if (auto col = check_and_get_column<ColumnDecimal<DataType::PType>>( | 129 | 21 | block.get_by_position(arguments[0]).column.get())) { | 130 | 21 | auto col_res = | 131 | 21 | PrimitiveTypeTraits<Op::ResultType>::ColumnType::create( | 132 | 21 | 0, type.get_scale()); | 133 | 21 | auto& vec_res = col_res->get_data(); | 134 | 21 | vec_res.resize(col->get_data().size()); | 135 | 21 | UnaryOperationImpl<DataType::PType, Op>::vector(col->get_data(), | 136 | 21 | vec_res); | 137 | 21 | block.replace_by_position(result, std::move(col_res)); | 138 | 21 | return true; | 139 | 21 | } | 140 | 21 | } | 141 | 21 | } else { | 142 | 21 | if (auto col = check_and_get_column<ColumnVector<DataType::PType>>( | 143 | 21 | block.get_by_position(arguments[0]).column.get())) { | 144 | 21 | auto col_res = | 145 | 21 | PrimitiveTypeTraits<Op::ResultType>::ColumnType::create(); | 146 | 21 | auto& vec_res = col_res->get_data(); | 147 | 21 | vec_res.resize(col->get_data().size()); | 148 | 21 | UnaryOperationImpl<DataType::PType, Op>::vector(col->get_data(), | 149 | 21 | vec_res); | 150 | 21 | block.replace_by_position(result, std::move(col_res)); | 151 | 21 | return true; | 152 | 21 | } | 153 | 21 | } | 154 | | | 155 | 21 | return false; | 156 | 21 | }); | 157 | 21 | if (!valid) { | 158 | 0 | return Status::RuntimeError("{}'s argument does not match the expected data type", | 159 | 0 | get_name()); | 160 | 0 | } | 161 | 21 | return Status::OK(); | 162 | 21 | } |
_ZNK5doris23FunctionUnaryArithmeticINS_11SignBitImplIdEENS_11NameSignBitELNS_13PrimitiveTypeE9EE12execute_implEPNS_15FunctionContextERNS_5BlockERKSt6vectorIjSaIjEEjm Line | Count | Source | 121 | 17 | uint32_t result, size_t input_rows_count) const override { | 122 | 17 | bool valid = | 123 | 17 | cast_type(block.get_by_position(arguments[0]).type.get(), [&](const auto& type) { | 124 | 17 | using DataType = std::decay_t<decltype(type)>; | 125 | | | 126 | 17 | if constexpr (IsDataTypeDecimal<DataType>) { | 127 | 17 | if constexpr (allow_decimal) { | 128 | 17 | if (auto col = check_and_get_column<ColumnDecimal<DataType::PType>>( | 129 | 17 | block.get_by_position(arguments[0]).column.get())) { | 130 | 17 | auto col_res = | 131 | 17 | PrimitiveTypeTraits<Op::ResultType>::ColumnType::create( | 132 | 17 | 0, type.get_scale()); | 133 | 17 | auto& vec_res = col_res->get_data(); | 134 | 17 | vec_res.resize(col->get_data().size()); | 135 | 17 | UnaryOperationImpl<DataType::PType, Op>::vector(col->get_data(), | 136 | 17 | vec_res); | 137 | 17 | block.replace_by_position(result, std::move(col_res)); | 138 | 17 | return true; | 139 | 17 | } | 140 | 17 | } | 141 | 17 | } else { | 142 | 17 | if (auto col = check_and_get_column<ColumnVector<DataType::PType>>( | 143 | 17 | block.get_by_position(arguments[0]).column.get())) { | 144 | 17 | auto col_res = | 145 | 17 | PrimitiveTypeTraits<Op::ResultType>::ColumnType::create(); | 146 | 17 | auto& vec_res = col_res->get_data(); | 147 | 17 | vec_res.resize(col->get_data().size()); | 148 | 17 | UnaryOperationImpl<DataType::PType, Op>::vector(col->get_data(), | 149 | 17 | vec_res); | 150 | 17 | block.replace_by_position(result, std::move(col_res)); | 151 | 17 | return true; | 152 | 17 | } | 153 | 17 | } | 154 | | | 155 | 17 | return false; | 156 | 17 | }); | 157 | 17 | if (!valid) { | 158 | 0 | return Status::RuntimeError("{}'s argument does not match the expected data type", | 159 | 0 | get_name()); | 160 | 0 | } | 161 | 17 | return Status::OK(); | 162 | 17 | } |
_ZNK5doris23FunctionUnaryArithmeticINS_10BitNotImplIaEENS_10NameBitNotELNS_13PrimitiveTypeE3EE12execute_implEPNS_15FunctionContextERNS_5BlockERKSt6vectorIjSaIjEEjm Line | Count | Source | 121 | 2 | uint32_t result, size_t input_rows_count) const override { | 122 | 2 | bool valid = | 123 | 2 | cast_type(block.get_by_position(arguments[0]).type.get(), [&](const auto& type) { | 124 | 2 | using DataType = std::decay_t<decltype(type)>; | 125 | | | 126 | 2 | if constexpr (IsDataTypeDecimal<DataType>) { | 127 | 2 | if constexpr (allow_decimal) { | 128 | 2 | if (auto col = check_and_get_column<ColumnDecimal<DataType::PType>>( | 129 | 2 | block.get_by_position(arguments[0]).column.get())) { | 130 | 2 | auto col_res = | 131 | 2 | PrimitiveTypeTraits<Op::ResultType>::ColumnType::create( | 132 | 2 | 0, type.get_scale()); | 133 | 2 | auto& vec_res = col_res->get_data(); | 134 | 2 | vec_res.resize(col->get_data().size()); | 135 | 2 | UnaryOperationImpl<DataType::PType, Op>::vector(col->get_data(), | 136 | 2 | vec_res); | 137 | 2 | block.replace_by_position(result, std::move(col_res)); | 138 | 2 | return true; | 139 | 2 | } | 140 | 2 | } | 141 | 2 | } else { | 142 | 2 | if (auto col = check_and_get_column<ColumnVector<DataType::PType>>( | 143 | 2 | block.get_by_position(arguments[0]).column.get())) { | 144 | 2 | auto col_res = | 145 | 2 | PrimitiveTypeTraits<Op::ResultType>::ColumnType::create(); | 146 | 2 | auto& vec_res = col_res->get_data(); | 147 | 2 | vec_res.resize(col->get_data().size()); | 148 | 2 | UnaryOperationImpl<DataType::PType, Op>::vector(col->get_data(), | 149 | 2 | vec_res); | 150 | 2 | block.replace_by_position(result, std::move(col_res)); | 151 | 2 | return true; | 152 | 2 | } | 153 | 2 | } | 154 | | | 155 | 2 | return false; | 156 | 2 | }); | 157 | 2 | if (!valid) { | 158 | 0 | return Status::RuntimeError("{}'s argument does not match the expected data type", | 159 | 0 | get_name()); | 160 | 0 | } | 161 | 2 | return Status::OK(); | 162 | 2 | } |
Unexecuted instantiation: _ZNK5doris23FunctionUnaryArithmeticINS_10BitNotImplIsEENS_10NameBitNotELNS_13PrimitiveTypeE4EE12execute_implEPNS_15FunctionContextERNS_5BlockERKSt6vectorIjSaIjEEjm _ZNK5doris23FunctionUnaryArithmeticINS_10BitNotImplIiEENS_10NameBitNotELNS_13PrimitiveTypeE5EE12execute_implEPNS_15FunctionContextERNS_5BlockERKSt6vectorIjSaIjEEjm Line | Count | Source | 121 | 1 | uint32_t result, size_t input_rows_count) const override { | 122 | 1 | bool valid = | 123 | 1 | cast_type(block.get_by_position(arguments[0]).type.get(), [&](const auto& type) { | 124 | 1 | using DataType = std::decay_t<decltype(type)>; | 125 | | | 126 | 1 | if constexpr (IsDataTypeDecimal<DataType>) { | 127 | 1 | if constexpr (allow_decimal) { | 128 | 1 | if (auto col = check_and_get_column<ColumnDecimal<DataType::PType>>( | 129 | 1 | block.get_by_position(arguments[0]).column.get())) { | 130 | 1 | auto col_res = | 131 | 1 | PrimitiveTypeTraits<Op::ResultType>::ColumnType::create( | 132 | 1 | 0, type.get_scale()); | 133 | 1 | auto& vec_res = col_res->get_data(); | 134 | 1 | vec_res.resize(col->get_data().size()); | 135 | 1 | UnaryOperationImpl<DataType::PType, Op>::vector(col->get_data(), | 136 | 1 | vec_res); | 137 | 1 | block.replace_by_position(result, std::move(col_res)); | 138 | 1 | return true; | 139 | 1 | } | 140 | 1 | } | 141 | 1 | } else { | 142 | 1 | if (auto col = check_and_get_column<ColumnVector<DataType::PType>>( | 143 | 1 | block.get_by_position(arguments[0]).column.get())) { | 144 | 1 | auto col_res = | 145 | 1 | PrimitiveTypeTraits<Op::ResultType>::ColumnType::create(); | 146 | 1 | auto& vec_res = col_res->get_data(); | 147 | 1 | vec_res.resize(col->get_data().size()); | 148 | 1 | UnaryOperationImpl<DataType::PType, Op>::vector(col->get_data(), | 149 | 1 | vec_res); | 150 | 1 | block.replace_by_position(result, std::move(col_res)); | 151 | 1 | return true; | 152 | 1 | } | 153 | 1 | } | 154 | | | 155 | 1 | return false; | 156 | 1 | }); | 157 | 1 | if (!valid) { | 158 | 0 | return Status::RuntimeError("{}'s argument does not match the expected data type", | 159 | 0 | get_name()); | 160 | 0 | } | 161 | 1 | return Status::OK(); | 162 | 1 | } |
_ZNK5doris23FunctionUnaryArithmeticINS_10BitNotImplIlEENS_10NameBitNotELNS_13PrimitiveTypeE6EE12execute_implEPNS_15FunctionContextERNS_5BlockERKSt6vectorIjSaIjEEjm Line | Count | Source | 121 | 3 | uint32_t result, size_t input_rows_count) const override { | 122 | 3 | bool valid = | 123 | 3 | cast_type(block.get_by_position(arguments[0]).type.get(), [&](const auto& type) { | 124 | 3 | using DataType = std::decay_t<decltype(type)>; | 125 | | | 126 | 3 | if constexpr (IsDataTypeDecimal<DataType>) { | 127 | 3 | if constexpr (allow_decimal) { | 128 | 3 | if (auto col = check_and_get_column<ColumnDecimal<DataType::PType>>( | 129 | 3 | block.get_by_position(arguments[0]).column.get())) { | 130 | 3 | auto col_res = | 131 | 3 | PrimitiveTypeTraits<Op::ResultType>::ColumnType::create( | 132 | 3 | 0, type.get_scale()); | 133 | 3 | auto& vec_res = col_res->get_data(); | 134 | 3 | vec_res.resize(col->get_data().size()); | 135 | 3 | UnaryOperationImpl<DataType::PType, Op>::vector(col->get_data(), | 136 | 3 | vec_res); | 137 | 3 | block.replace_by_position(result, std::move(col_res)); | 138 | 3 | return true; | 139 | 3 | } | 140 | 3 | } | 141 | 3 | } else { | 142 | 3 | if (auto col = check_and_get_column<ColumnVector<DataType::PType>>( | 143 | 3 | block.get_by_position(arguments[0]).column.get())) { | 144 | 3 | auto col_res = | 145 | 3 | PrimitiveTypeTraits<Op::ResultType>::ColumnType::create(); | 146 | 3 | auto& vec_res = col_res->get_data(); | 147 | 3 | vec_res.resize(col->get_data().size()); | 148 | 3 | UnaryOperationImpl<DataType::PType, Op>::vector(col->get_data(), | 149 | 3 | vec_res); | 150 | 3 | block.replace_by_position(result, std::move(col_res)); | 151 | 3 | return true; | 152 | 3 | } | 153 | 3 | } | 154 | | | 155 | 3 | return false; | 156 | 3 | }); | 157 | 3 | if (!valid) { | 158 | 0 | return Status::RuntimeError("{}'s argument does not match the expected data type", | 159 | 0 | get_name()); | 160 | 0 | } | 161 | 3 | return Status::OK(); | 162 | 3 | } |
Unexecuted instantiation: _ZNK5doris23FunctionUnaryArithmeticINS_10BitNotImplInEENS_10NameBitNotELNS_13PrimitiveTypeE7EE12execute_implEPNS_15FunctionContextERNS_5BlockERKSt6vectorIjSaIjEEjm _ZNK5doris23FunctionUnaryArithmeticINS_12BitCountImplIaEENS_12NameBitCountELNS_13PrimitiveTypeE3EE12execute_implEPNS_15FunctionContextERNS_5BlockERKSt6vectorIjSaIjEEjm Line | Count | Source | 121 | 4 | uint32_t result, size_t input_rows_count) const override { | 122 | 4 | bool valid = | 123 | 4 | cast_type(block.get_by_position(arguments[0]).type.get(), [&](const auto& type) { | 124 | 4 | using DataType = std::decay_t<decltype(type)>; | 125 | | | 126 | 4 | if constexpr (IsDataTypeDecimal<DataType>) { | 127 | 4 | if constexpr (allow_decimal) { | 128 | 4 | if (auto col = check_and_get_column<ColumnDecimal<DataType::PType>>( | 129 | 4 | block.get_by_position(arguments[0]).column.get())) { | 130 | 4 | auto col_res = | 131 | 4 | PrimitiveTypeTraits<Op::ResultType>::ColumnType::create( | 132 | 4 | 0, type.get_scale()); | 133 | 4 | auto& vec_res = col_res->get_data(); | 134 | 4 | vec_res.resize(col->get_data().size()); | 135 | 4 | UnaryOperationImpl<DataType::PType, Op>::vector(col->get_data(), | 136 | 4 | vec_res); | 137 | 4 | block.replace_by_position(result, std::move(col_res)); | 138 | 4 | return true; | 139 | 4 | } | 140 | 4 | } | 141 | 4 | } else { | 142 | 4 | if (auto col = check_and_get_column<ColumnVector<DataType::PType>>( | 143 | 4 | block.get_by_position(arguments[0]).column.get())) { | 144 | 4 | auto col_res = | 145 | 4 | PrimitiveTypeTraits<Op::ResultType>::ColumnType::create(); | 146 | 4 | auto& vec_res = col_res->get_data(); | 147 | 4 | vec_res.resize(col->get_data().size()); | 148 | 4 | UnaryOperationImpl<DataType::PType, Op>::vector(col->get_data(), | 149 | 4 | vec_res); | 150 | 4 | block.replace_by_position(result, std::move(col_res)); | 151 | 4 | return true; | 152 | 4 | } | 153 | 4 | } | 154 | | | 155 | 4 | return false; | 156 | 4 | }); | 157 | 4 | if (!valid) { | 158 | 0 | return Status::RuntimeError("{}'s argument does not match the expected data type", | 159 | 0 | get_name()); | 160 | 0 | } | 161 | 4 | return Status::OK(); | 162 | 4 | } |
_ZNK5doris23FunctionUnaryArithmeticINS_12BitCountImplIsEENS_12NameBitCountELNS_13PrimitiveTypeE4EE12execute_implEPNS_15FunctionContextERNS_5BlockERKSt6vectorIjSaIjEEjm Line | Count | Source | 121 | 1 | uint32_t result, size_t input_rows_count) const override { | 122 | 1 | bool valid = | 123 | 1 | cast_type(block.get_by_position(arguments[0]).type.get(), [&](const auto& type) { | 124 | 1 | using DataType = std::decay_t<decltype(type)>; | 125 | | | 126 | 1 | if constexpr (IsDataTypeDecimal<DataType>) { | 127 | 1 | if constexpr (allow_decimal) { | 128 | 1 | if (auto col = check_and_get_column<ColumnDecimal<DataType::PType>>( | 129 | 1 | block.get_by_position(arguments[0]).column.get())) { | 130 | 1 | auto col_res = | 131 | 1 | PrimitiveTypeTraits<Op::ResultType>::ColumnType::create( | 132 | 1 | 0, type.get_scale()); | 133 | 1 | auto& vec_res = col_res->get_data(); | 134 | 1 | vec_res.resize(col->get_data().size()); | 135 | 1 | UnaryOperationImpl<DataType::PType, Op>::vector(col->get_data(), | 136 | 1 | vec_res); | 137 | 1 | block.replace_by_position(result, std::move(col_res)); | 138 | 1 | return true; | 139 | 1 | } | 140 | 1 | } | 141 | 1 | } else { | 142 | 1 | if (auto col = check_and_get_column<ColumnVector<DataType::PType>>( | 143 | 1 | block.get_by_position(arguments[0]).column.get())) { | 144 | 1 | auto col_res = | 145 | 1 | PrimitiveTypeTraits<Op::ResultType>::ColumnType::create(); | 146 | 1 | auto& vec_res = col_res->get_data(); | 147 | 1 | vec_res.resize(col->get_data().size()); | 148 | 1 | UnaryOperationImpl<DataType::PType, Op>::vector(col->get_data(), | 149 | 1 | vec_res); | 150 | 1 | block.replace_by_position(result, std::move(col_res)); | 151 | 1 | return true; | 152 | 1 | } | 153 | 1 | } | 154 | | | 155 | 1 | return false; | 156 | 1 | }); | 157 | 1 | if (!valid) { | 158 | 0 | return Status::RuntimeError("{}'s argument does not match the expected data type", | 159 | 0 | get_name()); | 160 | 0 | } | 161 | 1 | return Status::OK(); | 162 | 1 | } |
_ZNK5doris23FunctionUnaryArithmeticINS_12BitCountImplIiEENS_12NameBitCountELNS_13PrimitiveTypeE5EE12execute_implEPNS_15FunctionContextERNS_5BlockERKSt6vectorIjSaIjEEjm Line | Count | Source | 121 | 2 | uint32_t result, size_t input_rows_count) const override { | 122 | 2 | bool valid = | 123 | 2 | cast_type(block.get_by_position(arguments[0]).type.get(), [&](const auto& type) { | 124 | 2 | using DataType = std::decay_t<decltype(type)>; | 125 | | | 126 | 2 | if constexpr (IsDataTypeDecimal<DataType>) { | 127 | 2 | if constexpr (allow_decimal) { | 128 | 2 | if (auto col = check_and_get_column<ColumnDecimal<DataType::PType>>( | 129 | 2 | block.get_by_position(arguments[0]).column.get())) { | 130 | 2 | auto col_res = | 131 | 2 | PrimitiveTypeTraits<Op::ResultType>::ColumnType::create( | 132 | 2 | 0, type.get_scale()); | 133 | 2 | auto& vec_res = col_res->get_data(); | 134 | 2 | vec_res.resize(col->get_data().size()); | 135 | 2 | UnaryOperationImpl<DataType::PType, Op>::vector(col->get_data(), | 136 | 2 | vec_res); | 137 | 2 | block.replace_by_position(result, std::move(col_res)); | 138 | 2 | return true; | 139 | 2 | } | 140 | 2 | } | 141 | 2 | } else { | 142 | 2 | if (auto col = check_and_get_column<ColumnVector<DataType::PType>>( | 143 | 2 | block.get_by_position(arguments[0]).column.get())) { | 144 | 2 | auto col_res = | 145 | 2 | PrimitiveTypeTraits<Op::ResultType>::ColumnType::create(); | 146 | 2 | auto& vec_res = col_res->get_data(); | 147 | 2 | vec_res.resize(col->get_data().size()); | 148 | 2 | UnaryOperationImpl<DataType::PType, Op>::vector(col->get_data(), | 149 | 2 | vec_res); | 150 | 2 | block.replace_by_position(result, std::move(col_res)); | 151 | 2 | return true; | 152 | 2 | } | 153 | 2 | } | 154 | | | 155 | 2 | return false; | 156 | 2 | }); | 157 | 2 | if (!valid) { | 158 | 0 | return Status::RuntimeError("{}'s argument does not match the expected data type", | 159 | 0 | get_name()); | 160 | 0 | } | 161 | 2 | return Status::OK(); | 162 | 2 | } |
_ZNK5doris23FunctionUnaryArithmeticINS_12BitCountImplIlEENS_12NameBitCountELNS_13PrimitiveTypeE6EE12execute_implEPNS_15FunctionContextERNS_5BlockERKSt6vectorIjSaIjEEjm Line | Count | Source | 121 | 8 | uint32_t result, size_t input_rows_count) const override { | 122 | 8 | bool valid = | 123 | 8 | cast_type(block.get_by_position(arguments[0]).type.get(), [&](const auto& type) { | 124 | 8 | using DataType = std::decay_t<decltype(type)>; | 125 | | | 126 | 8 | if constexpr (IsDataTypeDecimal<DataType>) { | 127 | 8 | if constexpr (allow_decimal) { | 128 | 8 | if (auto col = check_and_get_column<ColumnDecimal<DataType::PType>>( | 129 | 8 | block.get_by_position(arguments[0]).column.get())) { | 130 | 8 | auto col_res = | 131 | 8 | PrimitiveTypeTraits<Op::ResultType>::ColumnType::create( | 132 | 8 | 0, type.get_scale()); | 133 | 8 | auto& vec_res = col_res->get_data(); | 134 | 8 | vec_res.resize(col->get_data().size()); | 135 | 8 | UnaryOperationImpl<DataType::PType, Op>::vector(col->get_data(), | 136 | 8 | vec_res); | 137 | 8 | block.replace_by_position(result, std::move(col_res)); | 138 | 8 | return true; | 139 | 8 | } | 140 | 8 | } | 141 | 8 | } else { | 142 | 8 | if (auto col = check_and_get_column<ColumnVector<DataType::PType>>( | 143 | 8 | block.get_by_position(arguments[0]).column.get())) { | 144 | 8 | auto col_res = | 145 | 8 | PrimitiveTypeTraits<Op::ResultType>::ColumnType::create(); | 146 | 8 | auto& vec_res = col_res->get_data(); | 147 | 8 | vec_res.resize(col->get_data().size()); | 148 | 8 | UnaryOperationImpl<DataType::PType, Op>::vector(col->get_data(), | 149 | 8 | vec_res); | 150 | 8 | block.replace_by_position(result, std::move(col_res)); | 151 | 8 | return true; | 152 | 8 | } | 153 | 8 | } | 154 | | | 155 | 8 | return false; | 156 | 8 | }); | 157 | 8 | if (!valid) { | 158 | 0 | return Status::RuntimeError("{}'s argument does not match the expected data type", | 159 | 0 | get_name()); | 160 | 0 | } | 161 | 8 | return Status::OK(); | 162 | 8 | } |
Unexecuted instantiation: _ZNK5doris23FunctionUnaryArithmeticINS_12BitCountImplInEENS_12NameBitCountELNS_13PrimitiveTypeE7EE12execute_implEPNS_15FunctionContextERNS_5BlockERKSt6vectorIjSaIjEEjm |
163 | | }; |
164 | | |
165 | | } // namespace doris |