Coverage Report

Created: 2026-05-17 09:00

next uncovered line (L), next uncovered region (R), next uncovered branch (B)
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.04k
    static void NO_INLINE vector(const ArrayA& a, ArrayC& c) {
44
1.04k
        size_t size = a.size();
45
479k
        for (size_t i = 0; i < size; ++i) c[i] = Op::apply(a[i]);
46
1.04k
    }
_ZN5doris18UnaryOperationImplILNS_13PrimitiveTypeE9ENS_8SignImplIdEEE6vectorERKNS_8PODArrayIdLm4096ENS_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
4
        for (size_t i = 0; i < size; ++i) c[i] = Op::apply(a[i]);
46
1
    }
_ZN5doris18UnaryOperationImplILNS_13PrimitiveTypeE3ENS_7AbsImplIaEEE6vectorERKNS_8PODArrayIaLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERNS5_IsLm4096ES8_Lm16ELm15EEE
Line
Count
Source
43
32
    static void NO_INLINE vector(const ArrayA& a, ArrayC& c) {
44
32
        size_t size = a.size();
45
12.2k
        for (size_t i = 0; i < size; ++i) c[i] = Op::apply(a[i]);
46
32
    }
_ZN5doris18UnaryOperationImplILNS_13PrimitiveTypeE4ENS_7AbsImplIsEEE6vectorERKNS_8PODArrayIsLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERNS5_IiLm4096ES8_Lm16ELm15EEE
Line
Count
Source
43
32
    static void NO_INLINE vector(const ArrayA& a, ArrayC& c) {
44
32
        size_t size = a.size();
45
12.9k
        for (size_t i = 0; i < size; ++i) c[i] = Op::apply(a[i]);
46
32
    }
_ZN5doris18UnaryOperationImplILNS_13PrimitiveTypeE5ENS_7AbsImplIiEEE6vectorERKNS_8PODArrayIiLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERNS5_IlLm4096ES8_Lm16ELm15EEE
Line
Count
Source
43
421
    static void NO_INLINE vector(const ArrayA& a, ArrayC& c) {
44
421
        size_t size = a.size();
45
188k
        for (size_t i = 0; i < size; ++i) c[i] = Op::apply(a[i]);
46
421
    }
_ZN5doris18UnaryOperationImplILNS_13PrimitiveTypeE6ENS_7AbsImplIlEEE6vectorERKNS_8PODArrayIlLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERNS5_InLm4096ES8_Lm16ELm15EEE
Line
Count
Source
43
88
    static void NO_INLINE vector(const ArrayA& a, ArrayC& c) {
44
88
        size_t size = a.size();
45
42.3k
        for (size_t i = 0; i < size; ++i) c[i] = Op::apply(a[i]);
46
88
    }
Unexecuted instantiation: _ZN5doris18UnaryOperationImplILNS_13PrimitiveTypeE7ENS_7AbsImplInEEE6vectorERKNS_8PODArrayInLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERS9_
Unexecuted instantiation: _ZN5doris18UnaryOperationImplILNS_13PrimitiveTypeE2ENS_7AbsImplIhEEE6vectorERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERNS5_IsLm4096ES8_Lm16ELm15EEE
Unexecuted instantiation: _ZN5doris18UnaryOperationImplILNS_13PrimitiveTypeE28ENS_7AbsImplINS_7DecimalIiEEEEE6vectorERKNS_21DecimalPaddedPODArrayIS4_EERS8_
_ZN5doris18UnaryOperationImplILNS_13PrimitiveTypeE29ENS_7AbsImplINS_7DecimalIlEEEEE6vectorERKNS_21DecimalPaddedPODArrayIS4_EERS8_
Line
Count
Source
43
168
    static void NO_INLINE vector(const ArrayA& a, ArrayC& c) {
44
168
        size_t size = a.size();
45
13.0k
        for (size_t i = 0; i < size; ++i) c[i] = Op::apply(a[i]);
46
168
    }
Unexecuted instantiation: _ZN5doris18UnaryOperationImplILNS_13PrimitiveTypeE30ENS_7AbsImplINS_12Decimal128V3EEEE6vectorERKNS_21DecimalPaddedPODArrayIS3_EERS7_
Unexecuted instantiation: _ZN5doris18UnaryOperationImplILNS_13PrimitiveTypeE20ENS_7AbsImplINS_14DecimalV2ValueEEEE6vectorERKNS_21DecimalPaddedPODArrayIS3_EERS7_
Unexecuted instantiation: _ZN5doris18UnaryOperationImplILNS_13PrimitiveTypeE35ENS_7AbsImplINS_7DecimalIN4wide7integerILm256EiEEEEEEE6vectorERKNS_21DecimalPaddedPODArrayIS7_EERSB_
_ZN5doris18UnaryOperationImplILNS_13PrimitiveTypeE8ENS_7AbsImplIfEEE6vectorERKNS_8PODArrayIfLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERS9_
Line
Count
Source
43
128
    static void NO_INLINE vector(const ArrayA& a, ArrayC& c) {
44
128
        size_t size = a.size();
45
42.4k
        for (size_t i = 0; i < size; ++i) c[i] = Op::apply(a[i]);
46
128
    }
_ZN5doris18UnaryOperationImplILNS_13PrimitiveTypeE9ENS_7AbsImplIdEEE6vectorERKNS_8PODArrayIdLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERS9_
Line
Count
Source
43
161
    static void NO_INLINE vector(const ArrayA& a, ArrayC& c) {
44
161
        size_t size = a.size();
45
167k
        for (size_t i = 0; i < size; ++i) c[i] = Op::apply(a[i]);
46
161
    }
_ZN5doris18UnaryOperationImplILNS_13PrimitiveTypeE9ENS_12NegativeImplIdEEE6vectorERKNS_8PODArrayIdLm4096ENS_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
5
        for (size_t i = 0; i < size; ++i) c[i] = Op::apply(a[i]);
46
1
    }
Unexecuted instantiation: _ZN5doris18UnaryOperationImplILNS_13PrimitiveTypeE6ENS_12NegativeImplIlEEE6vectorERKNS_8PODArrayIlLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERS9_
Unexecuted instantiation: _ZN5doris18UnaryOperationImplILNS_13PrimitiveTypeE20ENS_12NegativeImplINS_14DecimalV2ValueEEEE6vectorERKNS_21DecimalPaddedPODArrayIS3_EERS7_
Unexecuted instantiation: _ZN5doris18UnaryOperationImplILNS_13PrimitiveTypeE35ENS_12NegativeImplINS_7DecimalIN4wide7integerILm256EiEEEEEEE6vectorERKNS_21DecimalPaddedPODArrayIS7_EERSB_
Unexecuted instantiation: _ZN5doris18UnaryOperationImplILNS_13PrimitiveTypeE30ENS_12NegativeImplINS_12Decimal128V3EEEE6vectorERKNS_21DecimalPaddedPODArrayIS3_EERS7_
Unexecuted instantiation: _ZN5doris18UnaryOperationImplILNS_13PrimitiveTypeE28ENS_12NegativeImplINS_7DecimalIiEEEEE6vectorERKNS_21DecimalPaddedPODArrayIS4_EERS8_
Unexecuted instantiation: _ZN5doris18UnaryOperationImplILNS_13PrimitiveTypeE29ENS_12NegativeImplINS_7DecimalIlEEEEE6vectorERKNS_21DecimalPaddedPODArrayIS4_EERS8_
Unexecuted instantiation: _ZN5doris18UnaryOperationImplILNS_13PrimitiveTypeE28ENS_12PositiveImplINS_7DecimalIiEEEEE6vectorERKNS_21DecimalPaddedPODArrayIS4_EERS8_
_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
    }
Unexecuted instantiation: _ZN5doris18UnaryOperationImplILNS_13PrimitiveTypeE30ENS_12PositiveImplINS_12Decimal128V3EEEE6vectorERKNS_21DecimalPaddedPODArrayIS3_EERS7_
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
1
    static void NO_INLINE vector(const ArrayA& a, ArrayC& c) {
44
1
        size_t size = a.size();
45
5
        for (size_t i = 0; i < size; ++i) c[i] = Op::apply(a[i]);
46
1
    }
Unexecuted instantiation: _ZN5doris18UnaryOperationImplILNS_13PrimitiveTypeE6ENS_12PositiveImplIlEEE6vectorERKNS_8PODArrayIlLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERS9_
_ZN5doris18UnaryOperationImplILNS_13PrimitiveTypeE9ENS_11RadiansImplIdEEE6vectorERKNS_8PODArrayIdLm4096ENS_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
5
        for (size_t i = 0; i < size; ++i) c[i] = Op::apply(a[i]);
46
1
    }
_ZN5doris18UnaryOperationImplILNS_13PrimitiveTypeE9ENS_11DegreesImplIdEEE6vectorERKNS_8PODArrayIdLm4096ENS_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
5
        for (size_t i = 0; i < size; ++i) c[i] = Op::apply(a[i]);
46
1
    }
_ZN5doris18UnaryOperationImplILNS_13PrimitiveTypeE9ENS_11SignBitImplIdEEE6vectorERKNS_8PODArrayIdLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERNS5_IhLm4096ES8_Lm16ELm15EEE
Line
Count
Source
43
1
    static void NO_INLINE vector(const ArrayA& a, ArrayC& c) {
44
1
        size_t size = a.size();
45
7
        for (size_t i = 0; i < size; ++i) c[i] = Op::apply(a[i]);
46
1
    }
Unexecuted instantiation: _ZN5doris18UnaryOperationImplILNS_13PrimitiveTypeE3ENS_10BitNotImplIaEEE6vectorERKNS_8PODArrayIaLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERS9_
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
    }
Unexecuted instantiation: _ZN5doris18UnaryOperationImplILNS_13PrimitiveTypeE6ENS_10BitNotImplIlEEE6vectorERKNS_8PODArrayIlLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERS9_
Unexecuted instantiation: _ZN5doris18UnaryOperationImplILNS_13PrimitiveTypeE7ENS_10BitNotImplInEEE6vectorERKNS_8PODArrayInLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERS9_
Unexecuted instantiation: _ZN5doris18UnaryOperationImplILNS_13PrimitiveTypeE3ENS_12BitCountImplIaEEE6vectorERKNS_8PODArrayIaLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERS9_
Unexecuted instantiation: _ZN5doris18UnaryOperationImplILNS_13PrimitiveTypeE4ENS_12BitCountImplIsEEE6vectorERKNS_8PODArrayIsLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERNS5_IaLm4096ES8_Lm16ELm15EEE
Unexecuted instantiation: _ZN5doris18UnaryOperationImplILNS_13PrimitiveTypeE5ENS_12BitCountImplIiEEE6vectorERKNS_8PODArrayIiLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERNS5_IaLm4096ES8_Lm16ELm15EEE
Unexecuted instantiation: _ZN5doris18UnaryOperationImplILNS_13PrimitiveTypeE6ENS_12BitCountImplIlEEE6vectorERKNS_8PODArrayIlLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERNS5_IaLm4096ES8_Lm16ELm15EEE
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.34k
    static bool cast_type(const IDataType* type, F&& f) {
71
1.34k
        if (const auto* data_type = typeid_cast<const ResultDataType*>(type)) {
72
1.34k
            return f(*data_type);
73
1.34k
        }
74
2
        return false;
75
1.34k
    }
_ZN5doris23FunctionUnaryArithmeticINS_8SignImplIdEENS_8NameSignELNS_13PrimitiveTypeE9EE9cast_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_8SignImplIdEENS_8NameSignELNS_13PrimitiveTypeE9EE9cast_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_7AbsImplIaEENS_7NameAbsELNS_13PrimitiveTypeE3EE9cast_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_7AbsImplIaEENS_7NameAbsELNS_13PrimitiveTypeE3EE9cast_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_7AbsImplIsEENS_7NameAbsELNS_13PrimitiveTypeE4EE9cast_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_7AbsImplIsEENS_7NameAbsELNS_13PrimitiveTypeE4EE9cast_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_7AbsImplIiEENS_7NameAbsELNS_13PrimitiveTypeE5EE9cast_typeIZNKS5_20get_return_type_implERKSt6vectorISt10shared_ptrIKNS_9IDataTypeEESaISB_EEEUlRKT_E_EEbPSA_OSG_
Line
Count
Source
70
119
    static bool cast_type(const IDataType* type, F&& f) {
71
119
        if (const auto* data_type = typeid_cast<const ResultDataType*>(type)) {
72
119
            return f(*data_type);
73
119
        }
74
0
        return false;
75
119
    }
_ZN5doris23FunctionUnaryArithmeticINS_7AbsImplIiEENS_7NameAbsELNS_13PrimitiveTypeE5EE9cast_typeIZNKS5_12execute_implEPNS_15FunctionContextERNS_5BlockERKSt6vectorIjSaIjEEjmEUlRKT_E_EEbPKNS_9IDataTypeEOSG_
Line
Count
Source
70
421
    static bool cast_type(const IDataType* type, F&& f) {
71
421
        if (const auto* data_type = typeid_cast<const ResultDataType*>(type)) {
72
417
            return f(*data_type);
73
417
        }
74
4
        return false;
75
421
    }
_ZN5doris23FunctionUnaryArithmeticINS_7AbsImplIlEENS_7NameAbsELNS_13PrimitiveTypeE6EE9cast_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_7AbsImplIlEENS_7NameAbsELNS_13PrimitiveTypeE6EE9cast_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
    }
Unexecuted instantiation: _ZN5doris23FunctionUnaryArithmeticINS_7AbsImplInEENS_7NameAbsELNS_13PrimitiveTypeE7EE9cast_typeIZNKS5_20get_return_type_implERKSt6vectorISt10shared_ptrIKNS_9IDataTypeEESaISB_EEEUlRKT_E_EEbPSA_OSG_
Unexecuted instantiation: _ZN5doris23FunctionUnaryArithmeticINS_7AbsImplInEENS_7NameAbsELNS_13PrimitiveTypeE7EE9cast_typeIZNKS5_12execute_implEPNS_15FunctionContextERNS_5BlockERKSt6vectorIjSaIjEEjmEUlRKT_E_EEbPKNS_9IDataTypeEOSG_
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_
Unexecuted instantiation: _ZN5doris23FunctionUnaryArithmeticINS_7AbsImplINS_7DecimalIiEEEENS_7NameAbsELNS_13PrimitiveTypeE28EE9cast_typeIZNKS7_20get_return_type_implERKSt6vectorISt10shared_ptrIKNS_9IDataTypeEESaISD_EEEUlRKT_E_EEbPSC_OSI_
Unexecuted instantiation: _ZN5doris23FunctionUnaryArithmeticINS_7AbsImplINS_7DecimalIiEEEENS_7NameAbsELNS_13PrimitiveTypeE28EE9cast_typeIZNKS7_12execute_implEPNS_15FunctionContextERNS_5BlockERKSt6vectorIjSaIjEEjmEUlRKT_E_EEbPKNS_9IDataTypeEOSI_
_ZN5doris23FunctionUnaryArithmeticINS_7AbsImplINS_7DecimalIlEEEENS_7NameAbsELNS_13PrimitiveTypeE29EE9cast_typeIZNKS7_20get_return_type_implERKSt6vectorISt10shared_ptrIKNS_9IDataTypeEESaISD_EEEUlRKT_E_EEbPSC_OSI_
Line
Count
Source
70
44
    static bool cast_type(const IDataType* type, F&& f) {
71
44
        if (const auto* data_type = typeid_cast<const ResultDataType*>(type)) {
72
44
            return f(*data_type);
73
44
        }
74
0
        return false;
75
44
    }
