Coverage Report

Created: 2026-03-23 06:31

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
243M
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
243M
    using StorageType = typename PrimitiveTypeTraits<Type>::CppType;
102
243M
    new (&storage) StorageType(std::move(x));
103
243M
    type = Type;
104
243M
    DCHECK_NE(type, PrimitiveType::INVALID_TYPE);
105
243M
}
_ZN5doris5Field15create_concreteILNS_13PrimitiveTypeE1EEEvONS_19PrimitiveTypeTraitsIXT_EE7CppTypeE
Line
Count
Source
95
328k
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
328k
    using StorageType = typename PrimitiveTypeTraits<Type>::CppType;
102
328k
    new (&storage) StorageType(std::move(x));
103
328k
    type = Type;
104
    DCHECK_NE(type, PrimitiveType::INVALID_TYPE);
105
328k
}
_ZN5doris5Field15create_concreteILNS_13PrimitiveTypeE3EEEvONS_19PrimitiveTypeTraitsIXT_EE7CppTypeE
Line
Count
Source
95
14.4M
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
14.4M
    using StorageType = typename PrimitiveTypeTraits<Type>::CppType;
102
14.4M
    new (&storage) StorageType(std::move(x));
103
14.4M
    type = Type;
104
    DCHECK_NE(type, PrimitiveType::INVALID_TYPE);
105
14.4M
}
_ZN5doris5Field15create_concreteILNS_13PrimitiveTypeE4EEEvONS_19PrimitiveTypeTraitsIXT_EE7CppTypeE
Line
Count
Source
95
294k
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
294k
    using StorageType = typename PrimitiveTypeTraits<Type>::CppType;
102
294k
    new (&storage) StorageType(std::move(x));
103
294k
    type = Type;
104
    DCHECK_NE(type, PrimitiveType::INVALID_TYPE);
105
294k
}
_ZN5doris5Field15create_concreteILNS_13PrimitiveTypeE5EEEvONS_19PrimitiveTypeTraitsIXT_EE7CppTypeE
Line
Count
Source
95
23.1M
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
23.1M
    using StorageType = typename PrimitiveTypeTraits<Type>::CppType;
102
23.1M
    new (&storage) StorageType(std::move(x));
103
23.1M
    type = Type;
104
    DCHECK_NE(type, PrimitiveType::INVALID_TYPE);
105
23.1M
}
_ZN5doris5Field15create_concreteILNS_13PrimitiveTypeE6EEEvONS_19PrimitiveTypeTraitsIXT_EE7CppTypeE
Line
Count
Source
95
57.2M
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
57.2M
    using StorageType = typename PrimitiveTypeTraits<Type>::CppType;
102
57.2M
    new (&storage) StorageType(std::move(x));
103
57.2M
    type = Type;
104
    DCHECK_NE(type, PrimitiveType::INVALID_TYPE);
105
57.2M
}
_ZN5doris5Field15create_concreteILNS_13PrimitiveTypeE7EEEvONS_19PrimitiveTypeTraitsIXT_EE7CppTypeE
Line
Count
Source
95
385k
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
385k
    using StorageType = typename PrimitiveTypeTraits<Type>::CppType;
102
385k
    new (&storage) StorageType(std::move(x));
103
385k
    type = Type;
104
    DCHECK_NE(type, PrimitiveType::INVALID_TYPE);
105
385k
}
_ZN5doris5Field15create_concreteILNS_13PrimitiveTypeE11EEEvONS_19PrimitiveTypeTraitsIXT_EE7CppTypeE
Line
Count
Source
95
37.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
37.6k
    using StorageType = typename PrimitiveTypeTraits<Type>::CppType;
102
37.6k
    new (&storage) StorageType(std::move(x));
103
37.6k
    type = Type;
104
    DCHECK_NE(type, PrimitiveType::INVALID_TYPE);
105
37.6k
}
_ZN5doris5Field15create_concreteILNS_13PrimitiveTypeE12EEEvONS_19PrimitiveTypeTraitsIXT_EE7CppTypeE
Line
Count
Source
95
44.0k
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.0k
    using StorageType = typename PrimitiveTypeTraits<Type>::CppType;
102
44.0k
    new (&storage) StorageType(std::move(x));
103
44.0k
    type = Type;
104
    DCHECK_NE(type, PrimitiveType::INVALID_TYPE);
105
44.0k
}
_ZN5doris5Field15create_concreteILNS_13PrimitiveTypeE25EEEvONS_19PrimitiveTypeTraitsIXT_EE7CppTypeE
Line
Count
Source
95
973k
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
973k
    using StorageType = typename PrimitiveTypeTraits<Type>::CppType;
102
973k
    new (&storage) StorageType(std::move(x));
103
973k
    type = Type;
104
    DCHECK_NE(type, PrimitiveType::INVALID_TYPE);
105
973k
}
_ZN5doris5Field15create_concreteILNS_13PrimitiveTypeE26EEEvONS_19PrimitiveTypeTraitsIXT_EE7CppTypeE
Line
Count
Source
95
5.92M
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.92M
    using StorageType = typename PrimitiveTypeTraits<Type>::CppType;
102
5.92M
    new (&storage) StorageType(std::move(x));
103
5.92M
    type = Type;
104
    DCHECK_NE(type, PrimitiveType::INVALID_TYPE);
105
5.92M
}
_ZN5doris5Field15create_concreteILNS_13PrimitiveTypeE28EEEvONS_19PrimitiveTypeTraitsIXT_EE7CppTypeE
Line
Count
Source
95
134k
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
134k
    using StorageType = typename PrimitiveTypeTraits<Type>::CppType;
102
134k
    new (&storage) StorageType(std::move(x));
103
134k
    type = Type;
104
    DCHECK_NE(type, PrimitiveType::INVALID_TYPE);
105
134k
}
_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.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
17.3k
    using StorageType = typename PrimitiveTypeTraits<Type>::CppType;
102
17.3k
    new (&storage) StorageType(std::move(x));
103
17.3k
    type = Type;
104
    DCHECK_NE(type, PrimitiveType::INVALID_TYPE);
105
17.3k
}
_ZN5doris5Field15create_concreteILNS_13PrimitiveTypeE30EEEvONS_19PrimitiveTypeTraitsIXT_EE7CppTypeE
Line
Count
Source
95
261k
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
261k
    using StorageType = typename PrimitiveTypeTraits<Type>::CppType;
102
261k
    new (&storage) StorageType(std::move(x));
103
261k
    type = Type;
104
    DCHECK_NE(type, PrimitiveType::INVALID_TYPE);
105
261k
}
_ZN5doris5Field15create_concreteILNS_13PrimitiveTypeE35EEEvONS_19PrimitiveTypeTraitsIXT_EE7CppTypeE
Line
Count
Source
95
62.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
62.2k
    using StorageType = typename PrimitiveTypeTraits<Type>::CppType;
102
62.2k
    new (&storage) StorageType(std::move(x));
103
62.2k
    type = Type;
104
    DCHECK_NE(type, PrimitiveType::INVALID_TYPE);
105
62.2k
}
_ZN5doris5Field15create_concreteILNS_13PrimitiveTypeE15EEEvONS_19PrimitiveTypeTraitsIXT_EE7CppTypeE
Line
Count
Source
95
178k
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
178k
    using StorageType = typename PrimitiveTypeTraits<Type>::CppType;
102
178k
    new (&storage) StorageType(std::move(x));
103
178k
    type = Type;
104
    DCHECK_NE(type, PrimitiveType::INVALID_TYPE);
105
178k
}
_ZN5doris5Field15create_concreteILNS_13PrimitiveTypeE10EEEvONS_19PrimitiveTypeTraitsIXT_EE7CppTypeE
Line
Count
Source
95
2.69M
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.69M
    using StorageType = typename PrimitiveTypeTraits<Type>::CppType;
102
2.69M
    new (&storage) StorageType(std::move(x));
103
2.69M
    type = Type;
104
    DCHECK_NE(type, PrimitiveType::INVALID_TYPE);
105
2.69M
}
_ZN5doris5Field15create_concreteILNS_13PrimitiveTypeE23EEEvONS_19PrimitiveTypeTraitsIXT_EE7CppTypeE
Line
Count
Source
95
69.4M
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
69.4M
    using StorageType = typename PrimitiveTypeTraits<Type>::CppType;
102
69.4M
    new (&storage) StorageType(std::move(x));
103
69.4M
    type = Type;
104
    DCHECK_NE(type, PrimitiveType::INVALID_TYPE);
105
69.4M
}
_ZN5doris5Field15create_concreteILNS_13PrimitiveTypeE41EEEvONS_19PrimitiveTypeTraitsIXT_EE7CppTypeE
Line
Count
Source
95
74
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
74
    using StorageType = typename PrimitiveTypeTraits<Type>::CppType;
102
74
    new (&storage) StorageType(std::move(x));
103
74
    type = Type;
104
    DCHECK_NE(type, PrimitiveType::INVALID_TYPE);
105
74
}
_ZN5doris5Field15create_concreteILNS_13PrimitiveTypeE19EEEvONS_19PrimitiveTypeTraitsIXT_EE7CppTypeE
Line
Count
Source
95
24
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
24
    using StorageType = typename PrimitiveTypeTraits<Type>::CppType;
102
24
    new (&storage) StorageType(std::move(x));
103
24
    type = Type;
104
    DCHECK_NE(type, PrimitiveType::INVALID_TYPE);
105
24
}
_ZN5doris5Field15create_concreteILNS_13PrimitiveTypeE32EEEvONS_19PrimitiveTypeTraitsIXT_EE7CppTypeE
Line
Count
Source
95
927k
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
927k
    using StorageType = typename PrimitiveTypeTraits<Type>::CppType;
102
927k
    new (&storage) StorageType(std::move(x));
103
927k
    type = Type;
104
    DCHECK_NE(type, PrimitiveType::INVALID_TYPE);
105
927k
}
_ZN5doris5Field15create_concreteILNS_13PrimitiveTypeE24EEEvONS_19PrimitiveTypeTraitsIXT_EE7CppTypeE
Line
Count
Source
95
20
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
20
    using StorageType = typename PrimitiveTypeTraits<Type>::CppType;
102
20
    new (&storage) StorageType(std::move(x));
103
20
    type = Type;
104
    DCHECK_NE(type, PrimitiveType::INVALID_TYPE);
105
20
}
_ZN5doris5Field15create_concreteILNS_13PrimitiveTypeE17EEEvONS_19PrimitiveTypeTraitsIXT_EE7CppTypeE
Line
Count
Source
95
5.24M
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.24M
    using StorageType = typename PrimitiveTypeTraits<Type>::CppType;
102
5.24M
    new (&storage) StorageType(std::move(x));
103
5.24M
    type = Type;
104
    DCHECK_NE(type, PrimitiveType::INVALID_TYPE);
105
5.24M
}
Unexecuted instantiation: _ZN5doris5Field15create_concreteILNS_13PrimitiveTypeE21EEEvONS_19PrimitiveTypeTraitsIXT_EE7CppTypeE
_ZN5doris5Field15create_concreteILNS_13PrimitiveTypeE42EEEvONS_19PrimitiveTypeTraitsIXT_EE7CppTypeE
Line
Count
Source
95
78.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
78.2k
    using StorageType = typename PrimitiveTypeTraits<Type>::CppType;
102
78.2k
    new (&storage) StorageType(std::move(x));
103
78.2k
    type = Type;
104
    DCHECK_NE(type, PrimitiveType::INVALID_TYPE);
105
78.2k
}
_ZN5doris5Field15create_concreteILNS_13PrimitiveTypeE36EEEvONS_19PrimitiveTypeTraitsIXT_EE7CppTypeE
Line
Count
Source
95
100k
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
100k
    using StorageType = typename PrimitiveTypeTraits<Type>::CppType;
102
100k
    new (&storage) StorageType(std::move(x));
103
100k
    type = Type;
104
    DCHECK_NE(type, PrimitiveType::INVALID_TYPE);
105
100k
}
_ZN5doris5Field15create_concreteILNS_13PrimitiveTypeE37EEEvONS_19PrimitiveTypeTraitsIXT_EE7CppTypeE
Line
Count
Source
95
40.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
40.9k
    using StorageType = typename PrimitiveTypeTraits<Type>::CppType;
102
40.9k
    new (&storage) StorageType(std::move(x));
103
40.9k
    type = Type;
104
    DCHECK_NE(type, PrimitiveType::INVALID_TYPE);
105
40.9k
}
_ZN5doris5Field15create_concreteILNS_13PrimitiveTypeE2EEEvONS_19PrimitiveTypeTraitsIXT_EE7CppTypeE
Line
Count
Source
95
30.2M
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.2M
    using StorageType = typename PrimitiveTypeTraits<Type>::CppType;
102
30.2M
    new (&storage) StorageType(std::move(x));
103
30.2M
    type = Type;
104
    DCHECK_NE(type, PrimitiveType::INVALID_TYPE);
105
30.2M
}
_ZN5doris5Field15create_concreteILNS_13PrimitiveTypeE8EEEvONS_19PrimitiveTypeTraitsIXT_EE7CppTypeE
Line
Count
Source
95
169k
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
169k
    using StorageType = typename PrimitiveTypeTraits<Type>::CppType;
102
169k
    new (&storage) StorageType(std::move(x));
103
169k
    type = Type;
104
    DCHECK_NE(type, PrimitiveType::INVALID_TYPE);
105
169k
}
_ZN5doris5Field15create_concreteILNS_13PrimitiveTypeE9EEEvONS_19PrimitiveTypeTraitsIXT_EE7CppTypeE
Line
Count
Source
95
10.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
10.0M
    using StorageType = typename PrimitiveTypeTraits<Type>::CppType;
102
10.0M
    new (&storage) StorageType(std::move(x));
103
10.0M
    type = Type;
104
    DCHECK_NE(type, PrimitiveType::INVALID_TYPE);
105
10.0M
}
_ZN5doris5Field15create_concreteILNS_13PrimitiveTypeE31EEEvONS_19PrimitiveTypeTraitsIXT_EE7CppTypeE
Line
Count
Source
95
6.91M
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.91M
    using StorageType = typename PrimitiveTypeTraits<Type>::CppType;
102
6.91M
    new (&storage) StorageType(std::move(x));
103
6.91M
    type = Type;
104
    DCHECK_NE(type, PrimitiveType::INVALID_TYPE);
105
6.91M
}
_ZN5doris5Field15create_concreteILNS_13PrimitiveTypeE16EEEvONS_19PrimitiveTypeTraitsIXT_EE7CppTypeE
Line
Count
Source
95
11.0k
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.0k
    using StorageType = typename PrimitiveTypeTraits<Type>::CppType;
102
11.0k
    new (&storage) StorageType(std::move(x));
103
11.0k
    type = Type;
104
    DCHECK_NE(type, PrimitiveType::INVALID_TYPE);
105
11.0k
}
_ZN5doris5Field15create_concreteILNS_13PrimitiveTypeE18EEEvONS_19PrimitiveTypeTraitsIXT_EE7CppTypeE
Line
Count
Source
95
35.1k
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.1k
    using StorageType = typename PrimitiveTypeTraits<Type>::CppType;
102
35.1k
    new (&storage) StorageType(std::move(x));
103
35.1k
    type = Type;
104
    DCHECK_NE(type, PrimitiveType::INVALID_TYPE);
105
35.1k
}
_ZN5doris5Field15create_concreteILNS_13PrimitiveTypeE22EEEvONS_19PrimitiveTypeTraitsIXT_EE7CppTypeE
Line
Count
Source
95
75
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
75
    using StorageType = typename PrimitiveTypeTraits<Type>::CppType;
