Coverage Report

Created: 2026-06-17 18:47

next uncovered line (L), next uncovered region (R), next uncovered branch (B)
be/src/core/field.cpp
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/Core/Field.cpp
19
// and modified by Doris
20
21
#include "core/field.h"
22
23
#include "common/compare.h"
24
#include "core/accurate_comparison.h"
25
#include "core/data_type/data_type_decimal.h"
26
#include "core/data_type/define_primitive_type.h"
27
#include "core/data_type/primitive_type.h"
28
#include "core/decimal_comparison.h"
29
#include "core/value/bitmap_value.h"
30
#include "core/value/jsonb_value.h"
31
#include "core/value/timestamptz_value.h"
32
#include "core/value/vdatetime_value.h"
33
#include "exprs/function/cast/cast_to_string.h"
34
#include "util/var_int.h"
35
36
namespace doris {
37
class BufferReadable;
38
class BufferWritable;
39
40
template <PrimitiveType T>
41
bool dec_equal(typename PrimitiveTypeTraits<T>::CppType x,
42
0
               typename PrimitiveTypeTraits<T>::CppType y, UInt32 x_scale, UInt32 y_scale) {
43
0
    using Comparator = DecimalComparison<T, T, EqualsOp>;
44
0
    return Comparator::compare(x, y, x_scale, y_scale);
45
0
}
Unexecuted instantiation: _ZN5doris9dec_equalILNS_13PrimitiveTypeE28EEEbNS_19PrimitiveTypeTraitsIXT_EE7CppTypeES4_jj
Unexecuted instantiation: _ZN5doris9dec_equalILNS_13PrimitiveTypeE29EEEbNS_19PrimitiveTypeTraitsIXT_EE7CppTypeES4_jj
Unexecuted instantiation: _ZN5doris9dec_equalILNS_13PrimitiveTypeE20EEEbNS_19PrimitiveTypeTraitsIXT_EE7CppTypeES4_jj
Unexecuted instantiation: _ZN5doris9dec_equalILNS_13PrimitiveTypeE35EEEbNS_19PrimitiveTypeTraitsIXT_EE7CppTypeES4_jj
Unexecuted instantiation: _ZN5doris9dec_equalILNS_13PrimitiveTypeE30EEEbNS_19PrimitiveTypeTraitsIXT_EE7CppTypeES4_jj
46
47
template <PrimitiveType T>
48
bool dec_less(typename PrimitiveTypeTraits<T>::CppType x,
49
3.48k
              typename PrimitiveTypeTraits<T>::CppType y, UInt32 x_scale, UInt32 y_scale) {
50
3.48k
    using Comparator = DecimalComparison<T, T, LessOp>;
51
3.48k
    return Comparator::compare(x, y, x_scale, y_scale);
52
3.48k
}
_ZN5doris8dec_lessILNS_13PrimitiveTypeE28EEEbNS_19PrimitiveTypeTraitsIXT_EE7CppTypeES4_jj
Line
Count
Source
49
10
              typename PrimitiveTypeTraits<T>::CppType y, UInt32 x_scale, UInt32 y_scale) {
50
10
    using Comparator = DecimalComparison<T, T, LessOp>;
51
10
    return Comparator::compare(x, y, x_scale, y_scale);
52
10
}
_ZN5doris8dec_lessILNS_13PrimitiveTypeE29EEEbNS_19PrimitiveTypeTraitsIXT_EE7CppTypeES4_jj
Line
Count
Source
49
3
              typename PrimitiveTypeTraits<T>::CppType y, UInt32 x_scale, UInt32 y_scale) {
50
3
    using Comparator = DecimalComparison<T, T, LessOp>;
51
3
    return Comparator::compare(x, y, x_scale, y_scale);
52
3
}
Unexecuted instantiation: _ZN5doris8dec_lessILNS_13PrimitiveTypeE20EEEbNS_19PrimitiveTypeTraitsIXT_EE7CppTypeES4_jj
_ZN5doris8dec_lessILNS_13PrimitiveTypeE35EEEbNS_19PrimitiveTypeTraitsIXT_EE7CppTypeES4_jj
Line
Count
Source
49
972
              typename PrimitiveTypeTraits<T>::CppType y, UInt32 x_scale, UInt32 y_scale) {
50
972
    using Comparator = DecimalComparison<T, T, LessOp>;
51
972
    return Comparator::compare(x, y, x_scale, y_scale);
52
972
}
_ZN5doris8dec_lessILNS_13PrimitiveTypeE30EEEbNS_19PrimitiveTypeTraitsIXT_EE7CppTypeES4_jj
Line
Count
Source
49
2.50k
              typename PrimitiveTypeTraits<T>::CppType y, UInt32 x_scale, UInt32 y_scale) {
50
2.50k
    using Comparator = DecimalComparison<T, T, LessOp>;
51
2.50k
    return Comparator::compare(x, y, x_scale, y_scale);
52
2.50k
}
53
54
template <PrimitiveType T>
55
bool dec_less_or_equal(typename PrimitiveTypeTraits<T>::CppType x,
56
0
                       typename PrimitiveTypeTraits<T>::CppType y, UInt32 x_scale, UInt32 y_scale) {
57
0
    using Comparator = DecimalComparison<T, T, LessOrEqualsOp>;
58
0
    return Comparator::compare(x, y, x_scale, y_scale);
59
0
}
Unexecuted instantiation: _ZN5doris17dec_less_or_equalILNS_13PrimitiveTypeE28EEEbNS_19PrimitiveTypeTraitsIXT_EE7CppTypeES4_jj
Unexecuted instantiation: _ZN5doris17dec_less_or_equalILNS_13PrimitiveTypeE29EEEbNS_19PrimitiveTypeTraitsIXT_EE7CppTypeES4_jj
Unexecuted instantiation: _ZN5doris17dec_less_or_equalILNS_13PrimitiveTypeE20EEEbNS_19PrimitiveTypeTraitsIXT_EE7CppTypeES4_jj
Unexecuted instantiation: _ZN5doris17dec_less_or_equalILNS_13PrimitiveTypeE35EEEbNS_19PrimitiveTypeTraitsIXT_EE7CppTypeES4_jj
Unexecuted instantiation: _ZN5doris17dec_less_or_equalILNS_13PrimitiveTypeE30EEEbNS_19PrimitiveTypeTraitsIXT_EE7CppTypeES4_jj
60
61
#define DECLARE_DECIMAL_COMPARISON(TYPE, PTYPE)                        \
62
    template <>                                                        \
63
0
    bool decimal_equal(TYPE x, TYPE y, UInt32 xs, UInt32 ys) {         \
64
0
        return dec_equal<PTYPE>(x, y, xs, ys);                         \
65
0
    }                                                                  \
Unexecuted instantiation: _ZN5doris13decimal_equalINS_7DecimalIiEEEEbT_S3_jj
Unexecuted instantiation: _ZN5doris13decimal_equalINS_7DecimalIlEEEEbT_S3_jj
Unexecuted instantiation: _ZN5doris13decimal_equalINS_14DecimalV2ValueEEEbT_S2_jj
Unexecuted instantiation: _ZN5doris13decimal_equalINS_7DecimalIN4wide7integerILm256EiEEEEEEbT_S6_jj
66
    template <>                                                        \
67
985
    bool decimal_less(TYPE x, TYPE y, UInt32 xs, UInt32 ys) {          \
68
985
        return dec_less<PTYPE>(x, y, xs, ys);                          \
69
985
    }                                                                  \
_ZN5doris12decimal_lessINS_7DecimalIiEEEEbT_S3_jj
Line
Count
Source
67
10
    bool decimal_less(TYPE x, TYPE y, UInt32 xs, UInt32 ys) {          \
68
10
        return dec_less<PTYPE>(x, y, xs, ys);                          \
69
10
    }                                                                  \
_ZN5doris12decimal_lessINS_7DecimalIlEEEEbT_S3_jj
Line
Count
Source
67
3
    bool decimal_less(TYPE x, TYPE y, UInt32 xs, UInt32 ys) {          \
68
3
        return dec_less<PTYPE>(x, y, xs, ys);                          \
69
3
    }                                                                  \
Unexecuted instantiation: _ZN5doris12decimal_lessINS_14DecimalV2ValueEEEbT_S2_jj
_ZN5doris12decimal_lessINS_7DecimalIN4wide7integerILm256EiEEEEEEbT_S6_jj
Line
Count
Source
67
972
    bool decimal_less(TYPE x, TYPE y, UInt32 xs, UInt32 ys) {          \
68
972
        return dec_less<PTYPE>(x, y, xs, ys);                          \
69
972
    }                                                                  \
70
    template <>                                                        \
71
0
    bool decimal_less_or_equal(TYPE x, TYPE y, UInt32 xs, UInt32 ys) { \
72
0
        return dec_less_or_equal<PTYPE>(x, y, xs, ys);                 \
73
0
    }
