Coverage Report

Created: 2026-04-07 10:24

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