102
75
    new (&storage) StorageType(std::move(x));
103
75
    type = Type;
104
    DCHECK_NE(type, PrimitiveType::INVALID_TYPE);
105
75
}
_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
282M
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
282M
    using StorageType = typename PrimitiveTypeTraits<Type>::CppType;
115
282M
    new (&storage) StorageType(x);
116
282M
    type = Type;
117
282M
    DCHECK_NE(type, PrimitiveType::INVALID_TYPE);
118
282M
}
Unexecuted instantiation: _ZN5doris5Field15create_concreteILNS_13PrimitiveTypeE21EEEvRKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeE
_ZN5doris5Field15create_concreteILNS_13PrimitiveTypeE1EEEvRKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeE
Line
Count
Source
108
39.5M
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.5M
    using StorageType = typename PrimitiveTypeTraits<Type>::CppType;
115
39.5M
    new (&storage) StorageType(x);
116
39.5M
    type = Type;
117
    DCHECK_NE(type, PrimitiveType::INVALID_TYPE);
118
39.5M
}
_ZN5doris5Field15create_concreteILNS_13PrimitiveTypeE3EEEvRKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeE
Line
Count
Source
108
5.38M
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.38M
    using StorageType = typename PrimitiveTypeTraits<Type>::CppType;
115
5.38M
    new (&storage) StorageType(x);
116
5.38M
    type = Type;
117
    DCHECK_NE(type, PrimitiveType::INVALID_TYPE);
118
5.38M
}
_ZN5doris5Field15create_concreteILNS_13PrimitiveTypeE4EEEvRKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeE
Line
Count
Source
108
4.05M
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.05M
    using StorageType = typename PrimitiveTypeTraits<Type>::CppType;
115
4.05M
    new (&storage) StorageType(x);
116
4.05M
    type = Type;
117
    DCHECK_NE(type, PrimitiveType::INVALID_TYPE);
118
4.05M
}
_ZN5doris5Field15create_concreteILNS_13PrimitiveTypeE5EEEvRKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeE
Line
Count
Source
108
20.8M
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.8M
    using StorageType = typename PrimitiveTypeTraits<Type>::CppType;
115
20.8M
    new (&storage) StorageType(x);
116
20.8M
    type = Type;
117
    DCHECK_NE(type, PrimitiveType::INVALID_TYPE);
118
20.8M
}
_ZN5doris5Field15create_concreteILNS_13PrimitiveTypeE6EEEvRKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeE
Line
Count
Source
108
9.76M
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.76M
    using StorageType = typename PrimitiveTypeTraits<Type>::CppType;
115
9.76M
    new (&storage) StorageType(x);
116
9.76M
    type = Type;
117
    DCHECK_NE(type, PrimitiveType::INVALID_TYPE);
118
9.76M
}
_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.44M
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.44M
    using StorageType = typename PrimitiveTypeTraits<Type>::CppType;
115
3.44M
    new (&storage) StorageType(x);
116
3.44M
    type = Type;
117
    DCHECK_NE(type, PrimitiveType::INVALID_TYPE);
118
3.44M
}
_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.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
5.61M
    using StorageType = typename PrimitiveTypeTraits<Type>::CppType;
115
5.61M
    new (&storage) StorageType(x);
116
5.61M
    type = Type;
117
    DCHECK_NE(type, PrimitiveType::INVALID_TYPE);
118
5.61M
}
_ZN5doris5Field15create_concreteILNS_13PrimitiveTypeE26EEEvRKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeE
Line
Count
Source
108
4.18M
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.18M
    using StorageType = typename PrimitiveTypeTraits<Type>::CppType;
115
4.18M
    new (&storage) StorageType(x);
116
4.18M
    type = Type;
117
    DCHECK_NE(type, PrimitiveType::INVALID_TYPE);
118
4.18M
}
_ZN5doris5Field15create_concreteILNS_13PrimitiveTypeE42EEEvRKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeE
Line
Count
Source
108
52.0k
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
52.0k
    using StorageType = typename PrimitiveTypeTraits<Type>::CppType;
115
52.0k
    new (&storage) StorageType(x);
116
52.0k
    type = Type;
117
    DCHECK_NE(type, PrimitiveType::INVALID_TYPE);
118
52.0k
}
_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.64M
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.64M
    using StorageType = typename PrimitiveTypeTraits<Type>::CppType;
115
3.64M
    new (&storage) StorageType(x);
116
3.64M
    type = Type;
117
    DCHECK_NE(type, PrimitiveType::INVALID_TYPE);
118
3.64M
}
_ZN5doris5Field15create_concreteILNS_13PrimitiveTypeE20EEEvRKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeE
Line
Count
Source
108
10.0k
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
10.0k
    using StorageType = typename PrimitiveTypeTraits<Type>::CppType;
115
10.0k
    new (&storage) StorageType(x);
116
10.0k
    type = Type;
117
    DCHECK_NE(type, PrimitiveType::INVALID_TYPE);
118
10.0k
}
_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.71M
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.71M
    using StorageType = typename PrimitiveTypeTraits<Type>::CppType;
115
3.71M
    new (&storage) StorageType(x);
116
3.71M
    type = Type;
117
    DCHECK_NE(type, PrimitiveType::INVALID_TYPE);
118
3.71M
}
_ZN5doris5Field15create_concreteILNS_13PrimitiveTypeE15EEEvRKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeE
Line
Count
Source
108
3.94k
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.94k
    using StorageType = typename PrimitiveTypeTraits<Type>::CppType;
115
3.94k
    new (&storage) StorageType(x);
116
3.94k
    type = Type;
117
    DCHECK_NE(type, PrimitiveType::INVALID_TYPE);
118
3.94k
}
_ZN5doris5Field15create_concreteILNS_13PrimitiveTypeE10EEEvRKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeE
Line
Count
Source
108
11.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
11.3M
    using StorageType = typename PrimitiveTypeTraits<Type>::CppType;
115
11.3M
    new (&storage) StorageType(x);
116
11.3M
    type = Type;
117
    DCHECK_NE(type, PrimitiveType::INVALID_TYPE);
118
11.3M
}
_ZN5doris5Field15create_concreteILNS_13PrimitiveTypeE23EEEvRKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeE
Line
Count
Source
108
31.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
31.3M
    using StorageType = typename PrimitiveTypeTraits<Type>::CppType;
115
31.3M
    new (&storage) StorageType(x);
116
31.3M
    type = Type;
117
    DCHECK_NE(type, PrimitiveType::INVALID_TYPE);
118
31.3M
}
_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.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
94.0M
    using StorageType = typename PrimitiveTypeTraits<Type>::CppType;
115
94.0M
    new (&storage) StorageType(x);
116
94.0M
    type = Type;
117
    DCHECK_NE(type, PrimitiveType::INVALID_TYPE);
118
94.0M
}
_ZN5doris5Field15create_concreteILNS_13PrimitiveTypeE36EEEvRKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeE
Line
Count
Source
108
68.8k
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
68.8k
    using StorageType = typename PrimitiveTypeTraits<Type>::CppType;
115
68.8k
    new (&storage) StorageType(x);
116
68.8k
    type = Type;
117
    DCHECK_NE(type, PrimitiveType::INVALID_TYPE);
118
68.8k
}
_ZN5doris5Field15create_concreteILNS_13PrimitiveTypeE37EEEvRKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeE
Line
Count
Source
108
48.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
48.3k
    using StorageType = typename PrimitiveTypeTraits<Type>::CppType;
115
48.3k
    new (&storage) StorageType(x);
116
48.3k
    type = Type;
117
    DCHECK_NE(type, PrimitiveType::INVALID_TYPE);
118
48.3k
}
_ZN5doris5Field15create_concreteILNS_13PrimitiveTypeE2EEEvRKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeE
Line
Count
Source
108
4.09M
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.09M
    using StorageType = typename PrimitiveTypeTraits<Type>::CppType;
115
4.09M
    new (&storage) StorageType(x);
116
4.09M
    type = Type;
117
    DCHECK_NE(type, PrimitiveType::INVALID_TYPE);
118
4.09M
}
_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.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
4.52M
    using StorageType = typename PrimitiveTypeTraits<Type>::CppType;
115
4.52M
    new (&storage) StorageType(x);
116
4.52M
    type = Type;
117
    DCHECK_NE(type, PrimitiveType::INVALID_TYPE);