_ZN5doris23FunctionUnaryArithmeticINS_7AbsImplINS_7DecimalIlEEEENS_7NameAbsELNS_13PrimitiveTypeE29EE9cast_typeIZNKS7_12execute_implEPNS_15FunctionContextERNS_5BlockERKSt6vectorIjSaIjEEjmEUlRKT_E_EEbPKNS_9IDataTypeEOSI_
Line
Count
Source
70
166
    static bool cast_type(const IDataType* type, F&& f) {
71
166
        if (const auto* data_type = typeid_cast<const ResultDataType*>(type)) {
72
166
            return f(*data_type);
73
166
        }
74
0
        return false;
75
166
    }
Unexecuted instantiation: _ZN5doris23FunctionUnaryArithmeticINS_7AbsImplINS_12Decimal128V3EEENS_7NameAbsELNS_13PrimitiveTypeE30EE9cast_typeIZNKS6_20get_return_type_implERKSt6vectorISt10shared_ptrIKNS_9IDataTypeEESaISC_EEEUlRKT_E_EEbPSB_OSH_
Unexecuted instantiation: _ZN5doris23FunctionUnaryArithmeticINS_7AbsImplINS_12Decimal128V3EEENS_7NameAbsELNS_13PrimitiveTypeE30EE9cast_typeIZNKS6_12execute_implEPNS_15FunctionContextERNS_5BlockERKSt6vectorIjSaIjEEjmEUlRKT_E_EEbPKNS_9IDataTypeEOSH_
Unexecuted instantiation: _ZN5doris23FunctionUnaryArithmeticINS_7AbsImplINS_14DecimalV2ValueEEENS_7NameAbsELNS_13PrimitiveTypeE20EE9cast_typeIZNKS6_20get_return_type_implERKSt6vectorISt10shared_ptrIKNS_9IDataTypeEESaISC_EEEUlRKT_E_EEbPSB_OSH_
Unexecuted instantiation: _ZN5doris23FunctionUnaryArithmeticINS_7AbsImplINS_14DecimalV2ValueEEENS_7NameAbsELNS_13PrimitiveTypeE20EE9cast_typeIZNKS6_12execute_implEPNS_15FunctionContextERNS_5BlockERKSt6vectorIjSaIjEEjmEUlRKT_E_EEbPKNS_9IDataTypeEOSH_
Unexecuted instantiation: _ZN5doris23FunctionUnaryArithmeticINS_7AbsImplINS_7DecimalIN4wide7integerILm256EiEEEEEENS_7NameAbsELNS_13PrimitiveTypeE35EE9cast_typeIZNKSA_20get_return_type_implERKSt6vectorISt10shared_ptrIKNS_9IDataTypeEESaISG_EEEUlRKT_E_EEbPSF_OSL_
Unexecuted instantiation: _ZN5doris23FunctionUnaryArithmeticINS_7AbsImplINS_7DecimalIN4wide7integerILm256EiEEEEEENS_7NameAbsELNS_13PrimitiveTypeE35EE9cast_typeIZNKSA_12execute_implEPNS_15FunctionContextERNS_5BlockERKSt6vectorIjSaIjEEjmEUlRKT_E_EEbPKNS_9IDataTypeEOSL_
_ZN5doris23FunctionUnaryArithmeticINS_7AbsImplIfEENS_7NameAbsELNS_13PrimitiveTypeE8EE9cast_typeIZNKS5_20get_return_type_implERKSt6vectorISt10shared_ptrIKNS_9IDataTypeEESaISB_EEEUlRKT_E_EEbPSA_OSG_
Line
Count
Source
70
40
    static bool cast_type(const IDataType* type, F&& f) {
71
40
        if (const auto* data_type = typeid_cast<const ResultDataType*>(type)) {
72
40
            return f(*data_type);
73
40
        }
74
0
        return false;
75
40
    }
_ZN5doris23FunctionUnaryArithmeticINS_7AbsImplIfEENS_7NameAbsELNS_13PrimitiveTypeE8EE9cast_typeIZNKS5_12execute_implEPNS_15FunctionContextERNS_5BlockERKSt6vectorIjSaIjEEjmEUlRKT_E_EEbPKNS_9IDataTypeEOSG_
Line
Count
Source
70
128
    static bool cast_type(const IDataType* type, F&& f) {
71
128
        if (const auto* data_type = typeid_cast<const ResultDataType*>(type)) {
72
128
            return f(*data_type);
73
128
        }
74
0
        return false;
75
128
    }
_ZN5doris23FunctionUnaryArithmeticINS_7AbsImplIdEENS_7NameAbsELNS_13PrimitiveTypeE9EE9cast_typeIZNKS5_20get_return_type_implERKSt6vectorISt10shared_ptrIKNS_9IDataTypeEESaISB_EEEUlRKT_E_EEbPSA_OSG_
Line
Count
Source
70
61
    static bool cast_type(const IDataType* type, F&& f) {
71
61
        if (const auto* data_type = typeid_cast<const ResultDataType*>(type)) {
72
61
            return f(*data_type);
73
61
        }
74
0
        return false;
75
61
    }
_ZN5doris23FunctionUnaryArithmeticINS_7AbsImplIdEENS_7NameAbsELNS_13PrimitiveTypeE9EE9cast_typeIZNKS5_12execute_implEPNS_15FunctionContextERNS_5BlockERKSt6vectorIjSaIjEEjmEUlRKT_E_EEbPKNS_9IDataTypeEOSG_
Line
Count
Source
70
159
    static bool cast_type(const IDataType* type, F&& f) {
71
161
        if (const auto* data_type = typeid_cast<const ResultDataType*>(type)) {
72
161
            return f(*data_type);
73
161
        }
74
18.4E
        return false;
75
159
    }
_ZN5doris23FunctionUnaryArithmeticINS_12NegativeImplIdEENS_12NameNegativeELNS_13PrimitiveTypeE9EE9cast_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_12NegativeImplIdEENS_12NameNegativeELNS_13PrimitiveTypeE9EE9cast_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
    }
Unexecuted instantiation: _ZN5doris23FunctionUnaryArithmeticINS_12NegativeImplIlEENS_12NameNegativeELNS_13PrimitiveTypeE6EE9cast_typeIZNKS5_20get_return_type_implERKSt6vectorISt10shared_ptrIKNS_9IDataTypeEESaISB_EEEUlRKT_E_EEbPSA_OSG_
Unexecuted instantiation: _ZN5doris23FunctionUnaryArithmeticINS_12NegativeImplIlEENS_12NameNegativeELNS_13PrimitiveTypeE6EE9cast_typeIZNKS5_12execute_implEPNS_15FunctionContextERNS_5BlockERKSt6vectorIjSaIjEEjmEUlRKT_E_EEbPKNS_9IDataTypeEOSG_
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_
Unexecuted instantiation: _ZN5doris23FunctionUnaryArithmeticINS_12NegativeImplINS_7DecimalIiEEEENS_12NameNegativeELNS_13PrimitiveTypeE28EE9cast_typeIZNKS7_20get_return_type_implERKSt6vectorISt10shared_ptrIKNS_9IDataTypeEESaISD_EEEUlRKT_E_EEbPSC_OSI_
Unexecuted instantiation: _ZN5doris23FunctionUnaryArithmeticINS_12NegativeImplINS_7DecimalIiEEEENS_12NameNegativeELNS_13PrimitiveTypeE28EE9cast_typeIZNKS7_12execute_implEPNS_15FunctionContextERNS_5BlockERKSt6vectorIjSaIjEEjmEUlRKT_E_EEbPKNS_9IDataTypeEOSI_
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_
Unexecuted instantiation: _ZN5doris23FunctionUnaryArithmeticINS_12PositiveImplINS_7DecimalIiEEEENS_12NamePositiveELNS_13PrimitiveTypeE28EE9cast_typeIZNKS7_20get_return_type_implERKSt6vectorISt10shared_ptrIKNS_9IDataTypeEESaISD_EEEUlRKT_E_EEbPSC_OSI_
Unexecuted instantiation: _ZN5doris23FunctionUnaryArithmeticINS_12PositiveImplINS_7DecimalIiEEEENS_12NamePositiveELNS_13PrimitiveTypeE28EE9cast_typeIZNKS7_12execute_implEPNS_15FunctionContextERNS_5BlockERKSt6vectorIjSaIjEEjmEUlRKT_E_EEbPKNS_9IDataTypeEOSI_
_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
    }
Unexecuted instantiation: _ZN5doris23FunctionUnaryArithmeticINS_12PositiveImplINS_12Decimal128V3EEENS_12NamePositiveELNS_13PrimitiveTypeE30EE9cast_typeIZNKS6_20get_return_type_implERKSt6vectorISt10shared_ptrIKNS_9IDataTypeEESaISC_EEEUlRKT_E_EEbPSB_OSH_
Unexecuted instantiation: _ZN5doris23FunctionUnaryArithmeticINS_12PositiveImplINS_12Decimal128V3EEENS_12NamePositiveELNS_13PrimitiveTypeE30EE9cast_typeIZNKS6_12execute_implEPNS_15FunctionContextERNS_5BlockERKSt6vectorIjSaIjEEjmEUlRKT_E_EEbPKNS_9IDataTypeEOSH_
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
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_12PositiveImplIdEENS_12NamePositiveELNS_13PrimitiveTypeE9EE9cast_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
    }
Unexecuted instantiation: _ZN5doris23FunctionUnaryArithmeticINS_12PositiveImplIlEENS_12NamePositiveELNS_13PrimitiveTypeE6EE9cast_typeIZNKS5_20get_return_type_implERKSt6vectorISt10shared_ptrIKNS_9IDataTypeEESaISB_EEEUlRKT_E_EEbPSA_OSG_
Unexecuted instantiation: _ZN5doris23FunctionUnaryArithmeticINS_12PositiveImplIlEENS_12NamePositiveELNS_13PrimitiveTypeE6EE9cast_typeIZNKS5_12execute_implEPNS_15FunctionContextERNS_5BlockERKSt6vectorIjSaIjEEjmEUlRKT_E_EEbPKNS_9IDataTypeEOSG_
_ZN5doris23FunctionUnaryArithmeticINS_11RadiansImplIdEENS_11NameRadiansELNS_13PrimitiveTypeE9EE9cast_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_11RadiansImplIdEENS_11NameRadiansELNS_13PrimitiveTypeE9EE9cast_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_11DegreesImplIdEENS_11NameDegreesELNS_13PrimitiveTypeE9EE9cast_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_11DegreesImplIdEENS_11NameDegreesELNS_13PrimitiveTypeE9EE9cast_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_11SignBitImplIdEENS_11NameSignBitELNS_13PrimitiveTypeE9EE9cast_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_11SignBitImplIdEENS_11NameSignBitELNS_13PrimitiveTypeE9EE9cast_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
    }
Unexecuted instantiation: _ZN5doris23FunctionUnaryArithmeticINS_10BitNotImplIaEENS_10NameBitNotELNS_13PrimitiveTypeE3EE9cast_typeIZNKS5_20get_return_type_implERKSt6vectorISt10shared_ptrIKNS_9IDataTypeEESaISB_EEEUlRKT_E_EEbPSA_OSG_
Unexecuted instantiation: _ZN5doris23FunctionUnaryArithmeticINS_10BitNotImplIaEENS_10NameBitNotELNS_13PrimitiveTypeE3EE9cast_typeIZNKS5_12execute_implEPNS_15FunctionContextERNS_5BlockERKSt6vectorIjSaIjEEjmEUlRKT_E_EEbPKNS_9IDataTypeEOSG_
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
    }
Unexecuted instantiation: _ZN5doris23FunctionUnaryArithmeticINS_10BitNotImplIlEENS_10NameBitNotELNS_13PrimitiveTypeE6EE9cast_typeIZNKS5_20get_return_type_implERKSt6vectorISt10shared_ptrIKNS_9IDataTypeEESaISB_EEEUlRKT_E_EEbPSA_OSG_
Unexecuted instantiation: _ZN5doris23FunctionUnaryArithmeticINS_10BitNotImplIlEENS_10NameBitNotELNS_13PrimitiveTypeE6EE9cast_typeIZNKS5_12execute_implEPNS_15FunctionContextERNS_5BlockERKSt6vectorIjSaIjEEjmEUlRKT_E_EEbPKNS_9IDataTypeEOSG_
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_
Unexecuted instantiation: _ZN5doris23FunctionUnaryArithmeticINS_12BitCountImplIaEENS_12NameBitCountELNS_13PrimitiveTypeE3EE9cast_typeIZNKS5_20get_return_type_implERKSt6vectorISt10shared_ptrIKNS_9IDataTypeEESaISB_EEEUlRKT_E_EEbPSA_OSG_
Unexecuted instantiation: _ZN5doris23FunctionUnaryArithmeticINS_12BitCountImplIaEENS_12NameBitCountELNS_13PrimitiveTypeE3EE9cast_typeIZNKS5_12execute_implEPNS_15FunctionContextERNS_5BlockERKSt6vectorIjSaIjEEjmEUlRKT_E_EEbPKNS_9IDataTypeEOSG_
Unexecuted instantiation: _ZN5doris23FunctionUnaryArithmeticINS_12BitCountImplIsEENS_12NameBitCountELNS_13PrimitiveTypeE4EE9cast_typeIZNKS5_20get_return_type_implERKSt6vectorISt10shared_ptrIKNS_9IDataTypeEESaISB_EEEUlRKT_E_EEbPSA_OSG_
Unexecuted instantiation: _ZN5doris23FunctionUnaryArithmeticINS_12BitCountImplIsEENS_12NameBitCountELNS_13PrimitiveTypeE4EE9cast_typeIZNKS5_12execute_implEPNS_15FunctionContextERNS_5BlockERKSt6vectorIjSaIjEEjmEUlRKT_E_EEbPKNS_9IDataTypeEOSG_
Unexecuted instantiation: _ZN5doris23FunctionUnaryArithmeticINS_12BitCountImplIiEENS_12NameBitCountELNS_13PrimitiveTypeE5EE9cast_typeIZNKS5_20get_return_type_implERKSt6vectorISt10shared_ptrIKNS_9IDataTypeEESaISB_EEEUlRKT_E_EEbPSA_OSG_
Unexecuted instantiation: _ZN5doris23FunctionUnaryArithmeticINS_12BitCountImplIiEENS_12NameBitCountELNS_13PrimitiveTypeE5EE9cast_typeIZNKS5_12execute_implEPNS_15FunctionContextERNS_5BlockERKSt6vectorIjSaIjEEjmEUlRKT_E_EEbPKNS_9IDataTypeEOSG_
Unexecuted instantiation: _ZN5doris23FunctionUnaryArithmeticINS_12BitCountImplIlEENS_12NameBitCountELNS_13PrimitiveTypeE6EE9cast_typeIZNKS5_20get_return_type_implERKSt6vectorISt10shared_ptrIKNS_9IDataTypeEESaISB_EEEUlRKT_E_EEbPSA_OSG_
Unexecuted instantiation: _ZN5doris23FunctionUnaryArithmeticINS_12BitCountImplIlEENS_12NameBitCountELNS_13PrimitiveTypeE6EE9cast_typeIZNKS5_12execute_implEPNS_15FunctionContextERNS_5BlockERKSt6vectorIjSaIjEEjmEUlRKT_E_EEbPKNS_9IDataTypeEOSG_
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
638
    static FunctionPtr create() { return std::make_shared<FunctionUnaryArithmetic>(); }
_ZN5doris23FunctionUnaryArithmeticINS_8SignImplIdEENS_8NameSignELNS_13PrimitiveTypeE9EE6createEv
Line
Count
Source
79
9
    static FunctionPtr create() { return std::make_shared<FunctionUnaryArithmetic>(); }
_ZN5doris23FunctionUnaryArithmeticINS_7AbsImplIaEENS_7NameAbsELNS_13PrimitiveTypeE3EE6createEv
Line
Count
Source
79
12
    static FunctionPtr create() { return std::make_shared<FunctionUnaryArithmetic>(); }