Unexecuted instantiation: _ZN5doris21decimal_less_or_equalINS_7DecimalIiEEEEbT_S3_jj
Unexecuted instantiation: _ZN5doris21decimal_less_or_equalINS_7DecimalIlEEEEbT_S3_jj
Unexecuted instantiation: _ZN5doris21decimal_less_or_equalINS_14DecimalV2ValueEEEbT_S2_jj
Unexecuted instantiation: _ZN5doris21decimal_less_or_equalINS_7DecimalIN4wide7integerILm256EiEEEEEEbT_S6_jj
74
75
DECLARE_DECIMAL_COMPARISON(Decimal32, TYPE_DECIMAL32)
76
DECLARE_DECIMAL_COMPARISON(Decimal64, TYPE_DECIMAL64)
77
DECLARE_DECIMAL_COMPARISON(DecimalV2Value, TYPE_DECIMALV2)
78
DECLARE_DECIMAL_COMPARISON(Decimal256, TYPE_DECIMAL256)
79
80
template <>
81
0
bool decimal_equal(Decimal128V3 x, Decimal128V3 y, UInt32 xs, UInt32 ys) {
82
0
    return dec_equal<TYPE_DECIMAL128I>(x, y, xs, ys);
83
0
}
84
template <>
85
2.50k
bool decimal_less(Decimal128V3 x, Decimal128V3 y, UInt32 xs, UInt32 ys) {
86
2.50k
    return dec_less<TYPE_DECIMAL128I>(x, y, xs, ys);
87
2.50k
}
88
template <>
89
0
bool decimal_less_or_equal(Decimal128V3 x, Decimal128V3 y, UInt32 xs, UInt32 ys) {
90
0
    return dec_less_or_equal<TYPE_DECIMAL128I>(x, y, xs, ys);
91
0
}
92
93
template <PrimitiveType Type>
94
245M
void Field::create_concrete(typename PrimitiveTypeTraits<Type>::CppType&& x) {
95
    // In both Field and PODArray, small types may be stored as wider types,
96
    // e.g. char is stored as UInt64. Field can return this extended value
97
    // with get<StorageType>(). To avoid uninitialized results from get(),
98
    // we must initialize the entire wide stored type, and not just the
99
    // nominal type.
100
245M
    using StorageType = typename PrimitiveTypeTraits<Type>::CppType;
101
245M
    new (&storage) StorageType(std::move(x));
102
245M
    type = Type;
103
245M
    DCHECK_NE(type, PrimitiveType::INVALID_TYPE);
104
245M
}
_ZN5doris5Field15create_concreteILNS_13PrimitiveTypeE1EEEvONS_19PrimitiveTypeTraitsIXT_EE7CppTypeE
Line
Count
Source
94
623k
void Field::create_concrete(typename PrimitiveTypeTraits<Type>::CppType&& x) {
95
    // In both Field and PODArray, small types may be stored as wider types,
96
    // e.g. char is stored as UInt64. Field can return this extended value
97
    // with get<StorageType>(). To avoid uninitialized results from get(),
98
    // we must initialize the entire wide stored type, and not just the
99
    // nominal type.
100
623k
    using StorageType = typename PrimitiveTypeTraits<Type>::CppType;
101
623k
    new (&storage) StorageType(std::move(x));
102
623k
    type = Type;
103
    DCHECK_NE(type, PrimitiveType::INVALID_TYPE);
104
623k
}
_ZN5doris5Field15create_concreteILNS_13PrimitiveTypeE3EEEvONS_19PrimitiveTypeTraitsIXT_EE7CppTypeE
Line
Count
Source
94
10.2M
void Field::create_concrete(typename PrimitiveTypeTraits<Type>::CppType&& x) {
95
    // In both Field and PODArray, small types may be stored as wider types,
96
    // e.g. char is stored as UInt64. Field can return this extended value
97
    // with get<StorageType>(). To avoid uninitialized results from get(),
98
    // we must initialize the entire wide stored type, and not just the
99
    // nominal type.
100
10.2M
    using StorageType = typename PrimitiveTypeTraits<Type>::CppType;
101
10.2M
    new (&storage) StorageType(std::move(x));
102
10.2M
    type = Type;
103
    DCHECK_NE(type, PrimitiveType::INVALID_TYPE);
104
10.2M
}
_ZN5doris5Field15create_concreteILNS_13PrimitiveTypeE4EEEvONS_19PrimitiveTypeTraitsIXT_EE7CppTypeE
Line
Count
Source
94
277k
void Field::create_concrete(typename PrimitiveTypeTraits<Type>::CppType&& x) {
95
    // In both Field and PODArray, small types may be stored as wider types,
96
    // e.g. char is stored as UInt64. Field can return this extended value
97
    // with get<StorageType>(). To avoid uninitialized results from get(),
98
    // we must initialize the entire wide stored type, and not just the
99
    // nominal type.
100
277k
    using StorageType = typename PrimitiveTypeTraits<Type>::CppType;
101
277k
    new (&storage) StorageType(std::move(x));
102
277k
    type = Type;
103
    DCHECK_NE(type, PrimitiveType::INVALID_TYPE);
104
277k
}
_ZN5doris5Field15create_concreteILNS_13PrimitiveTypeE5EEEvONS_19PrimitiveTypeTraitsIXT_EE7CppTypeE
Line
Count
Source
94
25.3M
void Field::create_concrete(typename PrimitiveTypeTraits<Type>::CppType&& x) {
95
    // In both Field and PODArray, small types may be stored as wider types,
96
    // e.g. char is stored as UInt64. Field can return this extended value
97
    // with get<StorageType>(). To avoid uninitialized results from get(),
98
    // we must initialize the entire wide stored type, and not just the
99
    // nominal type.
100
25.3M
    using StorageType = typename PrimitiveTypeTraits<Type>::CppType;
101
25.3M
    new (&storage) StorageType(std::move(x));
102
25.3M
    type = Type;
103
    DCHECK_NE(type, PrimitiveType::INVALID_TYPE);
104
25.3M
}
_ZN5doris5Field15create_concreteILNS_13PrimitiveTypeE6EEEvONS_19PrimitiveTypeTraitsIXT_EE7CppTypeE
Line
Count
Source
94
59.8M
void Field::create_concrete(typename PrimitiveTypeTraits<Type>::CppType&& x) {
95
    // In both Field and PODArray, small types may be stored as wider types,
96
    // e.g. char is stored as UInt64. Field can return this extended value
97
    // with get<StorageType>(). To avoid uninitialized results from get(),
98
    // we must initialize the entire wide stored type, and not just the
99
    // nominal type.
100
59.8M
    using StorageType = typename PrimitiveTypeTraits<Type>::CppType;
101
59.8M
    new (&storage) StorageType(std::move(x));
102
59.8M
    type = Type;
103
    DCHECK_NE(type, PrimitiveType::INVALID_TYPE);
104
59.8M
}
_ZN5doris5Field15create_concreteILNS_13PrimitiveTypeE7EEEvONS_19PrimitiveTypeTraitsIXT_EE7CppTypeE
Line
Count
Source
94
371k
void Field::create_concrete(typename PrimitiveTypeTraits<Type>::CppType&& x) {
95
    // In both Field and PODArray, small types may be stored as wider types,
96
    // e.g. char is stored as UInt64. Field can return this extended value
97
    // with get<StorageType>(). To avoid uninitialized results from get(),
98
    // we must initialize the entire wide stored type, and not just the
99
    // nominal type.
100
371k
    using StorageType = typename PrimitiveTypeTraits<Type>::CppType;
101
371k
    new (&storage) StorageType(std::move(x));
102
371k
    type = Type;
103
    DCHECK_NE(type, PrimitiveType::INVALID_TYPE);
104
371k
}
_ZN5doris5Field15create_concreteILNS_13PrimitiveTypeE11EEEvONS_19PrimitiveTypeTraitsIXT_EE7CppTypeE
Line
Count
Source
94
30.8k
void Field::create_concrete(typename PrimitiveTypeTraits<Type>::CppType&& x) {
95
    // In both Field and PODArray, small types may be stored as wider types,
96
    // e.g. char is stored as UInt64. Field can return this extended value
97
    // with get<StorageType>(). To avoid uninitialized results from get(),
98
    // we must initialize the entire wide stored type, and not just the
99
    // nominal type.
100
30.8k
    using StorageType = typename PrimitiveTypeTraits<Type>::CppType;
101
30.8k
    new (&storage) StorageType(std::move(x));
102
30.8k
    type = Type;
103
    DCHECK_NE(type, PrimitiveType::INVALID_TYPE);
104
30.8k
}
_ZN5doris5Field15create_concreteILNS_13PrimitiveTypeE12EEEvONS_19PrimitiveTypeTraitsIXT_EE7CppTypeE
Line
Count
Source
94
38.8k
void Field::create_concrete(typename PrimitiveTypeTraits<Type>::CppType&& x) {
95
    // In both Field and PODArray, small types may be stored as wider types,
96
    // e.g. char is stored as UInt64. Field can return this extended value
97
    // with get<StorageType>(). To avoid uninitialized results from get(),
98
    // we must initialize the entire wide stored type, and not just the
99
    // nominal type.
100
38.8k
    using StorageType = typename PrimitiveTypeTraits<Type>::CppType;
101
38.8k
    new (&storage) StorageType(std::move(x));
102
38.8k
    type = Type;
103
    DCHECK_NE(type, PrimitiveType::INVALID_TYPE);
104
38.8k
}
_ZN5doris5Field15create_concreteILNS_13PrimitiveTypeE25EEEvONS_19PrimitiveTypeTraitsIXT_EE7CppTypeE
Line
Count
Source
94
842k
void Field::create_concrete(typename PrimitiveTypeTraits<Type>::CppType&& x) {
95
    // In both Field and PODArray, small types may be stored as wider types,
96
    // e.g. char is stored as UInt64. Field can return this extended value
97
    // with get<StorageType>(). To avoid uninitialized results from get(),
98
    // we must initialize the entire wide stored type, and not just the
99
    // nominal type.
100
842k
    using StorageType = typename PrimitiveTypeTraits<Type>::CppType;
101
842k
    new (&storage) StorageType(std::move(x));
102
842k
    type = Type;
103
    DCHECK_NE(type, PrimitiveType::INVALID_TYPE);
104
842k
}
_ZN5doris5Field15create_concreteILNS_13PrimitiveTypeE26EEEvONS_19PrimitiveTypeTraitsIXT_EE7CppTypeE
Line
Count
Source
94
4.96M
void Field::create_concrete(typename PrimitiveTypeTraits<Type>::CppType&& x) {
95
    // In both Field and PODArray, small types may be stored as wider types,
96
    // e.g. char is stored as UInt64. Field can return this extended value
97
    // with get<StorageType>(). To avoid uninitialized results from get(),
98
    // we must initialize the entire wide stored type, and not just the
99
    // nominal type.
100
4.96M
    using StorageType = typename PrimitiveTypeTraits<Type>::CppType;
101
4.96M
    new (&storage) StorageType(std::move(x));
102
4.96M
    type = Type;
103
    DCHECK_NE(type, PrimitiveType::INVALID_TYPE);
104
4.96M
}
_ZN5doris5Field15create_concreteILNS_13PrimitiveTypeE28EEEvONS_19PrimitiveTypeTraitsIXT_EE7CppTypeE
Line
Count
Source
94
129k
void Field::create_concrete(typename PrimitiveTypeTraits<Type>::CppType&& x) {
95
    // In both Field and PODArray, small types may be stored as wider types,
96
    // e.g. char is stored as UInt64. Field can return this extended value
97
    // with get<StorageType>(). To avoid uninitialized results from get(),
98
    // we must initialize the entire wide stored type, and not just the
99
    // nominal type.
100
129k
    using StorageType = typename PrimitiveTypeTraits<Type>::CppType;
101
129k
    new (&storage) StorageType(std::move(x));
102
129k
    type = Type;
103
    DCHECK_NE(type, PrimitiveType::INVALID_TYPE);
104
129k
}
_ZN5doris5Field15create_concreteILNS_13PrimitiveTypeE29EEEvONS_19PrimitiveTypeTraitsIXT_EE7CppTypeE
Line
Count
Source
94
13.7M
void Field::create_concrete(typename PrimitiveTypeTraits<Type>::CppType&& x) {
95
    // In both Field and PODArray, small types may be stored as wider types,
96
    // e.g. char is stored as UInt64. Field can return this extended value
97
    // with get<StorageType>(). To avoid uninitialized results from get(),
98
    // we must initialize the entire wide stored type, and not just the
99
    // nominal type.
100
13.7M
    using StorageType = typename PrimitiveTypeTraits<Type>::CppType;
101
13.7M
    new (&storage) StorageType(std::move(x));
102
13.7M
    type = Type;
103
    DCHECK_NE(type, PrimitiveType::INVALID_TYPE);
104
13.7M
}
_ZN5doris5Field15create_concreteILNS_13PrimitiveTypeE20EEEvONS_19PrimitiveTypeTraitsIXT_EE7CppTypeE
Line
Count
Source
94
17.2k
void Field::create_concrete(typename PrimitiveTypeTraits<Type>::CppType&& x) {
95
    // In both Field and PODArray, small types may be stored as wider types,
96
    // e.g. char is stored as UInt64. Field can return this extended value
97
    // with get<StorageType>(). To avoid uninitialized results from get(),
98
    // we must initialize the entire wide stored type, and not just the
99
    // nominal type.
100
17.2k
    using StorageType = typename PrimitiveTypeTraits<Type>::CppType;
101
17.2k
    new (&storage) StorageType(std::move(x));
102
17.2k
    type = Type;
103
    DCHECK_NE(type, PrimitiveType::INVALID_TYPE);
104
17.2k
}
_ZN5doris5Field15create_concreteILNS_13PrimitiveTypeE30EEEvONS_19PrimitiveTypeTraitsIXT_EE7CppTypeE
Line
Count
Source
94
425k
void Field::create_concrete(typename PrimitiveTypeTraits<Type>::CppType&& x) {
95
    // In both Field and PODArray, small types may be stored as wider types,
96
    // e.g. char is stored as UInt64. Field can return this extended value
97
    // with get<StorageType>(). To avoid uninitialized results from get(),
98
    // we must initialize the entire wide stored type, and not just the
99
    // nominal type.
100
425k
    using StorageType = typename PrimitiveTypeTraits<Type>::CppType;
101
425k
    new (&storage) StorageType(std::move(x));
102
425k
    type = Type;
103
    DCHECK_NE(type, PrimitiveType::INVALID_TYPE);
104
425k
}
_ZN5doris5Field15create_concreteILNS_13PrimitiveTypeE35EEEvONS_19PrimitiveTypeTraitsIXT_EE7CppTypeE
Line
Count
Source
94
62.9k
void Field::create_concrete(typename PrimitiveTypeTraits<Type>::CppType&& x) {
95
    // In both Field and PODArray, small types may be stored as wider types,
96
    // e.g. char is stored as UInt64. Field can return this extended value
97
    // with get<StorageType>(). To avoid uninitialized results from get(),
98
    // we must initialize the entire wide stored type, and not just the
99
    // nominal type.
100
62.9k
    using StorageType = typename PrimitiveTypeTraits<Type>::CppType;
101
62.9k
    new (&storage) StorageType(std::move(x));
102
62.9k
    type = Type;
103
    DCHECK_NE(type, PrimitiveType::INVALID_TYPE);
104
62.9k
}
_ZN5doris5Field15create_concreteILNS_13PrimitiveTypeE15EEEvONS_19PrimitiveTypeTraitsIXT_EE7CppTypeE
Line
Count
Source
94
141k
void Field::create_concrete(typename PrimitiveTypeTraits<Type>::CppType&& x) {
95
    // In both Field and PODArray, small types may be stored as wider types,
96
    // e.g. char is stored as UInt64. Field can return this extended value
97
    // with get<StorageType>(). To avoid uninitialized results from get(),
98
    // we must initialize the entire wide stored type, and not just the
99
    // nominal type.
100
141k
    using StorageType = typename PrimitiveTypeTraits<Type>::CppType;
101
141k
    new (&storage) StorageType(std::move(x));
102
141k
    type = Type;
103
    DCHECK_NE(type, PrimitiveType::INVALID_TYPE);
104
141k
}
_ZN5doris5Field15create_concreteILNS_13PrimitiveTypeE10EEEvONS_19PrimitiveTypeTraitsIXT_EE7CppTypeE
Line
Count
Source
94
1.93M
void Field::create_concrete(typename PrimitiveTypeTraits<Type>::CppType&& x) {
95
    // In both Field and PODArray, small types may be stored as wider types,
96
    // e.g. char is stored as UInt64. Field can return this extended value
97
    // with get<StorageType>(). To avoid uninitialized results from get(),
98
    // we must initialize the entire wide stored type, and not just the
99
    // nominal type.
100
1.93M
    using StorageType = typename PrimitiveTypeTraits<Type>::CppType;
101
1.93M
    new (&storage) StorageType(std::move(x));
102
1.93M
    type = Type;
103
    DCHECK_NE(type, PrimitiveType::INVALID_TYPE);
104
1.93M
}
_ZN5doris5Field15create_concreteILNS_13PrimitiveTypeE23EEEvONS_19PrimitiveTypeTraitsIXT_EE7CppTypeE
Line
Count
Source
94
76.0M
void Field::create_concrete(typename PrimitiveTypeTraits<Type>::CppType&& x) {
95
    // In both Field and PODArray, small types may be stored as wider types,
96
    // e.g. char is stored as UInt64. Field can return this extended value
97
    // with get<StorageType>(). To avoid uninitialized results from get(),
98
    // we must initialize the entire wide stored type, and not just the
99
    // nominal type.
100
76.0M
    using StorageType = typename PrimitiveTypeTraits<Type>::CppType;
101
76.0M
    new (&storage) StorageType(std::move(x));
102
76.0M
    type = Type;
103
    DCHECK_NE(type, PrimitiveType::INVALID_TYPE);
104
76.0M
}
_ZN5doris5Field15create_concreteILNS_13PrimitiveTypeE41EEEvONS_19PrimitiveTypeTraitsIXT_EE7CppTypeE
Line
Count
Source
94
40
void Field::create_concrete(typename PrimitiveTypeTraits<Type>::CppType&& x) {
95
    // In both Field and PODArray, small types may be stored as wider types,
96
    // e.g. char is stored as UInt64. Field can return this extended value
97
    // with get<StorageType>(). To avoid uninitialized results from get(),
98
    // we must initialize the entire wide stored type, and not just the
99
    // nominal type.
100
40
    using StorageType = typename PrimitiveTypeTraits<Type>::CppType;
101
40
    new (&storage) StorageType(std::move(x));
102
40
    type = Type;
103
    DCHECK_NE(type, PrimitiveType::INVALID_TYPE);
104
40
}
_ZN5doris5Field15create_concreteILNS_13PrimitiveTypeE19EEEvONS_19PrimitiveTypeTraitsIXT_EE7CppTypeE
Line
Count
Source
94
14
void Field::create_concrete(typename PrimitiveTypeTraits<Type>::CppType&& x) {
95
    // In both Field and PODArray, small types may be stored as wider types,
96
    // e.g. char is stored as UInt64. Field can return this extended value
97
    // with get<StorageType>(). To avoid uninitialized results from get(),
98
    // we must initialize the entire wide stored type, and not just the
99
    // nominal type.
100
14
    using StorageType = typename PrimitiveTypeTraits<Type>::CppType;
101
14
    new (&storage) StorageType(std::move(x));
102
14
    type = Type;
103
    DCHECK_NE(type, PrimitiveType::INVALID_TYPE);
104
14
}
_ZN5doris5Field15create_concreteILNS_13PrimitiveTypeE32EEEvONS_19PrimitiveTypeTraitsIXT_EE7CppTypeE
Line
Count
Source
94
327k
void Field::create_concrete(typename PrimitiveTypeTraits<Type>::CppType&& x) {
95
    // In both Field and PODArray, small types may be stored as wider types,
96
    // e.g. char is stored as UInt64. Field can return this extended value
97
    // with get<StorageType>(). To avoid uninitialized results from get(),
98
    // we must initialize the entire wide stored type, and not just the
99
    // nominal type.
100
327k
    using StorageType = typename PrimitiveTypeTraits<Type>::CppType;
101
327k
    new (&storage) StorageType(std::move(x));
102
327k
    type = Type;
103
    DCHECK_NE(type, PrimitiveType::INVALID_TYPE);
104
327k
}
_ZN5doris5Field15create_concreteILNS_13PrimitiveTypeE24EEEvONS_19PrimitiveTypeTraitsIXT_EE7CppTypeE
Line
Count
Source
94
12
void Field::create_concrete(typename PrimitiveTypeTraits<Type>::CppType&& x) {
95
    // In both Field and PODArray, small types may be stored as wider types,
96
    // e.g. char is stored as UInt64. Field can return this extended value
97
    // with get<StorageType>(). To avoid uninitialized results from get(),
98
    // we must initialize the entire wide stored type, and not just the
99
    // nominal type.
100
12
    using StorageType = typename PrimitiveTypeTraits<Type>::CppType;
101
12
    new (&storage) StorageType(std::move(x));
102
12
    type = Type;
103
    DCHECK_NE(type, PrimitiveType::INVALID_TYPE);
104
12
}
_ZN5doris5Field15create_concreteILNS_13PrimitiveTypeE17EEEvONS_19PrimitiveTypeTraitsIXT_EE7CppTypeE
Line
Count
Source
94
7.57M
void Field::create_concrete(typename PrimitiveTypeTraits<Type>::CppType&& x) {
95
    // In both Field and PODArray, small types may be stored as wider types,
96
    // e.g. char is stored as UInt64. Field can return this extended value
97
    // with get<StorageType>(). To avoid uninitialized results from get(),
98
    // we must initialize the entire wide stored type, and not just the
99
    // nominal type.
100
7.57M
    using StorageType = typename PrimitiveTypeTraits<Type>::CppType;
101
7.57M
    new (&storage) StorageType(std::move(x));
102
7.57M
    type = Type;
103
    DCHECK_NE(type, PrimitiveType::INVALID_TYPE);
104
7.57M
}
_ZN5doris5Field15create_concreteILNS_13PrimitiveTypeE42EEEvONS_19PrimitiveTypeTraitsIXT_EE7CppTypeE
Line
Count
Source
94
75.5k
void Field::create_concrete(typename PrimitiveTypeTraits<Type>::CppType&& x) {
95
    // In both Field and PODArray, small types may be stored as wider types,
96
    // e.g. char is stored as UInt64. Field can return this extended value
97
    // with get<StorageType>(). To avoid uninitialized results from get(),
98
    // we must initialize the entire wide stored type, and not just the
99
    // nominal type.
100
75.5k
    using StorageType = typename PrimitiveTypeTraits<Type>::CppType;
101
75.5k
    new (&storage) StorageType(std::move(x));
102
75.5k
    type = Type;
103
    DCHECK_NE(type, PrimitiveType::INVALID_TYPE);
104
75.5k
}
_ZN5doris5Field15create_concreteILNS_13PrimitiveTypeE36EEEvONS_19PrimitiveTypeTraitsIXT_EE7CppTypeE
Line
Count
Source
94
51.1k
void Field::create_concrete(typename PrimitiveTypeTraits<Type>::CppType&& x) {
95
    // In both Field and PODArray, small types may be stored as wider types,
96
    // e.g. char is stored as UInt64. Field can return this extended value
97
    // with get<StorageType>(). To avoid uninitialized results from get(),
98
    // we must initialize the entire wide stored type, and not just the
99
    // nominal type.
100
51.1k
    using StorageType = typename PrimitiveTypeTraits<Type>::CppType;
101
51.1k
    new (&storage) StorageType(std::move(x));
102
51.1k
    type = Type;
103
    DCHECK_NE(type, PrimitiveType::INVALID_TYPE);
104
51.1k
}
_ZN5doris5Field15create_concreteILNS_13PrimitiveTypeE37EEEvONS_19PrimitiveTypeTraitsIXT_EE7CppTypeE
Line
Count
Source
94
36.4k
void Field::create_concrete(typename PrimitiveTypeTraits<Type>::CppType&& x) {
95
    // In both Field and PODArray, small types may be stored as wider types,
96
    // e.g. char is stored as UInt64. Field can return this extended value
97
    // with get<StorageType>(). To avoid uninitialized results from get(),
98
    // we must initialize the entire wide stored type, and not just the
99
    // nominal type.
100
36.4k
    using StorageType = typename PrimitiveTypeTraits<Type>::CppType;
101
36.4k
    new (&storage) StorageType(std::move(x));
102
36.4k
    type = Type;
103
    DCHECK_NE(type, PrimitiveType::INVALID_TYPE);
104
36.4k
}
_ZN5doris5Field15create_concreteILNS_13PrimitiveTypeE2EEEvONS_19PrimitiveTypeTraitsIXT_EE7CppTypeE
Line
Count
Source
94
29.7M
void Field::create_concrete(typename PrimitiveTypeTraits<Type>::CppType&& x) {
95
    // In both Field and PODArray, small types may be stored as wider types,
96
    // e.g. char is stored as UInt64. Field can return this extended value
97
    // with get<StorageType>(). To avoid uninitialized results from get(),
98
    // we must initialize the entire wide stored type, and not just the
99
    // nominal type.
100
29.7M
    using StorageType = typename PrimitiveTypeTraits<Type>::CppType;
101
29.7M
    new (&storage) StorageType(std::move(x));
102
29.7M
    type = Type;
103
    DCHECK_NE(type, PrimitiveType::INVALID_TYPE);
104
29.7M
}
_ZN5doris5Field15create_concreteILNS_13PrimitiveTypeE8EEEvONS_19PrimitiveTypeTraitsIXT_EE7CppTypeE
Line
Count
Source
94
166k
void Field::create_concrete(typename PrimitiveTypeTraits<Type>::CppType&& x) {
95
    // In both Field and PODArray, small types may be stored as wider types,
96
    // e.g. char is stored as UInt64. Field can return this extended value
97
    // with get<StorageType>(). To avoid uninitialized results from get(),
98
    // we must initialize the entire wide stored type, and not just the
99
    // nominal type.
100
166k
    using StorageType = typename PrimitiveTypeTraits<Type>::CppType;
101
166k
    new (&storage) StorageType(std::move(x));
102
166k
    type = Type;
103
    DCHECK_NE(type, PrimitiveType::INVALID_TYPE);
104
166k
}
_ZN5doris5Field15create_concreteILNS_13PrimitiveTypeE9EEEvONS_19PrimitiveTypeTraitsIXT_EE7CppTypeE
Line
Count
Source
94
6.45M
void Field::create_concrete(typename PrimitiveTypeTraits<Type>::CppType&& x) {
95
    // In both Field and PODArray, small types may be stored as wider types,
96
    // e.g. char is stored as UInt64. Field can return this extended value
97
    // with get<StorageType>(). To avoid uninitialized results from get(),
98
    // we must initialize the entire wide stored type, and not just the
99
    // nominal type.
100
6.45M
    using StorageType = typename PrimitiveTypeTraits<Type>::CppType;
101
6.45M
    new (&storage) StorageType(std::move(x));
102
6.45M
    type = Type;
103
    DCHECK_NE(type, PrimitiveType::INVALID_TYPE);
104
6.45M
}
_ZN5doris5Field15create_concreteILNS_13PrimitiveTypeE31EEEvONS_19PrimitiveTypeTraitsIXT_EE7CppTypeE
Line
Count
Source
94
5.34M
void Field::create_concrete(typename PrimitiveTypeTraits<Type>::CppType&& x) {
95
    // In both Field and PODArray, small types may be stored as wider types,
96
    // e.g. char is stored as UInt64. Field can return this extended value
97
    // with get<StorageType>(). To avoid uninitialized results from get(),
98
    // we must initialize the entire wide stored type, and not just the
99
    // nominal type.
100
5.34M
    using StorageType = typename PrimitiveTypeTraits<Type>::CppType;
101
5.34M
    new (&storage) StorageType(std::move(x));
102
5.34M
    type = Type;
103
    DCHECK_NE(type, PrimitiveType::INVALID_TYPE);
104
5.34M
}
_ZN5doris5Field15create_concreteILNS_13PrimitiveTypeE16EEEvONS_19PrimitiveTypeTraitsIXT_EE7CppTypeE
Line
Count
Source
94
11.0k
void Field::create_concrete(typename PrimitiveTypeTraits<Type>::CppType&& x) {
95
    // In both Field and PODArray, small types may be stored as wider types,
96
    // e.g. char is stored as UInt64. Field can return this extended value
97
    // with get<StorageType>(). To avoid uninitialized results from get(),
98
    // we must initialize the entire wide stored type, and not just the
99
    // nominal type.
100
11.0k
    using StorageType = typename PrimitiveTypeTraits<Type>::CppType;
101
11.0k
    new (&storage) StorageType(std::move(x));
102
11.0k
    type = Type;
103
    DCHECK_NE(type, PrimitiveType::INVALID_TYPE);
104
11.0k
}
_ZN5doris5Field15create_concreteILNS_13PrimitiveTypeE18EEEvONS_19PrimitiveTypeTraitsIXT_EE7CppTypeE
Line
Count
Source
94
36.5k
void Field::create_concrete(typename PrimitiveTypeTraits<Type>::CppType&& x) {
95
    // In both Field and PODArray, small types may be stored as wider types,
96
    // e.g. char is stored as UInt64. Field can return this extended value
97
    // with get<StorageType>(). To avoid uninitialized results from get(),
98
    // we must initialize the entire wide stored type, and not just the
99
    // nominal type.
100
36.5k
    using StorageType = typename PrimitiveTypeTraits<Type>::CppType;
101
36.5k
    new (&storage) StorageType(std::move(x));
102
36.5k
    type = Type;
103
    DCHECK_NE(type, PrimitiveType::INVALID_TYPE);
104
36.5k
}
_ZN5doris5Field15create_concreteILNS_13PrimitiveTypeE22EEEvONS_19PrimitiveTypeTraitsIXT_EE7CppTypeE
Line
Count
Source
94
126
void Field::create_concrete(typename PrimitiveTypeTraits<Type>::CppType&& x) {
95
    // In both Field and PODArray, small types may be stored as wider types,
96
    // e.g. char is stored as UInt64. Field can return this extended value
97
    // with get<StorageType>(). To avoid uninitialized results from get(),
98
    // we must initialize the entire wide stored type, and not just the
99
    // nominal type.
100
126
    using StorageType = typename PrimitiveTypeTraits<Type>::CppType;
101
126
    new (&storage) StorageType(std::move(x));
102
126
    type = Type;
103
    DCHECK_NE(type, PrimitiveType::INVALID_TYPE);
104
126
}
_ZN5doris5Field15create_concreteILNS_13PrimitiveTypeE27EEEvONS_19PrimitiveTypeTraitsIXT_EE7CppTypeE
Line
Count
Source
94
126
void Field::create_concrete(typename PrimitiveTypeTraits<Type>::CppType&& x) {
95
    // In both Field and PODArray, small types may be stored as wider types,
96
    // e.g. char is stored as UInt64. Field can return this extended value
97
    // with get<StorageType>(). To avoid uninitialized results from get(),
98
    // we must initialize the entire wide stored type, and not just the
99
    // nominal type.
100
126
    using StorageType = typename PrimitiveTypeTraits<Type>::CppType;
101
126
    new (&storage) StorageType(std::move(x));
102
126
    type = Type;
103
    DCHECK_NE(type, PrimitiveType::INVALID_TYPE);
104
126
}
Unexecuted instantiation: _ZN5doris5Field15create_concreteILNS_13PrimitiveTypeE38EEEvONS_19PrimitiveTypeTraitsIXT_EE7CppTypeE
_ZN5doris5Field15create_concreteILNS_13PrimitiveTypeE39EEEvONS_19PrimitiveTypeTraitsIXT_EE7CppTypeE
Line
Count
Source
94
40
void Field::create_concrete(typename PrimitiveTypeTraits<Type>::CppType&& x) {
95
    // In both Field and PODArray, small types may be stored as wider types,
96
    // e.g. char is stored as UInt64. Field can return this extended value
97
    // with get<StorageType>(). To avoid uninitialized results from get(),
98
    // we must initialize the entire wide stored type, and not just the
99
    // nominal type.
100
40
    using StorageType = typename PrimitiveTypeTraits<Type>::CppType;
101
40
    new (&storage) StorageType(std::move(x));
102
40
    type = Type;
103
    DCHECK_NE(type, PrimitiveType::INVALID_TYPE);
104
40
}
105
106
template <PrimitiveType Type>
107
261M
void Field::create_concrete(const typename PrimitiveTypeTraits<Type>::CppType& x) {
108
    // In both Field and PODArray, small types may be stored as wider types,
109
    // e.g. char is stored as UInt64. Field can return this extended value
110
    // with get<StorageType>(). To avoid uninitialized results from get(),
111
    // we must initialize the entire wide stored type, and not just the
112
    // nominal type.
113
261M
    using StorageType = typename PrimitiveTypeTraits<Type>::CppType;
114
261M
    new (&storage) StorageType(x);
115
261M
    type = Type;
116
261M
    DCHECK_NE(type, PrimitiveType::INVALID_TYPE);
117
261M
}
_ZN5doris5Field15create_concreteILNS_13PrimitiveTypeE1EEEvRKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeE
Line
Count
Source
107
39.5M
void Field::create_concrete(const typename PrimitiveTypeTraits<Type>::CppType& x) {
108
    // In both Field and PODArray, small types may be stored as wider types,
109
    // e.g. char is stored as UInt64. Field can return this extended value
110
    // with get<StorageType>(). To avoid uninitialized results from get(),
111
    // we must initialize the entire wide stored type, and not just the
112
    // nominal type.
113
39.5M
    using StorageType = typename PrimitiveTypeTraits<Type>::CppType;
114
39.5M
    new (&storage) StorageType(x);
115
39.5M
    type = Type;
116
    DCHECK_NE(type, PrimitiveType::INVALID_TYPE);
117
39.5M
}
_ZN5doris5Field15create_concreteILNS_13PrimitiveTypeE3EEEvRKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeE
Line
Count
Source
107
5.12M
void Field::create_concrete(const typename PrimitiveTypeTraits<Type>::CppType& x) {
108
    // In both Field and PODArray, small types may be stored as wider types,
109
    // e.g. char is stored as UInt64. Field can return this extended value
110
    // with get<StorageType>(). To avoid uninitialized results from get(),
111
    // we must initialize the entire wide stored type, and not just the
112
    // nominal type.
113
5.12M
    using StorageType = typename PrimitiveTypeTraits<Type>::CppType;
114
5.12M
    new (&storage) StorageType(x);
115
5.12M
    type = Type;
116
    DCHECK_NE(type, PrimitiveType::INVALID_TYPE);
117
5.12M
}
_ZN5doris5Field15create_concreteILNS_13PrimitiveTypeE4EEEvRKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeE
Line
Count
Source
107
4.01M
void Field::create_concrete(const typename PrimitiveTypeTraits<Type>::CppType& x) {
108
    // In both Field and PODArray, small types may be stored as wider types,
109
    // e.g. char is stored as UInt64. Field can return this extended value
110
    // with get<StorageType>(). To avoid uninitialized results from get(),
111
    // we must initialize the entire wide stored type, and not just the
112
    // nominal type.
113
4.01M
    using StorageType = typename PrimitiveTypeTraits<Type>::CppType;
114
4.01M
    new (&storage) StorageType(x);
115
4.01M
    type = Type;
116
    DCHECK_NE(type, PrimitiveType::INVALID_TYPE);
117
4.01M
}
_ZN5doris5Field15create_concreteILNS_13PrimitiveTypeE5EEEvRKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeE
Line
Count
Source
107
24.6M
void Field::create_concrete(const typename PrimitiveTypeTraits<Type>::CppType& x) {
108
    // In both Field and PODArray, small types may be stored as wider types,
109
    // e.g. char is stored as UInt64. Field can return this extended value
110
    // with get<StorageType>(). To avoid uninitialized results from get(),
111
    // we must initialize the entire wide stored type, and not just the
112
    // nominal type.
113
24.6M
    using StorageType = typename PrimitiveTypeTraits<Type>::CppType;
114
24.6M
    new (&storage) StorageType(x);
115
24.6M
    type = Type;
116
    DCHECK_NE(type, PrimitiveType::INVALID_TYPE);
117
24.6M
}
_ZN5doris5Field15create_concreteILNS_13PrimitiveTypeE6EEEvRKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeE
Line
Count
Source
107
13.9M
void Field::create_concrete(const typename PrimitiveTypeTraits<Type>::CppType& x) {
108
    // In both Field and PODArray, small types may be stored as wider types,
109
    // e.g. char is stored as UInt64. Field can return this extended value
110
    // with get<StorageType>(). To avoid uninitialized results from get(),
111
    // we must initialize the entire wide stored type, and not just the
112
    // nominal type.
113
13.9M
    using StorageType = typename PrimitiveTypeTraits<Type>::CppType;
114
13.9M
    new (&storage) StorageType(x);
115
13.9M
    type = Type;
116
    DCHECK_NE(type, PrimitiveType::INVALID_TYPE);
117
13.9M
}
_ZN5doris5Field15create_concreteILNS_13PrimitiveTypeE7EEEvRKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeE
Line
Count
Source
107
3.25M
void Field::create_concrete(const typename PrimitiveTypeTraits<Type>::CppType& x) {
108
    // In both Field and PODArray, small types may be stored as wider types,
109
    // e.g. char is stored as UInt64. Field can return this extended value
110
    // with get<StorageType>(). To avoid uninitialized results from get(),
111
    // we must initialize the entire wide stored type, and not just the
112
    // nominal type.
113
3.25M
    using StorageType = typename PrimitiveTypeTraits<Type>::CppType;
114
3.25M
    new (&storage) StorageType(x);
115
3.25M
    type = Type;
116
    DCHECK_NE(type, PrimitiveType::INVALID_TYPE);
117
3.25M
}
_ZN5doris5Field15create_concreteILNS_13PrimitiveTypeE11EEEvRKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeE
Line
Count
Source
107
3.39M
void Field::create_concrete(const typename PrimitiveTypeTraits<Type>::CppType& x) {
108
    // In both Field and PODArray, small types may be stored as wider types,
109
    // e.g. char is stored as UInt64. Field can return this extended value
110
    // with get<StorageType>(). To avoid uninitialized results from get(),
111
    // we must initialize the entire wide stored type, and not just the
112
    // nominal type.
113
3.39M
    using StorageType = typename PrimitiveTypeTraits<Type>::CppType;
114
3.39M
    new (&storage) StorageType(x);
115
3.39M
    type = Type;
116
    DCHECK_NE(type, PrimitiveType::INVALID_TYPE);
117
3.39M
}
_ZN5doris5Field15create_concreteILNS_13PrimitiveTypeE12EEEvRKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeE
Line
Count
Source
107
3.33M
void Field::create_concrete(const typename PrimitiveTypeTraits<Type>::CppType& x) {
108
    // In both Field and PODArray, small types may be stored as wider types,
109
    // e.g. char is stored as UInt64. Field can return this extended value
110
    // with get<StorageType>(). To avoid uninitialized results from get(),
111
    // we must initialize the entire wide stored type, and not just the
112
    // nominal type.
113
3.33M
    using StorageType = typename PrimitiveTypeTraits<Type>::CppType;
114
3.33M
    new (&storage) StorageType(x);
115
3.33M
    type = Type;
116
    DCHECK_NE(type, PrimitiveType::INVALID_TYPE);
117
3.33M
}
_ZN5doris5Field15create_concreteILNS_13PrimitiveTypeE25EEEvRKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeE
Line
Count
Source
107
5.03M
void Field::create_concrete(const typename PrimitiveTypeTraits<Type>::CppType& x) {
108
    // In both Field and PODArray, small types may be stored as wider types,
109
    // e.g. char is stored as UInt64. Field can return this extended value
110
    // with get<StorageType>(). To avoid uninitialized results from get(),
111
    // we must initialize the entire wide stored type, and not just the
112
    // nominal type.
113
5.03M
    using StorageType = typename PrimitiveTypeTraits<Type>::CppType;
114
5.03M
    new (&storage) StorageType(x);
115
5.03M
    type = Type;
116
    DCHECK_NE(type, PrimitiveType::INVALID_TYPE);
117
5.03M
}
_ZN5doris5Field15create_concreteILNS_13PrimitiveTypeE26EEEvRKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeE
Line
Count
Source
107
4.16M
void Field::create_concrete(const typename PrimitiveTypeTraits<Type>::CppType& x) {
108
    // In both Field and PODArray, small types may be stored as wider types,
109
    // e.g. char is stored as UInt64. Field can return this extended value
110
    // with get<StorageType>(). To avoid uninitialized results from get(),
111
    // we must initialize the entire wide stored type, and not just the
112
    // nominal type.
113
4.16M
    using StorageType = typename PrimitiveTypeTraits<Type>::CppType;
114
4.16M
    new (&storage) StorageType(x);
115
4.16M
    type = Type;
116
    DCHECK_NE(type, PrimitiveType::INVALID_TYPE);
117
4.16M
}
_ZN5doris5Field15create_concreteILNS_13PrimitiveTypeE42EEEvRKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeE
Line
Count
Source
107
40.8k
void Field::create_concrete(const typename PrimitiveTypeTraits<Type>::CppType& x) {
108
    // In both Field and PODArray, small types may be stored as wider types,
109
    // e.g. char is stored as UInt64. Field can return this extended value
110
    // with get<StorageType>(). To avoid uninitialized results from get(),
111
    // we must initialize the entire wide stored type, and not just the
112
    // nominal type.
113
40.8k
    using StorageType = typename PrimitiveTypeTraits<Type>::CppType;
114
40.8k
    new (&storage) StorageType(x);
115
40.8k
    type = Type;
116
    DCHECK_NE(type, PrimitiveType::INVALID_TYPE);
117
40.8k
}
_ZN5doris5Field15create_concreteILNS_13PrimitiveTypeE28EEEvRKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeE
Line
Count
Source
107
3.61M
void Field::create_concrete(const typename PrimitiveTypeTraits<Type>::CppType& x) {
108
    // In both Field and PODArray, small types may be stored as wider types,
109
    // e.g. char is stored as UInt64. Field can return this extended value
110
    // with get<StorageType>(). To avoid uninitialized results from get(),
111
    // we must initialize the entire wide stored type, and not just the
112
    // nominal type.
113
3.61M
    using StorageType = typename PrimitiveTypeTraits<Type>::CppType;
114
3.61M
    new (&storage) StorageType(x);
115
3.61M
    type = Type;
116
    DCHECK_NE(type, PrimitiveType::INVALID_TYPE);
117
3.61M
}
_ZN5doris5Field15create_concreteILNS_13PrimitiveTypeE29EEEvRKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeE
Line
Count
Source
107
3.62M
void Field::create_concrete(const typename PrimitiveTypeTraits<Type>::CppType& x) {
108
    // In both Field and PODArray, small types may be stored as wider types,
109
    // e.g. char is stored as UInt64. Field can return this extended value
110
    // with get<StorageType>(). To avoid uninitialized results from get(),
111
    // we must initialize the entire wide stored type, and not just the
112
    // nominal type.
113
3.62M
    using StorageType = typename PrimitiveTypeTraits<Type>::CppType;
114
3.62M
    new (&storage) StorageType(x);
115
3.62M
    type = Type;
116
    DCHECK_NE(type, PrimitiveType::INVALID_TYPE);
117
3.62M
}
_ZN5doris5Field15create_concreteILNS_13PrimitiveTypeE20EEEvRKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeE
Line
Count
Source
107
9.57k
void Field::create_concrete(const typename PrimitiveTypeTraits<Type>::CppType& x) {
108
    // In both Field and PODArray, small types may be stored as wider types,
109
    // e.g. char is stored as UInt64. Field can return this extended value
110
    // with get<StorageType>(). To avoid uninitialized results from get(),
111
    // we must initialize the entire wide stored type, and not just the
112
    // nominal type.
113
9.57k
    using StorageType = typename PrimitiveTypeTraits<Type>::CppType;
114
9.57k
    new (&storage) StorageType(x);
115
9.57k
    type = Type;
116
    DCHECK_NE(type, PrimitiveType::INVALID_TYPE);
117
9.57k
}
_ZN5doris5Field15create_concreteILNS_13PrimitiveTypeE30EEEvRKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeE
Line
Count
Source
107
3.52M
void Field::create_concrete(const typename PrimitiveTypeTraits<Type>::CppType& x) {
108
    // In both Field and PODArray, small types may be stored as wider types,
109
    // e.g. char is stored as UInt64. Field can return this extended value
110
    // with get<StorageType>(). To avoid uninitialized results from get(),
111
    // we must initialize the entire wide stored type, and not just the
112
    // nominal type.
113
3.52M
    using StorageType = typename PrimitiveTypeTraits<Type>::CppType;
114
3.52M
    new (&storage) StorageType(x);
115
3.52M
    type = Type;
116
    DCHECK_NE(type, PrimitiveType::INVALID_TYPE);
117
3.52M
}
_ZN5doris5Field15create_concreteILNS_13PrimitiveTypeE35EEEvRKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeE
Line
Count
Source
107
3.71M
void Field::create_concrete(const typename PrimitiveTypeTraits<Type>::CppType& x) {
108
    // In both Field and PODArray, small types may be stored as wider types,
109
    // e.g. char is stored as UInt64. Field can return this extended value
110
    // with get<StorageType>(). To avoid uninitialized results from get(),
111
    // we must initialize the entire wide stored type, and not just the
112
    // nominal type.
113
3.71M
    using StorageType = typename PrimitiveTypeTraits<Type>::CppType;
114
3.71M
    new (&storage) StorageType(x);
115
3.71M
    type = Type;
116
    DCHECK_NE(type, PrimitiveType::INVALID_TYPE);
117
3.71M
}
_ZN5doris5Field15create_concreteILNS_13PrimitiveTypeE15EEEvRKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeE
Line
Count
Source
107
4.29k
void Field::create_concrete(const typename PrimitiveTypeTraits<Type>::CppType& x) {
108
    // In both Field and PODArray, small types may be stored as wider types,
109
    // e.g. char is stored as UInt64. Field can return this extended value
110
    // with get<StorageType>(). To avoid uninitialized results from get(),
111
    // we must initialize the entire wide stored type, and not just the
112
    // nominal type.
113
4.29k
    using StorageType = typename PrimitiveTypeTraits<Type>::CppType;
114
4.29k
    new (&storage) StorageType(x);
115
4.29k
    type = Type;
116
    DCHECK_NE(type, PrimitiveType::INVALID_TYPE);
117
4.29k
}
_ZN5doris5Field15create_concreteILNS_13PrimitiveTypeE10EEEvRKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeE
Line
Count
Source
107
7.84M
void Field::create_concrete(const typename PrimitiveTypeTraits<Type>::CppType& x) {
108
    // In both Field and PODArray, small types may be stored as wider types,
109
    // e.g. char is stored as UInt64. Field can return this extended value
110
    // with get<StorageType>(). To avoid uninitialized results from get(),
111
    // we must initialize the entire wide stored type, and not just the
112
    // nominal type.
113
7.84M
    using StorageType = typename PrimitiveTypeTraits<Type>::CppType;
114
7.84M
    new (&storage) StorageType(x);
115
7.84M
    type = Type;
116
    DCHECK_NE(type, PrimitiveType::INVALID_TYPE);
117
7.84M
}
_ZN5doris5Field15create_concreteILNS_13PrimitiveTypeE23EEEvRKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeE
Line
Count
Source
107
8.73M
void Field::create_concrete(const typename PrimitiveTypeTraits<Type>::CppType& x) {
108
    // In both Field and PODArray, small types may be stored as wider types,
109
    // e.g. char is stored as UInt64. Field can return this extended value
110
    // with get<StorageType>(). To avoid uninitialized results from get(),
111
    // we must initialize the entire wide stored type, and not just the
112
    // nominal type.
113
8.73M
    using StorageType = typename PrimitiveTypeTraits<Type>::CppType;
114
8.73M
    new (&storage) StorageType(x);
115
8.73M
    type = Type;
116
    DCHECK_NE(type, PrimitiveType::INVALID_TYPE);
117
8.73M
}
_ZN5doris5Field15create_concreteILNS_13PrimitiveTypeE41EEEvRKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeE
Line
Count
Source
107
9
void Field::create_concrete(const typename PrimitiveTypeTraits<Type>::CppType& x) {
108
    // In both Field and PODArray, small types may be stored as wider types,
109
    // e.g. char is stored as UInt64. Field can return this extended value
110
    // with get<StorageType>(). To avoid uninitialized results from get(),
111
    // we must initialize the entire wide stored type, and not just the
112
    // nominal type.
113
9
    using StorageType = typename PrimitiveTypeTraits<Type>::CppType;
114
9
    new (&storage) StorageType(x);
115
9
    type = Type;
116
    DCHECK_NE(type, PrimitiveType::INVALID_TYPE);
117
9
}
_ZN5doris5Field15create_concreteILNS_13PrimitiveTypeE19EEEvRKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeE
Line
Count
Source
107
404
void Field::create_concrete(const typename PrimitiveTypeTraits<Type>::CppType& x) {
108
    // In both Field and PODArray, small types may be stored as wider types,
109
    // e.g. char is stored as UInt64. Field can return this extended value
110
    // with get<StorageType>(). To avoid uninitialized results from get(),
111
    // we must initialize the entire wide stored type, and not just the
112
    // nominal type.
113
404
    using StorageType = typename PrimitiveTypeTraits<Type>::CppType;
114
404
    new (&storage) StorageType(x);
115
404
    type = Type;
116
    DCHECK_NE(type, PrimitiveType::INVALID_TYPE);
117
404
}
_ZN5doris5Field15create_concreteILNS_13PrimitiveTypeE32EEEvRKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeE
Line
Count
Source
107
49
void Field::create_concrete(const typename PrimitiveTypeTraits<Type>::CppType& x) {
108
    // In both Field and PODArray, small types may be stored as wider types,
109
    // e.g. char is stored as UInt64. Field can return this extended value
110
    // with get<StorageType>(). To avoid uninitialized results from get(),
111
    // we must initialize the entire wide stored type, and not just the
112
    // nominal type.
113
49
    using StorageType = typename PrimitiveTypeTraits<Type>::CppType;
114
49
    new (&storage) StorageType(x);
115
49
    type = Type;
116
    DCHECK_NE(type, PrimitiveType::INVALID_TYPE);
117
49
}
_ZN5doris5Field15create_concreteILNS_13PrimitiveTypeE24EEEvRKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeE
Line
Count
Source
107
22.3k
void Field::create_concrete(const typename PrimitiveTypeTraits<Type>::CppType& x) {
108
    // In both Field and PODArray, small types may be stored as wider types,
109
    // e.g. char is stored as UInt64. Field can return this extended value
110
    // with get<StorageType>(). To avoid uninitialized results from get(),
111
    // we must initialize the entire wide stored type, and not just the
112
    // nominal type.
113
22.3k
    using StorageType = typename PrimitiveTypeTraits<Type>::CppType;
114
22.3k
    new (&storage) StorageType(x);
115
22.3k
    type = Type;
116
    DCHECK_NE(type, PrimitiveType::INVALID_TYPE);
117
22.3k
}
_ZN5doris5Field15create_concreteILNS_13PrimitiveTypeE17EEEvRKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeE
Line
Count
Source
107
92.9M
void Field::create_concrete(const typename PrimitiveTypeTraits<Type>::CppType& x) {
108
    // In both Field and PODArray, small types may be stored as wider types,
109
    // e.g. char is stored as UInt64. Field can return this extended value
110
    // with get<StorageType>(). To avoid uninitialized results from get(),
111
    // we must initialize the entire wide stored type, and not just the
112
    // nominal type.
113
92.9M
    using StorageType = typename PrimitiveTypeTraits<Type>::CppType;
114
92.9M
    new (&storage) StorageType(x);
115
92.9M
    type = Type;
116
    DCHECK_NE(type, PrimitiveType::INVALID_TYPE);
117
92.9M
}
_ZN5doris5Field15create_concreteILNS_13PrimitiveTypeE36EEEvRKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeE
Line
Count
Source
107
63.8k
void Field::create_concrete(const typename PrimitiveTypeTraits<Type>::CppType& x) {
108
    // In both Field and PODArray, small types may be stored as wider types,
109
    // e.g. char is stored as UInt64. Field can return this extended value
110
    // with get<StorageType>(). To avoid uninitialized results from get(),
111
    // we must initialize the entire wide stored type, and not just the
112
    // nominal type.
113
63.8k
    using StorageType = typename PrimitiveTypeTraits<Type>::CppType;
114
63.8k
    new (&storage) StorageType(x);
115
63.8k
    type = Type;
116
    DCHECK_NE(type, PrimitiveType::INVALID_TYPE);
117
63.8k
}
_ZN5doris5Field15create_concreteILNS_13PrimitiveTypeE37EEEvRKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeE
Line
Count
Source
107
45.3k
void Field::create_concrete(const typename PrimitiveTypeTraits<Type>::CppType& x) {
108
    // In both Field and PODArray, small types may be stored as wider types,
109
    // e.g. char is stored as UInt64. Field can return this extended value
110
    // with get<StorageType>(). To avoid uninitialized results from get(),
111
    // we must initialize the entire wide stored type, and not just the
112
    // nominal type.
113
45.3k
    using StorageType = typename PrimitiveTypeTraits<Type>::CppType;
114
45.3k
    new (&storage) StorageType(x);
115
45.3k
    type = Type;
116
    DCHECK_NE(type, PrimitiveType::INVALID_TYPE);
117
45.3k
}
_ZN5doris5Field15create_concreteILNS_13PrimitiveTypeE2EEEvRKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeE
Line
Count
Source
107
4.02M
void Field::create_concrete(const typename PrimitiveTypeTraits<Type>::CppType& x) {
108
    // In both Field and PODArray, small types may be stored as wider types,
109
    // e.g. char is stored as UInt64. Field can return this extended value
110
    // with get<StorageType>(). To avoid uninitialized results from get(),
111
    // we must initialize the entire wide stored type, and not just the
112
    // nominal type.
113
4.02M
    using StorageType = typename PrimitiveTypeTraits<Type>::CppType;
114
4.02M
    new (&storage) StorageType(x);
115
4.02M
    type = Type;
116
    DCHECK_NE(type, PrimitiveType::INVALID_TYPE);
117
4.02M
}
_ZN5doris5Field15create_concreteILNS_13PrimitiveTypeE8EEEvRKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeE
Line
Count
Source
107
3.51M
void Field::create_concrete(const typename PrimitiveTypeTraits<Type>::CppType& x) {
108
    // In both Field and PODArray, small types may be stored as wider types,
109
    // e.g. char is stored as UInt64. Field can return this extended value
110
    // with get<StorageType>(). To avoid uninitialized results from get(),
111
    // we must initialize the entire wide stored type, and not just the
112
    // nominal type.
113
3.51M
    using StorageType = typename PrimitiveTypeTraits<Type>::CppType;
114
3.51M
    new (&storage) StorageType(x);
115
3.51M
    type = Type;
116
    DCHECK_NE(type, PrimitiveType::INVALID_TYPE);
117
3.51M
}
_ZN5doris5Field15create_concreteILNS_13PrimitiveTypeE9EEEvRKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeE
Line
Count
Source
107
4.16M
void Field::create_concrete(const typename PrimitiveTypeTraits<Type>::CppType& x) {
108
    // In both Field and PODArray, small types may be stored as wider types,
109
    // e.g. char is stored as UInt64. Field can return this extended value
110
    // with get<StorageType>(). To avoid uninitialized results from get(),
111
    // we must initialize the entire wide stored type, and not just the
112
    // nominal type.
113
4.16M
    using StorageType = typename PrimitiveTypeTraits<Type>::CppType;
114
4.16M
    new (&storage) StorageType(x);
115
4.16M
    type = Type;
116
    DCHECK_NE(type, PrimitiveType::INVALID_TYPE);
117
4.16M
}
_ZN5doris5Field15create_concreteILNS_13PrimitiveTypeE31EEEvRKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeE
Line
Count
Source
107
2.46M
void Field::create_concrete(const typename PrimitiveTypeTraits<Type>::CppType& x) {
108
    // In both Field and PODArray, small types may be stored as wider types,
109
    // e.g. char is stored as UInt64. Field can return this extended value
110
    // with get<StorageType>(). To avoid uninitialized results from get(),
111
    // we must initialize the entire wide stored type, and not just the
112
    // nominal type.
113
2.46M
    using StorageType = typename PrimitiveTypeTraits<Type>::CppType;
114
2.46M
    new (&storage) StorageType(x);
115
2.46M
    type = Type;
116
    DCHECK_NE(type, PrimitiveType::INVALID_TYPE);
117
2.46M
}
_ZN5doris5Field15create_concreteILNS_13PrimitiveTypeE16EEEvRKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeE
Line
Count
Source
107
3.04M
void Field::create_concrete(const typename PrimitiveTypeTraits<Type>::CppType& x) {
108
    // In both Field and PODArray, small types may be stored as wider types,
109
    // e.g. char is stored as UInt64. Field can return this extended value
110
    // with get<StorageType>(). To avoid uninitialized results from get(),
111
    // we must initialize the entire wide stored type, and not just the
112
    // nominal type.
113
3.04M
    using StorageType = typename PrimitiveTypeTraits<Type>::CppType;
114
3.04M
    new (&storage) StorageType(x);
115
3.04M
    type = Type;
116
    DCHECK_NE(type, PrimitiveType::INVALID_TYPE);
117
3.04M
}
_ZN5doris5Field15create_concreteILNS_13PrimitiveTypeE18EEEvRKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeE
Line
Count
Source
107
13.2M
void Field::create_concrete(const typename PrimitiveTypeTraits<Type>::CppType& x) {
108
    // In both Field and PODArray, small types may be stored as wider types,
109
    // e.g. char is stored as UInt64. Field can return this extended value
110
    // with get<StorageType>(). To avoid uninitialized results from get(),
111
    // we must initialize the entire wide stored type, and not just the
112
    // nominal type.
113
13.2M
    using StorageType = typename PrimitiveTypeTraits<Type>::CppType;
114
13.2M
    new (&storage) StorageType(x);
115
13.2M
    type = Type;
116
    DCHECK_NE(type, PrimitiveType::INVALID_TYPE);
117
13.2M
}
_ZN5doris5Field15create_concreteILNS_13PrimitiveTypeE22EEEvRKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeE
Line
Count
Source
107
2.42k
void Field::create_concrete(const typename PrimitiveTypeTraits<Type>::CppType& x) {
108
    // In both Field and PODArray, small types may be stored as wider types,
109
    // e.g. char is stored as UInt64. Field can return this extended value
110
    // with get<StorageType>(). To avoid uninitialized results from get(),
111
    // we must initialize the entire wide stored type, and not just the
112
    // nominal type.
113
2.42k
    using StorageType = typename PrimitiveTypeTraits<Type>::CppType;
114
2.42k
    new (&storage) StorageType(x);
115
2.42k
    type = Type;
116
    DCHECK_NE(type, PrimitiveType::INVALID_TYPE);
117
2.42k
}
_ZN5doris5Field15create_concreteILNS_13PrimitiveTypeE27EEEvRKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeE
Line
Count
Source
107
136
void Field::create_concrete(const typename PrimitiveTypeTraits<Type>::CppType& x) {
108
    // In both Field and PODArray, small types may be stored as wider types,
109
    // e.g. char is stored as UInt64. Field can return this extended value
110
    // with get<StorageType>(). To avoid uninitialized results from get(),
111
    // we must initialize the entire wide stored type, and not just the
112
    // nominal type.
113
136
    using StorageType = typename PrimitiveTypeTraits<Type>::CppType;
114
136
    new (&storage) StorageType(x);
115
136
    type = Type;
116
    DCHECK_NE(type, PrimitiveType::INVALID_TYPE);
117
136
}
Unexecuted instantiation: _ZN5doris5Field15create_concreteILNS_13PrimitiveTypeE38EEEvRKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeE
Unexecuted instantiation: _ZN5doris5Field15create_concreteILNS_13PrimitiveTypeE39EEEvRKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeE
118
119
118M
void Field::create(Field&& field) {
120
118M
    switch (field.type) {
121
542k
    case PrimitiveType::TYPE_NULL:
122
542k
        create_concrete<TYPE_NULL>(std::move(field.template get<TYPE_NULL>()));
123
542k
        return;
124
2.49M
    case PrimitiveType::TYPE_DATETIMEV2:
125
2.49M
        create_concrete<TYPE_DATETIMEV2>(std::move(field.template get<TYPE_DATETIMEV2>()));
126
2.49M
        return;
127
523k
    case PrimitiveType::TYPE_DATEV2:
128
523k
        create_concrete<TYPE_DATEV2>(std::move(field.template get<TYPE_DATEV2>()));
129
523k
        return;
130
40.2k
    case PrimitiveType::TYPE_TIMESTAMPTZ:
131
40.2k
        create_concrete<TYPE_TIMESTAMPTZ>(std::move(field.template get<TYPE_TIMESTAMPTZ>()));
132
40.2k
        return;
133
26.0k
    case PrimitiveType::TYPE_DATETIME:
134
26.0k
        create_concrete<TYPE_DATETIME>(std::move(field.template get<TYPE_DATETIME>()));
135
26.0k
        return;
136
20.0k
    case PrimitiveType::TYPE_DATE:
137
20.0k
        create_concrete<TYPE_DATE>(std::move(field.template get<TYPE_DATE>()));
138
20.0k
        return;
139
1.01M
    case PrimitiveType::TYPE_BOOLEAN:
140
1.01M
        create_concrete<TYPE_BOOLEAN>(std::move(field.template get<TYPE_BOOLEAN>()));
141
1.01M
        return;
142
5.24M
    case PrimitiveType::TYPE_TINYINT:
143
5.24M
        create_concrete<TYPE_TINYINT>(std::move(field.template get<TYPE_TINYINT>()));
144
5.24M
        return;
145
151k
    case PrimitiveType::TYPE_SMALLINT:
146
151k
        create_concrete<TYPE_SMALLINT>(std::move(field.template get<TYPE_SMALLINT>()));
147
151k
        return;
148
23.3M
    case PrimitiveType::TYPE_INT:
149
23.3M
        create_concrete<TYPE_INT>(std::move(field.template get<TYPE_INT>()));
150
23.3M
        return;
151
30.9M
    case PrimitiveType::TYPE_BIGINT:
152
30.9M
        create_concrete<TYPE_BIGINT>(std::move(field.template get<TYPE_BIGINT>()));
153
30.9M
        return;
154
201k
    case PrimitiveType::TYPE_LARGEINT:
155
201k
        create_concrete<TYPE_LARGEINT>(std::move(field.template get<TYPE_LARGEINT>()));
156
201k
        return;
157
44.6k
    case PrimitiveType::TYPE_IPV4:
158
44.6k
        create_concrete<TYPE_IPV4>(std::move(field.template get<TYPE_IPV4>()));
159
44.6k
        return;
160
32.7k
    case PrimitiveType::TYPE_IPV6:
161
32.7k
        create_concrete<TYPE_IPV6>(std::move(field.template get<TYPE_IPV6>()));
162
32.7k
        return;
163
97.6k
    case PrimitiveType::TYPE_FLOAT:
164
97.6k
        create_concrete<TYPE_FLOAT>(std::move(field.template get<TYPE_FLOAT>()));
165
97.6k
        return;
166
123
    case PrimitiveType::TYPE_TIMEV2:
167
123
        create_concrete<TYPE_TIMEV2>(std::move(field.template get<TYPE_TIMEV2>()));
168
123
        return;
169
3.52M
    case PrimitiveType::TYPE_DOUBLE:
170
3.52M
        create_concrete<TYPE_DOUBLE>(std::move(field.template get<TYPE_DOUBLE>()));
171
3.52M
        return;
172
40.9M
    case PrimitiveType::TYPE_STRING:
173
40.9M
        create_concrete<TYPE_STRING>(std::move(field.template get<TYPE_STRING>()));
174
40.9M
        return;
175
53.2k
    case PrimitiveType::TYPE_CHAR:
176
53.2k
        create_concrete<TYPE_CHAR>(std::move(field.template get<TYPE_CHAR>()));
177
53.2k
        return;
178
983k
    case PrimitiveType::TYPE_VARCHAR:
179
983k
        create_concrete<TYPE_VARCHAR>(std::move(field.template get<TYPE_VARCHAR>()));
180
983k
        return;
181
2.81M
    case PrimitiveType::TYPE_JSONB:
182
2.81M
        create_concrete<TYPE_JSONB>(std::move(field.template get<TYPE_JSONB>()));
183
2.81M
        return;
184
5.02M
    case PrimitiveType::TYPE_ARRAY:
185
5.02M
        create_concrete<TYPE_ARRAY>(std::move(field.template get<TYPE_ARRAY>()));
186
5.02M
        return;
187
5.33k
    case PrimitiveType::TYPE_STRUCT:
188
5.33k
        create_concrete<TYPE_STRUCT>(std::move(field.template get<TYPE_STRUCT>()));
189
5.33k
        return;
190
12.3k
    case PrimitiveType::TYPE_MAP:
191
12.3k
        create_concrete<TYPE_MAP>(std::move(field.template get<TYPE_MAP>()));
192
12.3k
        return;
193
73.0k
    case PrimitiveType::TYPE_DECIMAL32:
194
73.0k
        create_concrete<TYPE_DECIMAL32>(std::move(field.template get<TYPE_DECIMAL32>()));
195
73.0k
        return;
196
133k
    case PrimitiveType::TYPE_DECIMAL64:
197
133k
        create_concrete<TYPE_DECIMAL64>(std::move(field.template get<TYPE_DECIMAL64>()));
198
133k
        return;
199
6.74k
    case PrimitiveType::TYPE_DECIMALV2:
200
6.74k
        create_concrete<TYPE_DECIMALV2>(std::move(field.template get<TYPE_DECIMALV2>()));
201
6.74k
        return;
202
246k
    case PrimitiveType::TYPE_DECIMAL128I:
203
246k
        create_concrete<TYPE_DECIMAL128I>(std::move(field.template get<TYPE_DECIMAL128I>()));
204
246k
        return;
205
50.2k
    case PrimitiveType::TYPE_DECIMAL256:
206
50.2k
        create_concrete<TYPE_DECIMAL256>(std::move(field.template get<TYPE_DECIMAL256>()));
207
50.2k
        return;
208
160k
    case PrimitiveType::TYPE_VARIANT:
209
160k
        create_concrete<TYPE_VARIANT>(std::move(field.template get<TYPE_VARIANT>()));
210
160k
        return;
211
42
    case PrimitiveType::TYPE_BITMAP:
212
42
        create_concrete<TYPE_BITMAP>(std::move(field.template get<TYPE_BITMAP>()));
213
42
        return;
214
4
    case PrimitiveType::TYPE_HLL:
215
4
        create_concrete<TYPE_HLL>(std::move(field.template get<TYPE_HLL>()));
216
4
        return;
217
2
    case PrimitiveType::TYPE_QUANTILE_STATE:
218
2
        create_concrete<TYPE_QUANTILE_STATE>(std::move(field.template get<TYPE_QUANTILE_STATE>()));
219
2
        return;
220
18
    case PrimitiveType::TYPE_VARBINARY:
221
18
        create_concrete<TYPE_VARBINARY>(std::move(field.template get<TYPE_VARBINARY>()));
222
18
        return;
223
0
    default:
224
0
        throw Exception(Status::FatalError("type not supported, type={}", field.get_type_name()));
225
118M
    }
226
118M
}
227
228
223M
Field::Field(const Field& rhs) {
229
223M
    create(rhs);
230
223M
}
231
232
38.9M
Field::Field(Field&& rhs) {
233
38.9M
    create(std::move(rhs));
234
38.9M
}
235
236
7.84M
Field& Field::operator=(const Field& rhs) {
237
7.84M
    if (this != &rhs) {
238
7.84M
        if (type != rhs.type) {
239
6.45M
            destroy();
240
6.45M
            create(rhs);
241
6.45M
        } else {
242
1.38M
            assign(rhs); /// This assigns string or vector without deallocation of existing buffer.
243
1.38M
        }
244
7.84M
    }
245
7.84M
    return *this;
246
7.84M
}
247
248
229M
void Field::create(const Field& field) {
249
229M
    switch (field.type) {
250
39.5M
    case PrimitiveType::TYPE_NULL:
251
39.5M
        create_concrete<TYPE_NULL>(field.template get<TYPE_NULL>());
252
39.5M
        return;
253
4.05M
    case PrimitiveType::TYPE_DATETIMEV2:
254
4.05M
        create_concrete<TYPE_DATETIMEV2>(field.template get<TYPE_DATETIMEV2>());
255
4.05M
        return;
256
4.46M
    case PrimitiveType::TYPE_DATEV2:
257
4.46M
        create_concrete<TYPE_DATEV2>(field.template get<TYPE_DATEV2>());
258
4.46M
        return;
259
24.6k
    case PrimitiveType::TYPE_TIMESTAMPTZ:
260
24.6k
        create_concrete<TYPE_TIMESTAMPTZ>(field.template get<TYPE_TIMESTAMPTZ>());
261
24.6k
        return;
262
3.32M
    case PrimitiveType::TYPE_DATETIME:
263
3.32M
        create_concrete<TYPE_DATETIME>(field.template get<TYPE_DATETIME>());
264
3.32M
        return;
265
3.38M
    case PrimitiveType::TYPE_DATE:
266
3.38M
        create_concrete<TYPE_DATE>(field.template get<TYPE_DATE>());
267
3.38M
        return;
268
3.94M
    case PrimitiveType::TYPE_BOOLEAN:
269
3.94M
        create_concrete<TYPE_BOOLEAN>(field.template get<TYPE_BOOLEAN>());
270
3.94M
        return;
271
4.72M
    case PrimitiveType::TYPE_TINYINT:
272
4.72M
        create_concrete<TYPE_TINYINT>(field.template get<TYPE_TINYINT>());
273
4.72M
        return;
274
3.96M
    case PrimitiveType::TYPE_SMALLINT:
275
3.96M
        create_concrete<TYPE_SMALLINT>(field.template get<TYPE_SMALLINT>());
276
3.96M
        return;
277
900k
    case PrimitiveType::TYPE_INT:
278
900k
        create_concrete<TYPE_INT>(field.template get<TYPE_INT>());
279
900k
        return;
280
9.44M
    case PrimitiveType::TYPE_BIGINT:
281
9.44M
        create_concrete<TYPE_BIGINT>(field.template get<TYPE_BIGINT>());
282
9.44M
        return;
283
3.21M
    case PrimitiveType::TYPE_LARGEINT:
284
3.21M
        create_concrete<TYPE_LARGEINT>(field.template get<TYPE_LARGEINT>());
285
3.21M
        return;
286
28.0k
    case PrimitiveType::TYPE_IPV4:
287
28.0k
        create_concrete<TYPE_IPV4>(field.template get<TYPE_IPV4>());
288
28.0k
        return;
289
18.6k
    case PrimitiveType::TYPE_IPV6:
290
18.6k
        create_concrete<TYPE_IPV6>(field.template get<TYPE_IPV6>());
291
18.6k
        return;
292
3.47M
    case PrimitiveType::TYPE_FLOAT:
293
3.47M
        create_concrete<TYPE_FLOAT>(field.template get<TYPE_FLOAT>());
294
3.47M
        return;
295
8
    case PrimitiveType::TYPE_TIMEV2:
296
8
        create_concrete<TYPE_TIMEV2>(field.template get<TYPE_TIMEV2>());
297
8
        return;
298
3.98M
    case PrimitiveType::TYPE_DOUBLE:
299
3.98M
        create_concrete<TYPE_DOUBLE>(field.template get<TYPE_DOUBLE>());
300
3.98M
        return;
301
7.82M
    case PrimitiveType::TYPE_STRING:
302
7.82M
        create_concrete<TYPE_STRING>(field.template get<TYPE_STRING>());
303
7.82M
        return;
304
3.31k
    case PrimitiveType::TYPE_CHAR:
305
3.31k
        create_concrete<TYPE_CHAR>(field.template get<TYPE_CHAR>());
306
3.31k
        return;
307
7.50M
    case PrimitiveType::TYPE_VARCHAR:
308
7.50M
        create_concrete<TYPE_VARCHAR>(field.template get<TYPE_VARCHAR>());
309
7.50M
        return;
310
2.46M
    case PrimitiveType::TYPE_JSONB:
311
2.46M
        create_concrete<TYPE_JSONB>(field.template get<TYPE_JSONB>());
312
2.46M
        return;
313
92.8M
    case PrimitiveType::TYPE_ARRAY:
314
92.8M
        create_concrete<TYPE_ARRAY>(field.template get<TYPE_ARRAY>());
315
92.8M
        return;
316
3.04M
    case PrimitiveType::TYPE_STRUCT:
317
3.04M
        create_concrete<TYPE_STRUCT>(field.template get<TYPE_STRUCT>());
318
3.04M
        return;
319
13.2M
    case PrimitiveType::TYPE_MAP:
320
13.2M
        create_concrete<TYPE_MAP>(field.template get<TYPE_MAP>());
321
13.2M
        return;
322
3.59M
    case PrimitiveType::TYPE_DECIMAL32:
323
3.59M
        create_concrete<TYPE_DECIMAL32>(field.template get<TYPE_DECIMAL32>());
324
3.59M
        return;
325
3.59M
    case PrimitiveType::TYPE_DECIMAL64:
326
3.59M
        create_concrete<TYPE_DECIMAL64>(field.template get<TYPE_DECIMAL64>());
327
3.59M
        return;
328
799
    case PrimitiveType::TYPE_DECIMALV2:
329
799
        create_concrete<TYPE_DECIMALV2>(field.template get<TYPE_DECIMALV2>());
330
799
        return;
331
3.49M
    case PrimitiveType::TYPE_DECIMAL128I:
332
3.49M
        create_concrete<TYPE_DECIMAL128I>(field.template get<TYPE_DECIMAL128I>());
333
3.49M
        return;
334
3.67M
    case PrimitiveType::TYPE_DECIMAL256:
335
3.67M
        create_concrete<TYPE_DECIMAL256>(field.template get<TYPE_DECIMAL256>());
336
3.67M
        return;
337
46
    case PrimitiveType::TYPE_VARIANT:
338
46
        create_concrete<TYPE_VARIANT>(field.template get<TYPE_VARIANT>());
339
46
        return;
340
0
    case PrimitiveType::TYPE_BITMAP:
341
0
        create_concrete<TYPE_BITMAP>(field.template get<TYPE_BITMAP>());
342
0
        return;
343
0
    case PrimitiveType::TYPE_HLL:
344
0
        create_concrete<TYPE_HLL>(field.template get<TYPE_HLL>());
345
0
        return;
346
0
    case PrimitiveType::TYPE_QUANTILE_STATE:
347
0
        create_concrete<TYPE_QUANTILE_STATE>(field.template get<TYPE_QUANTILE_STATE>());
348
0
        return;
349
0
    case PrimitiveType::TYPE_UINT32:
350
0
        create_concrete<TYPE_UINT32>(field.template get<TYPE_UINT32>());
351
0
        return;
352
0
    case PrimitiveType::TYPE_UINT64:
353
0
        create_concrete<TYPE_UINT64>(field.template get<TYPE_UINT64>());
354
0
        return;
355
0
    case PrimitiveType::TYPE_VARBINARY:
356
0
        create_concrete<TYPE_VARBINARY>(field.template get<TYPE_VARBINARY>());
357
0
        return;
358
0
    default:
359
0
        throw Exception(Status::FatalError("type not supported, type={}", field.get_type_name()));
360
229M
    }
361
229M
}
362
363
643M
void Field::destroy() {
364
643M
    switch (type) {
365
84.9M
    case PrimitiveType::TYPE_STRING:
366
84.9M
        destroy<TYPE_STRING>();
367
84.9M
        break;
368
145k
    case PrimitiveType::TYPE_CHAR:
369
145k
        destroy<TYPE_CHAR>();
370
145k
        break;
371
9.79M
    case PrimitiveType::TYPE_VARCHAR:
372
9.79M
        destroy<TYPE_VARCHAR>();
373
9.79M
        break;
374
7.81M
    case PrimitiveType::TYPE_JSONB:
375
7.81M
        destroy<TYPE_JSONB>();
376
7.81M
        break;
377
100M
    case PrimitiveType::TYPE_ARRAY:
378
100M
        destroy<TYPE_ARRAY>();
379
100M
        break;
380
3.06M
    case PrimitiveType::TYPE_STRUCT:
381
3.06M
        destroy<TYPE_STRUCT>();
382
3.06M
        break;
383
13.2M
    case PrimitiveType::TYPE_MAP:
384
13.2M
        destroy<TYPE_MAP>();
385
13.2M
        break;
386
327k
    case PrimitiveType::TYPE_VARIANT:
387
327k
        destroy<TYPE_VARIANT>();
388
327k
        break;
389
2.55k
    case PrimitiveType::TYPE_BITMAP:
390
2.55k
        destroy<TYPE_BITMAP>();
391
2.55k
        break;
392
418
    case PrimitiveType::TYPE_HLL:
393
418
        destroy<TYPE_HLL>();
394
418
        break;
395
22.3k
    case PrimitiveType::TYPE_QUANTILE_STATE:
396
22.3k
        destroy<TYPE_QUANTILE_STATE>();
397
22.3k
        break;
398
49
    case PrimitiveType::TYPE_VARBINARY:
399
49
        destroy<TYPE_VARBINARY>();
400
49
        break;
401
426M
    default:
402
426M
        break;
403
643M
    }
404
405
643M
    type = PrimitiveType::
406
643M
            TYPE_NULL; /// for exception safety in subsequent calls to destroy and create, when create fails.
407
643M
}
408
409
25.5M
void Field::assign(Field&& field) {
410
25.5M
    switch (field.type) {
411
23.3M
    case PrimitiveType::TYPE_NULL:
412
23.3M
        assign_concrete<TYPE_NULL>(std::move(field.template get<TYPE_NULL>()));
413
23.3M
        return;
414
62.9k
    case PrimitiveType::TYPE_DATETIMEV2:
415
62.9k
        assign_concrete<TYPE_DATETIMEV2>(std::move(field.template get<TYPE_DATETIMEV2>()));
416
62.9k
        return;
417
856
    case PrimitiveType::TYPE_DATETIME:
418
856
        assign_concrete<TYPE_DATETIME>(std::move(field.template get<TYPE_DATETIME>()));
419
856
        return;
420
450
    case PrimitiveType::TYPE_DATE:
421
450
        assign_concrete<TYPE_DATE>(std::move(field.template get<TYPE_DATE>()));
422
450
        return;
423
60.2k
    case PrimitiveType::TYPE_DATEV2:
424
60.2k
        assign_concrete<TYPE_DATEV2>(std::move(field.template get<TYPE_DATEV2>()));
425
60.2k
        return;
426
6.49k
    case PrimitiveType::TYPE_TIMESTAMPTZ:
427
6.49k
        assign_concrete<TYPE_TIMESTAMPTZ>(std::move(field.template get<TYPE_TIMESTAMPTZ>()));
428
6.49k
        return;
429
19.2k
    case PrimitiveType::TYPE_BOOLEAN:
430
19.2k
        assign_concrete<TYPE_BOOLEAN>(std::move(field.template get<TYPE_BOOLEAN>()));
431
19.2k
        return;
432
73.9k
    case PrimitiveType::TYPE_TINYINT:
433
73.9k
        assign_concrete<TYPE_TINYINT>(std::move(field.template get<TYPE_TINYINT>()));
434
73.9k
        return;
435
22.9k
    case PrimitiveType::TYPE_SMALLINT:
436
22.9k
        assign_concrete<TYPE_SMALLINT>(std::move(field.template get<TYPE_SMALLINT>()));
437
22.9k
        return;
438
837k
    case PrimitiveType::TYPE_INT:
439
837k
        assign_concrete<TYPE_INT>(std::move(field.template get<TYPE_INT>()));
440
837k
        return;
441
271k
    case PrimitiveType::TYPE_BIGINT:
442
271k
        assign_concrete<TYPE_BIGINT>(std::move(field.template get<TYPE_BIGINT>()));
443
271k
        return;
444
33.7k
    case PrimitiveType::TYPE_LARGEINT:
445
33.7k
        assign_concrete<TYPE_LARGEINT>(std::move(field.template get<TYPE_LARGEINT>()));
446
33.7k
        return;
447
1.16k
    case PrimitiveType::TYPE_IPV4:
448
1.16k
        assign_concrete<TYPE_IPV4>(std::move(field.template get<TYPE_IPV4>()));
449
1.16k
        return;
450
977
    case PrimitiveType::TYPE_IPV6:
451
977
        assign_concrete<TYPE_IPV6>(std::move(field.template get<TYPE_IPV6>()));
452
977
        return;
453
13.3k
    case PrimitiveType::TYPE_FLOAT:
454
13.3k
        assign_concrete<TYPE_FLOAT>(std::move(field.template get<TYPE_FLOAT>()));
455
13.3k
        return;
456
0
    case PrimitiveType::TYPE_TIMEV2:
457
0
        assign_concrete<TYPE_TIMEV2>(std::move(field.template get<TYPE_TIMEV2>()));
458
0
        return;
459
19.7k
    case PrimitiveType::TYPE_DOUBLE:
460
19.7k
        assign_concrete<TYPE_DOUBLE>(std::move(field.template get<TYPE_DOUBLE>()));
461
19.7k
        return;
462
157k
    case PrimitiveType::TYPE_STRING:
463
157k
        assign_concrete<TYPE_STRING>(std::move(field.template get<TYPE_STRING>()));
464
157k
        return;
465
34.5k
    case PrimitiveType::TYPE_CHAR:
466
34.5k
        assign_concrete<TYPE_CHAR>(std::move(field.template get<TYPE_CHAR>()));
467
34.5k
        return;
468
269k
    case PrimitiveType::TYPE_VARCHAR:
469
269k
        assign_concrete<TYPE_VARCHAR>(std::move(field.template get<TYPE_VARCHAR>()));
470
269k
        return;
471
207k
    case PrimitiveType::TYPE_JSONB:
472
207k
        assign_concrete<TYPE_JSONB>(std::move(field.template get<TYPE_JSONB>()));
473
207k
        return;
474
28.8k
    case PrimitiveType::TYPE_ARRAY:
475
28.8k
        assign_concrete<TYPE_ARRAY>(std::move(field.template get<TYPE_ARRAY>()));
476
28.8k
        return;
477
0
    case PrimitiveType::TYPE_STRUCT:
478
0
        assign_concrete<TYPE_STRUCT>(std::move(field.template get<TYPE_STRUCT>()));
479
0
        return;
480
1
    case PrimitiveType::TYPE_MAP:
481
1
        assign_concrete<TYPE_MAP>(std::move(field.template get<TYPE_MAP>()));
482
1
        return;
483
6.50k
    case PrimitiveType::TYPE_DECIMAL32:
484
6.50k
        assign_concrete<TYPE_DECIMAL32>(std::move(field.template get<TYPE_DECIMAL32>()));
485
6.50k
        return;
486
32.1k
    case PrimitiveType::TYPE_DECIMAL64:
487
32.1k
        assign_concrete<TYPE_DECIMAL64>(std::move(field.template get<TYPE_DECIMAL64>()));
488
32.1k
        return;
489
142
    case PrimitiveType::TYPE_DECIMALV2:
490
142
        assign_concrete<TYPE_DECIMALV2>(std::move(field.template get<TYPE_DECIMALV2>()));
491
142
        return;
492
20.5k
    case PrimitiveType::TYPE_DECIMAL128I:
493
20.5k
        assign_concrete<TYPE_DECIMAL128I>(std::move(field.template get<TYPE_DECIMAL128I>()));
494
20.5k
        return;
495
1.05k
    case PrimitiveType::TYPE_DECIMAL256:
496
1.05k
        assign_concrete<TYPE_DECIMAL256>(std::move(field.template get<TYPE_DECIMAL256>()));
497
1.05k
        return;
498
67
    case PrimitiveType::TYPE_VARIANT:
499
67
        assign_concrete<TYPE_VARIANT>(std::move(field.template get<TYPE_VARIANT>()));
500
67
        return;
501
38
    case PrimitiveType::TYPE_BITMAP:
502
38
        assign_concrete<TYPE_BITMAP>(std::move(field.template get<TYPE_BITMAP>()));
503
38
        return;
504
1
    case PrimitiveType::TYPE_HLL:
505
1
        assign_concrete<TYPE_HLL>(std::move(field.template get<TYPE_HLL>()));
506
1
        return;
507
1
    case PrimitiveType::TYPE_QUANTILE_STATE:
508
1
        assign_concrete<TYPE_QUANTILE_STATE>(std::move(field.template get<TYPE_QUANTILE_STATE>()));
509
1
        return;
510
0
    case PrimitiveType::TYPE_VARBINARY:
511
0
        assign_concrete<TYPE_VARBINARY>(std::move(field.template get<TYPE_VARBINARY>()));
512
0
        return;
513
0
    default:
514
0
        throw Exception(Status::FatalError("type not supported, type={}", field.get_type_name()));
515
25.5M
    }
516
25.5M
}
517
518
1.38M
void Field::assign(const Field& field) {
519
1.38M
    switch (field.type) {
520
179k
    case PrimitiveType::TYPE_NULL:
521
179k
        assign_concrete<TYPE_NULL>(field.template get<TYPE_NULL>());
522
179k
        return;
523
61.7k
    case PrimitiveType::TYPE_DATETIMEV2:
524
61.7k
        assign_concrete<TYPE_DATETIMEV2>(field.template get<TYPE_DATETIMEV2>());
525
61.7k
        return;
526
525
    case PrimitiveType::TYPE_DATETIME:
527
525
        assign_concrete<TYPE_DATETIME>(field.template get<TYPE_DATETIME>());
528
525
        return;
529
382
    case PrimitiveType::TYPE_DATE:
530
382
        assign_concrete<TYPE_DATE>(field.template get<TYPE_DATE>());
531
382
        return;
532
55.4k
    case PrimitiveType::TYPE_DATEV2:
533
55.4k
        assign_concrete<TYPE_DATEV2>(field.template get<TYPE_DATEV2>());
534
55.4k
        return;
535
6.49k
    case PrimitiveType::TYPE_TIMESTAMPTZ:
536
6.49k
        assign_concrete<TYPE_TIMESTAMPTZ>(field.template get<TYPE_TIMESTAMPTZ>());
537
6.49k
        return;
538
18.0k
    case PrimitiveType::TYPE_BOOLEAN:
539
18.0k
        assign_concrete<TYPE_BOOLEAN>(field.template get<TYPE_BOOLEAN>());
540
18.0k
        return;
541
73.8k
    case PrimitiveType::TYPE_TINYINT:
542
73.8k
        assign_concrete<TYPE_TINYINT>(field.template get<TYPE_TINYINT>());
543
73.8k
        return;
544
22.6k
    case PrimitiveType::TYPE_SMALLINT:
545
22.6k
        assign_concrete<TYPE_SMALLINT>(field.template get<TYPE_SMALLINT>());
546
22.6k
        return;
547
179k
    case PrimitiveType::TYPE_INT:
548
179k
        assign_concrete<TYPE_INT>(field.template get<TYPE_INT>());
549
179k
        return;
550
258k
    case PrimitiveType::TYPE_BIGINT:
551
258k
        assign_concrete<TYPE_BIGINT>(field.template get<TYPE_BIGINT>());
552
258k
        return;
553
31.3k
    case PrimitiveType::TYPE_LARGEINT:
554
31.3k
        assign_concrete<TYPE_LARGEINT>(field.template get<TYPE_LARGEINT>());
555
31.3k
        return;
556
1.16k
    case PrimitiveType::TYPE_IPV4:
557
1.16k
        assign_concrete<TYPE_IPV4>(field.template get<TYPE_IPV4>());
558
1.16k
        return;
559
976
    case PrimitiveType::TYPE_IPV6:
560
976
        assign_concrete<TYPE_IPV6>(field.template get<TYPE_IPV6>());
561
976
        return;
562
13.2k
    case PrimitiveType::TYPE_FLOAT:
563
13.2k
        assign_concrete<TYPE_FLOAT>(field.template get<TYPE_FLOAT>());
564
13.2k
        return;
565
0
    case PrimitiveType::TYPE_TIMEV2:
566
0
        assign_concrete<TYPE_TIMEV2>(field.template get<TYPE_TIMEV2>());
567
0
        return;
568
17.5k
    case PrimitiveType::TYPE_DOUBLE:
569
17.5k
        assign_concrete<TYPE_DOUBLE>(field.template get<TYPE_DOUBLE>());
570
17.5k
        return;
571
105k
    case PrimitiveType::TYPE_STRING:
572
105k
        assign_concrete<TYPE_STRING>(field.template get<TYPE_STRING>());
573
105k
        return;
574
25.8k
    case PrimitiveType::TYPE_CHAR:
575
25.8k
        assign_concrete<TYPE_CHAR>(field.template get<TYPE_CHAR>());
576
25.8k
        return;
577
254k
    case PrimitiveType::TYPE_VARCHAR:
578
254k
        assign_concrete<TYPE_VARCHAR>(field.template get<TYPE_VARCHAR>());
579
254k
        return;
580
23
    case PrimitiveType::TYPE_JSONB:
581
23
        assign_concrete<TYPE_JSONB>(field.template get<TYPE_JSONB>());
582
23
        return;
583
38.4k
    case PrimitiveType::TYPE_ARRAY:
584
38.4k
        assign_concrete<TYPE_ARRAY>(field.template get<TYPE_ARRAY>());
585
38.4k
        return;
586
0
    case PrimitiveType::TYPE_STRUCT:
587
0
        assign_concrete<TYPE_STRUCT>(field.template get<TYPE_STRUCT>());
588
0
        return;
589
1
    case PrimitiveType::TYPE_MAP:
590
1
        assign_concrete<TYPE_MAP>(field.template get<TYPE_MAP>());
591
1
        return;
592
6.49k
    case PrimitiveType::TYPE_DECIMAL32:
593
6.49k
        assign_concrete<TYPE_DECIMAL32>(field.template get<TYPE_DECIMAL32>());
594
6.49k
        return;
595
18.1k
    case PrimitiveType::TYPE_DECIMAL64:
596
18.1k
        assign_concrete<TYPE_DECIMAL64>(field.template get<TYPE_DECIMAL64>());
597
18.1k
        return;
598
132
    case PrimitiveType::TYPE_DECIMALV2:
599
132
        assign_concrete<TYPE_DECIMALV2>(field.template get<TYPE_DECIMALV2>());
600
132
        return;
601
17.8k
    case PrimitiveType::TYPE_DECIMAL128I:
602
17.8k
        assign_concrete<TYPE_DECIMAL128I>(field.template get<TYPE_DECIMAL128I>());
603
17.8k
        return;
604
1.05k
    case PrimitiveType::TYPE_DECIMAL256:
605
1.05k
        assign_concrete<TYPE_DECIMAL256>(field.template get<TYPE_DECIMAL256>());
606
1.05k
        return;
607
0
    case PrimitiveType::TYPE_VARIANT:
608
0
        assign_concrete<TYPE_VARIANT>(field.template get<TYPE_VARIANT>());
609
0
        return;
610
2
    case PrimitiveType::TYPE_BITMAP:
611
2
        assign_concrete<TYPE_BITMAP>(field.template get<TYPE_BITMAP>());
612
2
        return;
613
1
    case PrimitiveType::TYPE_HLL:
614
1
        assign_concrete<TYPE_HLL>(field.template get<TYPE_HLL>());
615
1
        return;
616
1
    case PrimitiveType::TYPE_QUANTILE_STATE:
617
1
        assign_concrete<TYPE_QUANTILE_STATE>(field.template get<TYPE_QUANTILE_STATE>());
618
1
        return;
619
0
    case PrimitiveType::TYPE_UINT32:
620
0
        assign_concrete<TYPE_UINT32>(field.template get<TYPE_UINT32>());
621
0
        return;
622
0
    case PrimitiveType::TYPE_UINT64:
623
0
        assign_concrete<TYPE_UINT64>(field.template get<TYPE_UINT64>());
624
0
        return;
625
0
    case PrimitiveType::TYPE_VARBINARY:
626
0
        assign_concrete<TYPE_VARBINARY>(field.template get<TYPE_VARBINARY>());
627
0
        return;
628
0
    default:
629
0
        throw Exception(Status::FatalError("type not supported, type={}", field.get_type_name()));
630
1.38M
    }
631
1.38M
}
632
633
/// Assuming same types.
634
template <PrimitiveType Type>
635
25.5M
void Field::assign_concrete(typename PrimitiveTypeTraits<Type>::CppType&& x) {
636
25.5M
    auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<Type>::CppType*>(&storage);
637
25.5M
    *ptr = std::forward<typename PrimitiveTypeTraits<Type>::CppType>(x);
638
25.5M
}
_ZN5doris5Field15assign_concreteILNS_13PrimitiveTypeE1EEEvONS_19PrimitiveTypeTraitsIXT_EE7CppTypeE
Line
Count
Source
635
23.3M
void Field::assign_concrete(typename PrimitiveTypeTraits<Type>::CppType&& x) {
636
23.3M
    auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<Type>::CppType*>(&storage);
637
23.3M
    *ptr = std::forward<typename PrimitiveTypeTraits<Type>::CppType>(x);
638
23.3M
}
_ZN5doris5Field15assign_concreteILNS_13PrimitiveTypeE3EEEvONS_19PrimitiveTypeTraitsIXT_EE7CppTypeE
Line
Count
Source
635
73.9k
void Field::assign_concrete(typename PrimitiveTypeTraits<Type>::CppType&& x) {
636
73.9k
    auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<Type>::CppType*>(&storage);
637
73.9k
    *ptr = std::forward<typename PrimitiveTypeTraits<Type>::CppType>(x);
638
73.9k
}
_ZN5doris5Field15assign_concreteILNS_13PrimitiveTypeE4EEEvONS_19PrimitiveTypeTraitsIXT_EE7CppTypeE
Line
Count
Source
635
22.9k
void Field::assign_concrete(typename PrimitiveTypeTraits<Type>::CppType&& x) {
636
22.9k
    auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<Type>::CppType*>(&storage);
637
22.9k
    *ptr = std::forward<typename PrimitiveTypeTraits<Type>::CppType>(x);
638
22.9k
}
_ZN5doris5Field15assign_concreteILNS_13PrimitiveTypeE5EEEvONS_19PrimitiveTypeTraitsIXT_EE7CppTypeE
Line
Count
Source
635
837k
void Field::assign_concrete(typename PrimitiveTypeTraits<Type>::CppType&& x) {
636
837k
    auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<Type>::CppType*>(&storage);
637
837k
    *ptr = std::forward<typename PrimitiveTypeTraits<Type>::CppType>(x);
638
837k
}
_ZN5doris5Field15assign_concreteILNS_13PrimitiveTypeE6EEEvONS_19PrimitiveTypeTraitsIXT_EE7CppTypeE
Line
Count
Source
635
271k
void Field::assign_concrete(typename PrimitiveTypeTraits<Type>::CppType&& x) {
636
271k
    auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<Type>::CppType*>(&storage);
637
271k
    *ptr = std::forward<typename PrimitiveTypeTraits<Type>::CppType>(x);
638
271k
}
_ZN5doris5Field15assign_concreteILNS_13PrimitiveTypeE7EEEvONS_19PrimitiveTypeTraitsIXT_EE7CppTypeE
Line
Count
Source
635
33.7k
void Field::assign_concrete(typename PrimitiveTypeTraits<Type>::CppType&& x) {
636
33.7k
    auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<Type>::CppType*>(&storage);
637
33.7k
    *ptr = std::forward<typename PrimitiveTypeTraits<Type>::CppType>(x);
638
33.7k
}
_ZN5doris5Field15assign_concreteILNS_13PrimitiveTypeE11EEEvONS_19PrimitiveTypeTraitsIXT_EE7CppTypeE
Line
Count
Source
635
450
void Field::assign_concrete(typename PrimitiveTypeTraits<Type>::CppType&& x) {
636
450
    auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<Type>::CppType*>(&storage);
637
450
    *ptr = std::forward<typename PrimitiveTypeTraits<Type>::CppType>(x);
638
450
}
_ZN5doris5Field15assign_concreteILNS_13PrimitiveTypeE12EEEvONS_19PrimitiveTypeTraitsIXT_EE7CppTypeE
Line
Count
Source
635
855
void Field::assign_concrete(typename PrimitiveTypeTraits<Type>::CppType&& x) {
636
855
    auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<Type>::CppType*>(&storage);
637
855
    *ptr = std::forward<typename PrimitiveTypeTraits<Type>::CppType>(x);
638
855
}
_ZN5doris5Field15assign_concreteILNS_13PrimitiveTypeE25EEEvONS_19PrimitiveTypeTraitsIXT_EE7CppTypeE
Line
Count
Source
635
60.1k
void Field::assign_concrete(typename PrimitiveTypeTraits<Type>::CppType&& x) {
636
60.1k
    auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<Type>::CppType*>(&storage);
637
60.1k
    *ptr = std::forward<typename PrimitiveTypeTraits<Type>::CppType>(x);
638
60.1k
}
_ZN5doris5Field15assign_concreteILNS_13PrimitiveTypeE26EEEvONS_19PrimitiveTypeTraitsIXT_EE7CppTypeE
Line
Count
Source
635
62.9k
void Field::assign_concrete(typename PrimitiveTypeTraits<Type>::CppType&& x) {
636
62.9k
    auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<Type>::CppType*>(&storage);
637
62.9k
    *ptr = std::forward<typename PrimitiveTypeTraits<Type>::CppType>(x);
638
62.9k
}
_ZN5doris5Field15assign_concreteILNS_13PrimitiveTypeE28EEEvONS_19PrimitiveTypeTraitsIXT_EE7CppTypeE
Line
Count
Source
635
6.50k
void Field::assign_concrete(typename PrimitiveTypeTraits<Type>::CppType&& x) {
636
6.50k
    auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<Type>::CppType*>(&storage);
637
6.50k
    *ptr = std::forward<typename PrimitiveTypeTraits<Type>::CppType>(x);
638
6.50k
}
_ZN5doris5Field15assign_concreteILNS_13PrimitiveTypeE29EEEvONS_19PrimitiveTypeTraitsIXT_EE7CppTypeE
Line
Count
Source
635
32.1k
void Field::assign_concrete(typename PrimitiveTypeTraits<Type>::CppType&& x) {
636
32.1k
    auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<Type>::CppType*>(&storage);
637
32.1k
    *ptr = std::forward<typename PrimitiveTypeTraits<Type>::CppType>(x);
638
32.1k
}
_ZN5doris5Field15assign_concreteILNS_13PrimitiveTypeE20EEEvONS_19PrimitiveTypeTraitsIXT_EE7CppTypeE
Line
Count
Source
635
142
void Field::assign_concrete(typename PrimitiveTypeTraits<Type>::CppType&& x) {
636
142
    auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<Type>::CppType*>(&storage);
637
142
    *ptr = std::forward<typename PrimitiveTypeTraits<Type>::CppType>(x);
638
142
}
_ZN5doris5Field15assign_concreteILNS_13PrimitiveTypeE30EEEvONS_19PrimitiveTypeTraitsIXT_EE7CppTypeE
Line
Count
Source
635
20.5k
void Field::assign_concrete(typename PrimitiveTypeTraits<Type>::CppType&& x) {
636
20.5k
    auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<Type>::CppType*>(&storage);
637
20.5k
    *ptr = std::forward<typename PrimitiveTypeTraits<Type>::CppType>(x);
638
20.5k
}
_ZN5doris5Field15assign_concreteILNS_13PrimitiveTypeE35EEEvONS_19PrimitiveTypeTraitsIXT_EE7CppTypeE
Line
Count
Source
635
1.05k
void Field::assign_concrete(typename PrimitiveTypeTraits<Type>::CppType&& x) {
636
1.05k
    auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<Type>::CppType*>(&storage);
637
1.05k
    *ptr = std::forward<typename PrimitiveTypeTraits<Type>::CppType>(x);
638
1.05k
}
_ZN5doris5Field15assign_concreteILNS_13PrimitiveTypeE15EEEvONS_19PrimitiveTypeTraitsIXT_EE7CppTypeE
Line
Count
Source
635
34.5k
void Field::assign_concrete(typename PrimitiveTypeTraits<Type>::CppType&& x) {
636
34.5k
    auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<Type>::CppType*>(&storage);
637
34.5k
    *ptr = std::forward<typename PrimitiveTypeTraits<Type>::CppType>(x);
638
34.5k
}
_ZN5doris5Field15assign_concreteILNS_13PrimitiveTypeE10EEEvONS_19PrimitiveTypeTraitsIXT_EE7CppTypeE
Line
Count
Source
635
269k
void Field::assign_concrete(typename PrimitiveTypeTraits<Type>::CppType&& x) {
636
269k
    auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<Type>::CppType*>(&storage);
637
269k
    *ptr = std::forward<typename PrimitiveTypeTraits<Type>::CppType>(x);
638
269k
}
_ZN5doris5Field15assign_concreteILNS_13PrimitiveTypeE23EEEvONS_19PrimitiveTypeTraitsIXT_EE7CppTypeE
Line
Count
Source
635
157k
void Field::assign_concrete(typename PrimitiveTypeTraits<Type>::CppType&& x) {
636
157k
    auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<Type>::CppType*>(&storage);
637
157k
    *ptr = std::forward<typename PrimitiveTypeTraits<Type>::CppType>(x);
638
157k
}
Unexecuted instantiation: _ZN5doris5Field15assign_concreteILNS_13PrimitiveTypeE41EEEvONS_19PrimitiveTypeTraitsIXT_EE7CppTypeE
_ZN5doris5Field15assign_concreteILNS_13PrimitiveTypeE19EEEvONS_19PrimitiveTypeTraitsIXT_EE7CppTypeE
Line
Count
Source
635
1
void Field::assign_concrete(typename PrimitiveTypeTraits<Type>::CppType&& x) {
636
1
    auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<Type>::CppType*>(&storage);
637
1
    *ptr = std::forward<typename PrimitiveTypeTraits<Type>::CppType>(x);
638
1
}
_ZN5doris5Field15assign_concreteILNS_13PrimitiveTypeE32EEEvONS_19PrimitiveTypeTraitsIXT_EE7CppTypeE
Line
Count
Source
635
67
void Field::assign_concrete(typename PrimitiveTypeTraits<Type>::CppType&& x) {
636
67
    auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<Type>::CppType*>(&storage);
637
67
    *ptr = std::forward<typename PrimitiveTypeTraits<Type>::CppType>(x);
638
67
}
_ZN5doris5Field15assign_concreteILNS_13PrimitiveTypeE24EEEvONS_19PrimitiveTypeTraitsIXT_EE7CppTypeE
Line
Count
Source
635
1
void Field::assign_concrete(typename PrimitiveTypeTraits<Type>::CppType&& x) {
636
1
    auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<Type>::CppType*>(&storage);
637
1
    *ptr = std::forward<typename PrimitiveTypeTraits<Type>::CppType>(x);
638
1
}
_ZN5doris5Field15assign_concreteILNS_13PrimitiveTypeE17EEEvONS_19PrimitiveTypeTraitsIXT_EE7CppTypeE
Line
Count
Source
635
28.8k
void Field::assign_concrete(typename PrimitiveTypeTraits<Type>::CppType&& x) {
636
28.8k
    auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<Type>::CppType*>(&storage);
637
28.8k
    *ptr = std::forward<typename PrimitiveTypeTraits<Type>::CppType>(x);
638
28.8k
}
_ZN5doris5Field15assign_concreteILNS_13PrimitiveTypeE42EEEvONS_19PrimitiveTypeTraitsIXT_EE7CppTypeE
Line
Count
Source
635
6.49k
void Field::assign_concrete(typename PrimitiveTypeTraits<Type>::CppType&& x) {
636
6.49k
    auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<Type>::CppType*>(&storage);
637
6.49k
    *ptr = std::forward<typename PrimitiveTypeTraits<Type>::CppType>(x);
638
6.49k
}
_ZN5doris5Field15assign_concreteILNS_13PrimitiveTypeE36EEEvONS_19PrimitiveTypeTraitsIXT_EE7CppTypeE
Line
Count
Source
635
1.16k
void Field::assign_concrete(typename PrimitiveTypeTraits<Type>::CppType&& x) {
636
1.16k
    auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<Type>::CppType*>(&storage);
637
1.16k
    *ptr = std::forward<typename PrimitiveTypeTraits<Type>::CppType>(x);
638
1.16k
}
_ZN5doris5Field15assign_concreteILNS_13PrimitiveTypeE37EEEvONS_19PrimitiveTypeTraitsIXT_EE7CppTypeE
Line
Count
Source
635
977
void Field::assign_concrete(typename PrimitiveTypeTraits<Type>::CppType&& x) {
636
977
    auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<Type>::CppType*>(&storage);
637
977
    *ptr = std::forward<typename PrimitiveTypeTraits<Type>::CppType>(x);
638
977
}
_ZN5doris5Field15assign_concreteILNS_13PrimitiveTypeE2EEEvONS_19PrimitiveTypeTraitsIXT_EE7CppTypeE
Line
Count
Source
635
19.2k
void Field::assign_concrete(typename PrimitiveTypeTraits<Type>::CppType&& x) {
636
19.2k
    auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<Type>::CppType*>(&storage);
637
19.2k
    *ptr = std::forward<typename PrimitiveTypeTraits<Type>::CppType>(x);
638
19.2k
}
_ZN5doris5Field15assign_concreteILNS_13PrimitiveTypeE8EEEvONS_19PrimitiveTypeTraitsIXT_EE7CppTypeE
Line
Count
Source
635
13.3k
void Field::assign_concrete(typename PrimitiveTypeTraits<Type>::CppType&& x) {
636
13.3k
    auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<Type>::CppType*>(&storage);
637
13.3k
    *ptr = std::forward<typename PrimitiveTypeTraits<Type>::CppType>(x);
638
13.3k
}
_ZN5doris5Field15assign_concreteILNS_13PrimitiveTypeE9EEEvONS_19PrimitiveTypeTraitsIXT_EE7CppTypeE
Line
Count
Source
635
19.7k
void Field::assign_concrete(typename PrimitiveTypeTraits<Type>::CppType&& x) {
636
19.7k
    auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<Type>::CppType*>(&storage);
637
19.7k
    *ptr = std::forward<typename PrimitiveTypeTraits<Type>::CppType>(x);
638
19.7k
}
_ZN5doris5Field15assign_concreteILNS_13PrimitiveTypeE31EEEvONS_19PrimitiveTypeTraitsIXT_EE7CppTypeE
Line
Count
Source
635
207k
void Field::assign_concrete(typename PrimitiveTypeTraits<Type>::CppType&& x) {
636
207k
    auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<Type>::CppType*>(&storage);
637
207k
    *ptr = std::forward<typename PrimitiveTypeTraits<Type>::CppType>(x);
638
207k
}
Unexecuted instantiation: _ZN5doris5Field15assign_concreteILNS_13PrimitiveTypeE16EEEvONS_19PrimitiveTypeTraitsIXT_EE7CppTypeE
_ZN5doris5Field15assign_concreteILNS_13PrimitiveTypeE18EEEvONS_19PrimitiveTypeTraitsIXT_EE7CppTypeE
Line
Count
Source
635
1
void Field::assign_concrete(typename PrimitiveTypeTraits<Type>::CppType&& x) {
636
1
    auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<Type>::CppType*>(&storage);
637
1
    *ptr = std::forward<typename PrimitiveTypeTraits<Type>::CppType>(x);
638
1
}
_ZN5doris5Field15assign_concreteILNS_13PrimitiveTypeE22EEEvONS_19PrimitiveTypeTraitsIXT_EE7CppTypeE
Line
Count
Source
635
38
void Field::assign_concrete(typename PrimitiveTypeTraits<Type>::CppType&& x) {
636
38
    auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<Type>::CppType*>(&storage);
637
38
    *ptr = std::forward<typename PrimitiveTypeTraits<Type>::CppType>(x);
638
38
}
Unexecuted instantiation: _ZN5doris5Field15assign_concreteILNS_13PrimitiveTypeE27EEEvONS_19PrimitiveTypeTraitsIXT_EE7CppTypeE
Unexecuted instantiation: _ZN5doris5Field15assign_concreteILNS_13PrimitiveTypeE38EEEvONS_19PrimitiveTypeTraitsIXT_EE7CppTypeE
Unexecuted instantiation: _ZN5doris5Field15assign_concreteILNS_13PrimitiveTypeE39EEEvONS_19PrimitiveTypeTraitsIXT_EE7CppTypeE
639
640
template <PrimitiveType Type>
641
1.38M
void Field::assign_concrete(const typename PrimitiveTypeTraits<Type>::CppType& x) {
642
1.38M
    auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<Type>::CppType*>(&storage);
643
1.38M
    *ptr = std::forward<const typename PrimitiveTypeTraits<Type>::CppType>(x);
644
1.38M
}
_ZN5doris5Field15assign_concreteILNS_13PrimitiveTypeE1EEEvRKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeE
Line
Count
Source
641
178k
void Field::assign_concrete(const typename PrimitiveTypeTraits<Type>::CppType& x) {
642
178k
    auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<Type>::CppType*>(&storage);
643
178k
    *ptr = std::forward<const typename PrimitiveTypeTraits<Type>::CppType>(x);
644
178k
}
_ZN5doris5Field15assign_concreteILNS_13PrimitiveTypeE3EEEvRKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeE
Line
Count
Source
641
73.8k
void Field::assign_concrete(const typename PrimitiveTypeTraits<Type>::CppType& x) {
642
73.8k
    auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<Type>::CppType*>(&storage);
643
73.8k
    *ptr = std::forward<const typename PrimitiveTypeTraits<Type>::CppType>(x);
644
73.8k
}
_ZN5doris5Field15assign_concreteILNS_13PrimitiveTypeE4EEEvRKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeE
Line
Count
Source
641
22.6k
void Field::assign_concrete(const typename PrimitiveTypeTraits<Type>::CppType& x) {
642
22.6k
    auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<Type>::CppType*>(&storage);
643
22.6k
    *ptr = std::forward<const typename PrimitiveTypeTraits<Type>::CppType>(x);
644
22.6k
}
_ZN5doris5Field15assign_concreteILNS_13PrimitiveTypeE5EEEvRKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeE
Line
Count
Source
641
179k
void Field::assign_concrete(const typename PrimitiveTypeTraits<Type>::CppType& x) {
642
179k
    auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<Type>::CppType*>(&storage);
643
179k
    *ptr = std::forward<const typename PrimitiveTypeTraits<Type>::CppType>(x);
644
179k
}
_ZN5doris5Field15assign_concreteILNS_13PrimitiveTypeE6EEEvRKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeE
Line
Count
Source
641
258k
void Field::assign_concrete(const typename PrimitiveTypeTraits<Type>::CppType& x) {
642
258k
    auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<Type>::CppType*>(&storage);
643
258k
    *ptr = std::forward<const typename PrimitiveTypeTraits<Type>::CppType>(x);
644
258k
}
_ZN5doris5Field15assign_concreteILNS_13PrimitiveTypeE7EEEvRKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeE
Line
Count
Source
641
31.3k
void Field::assign_concrete(const typename PrimitiveTypeTraits<Type>::CppType& x) {
642
31.3k
    auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<Type>::CppType*>(&storage);
643
31.3k
    *ptr = std::forward<const typename PrimitiveTypeTraits<Type>::CppType>(x);
644
31.3k
}
_ZN5doris5Field15assign_concreteILNS_13PrimitiveTypeE11EEEvRKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeE
Line
Count
Source
641
382
void Field::assign_concrete(const typename PrimitiveTypeTraits<Type>::CppType& x) {
642
382
    auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<Type>::CppType*>(&storage);
643
382
    *ptr = std::forward<const typename PrimitiveTypeTraits<Type>::CppType>(x);
644
382
}
_ZN5doris5Field15assign_concreteILNS_13PrimitiveTypeE12EEEvRKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeE
Line
Count
Source
641
525
void Field::assign_concrete(const typename PrimitiveTypeTraits<Type>::CppType& x) {
642
525
    auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<Type>::CppType*>(&storage);
643
525
    *ptr = std::forward<const typename PrimitiveTypeTraits<Type>::CppType>(x);
644
525
}
_ZN5doris5Field15assign_concreteILNS_13PrimitiveTypeE25EEEvRKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeE
Line
Count
Source
641
55.4k
void Field::assign_concrete(const typename PrimitiveTypeTraits<Type>::CppType& x) {
642
55.4k
    auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<Type>::CppType*>(&storage);
643
55.4k
    *ptr = std::forward<const typename PrimitiveTypeTraits<Type>::CppType>(x);
644
55.4k
}
_ZN5doris5Field15assign_concreteILNS_13PrimitiveTypeE26EEEvRKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeE
Line
Count
Source
641
61.7k
void Field::assign_concrete(const typename PrimitiveTypeTraits<Type>::CppType& x) {
642
61.7k
    auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<Type>::CppType*>(&storage);
643
61.7k
    *ptr = std::forward<const typename PrimitiveTypeTraits<Type>::CppType>(x);
644
61.7k
}
_ZN5doris5Field15assign_concreteILNS_13PrimitiveTypeE42EEEvRKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeE
Line
Count
Source
641
6.48k
void Field::assign_concrete(const typename PrimitiveTypeTraits<Type>::CppType& x) {
642
6.48k
    auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<Type>::CppType*>(&storage);
643
6.48k
    *ptr = std::forward<const typename PrimitiveTypeTraits<Type>::CppType>(x);
644
6.48k
}
_ZN5doris5Field15assign_concreteILNS_13PrimitiveTypeE28EEEvRKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeE
Line
Count
Source
641
6.49k
void Field::assign_concrete(const typename PrimitiveTypeTraits<Type>::CppType& x) {
642
6.49k
    auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<Type>::CppType*>(&storage);
643
6.49k
    *ptr = std::forward<const typename PrimitiveTypeTraits<Type>::CppType>(x);
644
6.49k
}
_ZN5doris5Field15assign_concreteILNS_13PrimitiveTypeE29EEEvRKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeE
Line
Count
Source
641
18.1k
void Field::assign_concrete(const typename PrimitiveTypeTraits<Type>::CppType& x) {
642
18.1k
    auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<Type>::CppType*>(&storage);
643
18.1k
    *ptr = std::forward<const typename PrimitiveTypeTraits<Type>::CppType>(x);
644
18.1k
}
_ZN5doris5Field15assign_concreteILNS_13PrimitiveTypeE20EEEvRKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeE
Line
Count
Source
641
132
void Field::assign_concrete(const typename PrimitiveTypeTraits<Type>::CppType& x) {
642
132
    auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<Type>::CppType*>(&storage);
643
132
    *ptr = std::forward<const typename PrimitiveTypeTraits<Type>::CppType>(x);
644
132
}
_ZN5doris5Field15assign_concreteILNS_13PrimitiveTypeE30EEEvRKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeE
Line
Count
Source
641
17.8k
void Field::assign_concrete(const typename PrimitiveTypeTraits<Type>::CppType& x) {
642
17.8k
    auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<Type>::CppType*>(&storage);
643
17.8k
    *ptr = std::forward<const typename PrimitiveTypeTraits<Type>::CppType>(x);
644
17.8k
}
_ZN5doris5Field15assign_concreteILNS_13PrimitiveTypeE35EEEvRKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeE
Line
Count
Source
641
1.05k
void Field::assign_concrete(const typename PrimitiveTypeTraits<Type>::CppType& x) {
642
1.05k
    auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<Type>::CppType*>(&storage);
643
1.05k
    *ptr = std::forward<const typename PrimitiveTypeTraits<Type>::CppType>(x);
644
1.05k
}
_ZN5doris5Field15assign_concreteILNS_13PrimitiveTypeE15EEEvRKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeE
Line
Count
Source
641
25.8k
void Field::assign_concrete(const typename PrimitiveTypeTraits<Type>::CppType& x) {
642
25.8k
    auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<Type>::CppType*>(&storage);
643
25.8k
    *ptr = std::forward<const typename PrimitiveTypeTraits<Type>::CppType>(x);
644
25.8k
}
_ZN5doris5Field15assign_concreteILNS_13PrimitiveTypeE10EEEvRKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeE
Line
Count
Source
641
254k
void Field::assign_concrete(const typename PrimitiveTypeTraits<Type>::CppType& x) {
642
254k
    auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<Type>::CppType*>(&storage);
643
254k
    *ptr = std::forward<const typename PrimitiveTypeTraits<Type>::CppType>(x);
644
254k
}
_ZN5doris5Field15assign_concreteILNS_13PrimitiveTypeE23EEEvRKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeE
Line
Count
Source
641
105k
void Field::assign_concrete(const typename PrimitiveTypeTraits<Type>::CppType& x) {
642
105k
    auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<Type>::CppType*>(&storage);
643
105k
    *ptr = std::forward<const typename PrimitiveTypeTraits<Type>::CppType>(x);
644
105k
}
Unexecuted instantiation: _ZN5doris5Field15assign_concreteILNS_13PrimitiveTypeE41EEEvRKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeE
_ZN5doris5Field15assign_concreteILNS_13PrimitiveTypeE19EEEvRKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeE
Line
Count
Source
641
1
void Field::assign_concrete(const typename PrimitiveTypeTraits<Type>::CppType& x) {
642
1
    auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<Type>::CppType*>(&storage);
643
1
    *ptr = std::forward<const typename PrimitiveTypeTraits<Type>::CppType>(x);
644
1
}
Unexecuted instantiation: _ZN5doris5Field15assign_concreteILNS_13PrimitiveTypeE32EEEvRKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeE
_ZN5doris5Field15assign_concreteILNS_13PrimitiveTypeE24EEEvRKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeE
Line
Count
Source
641
1
void Field::assign_concrete(const typename PrimitiveTypeTraits<Type>::CppType& x) {
642
1
    auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<Type>::CppType*>(&storage);
643
1
    *ptr = std::forward<const typename PrimitiveTypeTraits<Type>::CppType>(x);
644
1
}
_ZN5doris5Field15assign_concreteILNS_13PrimitiveTypeE17EEEvRKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeE
Line
Count
Source
641
38.4k
void Field::assign_concrete(const typename PrimitiveTypeTraits<Type>::CppType& x) {
642
38.4k
    auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<Type>::CppType*>(&storage);
643
38.4k
    *ptr = std::forward<const typename PrimitiveTypeTraits<Type>::CppType>(x);
644
38.4k
}
_ZN5doris5Field15assign_concreteILNS_13PrimitiveTypeE36EEEvRKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeE
Line
Count
Source
641
1.16k
void Field::assign_concrete(const typename PrimitiveTypeTraits<Type>::CppType& x) {
642
1.16k
    auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<Type>::CppType*>(&storage);
643
1.16k
    *ptr = std::forward<const typename PrimitiveTypeTraits<Type>::CppType>(x);
644
1.16k
}
_ZN5doris5Field15assign_concreteILNS_13PrimitiveTypeE37EEEvRKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeE
Line
Count
Source
641
976
void Field::assign_concrete(const typename PrimitiveTypeTraits<Type>::CppType& x) {
642
976
    auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<Type>::CppType*>(&storage);
643
976
    *ptr = std::forward<const typename PrimitiveTypeTraits<Type>::CppType>(x);
644
976
}
_ZN5doris5Field15assign_concreteILNS_13PrimitiveTypeE2EEEvRKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeE
Line
Count
Source
641
18.0k
void Field::assign_concrete(const typename PrimitiveTypeTraits<Type>::CppType& x) {
642
18.0k
    auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<Type>::CppType*>(&storage);
643
18.0k
    *ptr = std::forward<const typename PrimitiveTypeTraits<Type>::CppType>(x);
644
18.0k
}
_ZN5doris5Field15assign_concreteILNS_13PrimitiveTypeE8EEEvRKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeE
Line
Count
Source
641
13.2k
void Field::assign_concrete(const typename PrimitiveTypeTraits<Type>::CppType& x) {
642
13.2k
    auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<Type>::CppType*>(&storage);
643
13.2k
    *ptr = std::forward<const typename PrimitiveTypeTraits<Type>::CppType>(x);
644
13.2k
}
_ZN5doris5Field15assign_concreteILNS_13PrimitiveTypeE9EEEvRKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeE
Line
Count
Source
641
17.5k
void Field::assign_concrete(const typename PrimitiveTypeTraits<Type>::CppType& x) {
642
17.5k
    auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<Type>::CppType*>(&storage);
643
17.5k
    *ptr = std::forward<const typename PrimitiveTypeTraits<Type>::CppType>(x);
644
17.5k
}
_ZN5doris5Field15assign_concreteILNS_13PrimitiveTypeE31EEEvRKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeE
Line
Count
Source
641
23
void Field::assign_concrete(const typename PrimitiveTypeTraits<Type>::CppType& x) {
642
23
    auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<Type>::CppType*>(&storage);
643
23
    *ptr = std::forward<const typename PrimitiveTypeTraits<Type>::CppType>(x);
644
23
}
Unexecuted instantiation: _ZN5doris5Field15assign_concreteILNS_13PrimitiveTypeE16EEEvRKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeE
_ZN5doris5Field15assign_concreteILNS_13PrimitiveTypeE18EEEvRKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeE
Line
Count
Source
641
1
void Field::assign_concrete(const typename PrimitiveTypeTraits<Type>::CppType& x) {
642
1
    auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<Type>::CppType*>(&storage);
643
1
    *ptr = std::forward<const typename PrimitiveTypeTraits<Type>::CppType>(x);
644
1
}
_ZN5doris5Field15assign_concreteILNS_13PrimitiveTypeE22EEEvRKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeE
Line
Count
Source
641
2
void Field::assign_concrete(const typename PrimitiveTypeTraits<Type>::CppType& x) {
642
2
    auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<Type>::CppType*>(&storage);
643
2
    *ptr = std::forward<const typename PrimitiveTypeTraits<Type>::CppType>(x);
644
2
}
Unexecuted instantiation: _ZN5doris5Field15assign_concreteILNS_13PrimitiveTypeE27EEEvRKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeE
Unexecuted instantiation: _ZN5doris5Field15assign_concreteILNS_13PrimitiveTypeE38EEEvRKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeE
Unexecuted instantiation: _ZN5doris5Field15assign_concreteILNS_13PrimitiveTypeE39EEEvRKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeE
645
646
159
std::string Field::get_type_name() const {
647
159
    return type_to_string(type);
648
159
}
649
650
template <PrimitiveType T>
651
213M
typename PrimitiveTypeTraits<T>::CppType& Field::get() {
652
213M
    if (T != type && !(is_string_type(type) && is_string_type(T)) && type != TYPE_NULL) {
653
0
        throw Exception(Status::FatalError("Field::get type mismatch: requested {}, actual {}",
654
0
                                           type_to_string(T), get_type_name()));
655
0
    }
656
213M
    auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<T>::CppType*>(&storage);
657
213M
    return *ptr;
658
213M
}
_ZN5doris5Field3getILNS_13PrimitiveTypeE1EEERNS_19PrimitiveTypeTraitsIXT_EE7CppTypeEv
Line
Count
Source
651
23.9M
typename PrimitiveTypeTraits<T>::CppType& Field::get() {
652
23.9M
    if (T != type && !(is_string_type(type) && is_string_type(T)) && type != TYPE_NULL) {
653
0
        throw Exception(Status::FatalError("Field::get type mismatch: requested {}, actual {}",
654
0
                                           type_to_string(T), get_type_name()));
655
0
    }
656
23.9M
    auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<T>::CppType*>(&storage);
657
23.9M
    return *ptr;
658
23.9M
}
_ZN5doris5Field3getILNS_13PrimitiveTypeE3EEERNS_19PrimitiveTypeTraitsIXT_EE7CppTypeEv
Line
Count
Source
651
5.32M
typename PrimitiveTypeTraits<T>::CppType& Field::get() {
652
5.32M
    if (T != type && !(is_string_type(type) && is_string_type(T)) && type != TYPE_NULL) {
653
0
        throw Exception(Status::FatalError("Field::get type mismatch: requested {}, actual {}",
654
0
                                           type_to_string(T), get_type_name()));
655
0
    }
656
5.32M
    auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<T>::CppType*>(&storage);
657
5.32M
    return *ptr;
658
5.32M
}
_ZN5doris5Field3getILNS_13PrimitiveTypeE4EEERNS_19PrimitiveTypeTraitsIXT_EE7CppTypeEv
Line
Count
Source
651
177k
typename PrimitiveTypeTraits<T>::CppType& Field::get() {
652
177k
    if (T != type && !(is_string_type(type) && is_string_type(T)) && type != TYPE_NULL) {
653
0
        throw Exception(Status::FatalError("Field::get type mismatch: requested {}, actual {}",
654
0
                                           type_to_string(T), get_type_name()));
655
0
    }
656
177k
    auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<T>::CppType*>(&storage);
657
177k
    return *ptr;
658
177k
}
_ZN5doris5Field3getILNS_13PrimitiveTypeE5EEERNS_19PrimitiveTypeTraitsIXT_EE7CppTypeEv
Line
Count
Source
651
90.7M
typename PrimitiveTypeTraits<T>::CppType& Field::get() {
652
90.7M
    if (T != type && !(is_string_type(type) && is_string_type(T)) && type != TYPE_NULL) {
653
0
        throw Exception(Status::FatalError("Field::get type mismatch: requested {}, actual {}",
654
0
                                           type_to_string(T), get_type_name()));
655
0
    }
656
90.7M
    auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<T>::CppType*>(&storage);
657
90.7M
    return *ptr;
658
90.7M
}
_ZN5doris5Field3getILNS_13PrimitiveTypeE6EEERNS_19PrimitiveTypeTraitsIXT_EE7CppTypeEv
Line
Count
Source
651
31.2M
typename PrimitiveTypeTraits<T>::CppType& Field::get() {
652
31.2M
    if (T != type && !(is_string_type(type) && is_string_type(T)) && type != TYPE_NULL) {
653
0
        throw Exception(Status::FatalError("Field::get type mismatch: requested {}, actual {}",
654
0
                                           type_to_string(T), get_type_name()));
655
0
    }
656
31.2M
    auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<T>::CppType*>(&storage);
657
31.2M
    return *ptr;
658
31.2M
}
_ZN5doris5Field3getILNS_13PrimitiveTypeE7EEERNS_19PrimitiveTypeTraitsIXT_EE7CppTypeEv
Line
Count
Source
651
238k
typename PrimitiveTypeTraits<T>::CppType& Field::get() {
652
238k
    if (T != type && !(is_string_type(type) && is_string_type(T)) && type != TYPE_NULL) {
653
0
        throw Exception(Status::FatalError("Field::get type mismatch: requested {}, actual {}",
654
0
                                           type_to_string(T), get_type_name()));
655
0
    }
656
238k
    auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<T>::CppType*>(&storage);
657
238k
    return *ptr;
658
238k
}
_ZN5doris5Field3getILNS_13PrimitiveTypeE11EEERNS_19PrimitiveTypeTraitsIXT_EE7CppTypeEv
Line
Count
Source
651
20.5k
typename PrimitiveTypeTraits<T>::CppType& Field::get() {
652
20.5k
    if (T != type && !(is_string_type(type) && is_string_type(T)) && type != TYPE_NULL) {
653
0
        throw Exception(Status::FatalError("Field::get type mismatch: requested {}, actual {}",
654
0
                                           type_to_string(T), get_type_name()));
655
0
    }
656
20.5k
    auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<T>::CppType*>(&storage);
657
20.5k
    return *ptr;
658
20.5k
}
_ZN5doris5Field3getILNS_13PrimitiveTypeE12EEERNS_19PrimitiveTypeTraitsIXT_EE7CppTypeEv
Line
Count
Source
651
27.5k
typename PrimitiveTypeTraits<T>::CppType& Field::get() {
652
27.5k
    if (T != type && !(is_string_type(type) && is_string_type(T)) && type != TYPE_NULL) {
653
0
        throw Exception(Status::FatalError("Field::get type mismatch: requested {}, actual {}",
654
0
                                           type_to_string(T), get_type_name()));
655
0
    }
656
27.5k
    auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<T>::CppType*>(&storage);
657
27.5k
    return *ptr;
658
27.5k
}
_ZN5doris5Field3getILNS_13PrimitiveTypeE25EEERNS_19PrimitiveTypeTraitsIXT_EE7CppTypeEv
Line
Count
Source
651
594k
typename PrimitiveTypeTraits<T>::CppType& Field::get() {
652
594k
    if (T != type && !(is_string_type(type) && is_string_type(T)) && type != TYPE_NULL) {
653
0
        throw Exception(Status::FatalError("Field::get type mismatch: requested {}, actual {}",
654
0
                                           type_to_string(T), get_type_name()));
655
0
    }
656
594k
    auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<T>::CppType*>(&storage);
657
594k
    return *ptr;
658
594k
}
_ZN5doris5Field3getILNS_13PrimitiveTypeE26EEERNS_19PrimitiveTypeTraitsIXT_EE7CppTypeEv
Line
Count
Source
651
2.56M
typename PrimitiveTypeTraits<T>::CppType& Field::get() {
652
2.56M
    if (T != type && !(is_string_type(type) && is_string_type(T)) && type != TYPE_NULL) {
653
0
        throw Exception(Status::FatalError("Field::get type mismatch: requested {}, actual {}",
654
0
                                           type_to_string(T), get_type_name()));
655
0
    }
656
2.56M
    auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<T>::CppType*>(&storage);
657
2.56M
    return *ptr;
658
2.56M
}
_ZN5doris5Field3getILNS_13PrimitiveTypeE42EEERNS_19PrimitiveTypeTraitsIXT_EE7CppTypeEv
Line
Count
Source
651
46.7k
typename PrimitiveTypeTraits<T>::CppType& Field::get() {
652
46.7k
    if (T != type && !(is_string_type(type) && is_string_type(T)) && type != TYPE_NULL) {
653
0
        throw Exception(Status::FatalError("Field::get type mismatch: requested {}, actual {}",
654
0
                                           type_to_string(T), get_type_name()));
655
0
    }
656
46.7k
    auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<T>::CppType*>(&storage);
657
46.7k
    return *ptr;
658
46.7k
}
_ZN5doris5Field3getILNS_13PrimitiveTypeE28EEERNS_19PrimitiveTypeTraitsIXT_EE7CppTypeEv
Line
Count
Source
651
80.7k
typename PrimitiveTypeTraits<T>::CppType& Field::get() {
652
80.7k
    if (T != type && !(is_string_type(type) && is_string_type(T)) && type != TYPE_NULL) {
653
0
        throw Exception(Status::FatalError("Field::get type mismatch: requested {}, actual {}",
654
0
                                           type_to_string(T), get_type_name()));
655
0
    }
656
80.7k
    auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<T>::CppType*>(&storage);
657
80.7k
    return *ptr;
658
80.7k
}
_ZN5doris5Field3getILNS_13PrimitiveTypeE29EEERNS_19PrimitiveTypeTraitsIXT_EE7CppTypeEv
Line
Count
Source
651
201k
typename PrimitiveTypeTraits<T>::CppType& Field::get() {
652
201k
    if (T != type && !(is_string_type(type) && is_string_type(T)) && type != TYPE_NULL) {
653
0
        throw Exception(Status::FatalError("Field::get type mismatch: requested {}, actual {}",
654
0
                                           type_to_string(T), get_type_name()));
655
0
    }
656
201k
    auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<T>::CppType*>(&storage);
657
201k
    return *ptr;
658
201k
}
_ZN5doris5Field3getILNS_13PrimitiveTypeE20EEERNS_19PrimitiveTypeTraitsIXT_EE7CppTypeEv
Line
Count
Source
651
9.67k
typename PrimitiveTypeTraits<T>::CppType& Field::get() {
652
9.67k
    if (T != type && !(is_string_type(type) && is_string_type(T)) && type != TYPE_NULL) {
653
0
        throw Exception(Status::FatalError("Field::get type mismatch: requested {}, actual {}",
654
0
                                           type_to_string(T), get_type_name()));
655
0
    }
656
9.67k
    auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<T>::CppType*>(&storage);
657
9.67k
    return *ptr;
658
9.67k
}
_ZN5doris5Field3getILNS_13PrimitiveTypeE30EEERNS_19PrimitiveTypeTraitsIXT_EE7CppTypeEv
Line
Count
Source
651
278k
typename PrimitiveTypeTraits<T>::CppType& Field::get() {
652
278k
    if (T != type && !(is_string_type(type) && is_string_type(T)) && type != TYPE_NULL) {
653
0
        throw Exception(Status::FatalError("Field::get type mismatch: requested {}, actual {}",
654
0
                                           type_to_string(T), get_type_name()));
655
0
    }
656
278k
    auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<T>::CppType*>(&storage);
657
278k
    return *ptr;
658
278k
}
_ZN5doris5Field3getILNS_13PrimitiveTypeE35EEERNS_19PrimitiveTypeTraitsIXT_EE7CppTypeEv
Line
Count
Source
651
52.9k
typename PrimitiveTypeTraits<T>::CppType& Field::get() {
652
52.9k
    if (T != type && !(is_string_type(type) && is_string_type(T)) && type != TYPE_NULL) {
653
0
        throw Exception(Status::FatalError("Field::get type mismatch: requested {}, actual {}",
654
0
                                           type_to_string(T), get_type_name()));
655
0
    }
656
52.9k
    auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<T>::CppType*>(&storage);
657
52.9k
    return *ptr;
658
52.9k
}
_ZN5doris5Field3getILNS_13PrimitiveTypeE15EEERNS_19PrimitiveTypeTraitsIXT_EE7CppTypeEv
Line
Count
Source
651
136k
typename PrimitiveTypeTraits<T>::CppType& Field::get() {
652
136k
    if (T != type && !(is_string_type(type) && is_string_type(T)) && type != TYPE_NULL) {
653
0
        throw Exception(Status::FatalError("Field::get type mismatch: requested {}, actual {}",
654
0
                                           type_to_string(T), get_type_name()));
655
0
    }
656
136k
    auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<T>::CppType*>(&storage);
657
136k
    return *ptr;
658
136k
}
_ZN5doris5Field3getILNS_13PrimitiveTypeE10EEERNS_19PrimitiveTypeTraitsIXT_EE7CppTypeEv
Line
Count
Source
651
1.57M
typename PrimitiveTypeTraits<T>::CppType& Field::get() {
652
1.57M
    if (T != type && !(is_string_type(type) && is_string_type(T)) && type != TYPE_NULL) {
653
0
        throw Exception(Status::FatalError("Field::get type mismatch: requested {}, actual {}",
654
0
                                           type_to_string(T), get_type_name()));
655
0
    }
656
1.57M
    auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<T>::CppType*>(&storage);
657
1.57M
    return *ptr;
658
1.57M
}
_ZN5doris5Field3getILNS_13PrimitiveTypeE23EEERNS_19PrimitiveTypeTraitsIXT_EE7CppTypeEv
Line
Count
Source
651
41.4M
typename PrimitiveTypeTraits<T>::CppType& Field::get() {
652
41.4M
    if (T != type && !(is_string_type(type) && is_string_type(T)) && type != TYPE_NULL) {
653
0
        throw Exception(Status::FatalError("Field::get type mismatch: requested {}, actual {}",
654
0
                                           type_to_string(T), get_type_name()));
655
0
    }
656
41.4M
    auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<T>::CppType*>(&storage);
657
41.4M
    return *ptr;
658
41.4M
}
_ZN5doris5Field3getILNS_13PrimitiveTypeE41EEERNS_19PrimitiveTypeTraitsIXT_EE7CppTypeEv
Line
Count
Source
651
31
typename PrimitiveTypeTraits<T>::CppType& Field::get() {
652
31
    if (T != type && !(is_string_type(type) && is_string_type(T)) && type != TYPE_NULL) {
653
0
        throw Exception(Status::FatalError("Field::get type mismatch: requested {}, actual {}",
654
0
                                           type_to_string(T), get_type_name()));
655
0
    }
656
31
    auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<T>::CppType*>(&storage);
657
31
    return *ptr;
658
31
}
_ZN5doris5Field3getILNS_13PrimitiveTypeE19EEERNS_19PrimitiveTypeTraitsIXT_EE7CppTypeEv
Line
Count
Source
651
6
typename PrimitiveTypeTraits<T>::CppType& Field::get() {
652
6
    if (T != type && !(is_string_type(type) && is_string_type(T)) && type != TYPE_NULL) {
653
0
        throw Exception(Status::FatalError("Field::get type mismatch: requested {}, actual {}",
654
0
                                           type_to_string(T), get_type_name()));
655
0
    }
656
6
    auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<T>::CppType*>(&storage);
657
6
    return *ptr;
658
6
}
_ZN5doris5Field3getILNS_13PrimitiveTypeE32EEERNS_19PrimitiveTypeTraitsIXT_EE7CppTypeEv
Line
Count
Source
651
324k
typename PrimitiveTypeTraits<T>::CppType& Field::get() {
652
324k
    if (T != type && !(is_string_type(type) && is_string_type(T)) && type != TYPE_NULL) {
653
0
        throw Exception(Status::FatalError("Field::get type mismatch: requested {}, actual {}",
654
0
                                           type_to_string(T), get_type_name()));
655
0
    }
656
324k
    auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<T>::CppType*>(&storage);
657
324k
    return *ptr;
658
324k
}
_ZN5doris5Field3getILNS_13PrimitiveTypeE24EEERNS_19PrimitiveTypeTraitsIXT_EE7CppTypeEv
Line
Count
Source
651
4
typename PrimitiveTypeTraits<T>::CppType& Field::get() {
652
4
    if (T != type && !(is_string_type(type) && is_string_type(T)) && type != TYPE_NULL) {
653
0
        throw Exception(Status::FatalError("Field::get type mismatch: requested {}, actual {}",
654
0
                                           type_to_string(T), get_type_name()));
655
0
    }
656
4
    auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<T>::CppType*>(&storage);
657
4
    return *ptr;
658
4
}
_ZN5doris5Field3getILNS_13PrimitiveTypeE17EEERNS_19PrimitiveTypeTraitsIXT_EE7CppTypeEv
Line
Count
Source
651
7.10M
typename PrimitiveTypeTraits<T>::CppType& Field::get() {
652
7.10M
    if (T != type && !(is_string_type(type) && is_string_type(T)) && type != TYPE_NULL) {
653
0
        throw Exception(Status::FatalError("Field::get type mismatch: requested {}, actual {}",
654
0
                                           type_to_string(T), get_type_name()));
655
0
    }
656
7.10M
    auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<T>::CppType*>(&storage);
657
7.10M
    return *ptr;
658
7.10M
}
_ZN5doris5Field3getILNS_13PrimitiveTypeE36EEERNS_19PrimitiveTypeTraitsIXT_EE7CppTypeEv
Line
Count
Source
651
45.8k
typename PrimitiveTypeTraits<T>::CppType& Field::get() {
652
45.8k
    if (T != type && !(is_string_type(type) && is_string_type(T)) && type != TYPE_NULL) {
653
0
        throw Exception(Status::FatalError("Field::get type mismatch: requested {}, actual {}",
654
0
                                           type_to_string(T), get_type_name()));
655
0
    }
656
45.8k
    auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<T>::CppType*>(&storage);
657
45.8k
    return *ptr;
658
45.8k
}
_ZN5doris5Field3getILNS_13PrimitiveTypeE37EEERNS_19PrimitiveTypeTraitsIXT_EE7CppTypeEv
Line
Count
Source
651
33.7k
typename PrimitiveTypeTraits<T>::CppType& Field::get() {
652
33.7k
    if (T != type && !(is_string_type(type) && is_string_type(T)) && type != TYPE_NULL) {
653
0
        throw Exception(Status::FatalError("Field::get type mismatch: requested {}, actual {}",
654
0
                                           type_to_string(T), get_type_name()));
655
0
    }
656
33.7k
    auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<T>::CppType*>(&storage);
657
33.7k
    return *ptr;
658
33.7k
}
_ZN5doris5Field3getILNS_13PrimitiveTypeE2EEERNS_19PrimitiveTypeTraitsIXT_EE7CppTypeEv
Line
Count
Source
651
1.03M
typename PrimitiveTypeTraits<T>::CppType& Field::get() {
652
1.03M
    if (T != type && !(is_string_type(type) && is_string_type(T)) && type != TYPE_NULL) {
653
0
        throw Exception(Status::FatalError("Field::get type mismatch: requested {}, actual {}",
654
0
                                           type_to_string(T), get_type_name()));
655
0
    }
656
1.03M
    auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<T>::CppType*>(&storage);
657
1.03M
    return *ptr;
658
1.03M
}
_ZN5doris5Field3getILNS_13PrimitiveTypeE8EEERNS_19PrimitiveTypeTraitsIXT_EE7CppTypeEv
Line
Count
Source
651
111k
typename PrimitiveTypeTraits<T>::CppType& Field::get() {
652
111k
    if (T != type && !(is_string_type(type) && is_string_type(T)) && type != TYPE_NULL) {
653
0
        throw Exception(Status::FatalError("Field::get type mismatch: requested {}, actual {}",
654
0
                                           type_to_string(T), get_type_name()));
655
0
    }
656
111k
    auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<T>::CppType*>(&storage);
657
111k
    return *ptr;
658
111k
}
_ZN5doris5Field3getILNS_13PrimitiveTypeE9EEERNS_19PrimitiveTypeTraitsIXT_EE7CppTypeEv
Line
Count
Source
651
3.55M
typename PrimitiveTypeTraits<T>::CppType& Field::get() {
652
3.55M
    if (T != type && !(is_string_type(type) && is_string_type(T)) && type != TYPE_NULL) {
653
0
        throw Exception(Status::FatalError("Field::get type mismatch: requested {}, actual {}",
654
0
                                           type_to_string(T), get_type_name()));
655
0
    }
656
3.55M
    auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<T>::CppType*>(&storage);
657
3.55M
    return *ptr;
658
3.55M
}
_ZN5doris5Field3getILNS_13PrimitiveTypeE31EEERNS_19PrimitiveTypeTraitsIXT_EE7CppTypeEv
Line
Count
Source
651
3.04M
typename PrimitiveTypeTraits<T>::CppType& Field::get() {
652
3.04M
    if (T != type && !(is_string_type(type) && is_string_type(T)) && type != TYPE_NULL) {
653
0
        throw Exception(Status::FatalError("Field::get type mismatch: requested {}, actual {}",
654
0
                                           type_to_string(T), get_type_name()));
655
0
    }
656
3.04M
    auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<T>::CppType*>(&storage);
657
3.04M
    return *ptr;
658
3.04M
}
_ZN5doris5Field3getILNS_13PrimitiveTypeE16EEERNS_19PrimitiveTypeTraitsIXT_EE7CppTypeEv
Line
Count
Source
651
13.8k
typename PrimitiveTypeTraits<T>::CppType& Field::get() {
652
13.8k
    if (T != type && !(is_string_type(type) && is_string_type(T)) && type != TYPE_NULL) {
653
0
        throw Exception(Status::FatalError("Field::get type mismatch: requested {}, actual {}",
654
0
                                           type_to_string(T), get_type_name()));
655
0
    }
656
13.8k
    auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<T>::CppType*>(&storage);
657
13.8k
    return *ptr;
658
13.8k
}
_ZN5doris5Field3getILNS_13PrimitiveTypeE18EEERNS_19PrimitiveTypeTraitsIXT_EE7CppTypeEv
Line
Count
Source
651
36.5k
typename PrimitiveTypeTraits<T>::CppType& Field::get() {
652
36.5k
    if (T != type && !(is_string_type(type) && is_string_type(T)) && type != TYPE_NULL) {
653
0
        throw Exception(Status::FatalError("Field::get type mismatch: requested {}, actual {}",
654
0
                                           type_to_string(T), get_type_name()));
655
0
    }
656
36.5k
    auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<T>::CppType*>(&storage);
657
36.5k
    return *ptr;
658
36.5k
}
_ZN5doris5Field3getILNS_13PrimitiveTypeE22EEERNS_19PrimitiveTypeTraitsIXT_EE7CppTypeEv
Line
Count
Source
651
210
typename PrimitiveTypeTraits<T>::CppType& Field::get() {
652
210
    if (T != type && !(is_string_type(type) && is_string_type(T)) && type != TYPE_NULL) {
653
0
        throw Exception(Status::FatalError("Field::get type mismatch: requested {}, actual {}",
654
0
                                           type_to_string(T), get_type_name()));
655
0
    }
656
210
    auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<T>::CppType*>(&storage);
657
210
    return *ptr;
658
210
}
_ZN5doris5Field3getILNS_13PrimitiveTypeE27EEERNS_19PrimitiveTypeTraitsIXT_EE7CppTypeEv
Line
Count
Source
651
127
typename PrimitiveTypeTraits<T>::CppType& Field::get() {
652
127
    if (T != type && !(is_string_type(type) && is_string_type(T)) && type != TYPE_NULL) {
653
0
        throw Exception(Status::FatalError("Field::get type mismatch: requested {}, actual {}",
654
0
                                           type_to_string(T), get_type_name()));
655
0
    }
656
127
    auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<T>::CppType*>(&storage);
657
127
    return *ptr;
658
127
}
Unexecuted instantiation: _ZN5doris5Field3getILNS_13PrimitiveTypeE38EEERNS_19PrimitiveTypeTraitsIXT_EE7CppTypeEv
Unexecuted instantiation: _ZN5doris5Field3getILNS_13PrimitiveTypeE39EEERNS_19PrimitiveTypeTraitsIXT_EE7CppTypeEv
659
660
template <PrimitiveType T>
661
465M
const typename PrimitiveTypeTraits<T>::CppType& Field::get() const {
662
465M
    if (T != type && !(is_string_type(type) && is_string_type(T)) && type != TYPE_NULL) {
663
0
        throw Exception(Status::FatalError("Field::get type mismatch: requested {}, actual {}",
664
0
                                           type_to_string(T), get_type_name()));
665
0
    }
666
465M
    const auto* MAY_ALIAS ptr =
667
465M
            reinterpret_cast<const typename PrimitiveTypeTraits<T>::CppType*>(&storage);
668
465M
    return *ptr;
669
465M
}
_ZNK5doris5Field3getILNS_13PrimitiveTypeE1EEERKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeEv
Line
Count
Source
661
39.9M
const typename PrimitiveTypeTraits<T>::CppType& Field::get() const {
662
39.9M
    if (T != type && !(is_string_type(type) && is_string_type(T)) && type != TYPE_NULL) {
663
0
        throw Exception(Status::FatalError("Field::get type mismatch: requested {}, actual {}",
664
0
                                           type_to_string(T), get_type_name()));
665
0
    }
666
39.9M
    const auto* MAY_ALIAS ptr =
667
39.9M
            reinterpret_cast<const typename PrimitiveTypeTraits<T>::CppType*>(&storage);
668
39.9M
    return *ptr;
669
39.9M
}
_ZNK5doris5Field3getILNS_13PrimitiveTypeE3EEERKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeEv
Line
Count
Source
661
10.6M
const typename PrimitiveTypeTraits<T>::CppType& Field::get() const {
662
10.6M
    if (T != type && !(is_string_type(type) && is_string_type(T)) && type != TYPE_NULL) {
663
0
        throw Exception(Status::FatalError("Field::get type mismatch: requested {}, actual {}",
664
0
                                           type_to_string(T), get_type_name()));
665
0
    }
666
10.6M
    const auto* MAY_ALIAS ptr =
667
10.6M
            reinterpret_cast<const typename PrimitiveTypeTraits<T>::CppType*>(&storage);
668
10.6M
    return *ptr;
669
10.6M
}
_ZNK5doris5Field3getILNS_13PrimitiveTypeE4EEERKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeEv
Line
Count
Source
661
5.11M
const typename PrimitiveTypeTraits<T>::CppType& Field::get() const {
662
5.11M
    if (T != type && !(is_string_type(type) && is_string_type(T)) && type != TYPE_NULL) {
663
0
        throw Exception(Status::FatalError("Field::get type mismatch: requested {}, actual {}",
664
0
                                           type_to_string(T), get_type_name()));
665
0
    }
666
5.11M
    const auto* MAY_ALIAS ptr =
667
5.11M
            reinterpret_cast<const typename PrimitiveTypeTraits<T>::CppType*>(&storage);
668
5.11M
    return *ptr;
669
5.11M
}
_ZNK5doris5Field3getILNS_13PrimitiveTypeE5EEERKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeEv
Line
Count
Source
661
6.04M
const typename PrimitiveTypeTraits<T>::CppType& Field::get() const {
662
6.04M
    if (T != type && !(is_string_type(type) && is_string_type(T)) && type != TYPE_NULL) {
663
0
        throw Exception(Status::FatalError("Field::get type mismatch: requested {}, actual {}",
664
0
                                           type_to_string(T), get_type_name()));
665
0
    }
666
6.04M
    const auto* MAY_ALIAS ptr =
667
6.04M
            reinterpret_cast<const typename PrimitiveTypeTraits<T>::CppType*>(&storage);
668
6.04M
    return *ptr;
669
6.04M
}
_ZNK5doris5Field3getILNS_13PrimitiveTypeE6EEERKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeEv
Line
Count
Source
661
48.2M
const typename PrimitiveTypeTraits<T>::CppType& Field::get() const {
662
48.2M
    if (T != type && !(is_string_type(type) && is_string_type(T)) && type != TYPE_NULL) {
663
0
        throw Exception(Status::FatalError("Field::get type mismatch: requested {}, actual {}",
664
0
                                           type_to_string(T), get_type_name()));
665
0
    }
666
48.2M
    const auto* MAY_ALIAS ptr =
667
48.2M
            reinterpret_cast<const typename PrimitiveTypeTraits<T>::CppType*>(&storage);
668
48.2M
    return *ptr;
669
48.2M
}
_ZNK5doris5Field3getILNS_13PrimitiveTypeE7EEERKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeEv
Line
Count
Source
661
4.57M
const typename PrimitiveTypeTraits<T>::CppType& Field::get() const {
662
4.57M
    if (T != type && !(is_string_type(type) && is_string_type(T)) && type != TYPE_NULL) {
663
0
        throw Exception(Status::FatalError("Field::get type mismatch: requested {}, actual {}",
664
0
                                           type_to_string(T), get_type_name()));
665
0
    }
666
4.57M
    const auto* MAY_ALIAS ptr =
667
4.57M
            reinterpret_cast<const typename PrimitiveTypeTraits<T>::CppType*>(&storage);
668
4.57M
    return *ptr;
669
4.57M
}
_ZNK5doris5Field3getILNS_13PrimitiveTypeE11EEERKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeEv
Line
Count
Source
661
4.40M
const typename PrimitiveTypeTraits<T>::CppType& Field::get() const {
662
4.40M
    if (T != type && !(is_string_type(type) && is_string_type(T)) && type != TYPE_NULL) {
663
0
        throw Exception(Status::FatalError("Field::get type mismatch: requested {}, actual {}",
664
0
                                           type_to_string(T), get_type_name()));
665
0
    }
666
4.40M
    const auto* MAY_ALIAS ptr =
667
4.40M
            reinterpret_cast<const typename PrimitiveTypeTraits<T>::CppType*>(&storage);
668
4.40M
    return *ptr;
669
4.40M
}
_ZNK5doris5Field3getILNS_13PrimitiveTypeE12EEERKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeEv
Line
Count
Source
661
4.32M
const typename PrimitiveTypeTraits<T>::CppType& Field::get() const {
662
4.32M
    if (T != type && !(is_string_type(type) && is_string_type(T)) && type != TYPE_NULL) {
663
0
        throw Exception(Status::FatalError("Field::get type mismatch: requested {}, actual {}",
664
0
                                           type_to_string(T), get_type_name()));
665
0
    }
666
4.32M
    const auto* MAY_ALIAS ptr =
667
4.32M
            reinterpret_cast<const typename PrimitiveTypeTraits<T>::CppType*>(&storage);
668
4.32M
    return *ptr;
669
4.32M
}
_ZNK5doris5Field3getILNS_13PrimitiveTypeE25EEERKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeEv
Line
Count
Source
661
7.87M
const typename PrimitiveTypeTraits<T>::CppType& Field::get() const {
662
7.87M
    if (T != type && !(is_string_type(type) && is_string_type(T)) && type != TYPE_NULL) {
663
0
        throw Exception(Status::FatalError("Field::get type mismatch: requested {}, actual {}",
664
0
                                           type_to_string(T), get_type_name()));
665
0
    }
666
7.87M
    const auto* MAY_ALIAS ptr =
667
7.87M
            reinterpret_cast<const typename PrimitiveTypeTraits<T>::CppType*>(&storage);
668
7.87M
    return *ptr;
669
7.87M
}
_ZNK5doris5Field3getILNS_13PrimitiveTypeE26EEERKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeEv
Line
Count
Source
661
5.38M
const typename PrimitiveTypeTraits<T>::CppType& Field::get() const {
662
5.38M
    if (T != type && !(is_string_type(type) && is_string_type(T)) && type != TYPE_NULL) {
663
0
        throw Exception(Status::FatalError("Field::get type mismatch: requested {}, actual {}",
664
0
                                           type_to_string(T), get_type_name()));
665
0
    }
666
5.38M
    const auto* MAY_ALIAS ptr =
667
5.38M
            reinterpret_cast<const typename PrimitiveTypeTraits<T>::CppType*>(&storage);
668
5.38M
    return *ptr;
669
5.38M
}
_ZNK5doris5Field3getILNS_13PrimitiveTypeE42EEERKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeEv
Line
Count
Source
661
100k
const typename PrimitiveTypeTraits<T>::CppType& Field::get() const {
662
100k
    if (T != type && !(is_string_type(type) && is_string_type(T)) && type != TYPE_NULL) {
663
0
        throw Exception(Status::FatalError("Field::get type mismatch: requested {}, actual {}",
664
0
                                           type_to_string(T), get_type_name()));
665
0
    }
666
100k
    const auto* MAY_ALIAS ptr =
667
100k
            reinterpret_cast<const typename PrimitiveTypeTraits<T>::CppType*>(&storage);
668
100k
    return *ptr;
669
100k
}
_ZNK5doris5Field3getILNS_13PrimitiveTypeE28EEERKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeEv
Line
Count
Source
661
4.63M
const typename PrimitiveTypeTraits<T>::CppType& Field::get() const {
662
4.63M
    if (T != type && !(is_string_type(type) && is_string_type(T)) && type != TYPE_NULL) {
663
0
        throw Exception(Status::FatalError("Field::get type mismatch: requested {}, actual {}",
664
0
                                           type_to_string(T), get_type_name()));
665
0
    }
666
4.63M
    const auto* MAY_ALIAS ptr =
667
4.63M
            reinterpret_cast<const typename PrimitiveTypeTraits<T>::CppType*>(&storage);
668
4.63M
    return *ptr;
669
4.63M
}
_ZNK5doris5Field3getILNS_13PrimitiveTypeE29EEERKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeEv
Line
Count
Source
661
18.2M
const typename PrimitiveTypeTraits<T>::CppType& Field::get() const {
662
18.2M
    if (T != type && !(is_string_type(type) && is_string_type(T)) && type != TYPE_NULL) {
663
0
        throw Exception(Status::FatalError("Field::get type mismatch: requested {}, actual {}",
664
0
                                           type_to_string(T), get_type_name()));
665
0
    }
666
18.2M
    const auto* MAY_ALIAS ptr =
667
18.2M
            reinterpret_cast<const typename PrimitiveTypeTraits<T>::CppType*>(&storage);
668
18.2M
    return *ptr;
669
18.2M
}
_ZNK5doris5Field3getILNS_13PrimitiveTypeE20EEERKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeEv
Line
Count
Source
661
17.2k
const typename PrimitiveTypeTraits<T>::CppType& Field::get() const {
662
17.2k
    if (T != type && !(is_string_type(type) && is_string_type(T)) && type != TYPE_NULL) {
663
0
        throw Exception(Status::FatalError("Field::get type mismatch: requested {}, actual {}",
664
0
                                           type_to_string(T), get_type_name()));
665
0
    }
666
17.2k
    const auto* MAY_ALIAS ptr =
667
17.2k
            reinterpret_cast<const typename PrimitiveTypeTraits<T>::CppType*>(&storage);
668
17.2k
    return *ptr;
669
17.2k
}
_ZNK5doris5Field3getILNS_13PrimitiveTypeE30EEERKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeEv
Line
Count
Source
661
4.77M
const typename PrimitiveTypeTraits<T>::CppType& Field::get() const {
662
4.77M
    if (T != type && !(is_string_type(type) && is_string_type(T)) && type != TYPE_NULL) {
663
0
        throw Exception(Status::FatalError("Field::get type mismatch: requested {}, actual {}",
664
0
                                           type_to_string(T), get_type_name()));
665
0
    }
666
4.77M
    const auto* MAY_ALIAS ptr =
667
4.77M
            reinterpret_cast<const typename PrimitiveTypeTraits<T>::CppType*>(&storage);
668
4.77M
    return *ptr;
669
4.77M
}
_ZNK5doris5Field3getILNS_13PrimitiveTypeE35EEERKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeEv
Line
Count
Source
661
4.69M
const typename PrimitiveTypeTraits<T>::CppType& Field::get() const {
662
4.69M
    if (T != type && !(is_string_type(type) && is_string_type(T)) && type != TYPE_NULL) {
663
0
        throw Exception(Status::FatalError("Field::get type mismatch: requested {}, actual {}",
664
0
                                           type_to_string(T), get_type_name()));
665
0
    }
666
4.69M
    const auto* MAY_ALIAS ptr =
667
4.69M
            reinterpret_cast<const typename PrimitiveTypeTraits<T>::CppType*>(&storage);
668
4.69M
    return *ptr;
669
4.69M
}
_ZNK5doris5Field3getILNS_13PrimitiveTypeE15EEERKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeEv
Line
Count
Source
661
48.8k
const typename PrimitiveTypeTraits<T>::CppType& Field::get() const {
662
48.8k
    if (T != type && !(is_string_type(type) && is_string_type(T)) && type != TYPE_NULL) {
663
0
        throw Exception(Status::FatalError("Field::get type mismatch: requested {}, actual {}",
664
0
                                           type_to_string(T), get_type_name()));
665
0
    }
666
48.8k
    const auto* MAY_ALIAS ptr =
667
48.8k
            reinterpret_cast<const typename PrimitiveTypeTraits<T>::CppType*>(&storage);
668
48.8k
    return *ptr;
669
48.8k
}
_ZNK5doris5Field3getILNS_13PrimitiveTypeE10EEERKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeEv
Line
Count
Source
661
11.1M
const typename PrimitiveTypeTraits<T>::CppType& Field::get() const {
662
11.1M
    if (T != type && !(is_string_type(type) && is_string_type(T)) && type != TYPE_NULL) {
663
0
        throw Exception(Status::FatalError("Field::get type mismatch: requested {}, actual {}",
664
0
                                           type_to_string(T), get_type_name()));
665
0
    }
666
11.1M
    const auto* MAY_ALIAS ptr =
667
11.1M
            reinterpret_cast<const typename PrimitiveTypeTraits<T>::CppType*>(&storage);
668
11.1M
    return *ptr;
669
11.1M
}
_ZNK5doris5Field3getILNS_13PrimitiveTypeE23EEERKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeEv
Line
Count
Source
661
78.5M
const typename PrimitiveTypeTraits<T>::CppType& Field::get() const {
662
78.5M
    if (T != type && !(is_string_type(type) && is_string_type(T)) && type != TYPE_NULL) {
663
0
        throw Exception(Status::FatalError("Field::get type mismatch: requested {}, actual {}",
664
0
                                           type_to_string(T), get_type_name()));
665
0
    }
666
78.5M
    const auto* MAY_ALIAS ptr =
667
78.5M
            reinterpret_cast<const typename PrimitiveTypeTraits<T>::CppType*>(&storage);
668
78.5M
    return *ptr;
669
78.5M
}
_ZNK5doris5Field3getILNS_13PrimitiveTypeE41EEERKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeEv
Line
Count
Source
661
18
const typename PrimitiveTypeTraits<T>::CppType& Field::get() const {
662
18
    if (T != type && !(is_string_type(type) && is_string_type(T)) && type != TYPE_NULL) {
663
0
        throw Exception(Status::FatalError("Field::get type mismatch: requested {}, actual {}",
664
0
                                           type_to_string(T), get_type_name()));
665
0
    }
666
18
    const auto* MAY_ALIAS ptr =
667
18
            reinterpret_cast<const typename PrimitiveTypeTraits<T>::CppType*>(&storage);
668
18
    return *ptr;
669
18
}
_ZNK5doris5Field3getILNS_13PrimitiveTypeE19EEERKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeEv
Line
Count
Source
661
8
const typename PrimitiveTypeTraits<T>::CppType& Field::get() const {
662
8
    if (T != type && !(is_string_type(type) && is_string_type(T)) && type != TYPE_NULL) {
663
0
        throw Exception(Status::FatalError("Field::get type mismatch: requested {}, actual {}",
664
0
                                           type_to_string(T), get_type_name()));
665
0
    }
666
8
    const auto* MAY_ALIAS ptr =
667
8
            reinterpret_cast<const typename PrimitiveTypeTraits<T>::CppType*>(&storage);
668
8
    return *ptr;
669
8
}
_ZNK5doris5Field3getILNS_13PrimitiveTypeE32EEERKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeEv
Line
Count
Source
661
96.3k
const typename PrimitiveTypeTraits<T>::CppType& Field::get() const {
662
96.3k
    if (T != type && !(is_string_type(type) && is_string_type(T)) && type != TYPE_NULL) {
663
0
        throw Exception(Status::FatalError("Field::get type mismatch: requested {}, actual {}",
664
0
                                           type_to_string(T), get_type_name()));
665
0
    }
666
96.3k
    const auto* MAY_ALIAS ptr =
667
96.3k
            reinterpret_cast<const typename PrimitiveTypeTraits<T>::CppType*>(&storage);
668
96.3k
    return *ptr;
669
96.3k
}
_ZNK5doris5Field3getILNS_13PrimitiveTypeE24EEERKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeEv
Line
Count
Source
661
20.0k
const typename PrimitiveTypeTraits<T>::CppType& Field::get() const {
662
20.0k
    if (T != type && !(is_string_type(type) && is_string_type(T)) && type != TYPE_NULL) {
663
0
        throw Exception(Status::FatalError("Field::get type mismatch: requested {}, actual {}",
664
0
                                           type_to_string(T), get_type_name()));
665
0
    }
666
20.0k
    const auto* MAY_ALIAS ptr =
667
20.0k
            reinterpret_cast<const typename PrimitiveTypeTraits<T>::CppType*>(&storage);
668
20.0k
    return *ptr;
669
20.0k
}
_ZNK5doris5Field3getILNS_13PrimitiveTypeE17EEERKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeEv
Line
Count
Source
661
127M
const typename PrimitiveTypeTraits<T>::CppType& Field::get() const {
662
127M
    if (T != type && !(is_string_type(type) && is_string_type(T)) && type != TYPE_NULL) {
663
0
        throw Exception(Status::FatalError("Field::get type mismatch: requested {}, actual {}",
664
0
                                           type_to_string(T), get_type_name()));
665
0
    }
666
127M
    const auto* MAY_ALIAS ptr =
667
127M
            reinterpret_cast<const typename PrimitiveTypeTraits<T>::CppType*>(&storage);
668
127M
    return *ptr;
669
127M
}
_ZNK5doris5Field3getILNS_13PrimitiveTypeE36EEERKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeEv
Line
Count
Source
661
37.0k
const typename PrimitiveTypeTraits<T>::CppType& Field::get() const {
662
37.0k
    if (T != type && !(is_string_type(type) && is_string_type(T)) && type != TYPE_NULL) {
663
0
        throw Exception(Status::FatalError("Field::get type mismatch: requested {}, actual {}",
664
0
                                           type_to_string(T), get_type_name()));
665
0
    }
666
37.0k
    const auto* MAY_ALIAS ptr =
667
37.0k
            reinterpret_cast<const typename PrimitiveTypeTraits<T>::CppType*>(&storage);
668
37.0k
    return *ptr;
669
37.0k
}
_ZNK5doris5Field3getILNS_13PrimitiveTypeE37EEERKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeEv
Line
Count
Source
661
26.7k
const typename PrimitiveTypeTraits<T>::CppType& Field::get() const {
662
26.7k
    if (T != type && !(is_string_type(type) && is_string_type(T)) && type != TYPE_NULL) {
663
0
        throw Exception(Status::FatalError("Field::get type mismatch: requested {}, actual {}",
664
0
                                           type_to_string(T), get_type_name()));
665
0
    }
666
26.7k
    const auto* MAY_ALIAS ptr =
667
26.7k
            reinterpret_cast<const typename PrimitiveTypeTraits<T>::CppType*>(&storage);
668
26.7k
    return *ptr;
669
26.7k
}
_ZNK5doris5Field3getILNS_13PrimitiveTypeE2EEERKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeEv
Line
Count
Source
661
34.4M
const typename PrimitiveTypeTraits<T>::CppType& Field::get() const {
662
34.4M
    if (T != type && !(is_string_type(type) && is_string_type(T)) && type != TYPE_NULL) {
663
0
        throw Exception(Status::FatalError("Field::get type mismatch: requested {}, actual {}",
664
0
                                           type_to_string(T), get_type_name()));
665
0
    }
666
34.4M
    const auto* MAY_ALIAS ptr =
667
34.4M
            reinterpret_cast<const typename PrimitiveTypeTraits<T>::CppType*>(&storage);
668
34.4M
    return *ptr;
669
34.4M
}
_ZNK5doris5Field3getILNS_13PrimitiveTypeE8EEERKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeEv
Line
Count
Source
661
4.54M
const typename PrimitiveTypeTraits<T>::CppType& Field::get() const {
662
4.54M
    if (T != type && !(is_string_type(type) && is_string_type(T)) && type != TYPE_NULL) {
663
0
        throw Exception(Status::FatalError("Field::get type mismatch: requested {}, actual {}",
664
0
                                           type_to_string(T), get_type_name()));
665
0
    }
666
4.54M
    const auto* MAY_ALIAS ptr =
667
4.54M
            reinterpret_cast<const typename PrimitiveTypeTraits<T>::CppType*>(&storage);
668
4.54M
    return *ptr;
669
4.54M
}
_ZNK5doris5Field3getILNS_13PrimitiveTypeE9EEERKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeEv
Line
Count
Source
661
13.8M
const typename PrimitiveTypeTraits<T>::CppType& Field::get() const {
662
13.8M
    if (T != type && !(is_string_type(type) && is_string_type(T)) && type != TYPE_NULL) {
663
0
        throw Exception(Status::FatalError("Field::get type mismatch: requested {}, actual {}",
664
0
                                           type_to_string(T), get_type_name()));
665
0
    }
666
13.8M
    const auto* MAY_ALIAS ptr =
667
13.8M
            reinterpret_cast<const typename PrimitiveTypeTraits<T>::CppType*>(&storage);
668
13.8M
    return *ptr;
669
13.8M
}
_ZNK5doris5Field3getILNS_13PrimitiveTypeE31EEERKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeEv
Line
Count
Source
661
4.44M
const typename PrimitiveTypeTraits<T>::CppType& Field::get() const {
662
4.44M
    if (T != type && !(is_string_type(type) && is_string_type(T)) && type != TYPE_NULL) {
663
0
        throw Exception(Status::FatalError("Field::get type mismatch: requested {}, actual {}",
664
0
                                           type_to_string(T), get_type_name()));
665
0
    }
666
4.44M
    const auto* MAY_ALIAS ptr =
667
4.44M
            reinterpret_cast<const typename PrimitiveTypeTraits<T>::CppType*>(&storage);
668
4.44M
    return *ptr;
669
4.44M
}
_ZNK5doris5Field3getILNS_13PrimitiveTypeE16EEERKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeEv
Line
Count
Source
661
4.05M
const typename PrimitiveTypeTraits<T>::CppType& Field::get() const {
662
4.05M
    if (T != type && !(is_string_type(type) && is_string_type(T)) && type != TYPE_NULL) {
663
0
        throw Exception(Status::FatalError("Field::get type mismatch: requested {}, actual {}",
664
0
                                           type_to_string(T), get_type_name()));
665
0
    }
666
4.05M
    const auto* MAY_ALIAS ptr =
667
4.05M
            reinterpret_cast<const typename PrimitiveTypeTraits<T>::CppType*>(&storage);
668
4.05M
    return *ptr;
669
4.05M
}
_ZNK5doris5Field3getILNS_13PrimitiveTypeE18EEERKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeEv
Line
Count
Source
661
17.2M
const typename PrimitiveTypeTraits<T>::CppType& Field::get() const {
662
17.2M
    if (T != type && !(is_string_type(type) && is_string_type(T)) && type != TYPE_NULL) {
663
0
        throw Exception(Status::FatalError("Field::get type mismatch: requested {}, actual {}",
664
0
                                           type_to_string(T), get_type_name()));
665
0
    }
666
17.2M
    const auto* MAY_ALIAS ptr =
667
17.2M
            reinterpret_cast<const typename PrimitiveTypeTraits<T>::CppType*>(&storage);
668
17.2M
    return *ptr;
669
17.2M
}
_ZNK5doris5Field3getILNS_13PrimitiveTypeE22EEERKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeEv
Line
Count
Source
661
22.5k
const typename PrimitiveTypeTraits<T>::CppType& Field::get() const {
662
22.5k
    if (T != type && !(is_string_type(type) && is_string_type(T)) && type != TYPE_NULL) {
663
0
        throw Exception(Status::FatalError("Field::get type mismatch: requested {}, actual {}",
664
0
                                           type_to_string(T), get_type_name()));
665
0
    }
666
22.5k
    const auto* MAY_ALIAS ptr =
667
22.5k
            reinterpret_cast<const typename PrimitiveTypeTraits<T>::CppType*>(&storage);
668
22.5k
    return *ptr;
669
22.5k
}
_ZNK5doris5Field3getILNS_13PrimitiveTypeE27EEERKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeEv
Line
Count
Source
661
210
const typename PrimitiveTypeTraits<T>::CppType& Field::get() const {
662
210
    if (T != type && !(is_string_type(type) && is_string_type(T)) && type != TYPE_NULL) {
663
0
        throw Exception(Status::FatalError("Field::get type mismatch: requested {}, actual {}",
664
0
                                           type_to_string(T), get_type_name()));
665
0
    }
666
210
    const auto* MAY_ALIAS ptr =
667
210
            reinterpret_cast<const typename PrimitiveTypeTraits<T>::CppType*>(&storage);
668
210
    return *ptr;
669
210
}
Unexecuted instantiation: _ZNK5doris5Field3getILNS_13PrimitiveTypeE38EEERKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeEv
_ZNK5doris5Field3getILNS_13PrimitiveTypeE39EEERKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeEv
Line
Count
Source
661
40
const typename PrimitiveTypeTraits<T>::CppType& Field::get() const {
662
40
    if (T != type && !(is_string_type(type) && is_string_type(T)) && type != TYPE_NULL) {
663
0
        throw Exception(Status::FatalError("Field::get type mismatch: requested {}, actual {}",
664
0
                                           type_to_string(T), get_type_name()));
665
0
    }
666
40
    const auto* MAY_ALIAS ptr =
667
40
            reinterpret_cast<const typename PrimitiveTypeTraits<T>::CppType*>(&storage);
668
40
    return *ptr;
669
40
}
670
671
template <PrimitiveType T>
672
219M
void Field::destroy() {
673
219M
    using TargetType = typename PrimitiveTypeTraits<T>::CppType;
674
18.4E
    DCHECK(T == type || ((is_string_type(type) && is_string_type(T))))
675
18.4E
            << "Type mismatch: requested " << type_to_string(T) << ", actual " << get_type_name();
676
219M
    auto* MAY_ALIAS ptr = reinterpret_cast<TargetType*>(&storage);
677
219M
    ptr->~TargetType();
678
219M
}
Unexecuted instantiation: _ZN5doris5Field7destroyILNS_13PrimitiveTypeE1EEEvv
Unexecuted instantiation: _ZN5doris5Field7destroyILNS_13PrimitiveTypeE3EEEvv
Unexecuted instantiation: _ZN5doris5Field7destroyILNS_13PrimitiveTypeE4EEEvv
Unexecuted instantiation: _ZN5doris5Field7destroyILNS_13PrimitiveTypeE5EEEvv
Unexecuted instantiation: _ZN5doris5Field7destroyILNS_13PrimitiveTypeE6EEEvv
Unexecuted instantiation: _ZN5doris5Field7destroyILNS_13PrimitiveTypeE7EEEvv
Unexecuted instantiation: _ZN5doris5Field7destroyILNS_13PrimitiveTypeE11EEEvv
Unexecuted instantiation: _ZN5doris5Field7destroyILNS_13PrimitiveTypeE12EEEvv
Unexecuted instantiation: _ZN5doris5Field7destroyILNS_13PrimitiveTypeE25EEEvv
Unexecuted instantiation: _ZN5doris5Field7destroyILNS_13PrimitiveTypeE26EEEvv
Unexecuted instantiation: _ZN5doris5Field7destroyILNS_13PrimitiveTypeE42EEEvv
Unexecuted instantiation: _ZN5doris5Field7destroyILNS_13PrimitiveTypeE28EEEvv
Unexecuted instantiation: _ZN5doris5Field7destroyILNS_13PrimitiveTypeE29EEEvv
Unexecuted instantiation: _ZN5doris5Field7destroyILNS_13PrimitiveTypeE20EEEvv
Unexecuted instantiation: _ZN5doris5Field7destroyILNS_13PrimitiveTypeE30EEEvv
Unexecuted instantiation: _ZN5doris5Field7destroyILNS_13PrimitiveTypeE35EEEvv
_ZN5doris5Field7destroyILNS_13PrimitiveTypeE15EEEvv
Line
Count
Source
672
145k
void Field::destroy() {
673
145k
    using TargetType = typename PrimitiveTypeTraits<T>::CppType;
674
18.4E
    DCHECK(T == type || ((is_string_type(type) && is_string_type(T))))
675
18.4E
            << "Type mismatch: requested " << type_to_string(T) << ", actual " << get_type_name();
676
145k
    auto* MAY_ALIAS ptr = reinterpret_cast<TargetType*>(&storage);
677
145k
    ptr->~TargetType();
678
145k
}
_ZN5doris5Field7destroyILNS_13PrimitiveTypeE10EEEvv
Line
Count
Source
672
9.77M
void Field::destroy() {
673
9.77M
    using TargetType = typename PrimitiveTypeTraits<T>::CppType;
674
18.4E
    DCHECK(T == type || ((is_string_type(type) && is_string_type(T))))
675
18.4E
            << "Type mismatch: requested " << type_to_string(T) << ", actual " << get_type_name();
676
9.77M
    auto* MAY_ALIAS ptr = reinterpret_cast<TargetType*>(&storage);
677
9.77M
    ptr->~TargetType();
678
9.77M
}
_ZN5doris5Field7destroyILNS_13PrimitiveTypeE23EEEvv
Line
Count
Source
672
84.8M
void Field::destroy() {
673
84.8M
    using TargetType = typename PrimitiveTypeTraits<T>::CppType;
674
18.4E
    DCHECK(T == type || ((is_string_type(type) && is_string_type(T))))
675
18.4E
            << "Type mismatch: requested " << type_to_string(T) << ", actual " << get_type_name();
676
84.8M
    auto* MAY_ALIAS ptr = reinterpret_cast<TargetType*>(&storage);
677
84.8M
    ptr->~TargetType();
678
84.8M
}
_ZN5doris5Field7destroyILNS_13PrimitiveTypeE41EEEvv
Line
Count
Source
672
49
void Field::destroy() {
673
49
    using TargetType = typename PrimitiveTypeTraits<T>::CppType;
674
49
    DCHECK(T == type || ((is_string_type(type) && is_string_type(T))))
675
0
            << "Type mismatch: requested " << type_to_string(T) << ", actual " << get_type_name();
676
49
    auto* MAY_ALIAS ptr = reinterpret_cast<TargetType*>(&storage);
677
49
    ptr->~TargetType();
678
49
}
_ZN5doris5Field7destroyILNS_13PrimitiveTypeE19EEEvv
Line
Count
Source
672
418
void Field::destroy() {
673
418
    using TargetType = typename PrimitiveTypeTraits<T>::CppType;
674
418
    DCHECK(T == type || ((is_string_type(type) && is_string_type(T))))
675
0
            << "Type mismatch: requested " << type_to_string(T) << ", actual " << get_type_name();
676
418
    auto* MAY_ALIAS ptr = reinterpret_cast<TargetType*>(&storage);
677
418
    ptr->~TargetType();
678
418
}
_ZN5doris5Field7destroyILNS_13PrimitiveTypeE32EEEvv
Line
Count
Source
672
328k
void Field::destroy() {
673
328k
    using TargetType = typename PrimitiveTypeTraits<T>::CppType;
674
18.4E
    DCHECK(T == type || ((is_string_type(type) && is_string_type(T))))
675
18.4E
            << "Type mismatch: requested " << type_to_string(T) << ", actual " << get_type_name();
676
328k
    auto* MAY_ALIAS ptr = reinterpret_cast<TargetType*>(&storage);
677
328k
    ptr->~TargetType();
678
328k
}
_ZN5doris5Field7destroyILNS_13PrimitiveTypeE24EEEvv
Line
Count
Source
672
22.3k
void Field::destroy() {
673
22.3k
    using TargetType = typename PrimitiveTypeTraits<T>::CppType;
674
22.3k
    DCHECK(T == type || ((is_string_type(type) && is_string_type(T))))
675
0
            << "Type mismatch: requested " << type_to_string(T) << ", actual " << get_type_name();
676
22.3k
    auto* MAY_ALIAS ptr = reinterpret_cast<TargetType*>(&storage);
677
22.3k
    ptr->~TargetType();
678
22.3k
}
_ZN5doris5Field7destroyILNS_13PrimitiveTypeE17EEEvv
Line
Count
Source
672
100M
void Field::destroy() {
673
100M
    using TargetType = typename PrimitiveTypeTraits<T>::CppType;
674
18.4E
    DCHECK(T == type || ((is_string_type(type) && is_string_type(T))))
675
18.4E
            << "Type mismatch: requested " << type_to_string(T) << ", actual " << get_type_name();
676
100M
    auto* MAY_ALIAS ptr = reinterpret_cast<TargetType*>(&storage);
677
100M
    ptr->~TargetType();
678
100M
}
Unexecuted instantiation: _ZN5doris5Field7destroyILNS_13PrimitiveTypeE36EEEvv
Unexecuted instantiation: _ZN5doris5Field7destroyILNS_13PrimitiveTypeE37EEEvv
Unexecuted instantiation: _ZN5doris5Field7destroyILNS_13PrimitiveTypeE2EEEvv
Unexecuted instantiation: _ZN5doris5Field7destroyILNS_13PrimitiveTypeE8EEEvv
Unexecuted instantiation: _ZN5doris5Field7destroyILNS_13PrimitiveTypeE9EEEvv
_ZN5doris5Field7destroyILNS_13PrimitiveTypeE31EEEvv
Line
Count
Source
672
7.81M
void Field::destroy() {
673
7.81M
    using TargetType = typename PrimitiveTypeTraits<T>::CppType;
674
18.4E
    DCHECK(T == type || ((is_string_type(type) && is_string_type(T))))
675
18.4E
            << "Type mismatch: requested " << type_to_string(T) << ", actual " << get_type_name();
676
7.81M
    auto* MAY_ALIAS ptr = reinterpret_cast<TargetType*>(&storage);
677
7.81M
    ptr->~TargetType();
678
7.81M
}
_ZN5doris5Field7destroyILNS_13PrimitiveTypeE16EEEvv
Line
Count
Source
672
3.06M
void Field::destroy() {
673
3.06M
    using TargetType = typename PrimitiveTypeTraits<T>::CppType;
674
3.06M
    DCHECK(T == type || ((is_string_type(type) && is_string_type(T))))
675
0
            << "Type mismatch: requested " << type_to_string(T) << ", actual " << get_type_name();
676
3.06M
    auto* MAY_ALIAS ptr = reinterpret_cast<TargetType*>(&storage);
677
3.06M
    ptr->~TargetType();
678
3.06M
}
_ZN5doris5Field7destroyILNS_13PrimitiveTypeE18EEEvv
Line
Count
Source
672
13.2M
void Field::destroy() {
673
13.2M
    using TargetType = typename PrimitiveTypeTraits<T>::CppType;
674
18.4E
    DCHECK(T == type || ((is_string_type(type) && is_string_type(T))))
675
18.4E
            << "Type mismatch: requested " << type_to_string(T) << ", actual " << get_type_name();
676
13.2M
    auto* MAY_ALIAS ptr = reinterpret_cast<TargetType*>(&storage);
677
13.2M
    ptr->~TargetType();
678
13.2M
}
_ZN5doris5Field7destroyILNS_13PrimitiveTypeE22EEEvv
Line
Count
Source
672
2.55k
void Field::destroy() {
673
2.55k
    using TargetType = typename PrimitiveTypeTraits<T>::CppType;
674
2.55k
    DCHECK(T == type || ((is_string_type(type) && is_string_type(T))))
675
0
            << "Type mismatch: requested " << type_to_string(T) << ", actual " << get_type_name();
676
2.55k
    auto* MAY_ALIAS ptr = reinterpret_cast<TargetType*>(&storage);
677
2.55k
    ptr->~TargetType();
678
2.55k
}
Unexecuted instantiation: _ZN5doris5Field7destroyILNS_13PrimitiveTypeE27EEEvv
Unexecuted instantiation: _ZN5doris5Field7destroyILNS_13PrimitiveTypeE38EEEvv
Unexecuted instantiation: _ZN5doris5Field7destroyILNS_13PrimitiveTypeE39EEEvv
679
680
10.8M
std::strong_ordering Field::operator<=>(const Field& rhs) const {
681
10.8M
    if (type == PrimitiveType::TYPE_NULL || rhs == PrimitiveType::TYPE_NULL) {
682
7.25M
        return type <=> rhs.type;
683
7.25M
    }
684
3.58M
    if (type != rhs.type) {
685
        // String-family types (STRING, CHAR, VARCHAR) all store String internally
686
        // and are inter-comparable.  This arises when comparing RowCursor fields
687
        // (which carry the declared column type) against Column::operator[] results
688
        // (which always return TYPE_STRING for ColumnString).
689
14.3k
        if (is_string_type(type) && is_string_type(rhs.type)) {
690
14.3k
            return get<TYPE_STRING>() <=> rhs.get<TYPE_STRING>();
691
14.3k
        }
692
2
        throw Exception(Status::FatalError("lhs type not equal with rhs, lhs={}, rhs={}",
693
2
                                           get_type_name(), rhs.get_type_name()));
694
14.3k
    }
695
696
3.56M
    switch (type) {
697
1.14k
    case PrimitiveType::TYPE_BITMAP:
698
1.34k
    case PrimitiveType::TYPE_HLL:
699
2.53k
    case PrimitiveType::TYPE_QUANTILE_STATE:
700
2.53k
    case PrimitiveType::INVALID_TYPE:
701
2.53k
    case PrimitiveType::TYPE_JSONB:
702
2.53k
    case PrimitiveType::TYPE_NULL:
703
8.67k
    case PrimitiveType::TYPE_ARRAY:
704
9.59k
    case PrimitiveType::TYPE_MAP:
705
10.3k
    case PrimitiveType::TYPE_STRUCT:
706
43.6k
    case PrimitiveType::TYPE_VARIANT:
707
43.6k
        return std::strong_ordering::equal; //TODO: throw Exception?
708
30.0k
    case PrimitiveType::TYPE_DATETIMEV2:
709
30.0k
        return get<PrimitiveType::TYPE_DATETIMEV2>().to_date_int_val() <=>
710
30.0k
               rhs.get<PrimitiveType::TYPE_DATETIMEV2>().to_date_int_val();
711
529k
    case PrimitiveType::TYPE_DATEV2:
712
529k
        return get<PrimitiveType::TYPE_DATEV2>().to_date_int_val() <=>
713
529k
               rhs.get<PrimitiveType::TYPE_DATEV2>().to_date_int_val();
714
7.40k
    case PrimitiveType::TYPE_TIMESTAMPTZ:
715
7.40k
        return get<PrimitiveType::TYPE_TIMESTAMPTZ>().to_date_int_val() <=>
716
7.40k
               rhs.get<PrimitiveType::TYPE_TIMESTAMPTZ>().to_date_int_val();
717
4.23k
    case PrimitiveType::TYPE_DATE:
718
4.23k
        return get<PrimitiveType::TYPE_DATE>() <=> rhs.get<PrimitiveType::TYPE_DATE>();
719
681
    case PrimitiveType::TYPE_DATETIME:
720
681
        return get<PrimitiveType::TYPE_DATETIME>() <=> rhs.get<PrimitiveType::TYPE_DATETIME>();
721
81.8k
    case PrimitiveType::TYPE_BIGINT:
722
81.8k
        return get<PrimitiveType::TYPE_BIGINT>() <=> rhs.get<PrimitiveType::TYPE_BIGINT>();
723
3.42k
    case PrimitiveType::TYPE_BOOLEAN:
724
3.42k
        return get<PrimitiveType::TYPE_BOOLEAN>() <=> rhs.get<PrimitiveType::TYPE_BOOLEAN>();
725
409k
    case PrimitiveType::TYPE_TINYINT:
726
409k
        return get<TYPE_TINYINT>() <=> rhs.get<TYPE_TINYINT>();
727
8.68k
    case PrimitiveType::TYPE_SMALLINT:
728
8.68k
        return get<TYPE_SMALLINT>() <=> rhs.get<TYPE_SMALLINT>();
729
813k
    case PrimitiveType::TYPE_INT:
730
813k
        return get<TYPE_INT>() <=> rhs.get<TYPE_INT>();
731
14.3k
    case PrimitiveType::TYPE_LARGEINT:
732
14.3k
        return get<TYPE_LARGEINT>() <=> rhs.get<TYPE_LARGEINT>();
733
240
    case PrimitiveType::TYPE_IPV6:
734
240
        return get<TYPE_IPV6>() <=> rhs.get<TYPE_IPV6>();
735
268
    case PrimitiveType::TYPE_IPV4:
736
268
        return get<TYPE_IPV4>() <=> rhs.get<TYPE_IPV4>();
737
10
    case PrimitiveType::TYPE_FLOAT:
738
10
        switch (Compare::compare(get<TYPE_FLOAT>(), rhs.get<TYPE_FLOAT>())) {
739
0
        case -1:
740
0
            return std::strong_ordering::less;
741
10
        case 0:
742
10
            return std::strong_ordering::equal;
743
0
        case 1:
744
0
            return std::strong_ordering::greater;
745
0
        default:
746
0
            LOG(FATAL) << "unexpected float compare result";
747
10
        }
748
13
    case PrimitiveType::TYPE_TIMEV2:
749
13
        return get<TYPE_TIMEV2>() < rhs.get<TYPE_TIMEV2>()    ? std::strong_ordering::less
750
13
               : get<TYPE_TIMEV2>() == rhs.get<TYPE_TIMEV2>() ? std::strong_ordering::equal
751
13
                                                              : std::strong_ordering::greater;
752
24
    case PrimitiveType::TYPE_DOUBLE:
753
24
        switch (Compare::compare(get<TYPE_DOUBLE>(), rhs.get<TYPE_DOUBLE>())) {
754
6
        case -1:
755
6
            return std::strong_ordering::less;
756
6
        case 0:
757
6
            return std::strong_ordering::equal;
758
12
        case 1:
759
12
            return std::strong_ordering::greater;
760
0
        default:
761
0
            LOG(FATAL) << "unexpected double compare result";
762
24
        }
763
25.0k
    case PrimitiveType::TYPE_STRING:
764
25.0k
        return get<TYPE_STRING>() <=> rhs.get<TYPE_STRING>();
765
510
    case PrimitiveType::TYPE_CHAR:
766
510
        return get<TYPE_CHAR>() <=> rhs.get<TYPE_CHAR>();
767
1.61M
    case PrimitiveType::TYPE_VARCHAR:
768
1.61M
        return get<TYPE_VARCHAR>() <=> rhs.get<TYPE_VARCHAR>();
769
0
    case PrimitiveType::TYPE_VARBINARY:
770
0
        return get<TYPE_VARBINARY>() <=> rhs.get<TYPE_VARBINARY>();
771
814
    case PrimitiveType::TYPE_DECIMAL32:
772
814
        return get<TYPE_DECIMAL32>() <=> rhs.get<TYPE_DECIMAL32>();
773
2.70k
    case PrimitiveType::TYPE_DECIMAL64:
774
2.70k
        return get<TYPE_DECIMAL64>() <=> rhs.get<TYPE_DECIMAL64>();
775
2.74k
    case PrimitiveType::TYPE_DECIMALV2:
776
2.74k
        return get<TYPE_DECIMALV2>() <=> rhs.get<TYPE_DECIMALV2>();
777
3.60k
    case PrimitiveType::TYPE_DECIMAL128I:
778
3.60k
        return get<TYPE_DECIMAL128I>() <=> rhs.get<TYPE_DECIMAL128I>();
779
2.07k
    case PrimitiveType::TYPE_DECIMAL256:
780
2.07k
        return get<TYPE_DECIMAL256>() <=> rhs.get<TYPE_DECIMAL256>();
781
0
    default:
782
0
        throw Exception(Status::FatalError("Unsupported type: {}", get_type_name()));
783
3.56M
    }
784
3.56M
}
785
786
#define MATCH_PRIMITIVE_TYPE(primitive_type)                                   \
787
4.56k
    if (type == primitive_type) {                                              \
788
861
        const auto& v = get<primitive_type>();                                 \
789
861
        return std::string_view(reinterpret_cast<const char*>(&v), sizeof(v)); \
790
861
    }