118
4.52M
}
_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
123M
void Field::create(Field&& field) {
121
123M
    switch (field.type) {
122
265k
    case PrimitiveType::TYPE_NULL:
123
265k
        create_concrete<TYPE_NULL>(std::move(field.template get<TYPE_NULL>()));
124
265k
        return;
125
2.95M
    case PrimitiveType::TYPE_DATETIMEV2:
126
2.95M
        create_concrete<TYPE_DATETIMEV2>(std::move(field.template get<TYPE_DATETIMEV2>()));
127
2.95M
        return;
128
575k
    case PrimitiveType::TYPE_DATEV2:
129
575k
        create_concrete<TYPE_DATEV2>(std::move(field.template get<TYPE_DATEV2>()));
130
575k
        return;
131
41.5k
    case PrimitiveType::TYPE_TIMESTAMPTZ:
132
41.5k
        create_concrete<TYPE_TIMESTAMPTZ>(std::move(field.template get<TYPE_TIMESTAMPTZ>()));
133
41.5k
        return;
134
29.0k
    case PrimitiveType::TYPE_DATETIME:
135
29.0k
        create_concrete<TYPE_DATETIME>(std::move(field.template get<TYPE_DATETIME>()));
136
29.0k
        return;
137
25.1k
    case PrimitiveType::TYPE_DATE:
138
25.1k
        create_concrete<TYPE_DATE>(std::move(field.template get<TYPE_DATE>()));
139
25.1k
        return;
140
1.16M
    case PrimitiveType::TYPE_BOOLEAN:
141
1.16M
        create_concrete<TYPE_BOOLEAN>(std::move(field.template get<TYPE_BOOLEAN>()));
142
1.16M
        return;
143
7.35M
    case PrimitiveType::TYPE_TINYINT:
144
7.35M
        create_concrete<TYPE_TINYINT>(std::move(field.template get<TYPE_TINYINT>()));
145
7.35M
        return;
146
164k
    case PrimitiveType::TYPE_SMALLINT:
147
164k
        create_concrete<TYPE_SMALLINT>(std::move(field.template get<TYPE_SMALLINT>()));
148
164k
        return;
149
19.6M
    case PrimitiveType::TYPE_INT:
150
19.6M
        create_concrete<TYPE_INT>(std::move(field.template get<TYPE_INT>()));
151
19.6M
        return;
152
25.5M
    case PrimitiveType::TYPE_BIGINT:
153
25.5M
        create_concrete<TYPE_BIGINT>(std::move(field.template get<TYPE_BIGINT>()));
154
25.5M
        return;
155
199k
    case PrimitiveType::TYPE_LARGEINT:
156
199k
        create_concrete<TYPE_LARGEINT>(std::move(field.template get<TYPE_LARGEINT>()));
157
199k
        return;
158
44.2k
    case PrimitiveType::TYPE_IPV4:
159
44.2k
        create_concrete<TYPE_IPV4>(std::move(field.template get<TYPE_IPV4>()));
160
44.2k
        return;
161
32.0k
    case PrimitiveType::TYPE_IPV6:
162
32.0k
        create_concrete<TYPE_IPV6>(std::move(field.template get<TYPE_IPV6>()));
163
32.0k
        return;
164
98.3k
    case PrimitiveType::TYPE_FLOAT:
165
98.3k
        create_concrete<TYPE_FLOAT>(std::move(field.template get<TYPE_FLOAT>()));
166
98.3k
        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.09M
    case PrimitiveType::TYPE_DOUBLE:
171
7.09M
        create_concrete<TYPE_DOUBLE>(std::move(field.template get<TYPE_DOUBLE>()));
172
7.09M
        return;
173
49.8M
    case PrimitiveType::TYPE_STRING:
174
49.8M
        create_concrete<TYPE_STRING>(std::move(field.template get<TYPE_STRING>()));
175
49.8M
        return;
176
54.1k
    case PrimitiveType::TYPE_CHAR:
177
54.1k
        create_concrete<TYPE_CHAR>(std::move(field.template get<TYPE_CHAR>()));
178
54.1k
        return;
179
1.34M
    case PrimitiveType::TYPE_VARCHAR:
180
1.34M
        create_concrete<TYPE_VARCHAR>(std::move(field.template get<TYPE_VARCHAR>()));
181
1.34M
        return;
182
4.30M
    case PrimitiveType::TYPE_JSONB:
183
4.30M
        create_concrete<TYPE_JSONB>(std::move(field.template get<TYPE_JSONB>()));
184
4.30M
        return;
185
4.27M
    case PrimitiveType::TYPE_ARRAY:
186
4.27M
        create_concrete<TYPE_ARRAY>(std::move(field.template get<TYPE_ARRAY>()));
187
4.27M
        return;
188
5.20k
    case PrimitiveType::TYPE_STRUCT:
189
5.20k
        create_concrete<TYPE_STRUCT>(std::move(field.template get<TYPE_STRUCT>()));
190
5.20k
        return;
191
7.89k
    case PrimitiveType::TYPE_MAP:
192
7.89k
        create_concrete<TYPE_MAP>(std::move(field.template get<TYPE_MAP>()));
193
7.89k
        return;
194
75.2k
    case PrimitiveType::TYPE_DECIMAL32:
195
75.2k
        create_concrete<TYPE_DECIMAL32>(std::move(field.template get<TYPE_DECIMAL32>()));
196
75.2k
        return;
197
123k
    case PrimitiveType::TYPE_DECIMAL64:
198
123k
        create_concrete<TYPE_DECIMAL64>(std::move(field.template get<TYPE_DECIMAL64>()));
199
123k
        return;
200
6.76k
    case PrimitiveType::TYPE_DECIMALV2:
201
6.76k
        create_concrete<TYPE_DECIMALV2>(std::move(field.template get<TYPE_DECIMALV2>()));
202
6.76k
        return;
203
130k
    case PrimitiveType::TYPE_DECIMAL128I:
204
130k
        create_concrete<TYPE_DECIMAL128I>(std::move(field.template get<TYPE_DECIMAL128I>()));
205
130k
        return;
206
49.9k
    case PrimitiveType::TYPE_DECIMAL256:
207
49.9k
        create_concrete<TYPE_DECIMAL256>(std::move(field.template get<TYPE_DECIMAL256>()));
208
49.9k
        return;
209
478k
    case PrimitiveType::TYPE_VARIANT:
210
478k
        create_concrete<TYPE_VARIANT>(std::move(field.template get<TYPE_VARIANT>()));
211
478k
        return;
212
21
    case PrimitiveType::TYPE_BITMAP:
213
21
        create_concrete<TYPE_BITMAP>(std::move(field.template get<TYPE_BITMAP>()));
214
21
        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
35
    case PrimitiveType::TYPE_VARBINARY:
222
35
        create_concrete<TYPE_VARBINARY>(std::move(field.template get<TYPE_VARBINARY>()));
223
35
        return;
224
0
    default:
225
0
        throw Exception(Status::FatalError("type not supported, type={}", field.get_type_name()));
226
123M
    }
227
123M
}
228
229
226M
Field::Field(const Field& rhs) {
230
226M
    create(rhs);
231
226M
}
232
233
49.5M
Field::Field(Field&& rhs) {
234
49.5M
    create(std::move(rhs));
235
49.5M
}
236
237
9.61M
Field& Field::operator=(const Field& rhs) {
238
9.62M
    if (this != &rhs) {
239
9.62M
        if (type != rhs.type) {
240
7.91M
            destroy();
241
7.91M
            create(rhs);
242
7.91M
        } else {
243
1.71M
            assign(rhs); /// This assigns string or vector without deallocation of existing buffer.
244
1.71M
        }
245
9.62M
    }
246
9.61M
    return *this;
247
9.61M
}
248
249
234M
void Field::create(const Field& field) {
250
234M
    switch (field.type) {
251
39.5M
    case PrimitiveType::TYPE_NULL:
252
39.5M
        create_concrete<TYPE_NULL>(field.template get<TYPE_NULL>());
253
39.5M
        return;
254
4.07M
    case PrimitiveType::TYPE_DATETIMEV2:
255
4.07M
        create_concrete<TYPE_DATETIMEV2>(field.template get<TYPE_DATETIMEV2>());
256
4.07M
        return;
257
4.89M
    case PrimitiveType::TYPE_DATEV2:
258
4.89M
        create_concrete<TYPE_DATEV2>(field.template get<TYPE_DATEV2>());
259
4.89M
        return;
260
35.5k
    case PrimitiveType::TYPE_TIMESTAMPTZ:
261
35.5k
        create_concrete<TYPE_TIMESTAMPTZ>(field.template get<TYPE_TIMESTAMPTZ>());
262
35.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.41M
    case PrimitiveType::TYPE_DATE:
267
3.41M
        create_concrete<TYPE_DATE>(field.template get<TYPE_DATE>());
268
3.41M
        return;
269
3.96M
    case PrimitiveType::TYPE_BOOLEAN:
270
3.96M
        create_concrete<TYPE_BOOLEAN>(field.template get<TYPE_BOOLEAN>());
271
3.96M
        return;
272
4.92M
    case PrimitiveType::TYPE_TINYINT:
273
4.92M
        create_concrete<TYPE_TINYINT>(field.template get<TYPE_TINYINT>());
274
4.92M
        return;
275
3.99M
    case PrimitiveType::TYPE_SMALLINT:
276
3.99M
        create_concrete<TYPE_SMALLINT>(field.template get<TYPE_SMALLINT>());
277
3.99M
        return;
278
1.25M
    case PrimitiveType::TYPE_INT:
279
1.25M
        create_concrete<TYPE_INT>(field.template get<TYPE_INT>());
280
1.25M
        return;
281
8.41M
    case PrimitiveType::TYPE_BIGINT:
282
8.41M
        create_concrete<TYPE_BIGINT>(field.template get<TYPE_BIGINT>());
283
8.41M
        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.4k
    case PrimitiveType::TYPE_IPV4:
288
31.4k
        create_concrete<TYPE_IPV4>(field.template get<TYPE_IPV4>());
289
31.4k
        return;
290
20.7k
    case PrimitiveType::TYPE_IPV6:
291
20.7k
        create_concrete<TYPE_IPV6>(field.template get<TYPE_IPV6>());
292
20.7k
        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.20M
    case PrimitiveType::TYPE_DOUBLE:
300
4.20M
        create_concrete<TYPE_DOUBLE>(field.template get<TYPE_DOUBLE>());
301
4.20M
        return;
302
8.22M
    case PrimitiveType::TYPE_STRING:
303
8.22M
        create_concrete<TYPE_STRING>(field.template get<TYPE_STRING>());
304
8.22M
        return;
305
3.68k
    case PrimitiveType::TYPE_CHAR:
306
3.68k
        create_concrete<TYPE_CHAR>(field.template get<TYPE_CHAR>());
307
3.68k
        return;
308
10.8M
    case PrimitiveType::TYPE_VARCHAR:
309
10.8M
        create_concrete<TYPE_VARCHAR>(field.template get<TYPE_VARCHAR>());
310
10.8M
        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.24k
    case PrimitiveType::TYPE_DECIMALV2:
330
1.24k
        create_concrete<TYPE_DECIMALV2>(field.template get<TYPE_DECIMALV2>());
331
1.24k
        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.67M
    case PrimitiveType::TYPE_DECIMAL256:
336
3.67M
        create_concrete<TYPE_DECIMAL256>(field.template get<TYPE_DECIMAL256>());
337
3.67M
        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
234M
    }
362
234M
}
363
364
686M
void Field::destroy() {
365
686M
    switch (type) {
366
100M
    case PrimitiveType::TYPE_STRING:
367
100M
        destroy<TYPE_STRING>();
368
100M
        break;
369
182k
    case PrimitiveType::TYPE_CHAR:
370
182k
        destroy<TYPE_CHAR>();
371
182k
        break;
372
14.0M
    case PrimitiveType::TYPE_VARCHAR:
373
14.0M
        destroy<TYPE_VARCHAR>();
374
14.0M
        break;
375
9.60M
    case PrimitiveType::TYPE_JSONB:
376
9.60M
        destroy<TYPE_JSONB>();
377
9.60M
        break;
378
99.3M
    case PrimitiveType::TYPE_ARRAY:
379
99.3M
        destroy<TYPE_ARRAY>();
380
99.3M
        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
1.00M
    case PrimitiveType::TYPE_VARIANT:
388
1.00M
        destroy<TYPE_VARIANT>();
389
1.00M
        break;
390
2.49k
    case PrimitiveType::TYPE_BITMAP:
391
2.49k
        destroy<TYPE_BITMAP>();
392
2.49k
        break;
393
427
    case PrimitiveType::TYPE_HLL:
394
427
        destroy<TYPE_HLL>();
395
427
        break;
396
22.4k
    case PrimitiveType::TYPE_QUANTILE_STATE:
397
22.4k
        destroy<TYPE_QUANTILE_STATE>();
398
22.4k
        break;
399
80
    case PrimitiveType::TYPE_VARBINARY:
400
80
        destroy<TYPE_VARBINARY>();
401
80
        break;
402
450M
    default:
403
450M
        break;
404
686M
    }
405
406
686M
    type = PrimitiveType::
407
686M
            TYPE_NULL; /// for exception safety in subsequent calls to destroy and create, when create fails.
408
686M
}
409
410
33.2M
void Field::assign(Field&& field) {
411
33.2M
    switch (field.type) {
412
30.3M
    case PrimitiveType::TYPE_NULL:
413
30.3M
        assign_concrete<TYPE_NULL>(std::move(field.template get<TYPE_NULL>()));
414
30.3M
        return;
415
79.9k
    case PrimitiveType::TYPE_DATETIMEV2:
416
79.9k
        assign_concrete<TYPE_DATETIMEV2>(std::move(field.template get<TYPE_DATETIMEV2>()));
417
79.9k
        return;
418
868
    case PrimitiveType::TYPE_DATETIME:
419
868
        assign_concrete<TYPE_DATETIME>(std::move(field.template get<TYPE_DATETIME>()));
420
868
        return;
421
449
    case PrimitiveType::TYPE_DATE:
422
449
        assign_concrete<TYPE_DATE>(std::move(field.template get<TYPE_DATE>()));
423
449
        return;
424
71.6k
    case PrimitiveType::TYPE_DATEV2:
425
71.6k
        assign_concrete<TYPE_DATEV2>(std::move(field.template get<TYPE_DATEV2>()));
426
71.6k
        return;
427
6.89k
    case PrimitiveType::TYPE_TIMESTAMPTZ:
428
6.89k
        assign_concrete<TYPE_TIMESTAMPTZ>(std::move(field.template get<TYPE_TIMESTAMPTZ>()));
429
6.89k
        return;
430
24.4k
    case PrimitiveType::TYPE_BOOLEAN:
431
24.4k
        assign_concrete<TYPE_BOOLEAN>(std::move(field.template get<TYPE_BOOLEAN>()));
432
24.4k
        return;
433
86.1k
    case PrimitiveType::TYPE_TINYINT:
434
86.1k
        assign_concrete<TYPE_TINYINT>(std::move(field.template get<TYPE_TINYINT>()));
435
86.1k
        return;
436
24.8k
    case PrimitiveType::TYPE_SMALLINT:
437
24.8k
        assign_concrete<TYPE_SMALLINT>(std::move(field.template get<TYPE_SMALLINT>()));
438
24.8k
        return;
439
1.06M
    case PrimitiveType::TYPE_INT:
440
1.06M
        assign_concrete<TYPE_INT>(std::move(field.template get<TYPE_INT>()));
441
1.06M
        return;
442
394k
    case PrimitiveType::TYPE_BIGINT:
443
394k
        assign_concrete<TYPE_BIGINT>(std::move(field.template get<TYPE_BIGINT>()));
444
394k
        return;
445
35.1k
    case PrimitiveType::TYPE_LARGEINT:
446
35.1k
        assign_concrete<TYPE_LARGEINT>(std::move(field.template get<TYPE_LARGEINT>()));
447
35.1k
        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
15.1k
    case PrimitiveType::TYPE_FLOAT:
455
15.1k
        assign_concrete<TYPE_FLOAT>(std::move(field.template get<TYPE_FLOAT>()));
456
15.1k
        return;
457
0
    case PrimitiveType::TYPE_TIMEV2:
458
0
        assign_concrete<TYPE_TIMEV2>(std::move(field.template get<TYPE_TIMEV2>()));
459
0
        return;
460
21.8k
    case PrimitiveType::TYPE_DOUBLE:
461
21.8k
        assign_concrete<TYPE_DOUBLE>(std::move(field.template get<TYPE_DOUBLE>()));
462
21.8k
        return;
463
370k
    case PrimitiveType::TYPE_STRING:
464
370k
        assign_concrete<TYPE_STRING>(std::move(field.template get<TYPE_STRING>()));
465
370k
        return;
466
35.6k
    case PrimitiveType::TYPE_CHAR:
467
35.6k
        assign_concrete<TYPE_CHAR>(std::move(field.template get<TYPE_CHAR>()));
468
35.6k
        return;
469
357k
    case PrimitiveType::TYPE_VARCHAR:
470
357k
        assign_concrete<TYPE_VARCHAR>(std::move(field.template get<TYPE_VARCHAR>()));
471
357k
        return;
472
204k
    case PrimitiveType::TYPE_JSONB:
473
204k
        assign_concrete<TYPE_JSONB>(std::move(field.template get<TYPE_JSONB>()));
474
204k
        return;
475
38.8k
    case PrimitiveType::TYPE_ARRAY:
476
38.8k
        assign_concrete<TYPE_ARRAY>(std::move(field.template get<TYPE_ARRAY>()));
477
38.8k
        return;
478
338
    case PrimitiveType::TYPE_STRUCT:
479
338
        assign_concrete<TYPE_STRUCT>(std::move(field.template get<TYPE_STRUCT>()));
480
338
        return;
481
8.50k
    case PrimitiveType::TYPE_MAP:
482
8.50k
        assign_concrete<TYPE_MAP>(std::move(field.template get<TYPE_MAP>()));
483
8.50k
        return;
484
7.83k
    case PrimitiveType::TYPE_DECIMAL32:
485
7.83k
        assign_concrete<TYPE_DECIMAL32>(std::move(field.template get<TYPE_DECIMAL32>()));
486
7.83k
        return;
487
35.0k
    case PrimitiveType::TYPE_DECIMAL64:
488
35.0k
        assign_concrete<TYPE_DECIMAL64>(std::move(field.template get<TYPE_DECIMAL64>()));
489
35.0k
        return;
490
140
    case PrimitiveType::TYPE_DECIMALV2:
491
140
        assign_concrete<TYPE_DECIMALV2>(std::move(field.template get<TYPE_DECIMALV2>()));
492
140
        return;
493
21.3k
    case PrimitiveType::TYPE_DECIMAL128I:
494
21.3k
        assign_concrete<TYPE_DECIMAL128I>(std::move(field.template get<TYPE_DECIMAL128I>()));
495
21.3k
        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
7.58k
    case PrimitiveType::TYPE_VARIANT:
500
7.58k
        assign_concrete<TYPE_VARIANT>(std::move(field.template get<TYPE_VARIANT>()));
501
7.58k
        return;
502
18
    case PrimitiveType::TYPE_BITMAP:
503
18
        assign_concrete<TYPE_BITMAP>(std::move(field.template get<TYPE_BITMAP>()));
504
18
        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
33.2M
    }
517
33.2M
}
518
519
1.72M
void Field::assign(const Field& field) {
520
1.72M
    switch (field.type) {
521
249k
    case PrimitiveType::TYPE_NULL:
522
249k
        assign_concrete<TYPE_NULL>(field.template get<TYPE_NULL>());
523
249k
        return;
524
73.6k
    case PrimitiveType::TYPE_DATETIMEV2:
525
73.6k
        assign_concrete<TYPE_DATETIMEV2>(field.template get<TYPE_DATETIMEV2>());
526
73.6k
        return;
527
712
    case PrimitiveType::TYPE_DATETIME:
528
712
        assign_concrete<TYPE_DATETIME>(field.template get<TYPE_DATETIME>());
529
712
        return;
530
393
    case PrimitiveType::TYPE_DATE:
531
393
        assign_concrete<TYPE_DATE>(field.template get<TYPE_DATE>());
532
393
        return;
533
57.8k
    case PrimitiveType::TYPE_DATEV2:
534
57.8k
        assign_concrete<TYPE_DATEV2>(field.template get<TYPE_DATEV2>());
535
57.8k
        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
19.5k
    case PrimitiveType::TYPE_BOOLEAN:
540
19.5k
        assign_concrete<TYPE_BOOLEAN>(field.template get<TYPE_BOOLEAN>());
541
19.5k
        return;
542
85.9k
    case PrimitiveType::TYPE_TINYINT:
543
85.9k
        assign_concrete<TYPE_TINYINT>(field.template get<TYPE_TINYINT>());
544
85.9k
        return;
545
23.3k
    case PrimitiveType::TYPE_SMALLINT:
546
23.3k
        assign_concrete<TYPE_SMALLINT>(field.template get<TYPE_SMALLINT>());
547
23.3k
        return;
548
193k
    case PrimitiveType::TYPE_INT:
549
193k
        assign_concrete<TYPE_INT>(field.template get<TYPE_INT>());
550
193k
        return;
551
313k
    case PrimitiveType::TYPE_BIGINT:
552
313k
        assign_concrete<TYPE_BIGINT>(field.template get<TYPE_BIGINT>());
553
313k
        return;
554
32.1k
    case PrimitiveType::TYPE_LARGEINT:
555
32.1k
        assign_concrete<TYPE_LARGEINT>(field.template get<TYPE_LARGEINT>());
556
32.1k
        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.9k
    case PrimitiveType::TYPE_FLOAT:
564
13.9k
        assign_concrete<TYPE_FLOAT>(field.template get<TYPE_FLOAT>());
565
13.9k
        return;
566
0
    case PrimitiveType::TYPE_TIMEV2:
567
0
        assign_concrete<TYPE_TIMEV2>(field.template get<TYPE_TIMEV2>());
568
0
        return;
569
18.5k
    case PrimitiveType::TYPE_DOUBLE:
570
18.5k
        assign_concrete<TYPE_DOUBLE>(field.template get<TYPE_DOUBLE>());
571
18.5k
        return;
572
144k
    case PrimitiveType::TYPE_STRING:
573
144k
        assign_concrete<TYPE_STRING>(field.template get<TYPE_STRING>());
574
144k
        return;
575
26.7k
    case PrimitiveType::TYPE_CHAR:
576
26.7k
        assign_concrete<TYPE_CHAR>(field.template get<TYPE_CHAR>());
577
26.7k
        return;
578
365k
    case PrimitiveType::TYPE_VARCHAR:
579
365k
        assign_concrete<TYPE_VARCHAR>(field.template get<TYPE_VARCHAR>());
580
365k
        return;
581
22
    case PrimitiveType::TYPE_JSONB:
582
22
        assign_concrete<TYPE_JSONB>(field.template get<TYPE_JSONB>());
583
22
        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.6k
    case PrimitiveType::TYPE_DECIMAL32:
594
14.6k
        assign_concrete<TYPE_DECIMAL32>(field.template get<TYPE_DECIMAL32>());
595
14.6k
        return;
596
20.3k
    case PrimitiveType::TYPE_DECIMAL64:
597
20.3k
        assign_concrete<TYPE_DECIMAL64>(field.template get<TYPE_DECIMAL64>());
598
20.3k
        return;
599
138
    case PrimitiveType::TYPE_DECIMALV2:
600
138
        assign_concrete<TYPE_DECIMALV2>(field.template get<TYPE_DECIMALV2>());
601
138
        return;
602
18.9k
    case PrimitiveType::TYPE_DECIMAL128I:
603
18.9k
        assign_concrete<TYPE_DECIMAL128I>(field.template get<TYPE_DECIMAL128I>());
604
18.9k
        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.72M
    }
632
1.72M
}
633
634
/// Assuming same types.
635
template <PrimitiveType Type>
636
33.3M
void Field::assign_concrete(typename PrimitiveTypeTraits<Type>::CppType&& x) {
637
33.3M
    auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<Type>::CppType*>(&storage);
638
33.3M
    *ptr = std::forward<typename PrimitiveTypeTraits<Type>::CppType>(x);
639
33.3M
}
_ZN5doris5Field15assign_concreteILNS_13PrimitiveTypeE1EEEvONS_19PrimitiveTypeTraitsIXT_EE7CppTypeE
Line
Count
Source
636
30.4M
void Field::assign_concrete(typename PrimitiveTypeTraits<Type>::CppType&& x) {
637
30.4M
    auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<Type>::CppType*>(&storage);
638
30.4M
    *ptr = std::forward<typename PrimitiveTypeTraits<Type>::CppType>(x);
639
30.4M
}
_ZN5doris5Field15assign_concreteILNS_13PrimitiveTypeE3EEEvONS_19PrimitiveTypeTraitsIXT_EE7CppTypeE
Line
Count
Source
636
86.1k
void Field::assign_concrete(typename PrimitiveTypeTraits<Type>::CppType&& x) {
637
86.1k
    auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<Type>::CppType*>(&storage);
638
86.1k
    *ptr = std::forward<typename PrimitiveTypeTraits<Type>::CppType>(x);
639
86.1k
}
_ZN5doris5Field15assign_concreteILNS_13PrimitiveTypeE4EEEvONS_19PrimitiveTypeTraitsIXT_EE7CppTypeE
Line
Count
Source
636
24.8k
void Field::assign_concrete(typename PrimitiveTypeTraits<Type>::CppType&& x) {
637
24.8k
    auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<Type>::CppType*>(&storage);
638
24.8k
    *ptr = std::forward<typename PrimitiveTypeTraits<Type>::CppType>(x);
639
24.8k
}
_ZN5doris5Field15assign_concreteILNS_13PrimitiveTypeE5EEEvONS_19PrimitiveTypeTraitsIXT_EE7CppTypeE
Line
Count
Source
636
1.06M
void Field::assign_concrete(typename PrimitiveTypeTraits<Type>::CppType&& x) {
637
1.06M
    auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<Type>::CppType*>(&storage);
638
1.06M
    *ptr = std::forward<typename PrimitiveTypeTraits<Type>::CppType>(x);
639
1.06M
}
_ZN5doris5Field15assign_concreteILNS_13PrimitiveTypeE6EEEvONS_19PrimitiveTypeTraitsIXT_EE7CppTypeE
Line
Count
Source
636
394k
void Field::assign_concrete(typename PrimitiveTypeTraits<Type>::CppType&& x) {
637
394k
    auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<Type>::CppType*>(&storage);
638
394k
    *ptr = std::forward<typename PrimitiveTypeTraits<Type>::CppType>(x);
639
394k
}
_ZN5doris5Field15assign_concreteILNS_13PrimitiveTypeE7EEEvONS_19PrimitiveTypeTraitsIXT_EE7CppTypeE
Line
Count
Source
636
35.1k
void Field::assign_concrete(typename PrimitiveTypeTraits<Type>::CppType&& x) {
637
35.1k
    auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<Type>::CppType*>(&storage);
638
35.1k
    *ptr = std::forward<typename PrimitiveTypeTraits<Type>::CppType>(x);
639
35.1k
}
_ZN5doris5Field15assign_concreteILNS_13PrimitiveTypeE11EEEvONS_19PrimitiveTypeTraitsIXT_EE7CppTypeE
Line
Count
Source
636
449
void Field::assign_concrete(typename PrimitiveTypeTraits<Type>::CppType&& x) {
637
449
    auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<Type>::CppType*>(&storage);
638
449
    *ptr = std::forward<typename PrimitiveTypeTraits<Type>::CppType>(x);
639
449
}
_ZN5doris5Field15assign_concreteILNS_13PrimitiveTypeE12EEEvONS_19PrimitiveTypeTraitsIXT_EE7CppTypeE
Line
Count
Source
636
868
void Field::assign_concrete(typename PrimitiveTypeTraits<Type>::CppType&& x) {
637
868
    auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<Type>::CppType*>(&storage);
638
868
    *ptr = std::forward<typename PrimitiveTypeTraits<Type>::CppType>(x);
639
868
}
_ZN5doris5Field15assign_concreteILNS_13PrimitiveTypeE25EEEvONS_19PrimitiveTypeTraitsIXT_EE7CppTypeE
Line
Count
Source
636
71.6k
void Field::assign_concrete(typename PrimitiveTypeTraits<Type>::CppType&& x) {
637
71.6k
    auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<Type>::CppType*>(&storage);
638
71.6k
    *ptr = std::forward<typename PrimitiveTypeTraits<Type>::CppType>(x);
639
71.6k
}
_ZN5doris5Field15assign_concreteILNS_13PrimitiveTypeE26EEEvONS_19PrimitiveTypeTraitsIXT_EE7CppTypeE
Line
Count
Source
636
79.9k
void Field::assign_concrete(typename PrimitiveTypeTraits<Type>::CppType&& x) {
637
79.9k
    auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<Type>::CppType*>(&storage);
638
79.9k
    *ptr = std::forward<typename PrimitiveTypeTraits<Type>::CppType>(x);
639
79.9k
}
_ZN5doris5Field15assign_concreteILNS_13PrimitiveTypeE28EEEvONS_19PrimitiveTypeTraitsIXT_EE7CppTypeE
Line
Count
Source
636
7.83k
void Field::assign_concrete(typename PrimitiveTypeTraits<Type>::CppType&& x) {
637
7.83k
    auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<Type>::CppType*>(&storage);
638
7.83k
    *ptr = std::forward<typename PrimitiveTypeTraits<Type>::CppType>(x);
639
7.83k
}
_ZN5doris5Field15assign_concreteILNS_13PrimitiveTypeE29EEEvONS_19PrimitiveTypeTraitsIXT_EE7CppTypeE
Line
Count
Source
636
35.0k
void Field::assign_concrete(typename PrimitiveTypeTraits<Type>::CppType&& x) {
637
35.0k
    auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<Type>::CppType*>(&storage);
638
35.0k
    *ptr = std::forward<typename PrimitiveTypeTraits<Type>::CppType>(x);
639
35.0k
}
_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
21.3k
void Field::assign_concrete(typename PrimitiveTypeTraits<Type>::CppType&& x) {
637
21.3k
    auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<Type>::CppType*>(&storage);
638
21.3k
    *ptr = std::forward<typename PrimitiveTypeTraits<Type>::CppType>(x);
639
21.3k
}
_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
35.6k
void Field::assign_concrete(typename PrimitiveTypeTraits<Type>::CppType&& x) {
637
35.6k
    auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<Type>::CppType*>(&storage);
638
35.6k
    *ptr = std::forward<typename PrimitiveTypeTraits<Type>::CppType>(x);
639
35.6k
}
_ZN5doris5Field15assign_concreteILNS_13PrimitiveTypeE10EEEvONS_19PrimitiveTypeTraitsIXT_EE7CppTypeE
Line
Count
Source
636
357k
void Field::assign_concrete(typename PrimitiveTypeTraits<Type>::CppType&& x) {
637
357k
    auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<Type>::CppType*>(&storage);
638
357k
    *ptr = std::forward<typename PrimitiveTypeTraits<Type>::CppType>(x);
639
357k
}
_ZN5doris5Field15assign_concreteILNS_13PrimitiveTypeE23EEEvONS_19PrimitiveTypeTraitsIXT_EE7CppTypeE
Line
Count
Source
636
370k
void Field::assign_concrete(typename PrimitiveTypeTraits<Type>::CppType&& x) {
637
370k
    auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<Type>::CppType*>(&storage);
638
370k
    *ptr = std::forward<typename PrimitiveTypeTraits<Type>::CppType>(x);
639
370k
}
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
7.59k
void Field::assign_concrete(typename PrimitiveTypeTraits<Type>::CppType&& x) {
637
7.59k
    auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<Type>::CppType*>(&storage);
638
7.59k
    *ptr = std::forward<typename PrimitiveTypeTraits<Type>::CppType>(x);
639
7.59k
}
_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
38.8k
void Field::assign_concrete(typename PrimitiveTypeTraits<Type>::CppType&& x) {
637
38.8k
    auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<Type>::CppType*>(&storage);
638
38.8k
    *ptr = std::forward<typename PrimitiveTypeTraits<Type>::CppType>(x);
639
38.8k
}
Unexecuted instantiation: _ZN5doris5Field15assign_concreteILNS_13PrimitiveTypeE21EEEvONS_19PrimitiveTypeTraitsIXT_EE7CppTypeE
_ZN5doris5Field15assign_concreteILNS_13PrimitiveTypeE42EEEvONS_19PrimitiveTypeTraitsIXT_EE7CppTypeE
Line
Count
Source
636
6.89k
void Field::assign_concrete(typename PrimitiveTypeTraits<Type>::CppType&& x) {
637
6.89k
    auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<Type>::CppType*>(&storage);
638
6.89k
    *ptr = std::forward<typename PrimitiveTypeTraits<Type>::CppType>(x);
639
6.89k
}
_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
24.4k
void Field::assign_concrete(typename PrimitiveTypeTraits<Type>::CppType&& x) {
637
24.4k
    auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<Type>::CppType*>(&storage);
638
24.4k
    *ptr = std::forward<typename PrimitiveTypeTraits<Type>::CppType>(x);
639
24.4k
}
_ZN5doris5Field15assign_concreteILNS_13PrimitiveTypeE8EEEvONS_19PrimitiveTypeTraitsIXT_EE7CppTypeE
Line
Count
Source
636
15.1k
void Field::assign_concrete(typename PrimitiveTypeTraits<Type>::CppType&& x) {
637
15.1k
    auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<Type>::CppType*>(&storage);
638
15.1k
    *ptr = std::forward<typename PrimitiveTypeTraits<Type>::CppType>(x);
639
15.1k
}
_ZN5doris5Field15assign_concreteILNS_13PrimitiveTypeE9EEEvONS_19PrimitiveTypeTraitsIXT_EE7CppTypeE
Line
Count
Source
636
21.8k
void Field::assign_concrete(typename PrimitiveTypeTraits<Type>::CppType&& x) {
637
21.8k
    auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<Type>::CppType*>(&storage);
638
21.8k
    *ptr = std::forward<typename PrimitiveTypeTraits<Type>::CppType>(x);
639
21.8k
}
_ZN5doris5Field15assign_concreteILNS_13PrimitiveTypeE31EEEvONS_19PrimitiveTypeTraitsIXT_EE7CppTypeE
Line
Count
Source
636
204k
void Field::assign_concrete(typename PrimitiveTypeTraits<Type>::CppType&& x) {
637
204k
    auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<Type>::CppType*>(&storage);
638
204k
    *ptr = std::forward<typename PrimitiveTypeTraits<Type>::CppType>(x);
639
204k
}
_ZN5doris5Field15assign_concreteILNS_13PrimitiveTypeE16EEEvONS_19PrimitiveTypeTraitsIXT_EE7CppTypeE
Line
Count
Source
636
338
void Field::assign_concrete(typename PrimitiveTypeTraits<Type>::CppType&& x) {
637
338
    auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<Type>::CppType*>(&storage);
638
338
    *ptr = std::forward<typename PrimitiveTypeTraits<Type>::CppType>(x);
639
338
}
_ZN5doris5Field15assign_concreteILNS_13PrimitiveTypeE18EEEvONS_19PrimitiveTypeTraitsIXT_EE7CppTypeE
Line
Count
Source
636
8.50k
void Field::assign_concrete(typename PrimitiveTypeTraits<Type>::CppType&& x) {
637
8.50k
    auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<Type>::CppType*>(&storage);
638
8.50k
    *ptr = std::forward<typename PrimitiveTypeTraits<Type>::CppType>(x);
639
8.50k
}
_ZN5doris5Field15assign_concreteILNS_13PrimitiveTypeE22EEEvONS_19PrimitiveTypeTraitsIXT_EE7CppTypeE
Line
Count
Source
636
18
void Field::assign_concrete(typename PrimitiveTypeTraits<Type>::CppType&& x) {
637
18
    auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<Type>::CppType*>(&storage);
638
18
    *ptr = std::forward<typename PrimitiveTypeTraits<Type>::CppType>(x);
639
18
}
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.72M
void Field::assign_concrete(const typename PrimitiveTypeTraits<Type>::CppType& x) {
643
1.72M
    auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<Type>::CppType*>(&storage);
644
1.72M
    *ptr = std::forward<const typename PrimitiveTypeTraits<Type>::CppType>(x);
645
1.72M
}
Unexecuted instantiation: _ZN5doris5Field15assign_concreteILNS_13PrimitiveTypeE21EEEvRKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeE
_ZN5doris5Field15assign_concreteILNS_13PrimitiveTypeE1EEEvRKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeE
Line
Count
Source
642
249k
void Field::assign_concrete(const typename PrimitiveTypeTraits<Type>::CppType& x) {
643
249k
    auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<Type>::CppType*>(&storage);
644
249k
    *ptr = std::forward<const typename PrimitiveTypeTraits<Type>::CppType>(x);
645
249k
}
_ZN5doris5Field15assign_concreteILNS_13PrimitiveTypeE3EEEvRKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeE
Line
Count
Source
642
85.9k
void Field::assign_concrete(const typename PrimitiveTypeTraits<Type>::CppType& x) {
643
85.9k
    auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<Type>::CppType*>(&storage);
644
85.9k
    *ptr = std::forward<const typename PrimitiveTypeTraits<Type>::CppType>(x);
645
85.9k
}
_ZN5doris5Field15assign_concreteILNS_13PrimitiveTypeE4EEEvRKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeE
Line
Count
Source
642
23.3k
void Field::assign_concrete(const typename PrimitiveTypeTraits<Type>::CppType& x) {
643
23.3k
    auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<Type>::CppType*>(&storage);
644
23.3k
    *ptr = std::forward<const typename PrimitiveTypeTraits<Type>::CppType>(x);
645
23.3k
}
_ZN5doris5Field15assign_concreteILNS_13PrimitiveTypeE5EEEvRKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeE
Line
Count
Source
642
193k
void Field::assign_concrete(const typename PrimitiveTypeTraits<Type>::CppType& x) {
643
193k
    auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<Type>::CppType*>(&storage);
644
193k
    *ptr = std::forward<const typename PrimitiveTypeTraits<Type>::CppType>(x);
645
193k
}
_ZN5doris5Field15assign_concreteILNS_13PrimitiveTypeE6EEEvRKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeE
Line
Count
Source
642
313k
void Field::assign_concrete(const typename PrimitiveTypeTraits<Type>::CppType& x) {
643
313k
    auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<Type>::CppType*>(&storage);
644
313k
    *ptr = std::forward<const typename PrimitiveTypeTraits<Type>::CppType>(x);
645
313k
}
_ZN5doris5Field15assign_concreteILNS_13PrimitiveTypeE7EEEvRKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeE
Line
Count
Source
642
32.1k
void Field::assign_concrete(const typename PrimitiveTypeTraits<Type>::CppType& x) {
643
32.1k
    auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<Type>::CppType*>(&storage);
644
32.1k
    *ptr = std::forward<const typename PrimitiveTypeTraits<Type>::CppType>(x);
645
32.1k
}
_ZN5doris5Field15assign_concreteILNS_13PrimitiveTypeE11EEEvRKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeE
Line
Count
Source
642
393
void Field::assign_concrete(const typename PrimitiveTypeTraits<Type>::CppType& x) {
643
393
    auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<Type>::CppType*>(&storage);
644
393
    *ptr = std::forward<const typename PrimitiveTypeTraits<Type>::CppType>(x);
645
393
}
_ZN5doris5Field15assign_concreteILNS_13PrimitiveTypeE12EEEvRKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeE
Line
Count
Source
642
712
void Field::assign_concrete(const typename PrimitiveTypeTraits<Type>::CppType& x) {
643
712
    auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<Type>::CppType*>(&storage);
644
712
    *ptr = std::forward<const typename PrimitiveTypeTraits<Type>::CppType>(x);
645
712
}
_ZN5doris5Field15assign_concreteILNS_13PrimitiveTypeE25EEEvRKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeE
Line
Count
Source
642
57.8k
void Field::assign_concrete(const typename PrimitiveTypeTraits<Type>::CppType& x) {
643
57.8k
    auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<Type>::CppType*>(&storage);
644
57.8k
    *ptr = std::forward<const typename PrimitiveTypeTraits<Type>::CppType>(x);
645
57.8k
}
_ZN5doris5Field15assign_concreteILNS_13PrimitiveTypeE26EEEvRKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeE
Line
Count
Source
642
73.6k
void Field::assign_concrete(const typename PrimitiveTypeTraits<Type>::CppType& x) {
643
73.6k
    auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<Type>::CppType*>(&storage);
644
73.6k
    *ptr = std::forward<const typename PrimitiveTypeTraits<Type>::CppType>(x);
645
73.6k
}
_ZN5doris5Field15assign_concreteILNS_13PrimitiveTypeE42EEEvRKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeE
Line
Count
Source
642
6.70k
void Field::assign_concrete(const typename PrimitiveTypeTraits<Type>::CppType& x) {
643
6.70k
    auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<Type>::CppType*>(&storage);
644
6.70k
    *ptr = std::forward<const typename PrimitiveTypeTraits<Type>::CppType>(x);
645
6.70k
}
_ZN5doris5Field15assign_concreteILNS_13PrimitiveTypeE28EEEvRKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeE
Line
Count
Source
642
14.6k
void Field::assign_concrete(const typename PrimitiveTypeTraits<Type>::CppType& x) {
643
14.6k
    auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<Type>::CppType*>(&storage);
644
14.6k
    *ptr = std::forward<const typename PrimitiveTypeTraits<Type>::CppType>(x);
645
14.6k
}
_ZN5doris5Field15assign_concreteILNS_13PrimitiveTypeE29EEEvRKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeE
Line
Count
Source
642
20.3k
void Field::assign_concrete(const typename PrimitiveTypeTraits<Type>::CppType& x) {
643
20.3k
    auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<Type>::CppType*>(&storage);
644
20.3k
    *ptr = std::forward<const typename PrimitiveTypeTraits<Type>::CppType>(x);
645
20.3k
}
_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.9k
void Field::assign_concrete(const typename PrimitiveTypeTraits<Type>::CppType& x) {
643
18.9k
    auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<Type>::CppType*>(&storage);
644
18.9k
    *ptr = std::forward<const typename PrimitiveTypeTraits<Type>::CppType>(x);
645
18.9k
}
_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.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_13PrimitiveTypeE10EEEvRKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeE
Line
Count
Source
642
365k
void Field::assign_concrete(const typename PrimitiveTypeTraits<Type>::CppType& x) {
643
365k
    auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<Type>::CppType*>(&storage);
644
365k
    *ptr = std::forward<const typename PrimitiveTypeTraits<Type>::CppType>(x);
645
365k
}
_ZN5doris5Field15assign_concreteILNS_13PrimitiveTypeE23EEEvRKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeE
Line
Count
Source
642
144k
void Field::assign_concrete(const typename PrimitiveTypeTraits<Type>::CppType& x) {
643
144k
    auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<Type>::CppType*>(&storage);
644
144k
    *ptr = std::forward<const typename PrimitiveTypeTraits<Type>::CppType>(x);
645
144k
}
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
19.5k
void Field::assign_concrete(const typename PrimitiveTypeTraits<Type>::CppType& x) {
643
19.5k
    auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<Type>::CppType*>(&storage);
644
19.5k
    *ptr = std::forward<const typename PrimitiveTypeTraits<Type>::CppType>(x);
645
19.5k
}
_ZN5doris5Field15assign_concreteILNS_13PrimitiveTypeE8EEEvRKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeE
Line
Count
Source
642
13.9k
void Field::assign_concrete(const typename PrimitiveTypeTraits<Type>::CppType& x) {
643
13.9k
    auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<Type>::CppType*>(&storage);
644
13.9k
    *ptr = std::forward<const typename PrimitiveTypeTraits<Type>::CppType>(x);
645
13.9k
}
_ZN5doris5Field15assign_concreteILNS_13PrimitiveTypeE9EEEvRKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeE
Line
Count
Source
642
18.5k
void Field::assign_concrete(const typename PrimitiveTypeTraits<Type>::CppType& x) {
643
18.5k
    auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<Type>::CppType*>(&storage);
644
18.5k
    *ptr = std::forward<const typename PrimitiveTypeTraits<Type>::CppType>(x);
645
18.5k
}
_ZN5doris5Field15assign_concreteILNS_13PrimitiveTypeE31EEEvRKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeE
Line
Count
Source
642
22
void Field::assign_concrete(const typename PrimitiveTypeTraits<Type>::CppType& x) {
643
22
    auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<Type>::CppType*>(&storage);
644
22
    *ptr = std::forward<const typename PrimitiveTypeTraits<Type>::CppType>(x);
645
22
}
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
216M
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
216M
    auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<T>::CppType*>(&storage);