_ZN5doris23FunctionUnaryArithmeticINS_7AbsImplIsEENS_7NameAbsELNS_13PrimitiveTypeE4EE6createEv
Line
Count
Source
79
12
    static FunctionPtr create() { return std::make_shared<FunctionUnaryArithmetic>(); }
_ZN5doris23FunctionUnaryArithmeticINS_7AbsImplIiEENS_7NameAbsELNS_13PrimitiveTypeE5EE6createEv
Line
Count
Source
79
127
    static FunctionPtr create() { return std::make_shared<FunctionUnaryArithmetic>(); }
_ZN5doris23FunctionUnaryArithmeticINS_7AbsImplIlEENS_7NameAbsELNS_13PrimitiveTypeE6EE6createEv
Line
Count
Source
79
36
    static FunctionPtr create() { return std::make_shared<FunctionUnaryArithmetic>(); }
_ZN5doris23FunctionUnaryArithmeticINS_7AbsImplInEENS_7NameAbsELNS_13PrimitiveTypeE7EE6createEv
Line
Count
Source
79
8
    static FunctionPtr create() { return std::make_shared<FunctionUnaryArithmetic>(); }
_ZN5doris23FunctionUnaryArithmeticINS_7AbsImplIhEENS_7NameAbsELNS_13PrimitiveTypeE2EE6createEv
Line
Count
Source
79
8
    static FunctionPtr create() { return std::make_shared<FunctionUnaryArithmetic>(); }
_ZN5doris23FunctionUnaryArithmeticINS_7AbsImplINS_7DecimalIiEEEENS_7NameAbsELNS_13PrimitiveTypeE28EE6createEv
Line
Count
Source
79
8
    static FunctionPtr create() { return std::make_shared<FunctionUnaryArithmetic>(); }
_ZN5doris23FunctionUnaryArithmeticINS_7AbsImplINS_7DecimalIlEEEENS_7NameAbsELNS_13PrimitiveTypeE29EE6createEv
Line
Count
Source
79
52
    static FunctionPtr create() { return std::make_shared<FunctionUnaryArithmetic>(); }
_ZN5doris23FunctionUnaryArithmeticINS_7AbsImplINS_12Decimal128V3EEENS_7NameAbsELNS_13PrimitiveTypeE30EE6createEv
Line
Count
Source
79
8
    static FunctionPtr create() { return std::make_shared<FunctionUnaryArithmetic>(); }
_ZN5doris23FunctionUnaryArithmeticINS_7AbsImplINS_14DecimalV2ValueEEENS_7NameAbsELNS_13PrimitiveTypeE20EE6createEv
Line
Count
Source
79
8
    static FunctionPtr create() { return std::make_shared<FunctionUnaryArithmetic>(); }
_ZN5doris23FunctionUnaryArithmeticINS_7AbsImplINS_7DecimalIN4wide7integerILm256EiEEEEEENS_7NameAbsELNS_13PrimitiveTypeE35EE6createEv
Line
Count
Source
79
8
    static FunctionPtr create() { return std::make_shared<FunctionUnaryArithmetic>(); }
_ZN5doris23FunctionUnaryArithmeticINS_7AbsImplIfEENS_7NameAbsELNS_13PrimitiveTypeE8EE6createEv
Line
Count
Source
79
48
    static FunctionPtr create() { return std::make_shared<FunctionUnaryArithmetic>(); }
_ZN5doris23FunctionUnaryArithmeticINS_7AbsImplIdEENS_7NameAbsELNS_13PrimitiveTypeE9EE6createEv
Line
Count
Source
79
69
    static FunctionPtr create() { return std::make_shared<FunctionUnaryArithmetic>(); }
_ZN5doris23FunctionUnaryArithmeticINS_12NegativeImplIdEENS_12NameNegativeELNS_13PrimitiveTypeE9EE6createEv
Line
Count
Source
79
9
    static FunctionPtr create() { return std::make_shared<FunctionUnaryArithmetic>(); }
_ZN5doris23FunctionUnaryArithmeticINS_12NegativeImplIlEENS_12NameNegativeELNS_13PrimitiveTypeE6EE6createEv
Line
Count
Source
79
8
    static FunctionPtr create() { return std::make_shared<FunctionUnaryArithmetic>(); }
_ZN5doris23FunctionUnaryArithmeticINS_12NegativeImplINS_14DecimalV2ValueEEENS_12NameNegativeELNS_13PrimitiveTypeE20EE6createEv
Line
Count
Source
79
8
    static FunctionPtr create() { return std::make_shared<FunctionUnaryArithmetic>(); }
_ZN5doris23FunctionUnaryArithmeticINS_12NegativeImplINS_7DecimalIN4wide7integerILm256EiEEEEEENS_12NameNegativeELNS_13PrimitiveTypeE35EE6createEv
Line
Count
Source
79
8
    static FunctionPtr create() { return std::make_shared<FunctionUnaryArithmetic>(); }
_ZN5doris23FunctionUnaryArithmeticINS_12NegativeImplINS_12Decimal128V3EEENS_12NameNegativeELNS_13PrimitiveTypeE30EE6createEv
Line
Count
Source
79
8
    static FunctionPtr create() { return std::make_shared<FunctionUnaryArithmetic>(); }
_ZN5doris23FunctionUnaryArithmeticINS_12NegativeImplINS_7DecimalIiEEEENS_12NameNegativeELNS_13PrimitiveTypeE28EE6createEv
Line
Count
Source
79
8
    static FunctionPtr create() { return std::make_shared<FunctionUnaryArithmetic>(); }
_ZN5doris23FunctionUnaryArithmeticINS_12NegativeImplINS_7DecimalIlEEEENS_12NameNegativeELNS_13PrimitiveTypeE29EE6createEv
Line
Count
Source
79
8
    static FunctionPtr create() { return std::make_shared<FunctionUnaryArithmetic>(); }
_ZN5doris23FunctionUnaryArithmeticINS_12PositiveImplINS_7DecimalIiEEEENS_12NamePositiveELNS_13PrimitiveTypeE28EE6createEv
Line
Count
Source
79
8
    static FunctionPtr create() { return std::make_shared<FunctionUnaryArithmetic>(); }
_ZN5doris23FunctionUnaryArithmeticINS_12PositiveImplINS_7DecimalIlEEEENS_12NamePositiveELNS_13PrimitiveTypeE29EE6createEv
Line
Count
Source
79
11
    static FunctionPtr create() { return std::make_shared<FunctionUnaryArithmetic>(); }
_ZN5doris23FunctionUnaryArithmeticINS_12PositiveImplINS_12Decimal128V3EEENS_12NamePositiveELNS_13PrimitiveTypeE30EE6createEv
Line
Count
Source
79
8
    static FunctionPtr create() { return std::make_shared<FunctionUnaryArithmetic>(); }
_ZN5doris23FunctionUnaryArithmeticINS_12PositiveImplINS_14DecimalV2ValueEEENS_12NamePositiveELNS_13PrimitiveTypeE20EE6createEv
Line
Count
Source
79
8
    static FunctionPtr create() { return std::make_shared<FunctionUnaryArithmetic>(); }
_ZN5doris23FunctionUnaryArithmeticINS_12PositiveImplINS_7DecimalIN4wide7integerILm256EiEEEEEENS_12NamePositiveELNS_13PrimitiveTypeE35EE6createEv
Line
Count
Source
79
8
    static FunctionPtr create() { return std::make_shared<FunctionUnaryArithmetic>(); }
_ZN5doris23FunctionUnaryArithmeticINS_12PositiveImplIdEENS_12NamePositiveELNS_13PrimitiveTypeE9EE6createEv
Line
Count
Source
79
9
    static FunctionPtr create() { return std::make_shared<FunctionUnaryArithmetic>(); }
_ZN5doris23FunctionUnaryArithmeticINS_12PositiveImplIlEENS_12NamePositiveELNS_13PrimitiveTypeE6EE6createEv
Line
Count
Source
79
8
    static FunctionPtr create() { return std::make_shared<FunctionUnaryArithmetic>(); }
_ZN5doris23FunctionUnaryArithmeticINS_11RadiansImplIdEENS_11NameRadiansELNS_13PrimitiveTypeE9EE6createEv
Line
Count
Source
79
9
    static FunctionPtr create() { return std::make_shared<FunctionUnaryArithmetic>(); }
_ZN5doris23FunctionUnaryArithmeticINS_11DegreesImplIdEENS_11NameDegreesELNS_13PrimitiveTypeE9EE6createEv
Line
Count
Source
79
9
    static FunctionPtr create() { return std::make_shared<FunctionUnaryArithmetic>(); }
_ZN5doris23FunctionUnaryArithmeticINS_11SignBitImplIdEENS_11NameSignBitELNS_13PrimitiveTypeE9EE6createEv
Line
Count
Source
79
9
    static FunctionPtr create() { return std::make_shared<FunctionUnaryArithmetic>(); }
_ZN5doris23FunctionUnaryArithmeticINS_10BitNotImplIaEENS_10NameBitNotELNS_13PrimitiveTypeE3EE6createEv
Line
Count
Source
79
8
    static FunctionPtr create() { return std::make_shared<FunctionUnaryArithmetic>(); }
_ZN5doris23FunctionUnaryArithmeticINS_10BitNotImplIsEENS_10NameBitNotELNS_13PrimitiveTypeE4EE6createEv
Line
Count
Source
79
8
    static FunctionPtr create() { return std::make_shared<FunctionUnaryArithmetic>(); }
_ZN5doris23FunctionUnaryArithmeticINS_10BitNotImplIiEENS_10NameBitNotELNS_13PrimitiveTypeE5EE6createEv
Line
Count
Source
79
9
    static FunctionPtr create() { return std::make_shared<FunctionUnaryArithmetic>(); }
_ZN5doris23FunctionUnaryArithmeticINS_10BitNotImplIlEENS_10NameBitNotELNS_13PrimitiveTypeE6EE6createEv
Line
Count
Source
79
8
    static FunctionPtr create() { return std::make_shared<FunctionUnaryArithmetic>(); }
_ZN5doris23FunctionUnaryArithmeticINS_10BitNotImplInEENS_10NameBitNotELNS_13PrimitiveTypeE7EE6createEv
Line
Count
Source
79
8
    static FunctionPtr create() { return std::make_shared<FunctionUnaryArithmetic>(); }
_ZN5doris23FunctionUnaryArithmeticINS_12BitCountImplIaEENS_12NameBitCountELNS_13PrimitiveTypeE3EE6createEv
Line
Count
Source
79
8
    static FunctionPtr create() { return std::make_shared<FunctionUnaryArithmetic>(); }
_ZN5doris23FunctionUnaryArithmeticINS_12BitCountImplIsEENS_12NameBitCountELNS_13PrimitiveTypeE4EE6createEv
Line
Count
Source
79
8
    static FunctionPtr create() { return std::make_shared<FunctionUnaryArithmetic>(); }
_ZN5doris23FunctionUnaryArithmeticINS_12BitCountImplIiEENS_12NameBitCountELNS_13PrimitiveTypeE5EE6createEv
Line
Count
Source
79
8
    static FunctionPtr create() { return std::make_shared<FunctionUnaryArithmetic>(); }
_ZN5doris23FunctionUnaryArithmeticINS_12BitCountImplIlEENS_12NameBitCountELNS_13PrimitiveTypeE6EE6createEv
Line
Count
Source
79
8
    static FunctionPtr create() { return std::make_shared<FunctionUnaryArithmetic>(); }
_ZN5doris23FunctionUnaryArithmeticINS_12BitCountImplInEENS_12NameBitCountELNS_13PrimitiveTypeE7EE6createEv
Line
Count
Source
79
8
    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
2
    size_t get_number_of_arguments() const override { return 1; }
_ZNK5doris23FunctionUnaryArithmeticINS_8SignImplIdEENS_8NameSignELNS_13PrimitiveTypeE9EE23get_number_of_argumentsEv
Line
Count
Source
83
1
    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
1
    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
351
    bool is_variadic() const override {
86
351
        if constexpr (not_variadic) {
87
4
            return false;
88
4
        }
89
0
        return true;
90
351
    }
_ZNK5doris23FunctionUnaryArithmeticINS_8SignImplIdEENS_8NameSignELNS_13PrimitiveTypeE9EE11is_variadicEv
Line
Count
Source
85
2
    bool is_variadic() const override {
86
2
        if constexpr (not_variadic) {
87
2
            return false;
88
2
        }
89
0
        return true;
90
2
    }
_ZNK5doris23FunctionUnaryArithmeticINS_7AbsImplIaEENS_7NameAbsELNS_13PrimitiveTypeE3EE11is_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_7AbsImplIsEENS_7NameAbsELNS_13PrimitiveTypeE4EE11is_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_7AbsImplIiEENS_7NameAbsELNS_13PrimitiveTypeE5EE11is_variadicEv
Line
Count
Source
85
120
    bool is_variadic() const override {
86
        if constexpr (not_variadic) {
87
            return false;
88
        }
89
120
        return true;
90
120
    }
_ZNK5doris23FunctionUnaryArithmeticINS_7AbsImplIlEENS_7NameAbsELNS_13PrimitiveTypeE6EE11is_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_7AbsImplInEENS_7NameAbsELNS_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_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
1
    bool is_variadic() const override {
86
        if constexpr (not_variadic) {
87
            return false;
88
        }
89
1
        return true;
90
1
    }
_ZNK5doris23FunctionUnaryArithmeticINS_7AbsImplINS_7DecimalIlEEEENS_7NameAbsELNS_13PrimitiveTypeE29EE11is_variadicEv
Line
Count
Source
85
45
    bool is_variadic() const override {
86
        if constexpr (not_variadic) {
87
            return false;
88
        }
89
45
        return true;
90
45
    }
_ZNK5doris23FunctionUnaryArithmeticINS_7AbsImplINS_12Decimal128V3EEENS_7NameAbsELNS_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_7AbsImplINS_14DecimalV2ValueEEENS_7NameAbsELNS_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_7AbsImplINS_7DecimalIN4wide7integerILm256EiEEEEEENS_7NameAbsELNS_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_7AbsImplIfEENS_7NameAbsELNS_13PrimitiveTypeE8EE11is_variadicEv
Line
Count
Source
85
41
    bool is_variadic() const override {
86
        if constexpr (not_variadic) {
87
            return false;
88
        }
89
41
        return true;
90
41
    }
_ZNK5doris23FunctionUnaryArithmeticINS_7AbsImplIdEENS_7NameAbsELNS_13PrimitiveTypeE9EE11is_variadicEv
Line
Count
Source
85
62
    bool is_variadic() const override {
86
        if constexpr (not_variadic) {
87
            return false;
88
        }
89
62
        return true;
90
62
    }
_ZNK5doris23FunctionUnaryArithmeticINS_12NegativeImplIdEENS_12NameNegativeELNS_13PrimitiveTypeE9EE11is_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_12NegativeImplIlEENS_12NameNegativeELNS_13PrimitiveTypeE6EE11is_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_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
1
    bool is_variadic() const override {
86
        if constexpr (not_variadic) {
87
            return false;
88
        }
89
1
        return true;
90
1
    }
_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
1
    bool is_variadic() const override {
86
        if constexpr (not_variadic) {
87
            return false;
88
        }
89
1
        return true;
90
1
    }
_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
1
    bool is_variadic() const override {
86
        if constexpr (not_variadic) {
87
            return false;
88
        }
89
1
        return true;
90
1
    }
_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
2
    bool is_variadic() const override {
86
        if constexpr (not_variadic) {
87
            return false;
88
        }
89
2
        return true;
90
2
    }