791
792
1.32k
std::string_view Field::as_string_view() const {
793
1.32k
    if (type == PrimitiveType::TYPE_STRING || type == PrimitiveType::TYPE_VARCHAR ||
794
1.32k
        type == PrimitiveType::TYPE_CHAR) {
795
466
        const auto& s = get<TYPE_STRING>();
796
466
        return {s.data(), s.size()};
797
466
    }
798
860
    if (type == PrimitiveType::TYPE_VARBINARY) {
799
0
        const auto& svf = get<TYPE_VARBINARY>();
800
0
        return {svf.data(), svf.size()};
801
0
    }
802
    // MATCH_PRIMITIVE_TYPE(INVALID_TYPE);
803
    // MATCH_PRIMITIVE_TYPE(TYPE_NULL);
804
860
    MATCH_PRIMITIVE_TYPE(TYPE_BOOLEAN);
805
860
    MATCH_PRIMITIVE_TYPE(TYPE_TINYINT);
806
846
    MATCH_PRIMITIVE_TYPE(TYPE_SMALLINT);
807
846
    MATCH_PRIMITIVE_TYPE(TYPE_INT);
808
179
    MATCH_PRIMITIVE_TYPE(TYPE_BIGINT);
809
116
    MATCH_PRIMITIVE_TYPE(TYPE_LARGEINT);
810
116
    MATCH_PRIMITIVE_TYPE(TYPE_FLOAT)
811
116
    MATCH_PRIMITIVE_TYPE(TYPE_DOUBLE);
812
    // MATCH_PRIMITIVE_TYPE(TYPE_VARCHAR);
813
116
    MATCH_PRIMITIVE_TYPE(TYPE_DATE);
814
116
    MATCH_PRIMITIVE_TYPE(TYPE_DATETIME);
815
116
    MATCH_PRIMITIVE_TYPE(TYPE_TIMESTAMPTZ);
816
    // MATCH_PRIMITIVE_TYPE(TYPE_BINARY);
817
    // MATCH_PRIMITIVE_TYPE(TYPE_DECIMAL);
818
    // MATCH_PRIMITIVE_TYPE(TYPE_CHAR);
819
    // MATCH_PRIMITIVE_TYPE(TYPE_STRUCT);
820
    // MATCH_PRIMITIVE_TYPE(TYPE_ARRAY);
821
    // MATCH_PRIMITIVE_TYPE(TYPE_MAP);
822
    // MATCH_PRIMITIVE_TYPE(TYPE_HLL);
823
96
    MATCH_PRIMITIVE_TYPE(TYPE_DECIMALV2);
824
    // MATCH_PRIMITIVE_TYPE(TYPE_BITMAP);
825
    // MATCH_PRIMITIVE_TYPE(TYPE_STRING);
826
    // MATCH_PRIMITIVE_TYPE(TYPE_QUANTILE_STATE);
827
96
    MATCH_PRIMITIVE_TYPE(TYPE_DATEV2);
828
68
    MATCH_PRIMITIVE_TYPE(TYPE_DATETIMEV2);
829
18.4E
    MATCH_PRIMITIVE_TYPE(TYPE_TIMEV2);
830
18.4E
    MATCH_PRIMITIVE_TYPE(TYPE_DECIMAL32);
831
18.4E
    MATCH_PRIMITIVE_TYPE(TYPE_DECIMAL64);
832
18.4E
    MATCH_PRIMITIVE_TYPE(TYPE_DECIMAL128I);
833
    // MATCH_PRIMITIVE_TYPE(TYPE_JSONB);
834
    // MATCH_PRIMITIVE_TYPE(TYPE_VARIANT);
835
    // MATCH_PRIMITIVE_TYPE(TYPE_LAMBDA_FUNCTION);
836
    // MATCH_PRIMITIVE_TYPE(TYPE_AGG_STATE);
837
18.4E
    MATCH_PRIMITIVE_TYPE(TYPE_DECIMAL256);
838
18.4E
    MATCH_PRIMITIVE_TYPE(TYPE_IPV4);
839
18.4E
    MATCH_PRIMITIVE_TYPE(TYPE_IPV6);
840
18.4E
    MATCH_PRIMITIVE_TYPE(TYPE_UINT32);
841
18.4E
    MATCH_PRIMITIVE_TYPE(TYPE_UINT64);
842
    // MATCH_PRIMITIVE_TYPE(TYPE_FIXED_LENGTH_OBJECT);
843
18.4E
    throw Exception(
844
18.4E
            Status::FatalError("type not supported for as_string_view, type={}", get_type_name()));
845
18.4E
}
846
847
#undef MATCH_PRIMITIVE_TYPE
848
849
// Important!!! This method is not accurate, for example, decimal to string, it uses scale == 0, because
850
// it do not know the actual scale of the decimal value. It is only used for debug printing, so it is fine.
851
18.8M
std::string Field::to_debug_string(int scale) const {
852
18.8M
    if (is_null()) {
853
0
        return "NULL";
854
0
    }
855
18.8M
    switch (type) {
856
7.38k
    case PrimitiveType::TYPE_BOOLEAN:
857
7.38k
        return get<TYPE_BOOLEAN>() ? "true" : "false";
858
1.18M
    case PrimitiveType::TYPE_TINYINT:
859
1.18M
        return CastToString::from_number(get<TYPE_TINYINT>());
860
23.8k
    case PrimitiveType::TYPE_SMALLINT:
861
23.8k
        return CastToString::from_number(get<TYPE_SMALLINT>());
862
589k
    case PrimitiveType::TYPE_INT:
863
589k
        return CastToString::from_number(get<TYPE_INT>());
864
220k
    case PrimitiveType::TYPE_BIGINT:
865
220k
        return CastToString::from_number(get<TYPE_BIGINT>());
866
55.0k
    case PrimitiveType::TYPE_LARGEINT:
867
55.0k
        return CastToString::from_number(get<TYPE_LARGEINT>());
868
0
    case PrimitiveType::TYPE_FLOAT:
869
0
        return CastToString::from_number(get<TYPE_FLOAT>());
870
0
    case PrimitiveType::TYPE_DOUBLE:
871
0
        return CastToString::from_number(get<TYPE_DOUBLE>());
872
0
    case PrimitiveType::TYPE_STRING:
873
2.21k
    case PrimitiveType::TYPE_CHAR:
874
15.8M
    case PrimitiveType::TYPE_VARCHAR:
875
15.8M
        return get<TYPE_STRING>();
876
0
    case PrimitiveType::TYPE_VARBINARY:
877
0
        return get<TYPE_VARBINARY>();
878
2.01k
    case PrimitiveType::TYPE_DATE:
879
2.01k
        return CastToString::from_date_or_datetime(get<TYPE_DATE>());
880
153
    case PrimitiveType::TYPE_DATETIME:
881
153
        return CastToString::from_date_or_datetime(get<TYPE_DATETIME>());
882
851k
    case PrimitiveType::TYPE_DATEV2:
883
851k
        return CastToString::from_datev2(get<TYPE_DATEV2>());
884
8.39k
    case PrimitiveType::TYPE_DATETIMEV2:
885
8.39k
        return CastToString::from_datetimev2(get<TYPE_DATETIMEV2>(), scale);
886
23.6k
    case PrimitiveType::TYPE_TIMESTAMPTZ:
887
23.6k
        return CastToString::from_timestamptz(get<TYPE_TIMESTAMPTZ>(), scale);
888
107
    case PrimitiveType::TYPE_DECIMALV2:
889
107
        return get<TYPE_DECIMALV2>().to_string();
890
1.91k
    case PrimitiveType::TYPE_DECIMAL32:
891
1.91k
        return CastToString::from_decimal(get<TYPE_DECIMAL32>(), scale);
892
1.18k
    case PrimitiveType::TYPE_DECIMAL64:
893
1.18k
        return CastToString::from_decimal(get<TYPE_DECIMAL64>(), scale);
894
4.22k
    case PrimitiveType::TYPE_DECIMAL128I:
895
4.22k
        return CastToString::from_decimal(get<TYPE_DECIMAL128I>(), scale);
896
2.11k
    case PrimitiveType::TYPE_DECIMAL256:
897
2.11k
        return CastToString::from_decimal(get<TYPE_DECIMAL256>(), scale);
898
0
    case PrimitiveType::TYPE_IPV4:
899
0
        return CastToString::from_ip(get<TYPE_IPV4>());
900
21
    case PrimitiveType::TYPE_IPV6:
901
21
        return CastToString::from_ip(get<TYPE_IPV6>());
902
0
    default:
903
0
        throw Exception(Status::FatalError("type not supported for to_debug_string, type={}",
904
0
                                           get_type_name()));
905
0
        __builtin_unreachable();
906
18.8M
    }
907
18.8M
}
908
909
#define DECLARE_FUNCTION(FUNC_NAME)                                                               \
910
    template void Field::FUNC_NAME<TYPE_NULL>(typename PrimitiveTypeTraits<TYPE_NULL>::CppType && \
911
                                              rhs);                                               \