656
216M
    return *ptr;
657
216M
}
_ZN5doris5Field3getILNS_13PrimitiveTypeE1EEERNS_19PrimitiveTypeTraitsIXT_EE7CppTypeEv
Line
Count
Source
652
30.7M
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
30.7M
    auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<T>::CppType*>(&storage);
656
30.7M
    return *ptr;
657
30.7M
}
_ZN5doris5Field3getILNS_13PrimitiveTypeE3EEERNS_19PrimitiveTypeTraitsIXT_EE7CppTypeEv
Line
Count
Source
652
7.45M
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.45M
    auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<T>::CppType*>(&storage);
656
7.45M
    return *ptr;
657
7.45M
}
_ZN5doris5Field3getILNS_13PrimitiveTypeE4EEERNS_19PrimitiveTypeTraitsIXT_EE7CppTypeEv
Line
Count
Source
652
192k
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
192k
    auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<T>::CppType*>(&storage);
656
192k
    return *ptr;
657
192k
}
_ZN5doris5Field3getILNS_13PrimitiveTypeE5EEERNS_19PrimitiveTypeTraitsIXT_EE7CppTypeEv
Line
Count
Source
652
75.4M
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.4M
    auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<T>::CppType*>(&storage);
656
75.4M
    return *ptr;
657
75.4M
}
_ZN5doris5Field3getILNS_13PrimitiveTypeE6EEERNS_19PrimitiveTypeTraitsIXT_EE7CppTypeEv
Line
Count
Source
652
26.0M
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.0M
    auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<T>::CppType*>(&storage);
