Coverage Report

Created: 2026-09-29 17:37

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/allocator.h"
26
#include "core/allocator_fwd.h"
27
#include "core/data_type/data_type_decimal.h"
28
#include "core/data_type/define_primitive_type.h"
29
#include "core/data_type/primitive_type.h"
30
#include "core/decimal_comparison.h"
31
#include "core/value/bitmap_value.h"
32
#include "core/value/jsonb_value.h"
33
#include "core/value/timestamptz_value.h"
34
#include "core/value/uuid_value.h"
35
#include "core/value/vdatetime_value.h"
36
#include "exprs/function/cast/cast_to_string.h"
37
#include "util/json/path_in_data.h"
38
#include "util/var_int.h"
39
40
namespace doris {
41
class BufferReadable;
42
class BufferWritable;
43
44
template <PrimitiveType T>
45
bool dec_equal(typename PrimitiveTypeTraits<T>::CppType x,
46
0
               typename PrimitiveTypeTraits<T>::CppType y, UInt32 x_scale, UInt32 y_scale) {
47
0
    using Comparator = DecimalComparison<T, T, EqualsOp>;
48
0
    return Comparator::compare(x, y, x_scale, y_scale);
49
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
50
51
template <PrimitiveType T>
52
bool dec_less(typename PrimitiveTypeTraits<T>::CppType x,
53
3.48k
              typename PrimitiveTypeTraits<T>::CppType y, UInt32 x_scale, UInt32 y_scale) {
54
3.48k
    using Comparator = DecimalComparison<T, T, LessOp>;
55
3.48k
    return Comparator::compare(x, y, x_scale, y_scale);
56
3.48k
}
_ZN5doris8dec_lessILNS_13PrimitiveTypeE28EEEbNS_19PrimitiveTypeTraitsIXT_EE7CppTypeES4_jj
Line
Count
Source
53
10
              typename PrimitiveTypeTraits<T>::CppType y, UInt32 x_scale, UInt32 y_scale) {
54
10
    using Comparator = DecimalComparison<T, T, LessOp>;
55
10
    return Comparator::compare(x, y, x_scale, y_scale);
56
10
}
_ZN5doris8dec_lessILNS_13PrimitiveTypeE29EEEbNS_19PrimitiveTypeTraitsIXT_EE7CppTypeES4_jj
Line
Count
Source
53
3
              typename PrimitiveTypeTraits<T>::CppType y, UInt32 x_scale, UInt32 y_scale) {
54
3
    using Comparator = DecimalComparison<T, T, LessOp>;
55
3
    return Comparator::compare(x, y, x_scale, y_scale);
56
3
}
Unexecuted instantiation: _ZN5doris8dec_lessILNS_13PrimitiveTypeE20EEEbNS_19PrimitiveTypeTraitsIXT_EE7CppTypeES4_jj
_ZN5doris8dec_lessILNS_13PrimitiveTypeE35EEEbNS_19PrimitiveTypeTraitsIXT_EE7CppTypeES4_jj
Line
Count
Source
53
972
              typename PrimitiveTypeTraits<T>::CppType y, UInt32 x_scale, UInt32 y_scale) {
54
972
    using Comparator = DecimalComparison<T, T, LessOp>;
55
972
    return Comparator::compare(x, y, x_scale, y_scale);
56
972
}
_ZN5doris8dec_lessILNS_13PrimitiveTypeE30EEEbNS_19PrimitiveTypeTraitsIXT_EE7CppTypeES4_jj
Line
Count
Source
53
2.50k
              typename PrimitiveTypeTraits<T>::CppType y, UInt32 x_scale, UInt32 y_scale) {
54
2.50k
    using Comparator = DecimalComparison<T, T, LessOp>;
55
2.50k
    return Comparator::compare(x, y, x_scale, y_scale);
56
2.50k
}
57
58
template <PrimitiveType T>
59
bool dec_less_or_equal(typename PrimitiveTypeTraits<T>::CppType x,
60
0
                       typename PrimitiveTypeTraits<T>::CppType y, UInt32 x_scale, UInt32 y_scale) {
61
0
    using Comparator = DecimalComparison<T, T, LessOrEqualsOp>;
62
0
    return Comparator::compare(x, y, x_scale, y_scale);
63
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
64
65
#define DECLARE_DECIMAL_COMPARISON(TYPE, PTYPE)                        \
66
    template <>                                                        \
67
0
    bool decimal_equal(TYPE x, TYPE y, UInt32 xs, UInt32 ys) {         \
68
0
        return dec_equal<PTYPE>(x, y, xs, ys);                         \
69
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
70
    template <>                                                        \
71
985
    bool decimal_less(TYPE x, TYPE y, UInt32 xs, UInt32 ys) {          \
72
985
        return dec_less<PTYPE>(x, y, xs, ys);                          \
73
985
    }                                                                  \
_ZN5doris12decimal_lessINS_7DecimalIiEEEEbT_S3_jj
Line
Count
Source
71
10
    bool decimal_less(TYPE x, TYPE y, UInt32 xs, UInt32 ys) {          \
72
10
        return dec_less<PTYPE>(x, y, xs, ys);                          \
73
10
    }                                                                  \
_ZN5doris12decimal_lessINS_7DecimalIlEEEEbT_S3_jj
Line
Count
Source
71
3
    bool decimal_less(TYPE x, TYPE y, UInt32 xs, UInt32 ys) {          \
72
3
        return dec_less<PTYPE>(x, y, xs, ys);                          \
73
3
    }                                                                  \
Unexecuted instantiation: _ZN5doris12decimal_lessINS_14DecimalV2ValueEEEbT_S2_jj
_ZN5doris12decimal_lessINS_7DecimalIN4wide7integerILm256EiEEEEEEbT_S6_jj
Line
Count
Source
71
972
    bool decimal_less(TYPE x, TYPE y, UInt32 xs, UInt32 ys) {          \
72
972
        return dec_less<PTYPE>(x, y, xs, ys);                          \
73
972
    }                                                                  \
74
    template <>                                                        \
75
0
    bool decimal_less_or_equal(TYPE x, TYPE y, UInt32 xs, UInt32 ys) { \
76
0
        return dec_less_or_equal<PTYPE>(x, y, xs, ys);                 \
77
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
78
79
DECLARE_DECIMAL_COMPARISON(Decimal32, TYPE_DECIMAL32)
80
DECLARE_DECIMAL_COMPARISON(Decimal64, TYPE_DECIMAL64)
81
DECLARE_DECIMAL_COMPARISON(DecimalV2Value, TYPE_DECIMALV2)
82
DECLARE_DECIMAL_COMPARISON(Decimal256, TYPE_DECIMAL256)
83
84
template <>
85
0
bool decimal_equal(Decimal128V3 x, Decimal128V3 y, UInt32 xs, UInt32 ys) {
86
0
    return dec_equal<TYPE_DECIMAL128I>(x, y, xs, ys);
87
0
}
88
template <>
89
2.50k
bool decimal_less(Decimal128V3 x, Decimal128V3 y, UInt32 xs, UInt32 ys) {
90
2.50k
    return dec_less<TYPE_DECIMAL128I>(x, y, xs, ys);
91
2.50k
}
92
template <>
93
0
bool decimal_less_or_equal(Decimal128V3 x, Decimal128V3 y, UInt32 xs, UInt32 ys) {
94
0
    return dec_less_or_equal<TYPE_DECIMAL128I>(x, y, xs, ys);
95
0
}
96
97
namespace {
98
// Expression literals can outlive decoder pages and source columns.
99
// Keep the view first for Field::get(), and fit ownership into the existing Field storage.
100
struct OwnedBinaryField {
101
    StringView view;
102
    char* bytes = nullptr;
103
    size_t byte_size = 0;
104
105
199
    explicit OwnedBinaryField(const StringView& value) {
106
        // Inline views already own their bytes; preserve their allocation-free representation.
107
199
        if (value.isInline()) {
108
139
            view = value;
109
139
            return;
110
139
        }
111
        // Charge retained payloads and deep-copy peaks through Doris's checked allocator.
112
        // Keep a standard-layout owner so the leading view remains accessible via Field::get().
113
60
        bytes = static_cast<char*>(Allocator<false> {}.alloc(value.size()));
114
60
        byte_size = value.size();
115
60
        memcpy(bytes, value.data(), value.size());
116
60
        view = StringView(bytes, value.size());
117
60
    }
118
    OwnedBinaryField(const OwnedBinaryField&) = delete;
119
    OwnedBinaryField& operator=(const OwnedBinaryField&) = delete;
120
14
    OwnedBinaryField& operator=(OwnedBinaryField&& other) noexcept {
121
14
        release_bytes();
122
14
        view = other.view;
123
14
        bytes = std::exchange(other.bytes, nullptr);
124
14
        byte_size = std::exchange(other.byte_size, 0);
125
14
        return *this;
126
14
    }
127
195
    ~OwnedBinaryField() { release_bytes(); }
128
129
private:
130
209
    void release_bytes() const {
131
209
        if (bytes != nullptr) {
132
            // Field::get() exposes a mutable view; release the original allocation size.
133
56
            Allocator<false> {}.free(bytes, byte_size);
134
56
        }
135
209
    }
136
};
137
static_assert(std::is_standard_layout_v<OwnedBinaryField>);
138
static_assert(offsetof(OwnedBinaryField, view) == 0);
139
} // namespace
140
141
template <PrimitiveType Type>
142
157M
void Field::create_concrete(typename PrimitiveTypeTraits<Type>::CppType&& x) {
143
    // In both Field and PODArray, small types may be stored as wider types,
144
    // e.g. char is stored as UInt64. Field can return this extended value
145
    // with get<StorageType>(). To avoid uninitialized results from get(),
146
    // we must initialize the entire wide stored type, and not just the
147
    // nominal type.
148
157M
    using StorageType = typename PrimitiveTypeTraits<Type>::CppType;
149
157M
    if constexpr (Type == TYPE_VARBINARY) {
150
117
        static_assert(sizeof(OwnedBinaryField) <= sizeof(storage));
151
117
        new (&storage) OwnedBinaryField(x);
152
157M
    } else {
153
157M
        new (&storage) StorageType(std::move(x));
154
157M
    }
155
157M
    type = Type;
156
157M
    DCHECK_NE(type, PrimitiveType::INVALID_TYPE);
157
157M
}
_ZN5doris5Field15create_concreteILNS_13PrimitiveTypeE1EEEvONS_19PrimitiveTypeTraitsIXT_EE7CppTypeE
Line
Count
Source
142
188k
void Field::create_concrete(typename PrimitiveTypeTraits<Type>::CppType&& x) {
143
    // In both Field and PODArray, small types may be stored as wider types,
144
    // e.g. char is stored as UInt64. Field can return this extended value
145
    // with get<StorageType>(). To avoid uninitialized results from get(),
146
    // we must initialize the entire wide stored type, and not just the
147
    // nominal type.
148
188k
    using StorageType = typename PrimitiveTypeTraits<Type>::CppType;
149
    if constexpr (Type == TYPE_VARBINARY) {
150
        static_assert(sizeof(OwnedBinaryField) <= sizeof(storage));
151
        new (&storage) OwnedBinaryField(x);
152
188k
    } else {
153
188k
        new (&storage) StorageType(std::move(x));
154
188k
    }
155
188k
    type = Type;
156
    DCHECK_NE(type, PrimitiveType::INVALID_TYPE);
157
188k
}
_ZN5doris5Field15create_concreteILNS_13PrimitiveTypeE3EEEvONS_19PrimitiveTypeTraitsIXT_EE7CppTypeE
Line
Count
Source
142
10.0M
void Field::create_concrete(typename PrimitiveTypeTraits<Type>::CppType&& x) {
143
    // In both Field and PODArray, small types may be stored as wider types,
144
    // e.g. char is stored as UInt64. Field can return this extended value
145
    // with get<StorageType>(). To avoid uninitialized results from get(),
146
    // we must initialize the entire wide stored type, and not just the
147
    // nominal type.
148
10.0M
    using StorageType = typename PrimitiveTypeTraits<Type>::CppType;
149
    if constexpr (Type == TYPE_VARBINARY) {
150
        static_assert(sizeof(OwnedBinaryField) <= sizeof(storage));
151
        new (&storage) OwnedBinaryField(x);
152
10.0M
    } else {
153
10.0M
        new (&storage) StorageType(std::move(x));
154
10.0M
    }
155
10.0M
    type = Type;
156
    DCHECK_NE(type, PrimitiveType::INVALID_TYPE);
157
10.0M
}
_ZN5doris5Field15create_concreteILNS_13PrimitiveTypeE4EEEvONS_19PrimitiveTypeTraitsIXT_EE7CppTypeE
Line
Count
Source
142
255k
void Field::create_concrete(typename PrimitiveTypeTraits<Type>::CppType&& x) {
143
    // In both Field and PODArray, small types may be stored as wider types,
144
    // e.g. char is stored as UInt64. Field can return this extended value
145
    // with get<StorageType>(). To avoid uninitialized results from get(),
146
    // we must initialize the entire wide stored type, and not just the
147
    // nominal type.
148
255k
    using StorageType = typename PrimitiveTypeTraits<Type>::CppType;
149
    if constexpr (Type == TYPE_VARBINARY) {
150
        static_assert(sizeof(OwnedBinaryField) <= sizeof(storage));
151
        new (&storage) OwnedBinaryField(x);
152
255k
    } else {
153
255k
        new (&storage) StorageType(std::move(x));
154
255k
    }
155
255k
    type = Type;
156
    DCHECK_NE(type, PrimitiveType::INVALID_TYPE);
157
255k
}
_ZN5doris5Field15create_concreteILNS_13PrimitiveTypeE5EEEvONS_19PrimitiveTypeTraitsIXT_EE7CppTypeE
Line
Count
Source
142
27.7M
void Field::create_concrete(typename PrimitiveTypeTraits<Type>::CppType&& x) {
143
    // In both Field and PODArray, small types may be stored as wider types,
144
    // e.g. char is stored as UInt64. Field can return this extended value
145
    // with get<StorageType>(). To avoid uninitialized results from get(),
146
    // we must initialize the entire wide stored type, and not just the
147
    // nominal type.
148
27.7M
    using StorageType = typename PrimitiveTypeTraits<Type>::CppType;
149
    if constexpr (Type == TYPE_VARBINARY) {
150
        static_assert(sizeof(OwnedBinaryField) <= sizeof(storage));
151
        new (&storage) OwnedBinaryField(x);
152
27.7M
    } else {
153
27.7M
        new (&storage) StorageType(std::move(x));
154
27.7M
    }
155
27.7M
    type = Type;
156
    DCHECK_NE(type, PrimitiveType::INVALID_TYPE);
157
27.7M
}
_ZN5doris5Field15create_concreteILNS_13PrimitiveTypeE6EEEvONS_19PrimitiveTypeTraitsIXT_EE7CppTypeE
Line
Count
Source
142
32.2M
void Field::create_concrete(typename PrimitiveTypeTraits<Type>::CppType&& x) {
143
    // In both Field and PODArray, small types may be stored as wider types,
144
    // e.g. char is stored as UInt64. Field can return this extended value
145
    // with get<StorageType>(). To avoid uninitialized results from get(),
146
    // we must initialize the entire wide stored type, and not just the
147
    // nominal type.
148
32.2M
    using StorageType = typename PrimitiveTypeTraits<Type>::CppType;
149
    if constexpr (Type == TYPE_VARBINARY) {
150
        static_assert(sizeof(OwnedBinaryField) <= sizeof(storage));
151
        new (&storage) OwnedBinaryField(x);
152
32.2M
    } else {
153
32.2M
        new (&storage) StorageType(std::move(x));
154
32.2M
    }
155
32.2M
    type = Type;
156
    DCHECK_NE(type, PrimitiveType::INVALID_TYPE);
157
32.2M
}
_ZN5doris5Field15create_concreteILNS_13PrimitiveTypeE7EEEvONS_19PrimitiveTypeTraitsIXT_EE7CppTypeE
Line
Count
Source
142
322k
void Field::create_concrete(typename PrimitiveTypeTraits<Type>::CppType&& x) {
143
    // In both Field and PODArray, small types may be stored as wider types,
144
    // e.g. char is stored as UInt64. Field can return this extended value
145
    // with get<StorageType>(). To avoid uninitialized results from get(),
146
    // we must initialize the entire wide stored type, and not just the
147
    // nominal type.
148
322k
    using StorageType = typename PrimitiveTypeTraits<Type>::CppType;
149
    if constexpr (Type == TYPE_VARBINARY) {
150
        static_assert(sizeof(OwnedBinaryField) <= sizeof(storage));
151
        new (&storage) OwnedBinaryField(x);
152
322k
    } else {
153
322k
        new (&storage) StorageType(std::move(x));
154
322k
    }
155
322k
    type = Type;
156
    DCHECK_NE(type, PrimitiveType::INVALID_TYPE);
157
322k
}
_ZN5doris5Field15create_concreteILNS_13PrimitiveTypeE11EEEvONS_19PrimitiveTypeTraitsIXT_EE7CppTypeE
Line
Count
Source
142
24.0k
void Field::create_concrete(typename PrimitiveTypeTraits<Type>::CppType&& x) {
143
    // In both Field and PODArray, small types may be stored as wider types,
144
    // e.g. char is stored as UInt64. Field can return this extended value
145
    // with get<StorageType>(). To avoid uninitialized results from get(),
146
    // we must initialize the entire wide stored type, and not just the
147
    // nominal type.
148
24.0k
    using StorageType = typename PrimitiveTypeTraits<Type>::CppType;
149
    if constexpr (Type == TYPE_VARBINARY) {
150
        static_assert(sizeof(OwnedBinaryField) <= sizeof(storage));
151
        new (&storage) OwnedBinaryField(x);
152
24.0k
    } else {
153
24.0k
        new (&storage) StorageType(std::move(x));
154
24.0k
    }
155
24.0k
    type = Type;
156
    DCHECK_NE(type, PrimitiveType::INVALID_TYPE);
157
24.0k
}
_ZN5doris5Field15create_concreteILNS_13PrimitiveTypeE12EEEvONS_19PrimitiveTypeTraitsIXT_EE7CppTypeE
Line
Count
Source
142
26.5k
void Field::create_concrete(typename PrimitiveTypeTraits<Type>::CppType&& x) {
143
    // In both Field and PODArray, small types may be stored as wider types,
144
    // e.g. char is stored as UInt64. Field can return this extended value
145
    // with get<StorageType>(). To avoid uninitialized results from get(),
146
    // we must initialize the entire wide stored type, and not just the
147
    // nominal type.
148
26.5k
    using StorageType = typename PrimitiveTypeTraits<Type>::CppType;
149
    if constexpr (Type == TYPE_VARBINARY) {
150
        static_assert(sizeof(OwnedBinaryField) <= sizeof(storage));
151
        new (&storage) OwnedBinaryField(x);
152
26.5k
    } else {
153
26.5k
        new (&storage) StorageType(std::move(x));
154
26.5k
    }
155
26.5k
    type = Type;
156
    DCHECK_NE(type, PrimitiveType::INVALID_TYPE);
157
26.5k
}
_ZN5doris5Field15create_concreteILNS_13PrimitiveTypeE25EEEvONS_19PrimitiveTypeTraitsIXT_EE7CppTypeE
Line
Count
Source
142
787k
void Field::create_concrete(typename PrimitiveTypeTraits<Type>::CppType&& x) {
143
    // In both Field and PODArray, small types may be stored as wider types,
144
    // e.g. char is stored as UInt64. Field can return this extended value
145
    // with get<StorageType>(). To avoid uninitialized results from get(),
146
    // we must initialize the entire wide stored type, and not just the
147
    // nominal type.
148
787k
    using StorageType = typename PrimitiveTypeTraits<Type>::CppType;
149
    if constexpr (Type == TYPE_VARBINARY) {
150
        static_assert(sizeof(OwnedBinaryField) <= sizeof(storage));
151
        new (&storage) OwnedBinaryField(x);
152
787k
    } else {
153
787k
        new (&storage) StorageType(std::move(x));
154
787k
    }
155
787k
    type = Type;
156
    DCHECK_NE(type, PrimitiveType::INVALID_TYPE);
157
787k
}
_ZN5doris5Field15create_concreteILNS_13PrimitiveTypeE26EEEvONS_19PrimitiveTypeTraitsIXT_EE7CppTypeE
Line
Count
Source
142
4.62M
void Field::create_concrete(typename PrimitiveTypeTraits<Type>::CppType&& x) {
143
    // In both Field and PODArray, small types may be stored as wider types,
144
    // e.g. char is stored as UInt64. Field can return this extended value
145
    // with get<StorageType>(). To avoid uninitialized results from get(),
146
    // we must initialize the entire wide stored type, and not just the
147
    // nominal type.
148
4.62M
    using StorageType = typename PrimitiveTypeTraits<Type>::CppType;
149
    if constexpr (Type == TYPE_VARBINARY) {
150
        static_assert(sizeof(OwnedBinaryField) <= sizeof(storage));
151
        new (&storage) OwnedBinaryField(x);
152
4.62M
    } else {
153
4.62M
        new (&storage) StorageType(std::move(x));
154
4.62M
    }
155
4.62M
    type = Type;
156
    DCHECK_NE(type, PrimitiveType::INVALID_TYPE);
157
4.62M
}
_ZN5doris5Field15create_concreteILNS_13PrimitiveTypeE43EEEvONS_19PrimitiveTypeTraitsIXT_EE7CppTypeE
Line
Count
Source
142
7.76k
void Field::create_concrete(typename PrimitiveTypeTraits<Type>::CppType&& x) {
143
    // In both Field and PODArray, small types may be stored as wider types,
144
    // e.g. char is stored as UInt64. Field can return this extended value
145
    // with get<StorageType>(). To avoid uninitialized results from get(),
146
    // we must initialize the entire wide stored type, and not just the
147
    // nominal type.
148
7.76k
    using StorageType = typename PrimitiveTypeTraits<Type>::CppType;
149
    if constexpr (Type == TYPE_VARBINARY) {
150
        static_assert(sizeof(OwnedBinaryField) <= sizeof(storage));
151
        new (&storage) OwnedBinaryField(x);
152
7.76k
    } else {
153
7.76k
        new (&storage) StorageType(std::move(x));
154
7.76k
    }
155
7.76k
    type = Type;
156
    DCHECK_NE(type, PrimitiveType::INVALID_TYPE);
157
7.76k
}
_ZN5doris5Field15create_concreteILNS_13PrimitiveTypeE28EEEvONS_19PrimitiveTypeTraitsIXT_EE7CppTypeE
Line
Count
Source
142
119k
void Field::create_concrete(typename PrimitiveTypeTraits<Type>::CppType&& x) {
143
    // In both Field and PODArray, small types may be stored as wider types,
144
    // e.g. char is stored as UInt64. Field can return this extended value
145
    // with get<StorageType>(). To avoid uninitialized results from get(),
146
    // we must initialize the entire wide stored type, and not just the
147
    // nominal type.
148
119k
    using StorageType = typename PrimitiveTypeTraits<Type>::CppType;
149
    if constexpr (Type == TYPE_VARBINARY) {
150
        static_assert(sizeof(OwnedBinaryField) <= sizeof(storage));
151
        new (&storage) OwnedBinaryField(x);
152
119k
    } else {
153
119k
        new (&storage) StorageType(std::move(x));
154
119k
    }
155
119k
    type = Type;
156
    DCHECK_NE(type, PrimitiveType::INVALID_TYPE);
157
119k
}
_ZN5doris5Field15create_concreteILNS_13PrimitiveTypeE29EEEvONS_19PrimitiveTypeTraitsIXT_EE7CppTypeE
Line
Count
Source
142
13.7M
void Field::create_concrete(typename PrimitiveTypeTraits<Type>::CppType&& x) {
143
    // In both Field and PODArray, small types may be stored as wider types,
144
    // e.g. char is stored as UInt64. Field can return this extended value
145
    // with get<StorageType>(). To avoid uninitialized results from get(),
146
    // we must initialize the entire wide stored type, and not just the
147
    // nominal type.
148
13.7M
    using StorageType = typename PrimitiveTypeTraits<Type>::CppType;
149
    if constexpr (Type == TYPE_VARBINARY) {
150
        static_assert(sizeof(OwnedBinaryField) <= sizeof(storage));
151
        new (&storage) OwnedBinaryField(x);
152
13.7M
    } else {
153
13.7M
        new (&storage) StorageType(std::move(x));
154
13.7M
    }
155
13.7M
    type = Type;
156
    DCHECK_NE(type, PrimitiveType::INVALID_TYPE);
157
13.7M
}
_ZN5doris5Field15create_concreteILNS_13PrimitiveTypeE20EEEvONS_19PrimitiveTypeTraitsIXT_EE7CppTypeE
Line
Count
Source
142
18.6k
void Field::create_concrete(typename PrimitiveTypeTraits<Type>::CppType&& x) {
143
    // In both Field and PODArray, small types may be stored as wider types,
144
    // e.g. char is stored as UInt64. Field can return this extended value
145
    // with get<StorageType>(). To avoid uninitialized results from get(),
146
    // we must initialize the entire wide stored type, and not just the
147
    // nominal type.
148
18.6k
    using StorageType = typename PrimitiveTypeTraits<Type>::CppType;
149
    if constexpr (Type == TYPE_VARBINARY) {
150
        static_assert(sizeof(OwnedBinaryField) <= sizeof(storage));
151
        new (&storage) OwnedBinaryField(x);
152
18.6k
    } else {
153
18.6k
        new (&storage) StorageType(std::move(x));
154
18.6k
    }
155
18.6k
    type = Type;
156
    DCHECK_NE(type, PrimitiveType::INVALID_TYPE);
157
18.6k
}
_ZN5doris5Field15create_concreteILNS_13PrimitiveTypeE30EEEvONS_19PrimitiveTypeTraitsIXT_EE7CppTypeE
Line
Count
Source
142
205k
void Field::create_concrete(typename PrimitiveTypeTraits<Type>::CppType&& x) {
143
    // In both Field and PODArray, small types may be stored as wider types,
144
    // e.g. char is stored as UInt64. Field can return this extended value
145
    // with get<StorageType>(). To avoid uninitialized results from get(),
146
    // we must initialize the entire wide stored type, and not just the
147
    // nominal type.
148
205k
    using StorageType = typename PrimitiveTypeTraits<Type>::CppType;
149
    if constexpr (Type == TYPE_VARBINARY) {
150
        static_assert(sizeof(OwnedBinaryField) <= sizeof(storage));
151
        new (&storage) OwnedBinaryField(x);
152
205k
    } else {
153
205k
        new (&storage) StorageType(std::move(x));
154
205k
    }
155
205k
    type = Type;
156
    DCHECK_NE(type, PrimitiveType::INVALID_TYPE);
157
205k
}
_ZN5doris5Field15create_concreteILNS_13PrimitiveTypeE35EEEvONS_19PrimitiveTypeTraitsIXT_EE7CppTypeE
Line
Count
Source
142
55.8k
void Field::create_concrete(typename PrimitiveTypeTraits<Type>::CppType&& x) {
143
    // In both Field and PODArray, small types may be stored as wider types,
144
    // e.g. char is stored as UInt64. Field can return this extended value
145
    // with get<StorageType>(). To avoid uninitialized results from get(),
146
    // we must initialize the entire wide stored type, and not just the
147
    // nominal type.
148
55.8k
    using StorageType = typename PrimitiveTypeTraits<Type>::CppType;
149
    if constexpr (Type == TYPE_VARBINARY) {
150
        static_assert(sizeof(OwnedBinaryField) <= sizeof(storage));
151
        new (&storage) OwnedBinaryField(x);
152
55.8k
    } else {
153
55.8k
        new (&storage) StorageType(std::move(x));
154
55.8k
    }
155
55.8k
    type = Type;
156
    DCHECK_NE(type, PrimitiveType::INVALID_TYPE);
157
55.8k
}
_ZN5doris5Field15create_concreteILNS_13PrimitiveTypeE15EEEvONS_19PrimitiveTypeTraitsIXT_EE7CppTypeE
Line
Count
Source
142
144k
void Field::create_concrete(typename PrimitiveTypeTraits<Type>::CppType&& x) {
143
    // In both Field and PODArray, small types may be stored as wider types,
144
    // e.g. char is stored as UInt64. Field can return this extended value
145
    // with get<StorageType>(). To avoid uninitialized results from get(),
146
    // we must initialize the entire wide stored type, and not just the
147
    // nominal type.
148
144k
    using StorageType = typename PrimitiveTypeTraits<Type>::CppType;
149
    if constexpr (Type == TYPE_VARBINARY) {
150
        static_assert(sizeof(OwnedBinaryField) <= sizeof(storage));
151
        new (&storage) OwnedBinaryField(x);
152
144k
    } else {
153
144k
        new (&storage) StorageType(std::move(x));
154
144k
    }
155
144k
    type = Type;
156
    DCHECK_NE(type, PrimitiveType::INVALID_TYPE);
157
144k
}
_ZN5doris5Field15create_concreteILNS_13PrimitiveTypeE10EEEvONS_19PrimitiveTypeTraitsIXT_EE7CppTypeE
Line
Count
Source
142
2.11M
void Field::create_concrete(typename PrimitiveTypeTraits<Type>::CppType&& x) {
143
    // In both Field and PODArray, small types may be stored as wider types,
144
    // e.g. char is stored as UInt64. Field can return this extended value
145
    // with get<StorageType>(). To avoid uninitialized results from get(),
146
    // we must initialize the entire wide stored type, and not just the
147
    // nominal type.
148
2.11M
    using StorageType = typename PrimitiveTypeTraits<Type>::CppType;
149
    if constexpr (Type == TYPE_VARBINARY) {
150
        static_assert(sizeof(OwnedBinaryField) <= sizeof(storage));
151
        new (&storage) OwnedBinaryField(x);
152
2.11M
    } else {
153
2.11M
        new (&storage) StorageType(std::move(x));
154
2.11M
    }
155
2.11M
    type = Type;
156
    DCHECK_NE(type, PrimitiveType::INVALID_TYPE);
157
2.11M
}
_ZN5doris5Field15create_concreteILNS_13PrimitiveTypeE23EEEvONS_19PrimitiveTypeTraitsIXT_EE7CppTypeE
Line
Count
Source
142
35.3M
void Field::create_concrete(typename PrimitiveTypeTraits<Type>::CppType&& x) {
143
    // In both Field and PODArray, small types may be stored as wider types,
144
    // e.g. char is stored as UInt64. Field can return this extended value
145
    // with get<StorageType>(). To avoid uninitialized results from get(),
146
    // we must initialize the entire wide stored type, and not just the
147
    // nominal type.
148
35.3M
    using StorageType = typename PrimitiveTypeTraits<Type>::CppType;
149
    if constexpr (Type == TYPE_VARBINARY) {
150
        static_assert(sizeof(OwnedBinaryField) <= sizeof(storage));
151
        new (&storage) OwnedBinaryField(x);
152
35.3M
    } else {
153
35.3M
        new (&storage) StorageType(std::move(x));
154
35.3M
    }
155
35.3M
    type = Type;
156
    DCHECK_NE(type, PrimitiveType::INVALID_TYPE);
157
35.3M
}
_ZN5doris5Field15create_concreteILNS_13PrimitiveTypeE41EEEvONS_19PrimitiveTypeTraitsIXT_EE7CppTypeE
Line
Count
Source
142
117
void Field::create_concrete(typename PrimitiveTypeTraits<Type>::CppType&& x) {
143
    // In both Field and PODArray, small types may be stored as wider types,
144
    // e.g. char is stored as UInt64. Field can return this extended value
145
    // with get<StorageType>(). To avoid uninitialized results from get(),
146
    // we must initialize the entire wide stored type, and not just the
147
    // nominal type.
148
117
    using StorageType = typename PrimitiveTypeTraits<Type>::CppType;
149
117
    if constexpr (Type == TYPE_VARBINARY) {
150
117
        static_assert(sizeof(OwnedBinaryField) <= sizeof(storage));
151
117
        new (&storage) OwnedBinaryField(x);
152
    } else {
153
        new (&storage) StorageType(std::move(x));
154
    }
155
117
    type = Type;
156
    DCHECK_NE(type, PrimitiveType::INVALID_TYPE);
157
117
}
_ZN5doris5Field15create_concreteILNS_13PrimitiveTypeE19EEEvONS_19PrimitiveTypeTraitsIXT_EE7CppTypeE
Line
Count
Source
142
14
void Field::create_concrete(typename PrimitiveTypeTraits<Type>::CppType&& x) {
143
    // In both Field and PODArray, small types may be stored as wider types,
144
    // e.g. char is stored as UInt64. Field can return this extended value
145
    // with get<StorageType>(). To avoid uninitialized results from get(),
146
    // we must initialize the entire wide stored type, and not just the
147
    // nominal type.
148
14
    using StorageType = typename PrimitiveTypeTraits<Type>::CppType;
149
    if constexpr (Type == TYPE_VARBINARY) {
150
        static_assert(sizeof(OwnedBinaryField) <= sizeof(storage));
151
        new (&storage) OwnedBinaryField(x);
152
14
    } else {
153
14
        new (&storage) StorageType(std::move(x));
154
14
    }
155
14
    type = Type;
156
    DCHECK_NE(type, PrimitiveType::INVALID_TYPE);
157
14
}
_ZN5doris5Field15create_concreteILNS_13PrimitiveTypeE32EEEvONS_19PrimitiveTypeTraitsIXT_EE7CppTypeE
Line
Count
Source
142
13.4k
void Field::create_concrete(typename PrimitiveTypeTraits<Type>::CppType&& x) {
143
    // In both Field and PODArray, small types may be stored as wider types,
144
    // e.g. char is stored as UInt64. Field can return this extended value
145
    // with get<StorageType>(). To avoid uninitialized results from get(),
146
    // we must initialize the entire wide stored type, and not just the
147
    // nominal type.
148
13.4k
    using StorageType = typename PrimitiveTypeTraits<Type>::CppType;
149
    if constexpr (Type == TYPE_VARBINARY) {
150
        static_assert(sizeof(OwnedBinaryField) <= sizeof(storage));
151
        new (&storage) OwnedBinaryField(x);
152
13.4k
    } else {
153
13.4k
        new (&storage) StorageType(std::move(x));
154
13.4k
    }
155
13.4k
    type = Type;
156
    DCHECK_NE(type, PrimitiveType::INVALID_TYPE);
157
13.4k
}
_ZN5doris5Field15create_concreteILNS_13PrimitiveTypeE24EEEvONS_19PrimitiveTypeTraitsIXT_EE7CppTypeE
Line
Count
Source
142
12
void Field::create_concrete(typename PrimitiveTypeTraits<Type>::CppType&& x) {
143
    // In both Field and PODArray, small types may be stored as wider types,
144
    // e.g. char is stored as UInt64. Field can return this extended value
145
    // with get<StorageType>(). To avoid uninitialized results from get(),
146
    // we must initialize the entire wide stored type, and not just the
147
    // nominal type.
148
12
    using StorageType = typename PrimitiveTypeTraits<Type>::CppType;
149
    if constexpr (Type == TYPE_VARBINARY) {
150
        static_assert(sizeof(OwnedBinaryField) <= sizeof(storage));
151
        new (&storage) OwnedBinaryField(x);
152
12
    } else {
153
12
        new (&storage) StorageType(std::move(x));
154
12
    }
155
12
    type = Type;
156
    DCHECK_NE(type, PrimitiveType::INVALID_TYPE);
157
12
}
_ZN5doris5Field15create_concreteILNS_13PrimitiveTypeE17EEEvONS_19PrimitiveTypeTraitsIXT_EE7CppTypeE
Line
Count
Source
142
161k
void Field::create_concrete(typename PrimitiveTypeTraits<Type>::CppType&& x) {
143
    // In both Field and PODArray, small types may be stored as wider types,
144
    // e.g. char is stored as UInt64. Field can return this extended value
145
    // with get<StorageType>(). To avoid uninitialized results from get(),
146
    // we must initialize the entire wide stored type, and not just the
147
    // nominal type.
148
161k
    using StorageType = typename PrimitiveTypeTraits<Type>::CppType;
149
    if constexpr (Type == TYPE_VARBINARY) {
150
        static_assert(sizeof(OwnedBinaryField) <= sizeof(storage));
151
        new (&storage) OwnedBinaryField(x);
152
161k
    } else {
153
161k
        new (&storage) StorageType(std::move(x));
154
161k
    }
155
161k
    type = Type;
156
    DCHECK_NE(type, PrimitiveType::INVALID_TYPE);
157
161k
}
_ZN5doris5Field15create_concreteILNS_13PrimitiveTypeE42EEEvONS_19PrimitiveTypeTraitsIXT_EE7CppTypeE
Line
Count
Source
142
81.8k
void Field::create_concrete(typename PrimitiveTypeTraits<Type>::CppType&& x) {
143
    // In both Field and PODArray, small types may be stored as wider types,
144
    // e.g. char is stored as UInt64. Field can return this extended value
145
    // with get<StorageType>(). To avoid uninitialized results from get(),
146
    // we must initialize the entire wide stored type, and not just the
147
    // nominal type.
148
81.8k
    using StorageType = typename PrimitiveTypeTraits<Type>::CppType;
149
    if constexpr (Type == TYPE_VARBINARY) {
150
        static_assert(sizeof(OwnedBinaryField) <= sizeof(storage));
151
        new (&storage) OwnedBinaryField(x);
152
81.8k
    } else {
153
81.8k
        new (&storage) StorageType(std::move(x));
154
81.8k
    }
155
81.8k
    type = Type;
156
    DCHECK_NE(type, PrimitiveType::INVALID_TYPE);
157
81.8k
}
_ZN5doris5Field15create_concreteILNS_13PrimitiveTypeE36EEEvONS_19PrimitiveTypeTraitsIXT_EE7CppTypeE
Line
Count
Source
142
44.1k
void Field::create_concrete(typename PrimitiveTypeTraits<Type>::CppType&& x) {
143
    // In both Field and PODArray, small types may be stored as wider types,
144
    // e.g. char is stored as UInt64. Field can return this extended value
145
    // with get<StorageType>(). To avoid uninitialized results from get(),
146
    // we must initialize the entire wide stored type, and not just the
147
    // nominal type.
148
44.1k
    using StorageType = typename PrimitiveTypeTraits<Type>::CppType;
149
    if constexpr (Type == TYPE_VARBINARY) {
150
        static_assert(sizeof(OwnedBinaryField) <= sizeof(storage));
151
        new (&storage) OwnedBinaryField(x);
152
44.1k
    } else {
153
44.1k
        new (&storage) StorageType(std::move(x));
154
44.1k
    }
155
44.1k
    type = Type;
156
    DCHECK_NE(type, PrimitiveType::INVALID_TYPE);
157
44.1k
}
_ZN5doris5Field15create_concreteILNS_13PrimitiveTypeE37EEEvONS_19PrimitiveTypeTraitsIXT_EE7CppTypeE
Line
Count
Source
142
30.7k
void Field::create_concrete(typename PrimitiveTypeTraits<Type>::CppType&& x) {
143
    // In both Field and PODArray, small types may be stored as wider types,
144
    // e.g. char is stored as UInt64. Field can return this extended value
145
    // with get<StorageType>(). To avoid uninitialized results from get(),
146
    // we must initialize the entire wide stored type, and not just the
147
    // nominal type.
148
30.7k
    using StorageType = typename PrimitiveTypeTraits<Type>::CppType;
149
    if constexpr (Type == TYPE_VARBINARY) {
150
        static_assert(sizeof(OwnedBinaryField) <= sizeof(storage));
151
        new (&storage) OwnedBinaryField(x);
152
30.7k
    } else {
153
30.7k
        new (&storage) StorageType(std::move(x));
154
30.7k
    }
155
30.7k
    type = Type;
156
    DCHECK_NE(type, PrimitiveType::INVALID_TYPE);
157
30.7k
}
_ZN5doris5Field15create_concreteILNS_13PrimitiveTypeE44EEEvONS_19PrimitiveTypeTraitsIXT_EE7CppTypeE
Line
Count
Source
142
27.7k
void Field::create_concrete(typename PrimitiveTypeTraits<Type>::CppType&& x) {
143
    // In both Field and PODArray, small types may be stored as wider types,
144
    // e.g. char is stored as UInt64. Field can return this extended value
145
    // with get<StorageType>(). To avoid uninitialized results from get(),
146
    // we must initialize the entire wide stored type, and not just the
147
    // nominal type.
148
27.7k
    using StorageType = typename PrimitiveTypeTraits<Type>::CppType;
149
    if constexpr (Type == TYPE_VARBINARY) {
150
        static_assert(sizeof(OwnedBinaryField) <= sizeof(storage));
151
        new (&storage) OwnedBinaryField(x);
152
27.7k
    } else {
153
27.7k
        new (&storage) StorageType(std::move(x));
154
27.7k
    }
155
27.7k
    type = Type;
156
    DCHECK_NE(type, PrimitiveType::INVALID_TYPE);
157
27.7k
}
_ZN5doris5Field15create_concreteILNS_13PrimitiveTypeE2EEEvONS_19PrimitiveTypeTraitsIXT_EE7CppTypeE
Line
Count
Source
142
28.4M
void Field::create_concrete(typename PrimitiveTypeTraits<Type>::CppType&& x) {
143
    // In both Field and PODArray, small types may be stored as wider types,
144
    // e.g. char is stored as UInt64. Field can return this extended value
145
    // with get<StorageType>(). To avoid uninitialized results from get(),
146
    // we must initialize the entire wide stored type, and not just the
147
    // nominal type.
148
28.4M
    using StorageType = typename PrimitiveTypeTraits<Type>::CppType;
149
    if constexpr (Type == TYPE_VARBINARY) {
150
        static_assert(sizeof(OwnedBinaryField) <= sizeof(storage));
151
        new (&storage) OwnedBinaryField(x);
152
28.4M
    } else {
153
28.4M
        new (&storage) StorageType(std::move(x));
154
28.4M
    }
155
28.4M
    type = Type;
156
    DCHECK_NE(type, PrimitiveType::INVALID_TYPE);
157
28.4M
}
_ZN5doris5Field15create_concreteILNS_13PrimitiveTypeE8EEEvONS_19PrimitiveTypeTraitsIXT_EE7CppTypeE
Line
Count
Source
142
159k
void Field::create_concrete(typename PrimitiveTypeTraits<Type>::CppType&& x) {
143
    // In both Field and PODArray, small types may be stored as wider types,
144
    // e.g. char is stored as UInt64. Field can return this extended value
145
    // with get<StorageType>(). To avoid uninitialized results from get(),
146
    // we must initialize the entire wide stored type, and not just the
147
    // nominal type.
148
159k
    using StorageType = typename PrimitiveTypeTraits<Type>::CppType;
149
    if constexpr (Type == TYPE_VARBINARY) {
150
        static_assert(sizeof(OwnedBinaryField) <= sizeof(storage));
151
        new (&storage) OwnedBinaryField(x);
152
159k
    } else {
153
159k
        new (&storage) StorageType(std::move(x));
154
159k
    }
155
159k
    type = Type;
156
    DCHECK_NE(type, PrimitiveType::INVALID_TYPE);
157
159k
}
_ZN5doris5Field15create_concreteILNS_13PrimitiveTypeE9EEEvONS_19PrimitiveTypeTraitsIXT_EE7CppTypeE
Line
Count
Source
142
177k
void Field::create_concrete(typename PrimitiveTypeTraits<Type>::CppType&& x) {
143
    // In both Field and PODArray, small types may be stored as wider types,
144
    // e.g. char is stored as UInt64. Field can return this extended value
145
    // with get<StorageType>(). To avoid uninitialized results from get(),
146
    // we must initialize the entire wide stored type, and not just the
147
    // nominal type.
148
177k
    using StorageType = typename PrimitiveTypeTraits<Type>::CppType;
149
    if constexpr (Type == TYPE_VARBINARY) {
150
        static_assert(sizeof(OwnedBinaryField) <= sizeof(storage));
151
        new (&storage) OwnedBinaryField(x);
152
177k
    } else {
153
177k
        new (&storage) StorageType(std::move(x));
154
177k
    }
155
177k
    type = Type;
156
    DCHECK_NE(type, PrimitiveType::INVALID_TYPE);
157
177k
}
_ZN5doris5Field15create_concreteILNS_13PrimitiveTypeE31EEEvONS_19PrimitiveTypeTraitsIXT_EE7CppTypeE
Line
Count
Source
142
87.9k
void Field::create_concrete(typename PrimitiveTypeTraits<Type>::CppType&& x) {
143
    // In both Field and PODArray, small types may be stored as wider types,
144
    // e.g. char is stored as UInt64. Field can return this extended value
145
    // with get<StorageType>(). To avoid uninitialized results from get(),
146
    // we must initialize the entire wide stored type, and not just the
147
    // nominal type.
148
87.9k
    using StorageType = typename PrimitiveTypeTraits<Type>::CppType;
149
    if constexpr (Type == TYPE_VARBINARY) {
150
        static_assert(sizeof(OwnedBinaryField) <= sizeof(storage));
151
        new (&storage) OwnedBinaryField(x);
152
87.9k
    } else {
153
87.9k
        new (&storage) StorageType(std::move(x));
154
87.9k
    }
155
87.9k
    type = Type;
156
    DCHECK_NE(type, PrimitiveType::INVALID_TYPE);
157
87.9k
}
_ZN5doris5Field15create_concreteILNS_13PrimitiveTypeE16EEEvONS_19PrimitiveTypeTraitsIXT_EE7CppTypeE
Line
Count
Source
142
8.50k
void Field::create_concrete(typename PrimitiveTypeTraits<Type>::CppType&& x) {
143
    // In both Field and PODArray, small types may be stored as wider types,
144
    // e.g. char is stored as UInt64. Field can return this extended value
145
    // with get<StorageType>(). To avoid uninitialized results from get(),
146
    // we must initialize the entire wide stored type, and not just the
147
    // nominal type.
148
8.50k
    using StorageType = typename PrimitiveTypeTraits<Type>::CppType;
149
    if constexpr (Type == TYPE_VARBINARY) {
150
        static_assert(sizeof(OwnedBinaryField) <= sizeof(storage));
151
        new (&storage) OwnedBinaryField(x);
152
8.50k
    } else {
153
8.50k
        new (&storage) StorageType(std::move(x));
154
8.50k
    }
155
8.50k
    type = Type;
156
    DCHECK_NE(type, PrimitiveType::INVALID_TYPE);
157
8.50k
}
_ZN5doris5Field15create_concreteILNS_13PrimitiveTypeE18EEEvONS_19PrimitiveTypeTraitsIXT_EE7CppTypeE
Line
Count
Source
142
36.7k
void Field::create_concrete(typename PrimitiveTypeTraits<Type>::CppType&& x) {
143
    // In both Field and PODArray, small types may be stored as wider types,
144
    // e.g. char is stored as UInt64. Field can return this extended value
145
    // with get<StorageType>(). To avoid uninitialized results from get(),
146
    // we must initialize the entire wide stored type, and not just the
147
    // nominal type.
148
36.7k
    using StorageType = typename PrimitiveTypeTraits<Type>::CppType;
149
    if constexpr (Type == TYPE_VARBINARY) {
150
        static_assert(sizeof(OwnedBinaryField) <= sizeof(storage));
151
        new (&storage) OwnedBinaryField(x);
152
36.7k
    } else {
153
36.7k
        new (&storage) StorageType(std::move(x));
154
36.7k
    }
155
36.7k
    type = Type;
156
    DCHECK_NE(type, PrimitiveType::INVALID_TYPE);
157
36.7k
}
_ZN5doris5Field15create_concreteILNS_13PrimitiveTypeE22EEEvONS_19PrimitiveTypeTraitsIXT_EE7CppTypeE
Line
Count
Source
142
156
void Field::create_concrete(typename PrimitiveTypeTraits<Type>::CppType&& x) {
143
    // In both Field and PODArray, small types may be stored as wider types,
144
    // e.g. char is stored as UInt64. Field can return this extended value
145
    // with get<StorageType>(). To avoid uninitialized results from get(),
146
    // we must initialize the entire wide stored type, and not just the
147
    // nominal type.
148
156
    using StorageType = typename PrimitiveTypeTraits<Type>::CppType;
149
    if constexpr (Type == TYPE_VARBINARY) {
150
        static_assert(sizeof(OwnedBinaryField) <= sizeof(storage));
151
        new (&storage) OwnedBinaryField(x);
152
156
    } else {
153
156
        new (&storage) StorageType(std::move(x));
154
156
    }
155
156
    type = Type;
156
    DCHECK_NE(type, PrimitiveType::INVALID_TYPE);
157
156
}
_ZN5doris5Field15create_concreteILNS_13PrimitiveTypeE27EEEvONS_19PrimitiveTypeTraitsIXT_EE7CppTypeE
Line
Count
Source
142
204
void Field::create_concrete(typename PrimitiveTypeTraits<Type>::CppType&& x) {
143
    // In both Field and PODArray, small types may be stored as wider types,
144
    // e.g. char is stored as UInt64. Field can return this extended value
145
    // with get<StorageType>(). To avoid uninitialized results from get(),
146
    // we must initialize the entire wide stored type, and not just the
147
    // nominal type.
148
204
    using StorageType = typename PrimitiveTypeTraits<Type>::CppType;
149
    if constexpr (Type == TYPE_VARBINARY) {
150
        static_assert(sizeof(OwnedBinaryField) <= sizeof(storage));
151
        new (&storage) OwnedBinaryField(x);
152
204
    } else {
153
204
        new (&storage) StorageType(std::move(x));
154
204
    }
155
204
    type = Type;
156
    DCHECK_NE(type, PrimitiveType::INVALID_TYPE);
157
204
}
Unexecuted instantiation: _ZN5doris5Field15create_concreteILNS_13PrimitiveTypeE38EEEvONS_19PrimitiveTypeTraitsIXT_EE7CppTypeE
_ZN5doris5Field15create_concreteILNS_13PrimitiveTypeE39EEEvONS_19PrimitiveTypeTraitsIXT_EE7CppTypeE
Line
Count
Source
142
40
void Field::create_concrete(typename PrimitiveTypeTraits<Type>::CppType&& x) {
143
    // In both Field and PODArray, small types may be stored as wider types,
144
    // e.g. char is stored as UInt64. Field can return this extended value
145
    // with get<StorageType>(). To avoid uninitialized results from get(),
146
    // we must initialize the entire wide stored type, and not just the
147
    // nominal type.
148
40
    using StorageType = typename PrimitiveTypeTraits<Type>::CppType;
149
    if constexpr (Type == TYPE_VARBINARY) {
150
        static_assert(sizeof(OwnedBinaryField) <= sizeof(storage));
151
        new (&storage) OwnedBinaryField(x);
152
40
    } else {
153
40
        new (&storage) StorageType(std::move(x));
154
40
    }
155
40
    type = Type;
156
    DCHECK_NE(type, PrimitiveType::INVALID_TYPE);
157
40
}
158
159
template <PrimitiveType Type>
160
245M
void Field::create_concrete(const typename PrimitiveTypeTraits<Type>::CppType& x) {
161
    // In both Field and PODArray, small types may be stored as wider types,
162
    // e.g. char is stored as UInt64. Field can return this extended value
163
    // with get<StorageType>(). To avoid uninitialized results from get(),
164
    // we must initialize the entire wide stored type, and not just the
165
    // nominal type.
166
245M
    using StorageType = typename PrimitiveTypeTraits<Type>::CppType;
167
245M
    if constexpr (Type == TYPE_VARBINARY) {
168
66
        new (&storage) OwnedBinaryField(x);
169
245M
    } else {
170
245M
        new (&storage) StorageType(x);
171
245M
    }
172
245M
    type = Type;
173
245M
    DCHECK_NE(type, PrimitiveType::INVALID_TYPE);
174
245M
}
_ZN5doris5Field15create_concreteILNS_13PrimitiveTypeE1EEEvRKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeE
Line
Count
Source
160
39.0M
void Field::create_concrete(const typename PrimitiveTypeTraits<Type>::CppType& x) {
161
    // In both Field and PODArray, small types may be stored as wider types,
162
    // e.g. char is stored as UInt64. Field can return this extended value
163
    // with get<StorageType>(). To avoid uninitialized results from get(),
164
    // we must initialize the entire wide stored type, and not just the
165
    // nominal type.
166
39.0M
    using StorageType = typename PrimitiveTypeTraits<Type>::CppType;
167
    if constexpr (Type == TYPE_VARBINARY) {
168
        new (&storage) OwnedBinaryField(x);
169
39.0M
    } else {
170
39.0M
        new (&storage) StorageType(x);
171
39.0M
    }
172
39.0M
    type = Type;
173
    DCHECK_NE(type, PrimitiveType::INVALID_TYPE);
174
39.0M
}
_ZN5doris5Field15create_concreteILNS_13PrimitiveTypeE3EEEvRKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeE
Line
Count
Source
160
5.43M
void Field::create_concrete(const typename PrimitiveTypeTraits<Type>::CppType& x) {
161
    // In both Field and PODArray, small types may be stored as wider types,
162
    // e.g. char is stored as UInt64. Field can return this extended value
163
    // with get<StorageType>(). To avoid uninitialized results from get(),
164
    // we must initialize the entire wide stored type, and not just the
165
    // nominal type.
166
5.43M
    using StorageType = typename PrimitiveTypeTraits<Type>::CppType;
167
    if constexpr (Type == TYPE_VARBINARY) {
168
        new (&storage) OwnedBinaryField(x);
169
5.43M
    } else {
170
5.43M
        new (&storage) StorageType(x);
171
5.43M
    }
172
5.43M
    type = Type;
173
    DCHECK_NE(type, PrimitiveType::INVALID_TYPE);
174
5.43M
}
_ZN5doris5Field15create_concreteILNS_13PrimitiveTypeE4EEEvRKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeE
Line
Count
Source
160
4.02M
void Field::create_concrete(const typename PrimitiveTypeTraits<Type>::CppType& x) {
161
    // In both Field and PODArray, small types may be stored as wider types,
162
    // e.g. char is stored as UInt64. Field can return this extended value
163
    // with get<StorageType>(). To avoid uninitialized results from get(),
164
    // we must initialize the entire wide stored type, and not just the
165
    // nominal type.
166
4.02M
    using StorageType = typename PrimitiveTypeTraits<Type>::CppType;
167
    if constexpr (Type == TYPE_VARBINARY) {
168
        new (&storage) OwnedBinaryField(x);
169
4.02M
    } else {
170
4.02M
        new (&storage) StorageType(x);
171
4.02M
    }
172
4.02M
    type = Type;
173
    DCHECK_NE(type, PrimitiveType::INVALID_TYPE);
174
4.02M
}
_ZN5doris5Field15create_concreteILNS_13PrimitiveTypeE5EEEvRKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeE
Line
Count
Source
160
27.2M
void Field::create_concrete(const typename PrimitiveTypeTraits<Type>::CppType& x) {
161
    // In both Field and PODArray, small types may be stored as wider types,
162
    // e.g. char is stored as UInt64. Field can return this extended value
163
    // with get<StorageType>(). To avoid uninitialized results from get(),
164
    // we must initialize the entire wide stored type, and not just the
165
    // nominal type.
166
27.2M
    using StorageType = typename PrimitiveTypeTraits<Type>::CppType;
167
    if constexpr (Type == TYPE_VARBINARY) {
168
        new (&storage) OwnedBinaryField(x);
169
27.2M
    } else {
170
27.2M
        new (&storage) StorageType(x);
171
27.2M
    }
172
27.2M
    type = Type;
173
    DCHECK_NE(type, PrimitiveType::INVALID_TYPE);
174
27.2M
}
_ZN5doris5Field15create_concreteILNS_13PrimitiveTypeE6EEEvRKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeE
Line
Count
Source
160
5.63M
void Field::create_concrete(const typename PrimitiveTypeTraits<Type>::CppType& x) {
161
    // In both Field and PODArray, small types may be stored as wider types,
162
    // e.g. char is stored as UInt64. Field can return this extended value
163
    // with get<StorageType>(). To avoid uninitialized results from get(),
164
    // we must initialize the entire wide stored type, and not just the
165
    // nominal type.
166
5.63M
    using StorageType = typename PrimitiveTypeTraits<Type>::CppType;
167
    if constexpr (Type == TYPE_VARBINARY) {
168
        new (&storage) OwnedBinaryField(x);
169
5.63M
    } else {
170
5.63M
        new (&storage) StorageType(x);
171
5.63M
    }
172
5.63M
    type = Type;
173
    DCHECK_NE(type, PrimitiveType::INVALID_TYPE);
174
5.63M
}
_ZN5doris5Field15create_concreteILNS_13PrimitiveTypeE7EEEvRKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeE
Line
Count
Source
160
3.21M
void Field::create_concrete(const typename PrimitiveTypeTraits<Type>::CppType& x) {
161
    // In both Field and PODArray, small types may be stored as wider types,
162
    // e.g. char is stored as UInt64. Field can return this extended value
163
    // with get<StorageType>(). To avoid uninitialized results from get(),
164
    // we must initialize the entire wide stored type, and not just the
165
    // nominal type.
166
3.21M
    using StorageType = typename PrimitiveTypeTraits<Type>::CppType;
167
    if constexpr (Type == TYPE_VARBINARY) {
168
        new (&storage) OwnedBinaryField(x);
169
3.21M
    } else {
170
3.21M
        new (&storage) StorageType(x);
171
3.21M
    }
172
3.21M
    type = Type;
173
    DCHECK_NE(type, PrimitiveType::INVALID_TYPE);
174
3.21M
}
_ZN5doris5Field15create_concreteILNS_13PrimitiveTypeE11EEEvRKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeE
Line
Count
Source
160
3.39M
void Field::create_concrete(const typename PrimitiveTypeTraits<Type>::CppType& x) {
161
    // In both Field and PODArray, small types may be stored as wider types,
162
    // e.g. char is stored as UInt64. Field can return this extended value
163
    // with get<StorageType>(). To avoid uninitialized results from get(),
164
    // we must initialize the entire wide stored type, and not just the
165
    // nominal type.
166
3.39M
    using StorageType = typename PrimitiveTypeTraits<Type>::CppType;
167
    if constexpr (Type == TYPE_VARBINARY) {
168
        new (&storage) OwnedBinaryField(x);
169
3.39M
    } else {
170
3.39M
        new (&storage) StorageType(x);
171
3.39M
    }
172
3.39M
    type = Type;
173
    DCHECK_NE(type, PrimitiveType::INVALID_TYPE);
174
3.39M
}
_ZN5doris5Field15create_concreteILNS_13PrimitiveTypeE12EEEvRKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeE
Line
Count
Source
160
3.33M
void Field::create_concrete(const typename PrimitiveTypeTraits<Type>::CppType& x) {
161
    // In both Field and PODArray, small types may be stored as wider types,
162
    // e.g. char is stored as UInt64. Field can return this extended value
163
    // with get<StorageType>(). To avoid uninitialized results from get(),
164
    // we must initialize the entire wide stored type, and not just the
165
    // nominal type.
166
3.33M
    using StorageType = typename PrimitiveTypeTraits<Type>::CppType;
167
    if constexpr (Type == TYPE_VARBINARY) {
168
        new (&storage) OwnedBinaryField(x);
169
3.33M
    } else {
170
3.33M
        new (&storage) StorageType(x);
171
3.33M
    }
172
3.33M
    type = Type;
173
    DCHECK_NE(type, PrimitiveType::INVALID_TYPE);
174
3.33M
}
_ZN5doris5Field15create_concreteILNS_13PrimitiveTypeE25EEEvRKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeE
Line
Count
Source
160
5.16M
void Field::create_concrete(const typename PrimitiveTypeTraits<Type>::CppType& x) {
161
    // In both Field and PODArray, small types may be stored as wider types,
162
    // e.g. char is stored as UInt64. Field can return this extended value
163
    // with get<StorageType>(). To avoid uninitialized results from get(),
164
    // we must initialize the entire wide stored type, and not just the
165
    // nominal type.
166
5.16M
    using StorageType = typename PrimitiveTypeTraits<Type>::CppType;
167
    if constexpr (Type == TYPE_VARBINARY) {
168
        new (&storage) OwnedBinaryField(x);
169
5.16M
    } else {
170
5.16M
        new (&storage) StorageType(x);
171
5.16M
    }
172
5.16M
    type = Type;
173
    DCHECK_NE(type, PrimitiveType::INVALID_TYPE);
174
5.16M
}
_ZN5doris5Field15create_concreteILNS_13PrimitiveTypeE26EEEvRKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeE
Line
Count
Source
160
4.16M
void Field::create_concrete(const typename PrimitiveTypeTraits<Type>::CppType& x) {
161
    // In both Field and PODArray, small types may be stored as wider types,
162
    // e.g. char is stored as UInt64. Field can return this extended value
163
    // with get<StorageType>(). To avoid uninitialized results from get(),
164
    // we must initialize the entire wide stored type, and not just the
165
    // nominal type.
166
4.16M
    using StorageType = typename PrimitiveTypeTraits<Type>::CppType;
167
    if constexpr (Type == TYPE_VARBINARY) {
168
        new (&storage) OwnedBinaryField(x);
169
4.16M
    } else {
170
4.16M
        new (&storage) StorageType(x);
171
4.16M
    }
172
4.16M
    type = Type;
173
    DCHECK_NE(type, PrimitiveType::INVALID_TYPE);
174
4.16M
}
_ZN5doris5Field15create_concreteILNS_13PrimitiveTypeE43EEEvRKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeE
Line
Count
Source
160
9.21k
void Field::create_concrete(const typename PrimitiveTypeTraits<Type>::CppType& x) {
161
    // In both Field and PODArray, small types may be stored as wider types,
162
    // e.g. char is stored as UInt64. Field can return this extended value
163
    // with get<StorageType>(). To avoid uninitialized results from get(),
164
    // we must initialize the entire wide stored type, and not just the
165
    // nominal type.
166
9.21k
    using StorageType = typename PrimitiveTypeTraits<Type>::CppType;
167
    if constexpr (Type == TYPE_VARBINARY) {
168
        new (&storage) OwnedBinaryField(x);
169
9.21k
    } else {
170
9.21k
        new (&storage) StorageType(x);
171
9.21k
    }
172
9.21k
    type = Type;
173
    DCHECK_NE(type, PrimitiveType::INVALID_TYPE);
174
9.21k
}
_ZN5doris5Field15create_concreteILNS_13PrimitiveTypeE42EEEvRKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeE
Line
Count
Source
160
45.1k
void Field::create_concrete(const typename PrimitiveTypeTraits<Type>::CppType& x) {
161
    // In both Field and PODArray, small types may be stored as wider types,
162
    // e.g. char is stored as UInt64. Field can return this extended value
163
    // with get<StorageType>(). To avoid uninitialized results from get(),
164
    // we must initialize the entire wide stored type, and not just the
165
    // nominal type.
166
45.1k
    using StorageType = typename PrimitiveTypeTraits<Type>::CppType;
167
    if constexpr (Type == TYPE_VARBINARY) {
168
        new (&storage) OwnedBinaryField(x);
169
45.1k
    } else {
170
45.1k
        new (&storage) StorageType(x);
171
45.1k
    }
172
45.1k
    type = Type;
173
    DCHECK_NE(type, PrimitiveType::INVALID_TYPE);
174
45.1k
}
_ZN5doris5Field15create_concreteILNS_13PrimitiveTypeE28EEEvRKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeE
Line
Count
Source
160
3.61M
void Field::create_concrete(const typename PrimitiveTypeTraits<Type>::CppType& x) {
161
    // In both Field and PODArray, small types may be stored as wider types,
162
    // e.g. char is stored as UInt64. Field can return this extended value
163
    // with get<StorageType>(). To avoid uninitialized results from get(),
164
    // we must initialize the entire wide stored type, and not just the
165
    // nominal type.
166
3.61M
    using StorageType = typename PrimitiveTypeTraits<Type>::CppType;
167
    if constexpr (Type == TYPE_VARBINARY) {
168
        new (&storage) OwnedBinaryField(x);
169
3.61M
    } else {
170
3.61M
        new (&storage) StorageType(x);
171
3.61M
    }
172
3.61M
    type = Type;
173
    DCHECK_NE(type, PrimitiveType::INVALID_TYPE);
174
3.61M
}
_ZN5doris5Field15create_concreteILNS_13PrimitiveTypeE29EEEvRKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeE
Line
Count
Source
160
3.63M
void Field::create_concrete(const typename PrimitiveTypeTraits<Type>::CppType& x) {
161
    // In both Field and PODArray, small types may be stored as wider types,
162
    // e.g. char is stored as UInt64. Field can return this extended value
163
    // with get<StorageType>(). To avoid uninitialized results from get(),
164
    // we must initialize the entire wide stored type, and not just the
165
    // nominal type.
166
3.63M
    using StorageType = typename PrimitiveTypeTraits<Type>::CppType;
167
    if constexpr (Type == TYPE_VARBINARY) {
168
        new (&storage) OwnedBinaryField(x);
169
3.63M
    } else {
170
3.63M
        new (&storage) StorageType(x);
171
3.63M
    }
172
3.63M
    type = Type;
173
    DCHECK_NE(type, PrimitiveType::INVALID_TYPE);
174
3.63M
}
_ZN5doris5Field15create_concreteILNS_13PrimitiveTypeE20EEEvRKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeE
Line
Count
Source
160
9.83k
void Field::create_concrete(const typename PrimitiveTypeTraits<Type>::CppType& x) {
161
    // In both Field and PODArray, small types may be stored as wider types,
162
    // e.g. char is stored as UInt64. Field can return this extended value
163
    // with get<StorageType>(). To avoid uninitialized results from get(),
164
    // we must initialize the entire wide stored type, and not just the
165
    // nominal type.
166
9.83k
    using StorageType = typename PrimitiveTypeTraits<Type>::CppType;
167
    if constexpr (Type == TYPE_VARBINARY) {
168
        new (&storage) OwnedBinaryField(x);
169
9.83k
    } else {
170
9.83k
        new (&storage) StorageType(x);
171
9.83k
    }
172
9.83k
    type = Type;
173
    DCHECK_NE(type, PrimitiveType::INVALID_TYPE);
174
9.83k
}
_ZN5doris5Field15create_concreteILNS_13PrimitiveTypeE30EEEvRKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeE
Line
Count
Source
160
3.52M
void Field::create_concrete(const typename PrimitiveTypeTraits<Type>::CppType& x) {
161
    // In both Field and PODArray, small types may be stored as wider types,
162
    // e.g. char is stored as UInt64. Field can return this extended value
163
    // with get<StorageType>(). To avoid uninitialized results from get(),
164
    // we must initialize the entire wide stored type, and not just the
165
    // nominal type.
166
3.52M
    using StorageType = typename PrimitiveTypeTraits<Type>::CppType;
167
    if constexpr (Type == TYPE_VARBINARY) {
168
        new (&storage) OwnedBinaryField(x);
169
3.52M
    } else {
170
3.52M
        new (&storage) StorageType(x);
171
3.52M
    }
172
3.52M
    type = Type;
173
    DCHECK_NE(type, PrimitiveType::INVALID_TYPE);
174
3.52M
}
_ZN5doris5Field15create_concreteILNS_13PrimitiveTypeE35EEEvRKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeE
Line
Count
Source
160
3.71M
void Field::create_concrete(const typename PrimitiveTypeTraits<Type>::CppType& x) {
161
    // In both Field and PODArray, small types may be stored as wider types,
162
    // e.g. char is stored as UInt64. Field can return this extended value
163
    // with get<StorageType>(). To avoid uninitialized results from get(),
164
    // we must initialize the entire wide stored type, and not just the
165
    // nominal type.
166
3.71M
    using StorageType = typename PrimitiveTypeTraits<Type>::CppType;
167
    if constexpr (Type == TYPE_VARBINARY) {
168
        new (&storage) OwnedBinaryField(x);
169
3.71M
    } else {
170
3.71M
        new (&storage) StorageType(x);
171
3.71M
    }
172
3.71M
    type = Type;
173
    DCHECK_NE(type, PrimitiveType::INVALID_TYPE);
174
3.71M
}
_ZN5doris5Field15create_concreteILNS_13PrimitiveTypeE15EEEvRKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeE
Line
Count
Source
160
3.67k
void Field::create_concrete(const typename PrimitiveTypeTraits<Type>::CppType& x) {
161
    // In both Field and PODArray, small types may be stored as wider types,
162
    // e.g. char is stored as UInt64. Field can return this extended value
163
    // with get<StorageType>(). To avoid uninitialized results from get(),
164
    // we must initialize the entire wide stored type, and not just the
165
    // nominal type.
166
3.67k
    using StorageType = typename PrimitiveTypeTraits<Type>::CppType;
167
    if constexpr (Type == TYPE_VARBINARY) {
168
        new (&storage) OwnedBinaryField(x);
169
3.67k
    } else {
170
3.67k
        new (&storage) StorageType(x);
171
3.67k
    }
172
3.67k
    type = Type;
173
    DCHECK_NE(type, PrimitiveType::INVALID_TYPE);
174
3.67k
}
_ZN5doris5Field15create_concreteILNS_13PrimitiveTypeE10EEEvRKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeE
Line
Count
Source
160
8.13M
void Field::create_concrete(const typename PrimitiveTypeTraits<Type>::CppType& x) {
161
    // In both Field and PODArray, small types may be stored as wider types,
162
    // e.g. char is stored as UInt64. Field can return this extended value
163
    // with get<StorageType>(). To avoid uninitialized results from get(),
164
    // we must initialize the entire wide stored type, and not just the
165
    // nominal type.
166
8.13M
    using StorageType = typename PrimitiveTypeTraits<Type>::CppType;
167
    if constexpr (Type == TYPE_VARBINARY) {
168
        new (&storage) OwnedBinaryField(x);
169
8.13M
    } else {
170
8.13M
        new (&storage) StorageType(x);
171
8.13M
    }
172
8.13M
    type = Type;
173
    DCHECK_NE(type, PrimitiveType::INVALID_TYPE);
174
8.13M
}
_ZN5doris5Field15create_concreteILNS_13PrimitiveTypeE23EEEvRKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeE
Line
Count
Source
160
1.22M
void Field::create_concrete(const typename PrimitiveTypeTraits<Type>::CppType& x) {
161
    // In both Field and PODArray, small types may be stored as wider types,
162
    // e.g. char is stored as UInt64. Field can return this extended value
163
    // with get<StorageType>(). To avoid uninitialized results from get(),
164
    // we must initialize the entire wide stored type, and not just the
165
    // nominal type.
166
1.22M
    using StorageType = typename PrimitiveTypeTraits<Type>::CppType;
167
    if constexpr (Type == TYPE_VARBINARY) {
168
        new (&storage) OwnedBinaryField(x);
169
1.22M
    } else {
170
1.22M
        new (&storage) StorageType(x);
171
1.22M
    }
172
1.22M
    type = Type;
173
    DCHECK_NE(type, PrimitiveType::INVALID_TYPE);
174
1.22M
}
_ZN5doris5Field15create_concreteILNS_13PrimitiveTypeE41EEEvRKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeE
Line
Count
Source
160
66
void Field::create_concrete(const typename PrimitiveTypeTraits<Type>::CppType& x) {
161
    // In both Field and PODArray, small types may be stored as wider types,
162
    // e.g. char is stored as UInt64. Field can return this extended value
163
    // with get<StorageType>(). To avoid uninitialized results from get(),
164
    // we must initialize the entire wide stored type, and not just the
165
    // nominal type.
166
66
    using StorageType = typename PrimitiveTypeTraits<Type>::CppType;
167
66
    if constexpr (Type == TYPE_VARBINARY) {
168
66
        new (&storage) OwnedBinaryField(x);
169
    } else {
170
        new (&storage) StorageType(x);
171
    }
172
66
    type = Type;
173
    DCHECK_NE(type, PrimitiveType::INVALID_TYPE);
174
66
}
_ZN5doris5Field15create_concreteILNS_13PrimitiveTypeE19EEEvRKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeE
Line
Count
Source
160
404
void Field::create_concrete(const typename PrimitiveTypeTraits<Type>::CppType& x) {
161
    // In both Field and PODArray, small types may be stored as wider types,
162
    // e.g. char is stored as UInt64. Field can return this extended value
163
    // with get<StorageType>(). To avoid uninitialized results from get(),
164
    // we must initialize the entire wide stored type, and not just the
165
    // nominal type.
166
404
    using StorageType = typename PrimitiveTypeTraits<Type>::CppType;
167
    if constexpr (Type == TYPE_VARBINARY) {
168
        new (&storage) OwnedBinaryField(x);
169
404
    } else {
170
404
        new (&storage) StorageType(x);
171
404
    }
172
404
    type = Type;
173
    DCHECK_NE(type, PrimitiveType::INVALID_TYPE);
174
404
}
Unexecuted instantiation: _ZN5doris5Field15create_concreteILNS_13PrimitiveTypeE32EEEvRKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeE
_ZN5doris5Field15create_concreteILNS_13PrimitiveTypeE24EEEvRKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeE
Line
Count
Source
160
22.3k
void Field::create_concrete(const typename PrimitiveTypeTraits<Type>::CppType& x) {
161
    // In both Field and PODArray, small types may be stored as wider types,
162
    // e.g. char is stored as UInt64. Field can return this extended value
163
    // with get<StorageType>(). To avoid uninitialized results from get(),
164
    // we must initialize the entire wide stored type, and not just the
165
    // nominal type.
166
22.3k
    using StorageType = typename PrimitiveTypeTraits<Type>::CppType;
167
    if constexpr (Type == TYPE_VARBINARY) {
168
        new (&storage) OwnedBinaryField(x);
169
22.3k
    } else {
170
22.3k
        new (&storage) StorageType(x);
171
22.3k
    }
172
22.3k
    type = Type;
173
    DCHECK_NE(type, PrimitiveType::INVALID_TYPE);
174
22.3k
}
_ZN5doris5Field15create_concreteILNS_13PrimitiveTypeE17EEEvRKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeE
Line
Count
Source
160
92.4M
void Field::create_concrete(const typename PrimitiveTypeTraits<Type>::CppType& x) {
161
    // In both Field and PODArray, small types may be stored as wider types,
162
    // e.g. char is stored as UInt64. Field can return this extended value
163
    // with get<StorageType>(). To avoid uninitialized results from get(),
164
    // we must initialize the entire wide stored type, and not just the
165
    // nominal type.
166
92.4M
    using StorageType = typename PrimitiveTypeTraits<Type>::CppType;
167
    if constexpr (Type == TYPE_VARBINARY) {
168
        new (&storage) OwnedBinaryField(x);
169
92.4M
    } else {
170
92.4M
        new (&storage) StorageType(x);
171
92.4M
    }
172
92.4M
    type = Type;
173
    DCHECK_NE(type, PrimitiveType::INVALID_TYPE);
174
92.4M
}
_ZN5doris5Field15create_concreteILNS_13PrimitiveTypeE36EEEvRKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeE
Line
Count
Source
160
60.1k
void Field::create_concrete(const typename PrimitiveTypeTraits<Type>::CppType& x) {
161
    // In both Field and PODArray, small types may be stored as wider types,
162
    // e.g. char is stored as UInt64. Field can return this extended value
163
    // with get<StorageType>(). To avoid uninitialized results from get(),
164
    // we must initialize the entire wide stored type, and not just the
165
    // nominal type.
166
60.1k
    using StorageType = typename PrimitiveTypeTraits<Type>::CppType;
167
    if constexpr (Type == TYPE_VARBINARY) {
168
        new (&storage) OwnedBinaryField(x);
169
60.1k
    } else {
170
60.1k
        new (&storage) StorageType(x);
171
60.1k
    }
172
60.1k
    type = Type;
173
    DCHECK_NE(type, PrimitiveType::INVALID_TYPE);
174
60.1k
}
_ZN5doris5Field15create_concreteILNS_13PrimitiveTypeE37EEEvRKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeE
Line
Count
Source
160
41.6k
void Field::create_concrete(const typename PrimitiveTypeTraits<Type>::CppType& x) {
161
    // In both Field and PODArray, small types may be stored as wider types,
162
    // e.g. char is stored as UInt64. Field can return this extended value
163
    // with get<StorageType>(). To avoid uninitialized results from get(),
164
    // we must initialize the entire wide stored type, and not just the
165
    // nominal type.
166
41.6k
    using StorageType = typename PrimitiveTypeTraits<Type>::CppType;
167
    if constexpr (Type == TYPE_VARBINARY) {
168
        new (&storage) OwnedBinaryField(x);
169
41.6k
    } else {
170
41.6k
        new (&storage) StorageType(x);
171
41.6k
    }
172
41.6k
    type = Type;
173
    DCHECK_NE(type, PrimitiveType::INVALID_TYPE);
174
41.6k
}
_ZN5doris5Field15create_concreteILNS_13PrimitiveTypeE44EEEvRKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeE
Line
Count
Source
160
105k
void Field::create_concrete(const typename PrimitiveTypeTraits<Type>::CppType& x) {
161
    // In both Field and PODArray, small types may be stored as wider types,
162
    // e.g. char is stored as UInt64. Field can return this extended value
163
    // with get<StorageType>(). To avoid uninitialized results from get(),
164
    // we must initialize the entire wide stored type, and not just the
165
    // nominal type.
166
105k
    using StorageType = typename PrimitiveTypeTraits<Type>::CppType;
167
    if constexpr (Type == TYPE_VARBINARY) {
168
        new (&storage) OwnedBinaryField(x);
169
105k
    } else {
170
105k
        new (&storage) StorageType(x);
171
105k
    }
172
105k
    type = Type;
173
    DCHECK_NE(type, PrimitiveType::INVALID_TYPE);
174
105k
}
_ZN5doris5Field15create_concreteILNS_13PrimitiveTypeE2EEEvRKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeE
Line
Count
Source
160
3.58M
void Field::create_concrete(const typename PrimitiveTypeTraits<Type>::CppType& x) {
161
    // In both Field and PODArray, small types may be stored as wider types,
162
    // e.g. char is stored as UInt64. Field can return this extended value
163
    // with get<StorageType>(). To avoid uninitialized results from get(),
164
    // we must initialize the entire wide stored type, and not just the
165
    // nominal type.
166
3.58M
    using StorageType = typename PrimitiveTypeTraits<Type>::CppType;
167
    if constexpr (Type == TYPE_VARBINARY) {
168
        new (&storage) OwnedBinaryField(x);
169
3.58M
    } else {
170
3.58M
        new (&storage) StorageType(x);
171
3.58M
    }
172
3.58M
    type = Type;
173
    DCHECK_NE(type, PrimitiveType::INVALID_TYPE);
174
3.58M
}
_ZN5doris5Field15create_concreteILNS_13PrimitiveTypeE8EEEvRKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeE
Line
Count
Source
160
3.52M
void Field::create_concrete(const typename PrimitiveTypeTraits<Type>::CppType& x) {
161
    // In both Field and PODArray, small types may be stored as wider types,
162
    // e.g. char is stored as UInt64. Field can return this extended value
163
    // with get<StorageType>(). To avoid uninitialized results from get(),
164
    // we must initialize the entire wide stored type, and not just the
165
    // nominal type.
166
3.52M
    using StorageType = typename PrimitiveTypeTraits<Type>::CppType;
167
    if constexpr (Type == TYPE_VARBINARY) {
168
        new (&storage) OwnedBinaryField(x);
169
3.52M
    } else {
170
3.52M
        new (&storage) StorageType(x);
171
3.52M
    }
172
3.52M
    type = Type;
173
    DCHECK_NE(type, PrimitiveType::INVALID_TYPE);
174
3.52M
}
_ZN5doris5Field15create_concreteILNS_13PrimitiveTypeE9EEEvRKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeE
Line
Count
Source
160
4.50M
void Field::create_concrete(const typename PrimitiveTypeTraits<Type>::CppType& x) {
161
    // In both Field and PODArray, small types may be stored as wider types,
162
    // e.g. char is stored as UInt64. Field can return this extended value
163
    // with get<StorageType>(). To avoid uninitialized results from get(),
164
    // we must initialize the entire wide stored type, and not just the
165
    // nominal type.
166
4.50M
    using StorageType = typename PrimitiveTypeTraits<Type>::CppType;
167
    if constexpr (Type == TYPE_VARBINARY) {
168
        new (&storage) OwnedBinaryField(x);
169
4.50M
    } else {
170
4.50M
        new (&storage) StorageType(x);
171
4.50M
    }
172
4.50M
    type = Type;
173
    DCHECK_NE(type, PrimitiveType::INVALID_TYPE);
174
4.50M
}
_ZN5doris5Field15create_concreteILNS_13PrimitiveTypeE31EEEvRKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeE
Line
Count
Source
160
11
void Field::create_concrete(const typename PrimitiveTypeTraits<Type>::CppType& x) {
161
    // In both Field and PODArray, small types may be stored as wider types,
162
    // e.g. char is stored as UInt64. Field can return this extended value
163
    // with get<StorageType>(). To avoid uninitialized results from get(),
164
    // we must initialize the entire wide stored type, and not just the
165
    // nominal type.
166
11
    using StorageType = typename PrimitiveTypeTraits<Type>::CppType;
167
    if constexpr (Type == TYPE_VARBINARY) {
168
        new (&storage) OwnedBinaryField(x);
169
11
    } else {
170
11
        new (&storage) StorageType(x);
171
11
    }
172
11
    type = Type;
173
    DCHECK_NE(type, PrimitiveType::INVALID_TYPE);
174
11
}
_ZN5doris5Field15create_concreteILNS_13PrimitiveTypeE16EEEvRKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeE
Line
Count
Source
160
3.04M
void Field::create_concrete(const typename PrimitiveTypeTraits<Type>::CppType& x) {
161
    // In both Field and PODArray, small types may be stored as wider types,
162
    // e.g. char is stored as UInt64. Field can return this extended value
163
    // with get<StorageType>(). To avoid uninitialized results from get(),
164
    // we must initialize the entire wide stored type, and not just the
165
    // nominal type.
166
3.04M
    using StorageType = typename PrimitiveTypeTraits<Type>::CppType;
167
    if constexpr (Type == TYPE_VARBINARY) {
168
        new (&storage) OwnedBinaryField(x);
169
3.04M
    } else {
170
3.04M
        new (&storage) StorageType(x);
171
3.04M
    }
172
3.04M
    type = Type;
173
    DCHECK_NE(type, PrimitiveType::INVALID_TYPE);
174
3.04M
}
_ZN5doris5Field15create_concreteILNS_13PrimitiveTypeE18EEEvRKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeE
Line
Count
Source
160
13.2M
void Field::create_concrete(const typename PrimitiveTypeTraits<Type>::CppType& x) {
161
    // In both Field and PODArray, small types may be stored as wider types,
162
    // e.g. char is stored as UInt64. Field can return this extended value
163
    // with get<StorageType>(). To avoid uninitialized results from get(),
164
    // we must initialize the entire wide stored type, and not just the
165
    // nominal type.
166
13.2M
    using StorageType = typename PrimitiveTypeTraits<Type>::CppType;
167
    if constexpr (Type == TYPE_VARBINARY) {
168
        new (&storage) OwnedBinaryField(x);
169
13.2M
    } else {
170
13.2M
        new (&storage) StorageType(x);
171
13.2M
    }
172
13.2M
    type = Type;
173
    DCHECK_NE(type, PrimitiveType::INVALID_TYPE);
174
13.2M
}
_ZN5doris5Field15create_concreteILNS_13PrimitiveTypeE22EEEvRKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeE
Line
Count
Source
160
2.42k
void Field::create_concrete(const typename PrimitiveTypeTraits<Type>::CppType& x) {
161
    // In both Field and PODArray, small types may be stored as wider types,
162
    // e.g. char is stored as UInt64. Field can return this extended value
163
    // with get<StorageType>(). To avoid uninitialized results from get(),
164
    // we must initialize the entire wide stored type, and not just the
165
    // nominal type.
166
2.42k
    using StorageType = typename PrimitiveTypeTraits<Type>::CppType;
167
    if constexpr (Type == TYPE_VARBINARY) {
168
        new (&storage) OwnedBinaryField(x);
169
2.42k
    } else {
170
2.42k
        new (&storage) StorageType(x);
171
2.42k
    }
172
2.42k
    type = Type;
173
    DCHECK_NE(type, PrimitiveType::INVALID_TYPE);
174
2.42k
}
_ZN5doris5Field15create_concreteILNS_13PrimitiveTypeE27EEEvRKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeE
Line
Count
Source
160
207
void Field::create_concrete(const typename PrimitiveTypeTraits<Type>::CppType& x) {
161
    // In both Field and PODArray, small types may be stored as wider types,
162
    // e.g. char is stored as UInt64. Field can return this extended value
163
    // with get<StorageType>(). To avoid uninitialized results from get(),
164
    // we must initialize the entire wide stored type, and not just the
165
    // nominal type.
166
207
    using StorageType = typename PrimitiveTypeTraits<Type>::CppType;
167
    if constexpr (Type == TYPE_VARBINARY) {
168
        new (&storage) OwnedBinaryField(x);
169
207
    } else {
170
207
        new (&storage) StorageType(x);
171
207
    }
172
207
    type = Type;
173
    DCHECK_NE(type, PrimitiveType::INVALID_TYPE);
174
207
}
Unexecuted instantiation: _ZN5doris5Field15create_concreteILNS_13PrimitiveTypeE38EEEvRKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeE
Unexecuted instantiation: _ZN5doris5Field15create_concreteILNS_13PrimitiveTypeE39EEEvRKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeE
175
176
62.6M
void Field::create(Field&& field) {
177
62.6M
    switch (field.type) {
178
99.2k
    case PrimitiveType::TYPE_NULL:
179
99.2k
        create_concrete<TYPE_NULL>(std::move(field.template get<TYPE_NULL>()));
180
99.2k
        return;
181
2.32M
    case PrimitiveType::TYPE_DATETIMEV2:
182
2.32M
        create_concrete<TYPE_DATETIMEV2>(std::move(field.template get<TYPE_DATETIMEV2>()));
183
2.32M
        return;
184
6.72k
    case PrimitiveType::TYPE_TIMESTAMP_NS:
185
6.72k
        create_concrete<TYPE_TIMESTAMP_NS>(std::move(field.template get<TYPE_TIMESTAMP_NS>()));
186
6.72k
        return;
187
509k
    case PrimitiveType::TYPE_DATEV2:
188
509k
        create_concrete<TYPE_DATEV2>(std::move(field.template get<TYPE_DATEV2>()));
189
509k
        return;
190
43.4k
    case PrimitiveType::TYPE_TIMESTAMPTZ:
191
43.4k
        create_concrete<TYPE_TIMESTAMPTZ>(std::move(field.template get<TYPE_TIMESTAMPTZ>()));
192
43.4k
        return;
193
19.5k
    case PrimitiveType::TYPE_DATETIME:
194
19.5k
        create_concrete<TYPE_DATETIME>(std::move(field.template get<TYPE_DATETIME>()));
195
19.5k
        return;
196
16.5k
    case PrimitiveType::TYPE_DATE:
197
16.5k
        create_concrete<TYPE_DATE>(std::move(field.template get<TYPE_DATE>()));
198
16.5k
        return;
199
78.7k
    case PrimitiveType::TYPE_BOOLEAN:
200
78.7k
        create_concrete<TYPE_BOOLEAN>(std::move(field.template get<TYPE_BOOLEAN>()));
201
78.7k
        return;
202
5.13M
    case PrimitiveType::TYPE_TINYINT:
203
5.13M
        create_concrete<TYPE_TINYINT>(std::move(field.template get<TYPE_TINYINT>()));
204
5.13M
        return;
205
139k
    case PrimitiveType::TYPE_SMALLINT:
206
139k
        create_concrete<TYPE_SMALLINT>(std::move(field.template get<TYPE_SMALLINT>()));
207
139k
        return;
208
25.7M
    case PrimitiveType::TYPE_INT:
209
25.7M
        create_concrete<TYPE_INT>(std::move(field.template get<TYPE_INT>()));
210
25.7M
        return;
211
9.26M
    case PrimitiveType::TYPE_BIGINT:
212
9.26M
        create_concrete<TYPE_BIGINT>(std::move(field.template get<TYPE_BIGINT>()));
213
9.26M
        return;
214
160k
    case PrimitiveType::TYPE_LARGEINT:
215
160k
        create_concrete<TYPE_LARGEINT>(std::move(field.template get<TYPE_LARGEINT>()));
216
160k
        return;
217
38.1k
    case PrimitiveType::TYPE_IPV4:
218
38.1k
        create_concrete<TYPE_IPV4>(std::move(field.template get<TYPE_IPV4>()));
219
38.1k
        return;
220
26.7k
    case PrimitiveType::TYPE_IPV6:
221
26.7k
        create_concrete<TYPE_IPV6>(std::move(field.template get<TYPE_IPV6>()));
222
26.7k
        return;
223
17.2k
    case PrimitiveType::TYPE_UUID:
224
17.2k
        create_concrete<TYPE_UUID>(std::move(field.template get<TYPE_UUID>()));
225
17.2k
        return;
226
94.9k
    case PrimitiveType::TYPE_FLOAT:
227
94.9k
        create_concrete<TYPE_FLOAT>(std::move(field.template get<TYPE_FLOAT>()));
228
94.9k
        return;
229
203
    case PrimitiveType::TYPE_TIMEV2:
230
203
        create_concrete<TYPE_TIMEV2>(std::move(field.template get<TYPE_TIMEV2>()));
231
203
        return;
232
97.4k
    case PrimitiveType::TYPE_DOUBLE:
233
97.4k
        create_concrete<TYPE_DOUBLE>(std::move(field.template get<TYPE_DOUBLE>()));
234
97.4k
        return;
235
17.3M
    case PrimitiveType::TYPE_STRING:
236
17.3M
        create_concrete<TYPE_STRING>(std::move(field.template get<TYPE_STRING>()));
237
17.3M
        return;
238
54.3k
    case PrimitiveType::TYPE_CHAR:
239
54.3k
        create_concrete<TYPE_CHAR>(std::move(field.template get<TYPE_CHAR>()));
240
54.3k
        return;
241
1.06M
    case PrimitiveType::TYPE_VARCHAR:
242
1.06M
        create_concrete<TYPE_VARCHAR>(std::move(field.template get<TYPE_VARCHAR>()));
243
1.06M
        return;
244
9
    case PrimitiveType::TYPE_JSONB:
245
9
        create_concrete<TYPE_JSONB>(std::move(field.template get<TYPE_JSONB>()));
246
9
        return;
247
70.8k
    case PrimitiveType::TYPE_ARRAY:
248
70.8k
        create_concrete<TYPE_ARRAY>(std::move(field.template get<TYPE_ARRAY>()));
249
70.8k
        return;
250
4.04k
    case PrimitiveType::TYPE_STRUCT:
251
4.04k
        create_concrete<TYPE_STRUCT>(std::move(field.template get<TYPE_STRUCT>()));
252
4.04k
        return;
253
12.0k
    case PrimitiveType::TYPE_MAP:
254
12.0k
        create_concrete<TYPE_MAP>(std::move(field.template get<TYPE_MAP>()));
255
12.0k
        return;
256
66.5k
    case PrimitiveType::TYPE_DECIMAL32:
257
66.5k
        create_concrete<TYPE_DECIMAL32>(std::move(field.template get<TYPE_DECIMAL32>()));
258
66.5k
        return;
259
100k
    case PrimitiveType::TYPE_DECIMAL64:
260
100k
        create_concrete<TYPE_DECIMAL64>(std::move(field.template get<TYPE_DECIMAL64>()));
261
100k
        return;
262
7.24k
    case PrimitiveType::TYPE_DECIMALV2:
263
7.24k
        create_concrete<TYPE_DECIMALV2>(std::move(field.template get<TYPE_DECIMALV2>()));
264
7.24k
        return;
265
102k
    case PrimitiveType::TYPE_DECIMAL128I:
266
102k
        create_concrete<TYPE_DECIMAL128I>(std::move(field.template get<TYPE_DECIMAL128I>()));
267
102k
        return;
268
44.9k
    case PrimitiveType::TYPE_DECIMAL256:
269
44.9k
        create_concrete<TYPE_DECIMAL256>(std::move(field.template get<TYPE_DECIMAL256>()));
270
44.9k
        return;
271
6.73k
    case PrimitiveType::TYPE_VARIANT:
272
6.73k
        create_concrete<TYPE_VARIANT>(std::move(field.template get<TYPE_VARIANT>()));
273
6.73k
        return;
274
52
    case PrimitiveType::TYPE_BITMAP:
275
52
        create_concrete<TYPE_BITMAP>(std::move(field.template get<TYPE_BITMAP>()));
276
52
        return;
277
4
    case PrimitiveType::TYPE_HLL:
278
4
        create_concrete<TYPE_HLL>(std::move(field.template get<TYPE_HLL>()));
279
4
        return;
280
2
    case PrimitiveType::TYPE_QUANTILE_STATE:
281
2
        create_concrete<TYPE_QUANTILE_STATE>(std::move(field.template get<TYPE_QUANTILE_STATE>()));
282
2
        return;
283
44
    case PrimitiveType::TYPE_VARBINARY:
284
44
        create_concrete<TYPE_VARBINARY>(std::move(field.template get<TYPE_VARBINARY>()));
285
44
        return;
286
0
    default:
287
0
        throw Exception(Status::FatalError("type not supported, type={}", field.get_type_name()));
288
62.6M
    }
289
62.6M
}
290
291
210M
Field::Field(const Field& rhs) {
292
210M
    create(rhs);
293
210M
}
294
295
1.74M
Field::Field(Field&& rhs) {
296
1.74M
    create(std::move(rhs));
297
1.74M
}
298
299
6.72M
Field& Field::operator=(const Field& rhs) {
300
6.72M
    if (this != &rhs) {
301
6.72M
        if (type != rhs.type) {
302
5.22M
            destroy();
303
            // A failed allocation while changing types must leave a destructible Field.
304
5.22M
            type = TYPE_NULL;
305
5.22M
            create(rhs);
306
5.22M
        } else {
307
1.49M
            assign(rhs); /// This assigns string or vector without deallocation of existing buffer.
308
1.49M
        }
309
6.72M
    }
310
6.72M
    return *this;
311
6.72M
}
312
313
215M
void Field::create(const Field& field) {
314
215M
    switch (field.type) {
315
39.0M
    case PrimitiveType::TYPE_NULL:
316
39.0M
        create_concrete<TYPE_NULL>(field.template get<TYPE_NULL>());
317
39.0M
        return;
318
4.05M
    case PrimitiveType::TYPE_DATETIMEV2:
319
4.05M
        create_concrete<TYPE_DATETIMEV2>(field.template get<TYPE_DATETIMEV2>());
320
4.05M
        return;
321
2.47k
    case PrimitiveType::TYPE_TIMESTAMP_NS:
322
2.47k
        create_concrete<TYPE_TIMESTAMP_NS>(field.template get<TYPE_TIMESTAMP_NS>());
323
2.47k
        return;
324
4.56M
    case PrimitiveType::TYPE_DATEV2:
325
4.56M
        create_concrete<TYPE_DATEV2>(field.template get<TYPE_DATEV2>());
326
4.56M
        return;
327
27.9k
    case PrimitiveType::TYPE_TIMESTAMPTZ:
328
27.9k
        create_concrete<TYPE_TIMESTAMPTZ>(field.template get<TYPE_TIMESTAMPTZ>());
329
27.9k
        return;
330
3.32M
    case PrimitiveType::TYPE_DATETIME:
331
3.32M
        create_concrete<TYPE_DATETIME>(field.template get<TYPE_DATETIME>());
332
3.32M
        return;
333
3.38M
    case PrimitiveType::TYPE_DATE:
334
3.38M
        create_concrete<TYPE_DATE>(field.template get<TYPE_DATE>());
335
3.38M
        return;
336
3.55M
    case PrimitiveType::TYPE_BOOLEAN:
337
3.55M
        create_concrete<TYPE_BOOLEAN>(field.template get<TYPE_BOOLEAN>());
338
3.55M
        return;
339
5.03M
    case PrimitiveType::TYPE_TINYINT:
340
5.03M
        create_concrete<TYPE_TINYINT>(field.template get<TYPE_TINYINT>());
341
5.03M
        return;
342
3.97M
    case PrimitiveType::TYPE_SMALLINT:
343
3.97M
        create_concrete<TYPE_SMALLINT>(field.template get<TYPE_SMALLINT>());
344
3.97M
        return;
345
1.14M
    case PrimitiveType::TYPE_INT:
346
1.14M
        create_concrete<TYPE_INT>(field.template get<TYPE_INT>());
347
1.14M
        return;
348
5.47M
    case PrimitiveType::TYPE_BIGINT:
349
5.47M
        create_concrete<TYPE_BIGINT>(field.template get<TYPE_BIGINT>());
350
5.47M
        return;
351
3.17M
    case PrimitiveType::TYPE_LARGEINT:
352
3.17M
        create_concrete<TYPE_LARGEINT>(field.template get<TYPE_LARGEINT>());
353
3.17M
        return;
354
26.8k
    case PrimitiveType::TYPE_IPV4:
355
26.8k
        create_concrete<TYPE_IPV4>(field.template get<TYPE_IPV4>());
356
26.8k
        return;
357
17.4k
    case PrimitiveType::TYPE_IPV6:
358
17.4k
        create_concrete<TYPE_IPV6>(field.template get<TYPE_IPV6>());
359
17.4k
        return;
360
3.74k
    case PrimitiveType::TYPE_UUID:
361
3.74k
        create_concrete<TYPE_UUID>(field.template get<TYPE_UUID>());
362
3.74k
        return;
363
3.48M
    case PrimitiveType::TYPE_FLOAT:
364
3.48M
        create_concrete<TYPE_FLOAT>(field.template get<TYPE_FLOAT>());
365
3.48M
        return;
366
16
    case PrimitiveType::TYPE_TIMEV2:
367
16
        create_concrete<TYPE_TIMEV2>(field.template get<TYPE_TIMEV2>());
368
16
        return;
369
3.79M
    case PrimitiveType::TYPE_DOUBLE:
370
3.79M
        create_concrete<TYPE_DOUBLE>(field.template get<TYPE_DOUBLE>());
371
3.79M
        return;
372
224k
    case PrimitiveType::TYPE_STRING:
373
224k
        create_concrete<TYPE_STRING>(field.template get<TYPE_STRING>());
374
224k
        return;
375
2.57k
    case PrimitiveType::TYPE_CHAR:
376
2.57k
        create_concrete<TYPE_CHAR>(field.template get<TYPE_CHAR>());
377
2.57k
        return;
378
7.81M
    case PrimitiveType::TYPE_VARCHAR:
379
7.81M
        create_concrete<TYPE_VARCHAR>(field.template get<TYPE_VARCHAR>());
380
7.81M
        return;
381
7
    case PrimitiveType::TYPE_JSONB:
382
7
        create_concrete<TYPE_JSONB>(field.template get<TYPE_JSONB>());
383
7
        return;
384
92.4M
    case PrimitiveType::TYPE_ARRAY:
385
92.4M
        create_concrete<TYPE_ARRAY>(field.template get<TYPE_ARRAY>());
386
92.4M
        return;
387
3.04M
    case PrimitiveType::TYPE_STRUCT:
388
3.04M
        create_concrete<TYPE_STRUCT>(field.template get<TYPE_STRUCT>());
389
3.04M
        return;
390
13.2M
    case PrimitiveType::TYPE_MAP:
391
13.2M
        create_concrete<TYPE_MAP>(field.template get<TYPE_MAP>());
392
13.2M
        return;
393
3.59M
    case PrimitiveType::TYPE_DECIMAL32:
394
3.59M
        create_concrete<TYPE_DECIMAL32>(field.template get<TYPE_DECIMAL32>());
395
3.59M
        return;
396
3.59M
    case PrimitiveType::TYPE_DECIMAL64:
397
3.59M
        create_concrete<TYPE_DECIMAL64>(field.template get<TYPE_DECIMAL64>());
398
3.59M
        return;
399
1.19k
    case PrimitiveType::TYPE_DECIMALV2:
400
1.19k
        create_concrete<TYPE_DECIMALV2>(field.template get<TYPE_DECIMALV2>());
401
1.19k
        return;
402
3.49M
    case PrimitiveType::TYPE_DECIMAL128I:
403
3.49M
        create_concrete<TYPE_DECIMAL128I>(field.template get<TYPE_DECIMAL128I>());
404
3.49M
        return;
405
3.67M
    case PrimitiveType::TYPE_DECIMAL256:
406
3.67M
        create_concrete<TYPE_DECIMAL256>(field.template get<TYPE_DECIMAL256>());
407
3.67M
        return;
408
0
    case PrimitiveType::TYPE_VARIANT:
409
0
        create_concrete<TYPE_VARIANT>(field.template get<TYPE_VARIANT>());
410
0
        return;
411
0
    case PrimitiveType::TYPE_BITMAP:
412
0
        create_concrete<TYPE_BITMAP>(field.template get<TYPE_BITMAP>());
413
0
        return;
414
0
    case PrimitiveType::TYPE_HLL:
415
0
        create_concrete<TYPE_HLL>(field.template get<TYPE_HLL>());
416
0
        return;
417
0
    case PrimitiveType::TYPE_QUANTILE_STATE:
418
0
        create_concrete<TYPE_QUANTILE_STATE>(field.template get<TYPE_QUANTILE_STATE>());
419
0
        return;
420
0
    case PrimitiveType::TYPE_UINT32:
421
0
        create_concrete<TYPE_UINT32>(field.template get<TYPE_UINT32>());
422
0
        return;
423
0
    case PrimitiveType::TYPE_UINT64:
424
0
        create_concrete<TYPE_UINT64>(field.template get<TYPE_UINT64>());
425
0
        return;
426
15
    case PrimitiveType::TYPE_VARBINARY:
427
15
        create_concrete<TYPE_VARBINARY>(field.template get<TYPE_VARBINARY>());
428
15
        return;
429
0
    default:
430
0
        throw Exception(Status::FatalError("type not supported, type={}", field.get_type_name()));
431
215M
    }
432
215M
}
433
434
478M
void Field::destroy() {
435
478M
    switch (type) {
436
36.5M
    case PrimitiveType::TYPE_STRING:
437
36.5M
        destroy<TYPE_STRING>();
438
36.5M
        break;
439
147k
    case PrimitiveType::TYPE_CHAR:
440
147k
        destroy<TYPE_CHAR>();
441
147k
        break;
442
10.2M
    case PrimitiveType::TYPE_VARCHAR:
443
10.2M
        destroy<TYPE_VARCHAR>();
444
10.2M
        break;
445
87.9k
    case PrimitiveType::TYPE_JSONB:
446
87.9k
        destroy<TYPE_JSONB>();
447
87.9k
        break;
448
92.6M
    case PrimitiveType::TYPE_ARRAY:
449
92.6M
        destroy<TYPE_ARRAY>();
450
92.6M
        break;
451
3.05M
    case PrimitiveType::TYPE_STRUCT:
452
3.05M
        destroy<TYPE_STRUCT>();
453
3.05M
        break;
454
13.2M
    case PrimitiveType::TYPE_MAP:
455
13.2M
        destroy<TYPE_MAP>();
456
13.2M
        break;
457
13.4k
    case PrimitiveType::TYPE_VARIANT:
458
13.4k
        destroy<TYPE_VARIANT>();
459
13.4k
        break;
460
2.58k
    case PrimitiveType::TYPE_BITMAP:
461
2.58k
        destroy<TYPE_BITMAP>();
462
2.58k
        break;
463
418
    case PrimitiveType::TYPE_HLL:
464
418
        destroy<TYPE_HLL>();
465
418
        break;
466
22.3k
    case PrimitiveType::TYPE_QUANTILE_STATE:
467
22.3k
        destroy<TYPE_QUANTILE_STATE>();
468
22.3k
        break;
469
181
    case PrimitiveType::TYPE_VARBINARY:
470
181
        destroy<TYPE_VARBINARY>();
471
181
        break;
472
323M
    default:
473
323M
        break;
474
478M
    }
475
476
478M
    type = PrimitiveType::
477
478M
            TYPE_NULL; /// for exception safety in subsequent calls to destroy and create, when create fails.
478
478M
}
479
480
2.36M
void Field::assign(Field&& field) {
481
2.36M
    switch (field.type) {
482
209k
    case PrimitiveType::TYPE_NULL:
483
209k
        assign_concrete<TYPE_NULL>(std::move(field.template get<TYPE_NULL>()));
484
209k
        return;
485
66.2k
    case PrimitiveType::TYPE_DATETIMEV2:
486
66.2k
        assign_concrete<TYPE_DATETIMEV2>(std::move(field.template get<TYPE_DATETIMEV2>()));
487
66.2k
        return;
488
301
    case PrimitiveType::TYPE_TIMESTAMP_NS:
489
301
        assign_concrete<TYPE_TIMESTAMP_NS>(std::move(field.template get<TYPE_TIMESTAMP_NS>()));
490
301
        return;
491
1.07k
    case PrimitiveType::TYPE_DATETIME:
492
1.07k
        assign_concrete<TYPE_DATETIME>(std::move(field.template get<TYPE_DATETIME>()));
493
1.07k
        return;
494
733
    case PrimitiveType::TYPE_DATE:
495
733
        assign_concrete<TYPE_DATE>(std::move(field.template get<TYPE_DATE>()));
496
733
        return;
497
60.4k
    case PrimitiveType::TYPE_DATEV2:
498
60.4k
        assign_concrete<TYPE_DATEV2>(std::move(field.template get<TYPE_DATEV2>()));
499
60.4k
        return;
500
7.02k
    case PrimitiveType::TYPE_TIMESTAMPTZ:
501
7.02k
        assign_concrete<TYPE_TIMESTAMPTZ>(std::move(field.template get<TYPE_TIMESTAMPTZ>()));
502
7.02k
        return;
503
15.8k
    case PrimitiveType::TYPE_BOOLEAN:
504
15.8k
        assign_concrete<TYPE_BOOLEAN>(std::move(field.template get<TYPE_BOOLEAN>()));
505
15.8k
        return;
506
81.8k
    case PrimitiveType::TYPE_TINYINT:
507
81.8k
        assign_concrete<TYPE_TINYINT>(std::move(field.template get<TYPE_TINYINT>()));
508
81.8k
        return;
509
22.4k
    case PrimitiveType::TYPE_SMALLINT:
510
22.4k
        assign_concrete<TYPE_SMALLINT>(std::move(field.template get<TYPE_SMALLINT>()));
511
22.4k
        return;
512
901k
    case PrimitiveType::TYPE_INT:
513
901k
        assign_concrete<TYPE_INT>(std::move(field.template get<TYPE_INT>()));
514
901k
        return;
515
344k
    case PrimitiveType::TYPE_BIGINT:
516
344k
        assign_concrete<TYPE_BIGINT>(std::move(field.template get<TYPE_BIGINT>()));
517
344k
        return;
518
33.7k
    case PrimitiveType::TYPE_LARGEINT:
519
33.7k
        assign_concrete<TYPE_LARGEINT>(std::move(field.template get<TYPE_LARGEINT>()));
520
33.7k
        return;
521
1.03k
    case PrimitiveType::TYPE_IPV4:
522
1.03k
        assign_concrete<TYPE_IPV4>(std::move(field.template get<TYPE_IPV4>()));
523
1.03k
        return;
524
1.06k
    case PrimitiveType::TYPE_IPV6:
525
1.06k
        assign_concrete<TYPE_IPV6>(std::move(field.template get<TYPE_IPV6>()));
526
1.06k
        return;
527
901
    case PrimitiveType::TYPE_UUID:
528
901
        assign_concrete<TYPE_UUID>(std::move(field.template get<TYPE_UUID>()));
529
901
        return;
530
14.1k
    case PrimitiveType::TYPE_FLOAT:
531
14.1k
        assign_concrete<TYPE_FLOAT>(std::move(field.template get<TYPE_FLOAT>()));
532
14.1k
        return;
533
0
    case PrimitiveType::TYPE_TIMEV2:
534
0
        assign_concrete<TYPE_TIMEV2>(std::move(field.template get<TYPE_TIMEV2>()));
535
0
        return;
536
20.0k
    case PrimitiveType::TYPE_DOUBLE:
537
20.0k
        assign_concrete<TYPE_DOUBLE>(std::move(field.template get<TYPE_DOUBLE>()));
538
20.0k
        return;
539
139k
    case PrimitiveType::TYPE_STRING:
540
139k
        assign_concrete<TYPE_STRING>(std::move(field.template get<TYPE_STRING>()));
541
139k
        return;
542
35.4k
    case PrimitiveType::TYPE_CHAR:
543
35.4k
        assign_concrete<TYPE_CHAR>(std::move(field.template get<TYPE_CHAR>()));
544
35.4k
        return;
545
301k
    case PrimitiveType::TYPE_VARCHAR:
546
301k
        assign_concrete<TYPE_VARCHAR>(std::move(field.template get<TYPE_VARCHAR>()));
547
301k
        return;
548
43.9k
    case PrimitiveType::TYPE_JSONB:
549
43.9k
        assign_concrete<TYPE_JSONB>(std::move(field.template get<TYPE_JSONB>()));
550
43.9k
        return;
551
8
    case PrimitiveType::TYPE_ARRAY:
552
8
        assign_concrete<TYPE_ARRAY>(std::move(field.template get<TYPE_ARRAY>()));
553
8
        return;
554
0
    case PrimitiveType::TYPE_STRUCT:
555
0
        assign_concrete<TYPE_STRUCT>(std::move(field.template get<TYPE_STRUCT>()));
556
0
        return;
557
1
    case PrimitiveType::TYPE_MAP:
558
1
        assign_concrete<TYPE_MAP>(std::move(field.template get<TYPE_MAP>()));
559
1
        return;
560
6.75k
    case PrimitiveType::TYPE_DECIMAL32:
561
6.75k
        assign_concrete<TYPE_DECIMAL32>(std::move(field.template get<TYPE_DECIMAL32>()));
562
6.75k
        return;
563
32.7k
    case PrimitiveType::TYPE_DECIMAL64:
564
32.7k
        assign_concrete<TYPE_DECIMAL64>(std::move(field.template get<TYPE_DECIMAL64>()));
565
32.7k
        return;
566
402
    case PrimitiveType::TYPE_DECIMALV2:
567
402
        assign_concrete<TYPE_DECIMALV2>(std::move(field.template get<TYPE_DECIMALV2>()));
568
402
        return;
569
20.4k
    case PrimitiveType::TYPE_DECIMAL128I:
570
20.4k
        assign_concrete<TYPE_DECIMAL128I>(std::move(field.template get<TYPE_DECIMAL128I>()));
571
20.4k
        return;
572
1.15k
    case PrimitiveType::TYPE_DECIMAL256:
573
1.15k
        assign_concrete<TYPE_DECIMAL256>(std::move(field.template get<TYPE_DECIMAL256>()));
574
1.15k
        return;
575
0
    case PrimitiveType::TYPE_VARIANT:
576
0
        assign_concrete<TYPE_VARIANT>(std::move(field.template get<TYPE_VARIANT>()));
577
0
        return;
578
48
    case PrimitiveType::TYPE_BITMAP:
579
48
        assign_concrete<TYPE_BITMAP>(std::move(field.template get<TYPE_BITMAP>()));
580
48
        return;
581
1
    case PrimitiveType::TYPE_HLL:
582
1
        assign_concrete<TYPE_HLL>(std::move(field.template get<TYPE_HLL>()));
583
1
        return;
584
1
    case PrimitiveType::TYPE_QUANTILE_STATE:
585
1
        assign_concrete<TYPE_QUANTILE_STATE>(std::move(field.template get<TYPE_QUANTILE_STATE>()));
586
1
        return;
587
9
    case PrimitiveType::TYPE_VARBINARY:
588
9
        assign_concrete<TYPE_VARBINARY>(std::move(field.template get<TYPE_VARBINARY>()));
589
9
        return;
590
0
    default:
591
0
        throw Exception(Status::FatalError("type not supported, type={}", field.get_type_name()));
592
2.36M
    }
593
2.36M
}
594
595
1.50M
void Field::assign(const Field& field) {
596
1.50M
    switch (field.type) {
597
213k
    case PrimitiveType::TYPE_NULL:
598
213k
        assign_concrete<TYPE_NULL>(field.template get<TYPE_NULL>());
599
213k
        return;
600
65.0k
    case PrimitiveType::TYPE_DATETIMEV2:
601
65.0k
        assign_concrete<TYPE_DATETIMEV2>(field.template get<TYPE_DATETIMEV2>());
602
65.0k
        return;
603
297
    case PrimitiveType::TYPE_TIMESTAMP_NS:
604
297
        assign_concrete<TYPE_TIMESTAMP_NS>(field.template get<TYPE_TIMESTAMP_NS>());
605
297
        return;
606
803
    case PrimitiveType::TYPE_DATETIME:
607
803
        assign_concrete<TYPE_DATETIME>(field.template get<TYPE_DATETIME>());
608
803
        return;
609
676
    case PrimitiveType::TYPE_DATE:
610
676
        assign_concrete<TYPE_DATE>(field.template get<TYPE_DATE>());
611
676
        return;
612
55.6k
    case PrimitiveType::TYPE_DATEV2:
613
55.6k
        assign_concrete<TYPE_DATEV2>(field.template get<TYPE_DATEV2>());
614
55.6k
        return;
615
7.02k
    case PrimitiveType::TYPE_TIMESTAMPTZ:
616
7.02k
        assign_concrete<TYPE_TIMESTAMPTZ>(field.template get<TYPE_TIMESTAMPTZ>());
617
7.02k
        return;
618
15.8k
    case PrimitiveType::TYPE_BOOLEAN:
619
15.8k
        assign_concrete<TYPE_BOOLEAN>(field.template get<TYPE_BOOLEAN>());
620
15.8k
        return;
621
81.6k
    case PrimitiveType::TYPE_TINYINT:
622
81.6k
        assign_concrete<TYPE_TINYINT>(field.template get<TYPE_TINYINT>());
623
81.6k
        return;
624
22.2k
    case PrimitiveType::TYPE_SMALLINT:
625
22.2k
        assign_concrete<TYPE_SMALLINT>(field.template get<TYPE_SMALLINT>());
626
22.2k
        return;
627
194k
    case PrimitiveType::TYPE_INT:
628
194k
        assign_concrete<TYPE_INT>(field.template get<TYPE_INT>());
629
194k
        return;
630
331k
    case PrimitiveType::TYPE_BIGINT:
631
331k
        assign_concrete<TYPE_BIGINT>(field.template get<TYPE_BIGINT>());
632
331k
        return;
633
32.4k
    case PrimitiveType::TYPE_LARGEINT:
634
32.4k
        assign_concrete<TYPE_LARGEINT>(field.template get<TYPE_LARGEINT>());
635
32.4k
        return;
636
1.03k
    case PrimitiveType::TYPE_IPV4:
637
1.03k
        assign_concrete<TYPE_IPV4>(field.template get<TYPE_IPV4>());
638
1.03k
        return;
639
1.05k
    case PrimitiveType::TYPE_IPV6:
640
1.05k
        assign_concrete<TYPE_IPV6>(field.template get<TYPE_IPV6>());
641
1.05k
        return;
642
690
    case PrimitiveType::TYPE_UUID:
643
690
        assign_concrete<TYPE_UUID>(field.template get<TYPE_UUID>());
644
690
        return;
645
13.7k
    case PrimitiveType::TYPE_FLOAT:
646
13.7k
        assign_concrete<TYPE_FLOAT>(field.template get<TYPE_FLOAT>());
647
13.7k
        return;
648
0
    case PrimitiveType::TYPE_TIMEV2:
649
0
        assign_concrete<TYPE_TIMEV2>(field.template get<TYPE_TIMEV2>());
650
0
        return;
651
18.0k
    case PrimitiveType::TYPE_DOUBLE:
652
18.0k
        assign_concrete<TYPE_DOUBLE>(field.template get<TYPE_DOUBLE>());
653
18.0k
        return;
654
91.2k
    case PrimitiveType::TYPE_STRING:
655
91.2k
        assign_concrete<TYPE_STRING>(field.template get<TYPE_STRING>());
656
91.2k
        return;
657
26.4k
    case PrimitiveType::TYPE_CHAR:
658
26.4k
        assign_concrete<TYPE_CHAR>(field.template get<TYPE_CHAR>());
659
26.4k
        return;
660
284k
    case PrimitiveType::TYPE_VARCHAR:
661
284k
        assign_concrete<TYPE_VARCHAR>(field.template get<TYPE_VARCHAR>());
662
284k
        return;
663
1
    case PrimitiveType::TYPE_JSONB:
664
1
        assign_concrete<TYPE_JSONB>(field.template get<TYPE_JSONB>());
665
1
        return;
666
13
    case PrimitiveType::TYPE_ARRAY:
667
13
        assign_concrete<TYPE_ARRAY>(field.template get<TYPE_ARRAY>());
668
13
        return;
669
0
    case PrimitiveType::TYPE_STRUCT:
670
0
        assign_concrete<TYPE_STRUCT>(field.template get<TYPE_STRUCT>());
671
0
        return;
672
1
    case PrimitiveType::TYPE_MAP:
673
1
        assign_concrete<TYPE_MAP>(field.template get<TYPE_MAP>());
674
1
        return;
675
6.75k
    case PrimitiveType::TYPE_DECIMAL32:
676
6.75k
        assign_concrete<TYPE_DECIMAL32>(field.template get<TYPE_DECIMAL32>());
677
6.75k
        return;
678
18.5k
    case PrimitiveType::TYPE_DECIMAL64:
679
18.5k
        assign_concrete<TYPE_DECIMAL64>(field.template get<TYPE_DECIMAL64>());
680
18.5k
        return;
681
402
    case PrimitiveType::TYPE_DECIMALV2:
682
402
        assign_concrete<TYPE_DECIMALV2>(field.template get<TYPE_DECIMALV2>());
683
402
        return;
684
17.9k
    case PrimitiveType::TYPE_DECIMAL128I:
685
17.9k
        assign_concrete<TYPE_DECIMAL128I>(field.template get<TYPE_DECIMAL128I>());
686
17.9k
        return;
687
1.15k
    case PrimitiveType::TYPE_DECIMAL256:
688
1.15k
        assign_concrete<TYPE_DECIMAL256>(field.template get<TYPE_DECIMAL256>());
689
1.15k
        return;
690
0
    case PrimitiveType::TYPE_VARIANT:
691
0
        assign_concrete<TYPE_VARIANT>(field.template get<TYPE_VARIANT>());
692
0
        return;
693
2
    case PrimitiveType::TYPE_BITMAP:
694
2
        assign_concrete<TYPE_BITMAP>(field.template get<TYPE_BITMAP>());
695
2
        return;
696
1
    case PrimitiveType::TYPE_HLL:
697
1
        assign_concrete<TYPE_HLL>(field.template get<TYPE_HLL>());
698
1
        return;
699
1
    case PrimitiveType::TYPE_QUANTILE_STATE:
700
1
        assign_concrete<TYPE_QUANTILE_STATE>(field.template get<TYPE_QUANTILE_STATE>());
701
1
        return;
702
0
    case PrimitiveType::TYPE_UINT32:
703
0
        assign_concrete<TYPE_UINT32>(field.template get<TYPE_UINT32>());
704
0
        return;
705
0
    case PrimitiveType::TYPE_UINT64:
706
0
        assign_concrete<TYPE_UINT64>(field.template get<TYPE_UINT64>());
707
0
        return;
708
7
    case PrimitiveType::TYPE_VARBINARY:
709
7
        assign_concrete<TYPE_VARBINARY>(field.template get<TYPE_VARBINARY>());
710
7
        return;
711
0
    default:
712
0
        throw Exception(Status::FatalError("type not supported, type={}", field.get_type_name()));
713
1.50M
    }
714
1.50M
}
715
716
/// Assuming same types.
717
template <PrimitiveType Type>
718
2.36M
void Field::assign_concrete(typename PrimitiveTypeTraits<Type>::CppType&& x) {
719
2.36M
    if constexpr (Type == TYPE_VARBINARY) {
720
9
        *reinterpret_cast<OwnedBinaryField*>(&storage) = OwnedBinaryField(x);
721
9
        return;
722
9
    }
723
0
    auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<Type>::CppType*>(&storage);
724
2.36M
    *ptr = std::forward<typename PrimitiveTypeTraits<Type>::CppType>(x);
725
2.36M
}
_ZN5doris5Field15assign_concreteILNS_13PrimitiveTypeE1EEEvONS_19PrimitiveTypeTraitsIXT_EE7CppTypeE
Line
Count
Source
718
209k
void Field::assign_concrete(typename PrimitiveTypeTraits<Type>::CppType&& x) {
719
    if constexpr (Type == TYPE_VARBINARY) {
720
        *reinterpret_cast<OwnedBinaryField*>(&storage) = OwnedBinaryField(x);
721
        return;
722
    }
723
209k
    auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<Type>::CppType*>(&storage);
724
209k
    *ptr = std::forward<typename PrimitiveTypeTraits<Type>::CppType>(x);
725
209k
}
_ZN5doris5Field15assign_concreteILNS_13PrimitiveTypeE3EEEvONS_19PrimitiveTypeTraitsIXT_EE7CppTypeE
Line
Count
Source
718
81.8k
void Field::assign_concrete(typename PrimitiveTypeTraits<Type>::CppType&& x) {
719
    if constexpr (Type == TYPE_VARBINARY) {
720
        *reinterpret_cast<OwnedBinaryField*>(&storage) = OwnedBinaryField(x);
721
        return;
722
    }
723
81.8k
    auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<Type>::CppType*>(&storage);
724
81.8k
    *ptr = std::forward<typename PrimitiveTypeTraits<Type>::CppType>(x);
725
81.8k
}
_ZN5doris5Field15assign_concreteILNS_13PrimitiveTypeE4EEEvONS_19PrimitiveTypeTraitsIXT_EE7CppTypeE
Line
Count
Source
718
22.4k
void Field::assign_concrete(typename PrimitiveTypeTraits<Type>::CppType&& x) {
719
    if constexpr (Type == TYPE_VARBINARY) {
720
        *reinterpret_cast<OwnedBinaryField*>(&storage) = OwnedBinaryField(x);
721
        return;
722
    }
723
22.4k
    auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<Type>::CppType*>(&storage);
724
22.4k
    *ptr = std::forward<typename PrimitiveTypeTraits<Type>::CppType>(x);
725
22.4k
}
_ZN5doris5Field15assign_concreteILNS_13PrimitiveTypeE5EEEvONS_19PrimitiveTypeTraitsIXT_EE7CppTypeE
Line
Count
Source
718
901k
void Field::assign_concrete(typename PrimitiveTypeTraits<Type>::CppType&& x) {
719
    if constexpr (Type == TYPE_VARBINARY) {
720
        *reinterpret_cast<OwnedBinaryField*>(&storage) = OwnedBinaryField(x);
721
        return;
722
    }
723
901k
    auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<Type>::CppType*>(&storage);
724
901k
    *ptr = std::forward<typename PrimitiveTypeTraits<Type>::CppType>(x);
725
901k
}
_ZN5doris5Field15assign_concreteILNS_13PrimitiveTypeE6EEEvONS_19PrimitiveTypeTraitsIXT_EE7CppTypeE
Line
Count
Source
718
344k
void Field::assign_concrete(typename PrimitiveTypeTraits<Type>::CppType&& x) {
719
    if constexpr (Type == TYPE_VARBINARY) {
720
        *reinterpret_cast<OwnedBinaryField*>(&storage) = OwnedBinaryField(x);
721
        return;
722
    }
723
344k
    auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<Type>::CppType*>(&storage);
724
344k
    *ptr = std::forward<typename PrimitiveTypeTraits<Type>::CppType>(x);
725
344k
}
_ZN5doris5Field15assign_concreteILNS_13PrimitiveTypeE7EEEvONS_19PrimitiveTypeTraitsIXT_EE7CppTypeE
Line
Count
Source
718
33.7k
void Field::assign_concrete(typename PrimitiveTypeTraits<Type>::CppType&& x) {
719
    if constexpr (Type == TYPE_VARBINARY) {
720
        *reinterpret_cast<OwnedBinaryField*>(&storage) = OwnedBinaryField(x);
721
        return;
722
    }
723
33.7k
    auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<Type>::CppType*>(&storage);
724
33.7k
    *ptr = std::forward<typename PrimitiveTypeTraits<Type>::CppType>(x);
725
33.7k
}
_ZN5doris5Field15assign_concreteILNS_13PrimitiveTypeE11EEEvONS_19PrimitiveTypeTraitsIXT_EE7CppTypeE
Line
Count
Source
718
733
void Field::assign_concrete(typename PrimitiveTypeTraits<Type>::CppType&& x) {
719
    if constexpr (Type == TYPE_VARBINARY) {
720
        *reinterpret_cast<OwnedBinaryField*>(&storage) = OwnedBinaryField(x);
721
        return;
722
    }
723
733
    auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<Type>::CppType*>(&storage);
724
733
    *ptr = std::forward<typename PrimitiveTypeTraits<Type>::CppType>(x);
725
733
}
_ZN5doris5Field15assign_concreteILNS_13PrimitiveTypeE12EEEvONS_19PrimitiveTypeTraitsIXT_EE7CppTypeE
Line
Count
Source
718
1.07k
void Field::assign_concrete(typename PrimitiveTypeTraits<Type>::CppType&& x) {
719
    if constexpr (Type == TYPE_VARBINARY) {
720
        *reinterpret_cast<OwnedBinaryField*>(&storage) = OwnedBinaryField(x);
721
        return;
722
    }
723
1.07k
    auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<Type>::CppType*>(&storage);
724
1.07k
    *ptr = std::forward<typename PrimitiveTypeTraits<Type>::CppType>(x);
725
1.07k
}
_ZN5doris5Field15assign_concreteILNS_13PrimitiveTypeE25EEEvONS_19PrimitiveTypeTraitsIXT_EE7CppTypeE
Line
Count
Source
718
60.4k
void Field::assign_concrete(typename PrimitiveTypeTraits<Type>::CppType&& x) {
719
    if constexpr (Type == TYPE_VARBINARY) {
720
        *reinterpret_cast<OwnedBinaryField*>(&storage) = OwnedBinaryField(x);
721
        return;
722
    }
723
60.4k
    auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<Type>::CppType*>(&storage);
724
60.4k
    *ptr = std::forward<typename PrimitiveTypeTraits<Type>::CppType>(x);
725
60.4k
}
_ZN5doris5Field15assign_concreteILNS_13PrimitiveTypeE26EEEvONS_19PrimitiveTypeTraitsIXT_EE7CppTypeE
Line
Count
Source
718
66.2k
void Field::assign_concrete(typename PrimitiveTypeTraits<Type>::CppType&& x) {
719
    if constexpr (Type == TYPE_VARBINARY) {
720
        *reinterpret_cast<OwnedBinaryField*>(&storage) = OwnedBinaryField(x);
721
        return;
722
    }
723
66.2k
    auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<Type>::CppType*>(&storage);
724
66.2k
    *ptr = std::forward<typename PrimitiveTypeTraits<Type>::CppType>(x);
725
66.2k
}
_ZN5doris5Field15assign_concreteILNS_13PrimitiveTypeE43EEEvONS_19PrimitiveTypeTraitsIXT_EE7CppTypeE
Line
Count
Source
718
301
void Field::assign_concrete(typename PrimitiveTypeTraits<Type>::CppType&& x) {
719
    if constexpr (Type == TYPE_VARBINARY) {
720
        *reinterpret_cast<OwnedBinaryField*>(&storage) = OwnedBinaryField(x);
721
        return;
722
    }
723
301
    auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<Type>::CppType*>(&storage);
724
301
    *ptr = std::forward<typename PrimitiveTypeTraits<Type>::CppType>(x);
725
301
}
_ZN5doris5Field15assign_concreteILNS_13PrimitiveTypeE28EEEvONS_19PrimitiveTypeTraitsIXT_EE7CppTypeE
Line
Count
Source
718
6.75k
void Field::assign_concrete(typename PrimitiveTypeTraits<Type>::CppType&& x) {
719
    if constexpr (Type == TYPE_VARBINARY) {
720
        *reinterpret_cast<OwnedBinaryField*>(&storage) = OwnedBinaryField(x);
721
        return;
722
    }
723
6.75k
    auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<Type>::CppType*>(&storage);
724
6.75k
    *ptr = std::forward<typename PrimitiveTypeTraits<Type>::CppType>(x);
725
6.75k
}
_ZN5doris5Field15assign_concreteILNS_13PrimitiveTypeE29EEEvONS_19PrimitiveTypeTraitsIXT_EE7CppTypeE
Line
Count
Source
718
32.7k
void Field::assign_concrete(typename PrimitiveTypeTraits<Type>::CppType&& x) {
719
    if constexpr (Type == TYPE_VARBINARY) {
720
        *reinterpret_cast<OwnedBinaryField*>(&storage) = OwnedBinaryField(x);
721
        return;
722
    }
723
32.7k
    auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<Type>::CppType*>(&storage);
724
32.7k
    *ptr = std::forward<typename PrimitiveTypeTraits<Type>::CppType>(x);
725
32.7k
}
_ZN5doris5Field15assign_concreteILNS_13PrimitiveTypeE20EEEvONS_19PrimitiveTypeTraitsIXT_EE7CppTypeE
Line
Count
Source
718
402
void Field::assign_concrete(typename PrimitiveTypeTraits<Type>::CppType&& x) {
719
    if constexpr (Type == TYPE_VARBINARY) {
720
        *reinterpret_cast<OwnedBinaryField*>(&storage) = OwnedBinaryField(x);
721
        return;
722
    }
723
402
    auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<Type>::CppType*>(&storage);
724
402
    *ptr = std::forward<typename PrimitiveTypeTraits<Type>::CppType>(x);
725
402
}
_ZN5doris5Field15assign_concreteILNS_13PrimitiveTypeE30EEEvONS_19PrimitiveTypeTraitsIXT_EE7CppTypeE
Line
Count
Source
718
20.4k
void Field::assign_concrete(typename PrimitiveTypeTraits<Type>::CppType&& x) {
719
    if constexpr (Type == TYPE_VARBINARY) {
720
        *reinterpret_cast<OwnedBinaryField*>(&storage) = OwnedBinaryField(x);
721
        return;
722
    }
723
20.4k
    auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<Type>::CppType*>(&storage);
724
20.4k
    *ptr = std::forward<typename PrimitiveTypeTraits<Type>::CppType>(x);
725
20.4k
}
_ZN5doris5Field15assign_concreteILNS_13PrimitiveTypeE35EEEvONS_19PrimitiveTypeTraitsIXT_EE7CppTypeE
Line
Count
Source
718
1.15k
void Field::assign_concrete(typename PrimitiveTypeTraits<Type>::CppType&& x) {
719
    if constexpr (Type == TYPE_VARBINARY) {
720
        *reinterpret_cast<OwnedBinaryField*>(&storage) = OwnedBinaryField(x);
721
        return;
722
    }
723
1.15k
    auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<Type>::CppType*>(&storage);
724
1.15k
    *ptr = std::forward<typename PrimitiveTypeTraits<Type>::CppType>(x);
725
1.15k
}
_ZN5doris5Field15assign_concreteILNS_13PrimitiveTypeE15EEEvONS_19PrimitiveTypeTraitsIXT_EE7CppTypeE
Line
Count
Source
718
35.4k
void Field::assign_concrete(typename PrimitiveTypeTraits<Type>::CppType&& x) {
719
    if constexpr (Type == TYPE_VARBINARY) {
720
        *reinterpret_cast<OwnedBinaryField*>(&storage) = OwnedBinaryField(x);
721
        return;
722
    }
723
35.4k
    auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<Type>::CppType*>(&storage);
724
35.4k
    *ptr = std::forward<typename PrimitiveTypeTraits<Type>::CppType>(x);
725
35.4k
}
_ZN5doris5Field15assign_concreteILNS_13PrimitiveTypeE10EEEvONS_19PrimitiveTypeTraitsIXT_EE7CppTypeE
Line
Count
Source
718
301k
void Field::assign_concrete(typename PrimitiveTypeTraits<Type>::CppType&& x) {
719
    if constexpr (Type == TYPE_VARBINARY) {
720
        *reinterpret_cast<OwnedBinaryField*>(&storage) = OwnedBinaryField(x);
721
        return;
722
    }
723
301k
    auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<Type>::CppType*>(&storage);
724
301k
    *ptr = std::forward<typename PrimitiveTypeTraits<Type>::CppType>(x);
725
301k
}
_ZN5doris5Field15assign_concreteILNS_13PrimitiveTypeE23EEEvONS_19PrimitiveTypeTraitsIXT_EE7CppTypeE
Line
Count
Source
718
139k
void Field::assign_concrete(typename PrimitiveTypeTraits<Type>::CppType&& x) {
719
    if constexpr (Type == TYPE_VARBINARY) {
720
        *reinterpret_cast<OwnedBinaryField*>(&storage) = OwnedBinaryField(x);
721
        return;
722
    }
723
139k
    auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<Type>::CppType*>(&storage);
724
139k
    *ptr = std::forward<typename PrimitiveTypeTraits<Type>::CppType>(x);
725
139k
}
_ZN5doris5Field15assign_concreteILNS_13PrimitiveTypeE41EEEvONS_19PrimitiveTypeTraitsIXT_EE7CppTypeE
Line
Count
Source
718
9
void Field::assign_concrete(typename PrimitiveTypeTraits<Type>::CppType&& x) {
719
9
    if constexpr (Type == TYPE_VARBINARY) {
720
9
        *reinterpret_cast<OwnedBinaryField*>(&storage) = OwnedBinaryField(x);
721
9
        return;
722
9
    }
723
0
    auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<Type>::CppType*>(&storage);
724
9
    *ptr = std::forward<typename PrimitiveTypeTraits<Type>::CppType>(x);
725
9
}
_ZN5doris5Field15assign_concreteILNS_13PrimitiveTypeE19EEEvONS_19PrimitiveTypeTraitsIXT_EE7CppTypeE
Line
Count
Source
718
1
void Field::assign_concrete(typename PrimitiveTypeTraits<Type>::CppType&& x) {
719
    if constexpr (Type == TYPE_VARBINARY) {
720
        *reinterpret_cast<OwnedBinaryField*>(&storage) = OwnedBinaryField(x);
721
        return;
722
    }
723
1
    auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<Type>::CppType*>(&storage);
724
1
    *ptr = std::forward<typename PrimitiveTypeTraits<Type>::CppType>(x);
725
1
}
Unexecuted instantiation: _ZN5doris5Field15assign_concreteILNS_13PrimitiveTypeE32EEEvONS_19PrimitiveTypeTraitsIXT_EE7CppTypeE
_ZN5doris5Field15assign_concreteILNS_13PrimitiveTypeE24EEEvONS_19PrimitiveTypeTraitsIXT_EE7CppTypeE
Line
Count
Source
718
1
void Field::assign_concrete(typename PrimitiveTypeTraits<Type>::CppType&& x) {
719
    if constexpr (Type == TYPE_VARBINARY) {
720
        *reinterpret_cast<OwnedBinaryField*>(&storage) = OwnedBinaryField(x);
721
        return;
722
    }
723
1
    auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<Type>::CppType*>(&storage);
724
1
    *ptr = std::forward<typename PrimitiveTypeTraits<Type>::CppType>(x);
725
1
}
_ZN5doris5Field15assign_concreteILNS_13PrimitiveTypeE17EEEvONS_19PrimitiveTypeTraitsIXT_EE7CppTypeE
Line
Count
Source
718
8
void Field::assign_concrete(typename PrimitiveTypeTraits<Type>::CppType&& x) {
719
    if constexpr (Type == TYPE_VARBINARY) {
720
        *reinterpret_cast<OwnedBinaryField*>(&storage) = OwnedBinaryField(x);
721
        return;
722
    }
723
8
    auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<Type>::CppType*>(&storage);
724
8
    *ptr = std::forward<typename PrimitiveTypeTraits<Type>::CppType>(x);
725
8
}
_ZN5doris5Field15assign_concreteILNS_13PrimitiveTypeE42EEEvONS_19PrimitiveTypeTraitsIXT_EE7CppTypeE
Line
Count
Source
718
7.02k
void Field::assign_concrete(typename PrimitiveTypeTraits<Type>::CppType&& x) {
719
    if constexpr (Type == TYPE_VARBINARY) {
720
        *reinterpret_cast<OwnedBinaryField*>(&storage) = OwnedBinaryField(x);
721
        return;
722
    }
723
7.02k
    auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<Type>::CppType*>(&storage);
724
7.02k
    *ptr = std::forward<typename PrimitiveTypeTraits<Type>::CppType>(x);
725
7.02k
}
_ZN5doris5Field15assign_concreteILNS_13PrimitiveTypeE36EEEvONS_19PrimitiveTypeTraitsIXT_EE7CppTypeE
Line
Count
Source
718
1.03k
void Field::assign_concrete(typename PrimitiveTypeTraits<Type>::CppType&& x) {
719
    if constexpr (Type == TYPE_VARBINARY) {
720
        *reinterpret_cast<OwnedBinaryField*>(&storage) = OwnedBinaryField(x);
721
        return;
722
    }
723
1.03k
    auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<Type>::CppType*>(&storage);
724
1.03k
    *ptr = std::forward<typename PrimitiveTypeTraits<Type>::CppType>(x);
725
1.03k
}
_ZN5doris5Field15assign_concreteILNS_13PrimitiveTypeE37EEEvONS_19PrimitiveTypeTraitsIXT_EE7CppTypeE
Line
Count
Source
718
1.06k
void Field::assign_concrete(typename PrimitiveTypeTraits<Type>::CppType&& x) {
719
    if constexpr (Type == TYPE_VARBINARY) {
720
        *reinterpret_cast<OwnedBinaryField*>(&storage) = OwnedBinaryField(x);
721
        return;
722
    }
723
1.06k
    auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<Type>::CppType*>(&storage);
724
1.06k
    *ptr = std::forward<typename PrimitiveTypeTraits<Type>::CppType>(x);
725
1.06k
}
_ZN5doris5Field15assign_concreteILNS_13PrimitiveTypeE44EEEvONS_19PrimitiveTypeTraitsIXT_EE7CppTypeE
Line
Count
Source
718
901
void Field::assign_concrete(typename PrimitiveTypeTraits<Type>::CppType&& x) {
719
    if constexpr (Type == TYPE_VARBINARY) {
720
        *reinterpret_cast<OwnedBinaryField*>(&storage) = OwnedBinaryField(x);
721
        return;
722
    }
723
901
    auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<Type>::CppType*>(&storage);
724
901
    *ptr = std::forward<typename PrimitiveTypeTraits<Type>::CppType>(x);
725
901
}
_ZN5doris5Field15assign_concreteILNS_13PrimitiveTypeE2EEEvONS_19PrimitiveTypeTraitsIXT_EE7CppTypeE
Line
Count
Source
718
15.8k
void Field::assign_concrete(typename PrimitiveTypeTraits<Type>::CppType&& x) {
719
    if constexpr (Type == TYPE_VARBINARY) {
720
        *reinterpret_cast<OwnedBinaryField*>(&storage) = OwnedBinaryField(x);
721
        return;
722
    }
723
15.8k
    auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<Type>::CppType*>(&storage);
724
15.8k
    *ptr = std::forward<typename PrimitiveTypeTraits<Type>::CppType>(x);
725
15.8k
}
_ZN5doris5Field15assign_concreteILNS_13PrimitiveTypeE8EEEvONS_19PrimitiveTypeTraitsIXT_EE7CppTypeE
Line
Count
Source
718
14.1k
void Field::assign_concrete(typename PrimitiveTypeTraits<Type>::CppType&& x) {
719
    if constexpr (Type == TYPE_VARBINARY) {
720
        *reinterpret_cast<OwnedBinaryField*>(&storage) = OwnedBinaryField(x);
721
        return;
722
    }
723
14.1k
    auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<Type>::CppType*>(&storage);
724
14.1k
    *ptr = std::forward<typename PrimitiveTypeTraits<Type>::CppType>(x);
725
14.1k
}
_ZN5doris5Field15assign_concreteILNS_13PrimitiveTypeE9EEEvONS_19PrimitiveTypeTraitsIXT_EE7CppTypeE
Line
Count
Source
718
20.0k
void Field::assign_concrete(typename PrimitiveTypeTraits<Type>::CppType&& x) {
719
    if constexpr (Type == TYPE_VARBINARY) {
720
        *reinterpret_cast<OwnedBinaryField*>(&storage) = OwnedBinaryField(x);
721
        return;
722
    }
723
20.0k
    auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<Type>::CppType*>(&storage);
724
20.0k
    *ptr = std::forward<typename PrimitiveTypeTraits<Type>::CppType>(x);
725
20.0k
}
_ZN5doris5Field15assign_concreteILNS_13PrimitiveTypeE31EEEvONS_19PrimitiveTypeTraitsIXT_EE7CppTypeE
Line
Count
Source
718
43.9k
void Field::assign_concrete(typename PrimitiveTypeTraits<Type>::CppType&& x) {
719
    if constexpr (Type == TYPE_VARBINARY) {
720
        *reinterpret_cast<OwnedBinaryField*>(&storage) = OwnedBinaryField(x);
721
        return;
722
    }
723
43.9k
    auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<Type>::CppType*>(&storage);
724
43.9k
    *ptr = std::forward<typename PrimitiveTypeTraits<Type>::CppType>(x);
725
43.9k
}
Unexecuted instantiation: _ZN5doris5Field15assign_concreteILNS_13PrimitiveTypeE16EEEvONS_19PrimitiveTypeTraitsIXT_EE7CppTypeE
_ZN5doris5Field15assign_concreteILNS_13PrimitiveTypeE18EEEvONS_19PrimitiveTypeTraitsIXT_EE7CppTypeE
Line
Count
Source
718
1
void Field::assign_concrete(typename PrimitiveTypeTraits<Type>::CppType&& x) {
719
    if constexpr (Type == TYPE_VARBINARY) {
720
        *reinterpret_cast<OwnedBinaryField*>(&storage) = OwnedBinaryField(x);
721
        return;
722
    }
723
1
    auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<Type>::CppType*>(&storage);
724
1
    *ptr = std::forward<typename PrimitiveTypeTraits<Type>::CppType>(x);
725
1
}
_ZN5doris5Field15assign_concreteILNS_13PrimitiveTypeE22EEEvONS_19PrimitiveTypeTraitsIXT_EE7CppTypeE
Line
Count
Source
718
48
void Field::assign_concrete(typename PrimitiveTypeTraits<Type>::CppType&& x) {
719
    if constexpr (Type == TYPE_VARBINARY) {
720
        *reinterpret_cast<OwnedBinaryField*>(&storage) = OwnedBinaryField(x);
721
        return;
722
    }
723
48
    auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<Type>::CppType*>(&storage);
724
48
    *ptr = std::forward<typename PrimitiveTypeTraits<Type>::CppType>(x);
725
48
}
Unexecuted instantiation: _ZN5doris5Field15assign_concreteILNS_13PrimitiveTypeE27EEEvONS_19PrimitiveTypeTraitsIXT_EE7CppTypeE
Unexecuted instantiation: _ZN5doris5Field15assign_concreteILNS_13PrimitiveTypeE38EEEvONS_19PrimitiveTypeTraitsIXT_EE7CppTypeE
Unexecuted instantiation: _ZN5doris5Field15assign_concreteILNS_13PrimitiveTypeE39EEEvONS_19PrimitiveTypeTraitsIXT_EE7CppTypeE
726
727
template <PrimitiveType Type>
728
1.50M
void Field::assign_concrete(const typename PrimitiveTypeTraits<Type>::CppType& x) {
729
1.50M
    if constexpr (Type == TYPE_VARBINARY) {
730
7
        *reinterpret_cast<OwnedBinaryField*>(&storage) = OwnedBinaryField(x);
731
7
        return;
732
7
    }
733
0
    auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<Type>::CppType*>(&storage);
734
1.50M
    *ptr = std::forward<const typename PrimitiveTypeTraits<Type>::CppType>(x);
735
1.50M
}
_ZN5doris5Field15assign_concreteILNS_13PrimitiveTypeE1EEEvRKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeE
Line
Count
Source
728
212k
void Field::assign_concrete(const typename PrimitiveTypeTraits<Type>::CppType& x) {
729
    if constexpr (Type == TYPE_VARBINARY) {
730
        *reinterpret_cast<OwnedBinaryField*>(&storage) = OwnedBinaryField(x);
731
        return;
732
    }
733
212k
    auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<Type>::CppType*>(&storage);
734
212k
    *ptr = std::forward<const typename PrimitiveTypeTraits<Type>::CppType>(x);
735
212k
}
_ZN5doris5Field15assign_concreteILNS_13PrimitiveTypeE3EEEvRKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeE
Line
Count
Source
728
81.6k
void Field::assign_concrete(const typename PrimitiveTypeTraits<Type>::CppType& x) {
729
    if constexpr (Type == TYPE_VARBINARY) {
730
        *reinterpret_cast<OwnedBinaryField*>(&storage) = OwnedBinaryField(x);
731
        return;
732
    }
733
81.6k
    auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<Type>::CppType*>(&storage);
734
81.6k
    *ptr = std::forward<const typename PrimitiveTypeTraits<Type>::CppType>(x);
735
81.6k
}
_ZN5doris5Field15assign_concreteILNS_13PrimitiveTypeE4EEEvRKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeE
Line
Count
Source
728
22.2k
void Field::assign_concrete(const typename PrimitiveTypeTraits<Type>::CppType& x) {
729
    if constexpr (Type == TYPE_VARBINARY) {
730
        *reinterpret_cast<OwnedBinaryField*>(&storage) = OwnedBinaryField(x);
731
        return;
732
    }
733
22.2k
    auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<Type>::CppType*>(&storage);
734
22.2k
    *ptr = std::forward<const typename PrimitiveTypeTraits<Type>::CppType>(x);
735
22.2k
}
_ZN5doris5Field15assign_concreteILNS_13PrimitiveTypeE5EEEvRKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeE
Line
Count
Source
728
194k
void Field::assign_concrete(const typename PrimitiveTypeTraits<Type>::CppType& x) {
729
    if constexpr (Type == TYPE_VARBINARY) {
730
        *reinterpret_cast<OwnedBinaryField*>(&storage) = OwnedBinaryField(x);
731
        return;
732
    }
733
194k
    auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<Type>::CppType*>(&storage);
734
194k
    *ptr = std::forward<const typename PrimitiveTypeTraits<Type>::CppType>(x);
735
194k
}
_ZN5doris5Field15assign_concreteILNS_13PrimitiveTypeE6EEEvRKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeE
Line
Count
Source
728
331k
void Field::assign_concrete(const typename PrimitiveTypeTraits<Type>::CppType& x) {
729
    if constexpr (Type == TYPE_VARBINARY) {
730
        *reinterpret_cast<OwnedBinaryField*>(&storage) = OwnedBinaryField(x);
731
        return;
732
    }
733
331k
    auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<Type>::CppType*>(&storage);
734
331k
    *ptr = std::forward<const typename PrimitiveTypeTraits<Type>::CppType>(x);
735
331k
}
_ZN5doris5Field15assign_concreteILNS_13PrimitiveTypeE7EEEvRKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeE
Line
Count
Source
728
32.4k
void Field::assign_concrete(const typename PrimitiveTypeTraits<Type>::CppType& x) {
729
    if constexpr (Type == TYPE_VARBINARY) {
730
        *reinterpret_cast<OwnedBinaryField*>(&storage) = OwnedBinaryField(x);
731
        return;
732
    }
733
32.4k
    auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<Type>::CppType*>(&storage);
734
32.4k
    *ptr = std::forward<const typename PrimitiveTypeTraits<Type>::CppType>(x);
735
32.4k
}
_ZN5doris5Field15assign_concreteILNS_13PrimitiveTypeE11EEEvRKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeE
Line
Count
Source
728
676
void Field::assign_concrete(const typename PrimitiveTypeTraits<Type>::CppType& x) {
729
    if constexpr (Type == TYPE_VARBINARY) {
730
        *reinterpret_cast<OwnedBinaryField*>(&storage) = OwnedBinaryField(x);
731
        return;
732
    }
733
676
    auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<Type>::CppType*>(&storage);
734
676
    *ptr = std::forward<const typename PrimitiveTypeTraits<Type>::CppType>(x);
735
676
}
_ZN5doris5Field15assign_concreteILNS_13PrimitiveTypeE12EEEvRKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeE
Line
Count
Source
728
803
void Field::assign_concrete(const typename PrimitiveTypeTraits<Type>::CppType& x) {
729
    if constexpr (Type == TYPE_VARBINARY) {
730
        *reinterpret_cast<OwnedBinaryField*>(&storage) = OwnedBinaryField(x);
731
        return;
732
    }
733
803
    auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<Type>::CppType*>(&storage);
734
803
    *ptr = std::forward<const typename PrimitiveTypeTraits<Type>::CppType>(x);
735
803
}
_ZN5doris5Field15assign_concreteILNS_13PrimitiveTypeE25EEEvRKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeE
Line
Count
Source
728
55.6k
void Field::assign_concrete(const typename PrimitiveTypeTraits<Type>::CppType& x) {
729
    if constexpr (Type == TYPE_VARBINARY) {
730
        *reinterpret_cast<OwnedBinaryField*>(&storage) = OwnedBinaryField(x);
731
        return;
732
    }
733
55.6k
    auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<Type>::CppType*>(&storage);
734
55.6k
    *ptr = std::forward<const typename PrimitiveTypeTraits<Type>::CppType>(x);
735
55.6k
}
_ZN5doris5Field15assign_concreteILNS_13PrimitiveTypeE26EEEvRKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeE
Line
Count
Source
728
65.0k
void Field::assign_concrete(const typename PrimitiveTypeTraits<Type>::CppType& x) {
729
    if constexpr (Type == TYPE_VARBINARY) {
730
        *reinterpret_cast<OwnedBinaryField*>(&storage) = OwnedBinaryField(x);
731
        return;
732
    }
733
65.0k
    auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<Type>::CppType*>(&storage);
734
65.0k
    *ptr = std::forward<const typename PrimitiveTypeTraits<Type>::CppType>(x);
735
65.0k
}
_ZN5doris5Field15assign_concreteILNS_13PrimitiveTypeE43EEEvRKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeE
Line
Count
Source
728
297
void Field::assign_concrete(const typename PrimitiveTypeTraits<Type>::CppType& x) {
729
    if constexpr (Type == TYPE_VARBINARY) {
730
        *reinterpret_cast<OwnedBinaryField*>(&storage) = OwnedBinaryField(x);
731
        return;
732
    }
733
297
    auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<Type>::CppType*>(&storage);
734
297
    *ptr = std::forward<const typename PrimitiveTypeTraits<Type>::CppType>(x);
735
297
}
_ZN5doris5Field15assign_concreteILNS_13PrimitiveTypeE42EEEvRKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeE
Line
Count
Source
728
7.02k
void Field::assign_concrete(const typename PrimitiveTypeTraits<Type>::CppType& x) {
729
    if constexpr (Type == TYPE_VARBINARY) {
730
        *reinterpret_cast<OwnedBinaryField*>(&storage) = OwnedBinaryField(x);
731
        return;
732
    }
733
7.02k
    auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<Type>::CppType*>(&storage);
734
7.02k
    *ptr = std::forward<const typename PrimitiveTypeTraits<Type>::CppType>(x);
735
7.02k
}
_ZN5doris5Field15assign_concreteILNS_13PrimitiveTypeE28EEEvRKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeE
Line
Count
Source
728
6.75k
void Field::assign_concrete(const typename PrimitiveTypeTraits<Type>::CppType& x) {
729
    if constexpr (Type == TYPE_VARBINARY) {
730
        *reinterpret_cast<OwnedBinaryField*>(&storage) = OwnedBinaryField(x);
731
        return;
732
    }
733
6.75k
    auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<Type>::CppType*>(&storage);
734
6.75k
    *ptr = std::forward<const typename PrimitiveTypeTraits<Type>::CppType>(x);
735
6.75k
}
_ZN5doris5Field15assign_concreteILNS_13PrimitiveTypeE29EEEvRKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeE
Line
Count
Source
728
18.5k
void Field::assign_concrete(const typename PrimitiveTypeTraits<Type>::CppType& x) {
729
    if constexpr (Type == TYPE_VARBINARY) {
730
        *reinterpret_cast<OwnedBinaryField*>(&storage) = OwnedBinaryField(x);
731
        return;
732
    }
733
18.5k
    auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<Type>::CppType*>(&storage);
734
18.5k
    *ptr = std::forward<const typename PrimitiveTypeTraits<Type>::CppType>(x);
735
18.5k
}
_ZN5doris5Field15assign_concreteILNS_13PrimitiveTypeE20EEEvRKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeE
Line
Count
Source
728
402
void Field::assign_concrete(const typename PrimitiveTypeTraits<Type>::CppType& x) {
729
    if constexpr (Type == TYPE_VARBINARY) {
730
        *reinterpret_cast<OwnedBinaryField*>(&storage) = OwnedBinaryField(x);
731
        return;
732
    }
733
402
    auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<Type>::CppType*>(&storage);
734
402
    *ptr = std::forward<const typename PrimitiveTypeTraits<Type>::CppType>(x);
735
402
}
_ZN5doris5Field15assign_concreteILNS_13PrimitiveTypeE30EEEvRKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeE
Line
Count
Source
728
17.9k
void Field::assign_concrete(const typename PrimitiveTypeTraits<Type>::CppType& x) {
729
    if constexpr (Type == TYPE_VARBINARY) {
730
        *reinterpret_cast<OwnedBinaryField*>(&storage) = OwnedBinaryField(x);
731
        return;
732
    }
733
17.9k
    auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<Type>::CppType*>(&storage);
734
17.9k
    *ptr = std::forward<const typename PrimitiveTypeTraits<Type>::CppType>(x);
735
17.9k
}
_ZN5doris5Field15assign_concreteILNS_13PrimitiveTypeE35EEEvRKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeE
Line
Count
Source
728
1.15k
void Field::assign_concrete(const typename PrimitiveTypeTraits<Type>::CppType& x) {
729
    if constexpr (Type == TYPE_VARBINARY) {
730
        *reinterpret_cast<OwnedBinaryField*>(&storage) = OwnedBinaryField(x);
731
        return;
732
    }
733
1.15k
    auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<Type>::CppType*>(&storage);
734
1.15k
    *ptr = std::forward<const typename PrimitiveTypeTraits<Type>::CppType>(x);
735
1.15k
}
_ZN5doris5Field15assign_concreteILNS_13PrimitiveTypeE15EEEvRKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeE
Line
Count
Source
728
26.4k
void Field::assign_concrete(const typename PrimitiveTypeTraits<Type>::CppType& x) {
729
    if constexpr (Type == TYPE_VARBINARY) {
730
        *reinterpret_cast<OwnedBinaryField*>(&storage) = OwnedBinaryField(x);
731
        return;
732
    }
733
26.4k
    auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<Type>::CppType*>(&storage);
734
26.4k
    *ptr = std::forward<const typename PrimitiveTypeTraits<Type>::CppType>(x);
735
26.4k
}
_ZN5doris5Field15assign_concreteILNS_13PrimitiveTypeE10EEEvRKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeE
Line
Count
Source
728
284k
void Field::assign_concrete(const typename PrimitiveTypeTraits<Type>::CppType& x) {
729
    if constexpr (Type == TYPE_VARBINARY) {
730
        *reinterpret_cast<OwnedBinaryField*>(&storage) = OwnedBinaryField(x);
731
        return;
732
    }
733
284k
    auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<Type>::CppType*>(&storage);
734
284k
    *ptr = std::forward<const typename PrimitiveTypeTraits<Type>::CppType>(x);
735
284k
}
_ZN5doris5Field15assign_concreteILNS_13PrimitiveTypeE23EEEvRKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeE
Line
Count
Source
728
91.2k
void Field::assign_concrete(const typename PrimitiveTypeTraits<Type>::CppType& x) {
729
    if constexpr (Type == TYPE_VARBINARY) {
730
        *reinterpret_cast<OwnedBinaryField*>(&storage) = OwnedBinaryField(x);
731
        return;
732
    }
733
91.2k
    auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<Type>::CppType*>(&storage);
734
91.2k
    *ptr = std::forward<const typename PrimitiveTypeTraits<Type>::CppType>(x);
735
91.2k
}
_ZN5doris5Field15assign_concreteILNS_13PrimitiveTypeE41EEEvRKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeE
Line
Count
Source
728
7
void Field::assign_concrete(const typename PrimitiveTypeTraits<Type>::CppType& x) {
729
7
    if constexpr (Type == TYPE_VARBINARY) {
730
7
        *reinterpret_cast<OwnedBinaryField*>(&storage) = OwnedBinaryField(x);
731
7
        return;
732
7
    }
733
0
    auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<Type>::CppType*>(&storage);
734
7
    *ptr = std::forward<const typename PrimitiveTypeTraits<Type>::CppType>(x);
735
7
}
_ZN5doris5Field15assign_concreteILNS_13PrimitiveTypeE19EEEvRKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeE
Line
Count
Source
728
1
void Field::assign_concrete(const typename PrimitiveTypeTraits<Type>::CppType& x) {
729
    if constexpr (Type == TYPE_VARBINARY) {
730
        *reinterpret_cast<OwnedBinaryField*>(&storage) = OwnedBinaryField(x);
731
        return;
732
    }
733
1
    auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<Type>::CppType*>(&storage);
734
1
    *ptr = std::forward<const typename PrimitiveTypeTraits<Type>::CppType>(x);
735
1
}
Unexecuted instantiation: _ZN5doris5Field15assign_concreteILNS_13PrimitiveTypeE32EEEvRKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeE
_ZN5doris5Field15assign_concreteILNS_13PrimitiveTypeE24EEEvRKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeE
Line
Count
Source
728
1
void Field::assign_concrete(const typename PrimitiveTypeTraits<Type>::CppType& x) {
729
    if constexpr (Type == TYPE_VARBINARY) {
730
        *reinterpret_cast<OwnedBinaryField*>(&storage) = OwnedBinaryField(x);
731
        return;
732
    }
733
1
    auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<Type>::CppType*>(&storage);
734
1
    *ptr = std::forward<const typename PrimitiveTypeTraits<Type>::CppType>(x);
735
1
}
_ZN5doris5Field15assign_concreteILNS_13PrimitiveTypeE17EEEvRKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeE
Line
Count
Source
728
13
void Field::assign_concrete(const typename PrimitiveTypeTraits<Type>::CppType& x) {
729
    if constexpr (Type == TYPE_VARBINARY) {
730
        *reinterpret_cast<OwnedBinaryField*>(&storage) = OwnedBinaryField(x);
731
        return;
732
    }
733
13
    auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<Type>::CppType*>(&storage);
734
13
    *ptr = std::forward<const typename PrimitiveTypeTraits<Type>::CppType>(x);
735
13
}
_ZN5doris5Field15assign_concreteILNS_13PrimitiveTypeE36EEEvRKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeE
Line
Count
Source
728
1.03k
void Field::assign_concrete(const typename PrimitiveTypeTraits<Type>::CppType& x) {
729
    if constexpr (Type == TYPE_VARBINARY) {
730
        *reinterpret_cast<OwnedBinaryField*>(&storage) = OwnedBinaryField(x);
731
        return;
732
    }
733
1.03k
    auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<Type>::CppType*>(&storage);
734
1.03k
    *ptr = std::forward<const typename PrimitiveTypeTraits<Type>::CppType>(x);
735
1.03k
}
_ZN5doris5Field15assign_concreteILNS_13PrimitiveTypeE37EEEvRKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeE
Line
Count
Source
728
1.05k
void Field::assign_concrete(const typename PrimitiveTypeTraits<Type>::CppType& x) {
729
    if constexpr (Type == TYPE_VARBINARY) {
730
        *reinterpret_cast<OwnedBinaryField*>(&storage) = OwnedBinaryField(x);
731
        return;
732
    }
733
1.05k
    auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<Type>::CppType*>(&storage);
734
1.05k
    *ptr = std::forward<const typename PrimitiveTypeTraits<Type>::CppType>(x);
735
1.05k
}
_ZN5doris5Field15assign_concreteILNS_13PrimitiveTypeE44EEEvRKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeE
Line
Count
Source
728
690
void Field::assign_concrete(const typename PrimitiveTypeTraits<Type>::CppType& x) {
729
    if constexpr (Type == TYPE_VARBINARY) {
730
        *reinterpret_cast<OwnedBinaryField*>(&storage) = OwnedBinaryField(x);
731
        return;
732
    }
733
690
    auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<Type>::CppType*>(&storage);
734
690
    *ptr = std::forward<const typename PrimitiveTypeTraits<Type>::CppType>(x);
735
690
}
_ZN5doris5Field15assign_concreteILNS_13PrimitiveTypeE2EEEvRKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeE
Line
Count
Source
728
15.8k
void Field::assign_concrete(const typename PrimitiveTypeTraits<Type>::CppType& x) {
729
    if constexpr (Type == TYPE_VARBINARY) {
730
        *reinterpret_cast<OwnedBinaryField*>(&storage) = OwnedBinaryField(x);
731
        return;
732
    }
733
15.8k
    auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<Type>::CppType*>(&storage);
734
15.8k
    *ptr = std::forward<const typename PrimitiveTypeTraits<Type>::CppType>(x);
735
15.8k
}
_ZN5doris5Field15assign_concreteILNS_13PrimitiveTypeE8EEEvRKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeE
Line
Count
Source
728
13.7k
void Field::assign_concrete(const typename PrimitiveTypeTraits<Type>::CppType& x) {
729
    if constexpr (Type == TYPE_VARBINARY) {
730
        *reinterpret_cast<OwnedBinaryField*>(&storage) = OwnedBinaryField(x);
731
        return;
732
    }
733
13.7k
    auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<Type>::CppType*>(&storage);
734
13.7k
    *ptr = std::forward<const typename PrimitiveTypeTraits<Type>::CppType>(x);
735
13.7k
}
_ZN5doris5Field15assign_concreteILNS_13PrimitiveTypeE9EEEvRKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeE
Line
Count
Source
728
18.0k
void Field::assign_concrete(const typename PrimitiveTypeTraits<Type>::CppType& x) {
729
    if constexpr (Type == TYPE_VARBINARY) {
730
        *reinterpret_cast<OwnedBinaryField*>(&storage) = OwnedBinaryField(x);
731
        return;
732
    }
733
18.0k
    auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<Type>::CppType*>(&storage);
734
18.0k
    *ptr = std::forward<const typename PrimitiveTypeTraits<Type>::CppType>(x);
735
18.0k
}
_ZN5doris5Field15assign_concreteILNS_13PrimitiveTypeE31EEEvRKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeE
Line
Count
Source
728
1
void Field::assign_concrete(const typename PrimitiveTypeTraits<Type>::CppType& x) {
729
    if constexpr (Type == TYPE_VARBINARY) {
730
        *reinterpret_cast<OwnedBinaryField*>(&storage) = OwnedBinaryField(x);
731
        return;
732
    }
733
1
    auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<Type>::CppType*>(&storage);
734
1
    *ptr = std::forward<const typename PrimitiveTypeTraits<Type>::CppType>(x);
735
1
}
Unexecuted instantiation: _ZN5doris5Field15assign_concreteILNS_13PrimitiveTypeE16EEEvRKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeE
_ZN5doris5Field15assign_concreteILNS_13PrimitiveTypeE18EEEvRKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeE
Line
Count
Source
728
1
void Field::assign_concrete(const typename PrimitiveTypeTraits<Type>::CppType& x) {
729
    if constexpr (Type == TYPE_VARBINARY) {
730
        *reinterpret_cast<OwnedBinaryField*>(&storage) = OwnedBinaryField(x);
731
        return;
732
    }
733
1
    auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<Type>::CppType*>(&storage);
734
1
    *ptr = std::forward<const typename PrimitiveTypeTraits<Type>::CppType>(x);
735
1
}
_ZN5doris5Field15assign_concreteILNS_13PrimitiveTypeE22EEEvRKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeE
Line
Count
Source
728
2
void Field::assign_concrete(const typename PrimitiveTypeTraits<Type>::CppType& x) {
729
    if constexpr (Type == TYPE_VARBINARY) {
730
        *reinterpret_cast<OwnedBinaryField*>(&storage) = OwnedBinaryField(x);
731
        return;
732
    }
733
2
    auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<Type>::CppType*>(&storage);
734
2
    *ptr = std::forward<const typename PrimitiveTypeTraits<Type>::CppType>(x);
735
2
}
Unexecuted instantiation: _ZN5doris5Field15assign_concreteILNS_13PrimitiveTypeE27EEEvRKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeE
Unexecuted instantiation: _ZN5doris5Field15assign_concreteILNS_13PrimitiveTypeE38EEEvRKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeE
Unexecuted instantiation: _ZN5doris5Field15assign_concreteILNS_13PrimitiveTypeE39EEEvRKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeE
736
737
0
std::string Field::get_type_name() const {
738
0
    return type_to_string(type);
739
0
}
740
741
template <PrimitiveType T>
742
133M
typename PrimitiveTypeTraits<T>::CppType& Field::get() {
743
133M
    if (T != type && !(is_string_type(type) && is_string_type(T)) && type != TYPE_NULL) {
744
0
        throw Exception(Status::FatalError("Field::get type mismatch: requested {}, actual {}",
745
0
                                           type_to_string(T), get_type_name()));
746
0
    }
747
133M
    auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<T>::CppType*>(&storage);
748
133M
    return *ptr;
749
133M
}
_ZN5doris5Field3getILNS_13PrimitiveTypeE1EEERNS_19PrimitiveTypeTraitsIXT_EE7CppTypeEv
Line
Count
Source
742
308k
typename PrimitiveTypeTraits<T>::CppType& Field::get() {
743
308k
    if (T != type && !(is_string_type(type) && is_string_type(T)) && type != TYPE_NULL) {
744
0
        throw Exception(Status::FatalError("Field::get type mismatch: requested {}, actual {}",
745
0
                                           type_to_string(T), get_type_name()));
746
0
    }
747
308k
    auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<T>::CppType*>(&storage);
748
308k
    return *ptr;
749
308k
}
_ZN5doris5Field3getILNS_13PrimitiveTypeE3EEERNS_19PrimitiveTypeTraitsIXT_EE7CppTypeEv
Line
Count
Source
742
5.22M
typename PrimitiveTypeTraits<T>::CppType& Field::get() {
743
5.22M
    if (T != type && !(is_string_type(type) && is_string_type(T)) && type != TYPE_NULL) {
744
0
        throw Exception(Status::FatalError("Field::get type mismatch: requested {}, actual {}",
745
0
                                           type_to_string(T), get_type_name()));
746
0
    }
747
5.22M
    auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<T>::CppType*>(&storage);
748
5.22M
    return *ptr;
749
5.22M
}
_ZN5doris5Field3getILNS_13PrimitiveTypeE4EEERNS_19PrimitiveTypeTraitsIXT_EE7CppTypeEv
Line
Count
Source
742
164k
typename PrimitiveTypeTraits<T>::CppType& Field::get() {
743
164k
    if (T != type && !(is_string_type(type) && is_string_type(T)) && type != TYPE_NULL) {
744
0
        throw Exception(Status::FatalError("Field::get type mismatch: requested {}, actual {}",
745
0
                                           type_to_string(T), get_type_name()));
746
0
    }
747
164k
    auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<T>::CppType*>(&storage);
748
164k
    return *ptr;
749
164k
}
_ZN5doris5Field3getILNS_13PrimitiveTypeE5EEERNS_19PrimitiveTypeTraitsIXT_EE7CppTypeEv
Line
Count
Source
742
94.1M
typename PrimitiveTypeTraits<T>::CppType& Field::get() {
743
94.1M
    if (T != type && !(is_string_type(type) && is_string_type(T)) && type != TYPE_NULL) {
744
0
        throw Exception(Status::FatalError("Field::get type mismatch: requested {}, actual {}",
745
0
                                           type_to_string(T), get_type_name()));
746
0
    }
747
94.1M
    auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<T>::CppType*>(&storage);
748
94.1M
    return *ptr;
749
94.1M
}
_ZN5doris5Field3getILNS_13PrimitiveTypeE6EEERNS_19PrimitiveTypeTraitsIXT_EE7CppTypeEv
Line
Count
Source
742
9.67M
typename PrimitiveTypeTraits<T>::CppType& Field::get() {
743
9.67M
    if (T != type && !(is_string_type(type) && is_string_type(T)) && type != TYPE_NULL) {
744
0
        throw Exception(Status::FatalError("Field::get type mismatch: requested {}, actual {}",
745
0
                                           type_to_string(T), get_type_name()));
746
0
    }
747
9.67M
    auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<T>::CppType*>(&storage);
748
9.67M
    return *ptr;
749
9.67M
}
_ZN5doris5Field3getILNS_13PrimitiveTypeE7EEERNS_19PrimitiveTypeTraitsIXT_EE7CppTypeEv
Line
Count
Source
742
197k
typename PrimitiveTypeTraits<T>::CppType& Field::get() {
743
197k
    if (T != type && !(is_string_type(type) && is_string_type(T)) && type != TYPE_NULL) {
744
0
        throw Exception(Status::FatalError("Field::get type mismatch: requested {}, actual {}",
745
0
                                           type_to_string(T), get_type_name()));
746
0
    }
747
197k
    auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<T>::CppType*>(&storage);
748
197k
    return *ptr;
749
197k
}
_ZN5doris5Field3getILNS_13PrimitiveTypeE11EEERNS_19PrimitiveTypeTraitsIXT_EE7CppTypeEv
Line
Count
Source
742
17.3k
typename PrimitiveTypeTraits<T>::CppType& Field::get() {
743
17.3k
    if (T != type && !(is_string_type(type) && is_string_type(T)) && type != TYPE_NULL) {
744
0
        throw Exception(Status::FatalError("Field::get type mismatch: requested {}, actual {}",
745
0
                                           type_to_string(T), get_type_name()));
746
0
    }
747
17.3k
    auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<T>::CppType*>(&storage);
748
17.3k
    return *ptr;
749
17.3k
}
_ZN5doris5Field3getILNS_13PrimitiveTypeE12EEERNS_19PrimitiveTypeTraitsIXT_EE7CppTypeEv
Line
Count
Source
742
21.3k
typename PrimitiveTypeTraits<T>::CppType& Field::get() {
743
21.3k
    if (T != type && !(is_string_type(type) && is_string_type(T)) && type != TYPE_NULL) {
744
0
        throw Exception(Status::FatalError("Field::get type mismatch: requested {}, actual {}",
745
0
                                           type_to_string(T), get_type_name()));
746
0
    }
747
21.3k
    auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<T>::CppType*>(&storage);
748
21.3k
    return *ptr;
749
21.3k
}
_ZN5doris5Field3getILNS_13PrimitiveTypeE25EEERNS_19PrimitiveTypeTraitsIXT_EE7CppTypeEv
Line
Count
Source
742
582k
typename PrimitiveTypeTraits<T>::CppType& Field::get() {
743
582k
    if (T != type && !(is_string_type(type) && is_string_type(T)) && type != TYPE_NULL) {
744
0
        throw Exception(Status::FatalError("Field::get type mismatch: requested {}, actual {}",
745
0
                                           type_to_string(T), get_type_name()));
746
0
    }
747
582k
    auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<T>::CppType*>(&storage);
748
582k
    return *ptr;
749
582k
}
_ZN5doris5Field3getILNS_13PrimitiveTypeE26EEERNS_19PrimitiveTypeTraitsIXT_EE7CppTypeEv
Line
Count
Source
742
2.39M
typename PrimitiveTypeTraits<T>::CppType& Field::get() {
743
2.39M
    if (T != type && !(is_string_type(type) && is_string_type(T)) && type != TYPE_NULL) {
744
0
        throw Exception(Status::FatalError("Field::get type mismatch: requested {}, actual {}",
745
0
                                           type_to_string(T), get_type_name()));
746
0
    }
747
2.39M
    auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<T>::CppType*>(&storage);
748
2.39M
    return *ptr;
749
2.39M
}
_ZN5doris5Field3getILNS_13PrimitiveTypeE43EEERNS_19PrimitiveTypeTraitsIXT_EE7CppTypeEv
Line
Count
Source
742
7.26k
typename PrimitiveTypeTraits<T>::CppType& Field::get() {
743
7.26k
    if (T != type && !(is_string_type(type) && is_string_type(T)) && type != TYPE_NULL) {
744
0
        throw Exception(Status::FatalError("Field::get type mismatch: requested {}, actual {}",
745
0
                                           type_to_string(T), get_type_name()));
746
0
    }
747
7.26k
    auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<T>::CppType*>(&storage);
748
7.26k
    return *ptr;
749
7.26k
}
_ZN5doris5Field3getILNS_13PrimitiveTypeE42EEERNS_19PrimitiveTypeTraitsIXT_EE7CppTypeEv
Line
Count
Source
742
50.6k
typename PrimitiveTypeTraits<T>::CppType& Field::get() {
743
50.6k
    if (T != type && !(is_string_type(type) && is_string_type(T)) && type != TYPE_NULL) {
744
0
        throw Exception(Status::FatalError("Field::get type mismatch: requested {}, actual {}",
745
0
                                           type_to_string(T), get_type_name()));
746
0
    }
747
50.6k
    auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<T>::CppType*>(&storage);
748
50.6k
    return *ptr;
749
50.6k
}
_ZN5doris5Field3getILNS_13PrimitiveTypeE28EEERNS_19PrimitiveTypeTraitsIXT_EE7CppTypeEv
Line
Count
Source
742
75.1k
typename PrimitiveTypeTraits<T>::CppType& Field::get() {
743
75.1k
    if (T != type && !(is_string_type(type) && is_string_type(T)) && type != TYPE_NULL) {
744
0
        throw Exception(Status::FatalError("Field::get type mismatch: requested {}, actual {}",
745
0
                                           type_to_string(T), get_type_name()));
746
0
    }
747
75.1k
    auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<T>::CppType*>(&storage);
748
75.1k
    return *ptr;
749
75.1k
}
_ZN5doris5Field3getILNS_13PrimitiveTypeE29EEERNS_19PrimitiveTypeTraitsIXT_EE7CppTypeEv
Line
Count
Source
742
173k
typename PrimitiveTypeTraits<T>::CppType& Field::get() {
743
173k
    if (T != type && !(is_string_type(type) && is_string_type(T)) && type != TYPE_NULL) {
744
0
        throw Exception(Status::FatalError("Field::get type mismatch: requested {}, actual {}",
745
0
                                           type_to_string(T), get_type_name()));
746
0
    }
747
173k
    auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<T>::CppType*>(&storage);
748
173k
    return *ptr;
749
173k
}
_ZN5doris5Field3getILNS_13PrimitiveTypeE20EEERNS_19PrimitiveTypeTraitsIXT_EE7CppTypeEv
Line
Count
Source
742
10.4k
typename PrimitiveTypeTraits<T>::CppType& Field::get() {
743
10.4k
    if (T != type && !(is_string_type(type) && is_string_type(T)) && type != TYPE_NULL) {
744
0
        throw Exception(Status::FatalError("Field::get type mismatch: requested {}, actual {}",
745
0
                                           type_to_string(T), get_type_name()));
746
0
    }
747
10.4k
    auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<T>::CppType*>(&storage);
748
10.4k
    return *ptr;
749
10.4k
}
_ZN5doris5Field3getILNS_13PrimitiveTypeE30EEERNS_19PrimitiveTypeTraitsIXT_EE7CppTypeEv
Line
Count
Source
742
134k
typename PrimitiveTypeTraits<T>::CppType& Field::get() {
743
134k
    if (T != type && !(is_string_type(type) && is_string_type(T)) && type != TYPE_NULL) {
744
0
        throw Exception(Status::FatalError("Field::get type mismatch: requested {}, actual {}",
745
0
                                           type_to_string(T), get_type_name()));
746
0
    }
747
134k
    auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<T>::CppType*>(&storage);
748
134k
    return *ptr;
749
134k
}
_ZN5doris5Field3getILNS_13PrimitiveTypeE35EEERNS_19PrimitiveTypeTraitsIXT_EE7CppTypeEv
Line
Count
Source
742
47.7k
typename PrimitiveTypeTraits<T>::CppType& Field::get() {
743
47.7k
    if (T != type && !(is_string_type(type) && is_string_type(T)) && type != TYPE_NULL) {
744
0
        throw Exception(Status::FatalError("Field::get type mismatch: requested {}, actual {}",
745
0
                                           type_to_string(T), get_type_name()));
746
0
    }
747
47.7k
    auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<T>::CppType*>(&storage);
748
47.7k
    return *ptr;
749
47.7k
}
_ZN5doris5Field3getILNS_13PrimitiveTypeE15EEERNS_19PrimitiveTypeTraitsIXT_EE7CppTypeEv
Line
Count
Source
742
139k
typename PrimitiveTypeTraits<T>::CppType& Field::get() {
743
139k
    if (T != type && !(is_string_type(type) && is_string_type(T)) && type != TYPE_NULL) {
744
0
        throw Exception(Status::FatalError("Field::get type mismatch: requested {}, actual {}",
745
0
                                           type_to_string(T), get_type_name()));
746
0
    }
747
139k
    auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<T>::CppType*>(&storage);
748
139k
    return *ptr;
749
139k
}
_ZN5doris5Field3getILNS_13PrimitiveTypeE10EEERNS_19PrimitiveTypeTraitsIXT_EE7CppTypeEv
Line
Count
Source
742
1.72M
typename PrimitiveTypeTraits<T>::CppType& Field::get() {
743
1.72M
    if (T != type && !(is_string_type(type) && is_string_type(T)) && type != TYPE_NULL) {
744
0
        throw Exception(Status::FatalError("Field::get type mismatch: requested {}, actual {}",
745
0
                                           type_to_string(T), get_type_name()));
746
0
    }
747
1.72M
    auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<T>::CppType*>(&storage);
748
1.72M
    return *ptr;
749
1.72M
}
_ZN5doris5Field3getILNS_13PrimitiveTypeE23EEERNS_19PrimitiveTypeTraitsIXT_EE7CppTypeEv
Line
Count
Source
742
17.7M
typename PrimitiveTypeTraits<T>::CppType& Field::get() {
743
17.7M
    if (T != type && !(is_string_type(type) && is_string_type(T)) && type != TYPE_NULL) {
744
0
        throw Exception(Status::FatalError("Field::get type mismatch: requested {}, actual {}",
745
0
                                           type_to_string(T), get_type_name()));
746
0
    }
747
17.7M
    auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<T>::CppType*>(&storage);
748
17.7M
    return *ptr;
749
17.7M
}
_ZN5doris5Field3getILNS_13PrimitiveTypeE41EEERNS_19PrimitiveTypeTraitsIXT_EE7CppTypeEv
Line
Count
Source
742
95
typename PrimitiveTypeTraits<T>::CppType& Field::get() {
743
95
    if (T != type && !(is_string_type(type) && is_string_type(T)) && type != TYPE_NULL) {
744
0
        throw Exception(Status::FatalError("Field::get type mismatch: requested {}, actual {}",
745
0
                                           type_to_string(T), get_type_name()));
746
0
    }
747
95
    auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<T>::CppType*>(&storage);
748
95
    return *ptr;
749
95
}
_ZN5doris5Field3getILNS_13PrimitiveTypeE19EEERNS_19PrimitiveTypeTraitsIXT_EE7CppTypeEv
Line
Count
Source
742
6
typename PrimitiveTypeTraits<T>::CppType& Field::get() {
743
6
    if (T != type && !(is_string_type(type) && is_string_type(T)) && type != TYPE_NULL) {
744
0
        throw Exception(Status::FatalError("Field::get type mismatch: requested {}, actual {}",
745
0
                                           type_to_string(T), get_type_name()));
746
0
    }
747
6
    auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<T>::CppType*>(&storage);
748
6
    return *ptr;
749
6
}
_ZN5doris5Field3getILNS_13PrimitiveTypeE32EEERNS_19PrimitiveTypeTraitsIXT_EE7CppTypeEv
Line
Count
Source
742
6.77k
typename PrimitiveTypeTraits<T>::CppType& Field::get() {
743
6.77k
    if (T != type && !(is_string_type(type) && is_string_type(T)) && type != TYPE_NULL) {
744
0
        throw Exception(Status::FatalError("Field::get type mismatch: requested {}, actual {}",
745
0
                                           type_to_string(T), get_type_name()));
746
0
    }
747
6.77k
    auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<T>::CppType*>(&storage);
748
6.77k
    return *ptr;
749
6.77k
}
_ZN5doris5Field3getILNS_13PrimitiveTypeE24EEERNS_19PrimitiveTypeTraitsIXT_EE7CppTypeEv
Line
Count
Source
742
4
typename PrimitiveTypeTraits<T>::CppType& Field::get() {
743
4
    if (T != type && !(is_string_type(type) && is_string_type(T)) && type != TYPE_NULL) {
744
0
        throw Exception(Status::FatalError("Field::get type mismatch: requested {}, actual {}",
745
0
                                           type_to_string(T), get_type_name()));
746
0
    }
747
4
    auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<T>::CppType*>(&storage);
748
4
    return *ptr;
749
4
}
_ZN5doris5Field3getILNS_13PrimitiveTypeE17EEERNS_19PrimitiveTypeTraitsIXT_EE7CppTypeEv
Line
Count
Source
742
269k
typename PrimitiveTypeTraits<T>::CppType& Field::get() {
743
269k
    if (T != type && !(is_string_type(type) && is_string_type(T)) && type != TYPE_NULL) {
744
0
        throw Exception(Status::FatalError("Field::get type mismatch: requested {}, actual {}",
745
0
                                           type_to_string(T), get_type_name()));
746
0
    }
747
269k
    auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<T>::CppType*>(&storage);
748
269k
    return *ptr;
749
269k
}
_ZN5doris5Field3getILNS_13PrimitiveTypeE36EEERNS_19PrimitiveTypeTraitsIXT_EE7CppTypeEv
Line
Count
Source
742
39.1k
typename PrimitiveTypeTraits<T>::CppType& Field::get() {
743
39.1k
    if (T != type && !(is_string_type(type) && is_string_type(T)) && type != TYPE_NULL) {
744
0
        throw Exception(Status::FatalError("Field::get type mismatch: requested {}, actual {}",
745
0
                                           type_to_string(T), get_type_name()));
746
0
    }
747
39.1k
    auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<T>::CppType*>(&storage);
748
39.1k
    return *ptr;
749
39.1k
}
_ZN5doris5Field3getILNS_13PrimitiveTypeE37EEERNS_19PrimitiveTypeTraitsIXT_EE7CppTypeEv
Line
Count
Source
742
27.8k
typename PrimitiveTypeTraits<T>::CppType& Field::get() {
743
27.8k
    if (T != type && !(is_string_type(type) && is_string_type(T)) && type != TYPE_NULL) {
744
0
        throw Exception(Status::FatalError("Field::get type mismatch: requested {}, actual {}",
745
0
                                           type_to_string(T), get_type_name()));
746
0
    }
747
27.8k
    auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<T>::CppType*>(&storage);
748
27.8k
    return *ptr;
749
27.8k
}
_ZN5doris5Field3getILNS_13PrimitiveTypeE44EEERNS_19PrimitiveTypeTraitsIXT_EE7CppTypeEv
Line
Count
Source
742
18.7k
typename PrimitiveTypeTraits<T>::CppType& Field::get() {
743
18.7k
    if (T != type && !(is_string_type(type) && is_string_type(T)) && type != TYPE_NULL) {
744
0
        throw Exception(Status::FatalError("Field::get type mismatch: requested {}, actual {}",
745
0
                                           type_to_string(T), get_type_name()));
746
0
    }
747
18.7k
    auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<T>::CppType*>(&storage);
748
18.7k
    return *ptr;
749
18.7k
}
_ZN5doris5Field3getILNS_13PrimitiveTypeE2EEERNS_19PrimitiveTypeTraitsIXT_EE7CppTypeEv
Line
Count
Source
742
94.6k
typename PrimitiveTypeTraits<T>::CppType& Field::get() {
743
94.6k
    if (T != type && !(is_string_type(type) && is_string_type(T)) && type != TYPE_NULL) {
744
0
        throw Exception(Status::FatalError("Field::get type mismatch: requested {}, actual {}",
745
0
                                           type_to_string(T), get_type_name()));
746
0
    }
747
94.6k
    auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<T>::CppType*>(&storage);
748
94.6k
    return *ptr;
749
94.6k
}
_ZN5doris5Field3getILNS_13PrimitiveTypeE8EEERNS_19PrimitiveTypeTraitsIXT_EE7CppTypeEv
Line
Count
Source
742
110k
typename PrimitiveTypeTraits<T>::CppType& Field::get() {
743
110k
    if (T != type && !(is_string_type(type) && is_string_type(T)) && type != TYPE_NULL) {
744
0
        throw Exception(Status::FatalError("Field::get type mismatch: requested {}, actual {}",
745
0
                                           type_to_string(T), get_type_name()));
746
0
    }
747
110k
    auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<T>::CppType*>(&storage);
748
110k
    return *ptr;
749
110k
}
_ZN5doris5Field3getILNS_13PrimitiveTypeE9EEERNS_19PrimitiveTypeTraitsIXT_EE7CppTypeEv
Line
Count
Source
742
257k
typename PrimitiveTypeTraits<T>::CppType& Field::get() {
743
257k
    if (T != type && !(is_string_type(type) && is_string_type(T)) && type != TYPE_NULL) {
744
0
        throw Exception(Status::FatalError("Field::get type mismatch: requested {}, actual {}",
745
0
                                           type_to_string(T), get_type_name()));
746
0
    }
747
257k
    auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<T>::CppType*>(&storage);
748
257k
    return *ptr;
749
257k
}
_ZN5doris5Field3getILNS_13PrimitiveTypeE31EEERNS_19PrimitiveTypeTraitsIXT_EE7CppTypeEv
Line
Count
Source
742
65.9k
typename PrimitiveTypeTraits<T>::CppType& Field::get() {
743
65.9k
    if (T != type && !(is_string_type(type) && is_string_type(T)) && type != TYPE_NULL) {
744
0
        throw Exception(Status::FatalError("Field::get type mismatch: requested {}, actual {}",
745
0
                                           type_to_string(T), get_type_name()));
746
0
    }
747
65.9k
    auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<T>::CppType*>(&storage);
748
65.9k
    return *ptr;
749
65.9k
}
_ZN5doris5Field3getILNS_13PrimitiveTypeE16EEERNS_19PrimitiveTypeTraitsIXT_EE7CppTypeEv
Line
Count
Source
742
11.3k
typename PrimitiveTypeTraits<T>::CppType& Field::get() {
743
11.3k
    if (T != type && !(is_string_type(type) && is_string_type(T)) && type != TYPE_NULL) {
744
0
        throw Exception(Status::FatalError("Field::get type mismatch: requested {}, actual {}",
745
0
                                           type_to_string(T), get_type_name()));
746
0
    }
747
11.3k
    auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<T>::CppType*>(&storage);
748
11.3k
    return *ptr;
749
11.3k
}
_ZN5doris5Field3getILNS_13PrimitiveTypeE18EEERNS_19PrimitiveTypeTraitsIXT_EE7CppTypeEv
Line
Count
Source
742
36.5k
typename PrimitiveTypeTraits<T>::CppType& Field::get() {
743
36.5k
    if (T != type && !(is_string_type(type) && is_string_type(T)) && type != TYPE_NULL) {
744
0
        throw Exception(Status::FatalError("Field::get type mismatch: requested {}, actual {}",
745
0
                                           type_to_string(T), get_type_name()));
746
0
    }
747
36.5k
    auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<T>::CppType*>(&storage);
748
36.5k
    return *ptr;
749
36.5k
}
_ZN5doris5Field3getILNS_13PrimitiveTypeE22EEERNS_19PrimitiveTypeTraitsIXT_EE7CppTypeEv
Line
Count
Source
742
230
typename PrimitiveTypeTraits<T>::CppType& Field::get() {
743
230
    if (T != type && !(is_string_type(type) && is_string_type(T)) && type != TYPE_NULL) {
744
0
        throw Exception(Status::FatalError("Field::get type mismatch: requested {}, actual {}",
745
0
                                           type_to_string(T), get_type_name()));
746
0
    }
747
230
    auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<T>::CppType*>(&storage);
748
230
    return *ptr;
749
230
}
_ZN5doris5Field3getILNS_13PrimitiveTypeE27EEERNS_19PrimitiveTypeTraitsIXT_EE7CppTypeEv
Line
Count
Source
742
207
typename PrimitiveTypeTraits<T>::CppType& Field::get() {
743
207
    if (T != type && !(is_string_type(type) && is_string_type(T)) && type != TYPE_NULL) {
744
0
        throw Exception(Status::FatalError("Field::get type mismatch: requested {}, actual {}",
745
0
                                           type_to_string(T), get_type_name()));
746
0
    }
747
207
    auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<T>::CppType*>(&storage);
748
207
    return *ptr;
749
207
}
Unexecuted instantiation: _ZN5doris5Field3getILNS_13PrimitiveTypeE38EEERNS_19PrimitiveTypeTraitsIXT_EE7CppTypeEv
Unexecuted instantiation: _ZN5doris5Field3getILNS_13PrimitiveTypeE39EEERNS_19PrimitiveTypeTraitsIXT_EE7CppTypeEv
750
751
template <PrimitiveType T>
752
368M
const typename PrimitiveTypeTraits<T>::CppType& Field::get() const {
753
368M
    if (T != type && !(is_string_type(type) && is_string_type(T)) && type != TYPE_NULL) {
754
0
        throw Exception(Status::FatalError("Field::get type mismatch: requested {}, actual {}",
755
0
                                           type_to_string(T), get_type_name()));
756
0
    }
757
368M
    const auto* MAY_ALIAS ptr =
758
368M
            reinterpret_cast<const typename PrimitiveTypeTraits<T>::CppType*>(&storage);
759
368M
    return *ptr;
760
368M
}
_ZNK5doris5Field3getILNS_13PrimitiveTypeE1EEERKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeEv
Line
Count
Source
752
39.3M
const typename PrimitiveTypeTraits<T>::CppType& Field::get() const {
753
39.3M
    if (T != type && !(is_string_type(type) && is_string_type(T)) && type != TYPE_NULL) {
754
0
        throw Exception(Status::FatalError("Field::get type mismatch: requested {}, actual {}",
755
0
                                           type_to_string(T), get_type_name()));
756
0
    }
757
39.3M
    const auto* MAY_ALIAS ptr =
758
39.3M
            reinterpret_cast<const typename PrimitiveTypeTraits<T>::CppType*>(&storage);
759
39.3M
    return *ptr;
760
39.3M
}
_ZNK5doris5Field3getILNS_13PrimitiveTypeE3EEERKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeEv
Line
Count
Source
752
11.4M
const typename PrimitiveTypeTraits<T>::CppType& Field::get() const {
753
11.4M
    if (T != type && !(is_string_type(type) && is_string_type(T)) && type != TYPE_NULL) {
754
0
        throw Exception(Status::FatalError("Field::get type mismatch: requested {}, actual {}",
755
0
                                           type_to_string(T), get_type_name()));
756
0
    }
757
11.4M
    const auto* MAY_ALIAS ptr =
758
11.4M
            reinterpret_cast<const typename PrimitiveTypeTraits<T>::CppType*>(&storage);
759
11.4M
    return *ptr;
760
11.4M
}
_ZNK5doris5Field3getILNS_13PrimitiveTypeE4EEERKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeEv
Line
Count
Source
752
5.14M
const typename PrimitiveTypeTraits<T>::CppType& Field::get() const {
753
5.14M
    if (T != type && !(is_string_type(type) && is_string_type(T)) && type != TYPE_NULL) {
754
0
        throw Exception(Status::FatalError("Field::get type mismatch: requested {}, actual {}",
755
0
                                           type_to_string(T), get_type_name()));
756
0
    }
757
5.14M
    const auto* MAY_ALIAS ptr =
758
5.14M
            reinterpret_cast<const typename PrimitiveTypeTraits<T>::CppType*>(&storage);
759
5.14M
    return *ptr;
760
5.14M
}
_ZNK5doris5Field3getILNS_13PrimitiveTypeE5EEERKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeEv
Line
Count
Source
752
8.65M
const typename PrimitiveTypeTraits<T>::CppType& Field::get() const {
753
8.65M
    if (T != type && !(is_string_type(type) && is_string_type(T)) && type != TYPE_NULL) {
754
0
        throw Exception(Status::FatalError("Field::get type mismatch: requested {}, actual {}",
755
0
                                           type_to_string(T), get_type_name()));
756
0
    }
757
8.65M
    const auto* MAY_ALIAS ptr =
758
8.65M
            reinterpret_cast<const typename PrimitiveTypeTraits<T>::CppType*>(&storage);
759
8.65M
    return *ptr;
760
8.65M
}
_ZNK5doris5Field3getILNS_13PrimitiveTypeE6EEERKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeEv
Line
Count
Source
752
22.0M
const typename PrimitiveTypeTraits<T>::CppType& Field::get() const {
753
22.0M
    if (T != type && !(is_string_type(type) && is_string_type(T)) && type != TYPE_NULL) {
754
0
        throw Exception(Status::FatalError("Field::get type mismatch: requested {}, actual {}",
755
0
                                           type_to_string(T), get_type_name()));
756
0
    }
757
22.0M
    const auto* MAY_ALIAS ptr =
758
22.0M
            reinterpret_cast<const typename PrimitiveTypeTraits<T>::CppType*>(&storage);
759
22.0M
    return *ptr;
760
22.0M
}
_ZNK5doris5Field3getILNS_13PrimitiveTypeE7EEERKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeEv
Line
Count
Source
752
4.39M
const typename PrimitiveTypeTraits<T>::CppType& Field::get() const {
753
4.39M
    if (T != type && !(is_string_type(type) && is_string_type(T)) && type != TYPE_NULL) {
754
0
        throw Exception(Status::FatalError("Field::get type mismatch: requested {}, actual {}",
755
0
                                           type_to_string(T), get_type_name()));
756
0
    }
757
4.39M
    const auto* MAY_ALIAS ptr =
758
4.39M
            reinterpret_cast<const typename PrimitiveTypeTraits<T>::CppType*>(&storage);
759
4.39M
    return *ptr;
760
4.39M
}
_ZNK5doris5Field3getILNS_13PrimitiveTypeE11EEERKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeEv
Line
Count
Source
752
4.39M
const typename PrimitiveTypeTraits<T>::CppType& Field::get() const {
753
4.39M
    if (T != type && !(is_string_type(type) && is_string_type(T)) && type != TYPE_NULL) {
754
0
        throw Exception(Status::FatalError("Field::get type mismatch: requested {}, actual {}",
755
0
                                           type_to_string(T), get_type_name()));
756
0
    }
757
4.39M
    const auto* MAY_ALIAS ptr =
758
4.39M
            reinterpret_cast<const typename PrimitiveTypeTraits<T>::CppType*>(&storage);
759
4.39M
    return *ptr;
760
4.39M
}
_ZNK5doris5Field3getILNS_13PrimitiveTypeE12EEERKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeEv
Line
Count
Source
752
4.32M
const typename PrimitiveTypeTraits<T>::CppType& Field::get() const {
753
4.32M
    if (T != type && !(is_string_type(type) && is_string_type(T)) && type != TYPE_NULL) {
754
0
        throw Exception(Status::FatalError("Field::get type mismatch: requested {}, actual {}",
755
0
                                           type_to_string(T), get_type_name()));
756
0
    }
757
4.32M
    const auto* MAY_ALIAS ptr =
758
4.32M
            reinterpret_cast<const typename PrimitiveTypeTraits<T>::CppType*>(&storage);
759
4.32M
    return *ptr;
760
4.32M
}
_ZNK5doris5Field3getILNS_13PrimitiveTypeE25EEERKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeEv
Line
Count
Source
752
8.13M
const typename PrimitiveTypeTraits<T>::CppType& Field::get() const {
753
8.13M
    if (T != type && !(is_string_type(type) && is_string_type(T)) && type != TYPE_NULL) {
754
0
        throw Exception(Status::FatalError("Field::get type mismatch: requested {}, actual {}",
755
0
                                           type_to_string(T), get_type_name()));
756
0
    }
757
8.13M
    const auto* MAY_ALIAS ptr =
758
8.13M
            reinterpret_cast<const typename PrimitiveTypeTraits<T>::CppType*>(&storage);
759
8.13M
    return *ptr;
760
8.13M
}
_ZNK5doris5Field3getILNS_13PrimitiveTypeE26EEERKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeEv
Line
Count
Source
752
5.39M
const typename PrimitiveTypeTraits<T>::CppType& Field::get() const {
753
5.39M
    if (T != type && !(is_string_type(type) && is_string_type(T)) && type != TYPE_NULL) {
754
0
        throw Exception(Status::FatalError("Field::get type mismatch: requested {}, actual {}",
755
0
                                           type_to_string(T), get_type_name()));
756
0
    }
757
5.39M
    const auto* MAY_ALIAS ptr =
758
5.39M
            reinterpret_cast<const typename PrimitiveTypeTraits<T>::CppType*>(&storage);
759
5.39M
    return *ptr;
760
5.39M
}
_ZNK5doris5Field3getILNS_13PrimitiveTypeE43EEERKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeEv
Line
Count
Source
752
9.97k
const typename PrimitiveTypeTraits<T>::CppType& Field::get() const {
753
9.97k
    if (T != type && !(is_string_type(type) && is_string_type(T)) && type != TYPE_NULL) {
754
0
        throw Exception(Status::FatalError("Field::get type mismatch: requested {}, actual {}",
755
0
                                           type_to_string(T), get_type_name()));
756
0
    }
757
9.97k
    const auto* MAY_ALIAS ptr =
758
9.97k
            reinterpret_cast<const typename PrimitiveTypeTraits<T>::CppType*>(&storage);
759
9.97k
    return *ptr;
760
9.97k
}
_ZNK5doris5Field3getILNS_13PrimitiveTypeE42EEERKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeEv
Line
Count
Source
752
111k
const typename PrimitiveTypeTraits<T>::CppType& Field::get() const {
753
111k
    if (T != type && !(is_string_type(type) && is_string_type(T)) && type != TYPE_NULL) {
754
0
        throw Exception(Status::FatalError("Field::get type mismatch: requested {}, actual {}",
755
0
                                           type_to_string(T), get_type_name()));
756
0
    }
757
111k
    const auto* MAY_ALIAS ptr =
758
111k
            reinterpret_cast<const typename PrimitiveTypeTraits<T>::CppType*>(&storage);
759
111k
    return *ptr;
760
111k
}
_ZNK5doris5Field3getILNS_13PrimitiveTypeE28EEERKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeEv
Line
Count
Source
752
4.62M
const typename PrimitiveTypeTraits<T>::CppType& Field::get() const {
753
4.62M
    if (T != type && !(is_string_type(type) && is_string_type(T)) && type != TYPE_NULL) {
754
0
        throw Exception(Status::FatalError("Field::get type mismatch: requested {}, actual {}",
755
0
                                           type_to_string(T), get_type_name()));
756
0
    }
757
4.62M
    const auto* MAY_ALIAS ptr =
758
4.62M
            reinterpret_cast<const typename PrimitiveTypeTraits<T>::CppType*>(&storage);
759
4.62M
    return *ptr;
760
4.62M
}
_ZNK5doris5Field3getILNS_13PrimitiveTypeE29EEERKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeEv
Line
Count
Source
752
18.2M
const typename PrimitiveTypeTraits<T>::CppType& Field::get() const {
753
18.2M
    if (T != type && !(is_string_type(type) && is_string_type(T)) && type != TYPE_NULL) {
754
0
        throw Exception(Status::FatalError("Field::get type mismatch: requested {}, actual {}",
755
0
                                           type_to_string(T), get_type_name()));
756
0
    }
757
18.2M
    const auto* MAY_ALIAS ptr =
758
18.2M
            reinterpret_cast<const typename PrimitiveTypeTraits<T>::CppType*>(&storage);
759
18.2M
    return *ptr;
760
18.2M
}
_ZNK5doris5Field3getILNS_13PrimitiveTypeE20EEERKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeEv
Line
Count
Source
752
18.3k
const typename PrimitiveTypeTraits<T>::CppType& Field::get() const {
753
18.3k
    if (T != type && !(is_string_type(type) && is_string_type(T)) && type != TYPE_NULL) {
754
0
        throw Exception(Status::FatalError("Field::get type mismatch: requested {}, actual {}",
755
0
                                           type_to_string(T), get_type_name()));
756
0
    }
757
18.3k
    const auto* MAY_ALIAS ptr =
758
18.3k
            reinterpret_cast<const typename PrimitiveTypeTraits<T>::CppType*>(&storage);
759
18.3k
    return *ptr;
760
18.3k
}
_ZNK5doris5Field3getILNS_13PrimitiveTypeE30EEERKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeEv
Line
Count
Source
752
4.58M
const typename PrimitiveTypeTraits<T>::CppType& Field::get() const {
753
4.58M
    if (T != type && !(is_string_type(type) && is_string_type(T)) && type != TYPE_NULL) {
754
0
        throw Exception(Status::FatalError("Field::get type mismatch: requested {}, actual {}",
755
0
                                           type_to_string(T), get_type_name()));
756
0
    }
757
4.58M
    const auto* MAY_ALIAS ptr =
758
4.58M
            reinterpret_cast<const typename PrimitiveTypeTraits<T>::CppType*>(&storage);
759
4.58M
    return *ptr;
760
4.58M
}
_ZNK5doris5Field3getILNS_13PrimitiveTypeE35EEERKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeEv
Line
Count
Source
752
4.69M
const typename PrimitiveTypeTraits<T>::CppType& Field::get() const {
753
4.69M
    if (T != type && !(is_string_type(type) && is_string_type(T)) && type != TYPE_NULL) {
754
0
        throw Exception(Status::FatalError("Field::get type mismatch: requested {}, actual {}",
755
0
                                           type_to_string(T), get_type_name()));
756
0
    }
757
4.69M
    const auto* MAY_ALIAS ptr =
758
4.69M
            reinterpret_cast<const typename PrimitiveTypeTraits<T>::CppType*>(&storage);
759
4.69M
    return *ptr;
760
4.69M
}
_ZNK5doris5Field3getILNS_13PrimitiveTypeE15EEERKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeEv
Line
Count
Source
752
41.9k
const typename PrimitiveTypeTraits<T>::CppType& Field::get() const {
753
41.9k
    if (T != type && !(is_string_type(type) && is_string_type(T)) && type != TYPE_NULL) {
754
0
        throw Exception(Status::FatalError("Field::get type mismatch: requested {}, actual {}",
755
0
                                           type_to_string(T), get_type_name()));
756
0
    }
757
41.9k
    const auto* MAY_ALIAS ptr =
758
41.9k
            reinterpret_cast<const typename PrimitiveTypeTraits<T>::CppType*>(&storage);
759
41.9k
    return *ptr;
760
41.9k
}
_ZNK5doris5Field3getILNS_13PrimitiveTypeE10EEERKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeEv
Line
Count
Source
752
11.6M
const typename PrimitiveTypeTraits<T>::CppType& Field::get() const {
753
11.6M
    if (T != type && !(is_string_type(type) && is_string_type(T)) && type != TYPE_NULL) {
754
0
        throw Exception(Status::FatalError("Field::get type mismatch: requested {}, actual {}",
755
0
                                           type_to_string(T), get_type_name()));
756
0
    }
757
11.6M
    const auto* MAY_ALIAS ptr =
758
11.6M
            reinterpret_cast<const typename PrimitiveTypeTraits<T>::CppType*>(&storage);
759
11.6M
    return *ptr;
760
11.6M
}
_ZNK5doris5Field3getILNS_13PrimitiveTypeE23EEERKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeEv
Line
Count
Source
752
27.4M
const typename PrimitiveTypeTraits<T>::CppType& Field::get() const {
753
27.4M
    if (T != type && !(is_string_type(type) && is_string_type(T)) && type != TYPE_NULL) {
754
0
        throw Exception(Status::FatalError("Field::get type mismatch: requested {}, actual {}",
755
0
                                           type_to_string(T), get_type_name()));
756
0
    }
757
27.4M
    const auto* MAY_ALIAS ptr =
758
27.4M
            reinterpret_cast<const typename PrimitiveTypeTraits<T>::CppType*>(&storage);
759
27.4M
    return *ptr;
760
27.4M
}
_ZNK5doris5Field3getILNS_13PrimitiveTypeE41EEERKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeEv
Line
Count
Source
752
119
const typename PrimitiveTypeTraits<T>::CppType& Field::get() const {
753
119
    if (T != type && !(is_string_type(type) && is_string_type(T)) && type != TYPE_NULL) {
754
0
        throw Exception(Status::FatalError("Field::get type mismatch: requested {}, actual {}",
755
0
                                           type_to_string(T), get_type_name()));
756
0
    }
757
119
    const auto* MAY_ALIAS ptr =
758
119
            reinterpret_cast<const typename PrimitiveTypeTraits<T>::CppType*>(&storage);
759
119
    return *ptr;
760
119
}
_ZNK5doris5Field3getILNS_13PrimitiveTypeE19EEERKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeEv
Line
Count
Source
752
8
const typename PrimitiveTypeTraits<T>::CppType& Field::get() const {
753
8
    if (T != type && !(is_string_type(type) && is_string_type(T)) && type != TYPE_NULL) {
754
0
        throw Exception(Status::FatalError("Field::get type mismatch: requested {}, actual {}",
755
0
                                           type_to_string(T), get_type_name()));
756
0
    }
757
8
    const auto* MAY_ALIAS ptr =
758
8
            reinterpret_cast<const typename PrimitiveTypeTraits<T>::CppType*>(&storage);
759
8
    return *ptr;
760
8
}
_ZNK5doris5Field3getILNS_13PrimitiveTypeE32EEERKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeEv
Line
Count
Source
752
6.70k
const typename PrimitiveTypeTraits<T>::CppType& Field::get() const {
753
6.70k
    if (T != type && !(is_string_type(type) && is_string_type(T)) && type != TYPE_NULL) {
754
0
        throw Exception(Status::FatalError("Field::get type mismatch: requested {}, actual {}",
755
0
                                           type_to_string(T), get_type_name()));
756
0
    }
757
6.70k
    const auto* MAY_ALIAS ptr =
758
6.70k
            reinterpret_cast<const typename PrimitiveTypeTraits<T>::CppType*>(&storage);
759
6.70k
    return *ptr;
760
6.70k
}
_ZNK5doris5Field3getILNS_13PrimitiveTypeE24EEERKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeEv
Line
Count
Source
752
20.0k
const typename PrimitiveTypeTraits<T>::CppType& Field::get() const {
753
20.0k
    if (T != type && !(is_string_type(type) && is_string_type(T)) && type != TYPE_NULL) {
754
0
        throw Exception(Status::FatalError("Field::get type mismatch: requested {}, actual {}",
755
0
                                           type_to_string(T), get_type_name()));
756
0
    }
757
20.0k
    const auto* MAY_ALIAS ptr =
758
20.0k
            reinterpret_cast<const typename PrimitiveTypeTraits<T>::CppType*>(&storage);
759
20.0k
    return *ptr;
760
20.0k
}
_ZNK5doris5Field3getILNS_13PrimitiveTypeE17EEERKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeEv
Line
Count
Source
752
119M
const typename PrimitiveTypeTraits<T>::CppType& Field::get() const {
753
119M
    if (T != type && !(is_string_type(type) && is_string_type(T)) && type != TYPE_NULL) {
754
0
        throw Exception(Status::FatalError("Field::get type mismatch: requested {}, actual {}",
755
0
                                           type_to_string(T), get_type_name()));
756
0
    }
757
119M
    const auto* MAY_ALIAS ptr =
758
119M
            reinterpret_cast<const typename PrimitiveTypeTraits<T>::CppType*>(&storage);
759
119M
    return *ptr;
760
119M
}
_ZNK5doris5Field3getILNS_13PrimitiveTypeE36EEERKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeEv
Line
Count
Source
752
32.7k
const typename PrimitiveTypeTraits<T>::CppType& Field::get() const {
753
32.7k
    if (T != type && !(is_string_type(type) && is_string_type(T)) && type != TYPE_NULL) {
754
0
        throw Exception(Status::FatalError("Field::get type mismatch: requested {}, actual {}",
755
0
                                           type_to_string(T), get_type_name()));
756
0
    }
757
32.7k
    const auto* MAY_ALIAS ptr =
758
32.7k
            reinterpret_cast<const typename PrimitiveTypeTraits<T>::CppType*>(&storage);
759
32.7k
    return *ptr;
760
32.7k
}
_ZNK5doris5Field3getILNS_13PrimitiveTypeE37EEERKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeEv
Line
Count
Source
752
22.9k
const typename PrimitiveTypeTraits<T>::CppType& Field::get() const {
753
22.9k
    if (T != type && !(is_string_type(type) && is_string_type(T)) && type != TYPE_NULL) {
754
0
        throw Exception(Status::FatalError("Field::get type mismatch: requested {}, actual {}",
755
0
                                           type_to_string(T), get_type_name()));
756
0
    }
757
22.9k
    const auto* MAY_ALIAS ptr =
758
22.9k
            reinterpret_cast<const typename PrimitiveTypeTraits<T>::CppType*>(&storage);
759
22.9k
    return *ptr;
760
22.9k
}
_ZNK5doris5Field3getILNS_13PrimitiveTypeE44EEERKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeEv
Line
Count
Source
752
118k
const typename PrimitiveTypeTraits<T>::CppType& Field::get() const {
753
118k
    if (T != type && !(is_string_type(type) && is_string_type(T)) && type != TYPE_NULL) {
754
0
        throw Exception(Status::FatalError("Field::get type mismatch: requested {}, actual {}",
755
0
                                           type_to_string(T), get_type_name()));
756
0
    }
757
118k
    const auto* MAY_ALIAS ptr =
758
118k
            reinterpret_cast<const typename PrimitiveTypeTraits<T>::CppType*>(&storage);
759
118k
    return *ptr;
760
118k
}
_ZNK5doris5Field3getILNS_13PrimitiveTypeE2EEERKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeEv
Line
Count
Source
752
32.9M
const typename PrimitiveTypeTraits<T>::CppType& Field::get() const {
753
32.9M
    if (T != type && !(is_string_type(type) && is_string_type(T)) && type != TYPE_NULL) {
754
0
        throw Exception(Status::FatalError("Field::get type mismatch: requested {}, actual {}",
755
0
                                           type_to_string(T), get_type_name()));
756
0
    }
757
32.9M
    const auto* MAY_ALIAS ptr =
758
32.9M
            reinterpret_cast<const typename PrimitiveTypeTraits<T>::CppType*>(&storage);
759
32.9M
    return *ptr;
760
32.9M
}
_ZNK5doris5Field3getILNS_13PrimitiveTypeE8EEERKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeEv
Line
Count
Source
752
4.55M
const typename PrimitiveTypeTraits<T>::CppType& Field::get() const {
753
4.55M
    if (T != type && !(is_string_type(type) && is_string_type(T)) && type != TYPE_NULL) {
754
0
        throw Exception(Status::FatalError("Field::get type mismatch: requested {}, actual {}",
755
0
                                           type_to_string(T), get_type_name()));
756
0
    }
757
4.55M
    const auto* MAY_ALIAS ptr =
758
4.55M
            reinterpret_cast<const typename PrimitiveTypeTraits<T>::CppType*>(&storage);
759
4.55M
    return *ptr;
760
4.55M
}
_ZNK5doris5Field3getILNS_13PrimitiveTypeE9EEERKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeEv
Line
Count
Source
752
5.41M
const typename PrimitiveTypeTraits<T>::CppType& Field::get() const {
753
5.41M
    if (T != type && !(is_string_type(type) && is_string_type(T)) && type != TYPE_NULL) {
754
0
        throw Exception(Status::FatalError("Field::get type mismatch: requested {}, actual {}",
755
0
                                           type_to_string(T), get_type_name()));
756
0
    }
757
5.41M
    const auto* MAY_ALIAS ptr =
758
5.41M
            reinterpret_cast<const typename PrimitiveTypeTraits<T>::CppType*>(&storage);
759
5.41M
    return *ptr;
760
5.41M
}
_ZNK5doris5Field3getILNS_13PrimitiveTypeE31EEERKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeEv
Line
Count
Source
752
22.0k
const typename PrimitiveTypeTraits<T>::CppType& Field::get() const {
753
22.0k
    if (T != type && !(is_string_type(type) && is_string_type(T)) && type != TYPE_NULL) {
754
0
        throw Exception(Status::FatalError("Field::get type mismatch: requested {}, actual {}",
755
0
                                           type_to_string(T), get_type_name()));
756
0
    }
757
22.0k
    const auto* MAY_ALIAS ptr =
758
22.0k
            reinterpret_cast<const typename PrimitiveTypeTraits<T>::CppType*>(&storage);
759
22.0k
    return *ptr;
760
22.0k
}
_ZNK5doris5Field3getILNS_13PrimitiveTypeE16EEERKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeEv
Line
Count
Source
752
4.05M
const typename PrimitiveTypeTraits<T>::CppType& Field::get() const {
753
4.05M
    if (T != type && !(is_string_type(type) && is_string_type(T)) && type != TYPE_NULL) {
754
0
        throw Exception(Status::FatalError("Field::get type mismatch: requested {}, actual {}",
755
0
                                           type_to_string(T), get_type_name()));
756
0
    }
757
4.05M
    const auto* MAY_ALIAS ptr =
758
4.05M
            reinterpret_cast<const typename PrimitiveTypeTraits<T>::CppType*>(&storage);
759
4.05M
    return *ptr;
760
4.05M
}
_ZNK5doris5Field3getILNS_13PrimitiveTypeE18EEERKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeEv
Line
Count
Source
752
17.2M
const typename PrimitiveTypeTraits<T>::CppType& Field::get() const {
753
17.2M
    if (T != type && !(is_string_type(type) && is_string_type(T)) && type != TYPE_NULL) {
754
0
        throw Exception(Status::FatalError("Field::get type mismatch: requested {}, actual {}",
755
0
                                           type_to_string(T), get_type_name()));
756
0
    }
757
17.2M
    const auto* MAY_ALIAS ptr =
758
17.2M
            reinterpret_cast<const typename PrimitiveTypeTraits<T>::CppType*>(&storage);
759
17.2M
    return *ptr;
760
17.2M
}
_ZNK5doris5Field3getILNS_13PrimitiveTypeE22EEERKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeEv
Line
Count
Source
752
25.0k
const typename PrimitiveTypeTraits<T>::CppType& Field::get() const {
753
25.0k
    if (T != type && !(is_string_type(type) && is_string_type(T)) && type != TYPE_NULL) {
754
0
        throw Exception(Status::FatalError("Field::get type mismatch: requested {}, actual {}",
755
0
                                           type_to_string(T), get_type_name()));
756
0
    }
757
25.0k
    const auto* MAY_ALIAS ptr =
758
25.0k
            reinterpret_cast<const typename PrimitiveTypeTraits<T>::CppType*>(&storage);
759
25.0k
    return *ptr;
760
25.0k
}
_ZNK5doris5Field3getILNS_13PrimitiveTypeE27EEERKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeEv
Line
Count
Source
752
271
const typename PrimitiveTypeTraits<T>::CppType& Field::get() const {
753
271
    if (T != type && !(is_string_type(type) && is_string_type(T)) && type != TYPE_NULL) {
754
0
        throw Exception(Status::FatalError("Field::get type mismatch: requested {}, actual {}",
755
0
                                           type_to_string(T), get_type_name()));
756
0
    }
757
271
    const auto* MAY_ALIAS ptr =
758
271
            reinterpret_cast<const typename PrimitiveTypeTraits<T>::CppType*>(&storage);
759
271
    return *ptr;
760
271
}
Unexecuted instantiation: _ZNK5doris5Field3getILNS_13PrimitiveTypeE38EEERKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeEv
_ZNK5doris5Field3getILNS_13PrimitiveTypeE39EEERKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeEv
Line
Count
Source
752
40
const typename PrimitiveTypeTraits<T>::CppType& Field::get() const {
753
40
    if (T != type && !(is_string_type(type) && is_string_type(T)) && type != TYPE_NULL) {
754
0
        throw Exception(Status::FatalError("Field::get type mismatch: requested {}, actual {}",
755
0
                                           type_to_string(T), get_type_name()));
756
0
    }
757
40
    const auto* MAY_ALIAS ptr =
758
40
            reinterpret_cast<const typename PrimitiveTypeTraits<T>::CppType*>(&storage);
759
40
    return *ptr;
760
40
}
761
762
template <PrimitiveType T>
763
156M
void Field::destroy() {
764
156M
    if constexpr (T == TYPE_VARBINARY) {
765
181
        reinterpret_cast<OwnedBinaryField*>(&storage)->~OwnedBinaryField();
766
181
        return;
767
181
    }
768
0
    using TargetType = typename PrimitiveTypeTraits<T>::CppType;
769
18.4E
    DCHECK(T == type || ((is_string_type(type) && is_string_type(T))))
770
18.4E
            << "Type mismatch: requested " << type_to_string(T) << ", actual " << get_type_name();
771
156M
    auto* MAY_ALIAS ptr = reinterpret_cast<TargetType*>(&storage);
772
156M
    ptr->~TargetType();
773
156M
}
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_13PrimitiveTypeE43EEEvv
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
763
147k
void Field::destroy() {
764
    if constexpr (T == TYPE_VARBINARY) {
765
        reinterpret_cast<OwnedBinaryField*>(&storage)->~OwnedBinaryField();
766
        return;
767
    }
768
147k
    using TargetType = typename PrimitiveTypeTraits<T>::CppType;
769
18.4E
    DCHECK(T == type || ((is_string_type(type) && is_string_type(T))))
770
18.4E
            << "Type mismatch: requested " << type_to_string(T) << ", actual " << get_type_name();
771
147k
    auto* MAY_ALIAS ptr = reinterpret_cast<TargetType*>(&storage);
772
147k
    ptr->~TargetType();
773
147k
}
_ZN5doris5Field7destroyILNS_13PrimitiveTypeE10EEEvv
Line
Count
Source
763
10.2M
void Field::destroy() {
764
    if constexpr (T == TYPE_VARBINARY) {
765
        reinterpret_cast<OwnedBinaryField*>(&storage)->~OwnedBinaryField();
766
        return;
767
    }
768
10.2M
    using TargetType = typename PrimitiveTypeTraits<T>::CppType;
769
18.4E
    DCHECK(T == type || ((is_string_type(type) && is_string_type(T))))
770
18.4E
            << "Type mismatch: requested " << type_to_string(T) << ", actual " << get_type_name();
771
10.2M
    auto* MAY_ALIAS ptr = reinterpret_cast<TargetType*>(&storage);
772
10.2M
    ptr->~TargetType();
773
10.2M
}
_ZN5doris5Field7destroyILNS_13PrimitiveTypeE23EEEvv
Line
Count
Source
763
36.5M
void Field::destroy() {
764
    if constexpr (T == TYPE_VARBINARY) {
765
        reinterpret_cast<OwnedBinaryField*>(&storage)->~OwnedBinaryField();
766
        return;
767
    }
768
36.5M
    using TargetType = typename PrimitiveTypeTraits<T>::CppType;
769
18.4E
    DCHECK(T == type || ((is_string_type(type) && is_string_type(T))))
770
18.4E
            << "Type mismatch: requested " << type_to_string(T) << ", actual " << get_type_name();
771
36.5M
    auto* MAY_ALIAS ptr = reinterpret_cast<TargetType*>(&storage);
772
36.5M
    ptr->~TargetType();
773
36.5M
}
_ZN5doris5Field7destroyILNS_13PrimitiveTypeE41EEEvv
Line
Count
Source
763
181
void Field::destroy() {
764
181
    if constexpr (T == TYPE_VARBINARY) {
765
181
        reinterpret_cast<OwnedBinaryField*>(&storage)->~OwnedBinaryField();
766
181
        return;
767
181
    }
768
0
    using TargetType = typename PrimitiveTypeTraits<T>::CppType;
769
181
    DCHECK(T == type || ((is_string_type(type) && is_string_type(T))))
770
181
            << "Type mismatch: requested " << type_to_string(T) << ", actual " << get_type_name();
771
181
    auto* MAY_ALIAS ptr = reinterpret_cast<TargetType*>(&storage);
772
181
    ptr->~TargetType();
773
181
}
_ZN5doris5Field7destroyILNS_13PrimitiveTypeE19EEEvv
Line
Count
Source
763
418
void Field::destroy() {
764
    if constexpr (T == TYPE_VARBINARY) {
765
        reinterpret_cast<OwnedBinaryField*>(&storage)->~OwnedBinaryField();
766
        return;
767
    }
768
418
    using TargetType = typename PrimitiveTypeTraits<T>::CppType;
769
418
    DCHECK(T == type || ((is_string_type(type) && is_string_type(T))))
770
0
            << "Type mismatch: requested " << type_to_string(T) << ", actual " << get_type_name();
771
418
    auto* MAY_ALIAS ptr = reinterpret_cast<TargetType*>(&storage);
772
418
    ptr->~TargetType();
773
418
}
_ZN5doris5Field7destroyILNS_13PrimitiveTypeE32EEEvv
Line
Count
Source
763
13.4k
void Field::destroy() {
764
    if constexpr (T == TYPE_VARBINARY) {
765
        reinterpret_cast<OwnedBinaryField*>(&storage)->~OwnedBinaryField();
766
        return;
767
    }
768
13.4k
    using TargetType = typename PrimitiveTypeTraits<T>::CppType;
769
18.4E
    DCHECK(T == type || ((is_string_type(type) && is_string_type(T))))
770
18.4E
            << "Type mismatch: requested " << type_to_string(T) << ", actual " << get_type_name();
771
13.4k
    auto* MAY_ALIAS ptr = reinterpret_cast<TargetType*>(&storage);
772
13.4k
    ptr->~TargetType();
773
13.4k
}
_ZN5doris5Field7destroyILNS_13PrimitiveTypeE24EEEvv
Line
Count
Source
763
22.3k
void Field::destroy() {
764
    if constexpr (T == TYPE_VARBINARY) {
765
        reinterpret_cast<OwnedBinaryField*>(&storage)->~OwnedBinaryField();
766
        return;
767
    }
768
22.3k
    using TargetType = typename PrimitiveTypeTraits<T>::CppType;
769
22.3k
    DCHECK(T == type || ((is_string_type(type) && is_string_type(T))))
770
0
            << "Type mismatch: requested " << type_to_string(T) << ", actual " << get_type_name();
771
22.3k
    auto* MAY_ALIAS ptr = reinterpret_cast<TargetType*>(&storage);
772
22.3k
    ptr->~TargetType();
773
22.3k
}
_ZN5doris5Field7destroyILNS_13PrimitiveTypeE17EEEvv
Line
Count
Source
763
92.6M
void Field::destroy() {
764
    if constexpr (T == TYPE_VARBINARY) {
765
        reinterpret_cast<OwnedBinaryField*>(&storage)->~OwnedBinaryField();
766
        return;
767
    }
768
92.6M
    using TargetType = typename PrimitiveTypeTraits<T>::CppType;
769
18.4E
    DCHECK(T == type || ((is_string_type(type) && is_string_type(T))))
770
18.4E
            << "Type mismatch: requested " << type_to_string(T) << ", actual " << get_type_name();
771
92.6M
    auto* MAY_ALIAS ptr = reinterpret_cast<TargetType*>(&storage);
772
92.6M
    ptr->~TargetType();
773
92.6M
}
Unexecuted instantiation: _ZN5doris5Field7destroyILNS_13PrimitiveTypeE36EEEvv
Unexecuted instantiation: _ZN5doris5Field7destroyILNS_13PrimitiveTypeE37EEEvv
Unexecuted instantiation: _ZN5doris5Field7destroyILNS_13PrimitiveTypeE44EEEvv
Unexecuted instantiation: _ZN5doris5Field7destroyILNS_13PrimitiveTypeE2EEEvv
Unexecuted instantiation: _ZN5doris5Field7destroyILNS_13PrimitiveTypeE8EEEvv
Unexecuted instantiation: _ZN5doris5Field7destroyILNS_13PrimitiveTypeE9EEEvv
_ZN5doris5Field7destroyILNS_13PrimitiveTypeE31EEEvv
Line
Count
Source
763
87.9k
void Field::destroy() {
764
    if constexpr (T == TYPE_VARBINARY) {
765
        reinterpret_cast<OwnedBinaryField*>(&storage)->~OwnedBinaryField();
766
        return;
767
    }
768
87.9k
    using TargetType = typename PrimitiveTypeTraits<T>::CppType;
769
87.9k
    DCHECK(T == type || ((is_string_type(type) && is_string_type(T))))
770
0
            << "Type mismatch: requested " << type_to_string(T) << ", actual " << get_type_name();
771
87.9k
    auto* MAY_ALIAS ptr = reinterpret_cast<TargetType*>(&storage);
772
87.9k
    ptr->~TargetType();
773
87.9k
}
_ZN5doris5Field7destroyILNS_13PrimitiveTypeE16EEEvv
Line
Count
Source
763
3.05M
void Field::destroy() {
764
    if constexpr (T == TYPE_VARBINARY) {
765
        reinterpret_cast<OwnedBinaryField*>(&storage)->~OwnedBinaryField();
766
        return;
767
    }
768
3.05M
    using TargetType = typename PrimitiveTypeTraits<T>::CppType;
769
3.05M
    DCHECK(T == type || ((is_string_type(type) && is_string_type(T))))
770
0
            << "Type mismatch: requested " << type_to_string(T) << ", actual " << get_type_name();
771
3.05M
    auto* MAY_ALIAS ptr = reinterpret_cast<TargetType*>(&storage);
772
3.05M
    ptr->~TargetType();
773
3.05M
}
_ZN5doris5Field7destroyILNS_13PrimitiveTypeE18EEEvv
Line
Count
Source
763
13.2M
void Field::destroy() {
764
    if constexpr (T == TYPE_VARBINARY) {
765
        reinterpret_cast<OwnedBinaryField*>(&storage)->~OwnedBinaryField();
766
        return;
767
    }
768
13.2M
    using TargetType = typename PrimitiveTypeTraits<T>::CppType;
769
18.4E
    DCHECK(T == type || ((is_string_type(type) && is_string_type(T))))
770
18.4E
            << "Type mismatch: requested " << type_to_string(T) << ", actual " << get_type_name();
771
13.2M
    auto* MAY_ALIAS ptr = reinterpret_cast<TargetType*>(&storage);
772
13.2M
    ptr->~TargetType();
773
13.2M
}
_ZN5doris5Field7destroyILNS_13PrimitiveTypeE22EEEvv
Line
Count
Source
763
2.58k
void Field::destroy() {
764
    if constexpr (T == TYPE_VARBINARY) {
765
        reinterpret_cast<OwnedBinaryField*>(&storage)->~OwnedBinaryField();
766
        return;
767
    }
768
2.58k
    using TargetType = typename PrimitiveTypeTraits<T>::CppType;
769
2.58k
    DCHECK(T == type || ((is_string_type(type) && is_string_type(T))))
770
0
            << "Type mismatch: requested " << type_to_string(T) << ", actual " << get_type_name();
771
2.58k
    auto* MAY_ALIAS ptr = reinterpret_cast<TargetType*>(&storage);
772
2.58k
    ptr->~TargetType();
773
2.58k
}
Unexecuted instantiation: _ZN5doris5Field7destroyILNS_13PrimitiveTypeE27EEEvv
Unexecuted instantiation: _ZN5doris5Field7destroyILNS_13PrimitiveTypeE38EEEvv
Unexecuted instantiation: _ZN5doris5Field7destroyILNS_13PrimitiveTypeE39EEEvv
774
775
11.4M
std::strong_ordering Field::operator<=>(const Field& rhs) const {
776
11.4M
    if (type == PrimitiveType::TYPE_NULL || rhs == PrimitiveType::TYPE_NULL) {
777
7.68M
        return type <=> rhs.type;
778
7.68M
    }
779
3.75M
    if (type != rhs.type) {
780
        // String-family types (STRING, CHAR, VARCHAR) all store String internally
781
        // and are inter-comparable.  This arises when comparing RowCursor fields
782
        // (which carry the declared column type) against Column::operator[] results
783
        // (which always return TYPE_STRING for ColumnString).
784
15.4k
        if (is_string_type(type) && is_string_type(rhs.type)) {
785
15.4k
            return get<TYPE_STRING>() <=> rhs.get<TYPE_STRING>();
786
15.4k
        }
787
0
        throw Exception(Status::FatalError("lhs type not equal with rhs, lhs={}, rhs={}",
788
0
                                           get_type_name(), rhs.get_type_name()));
789
15.4k
    }
790
791
3.74M
    switch (type) {
792
1.14k
    case PrimitiveType::TYPE_BITMAP:
793
1.34k
    case PrimitiveType::TYPE_HLL:
794
2.53k
    case PrimitiveType::TYPE_QUANTILE_STATE:
795
2.53k
    case PrimitiveType::INVALID_TYPE:
796
2.53k
    case PrimitiveType::TYPE_JSONB:
797
2.53k
    case PrimitiveType::TYPE_NULL:
798
8.68k
    case PrimitiveType::TYPE_ARRAY:
799
8.74k
    case PrimitiveType::TYPE_MAP:
800
8.77k
    case PrimitiveType::TYPE_STRUCT:
801
8.77k
    case PrimitiveType::TYPE_VARIANT:
802
8.77k
        return std::strong_ordering::equal; //TODO: throw Exception?
803
33.5k
    case PrimitiveType::TYPE_DATETIMEV2:
804
33.5k
        return get<PrimitiveType::TYPE_DATETIMEV2>().to_date_int_val() <=>
805
33.5k
               rhs.get<PrimitiveType::TYPE_DATETIMEV2>().to_date_int_val();
806
461
    case PrimitiveType::TYPE_TIMESTAMP_NS:
807
461
        return get<PrimitiveType::TYPE_TIMESTAMP_NS>() <=>
808
461
               rhs.get<PrimitiveType::TYPE_TIMESTAMP_NS>();
809
555k
    case PrimitiveType::TYPE_DATEV2:
810
555k
        return get<PrimitiveType::TYPE_DATEV2>().to_date_int_val() <=>
811
555k
               rhs.get<PrimitiveType::TYPE_DATEV2>().to_date_int_val();
812
7.62k
    case PrimitiveType::TYPE_TIMESTAMPTZ:
813
7.62k
        return get<PrimitiveType::TYPE_TIMESTAMPTZ>().to_date_int_val() <=>
814
7.62k
               rhs.get<PrimitiveType::TYPE_TIMESTAMPTZ>().to_date_int_val();
815
2.77k
    case PrimitiveType::TYPE_DATE:
816
2.77k
        return get<PrimitiveType::TYPE_DATE>() <=> rhs.get<PrimitiveType::TYPE_DATE>();
817
436
    case PrimitiveType::TYPE_DATETIME:
818
436
        return get<PrimitiveType::TYPE_DATETIME>() <=> rhs.get<PrimitiveType::TYPE_DATETIME>();
819
91.7k
    case PrimitiveType::TYPE_BIGINT:
820
91.7k
        return get<PrimitiveType::TYPE_BIGINT>() <=> rhs.get<PrimitiveType::TYPE_BIGINT>();
821
16.2k
    case PrimitiveType::TYPE_BOOLEAN:
822
16.2k
        return get<PrimitiveType::TYPE_BOOLEAN>() <=> rhs.get<PrimitiveType::TYPE_BOOLEAN>();
823
492k
    case PrimitiveType::TYPE_TINYINT:
824
492k
        return get<TYPE_TINYINT>() <=> rhs.get<TYPE_TINYINT>();
825
11.1k
    case PrimitiveType::TYPE_SMALLINT:
826
11.1k
        return get<TYPE_SMALLINT>() <=> rhs.get<TYPE_SMALLINT>();
827
788k
    case PrimitiveType::TYPE_INT:
828
788k
        return get<TYPE_INT>() <=> rhs.get<TYPE_INT>();
829
14.7k
    case PrimitiveType::TYPE_LARGEINT:
830
14.7k
        return get<TYPE_LARGEINT>() <=> rhs.get<TYPE_LARGEINT>();
831
237
    case PrimitiveType::TYPE_IPV6:
832
237
        return get<TYPE_IPV6>() <=> rhs.get<TYPE_IPV6>();
833
49.6k
    case PrimitiveType::TYPE_UUID:
834
49.6k
        return get<TYPE_UUID>() <=> rhs.get<TYPE_UUID>();
835
292
    case PrimitiveType::TYPE_IPV4:
836
292
        return get<TYPE_IPV4>() <=> rhs.get<TYPE_IPV4>();
837
66
    case PrimitiveType::TYPE_FLOAT:
838
66
        switch (Compare::compare(get<TYPE_FLOAT>(), rhs.get<TYPE_FLOAT>())) {
839
2
        case -1:
840
2
            return std::strong_ordering::less;
841
38
        case 0:
842
38
            return std::strong_ordering::equal;
843
26
        case 1:
844
26
            return std::strong_ordering::greater;
845
0
        default:
846
0
            LOG(FATAL) << "unexpected float compare result";
847
66
        }
848
11
    case PrimitiveType::TYPE_TIMEV2:
849
11
        return get<TYPE_TIMEV2>() < rhs.get<TYPE_TIMEV2>()    ? std::strong_ordering::less
850
11
               : get<TYPE_TIMEV2>() == rhs.get<TYPE_TIMEV2>() ? std::strong_ordering::equal
851
11
                                                              : std::strong_ordering::greater;
852
83
    case PrimitiveType::TYPE_DOUBLE:
853
83
        switch (Compare::compare(get<TYPE_DOUBLE>(), rhs.get<TYPE_DOUBLE>())) {
854
10
        case -1:
855
10
            return std::strong_ordering::less;
856
35
        case 0:
857
35
            return std::strong_ordering::equal;
858
38
        case 1:
859
38
            return std::strong_ordering::greater;
860
0
        default:
861
0
            LOG(FATAL) << "unexpected double compare result";
862
83
        }
863
27.6k
    case PrimitiveType::TYPE_STRING:
864
27.6k
        return get<TYPE_STRING>() <=> rhs.get<TYPE_STRING>();
865
381
    case PrimitiveType::TYPE_CHAR:
866
381
        return get<TYPE_CHAR>() <=> rhs.get<TYPE_CHAR>();
867
1.69M
    case PrimitiveType::TYPE_VARCHAR:
868
1.69M
        return get<TYPE_VARCHAR>() <=> rhs.get<TYPE_VARCHAR>();
869
21
    case PrimitiveType::TYPE_VARBINARY:
870
21
        return get<TYPE_VARBINARY>() <=> rhs.get<TYPE_VARBINARY>();
871
879
    case PrimitiveType::TYPE_DECIMAL32:
872
879
        return get<TYPE_DECIMAL32>() <=> rhs.get<TYPE_DECIMAL32>();
873
2.67k
    case PrimitiveType::TYPE_DECIMAL64:
874
2.67k
        return get<TYPE_DECIMAL64>() <=> rhs.get<TYPE_DECIMAL64>();
875
2.73k
    case PrimitiveType::TYPE_DECIMALV2:
876
2.73k
        return get<TYPE_DECIMALV2>() <=> rhs.get<TYPE_DECIMALV2>();
877
3.55k
    case PrimitiveType::TYPE_DECIMAL128I:
878
3.55k
        return get<TYPE_DECIMAL128I>() <=> rhs.get<TYPE_DECIMAL128I>();
879
2.11k
    case PrimitiveType::TYPE_DECIMAL256:
880
2.11k
        return get<TYPE_DECIMAL256>() <=> rhs.get<TYPE_DECIMAL256>();
881
0
    default:
882
0
        throw Exception(Status::FatalError("Unsupported type: {}", get_type_name()));
883
3.74M
    }
884
3.74M
}
885
886
#define MATCH_PRIMITIVE_TYPE(primitive_type)                                   \
887
10.5k
    if (type == primitive_type) {                                              \
888
1.61k
        const auto& v = get<primitive_type>();                                 \
889
1.61k
        return std::string_view(reinterpret_cast<const char*>(&v), sizeof(v)); \
890
1.61k
    }
891
892
6.38k
std::string_view Field::as_string_view() const {
893
6.38k
    if (type == PrimitiveType::TYPE_STRING || type == PrimitiveType::TYPE_VARCHAR ||
894
6.38k
        type == PrimitiveType::TYPE_CHAR) {
895
4.77k
        const auto& s = get<TYPE_STRING>();
896
4.77k
        return {s.data(), s.size()};
897
4.77k
    }
898
1.60k
    if (type == PrimitiveType::TYPE_VARBINARY) {
899
5
        const auto& svf = get<TYPE_VARBINARY>();
900
5
        return {svf.data(), svf.size()};
901
5
    }
902
    // MATCH_PRIMITIVE_TYPE(INVALID_TYPE);
903
    // MATCH_PRIMITIVE_TYPE(TYPE_NULL);
904
1.60k
    MATCH_PRIMITIVE_TYPE(TYPE_BOOLEAN);
905
1.60k
    MATCH_PRIMITIVE_TYPE(TYPE_TINYINT);
906
1.44k
    MATCH_PRIMITIVE_TYPE(TYPE_SMALLINT);
907
1.44k
    MATCH_PRIMITIVE_TYPE(TYPE_INT);
908
466
    MATCH_PRIMITIVE_TYPE(TYPE_BIGINT);
909
403
    MATCH_PRIMITIVE_TYPE(TYPE_LARGEINT);
910
403
    MATCH_PRIMITIVE_TYPE(TYPE_FLOAT)
911
403
    MATCH_PRIMITIVE_TYPE(TYPE_DOUBLE);
912
    // MATCH_PRIMITIVE_TYPE(TYPE_VARCHAR);
913
403
    MATCH_PRIMITIVE_TYPE(TYPE_DATE);
914
403
    MATCH_PRIMITIVE_TYPE(TYPE_DATETIME);
915
403
    MATCH_PRIMITIVE_TYPE(TYPE_TIMESTAMPTZ);
916
    // MATCH_PRIMITIVE_TYPE(TYPE_BINARY);
917
    // MATCH_PRIMITIVE_TYPE(TYPE_DECIMAL);
918
    // MATCH_PRIMITIVE_TYPE(TYPE_CHAR);
919
    // MATCH_PRIMITIVE_TYPE(TYPE_STRUCT);
920
    // MATCH_PRIMITIVE_TYPE(TYPE_ARRAY);
921
    // MATCH_PRIMITIVE_TYPE(TYPE_MAP);
922
    // MATCH_PRIMITIVE_TYPE(TYPE_HLL);
923
383
    MATCH_PRIMITIVE_TYPE(TYPE_DECIMALV2);
924
    // MATCH_PRIMITIVE_TYPE(TYPE_BITMAP);
925
    // MATCH_PRIMITIVE_TYPE(TYPE_STRING);
926
    // MATCH_PRIMITIVE_TYPE(TYPE_QUANTILE_STATE);
927
383
    MATCH_PRIMITIVE_TYPE(TYPE_DATEV2);
928
355
    MATCH_PRIMITIVE_TYPE(TYPE_DATETIMEV2);
929
316
    MATCH_PRIMITIVE_TYPE(TYPE_TIMESTAMP_NS);
930
46
    MATCH_PRIMITIVE_TYPE(TYPE_TIMEV2);
931
16
    MATCH_PRIMITIVE_TYPE(TYPE_DECIMAL32);
932
16
    MATCH_PRIMITIVE_TYPE(TYPE_DECIMAL64);
933
16
    MATCH_PRIMITIVE_TYPE(TYPE_DECIMAL128I);
934
    // MATCH_PRIMITIVE_TYPE(TYPE_JSONB);
935
    // MATCH_PRIMITIVE_TYPE(TYPE_VARIANT);
936
    // MATCH_PRIMITIVE_TYPE(TYPE_LAMBDA_FUNCTION);
937
    // MATCH_PRIMITIVE_TYPE(TYPE_AGG_STATE);
938
16
    MATCH_PRIMITIVE_TYPE(TYPE_DECIMAL256);
939
16
    MATCH_PRIMITIVE_TYPE(TYPE_IPV4);
940
16
    MATCH_PRIMITIVE_TYPE(TYPE_IPV6);
941
18.4E
    MATCH_PRIMITIVE_TYPE(TYPE_UUID);
942
18.4E
    MATCH_PRIMITIVE_TYPE(TYPE_UINT32);
943
18.4E
    MATCH_PRIMITIVE_TYPE(TYPE_UINT64);
944
    // MATCH_PRIMITIVE_TYPE(TYPE_FIXED_LENGTH_OBJECT);
945
18.4E
    throw Exception(
946
18.4E
            Status::FatalError("type not supported for as_string_view, type={}", get_type_name()));
947
18.4E
}
948
949
#undef MATCH_PRIMITIVE_TYPE
950
951
// Important!!! This method is not accurate, for example, decimal to string, it uses scale == 0, because
952
// it do not know the actual scale of the decimal value. It is only used for debug printing, so it is fine.
953
16.9M
std::string Field::to_debug_string(int scale) const {
954
16.9M
    if (is_null()) {
955
0
        return "NULL";
956
0
    }
957
16.9M
    switch (type) {
958
37.7k
    case PrimitiveType::TYPE_BOOLEAN:
959
37.7k
        return get<TYPE_BOOLEAN>() ? "true" : "false";
960
1.54M
    case PrimitiveType::TYPE_TINYINT:
961
1.54M
        return CastToString::from_number(get<TYPE_TINYINT>());
962
47.8k
    case PrimitiveType::TYPE_SMALLINT:
963
47.8k
        return CastToString::from_number(get<TYPE_SMALLINT>());
964
709k
    case PrimitiveType::TYPE_INT:
965
709k
        return CastToString::from_number(get<TYPE_INT>());
966
199k
    case PrimitiveType::TYPE_BIGINT:
967
199k
        return CastToString::from_number(get<TYPE_BIGINT>());
968
46.6k
    case PrimitiveType::TYPE_LARGEINT:
969
46.6k
        return CastToString::from_number(get<TYPE_LARGEINT>());
970
0
    case PrimitiveType::TYPE_FLOAT:
971
0
        return CastToString::from_number(get<TYPE_FLOAT>());
972
0
    case PrimitiveType::TYPE_DOUBLE:
973
0
        return CastToString::from_number(get<TYPE_DOUBLE>());
974
0
    case PrimitiveType::TYPE_STRING:
975
1.44k
    case PrimitiveType::TYPE_CHAR:
976
13.3M
    case PrimitiveType::TYPE_VARCHAR:
977
13.3M
        return get<TYPE_STRING>();
978
0
    case PrimitiveType::TYPE_VARBINARY:
979
0
        return get<TYPE_VARBINARY>();
980
1.65k
    case PrimitiveType::TYPE_DATE:
981
1.65k
        return CastToString::from_date_or_datetime(get<TYPE_DATE>());
982
118
    case PrimitiveType::TYPE_DATETIME:
983
118
        return CastToString::from_date_or_datetime(get<TYPE_DATETIME>());
984
970k
    case PrimitiveType::TYPE_DATEV2:
985
970k
        return CastToString::from_datev2(get<TYPE_DATEV2>());
986
13.3k
    case PrimitiveType::TYPE_DATETIMEV2:
987
13.3k
        return CastToString::from_datetimev2(get<TYPE_DATETIMEV2>(), scale);
988
375
    case PrimitiveType::TYPE_TIMESTAMP_NS:
989
375
        return get<TYPE_TIMESTAMP_NS>().to_string();
990
28.2k
    case PrimitiveType::TYPE_TIMESTAMPTZ:
991
28.2k
        return CastToString::from_timestamptz(get<TYPE_TIMESTAMPTZ>(), scale);
992
474
    case PrimitiveType::TYPE_DECIMALV2:
993
474
        return get<TYPE_DECIMALV2>().to_string();
994
2.34k
    case PrimitiveType::TYPE_DECIMAL32:
995
2.34k
        return CastToString::from_decimal(get<TYPE_DECIMAL32>(), scale);
996
750
    case PrimitiveType::TYPE_DECIMAL64:
997
750
        return CastToString::from_decimal(get<TYPE_DECIMAL64>(), scale);
998
2.92k
    case PrimitiveType::TYPE_DECIMAL128I:
999
2.92k
        return CastToString::from_decimal(get<TYPE_DECIMAL128I>(), scale);
1000
1.33k
    case PrimitiveType::TYPE_DECIMAL256:
1001
1.33k
        return CastToString::from_decimal(get<TYPE_DECIMAL256>(), scale);
1002
0
    case PrimitiveType::TYPE_IPV4:
1003
0
        return CastToString::from_ip(get<TYPE_IPV4>());
1004
2
    case PrimitiveType::TYPE_IPV6:
1005
2
        return CastToString::from_ip(get<TYPE_IPV6>());
1006
444
    case PrimitiveType::TYPE_UUID:
1007
444
        return UUIDValue::to_string(get<TYPE_UUID>());
1008
0
    default:
1009
0
        throw Exception(Status::FatalError("type not supported for to_debug_string, type={}",
1010
0
                                           get_type_name()));
1011
0
        __builtin_unreachable();
1012
16.9M
    }
1013
16.9M
}
1014
1015
#define DECLARE_FUNCTION(FUNC_NAME)                                                               \
1016
    template void Field::FUNC_NAME<TYPE_NULL>(typename PrimitiveTypeTraits<TYPE_NULL>::CppType && \
1017
                                              rhs);                                               \
1018
    template void Field::FUNC_NAME<TYPE_TINYINT>(                                                 \
1019
            typename PrimitiveTypeTraits<TYPE_TINYINT>::CppType && rhs);                          \
1020
    template void Field::FUNC_NAME<TYPE_SMALLINT>(                                                \
1021
            typename PrimitiveTypeTraits<TYPE_SMALLINT>::CppType && rhs);                         \
1022
    template void Field::FUNC_NAME<TYPE_INT>(typename PrimitiveTypeTraits<TYPE_INT>::CppType &&   \
1023
                                             rhs);                                                \
1024
    template void Field::FUNC_NAME<TYPE_BIGINT>(                                                  \
1025
            typename PrimitiveTypeTraits<TYPE_BIGINT>::CppType && rhs);                           \
1026
    template void Field::FUNC_NAME<TYPE_LARGEINT>(                                                \
1027
            typename PrimitiveTypeTraits<TYPE_LARGEINT>::CppType && rhs);                         \
1028
    template void Field::FUNC_NAME<TYPE_DATE>(typename PrimitiveTypeTraits<TYPE_DATE>::CppType && \
1029
                                              rhs);                                               \
1030
    template void Field::FUNC_NAME<TYPE_DATETIME>(                                                \
1031
            typename PrimitiveTypeTraits<TYPE_DATETIME>::CppType && rhs);                         \
1032
    template void Field::FUNC_NAME<TYPE_DATEV2>(                                                  \
1033
            typename PrimitiveTypeTraits<TYPE_DATEV2>::CppType && rhs);                           \
1034
    template void Field::FUNC_NAME<TYPE_DATETIMEV2>(                                              \
1035
            typename PrimitiveTypeTraits<TYPE_DATETIMEV2>::CppType && rhs);                       \
1036
    template void Field::FUNC_NAME<TYPE_TIMESTAMP_NS>(                                            \
1037
            typename PrimitiveTypeTraits<TYPE_TIMESTAMP_NS>::CppType && rhs);                     \
1038
    template void Field::FUNC_NAME<TYPE_DECIMAL32>(                                               \
1039
            typename PrimitiveTypeTraits<TYPE_DECIMAL32>::CppType && rhs);                        \
1040
    template void Field::FUNC_NAME<TYPE_DECIMAL64>(                                               \
1041
            typename PrimitiveTypeTraits<TYPE_DECIMAL64>::CppType && rhs);                        \
1042
    template void Field::FUNC_NAME<TYPE_DECIMALV2>(                                               \
1043
            typename PrimitiveTypeTraits<TYPE_DECIMALV2>::CppType && rhs);                        \
1044
    template void Field::FUNC_NAME<TYPE_DECIMAL128I>(                                             \
1045
            typename PrimitiveTypeTraits<TYPE_DECIMAL128I>::CppType && rhs);                      \
1046
    template void Field::FUNC_NAME<TYPE_DECIMAL256>(                                              \
1047
            typename PrimitiveTypeTraits<TYPE_DECIMAL256>::CppType && rhs);                       \
1048
    template void Field::FUNC_NAME<TYPE_CHAR>(typename PrimitiveTypeTraits<TYPE_CHAR>::CppType && \
1049
                                              rhs);                                               \
1050
    template void Field::FUNC_NAME<TYPE_VARCHAR>(                                                 \
1051
            typename PrimitiveTypeTraits<TYPE_VARCHAR>::CppType && rhs);                          \
1052
    template void Field::FUNC_NAME<TYPE_STRING>(                                                  \
1053
            typename PrimitiveTypeTraits<TYPE_STRING>::CppType && rhs);                           \
1054
    template void Field::FUNC_NAME<TYPE_VARBINARY>(                                               \
1055
            typename PrimitiveTypeTraits<TYPE_VARBINARY>::CppType && rhs);                        \
1056
    template void Field::FUNC_NAME<TYPE_HLL>(typename PrimitiveTypeTraits<TYPE_HLL>::CppType &&   \
1057
                                             rhs);                                                \
1058
    template void Field::FUNC_NAME<TYPE_VARIANT>(                                                 \
1059
            typename PrimitiveTypeTraits<TYPE_VARIANT>::CppType && rhs);                          \
1060
    template void Field::FUNC_NAME<TYPE_QUANTILE_STATE>(                                          \
1061
            typename PrimitiveTypeTraits<TYPE_QUANTILE_STATE>::CppType && rhs);                   \
1062
    template void Field::FUNC_NAME<TYPE_ARRAY>(                                                   \
1063
            typename PrimitiveTypeTraits<TYPE_ARRAY>::CppType && rhs);                            \
1064
    template void Field::FUNC_NAME<TYPE_NULL>(                                                    \
1065
            const typename PrimitiveTypeTraits<TYPE_NULL>::CppType& rhs);                         \
1066
    template void Field::FUNC_NAME<TYPE_TINYINT>(                                                 \
1067
            const typename PrimitiveTypeTraits<TYPE_TINYINT>::CppType& rhs);                      \
1068
    template void Field::FUNC_NAME<TYPE_SMALLINT>(                                                \
1069
            const typename PrimitiveTypeTraits<TYPE_SMALLINT>::CppType& rhs);                     \
1070
    template void Field::FUNC_NAME<TYPE_INT>(                                                     \
1071
            const typename PrimitiveTypeTraits<TYPE_INT>::CppType& rhs);                          \
1072
    template void Field::FUNC_NAME<TYPE_BIGINT>(                                                  \
1073
            const typename PrimitiveTypeTraits<TYPE_BIGINT>::CppType& rhs);                       \
1074
    template void Field::FUNC_NAME<TYPE_LARGEINT>(                                                \
1075
            const typename PrimitiveTypeTraits<TYPE_LARGEINT>::CppType& rhs);                     \
1076
    template void Field::FUNC_NAME<TYPE_DATE>(                                                    \
1077
            const typename PrimitiveTypeTraits<TYPE_DATE>::CppType& rhs);                         \
1078
    template void Field::FUNC_NAME<TYPE_DATETIME>(                                                \
1079
            const typename PrimitiveTypeTraits<TYPE_DATETIME>::CppType& rhs);                     \
1080
    template void Field::FUNC_NAME<TYPE_DATEV2>(                                                  \
1081
            const typename PrimitiveTypeTraits<TYPE_DATEV2>::CppType& rhs);                       \
1082
    template void Field::FUNC_NAME<TYPE_DATETIMEV2>(                                              \
1083
            const typename PrimitiveTypeTraits<TYPE_DATETIMEV2>::CppType& rhs);                   \
1084
    template void Field::FUNC_NAME<TYPE_TIMESTAMP_NS>(                                            \
1085
            const typename PrimitiveTypeTraits<TYPE_TIMESTAMP_NS>::CppType& rhs);                 \
1086
    template void Field::FUNC_NAME<TYPE_TIMESTAMPTZ>(                                             \
1087
            const typename PrimitiveTypeTraits<TYPE_TIMESTAMPTZ>::CppType& rhs);                  \
1088
    template void Field::FUNC_NAME<TYPE_TIMESTAMPTZ>(                                             \
1089
            typename PrimitiveTypeTraits<TYPE_TIMESTAMPTZ>::CppType && rhs);                      \
1090
    template void Field::FUNC_NAME<TYPE_DECIMAL32>(                                               \
1091
            const typename PrimitiveTypeTraits<TYPE_DECIMAL32>::CppType& rhs);                    \
1092
    template void Field::FUNC_NAME<TYPE_DECIMAL64>(                                               \
1093
            const typename PrimitiveTypeTraits<TYPE_DECIMAL64>::CppType& rhs);                    \
1094
    template void Field::FUNC_NAME<TYPE_DECIMALV2>(                                               \
1095
            const typename PrimitiveTypeTraits<TYPE_DECIMALV2>::CppType& rhs);                    \
1096
    template void Field::FUNC_NAME<TYPE_DECIMAL128I>(                                             \
1097
            const typename PrimitiveTypeTraits<TYPE_DECIMAL128I>::CppType& rhs);                  \
1098
    template void Field::FUNC_NAME<TYPE_DECIMAL256>(                                              \
1099
            const typename PrimitiveTypeTraits<TYPE_DECIMAL256>::CppType& rhs);                   \
1100
    template void Field::FUNC_NAME<TYPE_CHAR>(                                                    \
1101
            const typename PrimitiveTypeTraits<TYPE_CHAR>::CppType& rhs);                         \
1102
    template void Field::FUNC_NAME<TYPE_VARCHAR>(                                                 \
1103
            const typename PrimitiveTypeTraits<TYPE_VARCHAR>::CppType& rhs);                      \
1104
    template void Field::FUNC_NAME<TYPE_STRING>(                                                  \
1105
            const typename PrimitiveTypeTraits<TYPE_STRING>::CppType& rhs);                       \
1106
    template void Field::FUNC_NAME<TYPE_VARBINARY>(                                               \
1107
            const typename PrimitiveTypeTraits<TYPE_VARBINARY>::CppType& rhs);                    \
1108
    template void Field::FUNC_NAME<TYPE_HLL>(                                                     \
1109
            const typename PrimitiveTypeTraits<TYPE_HLL>::CppType& rhs);                          \
1110
    template void Field::FUNC_NAME<TYPE_VARIANT>(                                                 \
1111
            const typename PrimitiveTypeTraits<TYPE_VARIANT>::CppType& rhs);                      \
1112
    template void Field::FUNC_NAME<TYPE_QUANTILE_STATE>(                                          \
1113
            const typename PrimitiveTypeTraits<TYPE_QUANTILE_STATE>::CppType& rhs);               \
1114
    template void Field::FUNC_NAME<TYPE_ARRAY>(                                                   \
1115
            const typename PrimitiveTypeTraits<TYPE_ARRAY>::CppType& rhs);                        \
1116
    template void Field::FUNC_NAME<TYPE_IPV4>(typename PrimitiveTypeTraits<TYPE_IPV4>::CppType && \
1117
                                              rhs);                                               \
1118
    template void Field::FUNC_NAME<TYPE_IPV4>(                                                    \
1119
            const typename PrimitiveTypeTraits<TYPE_IPV4>::CppType& rhs);                         \
1120
    template void Field::FUNC_NAME<TYPE_IPV6>(typename PrimitiveTypeTraits<TYPE_IPV6>::CppType && \
1121
                                              rhs);                                               \
1122
    template void Field::FUNC_NAME<TYPE_IPV6>(                                                    \
1123
            const typename PrimitiveTypeTraits<TYPE_IPV6>::CppType& rhs);                         \
1124
    template void Field::FUNC_NAME<TYPE_UUID>(typename PrimitiveTypeTraits<TYPE_UUID>::CppType && \
1125
                                              rhs);                                               \
1126
    template void Field::FUNC_NAME<TYPE_UUID>(                                                    \
1127
            const typename PrimitiveTypeTraits<TYPE_UUID>::CppType& rhs);                         \
1128
    template void Field::FUNC_NAME<TYPE_BOOLEAN>(                                                 \
1129
            typename PrimitiveTypeTraits<TYPE_BOOLEAN>::CppType && rhs);                          \
1130
    template void Field::FUNC_NAME<TYPE_BOOLEAN>(                                                 \
1131
            const typename PrimitiveTypeTraits<TYPE_BOOLEAN>::CppType& rhs);                      \
1132
    template void Field::FUNC_NAME<TYPE_FLOAT>(                                                   \
1133
            typename PrimitiveTypeTraits<TYPE_FLOAT>::CppType && rhs);                            \
1134
    template void Field::FUNC_NAME<TYPE_FLOAT>(                                                   \
1135
            const typename PrimitiveTypeTraits<TYPE_FLOAT>::CppType& rhs);                        \
1136
    template void Field::FUNC_NAME<TYPE_DOUBLE>(                                                  \
1137
            typename PrimitiveTypeTraits<TYPE_DOUBLE>::CppType && rhs);                           \
1138
    template void Field::FUNC_NAME<TYPE_DOUBLE>(                                                  \
1139
            const typename PrimitiveTypeTraits<TYPE_DOUBLE>::CppType& rhs);                       \
1140
    template void Field::FUNC_NAME<TYPE_JSONB>(                                                   \
1141
            typename PrimitiveTypeTraits<TYPE_JSONB>::CppType && rhs);                            \
1142
    template void Field::FUNC_NAME<TYPE_JSONB>(                                                   \
1143
            const typename PrimitiveTypeTraits<TYPE_JSONB>::CppType& rhs);                        \
1144
    template void Field::FUNC_NAME<TYPE_STRUCT>(                                                  \
1145
            typename PrimitiveTypeTraits<TYPE_STRUCT>::CppType && rhs);                           \
1146
    template void Field::FUNC_NAME<TYPE_STRUCT>(                                                  \
1147
            const typename PrimitiveTypeTraits<TYPE_STRUCT>::CppType& rhs);                       \
1148
    template void Field::FUNC_NAME<TYPE_MAP>(typename PrimitiveTypeTraits<TYPE_MAP>::CppType &&   \
1149
                                             rhs);                                                \
1150
    template void Field::FUNC_NAME<TYPE_MAP>(                                                     \
1151
            const typename PrimitiveTypeTraits<TYPE_MAP>::CppType& rhs);                          \
1152
    template void Field::FUNC_NAME<TYPE_BITMAP>(                                                  \
1153
            typename PrimitiveTypeTraits<TYPE_BITMAP>::CppType && rhs);                           \
1154
    template void Field::FUNC_NAME<TYPE_BITMAP>(                                                  \
1155
            const typename PrimitiveTypeTraits<TYPE_BITMAP>::CppType& rhs);                       \
1156
    template void Field::FUNC_NAME<TYPE_TIMEV2>(                                                  \
1157
            const typename PrimitiveTypeTraits<TYPE_TIMEV2>::CppType& rhs);                       \
1158
    template void Field::FUNC_NAME<TYPE_TIMEV2>(                                                  \
1159
            typename PrimitiveTypeTraits<TYPE_TIMEV2>::CppType && rhs);                           \
1160
    template void Field::FUNC_NAME<TYPE_UINT32>(                                                  \
1161
            const typename PrimitiveTypeTraits<TYPE_UINT32>::CppType& rhs);                       \
1162
    template void Field::FUNC_NAME<TYPE_UINT32>(                                                  \
1163
            typename PrimitiveTypeTraits<TYPE_UINT32>::CppType && rhs);                           \
1164
    template void Field::FUNC_NAME<TYPE_UINT64>(                                                  \
1165
            const typename PrimitiveTypeTraits<TYPE_UINT64>::CppType& rhs);                       \
1166
    template void Field::FUNC_NAME<TYPE_UINT64>(                                                  \
1167
            typename PrimitiveTypeTraits<TYPE_UINT64>::CppType && rhs);
1168
DECLARE_FUNCTION(create_concrete)
1169
DECLARE_FUNCTION(assign_concrete)
1170
#undef DECLARE_FUNCTION
1171
1172
#define DECLARE_FUNCTION(TYPE_NAME)                                                          \
1173
    template typename PrimitiveTypeTraits<TYPE_NAME>::CppType& Field::get<TYPE_NAME>();      \
1174
    template const typename PrimitiveTypeTraits<TYPE_NAME>::CppType& Field::get<TYPE_NAME>() \
1175
            const;                                                                           \
1176
    template void Field::destroy<TYPE_NAME>();
1177
DECLARE_FUNCTION(TYPE_NULL)
1178
DECLARE_FUNCTION(TYPE_TINYINT)
1179
DECLARE_FUNCTION(TYPE_SMALLINT)
1180
DECLARE_FUNCTION(TYPE_INT)
1181
DECLARE_FUNCTION(TYPE_BIGINT)
1182
DECLARE_FUNCTION(TYPE_LARGEINT)
1183
DECLARE_FUNCTION(TYPE_DATE)
1184
DECLARE_FUNCTION(TYPE_DATETIME)
1185
DECLARE_FUNCTION(TYPE_DATEV2)
1186
DECLARE_FUNCTION(TYPE_DATETIMEV2)
1187
DECLARE_FUNCTION(TYPE_TIMESTAMP_NS)
1188
DECLARE_FUNCTION(TYPE_TIMESTAMPTZ)
1189
DECLARE_FUNCTION(TYPE_DECIMAL32)
1190
DECLARE_FUNCTION(TYPE_DECIMAL64)
1191
DECLARE_FUNCTION(TYPE_DECIMALV2)
1192
DECLARE_FUNCTION(TYPE_DECIMAL128I)
1193
DECLARE_FUNCTION(TYPE_DECIMAL256)
1194
DECLARE_FUNCTION(TYPE_CHAR)
1195
DECLARE_FUNCTION(TYPE_VARCHAR)
1196
DECLARE_FUNCTION(TYPE_STRING)
1197
DECLARE_FUNCTION(TYPE_VARBINARY)
1198
DECLARE_FUNCTION(TYPE_HLL)
1199
DECLARE_FUNCTION(TYPE_VARIANT)
1200
DECLARE_FUNCTION(TYPE_QUANTILE_STATE)
1201
DECLARE_FUNCTION(TYPE_ARRAY)
1202
DECLARE_FUNCTION(TYPE_IPV4)
1203
DECLARE_FUNCTION(TYPE_IPV6)
1204
DECLARE_FUNCTION(TYPE_UUID)
1205
DECLARE_FUNCTION(TYPE_BOOLEAN)
1206
DECLARE_FUNCTION(TYPE_FLOAT)
1207
DECLARE_FUNCTION(TYPE_DOUBLE)
1208
DECLARE_FUNCTION(TYPE_JSONB)
1209
DECLARE_FUNCTION(TYPE_STRUCT)
1210
DECLARE_FUNCTION(TYPE_MAP)
1211
DECLARE_FUNCTION(TYPE_BITMAP)
1212
DECLARE_FUNCTION(TYPE_TIMEV2)
1213
DECLARE_FUNCTION(TYPE_UINT32)
1214
DECLARE_FUNCTION(TYPE_UINT64)
1215
#undef DECLARE_FUNCTION
1216
} // namespace doris