912
    template void Field::FUNC_NAME<TYPE_TINYINT>(                                                 \
913
            typename PrimitiveTypeTraits<TYPE_TINYINT>::CppType && rhs);                          \
914
    template void Field::FUNC_NAME<TYPE_SMALLINT>(                                                \
915
            typename PrimitiveTypeTraits<TYPE_SMALLINT>::CppType && rhs);                         \
916
    template void Field::FUNC_NAME<TYPE_INT>(typename PrimitiveTypeTraits<TYPE_INT>::CppType &&   \
917
                                             rhs);                                                \
918
    template void Field::FUNC_NAME<TYPE_BIGINT>(                                                  \
919
            typename PrimitiveTypeTraits<TYPE_BIGINT>::CppType && rhs);                           \
920
    template void Field::FUNC_NAME<TYPE_LARGEINT>(                                                \
921
            typename PrimitiveTypeTraits<TYPE_LARGEINT>::CppType && rhs);                         \
922
    template void Field::FUNC_NAME<TYPE_DATE>(typename PrimitiveTypeTraits<TYPE_DATE>::CppType && \
923
                                              rhs);                                               \
924
    template void Field::FUNC_NAME<TYPE_DATETIME>(                                                \
925
            typename PrimitiveTypeTraits<TYPE_DATETIME>::CppType && rhs);                         \