656
26.0M
    return *ptr;
657
26.0M
}
_ZN5doris5Field3getILNS_13PrimitiveTypeE7EEERNS_19PrimitiveTypeTraitsIXT_EE7CppTypeEv
Line
Count
Source
652
238k
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
238k
    auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<T>::CppType*>(&storage);
656
238k
    return *ptr;
657
238k
}
_ZN5doris5Field3getILNS_13PrimitiveTypeE11EEERNS_19PrimitiveTypeTraitsIXT_EE7CppTypeEv
Line
Count
Source
652
25.7k
typename PrimitiveTypeTraits<T>::CppType& Field::get() {
653
25.7k
    DCHECK(T == type || (is_string_type(type) && is_string_type(T)) || type == TYPE_NULL)
654
3
            << "Type mismatch: requested " << type_to_string(T) << ", actual " << get_type_name();
655
25.7k
    auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<T>::CppType*>(&storage);
656
25.7k
    return *ptr;
657
25.7k
}
_ZN5doris5Field3getILNS_13PrimitiveTypeE12EEERNS_19PrimitiveTypeTraitsIXT_EE7CppTypeEv
Line
Count
Source
652
30.6k
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
30.6k
    auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<T>::CppType*>(&storage);
656
30.6k
    return *ptr;
657
30.6k
}
_ZN5doris5Field3getILNS_13PrimitiveTypeE25EEERNS_19PrimitiveTypeTraitsIXT_EE7CppTypeEv
Line
Count
Source
652
658k
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
658k
    auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<T>::CppType*>(&storage);
656
658k
    return *ptr;
657
658k
}
_ZN5doris5Field3getILNS_13PrimitiveTypeE26EEERNS_19PrimitiveTypeTraitsIXT_EE7CppTypeEv
Line
Count
Source
652
3.04M
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
3.04M
    auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<T>::CppType*>(&storage);
656
3.04M
    return *ptr;
657
3.04M
}
_ZN5doris5Field3getILNS_13PrimitiveTypeE42EEERNS_19PrimitiveTypeTraitsIXT_EE7CppTypeEv
Line
Count
Source
652
48.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
48.4k
    auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<T>::CppType*>(&storage);
656
48.4k
    return *ptr;
657
48.4k
}
_ZN5doris5Field3getILNS_13PrimitiveTypeE28EEERNS_19PrimitiveTypeTraitsIXT_EE7CppTypeEv
Line
Count
Source
652
84.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
84.3k
    auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<T>::CppType*>(&storage);
656
84.3k
    return *ptr;
657
84.3k
}
_ZN5doris5Field3getILNS_13PrimitiveTypeE29EEERNS_19PrimitiveTypeTraitsIXT_EE7CppTypeEv
Line
Count
Source
652
199k
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
199k
    auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<T>::CppType*>(&storage);
656
199k
    return *ptr;
657
199k
}
_ZN5doris5Field3getILNS_13PrimitiveTypeE20EEERNS_19PrimitiveTypeTraitsIXT_EE7CppTypeEv
Line
Count
Source
652
9.69k
typename PrimitiveTypeTraits<T>::CppType& Field::get() {
653
9.69k
    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
9.69k
    auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<T>::CppType*>(&storage);
656
9.69k
    return *ptr;
657
9.69k
}
_ZN5doris5Field3getILNS_13PrimitiveTypeE30EEERNS_19PrimitiveTypeTraitsIXT_EE7CppTypeEv
Line
Count
Source
652
164k
typename PrimitiveTypeTraits<T>::CppType& Field::get() {
653
164k
    DCHECK(T == type || (is_string_type(type) && is_string_type(T)) || type == TYPE_NULL)
654
10
            << "Type mismatch: requested " << type_to_string(T) << ", actual " << get_type_name();
655
164k
    auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<T>::CppType*>(&storage);
656
164k
    return *ptr;
657
164k
}
_ZN5doris5Field3getILNS_13PrimitiveTypeE35EEERNS_19PrimitiveTypeTraitsIXT_EE7CppTypeEv
Line
Count
Source
652
52.7k
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
52.7k
    auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<T>::CppType*>(&storage);
656
52.7k
    return *ptr;
657
52.7k
}
_ZN5doris5Field3getILNS_13PrimitiveTypeE15EEERNS_19PrimitiveTypeTraitsIXT_EE7CppTypeEv
Line
Count
Source
652
137k
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
137k
    auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<T>::CppType*>(&storage);
656
137k
    return *ptr;
657
137k
}
_ZN5doris5Field3getILNS_13PrimitiveTypeE10EEERNS_19PrimitiveTypeTraitsIXT_EE7CppTypeEv
Line
Count
Source
652
2.10M
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
2.10M
    auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<T>::CppType*>(&storage);
656
2.10M
    return *ptr;
657
2.10M
}
_ZN5doris5Field3getILNS_13PrimitiveTypeE23EEERNS_19PrimitiveTypeTraitsIXT_EE7CppTypeEv
Line
Count
Source
652
50.7M
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
50.7M
    auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<T>::CppType*>(&storage);
656
50.7M
    return *ptr;
657
50.7M
}
_ZN5doris5Field3getILNS_13PrimitiveTypeE41EEERNS_19PrimitiveTypeTraitsIXT_EE7CppTypeEv
Line
Count
Source
652
46
typename PrimitiveTypeTraits<T>::CppType& Field::get() {
653
46
    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
46
    auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<T>::CppType*>(&storage);
656
46
    return *ptr;
657
46
}
_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
939k
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
939k
    auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<T>::CppType*>(&storage);
656
939k
    return *ptr;
657
939k
}
_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.85M
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.85M
    auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<T>::CppType*>(&storage);
656
4.85M
    return *ptr;
657
4.85M
}
Unexecuted instantiation: _ZN5doris5Field3getILNS_13PrimitiveTypeE21EEERNS_19PrimitiveTypeTraitsIXT_EE7CppTypeEv
_ZN5doris5Field3getILNS_13PrimitiveTypeE36EEERNS_19PrimitiveTypeTraitsIXT_EE7CppTypeEv
Line
Count
Source
652
45.5k
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
45.5k
    auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<T>::CppType*>(&storage);
656
45.5k
    return *ptr;
657
45.5k
}
_ZN5doris5Field3getILNS_13PrimitiveTypeE37EEERNS_19PrimitiveTypeTraitsIXT_EE7CppTypeEv
Line
Count
Source
652
33.1k
typename PrimitiveTypeTraits<T>::CppType& Field::get() {
653
33.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
33.1k
    auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<T>::CppType*>(&storage);
656
33.1k
    return *ptr;
657
33.1k
}
_ZN5doris5Field3getILNS_13PrimitiveTypeE2EEERNS_19PrimitiveTypeTraitsIXT_EE7CppTypeEv
Line
Count
Source
652
1.19M
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
1.19M
    auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<T>::CppType*>(&storage);
656
1.19M
    return *ptr;
657
1.19M
}
_ZN5doris5Field3getILNS_13PrimitiveTypeE8EEERNS_19PrimitiveTypeTraitsIXT_EE7CppTypeEv
Line
Count
Source
652
114k
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
114k
    auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<T>::CppType*>(&storage);
656
114k
    return *ptr;
657
114k
}
_ZN5doris5Field3getILNS_13PrimitiveTypeE9EEERNS_19PrimitiveTypeTraitsIXT_EE7CppTypeEv
Line
Count
Source
652
7.18M
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.18M
    auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<T>::CppType*>(&storage);