_ZNK5doris23FunctionUnaryArithmeticINS_12PositiveImplIlEENS_12NamePositiveELNS_13PrimitiveTypeE6EE11is_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_11RadiansImplIdEENS_11NameRadiansELNS_13PrimitiveTypeE9EE11is_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_11DegreesImplIdEENS_11NameDegreesELNS_13PrimitiveTypeE9EE11is_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_11SignBitImplIdEENS_11NameSignBitELNS_13PrimitiveTypeE9EE11is_variadicEv
Line
Count
Source
85
2
    bool is_variadic() const override {
86
2
        if constexpr (not_variadic) {
87
2
            return false;
88
2
        }
89
0
        return true;
90
2
    }
_ZNK5doris23FunctionUnaryArithmeticINS_10BitNotImplIaEENS_10NameBitNotELNS_13PrimitiveTypeE3EE11is_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_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
1
    bool is_variadic() const override {
86
        if constexpr (not_variadic) {
87
            return false;
88
        }
89
1
        return true;
90
1
    }
_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
1
    bool is_variadic() const override {
86
        if constexpr (not_variadic) {
87
            return false;
88
        }
89
1
        return true;
90
1
    }
_ZNK5doris23FunctionUnaryArithmeticINS_12BitCountImplIsEENS_12NameBitCountELNS_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_12BitCountImplIiEENS_12NameBitCountELNS_13PrimitiveTypeE5EE11is_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_12BitCountImplIlEENS_12NameBitCountELNS_13PrimitiveTypeE6EE11is_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_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
287
    DataTypes get_variadic_argument_types_impl() const override {
93
287
        if constexpr (not_variadic) {
94
14
            return {};
95
14
        }
96
0
        return {std::make_shared<ResultDataType>()};
97
287
    }
_ZNK5doris23FunctionUnaryArithmeticINS_8SignImplIdEENS_8NameSignELNS_13PrimitiveTypeE9EE32get_variadic_argument_types_implEv
Line
Count
Source
92
7
    DataTypes get_variadic_argument_types_impl() const override {
93
7
        if constexpr (not_variadic) {
94
7
            return {};
95
7
        }
96
0
        return {std::make_shared<ResultDataType>()};
97
7
    }
_ZNK5doris23FunctionUnaryArithmeticINS_7AbsImplIaEENS_7NameAbsELNS_13PrimitiveTypeE3EE32get_variadic_argument_types_implEv
Line
Count
Source
92
7
    DataTypes get_variadic_argument_types_impl() const override {
93
        if constexpr (not_variadic) {
94
            return {};
95
        }
96
7
        return {std::make_shared<ResultDataType>()};
97
7
    }
_ZNK5doris23FunctionUnaryArithmeticINS_7AbsImplIsEENS_7NameAbsELNS_13PrimitiveTypeE4EE32get_variadic_argument_types_implEv
Line
Count
Source
92
7
    DataTypes get_variadic_argument_types_impl() const override {
93
        if constexpr (not_variadic) {
94
            return {};
95
        }
96
7
        return {std::make_shared<ResultDataType>()};
97
7
    }
_ZNK5doris23FunctionUnaryArithmeticINS_7AbsImplIiEENS_7NameAbsELNS_13PrimitiveTypeE5EE32get_variadic_argument_types_implEv
Line
Count
Source
92
7
    DataTypes get_variadic_argument_types_impl() const override {
93
        if constexpr (not_variadic) {
94
            return {};
95
        }
96
7
        return {std::make_shared<ResultDataType>()};
97
7
    }
_ZNK5doris23FunctionUnaryArithmeticINS_7AbsImplIlEENS_7NameAbsELNS_13PrimitiveTypeE6EE32get_variadic_argument_types_implEv
Line
Count
Source
92
7
    DataTypes get_variadic_argument_types_impl() const override {
93
        if constexpr (not_variadic) {
94
            return {};
95
        }
96
7
        return {std::make_shared<ResultDataType>()};
97
7
    }
_ZNK5doris23FunctionUnaryArithmeticINS_7AbsImplInEENS_7NameAbsELNS_13PrimitiveTypeE7EE32get_variadic_argument_types_implEv
Line
Count
Source
92
7
    DataTypes get_variadic_argument_types_impl() const override {
93
        if constexpr (not_variadic) {
94
            return {};
95
        }
96
7
        return {std::make_shared<ResultDataType>()};
97
7
    }
_ZNK5doris23FunctionUnaryArithmeticINS_7AbsImplIhEENS_7NameAbsELNS_13PrimitiveTypeE2EE32get_variadic_argument_types_implEv
Line
Count
Source
92
7
    DataTypes get_variadic_argument_types_impl() const override {
93
        if constexpr (not_variadic) {
94
            return {};
95
        }
96
7
        return {std::make_shared<ResultDataType>()};
97
7
    }
_ZNK5doris23FunctionUnaryArithmeticINS_7AbsImplINS_7DecimalIiEEEENS_7NameAbsELNS_13PrimitiveTypeE28EE32get_variadic_argument_types_implEv
Line
Count
Source
92
7
    DataTypes get_variadic_argument_types_impl() const override {
93
        if constexpr (not_variadic) {
94
            return {};
95
        }
96
7
        return {std::make_shared<ResultDataType>()};
97
7
    }
_ZNK5doris23FunctionUnaryArithmeticINS_7AbsImplINS_7DecimalIlEEEENS_7NameAbsELNS_13PrimitiveTypeE29EE32get_variadic_argument_types_implEv
Line
Count
Source
92
7
    DataTypes get_variadic_argument_types_impl() const override {
93
        if constexpr (not_variadic) {
94
            return {};
95
        }
96
7
        return {std::make_shared<ResultDataType>()};
97
7
    }
_ZNK5doris23FunctionUnaryArithmeticINS_7AbsImplINS_12Decimal128V3EEENS_7NameAbsELNS_13PrimitiveTypeE30EE32get_variadic_argument_types_implEv
Line
Count
Source
92
7
    DataTypes get_variadic_argument_types_impl() const override {
93
        if constexpr (not_variadic) {
94
            return {};
95
        }
96
7
        return {std::make_shared<ResultDataType>()};
97
7
    }
_ZNK5doris23FunctionUnaryArithmeticINS_7AbsImplINS_14DecimalV2ValueEEENS_7NameAbsELNS_13PrimitiveTypeE20EE32get_variadic_argument_types_implEv
Line
Count
Source
92
7
    DataTypes get_variadic_argument_types_impl() const override {
93
        if constexpr (not_variadic) {
94
            return {};
95
        }
96
7
        return {std::make_shared<ResultDataType>()};
97
7
    }
_ZNK5doris23FunctionUnaryArithmeticINS_7AbsImplINS_7DecimalIN4wide7integerILm256EiEEEEEENS_7NameAbsELNS_13PrimitiveTypeE35EE32get_variadic_argument_types_implEv
Line
Count
Source
92
7
    DataTypes get_variadic_argument_types_impl() const override {
93
        if constexpr (not_variadic) {
94
            return {};
95
        }
96
7
        return {std::make_shared<ResultDataType>()};
97
7
    }
_ZNK5doris23FunctionUnaryArithmeticINS_7AbsImplIfEENS_7NameAbsELNS_13PrimitiveTypeE8EE32get_variadic_argument_types_implEv
Line
Count
Source
92
7
    DataTypes get_variadic_argument_types_impl() const override {
93
        if constexpr (not_variadic) {
94
            return {};
95
        }
96
7
        return {std::make_shared<ResultDataType>()};
97
7
    }
_ZNK5doris23FunctionUnaryArithmeticINS_7AbsImplIdEENS_7NameAbsELNS_13PrimitiveTypeE9EE32get_variadic_argument_types_implEv
Line
Count
Source
92
7
    DataTypes get_variadic_argument_types_impl() const override {
93
        if constexpr (not_variadic) {
94
            return {};
95
        }
96
7
        return {std::make_shared<ResultDataType>()};
97
7
    }
_ZNK5doris23FunctionUnaryArithmeticINS_12NegativeImplIdEENS_12NameNegativeELNS_13PrimitiveTypeE9EE32get_variadic_argument_types_implEv
Line
Count
Source
92
7
    DataTypes get_variadic_argument_types_impl() const override {
93
        if constexpr (not_variadic) {
94
            return {};
95
        }
96
7
        return {std::make_shared<ResultDataType>()};
97
7
    }
_ZNK5doris23FunctionUnaryArithmeticINS_12NegativeImplIlEENS_12NameNegativeELNS_13PrimitiveTypeE6EE32get_variadic_argument_types_implEv
Line
Count
Source
92
7
    DataTypes get_variadic_argument_types_impl() const override {
93
        if constexpr (not_variadic) {
94
            return {};
95
        }
96
7
        return {std::make_shared<ResultDataType>()};
97
7
    }
_ZNK5doris23FunctionUnaryArithmeticINS_12NegativeImplINS_14DecimalV2ValueEEENS_12NameNegativeELNS_13PrimitiveTypeE20EE32get_variadic_argument_types_implEv
Line
Count
Source
92
7
    DataTypes get_variadic_argument_types_impl() const override {
93
        if constexpr (not_variadic) {
94
            return {};
95
        }
96
7
        return {std::make_shared<ResultDataType>()};
97
7
    }
_ZNK5doris23FunctionUnaryArithmeticINS_12NegativeImplINS_7DecimalIN4wide7integerILm256EiEEEEEENS_12NameNegativeELNS_13PrimitiveTypeE35EE32get_variadic_argument_types_implEv
Line
Count
Source
92
7
    DataTypes get_variadic_argument_types_impl() const override {
93
        if constexpr (not_variadic) {
94
            return {};
95
        }
96
7
        return {std::make_shared<ResultDataType>()};
97
7
    }
_ZNK5doris23FunctionUnaryArithmeticINS_12NegativeImplINS_12Decimal128V3EEENS_12NameNegativeELNS_13PrimitiveTypeE30EE32get_variadic_argument_types_implEv
Line
Count
Source
92
7
    DataTypes get_variadic_argument_types_impl() const override {
93
        if constexpr (not_variadic) {
94
            return {};
95
        }
96
7
        return {std::make_shared<ResultDataType>()};
97
7
    }
_ZNK5doris23FunctionUnaryArithmeticINS_12NegativeImplINS_7DecimalIiEEEENS_12NameNegativeELNS_13PrimitiveTypeE28EE32get_variadic_argument_types_implEv
Line
Count
Source
92
7
    DataTypes get_variadic_argument_types_impl() const override {
93
        if constexpr (not_variadic) {
94
            return {};
95
        }
96
7
        return {std::make_shared<ResultDataType>()};
97
7
    }
_ZNK5doris23FunctionUnaryArithmeticINS_12NegativeImplINS_7DecimalIlEEEENS_12NameNegativeELNS_13PrimitiveTypeE29EE32get_variadic_argument_types_implEv
Line
Count
Source
92
7
    DataTypes get_variadic_argument_types_impl() const override {
93
        if constexpr (not_variadic) {
94
            return {};
95
        }
96
7
        return {std::make_shared<ResultDataType>()};
97
7
    }
_ZNK5doris23FunctionUnaryArithmeticINS_12PositiveImplINS_7DecimalIiEEEENS_12NamePositiveELNS_13PrimitiveTypeE28EE32get_variadic_argument_types_implEv
Line
Count
Source
92
7
    DataTypes get_variadic_argument_types_impl() const override {
93
        if constexpr (not_variadic) {
94
            return {};
95
        }
96
7
        return {std::make_shared<ResultDataType>()};
97
7
    }
_ZNK5doris23FunctionUnaryArithmeticINS_12PositiveImplINS_7DecimalIlEEEENS_12NamePositiveELNS_13PrimitiveTypeE29EE32get_variadic_argument_types_implEv
Line
Count
Source
92
7
    DataTypes get_variadic_argument_types_impl() const override {
93
        if constexpr (not_variadic) {
94
            return {};
95
        }
96
7
        return {std::make_shared<ResultDataType>()};
97
7
    }
_ZNK5doris23FunctionUnaryArithmeticINS_12PositiveImplINS_12Decimal128V3EEENS_12NamePositiveELNS_13PrimitiveTypeE30EE32get_variadic_argument_types_implEv
Line
Count
Source
92
7
    DataTypes get_variadic_argument_types_impl() const override {
93
        if constexpr (not_variadic) {
94
            return {};
95
        }
96
7
        return {std::make_shared<ResultDataType>()};
97
7
    }
_ZNK5doris23FunctionUnaryArithmeticINS_12PositiveImplINS_14DecimalV2ValueEEENS_12NamePositiveELNS_13PrimitiveTypeE20EE32get_variadic_argument_types_implEv
Line
Count
Source
92
7
    DataTypes get_variadic_argument_types_impl() const override {
93
        if constexpr (not_variadic) {
94
            return {};
95
        }
96
7
        return {std::make_shared<ResultDataType>()};
97
7
    }
_ZNK5doris23FunctionUnaryArithmeticINS_12PositiveImplINS_7DecimalIN4wide7integerILm256EiEEEEEENS_12NamePositiveELNS_13PrimitiveTypeE35EE32get_variadic_argument_types_implEv
Line
Count
Source
92
7
    DataTypes get_variadic_argument_types_impl() const override {
93
        if constexpr (not_variadic) {
94
            return {};
95
        }
96
7
        return {std::make_shared<ResultDataType>()};
97
7
    }
_ZNK5doris23FunctionUnaryArithmeticINS_12PositiveImplIdEENS_12NamePositiveELNS_13PrimitiveTypeE9EE32get_variadic_argument_types_implEv
Line
Count
Source
92
7
    DataTypes get_variadic_argument_types_impl() const override {
93
        if constexpr (not_variadic) {
94
            return {};
95
        }
96
7
        return {std::make_shared<ResultDataType>()};
97
7
    }
_ZNK5doris23FunctionUnaryArithmeticINS_12PositiveImplIlEENS_12NamePositiveELNS_13PrimitiveTypeE6EE32get_variadic_argument_types_implEv
Line
Count
Source
92
7
    DataTypes get_variadic_argument_types_impl() const override {
93
        if constexpr (not_variadic) {
94
            return {};
95
        }
96
7
        return {std::make_shared<ResultDataType>()};
97
7
    }
_ZNK5doris23FunctionUnaryArithmeticINS_11RadiansImplIdEENS_11NameRadiansELNS_13PrimitiveTypeE9EE32get_variadic_argument_types_implEv
Line
Count
Source
92
7
    DataTypes get_variadic_argument_types_impl() const override {
93
        if constexpr (not_variadic) {
94
            return {};
95
        }
96
7
        return {std::make_shared<ResultDataType>()};
97
7
    }
_ZNK5doris23FunctionUnaryArithmeticINS_11DegreesImplIdEENS_11NameDegreesELNS_13PrimitiveTypeE9EE32get_variadic_argument_types_implEv
Line
Count
Source
92
7
    DataTypes get_variadic_argument_types_impl() const override {
93
        if constexpr (not_variadic) {
94
            return {};
95
        }
96
7
        return {std::make_shared<ResultDataType>()};
97
7
    }
_ZNK5doris23FunctionUnaryArithmeticINS_11SignBitImplIdEENS_11NameSignBitELNS_13PrimitiveTypeE9EE32get_variadic_argument_types_implEv
Line
Count
Source
92
7
    DataTypes get_variadic_argument_types_impl() const override {
93
7
        if constexpr (not_variadic) {
94
7
            return {};
95
7
        }
96
0
        return {std::make_shared<ResultDataType>()};
97
7
    }
_ZNK5doris23FunctionUnaryArithmeticINS_10BitNotImplIaEENS_10NameBitNotELNS_13PrimitiveTypeE3EE32get_variadic_argument_types_implEv
Line
Count
Source
92
7
    DataTypes get_variadic_argument_types_impl() const override {
93
        if constexpr (not_variadic) {
94
            return {};
95
        }
96
7
        return {std::make_shared<ResultDataType>()};
97
7
    }