926
    template void Field::FUNC_NAME<TYPE_DATEV2>(                                                  \
927
            typename PrimitiveTypeTraits<TYPE_DATEV2>::CppType && rhs);                           \
928
    template void Field::FUNC_NAME<TYPE_DATETIMEV2>(                                              \
929
            typename PrimitiveTypeTraits<TYPE_DATETIMEV2>::CppType && rhs);                       \
930
    template void Field::FUNC_NAME<TYPE_DECIMAL32>(                                               \
931
            typename PrimitiveTypeTraits<TYPE_DECIMAL32>::CppType && rhs);                        \
932
    template void Field::FUNC_NAME<TYPE_DECIMAL64>(                                               \
933
            typename PrimitiveTypeTraits<TYPE_DECIMAL64>::CppType && rhs);                        \
934
    template void Field::FUNC_NAME<TYPE_DECIMALV2>(                                               \
935
            typename PrimitiveTypeTraits<TYPE_DECIMALV2>::CppType && rhs);                        \
936
    template void Field::FUNC_NAME<TYPE_DECIMAL128I>(                                             \
937
            typename PrimitiveTypeTraits<TYPE_DECIMAL128I>::CppType && rhs);                      \
938
    template void Field::FUNC_NAME<TYPE_DECIMAL256>(                                              \
939
            typename PrimitiveTypeTraits<TYPE_DECIMAL256>::CppType && rhs);                       \