656
7.18M
    return *ptr;
657
7.18M
}
_ZN5doris5Field3getILNS_13PrimitiveTypeE31EEERNS_19PrimitiveTypeTraitsIXT_EE7CppTypeEv
Line
Count
Source
652
4.54M
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.54M
    auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<T>::CppType*>(&storage);
656
4.54M
    return *ptr;
657
4.54M
}
_ZN5doris5Field3getILNS_13PrimitiveTypeE16EEERNS_19PrimitiveTypeTraitsIXT_EE7CppTypeEv
Line
Count
Source
652
14.6k
typename PrimitiveTypeTraits<T>::CppType& Field::get() {
653
14.6k
    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.6k
    auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<T>::CppType*>(&storage);
656
14.6k
    return *ptr;
657
14.6k
}
_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
0
            << "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
168
typename PrimitiveTypeTraits<T>::CppType& Field::get() {
653
168
    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
168
    auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<T>::CppType*>(&storage);
656
168
    return *ptr;
657
168
}
_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
493M
const typename PrimitiveTypeTraits<T>::CppType& Field::get() const {
661
493M
    DCHECK(T == type || (is_string_type(type) && is_string_type(T)) || type == TYPE_NULL)
662
1.40k
            << "Type mismatch: requested " << type_to_string(T) << ", actual " << get_type_name();
663
493M
    const auto* MAY_ALIAS ptr =
664
493M
            reinterpret_cast<const typename PrimitiveTypeTraits<T>::CppType*>(&storage);
665
493M
    return *ptr;
666
493M
}
_ZNK5doris5Field3getILNS_13PrimitiveTypeE1EEERKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeEv
Line
Count
Source
660
40.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
40.0M
    const auto* MAY_ALIAS ptr =
664
40.0M
            reinterpret_cast<const typename PrimitiveTypeTraits<T>::CppType*>(&storage);
665
40.0M
    return *ptr;
666
40.0M
}
_ZNK5doris5Field3getILNS_13PrimitiveTypeE3EEERKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeEv
Line
Count
Source
660
12.0M
const typename PrimitiveTypeTraits<T>::CppType& Field::get() const {
661
12.0M
    DCHECK(T == type || (is_string_type(type) && is_string_type(T)) || type == TYPE_NULL)
662
14.0k
            << "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.18M
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.18M
    const auto* MAY_ALIAS ptr =
664
5.18M
            reinterpret_cast<const typename PrimitiveTypeTraits<T>::CppType*>(&storage);
665
5.18M
    return *ptr;
666
5.18M
}
_ZNK5doris5Field3getILNS_13PrimitiveTypeE5EEERKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeEv
Line
Count
Source
660
8.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
8.61M
    const auto* MAY_ALIAS ptr =
664
8.61M
            reinterpret_cast<const typename PrimitiveTypeTraits<T>::CppType*>(&storage);
665
8.61M
    return *ptr;
666
8.61M
}
_ZNK5doris5Field3getILNS_13PrimitiveTypeE6EEERKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeEv
Line
Count
Source
660
44.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
44.4M
    const auto* MAY_ALIAS ptr =
664
44.4M
            reinterpret_cast<const typename PrimitiveTypeTraits<T>::CppType*>(&storage);
665
44.4M
    return *ptr;
666
44.4M
}
_ZNK5doris5Field3getILNS_13PrimitiveTypeE7EEERKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeEv
Line
Count
Source
660
4.62M
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.62M
    const auto* MAY_ALIAS ptr =
664
4.62M
            reinterpret_cast<const typename PrimitiveTypeTraits<T>::CppType*>(&storage);
665
4.62M
    return *ptr;
666
4.62M
}
_ZNK5doris5Field3getILNS_13PrimitiveTypeE11EEERKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeEv
Line
Count
Source
660
4.49M
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.49M
    const auto* MAY_ALIAS ptr =
664
4.49M
            reinterpret_cast<const typename PrimitiveTypeTraits<T>::CppType*>(&storage);
665
4.49M
    return *ptr;
666
4.49M
}
_ZNK5doris5Field3getILNS_13PrimitiveTypeE12EEERKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeEv
Line
Count
Source
660
4.33M
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.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.89M
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.89M
    const auto* MAY_ALIAS ptr =
664
8.89M
            reinterpret_cast<const typename PrimitiveTypeTraits<T>::CppType*>(&storage);
665
8.89M
    return *ptr;
666
8.89M
}
_ZNK5doris5Field3getILNS_13PrimitiveTypeE26EEERKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeEv
Line
Count
Source
660
5.50M
const typename PrimitiveTypeTraits<T>::CppType& Field::get() const {
661
5.50M
    DCHECK(T == type || (is_string_type(type) && is_string_type(T)) || type == TYPE_NULL)
662
23
            << "Type mismatch: requested " << type_to_string(T) << ", actual " << get_type_name();
663
5.50M
    const auto* MAY_ALIAS ptr =
664
5.50M
            reinterpret_cast<const typename PrimitiveTypeTraits<T>::CppType*>(&storage);
665
5.50M
    return *ptr;
666
5.50M
}
_ZNK5doris5Field3getILNS_13PrimitiveTypeE42EEERKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeEv
Line
Count
Source
660
120k
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
120k
    const auto* MAY_ALIAS ptr =
664
120k
            reinterpret_cast<const typename PrimitiveTypeTraits<T>::CppType*>(&storage);
665
120k
    return *ptr;
666
120k
}
_ZNK5doris5Field3getILNS_13PrimitiveTypeE28EEERKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeEv
Line
Count
Source
660
4.64M
const typename PrimitiveTypeTraits<T>::CppType& Field::get() const {
661
4.64M
    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.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.2M
    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
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
18.3k
const typename PrimitiveTypeTraits<T>::CppType& Field::get() const {
661
18.3k
    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
18.3k
    const auto* MAY_ALIAS ptr =
664
18.3k
            reinterpret_cast<const typename PrimitiveTypeTraits<T>::CppType*>(&storage);
665
18.3k
    return *ptr;
666
18.3k
}
_ZNK5doris5Field3getILNS_13PrimitiveTypeE30EEERKNS_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_13PrimitiveTypeE35EEERKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeEv
Line
Count
Source
660
4.69M
const typename PrimitiveTypeTraits<T>::CppType& Field::get() const {
661
4.69M
    DCHECK(T == type || (is_string_type(type) && is_string_type(T)) || type == TYPE_NULL)
662
1
            << "Type mismatch: requested " << type_to_string(T) << ", actual " << get_type_name();
663
4.69M
    const auto* MAY_ALIAS ptr =
664
4.69M
            reinterpret_cast<const typename PrimitiveTypeTraits<T>::CppType*>(&storage);
665
4.69M
    return *ptr;
666
4.69M
}
_ZNK5doris5Field3getILNS_13PrimitiveTypeE15EEERKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeEv
Line
Count
Source
660
114k
const typename PrimitiveTypeTraits<T>::CppType& Field::get() const {
661
114k
    DCHECK(T == type || (is_string_type(type) && is_string_type(T)) || type == TYPE_NULL)
662
38
            << "Type mismatch: requested " << type_to_string(T) << ", actual " << get_type_name();
663
114k
    const auto* MAY_ALIAS ptr =
664
114k
            reinterpret_cast<const typename PrimitiveTypeTraits<T>::CppType*>(&storage);
665
114k
    return *ptr;
666
114k
}
_ZNK5doris5Field3getILNS_13PrimitiveTypeE10EEERKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeEv
Line
Count
Source
660
16.3M
const typename PrimitiveTypeTraits<T>::CppType& Field::get() const {
661
16.3M
    DCHECK(T == type || (is_string_type(type) && is_string_type(T)) || type == TYPE_NULL)
662
6.60k
            << "Type mismatch: requested " << type_to_string(T) << ", actual " << get_type_name();
663
16.3M
    const auto* MAY_ALIAS ptr =
664
16.3M
            reinterpret_cast<const typename PrimitiveTypeTraits<T>::CppType*>(&storage);
665
16.3M
    return *ptr;
666
16.3M
}
_ZNK5doris5Field3getILNS_13PrimitiveTypeE23EEERKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeEv
Line
Count
Source
660
102M
const typename PrimitiveTypeTraits<T>::CppType& Field::get() const {
661
102M
    DCHECK(T == type || (is_string_type(type) && is_string_type(T)) || type == TYPE_NULL)
662
5.57k
            << "Type mismatch: requested " << type_to_string(T) << ", actual " << get_type_name();
663
102M
    const auto* MAY_ALIAS ptr =
664
102M
            reinterpret_cast<const typename PrimitiveTypeTraits<T>::CppType*>(&storage);
665
102M
    return *ptr;
666
102M
}
_ZNK5doris5Field3getILNS_13PrimitiveTypeE41EEERKNS_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
}
_ZNK5doris5Field3getILNS_13PrimitiveTypeE19EEERKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeEv
Line
Count
Source
660
15
const typename PrimitiveTypeTraits<T>::CppType& Field::get() const {
661
15
    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
15
    const auto* MAY_ALIAS ptr =
664
15
            reinterpret_cast<const typename PrimitiveTypeTraits<T>::CppType*>(&storage);
665
15
    return *ptr;
666
15
}
_ZNK5doris5Field3getILNS_13PrimitiveTypeE32EEERKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeEv
Line
Count
Source
660
454k
const typename PrimitiveTypeTraits<T>::CppType& Field::get() const {
661
454k
    DCHECK(T == type || (is_string_type(type) && is_string_type(T)) || type == TYPE_NULL)
662
22
            << "Type mismatch: requested " << type_to_string(T) << ", actual " << get_type_name();
663
454k
    const auto* MAY_ALIAS ptr =
664
454k
            reinterpret_cast<const typename PrimitiveTypeTraits<T>::CppType*>(&storage);
665
454k
    return *ptr;
666
454k
}
_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
140k
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
140k
    const auto* MAY_ALIAS ptr =
664
140k
            reinterpret_cast<const typename PrimitiveTypeTraits<T>::CppType*>(&storage);
665
140k
    return *ptr;
666
140k
}
_ZNK5doris5Field3getILNS_13PrimitiveTypeE37EEERKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeEv
Line
Count
Source
660
38.5k
const typename PrimitiveTypeTraits<T>::CppType& Field::get() const {
661
38.5k
    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
38.5k
    const auto* MAY_ALIAS ptr =
664
38.5k
            reinterpret_cast<const typename PrimitiveTypeTraits<T>::CppType*>(&storage);
665
38.5k
    return *ptr;
666
38.5k
}
_ZNK5doris5Field3getILNS_13PrimitiveTypeE2EEERKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeEv
Line
Count
Source
660
35.1M
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.1M
    const auto* MAY_ALIAS ptr =
664
35.1M
            reinterpret_cast<const typename PrimitiveTypeTraits<T>::CppType*>(&storage);
665
35.1M
    return *ptr;
666
35.1M
}
_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.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
14.2M
    const auto* MAY_ALIAS ptr =
664
14.2M
            reinterpret_cast<const typename PrimitiveTypeTraits<T>::CppType*>(&storage);
665
14.2M
    return *ptr;
666
14.2M
}
_ZNK5doris5Field3getILNS_13PrimitiveTypeE31EEERKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeEv
Line
Count
Source
660
4.75M
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.75M
    const auto* MAY_ALIAS ptr =
664
4.75M
            reinterpret_cast<const typename PrimitiveTypeTraits<T>::CppType*>(&storage);
665
4.75M
    return *ptr;
666
4.75M
}
_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
17.2M
    DCHECK(T == type || (is_string_type(type) && is_string_type(T)) || type == TYPE_NULL)
662
1
            << "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
17.5k
const typename PrimitiveTypeTraits<T>::CppType& Field::get() const {
661
17.5k
    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.5k
    const auto* MAY_ALIAS ptr =
664
17.5k
            reinterpret_cast<const typename PrimitiveTypeTraits<T>::CppType*>(&storage);
665
17.5k
    return *ptr;
666
17.5k
}
_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
241M
void Field::destroy() {
670
241M
    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
241M
    auto* MAY_ALIAS ptr = reinterpret_cast<TargetType*>(&storage);
674
241M
    ptr->~TargetType();
675
241M
}
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
182k
void Field::destroy() {
670
182k
    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
182k
    auto* MAY_ALIAS ptr = reinterpret_cast<TargetType*>(&storage);
674
182k
    ptr->~TargetType();
675
182k
}
_ZN5doris5Field7destroyILNS_13PrimitiveTypeE10EEEvv
Line
Count
Source
669
14.0M
void Field::destroy() {
670
14.0M
    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
14.0M
    auto* MAY_ALIAS ptr = reinterpret_cast<TargetType*>(&storage);
674
14.0M
    ptr->~TargetType();
675
14.0M
}
_ZN5doris5Field7destroyILNS_13PrimitiveTypeE23EEEvv
Line
Count
Source
669
100M
void Field::destroy() {
670
100M
    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
100M
    auto* MAY_ALIAS ptr = reinterpret_cast<TargetType*>(&storage);
674
100M
    ptr->~TargetType();
675
100M
}
_ZN5doris5Field7destroyILNS_13PrimitiveTypeE41EEEvv
Line
Count
Source
669
80
void Field::destroy() {
670
80
    using TargetType = typename PrimitiveTypeTraits<T>::CppType;
671
80
    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
80
    auto* MAY_ALIAS ptr = reinterpret_cast<TargetType*>(&storage);
674
80
    ptr->~TargetType();
675
80
}
_ZN5doris5Field7destroyILNS_13PrimitiveTypeE19EEEvv
Line
Count
Source
669
427
void Field::destroy() {
670
427
    using TargetType = typename PrimitiveTypeTraits<T>::CppType;
671
427
    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
427
    auto* MAY_ALIAS ptr = reinterpret_cast<TargetType*>(&storage);
674
427
    ptr->~TargetType();
675
427
}
_ZN5doris5Field7destroyILNS_13PrimitiveTypeE32EEEvv
Line
Count
Source
669
1.00M
void Field::destroy() {
670
1.00M
    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
1.00M
    auto* MAY_ALIAS ptr = reinterpret_cast<TargetType*>(&storage);
674
1.00M
    ptr->~TargetType();
675
1.00M
}
_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.3M
void Field::destroy() {
670
99.3M
    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.3M
    auto* MAY_ALIAS ptr = reinterpret_cast<TargetType*>(&storage);
674
99.3M
    ptr->~TargetType();
675
99.3M
}
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.60M
void Field::destroy() {
670
9.60M
    using TargetType = typename PrimitiveTypeTraits<T>::CppType;
671
9.60M
    DCHECK(T == type || ((is_string_type(type) && is_string_type(T))))
672
919
            << "Type mismatch: requested " << type_to_string(T) << ", actual " << get_type_name();
673
9.60M
    auto* MAY_ALIAS ptr = reinterpret_cast<TargetType*>(&storage);
674
9.60M
    ptr->~TargetType();
675
9.60M
}
_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
13.2M
    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
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.49k
void Field::destroy() {
670
2.49k
    using TargetType = typename PrimitiveTypeTraits<T>::CppType;
671
2.49k
    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.49k
    auto* MAY_ALIAS ptr = reinterpret_cast<TargetType*>(&storage);
674
2.49k
    ptr->~TargetType();
675
2.49k
}
Unexecuted instantiation: _ZN5doris5Field7destroyILNS_13PrimitiveTypeE27EEEvv
Unexecuted instantiation: _ZN5doris5Field7destroyILNS_13PrimitiveTypeE38EEEvv
Unexecuted instantiation: _ZN5doris5Field7destroyILNS_13PrimitiveTypeE39EEEvv
676
677
34.7M
std::strong_ordering Field::operator<=>(const Field& rhs) const {
678
34.7M
    if (type == PrimitiveType::TYPE_NULL || rhs == PrimitiveType::TYPE_NULL) {
679
23.2M
        return type <=> rhs.type;
680
23.2M
    }
681
11.5M
    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
10.2k
        if (is_string_type(type) && is_string_type(rhs.type)) {
687
10.2k
            return get<TYPE_STRING>() <=> rhs.get<TYPE_STRING>();
688
10.2k
        }
689
0
        throw Exception(Status::FatalError("lhs type not equal with rhs, lhs={}, rhs={}",
690
0
                                           get_type_name(), rhs.get_type_name()));
691
10.2k
    }