_ZNK5doris23FunctionUnaryArithmeticINS_10BitNotImplIsEENS_10NameBitNotELNS_13PrimitiveTypeE4EE32get_variadic_argument_types_implEv
Line
Count
Source
92
7
    DataTypes get_variadic_argument_types_impl() const override {
93
        if constexpr (not_variadic) {
94
            return {};
95
        }
96
7
        return {std::make_shared<ResultDataType>()};
97
7
    }
_ZNK5doris23FunctionUnaryArithmeticINS_10BitNotImplIiEENS_10NameBitNotELNS_13PrimitiveTypeE5EE32get_variadic_argument_types_implEv
Line
Count
Source
92
7
    DataTypes get_variadic_argument_types_impl() const override {
93
        if constexpr (not_variadic) {
94
            return {};
95
        }
96
7
        return {std::make_shared<ResultDataType>()};
97
7
    }
_ZNK5doris23FunctionUnaryArithmeticINS_10BitNotImplIlEENS_10NameBitNotELNS_13PrimitiveTypeE6EE32get_variadic_argument_types_implEv
Line
Count
Source
92
7
    DataTypes get_variadic_argument_types_impl() const override {
93
        if constexpr (not_variadic) {
94
            return {};
95
        }
96
7
        return {std::make_shared<ResultDataType>()};
97
7
    }
_ZNK5doris23FunctionUnaryArithmeticINS_10BitNotImplInEENS_10NameBitNotELNS_13PrimitiveTypeE7EE32get_variadic_argument_types_implEv
Line
Count
Source
92
7
    DataTypes get_variadic_argument_types_impl() const override {
93
        if constexpr (not_variadic) {
94
            return {};
95
        }
96
7
        return {std::make_shared<ResultDataType>()};
97
7
    }
_ZNK5doris23FunctionUnaryArithmeticINS_12BitCountImplIaEENS_12NameBitCountELNS_13PrimitiveTypeE3EE32get_variadic_argument_types_implEv
Line
Count
Source
92
7
    DataTypes get_variadic_argument_types_impl() const override {
93
        if constexpr (not_variadic) {
94
            return {};
95
        }
96
7
        return {std::make_shared<ResultDataType>()};
97
7
    }
_ZNK5doris23FunctionUnaryArithmeticINS_12BitCountImplIsEENS_12NameBitCountELNS_13PrimitiveTypeE4EE32get_variadic_argument_types_implEv
Line
Count
Source
92
7
    DataTypes get_variadic_argument_types_impl() const override {
93
        if constexpr (not_variadic) {
94
            return {};
95
        }
96
7
        return {std::make_shared<ResultDataType>()};
97
7
    }
_ZNK5doris23FunctionUnaryArithmeticINS_12BitCountImplIiEENS_12NameBitCountELNS_13PrimitiveTypeE5EE32get_variadic_argument_types_implEv
Line
Count
Source
92
7
    DataTypes get_variadic_argument_types_impl() const override {
93
        if constexpr (not_variadic) {
94
            return {};
95
        }
96
7
        return {std::make_shared<ResultDataType>()};
97
7
    }
_ZNK5doris23FunctionUnaryArithmeticINS_12BitCountImplIlEENS_12NameBitCountELNS_13PrimitiveTypeE6EE32get_variadic_argument_types_implEv
Line
Count
Source
92
7
    DataTypes get_variadic_argument_types_impl() const override {
93
        if constexpr (not_variadic) {
94
            return {};
95
        }
96
7
        return {std::make_shared<ResultDataType>()};
97
7
    }
_ZNK5doris23FunctionUnaryArithmeticINS_12BitCountImplInEENS_12NameBitCountELNS_13PrimitiveTypeE7EE32get_variadic_argument_types_implEv
Line
Count
Source
92
7
    DataTypes get_variadic_argument_types_impl() const override {
93
        if constexpr (not_variadic) {
94
            return {};
95
        }
96
7
        return {std::make_shared<ResultDataType>()};
97
7
    }
98
99
310
    DataTypePtr get_return_type_impl(const DataTypes& arguments) const override {
100
310
        DataTypePtr result;
101
310
        bool valid = cast_type(arguments[0].get(), [&](const auto& type) {
102
310
            using DataType = std::decay_t<decltype(type)>;
103
104
310
            if constexpr (IsDataTypeDecimal<DataType>) {
105
                if constexpr (!allow_decimal) return false;
106
47
                result = std::make_shared<DataType>(type.get_precision(), type.get_scale());
107
263
            } else {
108
263
                result = std::make_shared<typename PrimitiveTypeTraits<Op::ResultType>::DataType>();
109
263
            }
110
310
            return true;
111
310
        });
_ZZNK5doris23FunctionUnaryArithmeticINS_8SignImplIdEENS_8NameSignELNS_13PrimitiveTypeE9EE20get_return_type_implERKSt6vectorISt10shared_ptrIKNS_9IDataTypeEESaISA_EEENKUlRKT_E_clINS_14DataTypeNumberILS4_9EEEEEDaSH_
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_7AbsImplIaEENS_7NameAbsELNS_13PrimitiveTypeE3EE20get_return_type_implERKSt6vectorISt10shared_ptrIKNS_9IDataTypeEESaISA_EEENKUlRKT_E_clINS_14DataTypeNumberILS4_3EEEEEDaSH_
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
        });
_ZZNK5doris23FunctionUnaryArithmeticINS_7AbsImplIsEENS_7NameAbsELNS_13PrimitiveTypeE4EE20get_return_type_implERKSt6vectorISt10shared_ptrIKNS_9IDataTypeEESaISA_EEENKUlRKT_E_clINS_14DataTypeNumberILS4_4EEEEEDaSH_
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
        });
_ZZNK5doris23FunctionUnaryArithmeticINS_7AbsImplIiEENS_7NameAbsELNS_13PrimitiveTypeE5EE20get_return_type_implERKSt6vectorISt10shared_ptrIKNS_9IDataTypeEESaISA_EEENKUlRKT_E_clINS_14DataTypeNumberILS4_5EEEEEDaSH_
Line
Count
Source
101
119
        bool valid = cast_type(arguments[0].get(), [&](const auto& type) {
102
119
            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
119
            } else {
108
119
                result = std::make_shared<typename PrimitiveTypeTraits<Op::ResultType>::DataType>();
109
119
            }
110
119
            return true;
111
119
        });
_ZZNK5doris23FunctionUnaryArithmeticINS_7AbsImplIlEENS_7NameAbsELNS_13PrimitiveTypeE6EE20get_return_type_implERKSt6vectorISt10shared_ptrIKNS_9IDataTypeEESaISA_EEENKUlRKT_E_clINS_14DataTypeNumberILS4_6EEEEEDaSH_
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
        });
Unexecuted instantiation: _ZZNK5doris23FunctionUnaryArithmeticINS_7AbsImplInEENS_7NameAbsELNS_13PrimitiveTypeE7EE20get_return_type_implERKSt6vectorISt10shared_ptrIKNS_9IDataTypeEESaISA_EEENKUlRKT_E_clINS_14DataTypeNumberILS4_7EEEEEDaSH_
Unexecuted instantiation: _ZZNK5doris23FunctionUnaryArithmeticINS_7AbsImplIhEENS_7NameAbsELNS_13PrimitiveTypeE2EE20get_return_type_implERKSt6vectorISt10shared_ptrIKNS_9IDataTypeEESaISA_EEENKUlRKT_E_clINS_14DataTypeNumberILS4_2EEEEEDaSH_
Unexecuted instantiation: _ZZNK5doris23FunctionUnaryArithmeticINS_7AbsImplINS_7DecimalIiEEEENS_7NameAbsELNS_13PrimitiveTypeE28EE20get_return_type_implERKSt6vectorISt10shared_ptrIKNS_9IDataTypeEESaISC_EEENKUlRKT_E_clINS_15DataTypeDecimalILS6_28EEEEEDaSJ_
_ZZNK5doris23FunctionUnaryArithmeticINS_7AbsImplINS_7DecimalIlEEEENS_7NameAbsELNS_13PrimitiveTypeE29EE20get_return_type_implERKSt6vectorISt10shared_ptrIKNS_9IDataTypeEESaISC_EEENKUlRKT_E_clINS_15DataTypeDecimalILS6_29EEEEEDaSJ_
Line
Count
Source
101
44
        bool valid = cast_type(arguments[0].get(), [&](const auto& type) {
102
44
            using DataType = std::decay_t<decltype(type)>;
103
104
44
            if constexpr (IsDataTypeDecimal<DataType>) {
105
                if constexpr (!allow_decimal) return false;
106
44
                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
44
            return true;
111
44
        });
Unexecuted instantiation: _ZZNK5doris23FunctionUnaryArithmeticINS_7AbsImplINS_12Decimal128V3EEENS_7NameAbsELNS_13PrimitiveTypeE30EE20get_return_type_implERKSt6vectorISt10shared_ptrIKNS_9IDataTypeEESaISB_EEENKUlRKT_E_clINS_15DataTypeDecimalILS5_30EEEEEDaSI_
Unexecuted instantiation: _ZZNK5doris23FunctionUnaryArithmeticINS_7AbsImplINS_14DecimalV2ValueEEENS_7NameAbsELNS_13PrimitiveTypeE20EE20get_return_type_implERKSt6vectorISt10shared_ptrIKNS_9IDataTypeEESaISB_EEENKUlRKT_E_clINS_15DataTypeDecimalILS5_20EEEEEDaSI_
Unexecuted instantiation: _ZZNK5doris23FunctionUnaryArithmeticINS_7AbsImplINS_7DecimalIN4wide7integerILm256EiEEEEEENS_7NameAbsELNS_13PrimitiveTypeE35EE20get_return_type_implERKSt6vectorISt10shared_ptrIKNS_9IDataTypeEESaISF_EEENKUlRKT_E_clINS_15DataTypeDecimalILS9_35EEEEEDaSM_
_ZZNK5doris23FunctionUnaryArithmeticINS_7AbsImplIfEENS_7NameAbsELNS_13PrimitiveTypeE8EE20get_return_type_implERKSt6vectorISt10shared_ptrIKNS_9IDataTypeEESaISA_EEENKUlRKT_E_clINS_14DataTypeNumberILS4_8EEEEEDaSH_
Line
Count
Source
101
40
        bool valid = cast_type(arguments[0].get(), [&](const auto& type) {
102
40
            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
40
            } else {
108
40
                result = std::make_shared<typename PrimitiveTypeTraits<Op::ResultType>::DataType>();
109
40
            }
110
40
            return true;
111
40
        });
_ZZNK5doris23FunctionUnaryArithmeticINS_7AbsImplIdEENS_7NameAbsELNS_13PrimitiveTypeE9EE20get_return_type_implERKSt6vectorISt10shared_ptrIKNS_9IDataTypeEESaISA_EEENKUlRKT_E_clINS_14DataTypeNumberILS4_9EEEEEDaSH_
Line
Count
Source
101
61
        bool valid = cast_type(arguments[0].get(), [&](const auto& type) {
102
61
            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
61
            } else {
108
61
                result = std::make_shared<typename PrimitiveTypeTraits<Op::ResultType>::DataType>();
109
61
            }
110
61
            return true;
111
61
        });
_ZZNK5doris23FunctionUnaryArithmeticINS_12NegativeImplIdEENS_12NameNegativeELNS_13PrimitiveTypeE9EE20get_return_type_implERKSt6vectorISt10shared_ptrIKNS_9IDataTypeEESaISA_EEENKUlRKT_E_clINS_14DataTypeNumberILS4_9EEEEEDaSH_
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
        });
Unexecuted instantiation: _ZZNK5doris23FunctionUnaryArithmeticINS_12NegativeImplIlEENS_12NameNegativeELNS_13PrimitiveTypeE6EE20get_return_type_implERKSt6vectorISt10shared_ptrIKNS_9IDataTypeEESaISA_EEENKUlRKT_E_clINS_14DataTypeNumberILS4_6EEEEEDaSH_
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_
Unexecuted instantiation: _ZZNK5doris23FunctionUnaryArithmeticINS_12NegativeImplINS_7DecimalIiEEEENS_12NameNegativeELNS_13PrimitiveTypeE28EE20get_return_type_implERKSt6vectorISt10shared_ptrIKNS_9IDataTypeEESaISC_EEENKUlRKT_E_clINS_15DataTypeDecimalILS6_28EEEEEDaSJ_
Unexecuted instantiation: _ZZNK5doris23FunctionUnaryArithmeticINS_12NegativeImplINS_7DecimalIlEEEENS_12NameNegativeELNS_13PrimitiveTypeE29EE20get_return_type_implERKSt6vectorISt10shared_ptrIKNS_9IDataTypeEESaISC_EEENKUlRKT_E_clINS_15DataTypeDecimalILS6_29EEEEEDaSJ_
Unexecuted instantiation: _ZZNK5doris23FunctionUnaryArithmeticINS_12PositiveImplINS_7DecimalIiEEEENS_12NamePositiveELNS_13PrimitiveTypeE28EE20get_return_type_implERKSt6vectorISt10shared_ptrIKNS_9IDataTypeEESaISC_EEENKUlRKT_E_clINS_15DataTypeDecimalILS6_28EEEEEDaSJ_
_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
        });
Unexecuted instantiation: _ZZNK5doris23FunctionUnaryArithmeticINS_12PositiveImplINS_12Decimal128V3EEENS_12NamePositiveELNS_13PrimitiveTypeE30EE20get_return_type_implERKSt6vectorISt10shared_ptrIKNS_9IDataTypeEESaISB_EEENKUlRKT_E_clINS_15DataTypeDecimalILS5_30EEEEEDaSI_
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
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
        });
Unexecuted instantiation: _ZZNK5doris23FunctionUnaryArithmeticINS_12PositiveImplIlEENS_12NamePositiveELNS_13PrimitiveTypeE6EE20get_return_type_implERKSt6vectorISt10shared_ptrIKNS_9IDataTypeEESaISA_EEENKUlRKT_E_clINS_14DataTypeNumberILS4_6EEEEEDaSH_
_ZZNK5doris23FunctionUnaryArithmeticINS_11RadiansImplIdEENS_11NameRadiansELNS_13PrimitiveTypeE9EE20get_return_type_implERKSt6vectorISt10shared_ptrIKNS_9IDataTypeEESaISA_EEENKUlRKT_E_clINS_14DataTypeNumberILS4_9EEEEEDaSH_
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_11DegreesImplIdEENS_11NameDegreesELNS_13PrimitiveTypeE9EE20get_return_type_implERKSt6vectorISt10shared_ptrIKNS_9IDataTypeEESaISA_EEENKUlRKT_E_clINS_14DataTypeNumberILS4_9EEEEEDaSH_
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_11SignBitImplIdEENS_11NameSignBitELNS_13PrimitiveTypeE9EE20get_return_type_implERKSt6vectorISt10shared_ptrIKNS_9IDataTypeEESaISA_EEENKUlRKT_E_clINS_14DataTypeNumberILS4_9EEEEEDaSH_
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
        });
Unexecuted instantiation: _ZZNK5doris23FunctionUnaryArithmeticINS_10BitNotImplIaEENS_10NameBitNotELNS_13PrimitiveTypeE3EE20get_return_type_implERKSt6vectorISt10shared_ptrIKNS_9IDataTypeEESaISA_EEENKUlRKT_E_clINS_14DataTypeNumberILS4_3EEEEEDaSH_
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
        });