940
    template void Field::FUNC_NAME<TYPE_CHAR>(typename PrimitiveTypeTraits<TYPE_CHAR>::CppType && \
941
                                              rhs);                                               \
942
    template void Field::FUNC_NAME<TYPE_VARCHAR>(                                                 \
943
            typename PrimitiveTypeTraits<TYPE_VARCHAR>::CppType && rhs);                          \
944
    template void Field::FUNC_NAME<TYPE_STRING>(                                                  \
945
            typename PrimitiveTypeTraits<TYPE_STRING>::CppType && rhs);                           \
946
    template void Field::FUNC_NAME<TYPE_VARBINARY>(                                               \
947
            typename PrimitiveTypeTraits<TYPE_VARBINARY>::CppType && rhs);                        \
948
    template void Field::FUNC_NAME<TYPE_HLL>(typename PrimitiveTypeTraits<TYPE_HLL>::CppType &&   \
949
                                             rhs);                                                \
950
    template void Field::FUNC_NAME<TYPE_VARIANT>(                                                 \
951
            typename PrimitiveTypeTraits<TYPE_VARIANT>::CppType && rhs);                          \
952
    template void Field::FUNC_NAME<TYPE_QUANTILE_STATE>(                                          \
953
            typename PrimitiveTypeTraits<TYPE_QUANTILE_STATE>::CppType && rhs);                   \