692
693
11.4M
    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
54.4k
    case PrimitiveType::TYPE_DATETIMEV2:
706
54.4k
        return get<PrimitiveType::TYPE_DATETIMEV2>().to_date_int_val() <=>
707
54.4k
               rhs.get<PrimitiveType::TYPE_DATETIMEV2>().to_date_int_val();
708
718k
    case PrimitiveType::TYPE_DATEV2:
709
718k
        return get<PrimitiveType::TYPE_DATEV2>().to_date_int_val() <=>
710
718k
               rhs.get<PrimitiveType::TYPE_DATEV2>().to_date_int_val();
711
7.65k
    case PrimitiveType::TYPE_TIMESTAMPTZ:
712
7.65k
        return get<PrimitiveType::TYPE_TIMESTAMPTZ>().to_date_int_val() <=>
713
7.65k
               rhs.get<PrimitiveType::TYPE_TIMESTAMPTZ>().to_date_int_val();
714
20.9k
    case PrimitiveType::TYPE_DATE:
715
20.9k
        return get<PrimitiveType::TYPE_DATE>() <=> rhs.get<PrimitiveType::TYPE_DATE>();
716
749
    case PrimitiveType::TYPE_DATETIME:
717
749
        return get<PrimitiveType::TYPE_DATETIME>() <=> rhs.get<PrimitiveType::TYPE_DATETIME>();
718
1.03M
    case PrimitiveType::TYPE_BIGINT:
719
1.03M
        return get<PrimitiveType::TYPE_BIGINT>() <=> rhs.get<PrimitiveType::TYPE_BIGINT>();
720
340k
    case PrimitiveType::TYPE_BOOLEAN:
721
340k
        return get<PrimitiveType::TYPE_BOOLEAN>() <=> rhs.get<PrimitiveType::TYPE_BOOLEAN>();
722
458k
    case PrimitiveType::TYPE_TINYINT:
723
458k
        return get<TYPE_TINYINT>() <=> rhs.get<TYPE_TINYINT>();
724
13.4k
    case PrimitiveType::TYPE_SMALLINT:
725
13.4k
        return get<TYPE_SMALLINT>() <=> rhs.get<TYPE_SMALLINT>();
726
1.97M
    case PrimitiveType::TYPE_INT:
727
1.97M
        return get<TYPE_INT>() <=> rhs.get<TYPE_INT>();
728
30.1k
    case PrimitiveType::TYPE_LARGEINT:
729
30.1k
        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.11k
    case PrimitiveType::TYPE_FLOAT:
735
1.11k
        switch (Compare::compare(get<TYPE_FLOAT>(), rhs.get<TYPE_FLOAT>())) {
736
401
        case -1:
737
401
            return std::strong_ordering::less;
738
239
        case 0:
739
239
            return std::strong_ordering::equal;
740
470
        case 1:
741
470
            return std::strong_ordering::greater;
742
0
        default:
743
0
            LOG(FATAL) << "unexpected float compare result";
744
1.11k
        }
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.56k
    case PrimitiveType::TYPE_DOUBLE:
750
4.56k
        switch (Compare::compare(get<TYPE_DOUBLE>(), rhs.get<TYPE_DOUBLE>())) {
751
426
        case -1:
752
426
            return std::strong_ordering::less;
753
3.72k
        case 0:
754
3.72k
            return std::strong_ordering::equal;
755
417
        case 1:
756
417
            return std::strong_ordering::greater;
757
0
        default:
758
0
            LOG(FATAL) << "unexpected double compare result";
759
4.56k
        }
760
4.33M
    case PrimitiveType::TYPE_STRING:
761
4.33M
        return get<TYPE_STRING>() <=> rhs.get<TYPE_STRING>();
762
34.0k
    case PrimitiveType::TYPE_CHAR:
763
34.0k
        return get<TYPE_CHAR>() <=> rhs.get<TYPE_CHAR>();
764
2.44M
    case PrimitiveType::TYPE_VARCHAR:
765
2.44M
        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.38k
    case PrimitiveType::TYPE_DECIMAL32:
769
1.38k
        return get<TYPE_DECIMAL32>() <=> rhs.get<TYPE_DECIMAL32>();
770
36.0k
    case PrimitiveType::TYPE_DECIMAL64:
771
36.0k
        return get<TYPE_DECIMAL64>() <=> rhs.get<TYPE_DECIMAL64>();
772
2.82k
    case PrimitiveType::TYPE_DECIMALV2:
773
2.82k
        return get<TYPE_DECIMALV2>() <=> rhs.get<TYPE_DECIMALV2>();
774
10.2k
    case PrimitiveType::TYPE_DECIMAL128I:
775
10.2k
        return get<TYPE_DECIMAL128I>() <=> rhs.get<TYPE_DECIMAL128I>();
776
2.22k
    case PrimitiveType::TYPE_DECIMAL256:
777
2.22k
        return get<TYPE_DECIMAL256>() <=> rhs.get<TYPE_DECIMAL256>();
778
0
    default:
779
0
        throw Exception(Status::FatalError("Unsupported type: {}", get_type_name()));
780
11.4M
    }
781
11.4M
}
782
783
#define MATCH_PRIMITIVE_TYPE(primitive_type)                                   \
784
4.55k
    if (type == primitive_type) {                                              \
785
862
        const auto& v = get<primitive_type>();                                 \
786
862
        return std::string_view(reinterpret_cast<const char*>(&v), sizeof(v)); \
787
862
    }
788
789
1.32k
std::string_view Field::as_string_view() const {
790
1.32k
    if (type == PrimitiveType::TYPE_STRING || type == PrimitiveType::TYPE_VARCHAR ||
791
1.32k
        type == PrimitiveType::TYPE_CHAR) {
792
460
        const auto& s = get<TYPE_STRING>();
793
460
        return {s.data(), s.size()};
794
460
    }
795
862
    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
862
    MATCH_PRIMITIVE_TYPE(TYPE_BOOLEAN);
802
862
    MATCH_PRIMITIVE_TYPE(TYPE_TINYINT);
803
848
    MATCH_PRIMITIVE_TYPE(TYPE_SMALLINT);
804
848
    MATCH_PRIMITIVE_TYPE(TYPE_INT);
805
161
    MATCH_PRIMITIVE_TYPE(TYPE_BIGINT);
806
97
    MATCH_PRIMITIVE_TYPE(TYPE_LARGEINT);
807
97
    MATCH_PRIMITIVE_TYPE(TYPE_FLOAT)
808
97
    MATCH_PRIMITIVE_TYPE(TYPE_DOUBLE);
809
    // MATCH_PRIMITIVE_TYPE(TYPE_VARCHAR);
810
97
    MATCH_PRIMITIVE_TYPE(TYPE_DATE);
811
97
    MATCH_PRIMITIVE_TYPE(TYPE_DATETIME);
812
97
    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
97
    MATCH_PRIMITIVE_TYPE(TYPE_DECIMALV2);
821
97
    MATCH_PRIMITIVE_TYPE(TYPE_TIME);
822
    // MATCH_PRIMITIVE_TYPE(TYPE_BITMAP);
823
    // MATCH_PRIMITIVE_TYPE(TYPE_STRING);
824
    // MATCH_PRIMITIVE_TYPE(TYPE_QUANTILE_STATE);
825
97
    MATCH_PRIMITIVE_TYPE(TYPE_DATEV2);
826
69
    MATCH_PRIMITIVE_TYPE(TYPE_DATETIMEV2);
827
30
    MATCH_PRIMITIVE_TYPE(TYPE_TIMEV2);
828
0
    MATCH_PRIMITIVE_TYPE(TYPE_DECIMAL32);
829
0
    MATCH_PRIMITIVE_TYPE(TYPE_DECIMAL64);
830
0
    MATCH_PRIMITIVE_TYPE(TYPE_DECIMAL128I);
831
    // MATCH_PRIMITIVE_TYPE(TYPE_JSONB);
832
    // MATCH_PRIMITIVE_TYPE(TYPE_VARIANT);
833
    // MATCH_PRIMITIVE_TYPE(TYPE_LAMBDA_FUNCTION);
834
    // MATCH_PRIMITIVE_TYPE(TYPE_AGG_STATE);
835
0
    MATCH_PRIMITIVE_TYPE(TYPE_DECIMAL256);
836
0
    MATCH_PRIMITIVE_TYPE(TYPE_IPV4);
837
0
    MATCH_PRIMITIVE_TYPE(TYPE_IPV6);
838
0
    MATCH_PRIMITIVE_TYPE(TYPE_UINT32);
839
0
    MATCH_PRIMITIVE_TYPE(TYPE_UINT64);
840
    // MATCH_PRIMITIVE_TYPE(TYPE_FIXED_LENGTH_OBJECT);
841
0
    throw Exception(
842
0
            Status::FatalError("type not supported for as_string_view, type={}", get_type_name()));
843
0
}
844
845
#undef MATCH_PRIMITIVE_TYPE
846
847
// Important!!! This method is not accurate, for example, decimal to string, it uses scale == 0, because
848
// it do not know the actual scale of the decimal value. It is only used for debug printing, so it is fine.
849
25.4M
std::string Field::to_debug_string(int scale) const {
850
25.4M
    if (is_null()) {
851
0
        return "NULL";
852
0
    }
853
25.4M
    switch (type) {
854
8.14k
    case PrimitiveType::TYPE_BOOLEAN:
855
8.14k
        return get<TYPE_BOOLEAN>() ? "true" : "false";
856
1.16M
    case PrimitiveType::TYPE_TINYINT:
857
1.16M
        return CastToString::from_number(get<TYPE_TINYINT>());
858
47.8k
    case PrimitiveType::TYPE_SMALLINT:
859
47.8k
        return CastToString::from_number(get<TYPE_SMALLINT>());
860
717k
    case PrimitiveType::TYPE_INT:
861
717k
        return CastToString::from_number(get<TYPE_INT>());
862
684k
    case PrimitiveType::TYPE_BIGINT:
863
684k
        return CastToString::from_number(get<TYPE_BIGINT>());
864
59.6k
    case PrimitiveType::TYPE_LARGEINT:
865
59.6k
        return CastToString::from_number(get<TYPE_LARGEINT>());
866
0
    case PrimitiveType::TYPE_FLOAT:
867
0
        return CastToString::from_number(get<TYPE_FLOAT>());
868
0
    case PrimitiveType::TYPE_DOUBLE:
869
0
        return CastToString::from_number(get<TYPE_DOUBLE>());
870
0
    case PrimitiveType::TYPE_STRING:
871
2.24k
    case PrimitiveType::TYPE_CHAR:
872
21.7M
    case PrimitiveType::TYPE_VARCHAR:
873
21.7M
        return get<TYPE_STRING>();
874
0
    case PrimitiveType::TYPE_VARBINARY:
875
0
        return get<TYPE_VARBINARY>();
876
21.2k
    case PrimitiveType::TYPE_DATE:
877
21.2k
        return CastToString::from_date_or_datetime(get<TYPE_DATE>());
878
357
    case PrimitiveType::TYPE_DATETIME:
879
357
        return CastToString::from_date_or_datetime(get<TYPE_DATETIME>());
880
991k
    case PrimitiveType::TYPE_DATEV2:
881
991k
        return CastToString::from_datev2(get<TYPE_DATEV2>());
882
12.6k
    case PrimitiveType::TYPE_DATETIMEV2:
883
12.6k
        return CastToString::from_datetimev2(get<TYPE_DATETIMEV2>(), scale);
884
31.7k
    case PrimitiveType::TYPE_TIMESTAMPTZ:
885
31.7k
        return CastToString::from_timestamptz(get<TYPE_TIMESTAMPTZ>(), scale);
886
460
    case PrimitiveType::TYPE_DECIMALV2:
887
460
        return get<TYPE_DECIMALV2>().to_string();
888
2.14k
    case PrimitiveType::TYPE_DECIMAL32:
889
2.14k
        return CastToString::from_decimal(get<TYPE_DECIMAL32>(), scale);
890
2.71k
    case PrimitiveType::TYPE_DECIMAL64:
891
2.71k
        return CastToString::from_decimal(get<TYPE_DECIMAL64>(), scale);
892
6.28k
    case PrimitiveType::TYPE_DECIMAL128I:
893
6.28k
        return CastToString::from_decimal(get<TYPE_DECIMAL128I>(), scale);
894
2.26k
    case PrimitiveType::TYPE_DECIMAL256:
895
2.26k
        return CastToString::from_decimal(get<TYPE_DECIMAL256>(), scale);
896
0
    case PrimitiveType::TYPE_IPV4:
897
0
        return CastToString::from_ip(get<TYPE_IPV4>());
898
21
    case PrimitiveType::TYPE_IPV6:
899
21
        return CastToString::from_ip(get<TYPE_IPV6>());
900
0
    default:
901
0
        return get_type_name();
902
25.4M
    }
903
25.4M
}
904
905
#define DECLARE_FUNCTION(FUNC_NAME)                                                               \
906
    template void Field::FUNC_NAME<TYPE_NULL>(typename PrimitiveTypeTraits<TYPE_NULL>::CppType && \
907
                                              rhs);                                               \
908
    template void Field::FUNC_NAME<TYPE_TINYINT>(                                                 \
909
            typename PrimitiveTypeTraits<TYPE_TINYINT>::CppType && rhs);                          \
910
    template void Field::FUNC_NAME<TYPE_SMALLINT>(                                                \
911
            typename PrimitiveTypeTraits<TYPE_SMALLINT>::CppType && rhs);                         \
912
    template void Field::FUNC_NAME<TYPE_INT>(typename PrimitiveTypeTraits<TYPE_INT>::CppType &&   \
913
                                             rhs);                                                \
914
    template void Field::FUNC_NAME<TYPE_BIGINT>(                                                  \
915
            typename PrimitiveTypeTraits<TYPE_BIGINT>::CppType && rhs);                           \
916
    template void Field::FUNC_NAME<TYPE_LARGEINT>(                                                \
917
            typename PrimitiveTypeTraits<TYPE_LARGEINT>::CppType && rhs);                         \
918
    template void Field::FUNC_NAME<TYPE_DATE>(typename PrimitiveTypeTraits<TYPE_DATE>::CppType && \
919
                                              rhs);                                               \
920
    template void Field::FUNC_NAME<TYPE_DATETIME>(                                                \
921
            typename PrimitiveTypeTraits<TYPE_DATETIME>::CppType && rhs);                         \
922
    template void Field::FUNC_NAME<TYPE_DATEV2>(                                                  \
923
            typename PrimitiveTypeTraits<TYPE_DATEV2>::CppType && rhs);                           \
924
    template void Field::FUNC_NAME<TYPE_DATETIMEV2>(                                              \
925
            typename PrimitiveTypeTraits<TYPE_DATETIMEV2>::CppType && rhs);                       \