Unexecuted instantiation: _ZZNK5doris23FunctionUnaryArithmeticINS_10BitNotImplIlEENS_10NameBitNotELNS_13PrimitiveTypeE6EE20get_return_type_implERKSt6vectorISt10shared_ptrIKNS_9IDataTypeEESaISA_EEENKUlRKT_E_clINS_14DataTypeNumberILS4_6EEEEEDaSH_
Unexecuted instantiation: _ZZNK5doris23FunctionUnaryArithmeticINS_10BitNotImplInEENS_10NameBitNotELNS_13PrimitiveTypeE7EE20get_return_type_implERKSt6vectorISt10shared_ptrIKNS_9IDataTypeEESaISA_EEENKUlRKT_E_clINS_14DataTypeNumberILS4_7EEEEEDaSH_
Unexecuted instantiation: _ZZNK5doris23FunctionUnaryArithmeticINS_12BitCountImplIaEENS_12NameBitCountELNS_13PrimitiveTypeE3EE20get_return_type_implERKSt6vectorISt10shared_ptrIKNS_9IDataTypeEESaISA_EEENKUlRKT_E_clINS_14DataTypeNumberILS4_3EEEEEDaSH_
Unexecuted instantiation: _ZZNK5doris23FunctionUnaryArithmeticINS_12BitCountImplIsEENS_12NameBitCountELNS_13PrimitiveTypeE4EE20get_return_type_implERKSt6vectorISt10shared_ptrIKNS_9IDataTypeEESaISA_EEENKUlRKT_E_clINS_14DataTypeNumberILS4_4EEEEEDaSH_
Unexecuted instantiation: _ZZNK5doris23FunctionUnaryArithmeticINS_12BitCountImplIiEENS_12NameBitCountELNS_13PrimitiveTypeE5EE20get_return_type_implERKSt6vectorISt10shared_ptrIKNS_9IDataTypeEESaISA_EEENKUlRKT_E_clINS_14DataTypeNumberILS4_5EEEEEDaSH_
Unexecuted instantiation: _ZZNK5doris23FunctionUnaryArithmeticINS_12BitCountImplIlEENS_12NameBitCountELNS_13PrimitiveTypeE6EE20get_return_type_implERKSt6vectorISt10shared_ptrIKNS_9IDataTypeEESaISA_EEENKUlRKT_E_clINS_14DataTypeNumberILS4_6EEEEEDaSH_
Unexecuted instantiation: _ZZNK5doris23FunctionUnaryArithmeticINS_12BitCountImplInEENS_12NameBitCountELNS_13PrimitiveTypeE7EE20get_return_type_implERKSt6vectorISt10shared_ptrIKNS_9IDataTypeEESaISA_EEENKUlRKT_E_clINS_14DataTypeNumberILS4_7EEEEEDaSH_
112
310
        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
310
        return result;
118
310
    }
_ZNK5doris23FunctionUnaryArithmeticINS_8SignImplIdEENS_8NameSignELNS_13PrimitiveTypeE9EE20get_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_7AbsImplIaEENS_7NameAbsELNS_13PrimitiveTypeE3EE20get_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
    }
_ZNK5doris23FunctionUnaryArithmeticINS_7AbsImplIsEENS_7NameAbsELNS_13PrimitiveTypeE4EE20get_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
    }
_ZNK5doris23FunctionUnaryArithmeticINS_7AbsImplIiEENS_7NameAbsELNS_13PrimitiveTypeE5EE20get_return_type_implERKSt6vectorISt10shared_ptrIKNS_9IDataTypeEESaISA_EE
Line
Count
Source
99
119
    DataTypePtr get_return_type_impl(const DataTypes& arguments) const override {
100
119
        DataTypePtr result;
101
119
        bool valid = cast_type(arguments[0].get(), [&](const auto& type) {
102
119
            using DataType = std::decay_t<decltype(type)>;
103
104
119
            if constexpr (IsDataTypeDecimal<DataType>) {
105
119
                if constexpr (!allow_decimal) return false;
106
119
                result = std::make_shared<DataType>(type.get_precision(), type.get_scale());
107
119
            } else {
108
119
                result = std::make_shared<typename PrimitiveTypeTraits<Op::ResultType>::DataType>();
109
119
            }
110
119
            return true;
111
119
        });
112
119
        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
119
        return result;
118
119
    }
_ZNK5doris23FunctionUnaryArithmeticINS_7AbsImplIlEENS_7NameAbsELNS_13PrimitiveTypeE6EE20get_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
    }
Unexecuted instantiation: _ZNK5doris23FunctionUnaryArithmeticINS_7AbsImplInEENS_7NameAbsELNS_13PrimitiveTypeE7EE20get_return_type_implERKSt6vectorISt10shared_ptrIKNS_9IDataTypeEESaISA_EE
Unexecuted instantiation: _ZNK5doris23FunctionUnaryArithmeticINS_7AbsImplIhEENS_7NameAbsELNS_13PrimitiveTypeE2EE20get_return_type_implERKSt6vectorISt10shared_ptrIKNS_9IDataTypeEESaISA_EE
Unexecuted instantiation: _ZNK5doris23FunctionUnaryArithmeticINS_7AbsImplINS_7DecimalIiEEEENS_7NameAbsELNS_13PrimitiveTypeE28EE20get_return_type_implERKSt6vectorISt10shared_ptrIKNS_9IDataTypeEESaISC_EE
_ZNK5doris23FunctionUnaryArithmeticINS_7AbsImplINS_7DecimalIlEEEENS_7NameAbsELNS_13PrimitiveTypeE29EE20get_return_type_implERKSt6vectorISt10shared_ptrIKNS_9IDataTypeEESaISC_EE
Line
Count
Source
99
44
    DataTypePtr get_return_type_impl(const DataTypes& arguments) const override {
100
44
        DataTypePtr result;
101
44
        bool valid = cast_type(arguments[0].get(), [&](const auto& type) {
102
44
            using DataType = std::decay_t<decltype(type)>;
103
104
44
            if constexpr (IsDataTypeDecimal<DataType>) {
105
44
                if constexpr (!allow_decimal) return false;
106
44
                result = std::make_shared<DataType>(type.get_precision(), type.get_scale());
107
44
            } else {
108
44
                result = std::make_shared<typename PrimitiveTypeTraits<Op::ResultType>::DataType>();
109
44
            }
110
44
            return true;
111
44
        });
112
44
        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
44
        return result;
118
44
    }
Unexecuted instantiation: _ZNK5doris23FunctionUnaryArithmeticINS_7AbsImplINS_12Decimal128V3EEENS_7NameAbsELNS_13PrimitiveTypeE30EE20get_return_type_implERKSt6vectorISt10shared_ptrIKNS_9IDataTypeEESaISB_EE
Unexecuted instantiation: _ZNK5doris23FunctionUnaryArithmeticINS_7AbsImplINS_14DecimalV2ValueEEENS_7NameAbsELNS_13PrimitiveTypeE20EE20get_return_type_implERKSt6vectorISt10shared_ptrIKNS_9IDataTypeEESaISB_EE
Unexecuted instantiation: _ZNK5doris23FunctionUnaryArithmeticINS_7AbsImplINS_7DecimalIN4wide7integerILm256EiEEEEEENS_7NameAbsELNS_13PrimitiveTypeE35EE20get_return_type_implERKSt6vectorISt10shared_ptrIKNS_9IDataTypeEESaISF_EE
_ZNK5doris23FunctionUnaryArithmeticINS_7AbsImplIfEENS_7NameAbsELNS_13PrimitiveTypeE8EE20get_return_type_implERKSt6vectorISt10shared_ptrIKNS_9IDataTypeEESaISA_EE
Line
Count
Source
99
40
    DataTypePtr get_return_type_impl(const DataTypes& arguments) const override {
100
40
        DataTypePtr result;
101
40
        bool valid = cast_type(arguments[0].get(), [&](const auto& type) {
102
40
            using DataType = std::decay_t<decltype(type)>;
103
104
40
            if constexpr (IsDataTypeDecimal<DataType>) {
105
40
                if constexpr (!allow_decimal) return false;
106
40
                result = std::make_shared<DataType>(type.get_precision(), type.get_scale());
107
40
            } else {
108
40
                result = std::make_shared<typename PrimitiveTypeTraits<Op::ResultType>::DataType>();
109
40
            }
110
40
            return true;
111
40
        });
112
40
        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
40
        return result;
118
40
    }
_ZNK5doris23FunctionUnaryArithmeticINS_7AbsImplIdEENS_7NameAbsELNS_13PrimitiveTypeE9EE20get_return_type_implERKSt6vectorISt10shared_ptrIKNS_9IDataTypeEESaISA_EE
Line
Count
Source
99
61
    DataTypePtr get_return_type_impl(const DataTypes& arguments) const override {
100
61
        DataTypePtr result;
101
61
        bool valid = cast_type(arguments[0].get(), [&](const auto& type) {
102
61
            using DataType = std::decay_t<decltype(type)>;
103
104
61
            if constexpr (IsDataTypeDecimal<DataType>) {
105
61
                if constexpr (!allow_decimal) return false;
106
61
                result = std::make_shared<DataType>(type.get_precision(), type.get_scale());
107
61
            } else {
108
61
                result = std::make_shared<typename PrimitiveTypeTraits<Op::ResultType>::DataType>();
109
61
            }
110
61
            return true;
111
61
        });
112
61
        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
61
        return result;
118
61
    }
_ZNK5doris23FunctionUnaryArithmeticINS_12NegativeImplIdEENS_12NameNegativeELNS_13PrimitiveTypeE9EE20get_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
    }
Unexecuted instantiation: _ZNK5doris23FunctionUnaryArithmeticINS_12NegativeImplIlEENS_12NameNegativeELNS_13PrimitiveTypeE6EE20get_return_type_implERKSt6vectorISt10shared_ptrIKNS_9IDataTypeEESaISA_EE
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
Unexecuted instantiation: _ZNK5doris23FunctionUnaryArithmeticINS_12NegativeImplINS_7DecimalIiEEEENS_12NameNegativeELNS_13PrimitiveTypeE28EE20get_return_type_implERKSt6vectorISt10shared_ptrIKNS_9IDataTypeEESaISC_EE
Unexecuted instantiation: _ZNK5doris23FunctionUnaryArithmeticINS_12NegativeImplINS_7DecimalIlEEEENS_12NameNegativeELNS_13PrimitiveTypeE29EE20get_return_type_implERKSt6vectorISt10shared_ptrIKNS_9IDataTypeEESaISC_EE
Unexecuted instantiation: _ZNK5doris23FunctionUnaryArithmeticINS_12PositiveImplINS_7DecimalIiEEEENS_12NamePositiveELNS_13PrimitiveTypeE28EE20get_return_type_implERKSt6vectorISt10shared_ptrIKNS_9IDataTypeEESaISC_EE
_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
    }
Unexecuted instantiation: _ZNK5doris23FunctionUnaryArithmeticINS_12PositiveImplINS_12Decimal128V3EEENS_12NamePositiveELNS_13PrimitiveTypeE30EE20get_return_type_implERKSt6vectorISt10shared_ptrIKNS_9IDataTypeEESaISB_EE
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
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
    }
Unexecuted instantiation: _ZNK5doris23FunctionUnaryArithmeticINS_12PositiveImplIlEENS_12NamePositiveELNS_13PrimitiveTypeE6EE20get_return_type_implERKSt6vectorISt10shared_ptrIKNS_9IDataTypeEESaISA_EE
_ZNK5doris23FunctionUnaryArithmeticINS_11RadiansImplIdEENS_11NameRadiansELNS_13PrimitiveTypeE9EE20get_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_11DegreesImplIdEENS_11NameDegreesELNS_13PrimitiveTypeE9EE20get_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_11SignBitImplIdEENS_11NameSignBitELNS_13PrimitiveTypeE9EE20get_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
    }
Unexecuted instantiation: _ZNK5doris23FunctionUnaryArithmeticINS_10BitNotImplIaEENS_10NameBitNotELNS_13PrimitiveTypeE3EE20get_return_type_implERKSt6vectorISt10shared_ptrIKNS_9IDataTypeEESaISA_EE
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
    }
Unexecuted instantiation: _ZNK5doris23FunctionUnaryArithmeticINS_10BitNotImplIlEENS_10NameBitNotELNS_13PrimitiveTypeE6EE20get_return_type_implERKSt6vectorISt10shared_ptrIKNS_9IDataTypeEESaISA_EE
Unexecuted instantiation: _ZNK5doris23FunctionUnaryArithmeticINS_10BitNotImplInEENS_10NameBitNotELNS_13PrimitiveTypeE7EE20get_return_type_implERKSt6vectorISt10shared_ptrIKNS_9IDataTypeEESaISA_EE
Unexecuted instantiation: _ZNK5doris23FunctionUnaryArithmeticINS_12BitCountImplIaEENS_12NameBitCountELNS_13PrimitiveTypeE3EE20get_return_type_implERKSt6vectorISt10shared_ptrIKNS_9IDataTypeEESaISA_EE
Unexecuted instantiation: _ZNK5doris23FunctionUnaryArithmeticINS_12BitCountImplIsEENS_12NameBitCountELNS_13PrimitiveTypeE4EE20get_return_type_implERKSt6vectorISt10shared_ptrIKNS_9IDataTypeEESaISA_EE
Unexecuted instantiation: _ZNK5doris23FunctionUnaryArithmeticINS_12BitCountImplIiEENS_12NameBitCountELNS_13PrimitiveTypeE5EE20get_return_type_implERKSt6vectorISt10shared_ptrIKNS_9IDataTypeEESaISA_EE
Unexecuted instantiation: _ZNK5doris23FunctionUnaryArithmeticINS_12BitCountImplIlEENS_12NameBitCountELNS_13PrimitiveTypeE6EE20get_return_type_implERKSt6vectorISt10shared_ptrIKNS_9IDataTypeEESaISA_EE
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.04k
                        uint32_t result, size_t input_rows_count) const override {
122
1.04k
        bool valid =
123
1.04k
                cast_type(block.get_by_position(arguments[0]).type.get(), [&](const auto& type) {
124
1.03k
                    using DataType = std::decay_t<decltype(type)>;
125
126
1.03k
                    if constexpr (IsDataTypeDecimal<DataType>) {
127
169
                        if constexpr (allow_decimal) {
128
169
                            if (auto col = check_and_get_column<ColumnDecimal<DataType::PType>>(
129
171
                                        block.get_by_position(arguments[0]).column.get())) {
130
171
                                auto col_res =
131
171
                                        PrimitiveTypeTraits<Op::ResultType>::ColumnType::create(
132
171
                                                0, type.get_scale());
133
171
                                auto& vec_res = col_res->get_data();
134
171
                                vec_res.resize(col->get_data().size());
135
171
                                UnaryOperationImpl<DataType::PType, Op>::vector(col->get_data(),
136
171
                                                                                vec_res);
137
171
                                block.replace_by_position(result, std::move(col_res));
138
171
                                return true;
139
171
                            }
140
169
                        }
141
865
                    } else {
142
865
                        if (auto col = check_and_get_column<ColumnVector<DataType::PType>>(
143
865
                                    block.get_by_position(arguments[0]).column.get())) {
144
865
                            auto col_res =
145
865
                                    PrimitiveTypeTraits<Op::ResultType>::ColumnType::create();
146
865
                            auto& vec_res = col_res->get_data();
147
865
                            vec_res.resize(col->get_data().size());
148
865
                            UnaryOperationImpl<DataType::PType, Op>::vector(col->get_data(),
149
865
                                                                            vec_res);
150
865
                            block.replace_by_position(result, std::move(col_res));
151
865
                            return true;
152
865
                        }
153
865
                    }
154
155
18.4E
                    return false;
156
1.03k
                });
_ZZNK5doris23FunctionUnaryArithmeticINS_8SignImplIdEENS_8NameSignELNS_13PrimitiveTypeE9EE12execute_implEPNS_15FunctionContextERNS_5BlockERKSt6vectorIjSaIjEEjmENKUlRKT_E_clINS_14DataTypeNumberILS4_9EEEEEDaSH_
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_7AbsImplIaEENS_7NameAbsELNS_13PrimitiveTypeE3EE12execute_implEPNS_15FunctionContextERNS_5BlockERKSt6vectorIjSaIjEEjmENKUlRKT_E_clINS_14DataTypeNumberILS4_3EEEEEDaSH_
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_7AbsImplIsEENS_7NameAbsELNS_13PrimitiveTypeE4EE12execute_implEPNS_15FunctionContextERNS_5BlockERKSt6vectorIjSaIjEEjmENKUlRKT_E_clINS_14DataTypeNumberILS4_4EEEEEDaSH_
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_7AbsImplIiEENS_7NameAbsELNS_13PrimitiveTypeE5EE12execute_implEPNS_15FunctionContextERNS_5BlockERKSt6vectorIjSaIjEEjmENKUlRKT_E_clINS_14DataTypeNumberILS4_5EEEEEDaSH_
Line
Count
Source
123
419
                cast_type(block.get_by_position(arguments[0]).type.get(), [&](const auto& type) {
124
419
                    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
419
                    } else {
142
419
                        if (auto col = check_and_get_column<ColumnVector<DataType::PType>>(
143
419
                                    block.get_by_position(arguments[0]).column.get())) {
144
419
                            auto col_res =
145
419
                                    PrimitiveTypeTraits<Op::ResultType>::ColumnType::create();
146
419
                            auto& vec_res = col_res->get_data();
147
419
                            vec_res.resize(col->get_data().size());
148
419
                            UnaryOperationImpl<DataType::PType, Op>::vector(col->get_data(),
149
419
                                                                            vec_res);
150
419
                            block.replace_by_position(result, std::move(col_res));
151
419
                            return true;
152
419
                        }
153
419
                    }
154
155
0
                    return false;
156
419
                });