954
    template void Field::FUNC_NAME<TYPE_ARRAY>(                                                   \
955
            typename PrimitiveTypeTraits<TYPE_ARRAY>::CppType && rhs);                            \
956
    template void Field::FUNC_NAME<TYPE_NULL>(                                                    \
957
            const typename PrimitiveTypeTraits<TYPE_NULL>::CppType& rhs);                         \
958
    template void Field::FUNC_NAME<TYPE_TINYINT>(                                                 \
959
            const typename PrimitiveTypeTraits<TYPE_TINYINT>::CppType& rhs);                      \
960
    template void Field::FUNC_NAME<TYPE_SMALLINT>(                                                \
961
            const typename PrimitiveTypeTraits<TYPE_SMALLINT>::CppType& rhs);                     \
962
    template void Field::FUNC_NAME<TYPE_INT>(                                                     \
963
            const typename PrimitiveTypeTraits<TYPE_INT>::CppType& rhs);                          \
964
    template void Field::FUNC_NAME<TYPE_BIGINT>(                                                  \
965
            const typename PrimitiveTypeTraits<TYPE_BIGINT>::CppType& rhs);                       \
966
    template void Field::FUNC_NAME<TYPE_LARGEINT>(                                                \
967
            const typename PrimitiveTypeTraits<TYPE_LARGEINT>::CppType& rhs);                     \