926
    template void Field::FUNC_NAME<TYPE_DECIMAL32>(                                               \
927
            typename PrimitiveTypeTraits<TYPE_DECIMAL32>::CppType && rhs);                        \
928
    template void Field::FUNC_NAME<TYPE_DECIMAL64>(                                               \
929
            typename PrimitiveTypeTraits<TYPE_DECIMAL64>::CppType && rhs);                        \
930
    template void Field::FUNC_NAME<TYPE_DECIMALV2>(                                               \
931
            typename PrimitiveTypeTraits<TYPE_DECIMALV2>::CppType && rhs);                        \
932
    template void Field::FUNC_NAME<TYPE_DECIMAL128I>(                                             \
933
            typename PrimitiveTypeTraits<TYPE_DECIMAL128I>::CppType && rhs);                      \
934
    template void Field::FUNC_NAME<TYPE_DECIMAL256>(                                              \
935
            typename PrimitiveTypeTraits<TYPE_DECIMAL256>::CppType && rhs);                       \
936
    template void Field::FUNC_NAME<TYPE_CHAR>(typename PrimitiveTypeTraits<TYPE_CHAR>::CppType && \
937
                                              rhs);                                               \
938
    template void Field::FUNC_NAME<TYPE_VARCHAR>(                                                 \
939
            typename PrimitiveTypeTraits<TYPE_VARCHAR>::CppType && rhs);                          \
940
    template void Field::FUNC_NAME<TYPE_STRING>(                                                  \
941
            typename PrimitiveTypeTraits<TYPE_STRING>::CppType && rhs);                           \
942
    template void Field::FUNC_NAME<TYPE_VARBINARY>(                                               \
943
            typename PrimitiveTypeTraits<TYPE_VARBINARY>::CppType && rhs);                        \
944
    template void Field::FUNC_NAME<TYPE_HLL>(typename PrimitiveTypeTraits<TYPE_HLL>::CppType &&   \
945
                                             rhs);                                                \
946
    template void Field::FUNC_NAME<TYPE_VARIANT>(                                                 \
947
            typename PrimitiveTypeTraits<TYPE_VARIANT>::CppType && rhs);                          \
948
    template void Field::FUNC_NAME<TYPE_QUANTILE_STATE>(                                          \
949
            typename PrimitiveTypeTraits<TYPE_QUANTILE_STATE>::CppType && rhs);                   \
950
    template void Field::FUNC_NAME<TYPE_ARRAY>(                                                   \
951
            typename PrimitiveTypeTraits<TYPE_ARRAY>::CppType && rhs);                            \
952
    template void Field::FUNC_NAME<TYPE_TIME>(typename PrimitiveTypeTraits<TYPE_TIME>::CppType && \
953
                                              rhs);                                               \
954
    template void Field::FUNC_NAME<TYPE_TIME>(                                                    \
955
            const typename PrimitiveTypeTraits<TYPE_TIME>::CppType& rhs);                         \
956
    template void Field::FUNC_NAME<TYPE_NULL>(                                                    \
957
            const typename PrimitiveTypeTraits<TYPE_NULL>::CppType& rhs);                         \
958
    template void Field::FUNC_NAME<TYPE_TINYINT>(                                                 \
959
            const typename PrimitiveTypeTraits<TYPE_TINYINT>::CppType& rhs);                      \
960
    template void Field::FUNC_NAME<TYPE_SMALLINT>(                                                \
961
            const typename PrimitiveTypeTraits<TYPE_SMALLINT>::CppType& rhs);                     \
962
    template void Field::FUNC_NAME<TYPE_INT>(                                                     \
963
            const typename PrimitiveTypeTraits<TYPE_INT>::CppType& rhs);                          \
964
    template void Field::FUNC_NAME<TYPE_BIGINT>(                                                  \
965
            const typename PrimitiveTypeTraits<TYPE_BIGINT>::CppType& rhs);                       \
966
    template void Field::FUNC_NAME<TYPE_LARGEINT>(                                                \
967
            const typename PrimitiveTypeTraits<TYPE_LARGEINT>::CppType& rhs);                     \
968
    template void Field::FUNC_NAME<TYPE_DATE>(                                                    \
969
            const typename PrimitiveTypeTraits<TYPE_DATE>::CppType& rhs);                         \
970
    template void Field::FUNC_NAME<TYPE_DATETIME>(                                                \
971
            const typename PrimitiveTypeTraits<TYPE_DATETIME>::CppType& rhs);                     \
972
    template void Field::FUNC_NAME<TYPE_DATEV2>(                                                  \
973
            const typename PrimitiveTypeTraits<TYPE_DATEV2>::CppType& rhs);                       \
974
    template void Field::FUNC_NAME<TYPE_DATETIMEV2>(                                              \
975
            const typename PrimitiveTypeTraits<TYPE_DATETIMEV2>::CppType& rhs);                   \
976
    template void Field::FUNC_NAME<TYPE_TIMESTAMPTZ>(                                             \
977
            const typename PrimitiveTypeTraits<TYPE_TIMESTAMPTZ>::CppType& rhs);                  \
978
    template void Field::FUNC_NAME<TYPE_TIMESTAMPTZ>(                                             \
979
            typename PrimitiveTypeTraits<TYPE_TIMESTAMPTZ>::CppType && rhs);                      \
980
    template void Field::FUNC_NAME<TYPE_DECIMAL32>(                                               \
981
            const typename PrimitiveTypeTraits<TYPE_DECIMAL32>::CppType& rhs);                    \
982
    template void Field::FUNC_NAME<TYPE_DECIMAL64>(                                               \
983
            const typename PrimitiveTypeTraits<TYPE_DECIMAL64>::CppType& rhs);                    \
984
    template void Field::FUNC_NAME<TYPE_DECIMALV2>(                                               \
985
            const typename PrimitiveTypeTraits<TYPE_DECIMALV2>::CppType& rhs);                    \
986
    template void Field::FUNC_NAME<TYPE_DECIMAL128I>(                                             \
987
            const typename PrimitiveTypeTraits<TYPE_DECIMAL128I>::CppType& rhs);                  \
988
    template void Field::FUNC_NAME<TYPE_DECIMAL256>(                                              \
989
            const typename PrimitiveTypeTraits<TYPE_DECIMAL256>::CppType& rhs);                   \
990
    template void Field::FUNC_NAME<TYPE_CHAR>(                                                    \
991
            const typename PrimitiveTypeTraits<TYPE_CHAR>::CppType& rhs);                         \
992
    template void Field::FUNC_NAME<TYPE_VARCHAR>(                                                 \
993
            const typename PrimitiveTypeTraits<TYPE_VARCHAR>::CppType& rhs);                      \
994
    template void Field::FUNC_NAME<TYPE_STRING>(                                                  \
995
            const typename PrimitiveTypeTraits<TYPE_STRING>::CppType& rhs);                       \
996
    template void Field::FUNC_NAME<TYPE_VARBINARY>(                                               \
997
            const typename PrimitiveTypeTraits<TYPE_VARBINARY>::CppType& rhs);                    \
998
    template void Field::FUNC_NAME<TYPE_HLL>(                                                     \
999
            const typename PrimitiveTypeTraits<TYPE_HLL>::CppType& rhs);                          \
1000
    template void Field::FUNC_NAME<TYPE_VARIANT>(                                                 \
1001
            const typename PrimitiveTypeTraits<TYPE_VARIANT>::CppType& rhs);                      \
1002
    template void Field::FUNC_NAME<TYPE_QUANTILE_STATE>(                                          \
1003
            const typename PrimitiveTypeTraits<TYPE_QUANTILE_STATE>::CppType& rhs);               \
1004
    template void Field::FUNC_NAME<TYPE_ARRAY>(                                                   \
1005
            const typename PrimitiveTypeTraits<TYPE_ARRAY>::CppType& rhs);                        \
1006
    template void Field::FUNC_NAME<TYPE_IPV4>(typename PrimitiveTypeTraits<TYPE_IPV4>::CppType && \
1007
                                              rhs);                                               \
1008
    template void Field::FUNC_NAME<TYPE_IPV4>(                                                    \
1009
            const typename PrimitiveTypeTraits<TYPE_IPV4>::CppType& rhs);                         \
1010
    template void Field::FUNC_NAME<TYPE_IPV6>(typename PrimitiveTypeTraits<TYPE_IPV6>::CppType && \
1011
                                              rhs);                                               \
1012
    template void Field::FUNC_NAME<TYPE_IPV6>(                                                    \
1013
            const typename PrimitiveTypeTraits<TYPE_IPV6>::CppType& rhs);                         \
1014
    template void Field::FUNC_NAME<TYPE_BOOLEAN>(                                                 \
1015
            typename PrimitiveTypeTraits<TYPE_BOOLEAN>::CppType && rhs);                          \
1016
    template void Field::FUNC_NAME<TYPE_BOOLEAN>(                                                 \
1017
            const typename PrimitiveTypeTraits<TYPE_BOOLEAN>::CppType& rhs);                      \
1018
    template void Field::FUNC_NAME<TYPE_FLOAT>(                                                   \
1019
            typename PrimitiveTypeTraits<TYPE_FLOAT>::CppType && rhs);                            \
1020
    template void Field::FUNC_NAME<TYPE_FLOAT>(                                                   \
1021
            const typename PrimitiveTypeTraits<TYPE_FLOAT>::CppType& rhs);                        \
1022
    template void Field::FUNC_NAME<TYPE_DOUBLE>(                                                  \
1023
            typename PrimitiveTypeTraits<TYPE_DOUBLE>::CppType && rhs);                           \
1024
    template void Field::FUNC_NAME<TYPE_DOUBLE>(                                                  \
1025
            const typename PrimitiveTypeTraits<TYPE_DOUBLE>::CppType& rhs);                       \
1026
    template void Field::FUNC_NAME<TYPE_JSONB>(                                                   \
1027
            typename PrimitiveTypeTraits<TYPE_JSONB>::CppType && rhs);                            \
1028
    template void Field::FUNC_NAME<TYPE_JSONB>(                                                   \
1029
            const typename PrimitiveTypeTraits<TYPE_JSONB>::CppType& rhs);                        \
1030
    template void Field::FUNC_NAME<TYPE_STRUCT>(                                                  \
1031
            typename PrimitiveTypeTraits<TYPE_STRUCT>::CppType && rhs);                           \
1032
    template void Field::FUNC_NAME<TYPE_STRUCT>(                                                  \
1033
            const typename PrimitiveTypeTraits<TYPE_STRUCT>::CppType& rhs);                       \
1034
    template void Field::FUNC_NAME<TYPE_MAP>(typename PrimitiveTypeTraits<TYPE_MAP>::CppType &&   \
1035
                                             rhs);                                                \
1036
    template void Field::FUNC_NAME<TYPE_MAP>(                                                     \
1037
            const typename PrimitiveTypeTraits<TYPE_MAP>::CppType& rhs);                          \
1038
    template void Field::FUNC_NAME<TYPE_BITMAP>(                                                  \
1039
            typename PrimitiveTypeTraits<TYPE_BITMAP>::CppType && rhs);                           \
1040
    template void Field::FUNC_NAME<TYPE_BITMAP>(                                                  \
1041
            const typename PrimitiveTypeTraits<TYPE_BITMAP>::CppType& rhs);                       \
1042
    template void Field::FUNC_NAME<TYPE_TIMEV2>(                                                  \
1043
            const typename PrimitiveTypeTraits<TYPE_TIMEV2>::CppType& rhs);                       \
1044
    template void Field::FUNC_NAME<TYPE_TIMEV2>(                                                  \
1045
            typename PrimitiveTypeTraits<TYPE_TIMEV2>::CppType && rhs);                           \
1046
    template void Field::FUNC_NAME<TYPE_UINT32>(                                                  \
1047
            const typename PrimitiveTypeTraits<TYPE_UINT32>::CppType& rhs);                       \
1048
    template void Field::FUNC_NAME<TYPE_UINT32>(                                                  \
1049
            typename PrimitiveTypeTraits<TYPE_UINT32>::CppType && rhs);                           \
1050
    template void Field::FUNC_NAME<TYPE_UINT64>(                                                  \
1051
            const typename PrimitiveTypeTraits<TYPE_UINT64>::CppType& rhs);                       \
1052
    template void Field::FUNC_NAME<TYPE_UINT64>(                                                  \
1053
            typename PrimitiveTypeTraits<TYPE_UINT64>::CppType && rhs);
1054
DECLARE_FUNCTION(create_concrete)
1055
DECLARE_FUNCTION(assign_concrete)
1056
#undef DECLARE_FUNCTION
1057
1058
#define DECLARE_FUNCTION(TYPE_NAME)                                                          \
1059
    template typename PrimitiveTypeTraits<TYPE_NAME>::CppType& Field::get<TYPE_NAME>();      \
1060
    template const typename PrimitiveTypeTraits<TYPE_NAME>::CppType& Field::get<TYPE_NAME>() \
1061
            const;                                                                           \
1062
    template void Field::destroy<TYPE_NAME>();
1063
DECLARE_FUNCTION(TYPE_NULL)
1064
DECLARE_FUNCTION(TYPE_TINYINT)
1065
DECLARE_FUNCTION(TYPE_SMALLINT)
1066
DECLARE_FUNCTION(TYPE_INT)
1067
DECLARE_FUNCTION(TYPE_BIGINT)
1068
DECLARE_FUNCTION(TYPE_LARGEINT)
1069
DECLARE_FUNCTION(TYPE_DATE)
1070
DECLARE_FUNCTION(TYPE_DATETIME)
1071
DECLARE_FUNCTION(TYPE_DATEV2)
1072
DECLARE_FUNCTION(TYPE_DATETIMEV2)
1073
DECLARE_FUNCTION(TYPE_TIMESTAMPTZ)
1074
DECLARE_FUNCTION(TYPE_DECIMAL32)
1075
DECLARE_FUNCTION(TYPE_DECIMAL64)
1076
DECLARE_FUNCTION(TYPE_DECIMALV2)
1077
DECLARE_FUNCTION(TYPE_DECIMAL128I)
1078
DECLARE_FUNCTION(TYPE_DECIMAL256)
1079
DECLARE_FUNCTION(TYPE_CHAR)
1080
DECLARE_FUNCTION(TYPE_VARCHAR)
1081
DECLARE_FUNCTION(TYPE_STRING)
1082
DECLARE_FUNCTION(TYPE_VARBINARY)
1083
DECLARE_FUNCTION(TYPE_HLL)
1084
DECLARE_FUNCTION(TYPE_VARIANT)
1085
DECLARE_FUNCTION(TYPE_QUANTILE_STATE)
1086
DECLARE_FUNCTION(TYPE_ARRAY)
1087
DECLARE_FUNCTION(TYPE_TIME)
1088
DECLARE_FUNCTION(TYPE_IPV4)
1089
DECLARE_FUNCTION(TYPE_IPV6)
1090
DECLARE_FUNCTION(TYPE_BOOLEAN)
1091
DECLARE_FUNCTION(TYPE_FLOAT)
1092
DECLARE_FUNCTION(TYPE_DOUBLE)
1093
DECLARE_FUNCTION(TYPE_JSONB)
1094
DECLARE_FUNCTION(TYPE_STRUCT)
1095
DECLARE_FUNCTION(TYPE_MAP)
1096
DECLARE_FUNCTION(TYPE_BITMAP)
1097
DECLARE_FUNCTION(TYPE_TIMEV2)
1098
DECLARE_FUNCTION(TYPE_UINT32)
1099
DECLARE_FUNCTION(TYPE_UINT64)
1100
#undef DECLARE_FUNCTION
1101
} // namespace doris