_ZZNK5doris23FunctionUnaryArithmeticINS_7AbsImplIlEENS_7NameAbsELNS_13PrimitiveTypeE6EE12execute_implEPNS_15FunctionContextERNS_5BlockERKSt6vectorIjSaIjEEjmENKUlRKT_E_clINS_14DataTypeNumberILS4_6EEEEEDaSH_
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
                });
Unexecuted instantiation: _ZZNK5doris23FunctionUnaryArithmeticINS_7AbsImplInEENS_7NameAbsELNS_13PrimitiveTypeE7EE12execute_implEPNS_15FunctionContextERNS_5BlockERKSt6vectorIjSaIjEEjmENKUlRKT_E_clINS_14DataTypeNumberILS4_7EEEEEDaSH_
Unexecuted instantiation: _ZZNK5doris23FunctionUnaryArithmeticINS_7AbsImplIhEENS_7NameAbsELNS_13PrimitiveTypeE2EE12execute_implEPNS_15FunctionContextERNS_5BlockERKSt6vectorIjSaIjEEjmENKUlRKT_E_clINS_14DataTypeNumberILS4_2EEEEEDaSH_
Unexecuted instantiation: _ZZNK5doris23FunctionUnaryArithmeticINS_7AbsImplINS_7DecimalIiEEEENS_7NameAbsELNS_13PrimitiveTypeE28EE12execute_implEPNS_15FunctionContextERNS_5BlockERKSt6vectorIjSaIjEEjmENKUlRKT_E_clINS_15DataTypeDecimalILS6_28EEEEEDaSJ_
_ZZNK5doris23FunctionUnaryArithmeticINS_7AbsImplINS_7DecimalIlEEEENS_7NameAbsELNS_13PrimitiveTypeE29EE12execute_implEPNS_15FunctionContextERNS_5BlockERKSt6vectorIjSaIjEEjmENKUlRKT_E_clINS_15DataTypeDecimalILS6_29EEEEEDaSJ_
Line
Count
Source
123
166
                cast_type(block.get_by_position(arguments[0]).type.get(), [&](const auto& type) {
124
166
                    using DataType = std::decay_t<decltype(type)>;
125
126
166
                    if constexpr (IsDataTypeDecimal<DataType>) {
127
166
                        if constexpr (allow_decimal) {
128
166
                            if (auto col = check_and_get_column<ColumnDecimal<DataType::PType>>(
129
168
                                        block.get_by_position(arguments[0]).column.get())) {
130
168
                                auto col_res =
131
168
                                        PrimitiveTypeTraits<Op::ResultType>::ColumnType::create(
132
168
                                                0, type.get_scale());
133
168
                                auto& vec_res = col_res->get_data();
134
168
                                vec_res.resize(col->get_data().size());
135
168
                                UnaryOperationImpl<DataType::PType, Op>::vector(col->get_data(),
136
168
                                                                                vec_res);
137
168
                                block.replace_by_position(result, std::move(col_res));
138
168
                                return true;
139
168
                            }
140
166
                        }
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
18.4E
                    return false;
156
166
                });
Unexecuted instantiation: _ZZNK5doris23FunctionUnaryArithmeticINS_7AbsImplINS_12Decimal128V3EEENS_7NameAbsELNS_13PrimitiveTypeE30EE12execute_implEPNS_15FunctionContextERNS_5BlockERKSt6vectorIjSaIjEEjmENKUlRKT_E_clINS_15DataTypeDecimalILS5_30EEEEEDaSI_
Unexecuted instantiation: _ZZNK5doris23FunctionUnaryArithmeticINS_7AbsImplINS_14DecimalV2ValueEEENS_7NameAbsELNS_13PrimitiveTypeE20EE12execute_implEPNS_15FunctionContextERNS_5BlockERKSt6vectorIjSaIjEEjmENKUlRKT_E_clINS_15DataTypeDecimalILS5_20EEEEEDaSI_
Unexecuted instantiation: _ZZNK5doris23FunctionUnaryArithmeticINS_7AbsImplINS_7DecimalIN4wide7integerILm256EiEEEEEENS_7NameAbsELNS_13PrimitiveTypeE35EE12execute_implEPNS_15FunctionContextERNS_5BlockERKSt6vectorIjSaIjEEjmENKUlRKT_E_clINS_15DataTypeDecimalILS9_35EEEEEDaSM_
_ZZNK5doris23FunctionUnaryArithmeticINS_7AbsImplIfEENS_7NameAbsELNS_13PrimitiveTypeE8EE12execute_implEPNS_15FunctionContextERNS_5BlockERKSt6vectorIjSaIjEEjmENKUlRKT_E_clINS_14DataTypeNumberILS4_8EEEEEDaSH_
Line
Count
Source
123
128
                cast_type(block.get_by_position(arguments[0]).type.get(), [&](const auto& type) {
124
128
                    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
128
                    } else {
142
128
                        if (auto col = check_and_get_column<ColumnVector<DataType::PType>>(
143
128
                                    block.get_by_position(arguments[0]).column.get())) {
144
128
                            auto col_res =
145
128
                                    PrimitiveTypeTraits<Op::ResultType>::ColumnType::create();
146
128
                            auto& vec_res = col_res->get_data();
147
128
                            vec_res.resize(col->get_data().size());
148
128
                            UnaryOperationImpl<DataType::PType, Op>::vector(col->get_data(),
149
128
                                                                            vec_res);
150
128
                            block.replace_by_position(result, std::move(col_res));
151
128
                            return true;
152
128
                        }
153
128
                    }
154
155
0
                    return false;
156
128
                });
_ZZNK5doris23FunctionUnaryArithmeticINS_7AbsImplIdEENS_7NameAbsELNS_13PrimitiveTypeE9EE12execute_implEPNS_15FunctionContextERNS_5BlockERKSt6vectorIjSaIjEEjmENKUlRKT_E_clINS_14DataTypeNumberILS4_9EEEEEDaSH_
Line
Count
Source
123
159
                cast_type(block.get_by_position(arguments[0]).type.get(), [&](const auto& type) {
124
159
                    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
159
                    } else {
142
159
                        if (auto col = check_and_get_column<ColumnVector<DataType::PType>>(
143
159
                                    block.get_by_position(arguments[0]).column.get())) {
144
159
                            auto col_res =
145
159
                                    PrimitiveTypeTraits<Op::ResultType>::ColumnType::create();
146
159
                            auto& vec_res = col_res->get_data();
147
159
                            vec_res.resize(col->get_data().size());
148
159
                            UnaryOperationImpl<DataType::PType, Op>::vector(col->get_data(),
149
159
                                                                            vec_res);
150
159
                            block.replace_by_position(result, std::move(col_res));
151
159
                            return true;
152
159
                        }
153
159
                    }
154
155
0
                    return false;
156
159
                });
_ZZNK5doris23FunctionUnaryArithmeticINS_12NegativeImplIdEENS_12NameNegativeELNS_13PrimitiveTypeE9EE12execute_implEPNS_15FunctionContextERNS_5BlockERKSt6vectorIjSaIjEEjmENKUlRKT_E_clINS_14DataTypeNumberILS4_9EEEEEDaSH_
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
                });
Unexecuted instantiation: _ZZNK5doris23FunctionUnaryArithmeticINS_12NegativeImplIlEENS_12NameNegativeELNS_13PrimitiveTypeE6EE12execute_implEPNS_15FunctionContextERNS_5BlockERKSt6vectorIjSaIjEEjmENKUlRKT_E_clINS_14DataTypeNumberILS4_6EEEEEDaSH_
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_
Unexecuted instantiation: _ZZNK5doris23FunctionUnaryArithmeticINS_12NegativeImplINS_7DecimalIiEEEENS_12NameNegativeELNS_13PrimitiveTypeE28EE12execute_implEPNS_15FunctionContextERNS_5BlockERKSt6vectorIjSaIjEEjmENKUlRKT_E_clINS_15DataTypeDecimalILS6_28EEEEEDaSJ_
Unexecuted instantiation: _ZZNK5doris23FunctionUnaryArithmeticINS_12NegativeImplINS_7DecimalIlEEEENS_12NameNegativeELNS_13PrimitiveTypeE29EE12execute_implEPNS_15FunctionContextERNS_5BlockERKSt6vectorIjSaIjEEjmENKUlRKT_E_clINS_15DataTypeDecimalILS6_29EEEEEDaSJ_
Unexecuted instantiation: _ZZNK5doris23FunctionUnaryArithmeticINS_12PositiveImplINS_7DecimalIiEEEENS_12NamePositiveELNS_13PrimitiveTypeE28EE12execute_implEPNS_15FunctionContextERNS_5BlockERKSt6vectorIjSaIjEEjmENKUlRKT_E_clINS_15DataTypeDecimalILS6_28EEEEEDaSJ_
_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
                });
Unexecuted instantiation: _ZZNK5doris23FunctionUnaryArithmeticINS_12PositiveImplINS_12Decimal128V3EEENS_12NamePositiveELNS_13PrimitiveTypeE30EE12execute_implEPNS_15FunctionContextERNS_5BlockERKSt6vectorIjSaIjEEjmENKUlRKT_E_clINS_15DataTypeDecimalILS5_30EEEEEDaSI_
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
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
                });
Unexecuted instantiation: _ZZNK5doris23FunctionUnaryArithmeticINS_12PositiveImplIlEENS_12NamePositiveELNS_13PrimitiveTypeE6EE12execute_implEPNS_15FunctionContextERNS_5BlockERKSt6vectorIjSaIjEEjmENKUlRKT_E_clINS_14DataTypeNumberILS4_6EEEEEDaSH_
_ZZNK5doris23FunctionUnaryArithmeticINS_11RadiansImplIdEENS_11NameRadiansELNS_13PrimitiveTypeE9EE12execute_implEPNS_15FunctionContextERNS_5BlockERKSt6vectorIjSaIjEEjmENKUlRKT_E_clINS_14DataTypeNumberILS4_9EEEEEDaSH_
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_11DegreesImplIdEENS_11NameDegreesELNS_13PrimitiveTypeE9EE12execute_implEPNS_15FunctionContextERNS_5BlockERKSt6vectorIjSaIjEEjmENKUlRKT_E_clINS_14DataTypeNumberILS4_9EEEEEDaSH_
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_11SignBitImplIdEENS_11NameSignBitELNS_13PrimitiveTypeE9EE12execute_implEPNS_15FunctionContextERNS_5BlockERKSt6vectorIjSaIjEEjmENKUlRKT_E_clINS_14DataTypeNumberILS4_9EEEEEDaSH_
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
                });
Unexecuted instantiation: _ZZNK5doris23FunctionUnaryArithmeticINS_10BitNotImplIaEENS_10NameBitNotELNS_13PrimitiveTypeE3EE12execute_implEPNS_15FunctionContextERNS_5BlockERKSt6vectorIjSaIjEEjmENKUlRKT_E_clINS_14DataTypeNumberILS4_3EEEEEDaSH_
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
                });
Unexecuted instantiation: _ZZNK5doris23FunctionUnaryArithmeticINS_10BitNotImplIlEENS_10NameBitNotELNS_13PrimitiveTypeE6EE12execute_implEPNS_15FunctionContextERNS_5BlockERKSt6vectorIjSaIjEEjmENKUlRKT_E_clINS_14DataTypeNumberILS4_6EEEEEDaSH_
Unexecuted instantiation: _ZZNK5doris23FunctionUnaryArithmeticINS_10BitNotImplInEENS_10NameBitNotELNS_13PrimitiveTypeE7EE12execute_implEPNS_15FunctionContextERNS_5BlockERKSt6vectorIjSaIjEEjmENKUlRKT_E_clINS_14DataTypeNumberILS4_7EEEEEDaSH_
Unexecuted instantiation: _ZZNK5doris23FunctionUnaryArithmeticINS_12BitCountImplIaEENS_12NameBitCountELNS_13PrimitiveTypeE3EE12execute_implEPNS_15FunctionContextERNS_5BlockERKSt6vectorIjSaIjEEjmENKUlRKT_E_clINS_14DataTypeNumberILS4_3EEEEEDaSH_
Unexecuted instantiation: _ZZNK5doris23FunctionUnaryArithmeticINS_12BitCountImplIsEENS_12NameBitCountELNS_13PrimitiveTypeE4EE12execute_implEPNS_15FunctionContextERNS_5BlockERKSt6vectorIjSaIjEEjmENKUlRKT_E_clINS_14DataTypeNumberILS4_4EEEEEDaSH_
Unexecuted instantiation: _ZZNK5doris23FunctionUnaryArithmeticINS_12BitCountImplIiEENS_12NameBitCountELNS_13PrimitiveTypeE5EE12execute_implEPNS_15FunctionContextERNS_5BlockERKSt6vectorIjSaIjEEjmENKUlRKT_E_clINS_14DataTypeNumberILS4_5EEEEEDaSH_
Unexecuted instantiation: _ZZNK5doris23FunctionUnaryArithmeticINS_12BitCountImplIlEENS_12NameBitCountELNS_13PrimitiveTypeE6EE12execute_implEPNS_15FunctionContextERNS_5BlockERKSt6vectorIjSaIjEEjmENKUlRKT_E_clINS_14DataTypeNumberILS4_6EEEEEDaSH_
Unexecuted instantiation: _ZZNK5doris23FunctionUnaryArithmeticINS_12BitCountImplInEENS_12NameBitCountELNS_13PrimitiveTypeE7EE12execute_implEPNS_15FunctionContextERNS_5BlockERKSt6vectorIjSaIjEEjmENKUlRKT_E_clINS_14DataTypeNumberILS4_7EEEEEDaSH_
157
1.04k
        if (!valid) {
158
0
            return Status::RuntimeError("{}'s argument does not match the expected data type",
159
0
                                        get_name());
160
0
        }
161
1.04k
        return Status::OK();
162
1.04k
    }