968
    template void Field::FUNC_NAME<TYPE_DATE>(                                                    \
969
            const typename PrimitiveTypeTraits<TYPE_DATE>::CppType& rhs);                         \
970
    template void Field::FUNC_NAME<TYPE_DATETIME>(                                                \
971
            const typename PrimitiveTypeTraits<TYPE_DATETIME>::CppType& rhs);                     \
972
    template void Field::FUNC_NAME<TYPE_DATEV2>(                                                  \
973
            const typename PrimitiveTypeTraits<TYPE_DATEV2>::CppType& rhs);                       \
974
    template void Field::FUNC_NAME<TYPE_DATETIMEV2>(                                              \
975
            const typename PrimitiveTypeTraits<TYPE_DATETIMEV2>::CppType& rhs);                   \
976
    template void Field::FUNC_NAME<TYPE_TIMESTAMPTZ>(                                             \
977
            const typename PrimitiveTypeTraits<TYPE_TIMESTAMPTZ>::CppType& rhs);                  \
978
    template void Field::FUNC_NAME<TYPE_TIMESTAMPTZ>(                                             \
979
            typename PrimitiveTypeTraits<TYPE_TIMESTAMPTZ>::CppType && rhs);                      \
980
    template void Field::FUNC_NAME<TYPE_DECIMAL32>(                                               \
981
            const typename PrimitiveTypeTraits<TYPE_DECIMAL32>::CppType& rhs);                    \
982
    template void Field::FUNC_NAME<TYPE_DECIMAL64>(                                               \
983
            const typename PrimitiveTypeTraits<TYPE_DECIMAL64>::CppType& rhs);                    \
984
    template void Field::FUNC_NAME<TYPE_DECIMALV2>(                                               \
985
            const typename PrimitiveTypeTraits<TYPE_DECIMALV2>::CppType& rhs);                    \
986
    template void Field::FUNC_NAME<TYPE_DECIMAL128I>(                                             \
987
            const typename PrimitiveTypeTraits<TYPE_DECIMAL128I>::CppType& rhs);                  \
988
    template void Field::FUNC_NAME<TYPE_DECIMAL256>(                                              \
989
            const typename PrimitiveTypeTraits<TYPE_DECIMAL256>::CppType& rhs);                   \
990
    template void Field::FUNC_NAME<TYPE_CHAR>(                                                    \
991
            const typename PrimitiveTypeTraits<TYPE_CHAR>::CppType& rhs);                         \
992
    template void Field::FUNC_NAME<TYPE_VARCHAR>(                                                 \
993
            const typename PrimitiveTypeTraits<TYPE_VARCHAR>::CppType& rhs);                      \
994
    template void Field::FUNC_NAME<TYPE_STRING>(                                                  \
995
            const typename PrimitiveTypeTraits<TYPE_STRING>::CppType& rhs);                       \
996
    template void Field::FUNC_NAME<TYPE_VARBINARY>(                                               \
997
            const typename PrimitiveTypeTraits<TYPE_VARBINARY>::CppType& rhs);                    \
998
    template void Field::FUNC_NAME<TYPE_HLL>(                                                     \
999
            const typename PrimitiveTypeTraits<TYPE_HLL>::CppType& rhs);                          \
1000
    template void Field::FUNC_NAME<TYPE_VARIANT>(                                                 \
1001
            const typename PrimitiveTypeTraits<TYPE_VARIANT>::CppType& rhs);                      \
1002
    template void Field::FUNC_NAME<TYPE_QUANTILE_STATE>(                                          \
1003
            const typename PrimitiveTypeTraits<TYPE_QUANTILE_STATE>::CppType& rhs);               \
1004
    template void Field::FUNC_NAME<TYPE_ARRAY>(                                                   \
1005
            const typename PrimitiveTypeTraits<TYPE_ARRAY>::CppType& rhs);                        \
1006
    template void Field::FUNC_NAME<TYPE_IPV4>(typename PrimitiveTypeTraits<TYPE_IPV4>::CppType && \
1007
                                              rhs);                                               \
1008
    template void Field::FUNC_NAME<TYPE_IPV4>(                                                    \
1009
            const typename PrimitiveTypeTraits<TYPE_IPV4>::CppType& rhs);                         \
1010
    template void Field::FUNC_NAME<TYPE_IPV6>(typename PrimitiveTypeTraits<TYPE_IPV6>::CppType && \
1011
                                              rhs);                                               \
1012
    template void Field::FUNC_NAME<TYPE_IPV6>(                                                    \
1013
            const typename PrimitiveTypeTraits<TYPE_IPV6>::CppType& rhs);                         \
1014
    template void Field::FUNC_NAME<TYPE_BOOLEAN>(                                                 \
1015
            typename PrimitiveTypeTraits<TYPE_BOOLEAN>::CppType && rhs);                          \
1016
    template void Field::FUNC_NAME<TYPE_BOOLEAN>(                                                 \
1017
            const typename PrimitiveTypeTraits<TYPE_BOOLEAN>::CppType& rhs);                      \
1018
    template void Field::FUNC_NAME<TYPE_FLOAT>(                                                   \
1019
            typename PrimitiveTypeTraits<TYPE_FLOAT>::CppType && rhs);                            \
1020
    template void Field::FUNC_NAME<TYPE_FLOAT>(                                                   \
1021
            const typename PrimitiveTypeTraits<TYPE_FLOAT>::CppType& rhs);                        \
1022
    template void Field::FUNC_NAME<TYPE_DOUBLE>(                                                  \
1023
            typename PrimitiveTypeTraits<TYPE_DOUBLE>::CppType && rhs);                           \
1024
    template void Field::FUNC_NAME<TYPE_DOUBLE>(                                                  \
1025
            const typename PrimitiveTypeTraits<TYPE_DOUBLE>::CppType& rhs);                       \
1026
    template void Field::FUNC_NAME<TYPE_JSONB>(                                                   \
1027
            typename PrimitiveTypeTraits<TYPE_JSONB>::CppType && rhs);                            \
1028
    template void Field::FUNC_NAME<TYPE_JSONB>(                                                   \
1029
            const typename PrimitiveTypeTraits<TYPE_JSONB>::CppType& rhs);                        \
1030
    template void Field::FUNC_NAME<TYPE_STRUCT>(                                                  \
1031
            typename PrimitiveTypeTraits<TYPE_STRUCT>::CppType && rhs);                           \
1032
    template void Field::FUNC_NAME<TYPE_STRUCT>(                                                  \
1033
            const typename PrimitiveTypeTraits<TYPE_STRUCT>::CppType& rhs);                       \
1034
    template void Field::FUNC_NAME<TYPE_MAP>(typename PrimitiveTypeTraits<TYPE_MAP>::CppType &&   \
1035
                                             rhs);                                                \
1036
    template void Field::FUNC_NAME<TYPE_MAP>(                                                     \
1037
            const typename PrimitiveTypeTraits<TYPE_MAP>::CppType& rhs);                          \
1038
    template void Field::FUNC_NAME<TYPE_BITMAP>(                                                  \
1039
            typename PrimitiveTypeTraits<TYPE_BITMAP>::CppType && rhs);                           \
1040
    template void Field::FUNC_NAME<TYPE_BITMAP>(                                                  \
1041
            const typename PrimitiveTypeTraits<TYPE_BITMAP>::CppType& rhs);                       \
1042
    template void Field::FUNC_NAME<TYPE_TIMEV2>(                                                  \
1043
            const typename PrimitiveTypeTraits<TYPE_TIMEV2>::CppType& rhs);                       \
1044
    template void Field::FUNC_NAME<TYPE_TIMEV2>(                                                  \
1045
            typename PrimitiveTypeTraits<TYPE_TIMEV2>::CppType && rhs);                           \
1046
    template void Field::FUNC_NAME<TYPE_UINT32>(                                                  \
1047
            const typename PrimitiveTypeTraits<TYPE_UINT32>::CppType& rhs);                       \
1048
    template void Field::FUNC_NAME<TYPE_UINT32>(                                                  \
1049
            typename PrimitiveTypeTraits<TYPE_UINT32>::CppType && rhs);                           \
1050
    template void Field::FUNC_NAME<TYPE_UINT64>(                                                  \
1051
            const typename PrimitiveTypeTraits<TYPE_UINT64>::CppType& rhs);                       \
1052
    template void Field::FUNC_NAME<TYPE_UINT64>(                                                  \
1053
            typename PrimitiveTypeTraits<TYPE_UINT64>::CppType && rhs);
1054
DECLARE_FUNCTION(create_concrete)
1055
DECLARE_FUNCTION(assign_concrete)
1056
#undef DECLARE_FUNCTION
1057
1058
#define DECLARE_FUNCTION(TYPE_NAME)                                                          \
1059
    template typename PrimitiveTypeTraits<TYPE_NAME>::CppType& Field::get<TYPE_NAME>();      \
1060
    template const typename PrimitiveTypeTraits<TYPE_NAME>::CppType& Field::get<TYPE_NAME>() \
1061
            const;                                                                           \
1062
    template void Field::destroy<TYPE_NAME>();
1063
DECLARE_FUNCTION(TYPE_NULL)
1064
DECLARE_FUNCTION(TYPE_TINYINT)
1065
DECLARE_FUNCTION(TYPE_SMALLINT)
1066
DECLARE_FUNCTION(TYPE_INT)
1067
DECLARE_FUNCTION(TYPE_BIGINT)
1068
DECLARE_FUNCTION(TYPE_LARGEINT)
1069
DECLARE_FUNCTION(TYPE_DATE)
1070
DECLARE_FUNCTION(TYPE_DATETIME)
1071
DECLARE_FUNCTION(TYPE_DATEV2)
1072
DECLARE_FUNCTION(TYPE_DATETIMEV2)
1073
DECLARE_FUNCTION(TYPE_TIMESTAMPTZ)
1074
DECLARE_FUNCTION(TYPE_DECIMAL32)
1075
DECLARE_FUNCTION(TYPE_DECIMAL64)
1076
DECLARE_FUNCTION(TYPE_DECIMALV2)
1077
DECLARE_FUNCTION(TYPE_DECIMAL128I)
1078
DECLARE_FUNCTION(TYPE_DECIMAL256)
1079
DECLARE_FUNCTION(TYPE_CHAR)
1080
DECLARE_FUNCTION(TYPE_VARCHAR)
1081
DECLARE_FUNCTION(TYPE_STRING)
1082
DECLARE_FUNCTION(TYPE_VARBINARY)
1083
DECLARE_FUNCTION(TYPE_HLL)
1084
DECLARE_FUNCTION(TYPE_VARIANT)
1085
DECLARE_FUNCTION(TYPE_QUANTILE_STATE)
1086
DECLARE_FUNCTION(TYPE_ARRAY)
1087
DECLARE_FUNCTION(TYPE_IPV4)
1088
DECLARE_FUNCTION(TYPE_IPV6)
1089
DECLARE_FUNCTION(TYPE_BOOLEAN)
1090
DECLARE_FUNCTION(TYPE_FLOAT)
1091
DECLARE_FUNCTION(TYPE_DOUBLE)
1092
DECLARE_FUNCTION(TYPE_JSONB)
1093
DECLARE_FUNCTION(TYPE_STRUCT)
1094
DECLARE_FUNCTION(TYPE_MAP)
1095
DECLARE_FUNCTION(TYPE_BITMAP)
1096
DECLARE_FUNCTION(TYPE_TIMEV2)
1097
DECLARE_FUNCTION(TYPE_UINT32)
1098
DECLARE_FUNCTION(TYPE_UINT64)
1099
#undef DECLARE_FUNCTION
1100
} // namespace doris