_ZNK5doris23FunctionUnaryArithmeticINS_8SignImplIdEENS_8NameSignELNS_13PrimitiveTypeE9EE12execute_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_7AbsImplIaEENS_7NameAbsELNS_13PrimitiveTypeE3EE12execute_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_7AbsImplIsEENS_7NameAbsELNS_13PrimitiveTypeE4EE12execute_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_7AbsImplIiEENS_7NameAbsELNS_13PrimitiveTypeE5EE12execute_implEPNS_15FunctionContextERNS_5BlockERKSt6vectorIjSaIjEEjm
Line
Count
Source
121
421
                        uint32_t result, size_t input_rows_count) const override {
122
421
        bool valid =
123
421
                cast_type(block.get_by_position(arguments[0]).type.get(), [&](const auto& type) {
124
421
                    using DataType = std::decay_t<decltype(type)>;
125
126
421
                    if constexpr (IsDataTypeDecimal<DataType>) {
127
421
                        if constexpr (allow_decimal) {
128
421
                            if (auto col = check_and_get_column<ColumnDecimal<DataType::PType>>(
129
421
                                        block.get_by_position(arguments[0]).column.get())) {
130
421
                                auto col_res =
131
421
                                        PrimitiveTypeTraits<Op::ResultType>::ColumnType::create(
132
421
                                                0, type.get_scale());
133
421
                                auto& vec_res = col_res->get_data();
134
421
                                vec_res.resize(col->get_data().size());
135
421
                                UnaryOperationImpl<DataType::PType, Op>::vector(col->get_data(),
136
421
                                                                                vec_res);
137
421
                                block.replace_by_position(result, std::move(col_res));
138
421
                                return true;
139
421
                            }
140
421
                        }
141
421
                    } else {
142
421
                        if (auto col = check_and_get_column<ColumnVector<DataType::PType>>(
143
421
                                    block.get_by_position(arguments[0]).column.get())) {
144
421
                            auto col_res =
145
421
                                    PrimitiveTypeTraits<Op::ResultType>::ColumnType::create();
146
421
                            auto& vec_res = col_res->get_data();
147
421
                            vec_res.resize(col->get_data().size());
148
421
                            UnaryOperationImpl<DataType::PType, Op>::vector(col->get_data(),
149
421
                                                                            vec_res);
150
421
                            block.replace_by_position(result, std::move(col_res));
151
421
                            return true;
152
421
                        }
153
421
                    }
154
155
421
                    return false;
156
421
                });
157
421
        if (!valid) {
158
0
            return Status::RuntimeError("{}'s argument does not match the expected data type",
159
0
                                        get_name());
160
0
        }
161
421
        return Status::OK();
162
421
    }
_ZNK5doris23FunctionUnaryArithmeticINS_7AbsImplIlEENS_7NameAbsELNS_13PrimitiveTypeE6EE12execute_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
    }
Unexecuted instantiation: _ZNK5doris23FunctionUnaryArithmeticINS_7AbsImplInEENS_7NameAbsELNS_13PrimitiveTypeE7EE12execute_implEPNS_15FunctionContextERNS_5BlockERKSt6vectorIjSaIjEEjm
Unexecuted instantiation: _ZNK5doris23FunctionUnaryArithmeticINS_7AbsImplIhEENS_7NameAbsELNS_13PrimitiveTypeE2EE12execute_implEPNS_15FunctionContextERNS_5BlockERKSt6vectorIjSaIjEEjm
Unexecuted instantiation: _ZNK5doris23FunctionUnaryArithmeticINS_7AbsImplINS_7DecimalIiEEEENS_7NameAbsELNS_13PrimitiveTypeE28EE12execute_implEPNS_15FunctionContextERNS_5BlockERKSt6vectorIjSaIjEEjm
_ZNK5doris23FunctionUnaryArithmeticINS_7AbsImplINS_7DecimalIlEEEENS_7NameAbsELNS_13PrimitiveTypeE29EE12execute_implEPNS_15FunctionContextERNS_5BlockERKSt6vectorIjSaIjEEjm
Line
Count
Source
121
168
                        uint32_t result, size_t input_rows_count) const override {
122
168
        bool valid =
123
168
                cast_type(block.get_by_position(arguments[0]).type.get(), [&](const auto& type) {
124
168
                    using DataType = std::decay_t<decltype(type)>;
125
126
168
                    if constexpr (IsDataTypeDecimal<DataType>) {
127
168
                        if constexpr (allow_decimal) {
128
168
                            if (auto col = check_and_get_column<ColumnDecimal<DataType::PType>>(
129
168
                                        block.get_by_position(arguments[0]).column.get())) {
130
168
                                auto col_res =
131
168
                                        PrimitiveTypeTraits<Op::ResultType>::ColumnType::create(
132
168
                                                0, type.get_scale());
133
168
                                auto& vec_res = col_res->get_data();
134
168
                                vec_res.resize(col->get_data().size());
135
168
                                UnaryOperationImpl<DataType::PType, Op>::vector(col->get_data(),
136
168
                                                                                vec_res);
137
168
                                block.replace_by_position(result, std::move(col_res));
138
168
                                return true;
139
168
                            }
140
168
                        }
141
168
                    } else {
142
168
                        if (auto col = check_and_get_column<ColumnVector<DataType::PType>>(
143
168
                                    block.get_by_position(arguments[0]).column.get())) {
144
168
                            auto col_res =
145
168
                                    PrimitiveTypeTraits<Op::ResultType>::ColumnType::create();
146
168
                            auto& vec_res = col_res->get_data();
147
168
                            vec_res.resize(col->get_data().size());
148
168
                            UnaryOperationImpl<DataType::PType, Op>::vector(col->get_data(),
149
168
                                                                            vec_res);
150
168
                            block.replace_by_position(result, std::move(col_res));
151
168
                            return true;
152
168
                        }
153
168
                    }
154
155
168
                    return false;
156
168
                });
157
168
        if (!valid) {
158
0
            return Status::RuntimeError("{}'s argument does not match the expected data type",
159
0
                                        get_name());
160
0
        }
161
168
        return Status::OK();
162
168
    }
Unexecuted instantiation: _ZNK5doris23FunctionUnaryArithmeticINS_7AbsImplINS_12Decimal128V3EEENS_7NameAbsELNS_13PrimitiveTypeE30EE12execute_implEPNS_15FunctionContextERNS_5BlockERKSt6vectorIjSaIjEEjm
Unexecuted instantiation: _ZNK5doris23FunctionUnaryArithmeticINS_7AbsImplINS_14DecimalV2ValueEEENS_7NameAbsELNS_13PrimitiveTypeE20EE12execute_implEPNS_15FunctionContextERNS_5BlockERKSt6vectorIjSaIjEEjm
Unexecuted instantiation: _ZNK5doris23FunctionUnaryArithmeticINS_7AbsImplINS_7DecimalIN4wide7integerILm256EiEEEEEENS_7NameAbsELNS_13PrimitiveTypeE35EE12execute_implEPNS_15FunctionContextERNS_5BlockERKSt6vectorIjSaIjEEjm
_ZNK5doris23FunctionUnaryArithmeticINS_7AbsImplIfEENS_7NameAbsELNS_13PrimitiveTypeE8EE12execute_implEPNS_15FunctionContextERNS_5BlockERKSt6vectorIjSaIjEEjm
Line
Count
Source
121
128
                        uint32_t result, size_t input_rows_count) const override {
122
128
        bool valid =
123
128
                cast_type(block.get_by_position(arguments[0]).type.get(), [&](const auto& type) {
124
128
                    using DataType = std::decay_t<decltype(type)>;
125
126
128
                    if constexpr (IsDataTypeDecimal<DataType>) {
127
128
                        if constexpr (allow_decimal) {
128
128
                            if (auto col = check_and_get_column<ColumnDecimal<DataType::PType>>(
129
128
                                        block.get_by_position(arguments[0]).column.get())) {
130
128
                                auto col_res =
131
128
                                        PrimitiveTypeTraits<Op::ResultType>::ColumnType::create(
132
128
                                                0, type.get_scale());
133
128
                                auto& vec_res = col_res->get_data();
134
128
                                vec_res.resize(col->get_data().size());
135
128
                                UnaryOperationImpl<DataType::PType, Op>::vector(col->get_data(),
136
128
                                                                                vec_res);
137
128
                                block.replace_by_position(result, std::move(col_res));
138
128
                                return true;
139
128
                            }
140
128
                        }
141
128
                    } else {
142
128
                        if (auto col = check_and_get_column<ColumnVector<DataType::PType>>(
143
128
                                    block.get_by_position(arguments[0]).column.get())) {
144
128
                            auto col_res =
145
128
                                    PrimitiveTypeTraits<Op::ResultType>::ColumnType::create();
146
128
                            auto& vec_res = col_res->get_data();
147
128
                            vec_res.resize(col->get_data().size());
148
128
                            UnaryOperationImpl<DataType::PType, Op>::vector(col->get_data(),
149
128
                                                                            vec_res);
150
128
                            block.replace_by_position(result, std::move(col_res));
151
128
                            return true;
152
128
                        }
153
128
                    }
154
155
128
                    return false;
156
128
                });
157
128
        if (!valid) {
158
0
            return Status::RuntimeError("{}'s argument does not match the expected data type",
159
0
                                        get_name());
160
0
        }
161
128
        return Status::OK();
162
128
    }
_ZNK5doris23FunctionUnaryArithmeticINS_7AbsImplIdEENS_7NameAbsELNS_13PrimitiveTypeE9EE12execute_implEPNS_15FunctionContextERNS_5BlockERKSt6vectorIjSaIjEEjm
Line
Count
Source
121
161
                        uint32_t result, size_t input_rows_count) const override {
122
161
        bool valid =
123
161
                cast_type(block.get_by_position(arguments[0]).type.get(), [&](const auto& type) {
124
161
                    using DataType = std::decay_t<decltype(type)>;
125
126
161
                    if constexpr (IsDataTypeDecimal<DataType>) {
127
161
                        if constexpr (allow_decimal) {
128
161
                            if (auto col = check_and_get_column<ColumnDecimal<DataType::PType>>(
129
161
                                        block.get_by_position(arguments[0]).column.get())) {
130
161
                                auto col_res =
131
161
                                        PrimitiveTypeTraits<Op::ResultType>::ColumnType::create(
132
161
                                                0, type.get_scale());
133
161
                                auto& vec_res = col_res->get_data();
134
161
                                vec_res.resize(col->get_data().size());
135
161
                                UnaryOperationImpl<DataType::PType, Op>::vector(col->get_data(),
136
161
                                                                                vec_res);
137
161
                                block.replace_by_position(result, std::move(col_res));
138
161
                                return true;
139
161
                            }
140
161
                        }
141
161
                    } else {
142
161
                        if (auto col = check_and_get_column<ColumnVector<DataType::PType>>(
143
161
                                    block.get_by_position(arguments[0]).column.get())) {
144
161
                            auto col_res =
145
161
                                    PrimitiveTypeTraits<Op::ResultType>::ColumnType::create();
146
161
                            auto& vec_res = col_res->get_data();
147
161
                            vec_res.resize(col->get_data().size());
148
161
                            UnaryOperationImpl<DataType::PType, Op>::vector(col->get_data(),
149
161
                                                                            vec_res);
150
161
                            block.replace_by_position(result, std::move(col_res));
151
161
                            return true;
152
161
                        }
153
161
                    }
154
155
161
                    return false;
156
161
                });
157
161
        if (!valid) {
158
0
            return Status::RuntimeError("{}'s argument does not match the expected data type",
159
0
                                        get_name());
160
0
        }
161
161
        return Status::OK();
162
161
    }
_ZNK5doris23FunctionUnaryArithmeticINS_12NegativeImplIdEENS_12NameNegativeELNS_13PrimitiveTypeE9EE12execute_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
    }
Unexecuted instantiation: _ZNK5doris23FunctionUnaryArithmeticINS_12NegativeImplIlEENS_12NameNegativeELNS_13PrimitiveTypeE6EE12execute_implEPNS_15FunctionContextERNS_5BlockERKSt6vectorIjSaIjEEjm
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
Unexecuted instantiation: _ZNK5doris23FunctionUnaryArithmeticINS_12NegativeImplINS_7DecimalIiEEEENS_12NameNegativeELNS_13PrimitiveTypeE28EE12execute_implEPNS_15FunctionContextERNS_5BlockERKSt6vectorIjSaIjEEjm
Unexecuted instantiation: _ZNK5doris23FunctionUnaryArithmeticINS_12NegativeImplINS_7DecimalIlEEEENS_12NameNegativeELNS_13PrimitiveTypeE29EE12execute_implEPNS_15FunctionContextERNS_5BlockERKSt6vectorIjSaIjEEjm
Unexecuted instantiation: _ZNK5doris23FunctionUnaryArithmeticINS_12PositiveImplINS_7DecimalIiEEEENS_12NamePositiveELNS_13PrimitiveTypeE28EE12execute_implEPNS_15FunctionContextERNS_5BlockERKSt6vectorIjSaIjEEjm
_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
    }
Unexecuted instantiation: _ZNK5doris23FunctionUnaryArithmeticINS_12PositiveImplINS_12Decimal128V3EEENS_12NamePositiveELNS_13PrimitiveTypeE30EE12execute_implEPNS_15FunctionContextERNS_5BlockERKSt6vectorIjSaIjEEjm
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
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
    }
Unexecuted instantiation: _ZNK5doris23FunctionUnaryArithmeticINS_12PositiveImplIlEENS_12NamePositiveELNS_13PrimitiveTypeE6EE12execute_implEPNS_15FunctionContextERNS_5BlockERKSt6vectorIjSaIjEEjm
_ZNK5doris23FunctionUnaryArithmeticINS_11RadiansImplIdEENS_11NameRadiansELNS_13PrimitiveTypeE9EE12execute_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_11DegreesImplIdEENS_11NameDegreesELNS_13PrimitiveTypeE9EE12execute_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_11SignBitImplIdEENS_11NameSignBitELNS_13PrimitiveTypeE9EE12execute_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
    }
Unexecuted instantiation: _ZNK5doris23FunctionUnaryArithmeticINS_10BitNotImplIaEENS_10NameBitNotELNS_13PrimitiveTypeE3EE12execute_implEPNS_15FunctionContextERNS_5BlockERKSt6vectorIjSaIjEEjm
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
    }
Unexecuted instantiation: _ZNK5doris23FunctionUnaryArithmeticINS_10BitNotImplIlEENS_10NameBitNotELNS_13PrimitiveTypeE6EE12execute_implEPNS_15FunctionContextERNS_5BlockERKSt6vectorIjSaIjEEjm
Unexecuted instantiation: _ZNK5doris23FunctionUnaryArithmeticINS_10BitNotImplInEENS_10NameBitNotELNS_13PrimitiveTypeE7EE12execute_implEPNS_15FunctionContextERNS_5BlockERKSt6vectorIjSaIjEEjm
Unexecuted instantiation: _ZNK5doris23FunctionUnaryArithmeticINS_12BitCountImplIaEENS_12NameBitCountELNS_13PrimitiveTypeE3EE12execute_implEPNS_15FunctionContextERNS_5BlockERKSt6vectorIjSaIjEEjm
Unexecuted instantiation: _ZNK5doris23FunctionUnaryArithmeticINS_12BitCountImplIsEENS_12NameBitCountELNS_13PrimitiveTypeE4EE12execute_implEPNS_15FunctionContextERNS_5BlockERKSt6vectorIjSaIjEEjm
Unexecuted instantiation: _ZNK5doris23FunctionUnaryArithmeticINS_12BitCountImplIiEENS_12NameBitCountELNS_13PrimitiveTypeE5EE12execute_implEPNS_15FunctionContextERNS_5BlockERKSt6vectorIjSaIjEEjm
Unexecuted instantiation: _ZNK5doris23FunctionUnaryArithmeticINS_12BitCountImplIlEENS_12NameBitCountELNS_13PrimitiveTypeE6EE12execute_implEPNS_15FunctionContextERNS_5BlockERKSt6vectorIjSaIjEEjm
Unexecuted instantiation: _ZNK5doris23FunctionUnaryArithmeticINS_12BitCountImplInEENS_12NameBitCountELNS_13PrimitiveTypeE7EE12execute_implEPNS_15FunctionContextERNS_5BlockERKSt6vectorIjSaIjEEjm
163
};
164
165
} // namespace doris