Coverage Report

Created: 2026-03-28 07:05

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
210M
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
210M
    using StorageType = typename PrimitiveTypeTraits<Type>::CppType;
102
210M
    new (&storage) StorageType(std::move(x));
103
210M
    type = Type;
104
210M
    DCHECK_NE(type, PrimitiveType::INVALID_TYPE);
105
210M
}
_ZN5doris5Field15create_concreteILNS_13PrimitiveTypeE1EEEvONS_19PrimitiveTypeTraitsIXT_EE7CppTypeE
Line
Count
Source
95
573k
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
573k
    using StorageType = typename PrimitiveTypeTraits<Type>::CppType;
102
573k
    new (&storage) StorageType(std::move(x));
103
573k
    type = Type;
104
    DCHECK_NE(type, PrimitiveType::INVALID_TYPE);
105
573k
}
_ZN5doris5Field15create_concreteILNS_13PrimitiveTypeE3EEEvONS_19PrimitiveTypeTraitsIXT_EE7CppTypeE
Line
Count
Source
95
15.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
15.1M
    using StorageType = typename PrimitiveTypeTraits<Type>::CppType;
102
15.1M
    new (&storage) StorageType(std::move(x));
103
15.1M
    type = Type;
104
    DCHECK_NE(type, PrimitiveType::INVALID_TYPE);
105
15.1M
}
_ZN5doris5Field15create_concreteILNS_13PrimitiveTypeE4EEEvONS_19PrimitiveTypeTraitsIXT_EE7CppTypeE
Line
Count
Source
95
285k
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
285k
    using StorageType = typename PrimitiveTypeTraits<Type>::CppType;
102
285k
    new (&storage) StorageType(std::move(x));
103
285k
    type = Type;
104
    DCHECK_NE(type, PrimitiveType::INVALID_TYPE);
105
285k
}
_ZN5doris5Field15create_concreteILNS_13PrimitiveTypeE5EEEvONS_19PrimitiveTypeTraitsIXT_EE7CppTypeE
Line
Count
Source
95
22.8M
void Field::create_concrete(typename PrimitiveTypeTraits<Type>::CppType&& x) {
96
    // In both Field and PODArray, small types may be stored as wider types,
97
    // e.g. char is stored as UInt64. Field can return this extended value
98
    // with get<StorageType>(). To avoid uninitialized results from get(),
99
    // we must initialize the entire wide stored type, and not just the
100
    // nominal type.
101
22.8M
    using StorageType = typename PrimitiveTypeTraits<Type>::CppType;
102
22.8M
    new (&storage) StorageType(std::move(x));
103
22.8M
    type = Type;
104
    DCHECK_NE(type, PrimitiveType::INVALID_TYPE);
105
22.8M
}
_ZN5doris5Field15create_concreteILNS_13PrimitiveTypeE6EEEvONS_19PrimitiveTypeTraitsIXT_EE7CppTypeE
Line
Count
Source
95
49.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
49.8M
    using StorageType = typename PrimitiveTypeTraits<Type>::CppType;
102
49.8M
    new (&storage) StorageType(std::move(x));
103
49.8M
    type = Type;
104
    DCHECK_NE(type, PrimitiveType::INVALID_TYPE);
105
49.8M
}
_ZN5doris5Field15create_concreteILNS_13PrimitiveTypeE7EEEvONS_19PrimitiveTypeTraitsIXT_EE7CppTypeE
Line
Count
Source
95
373k
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
373k
    using StorageType = typename PrimitiveTypeTraits<Type>::CppType;
102
373k
    new (&storage) StorageType(std::move(x));
103
373k
    type = Type;
104
    DCHECK_NE(type, PrimitiveType::INVALID_TYPE);
105
373k
}
_ZN5doris5Field15create_concreteILNS_13PrimitiveTypeE11EEEvONS_19PrimitiveTypeTraitsIXT_EE7CppTypeE
Line
Count
Source
95
17.4k
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.4k
    using StorageType = typename PrimitiveTypeTraits<Type>::CppType;
102
17.4k
    new (&storage) StorageType(std::move(x));
103
17.4k
    type = Type;
104
    DCHECK_NE(type, PrimitiveType::INVALID_TYPE);
105
17.4k
}
_ZN5doris5Field15create_concreteILNS_13PrimitiveTypeE12EEEvONS_19PrimitiveTypeTraitsIXT_EE7CppTypeE
Line
Count
Source
95
23.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
23.1k
    using StorageType = typename PrimitiveTypeTraits<Type>::CppType;
102
23.1k
    new (&storage) StorageType(std::move(x));
103
23.1k
    type = Type;
104
    DCHECK_NE(type, PrimitiveType::INVALID_TYPE);
105
23.1k
}
_ZN5doris5Field15create_concreteILNS_13PrimitiveTypeE25EEEvONS_19PrimitiveTypeTraitsIXT_EE7CppTypeE
Line
Count
Source
95
924k
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
924k
    using StorageType = typename PrimitiveTypeTraits<Type>::CppType;
102
924k
    new (&storage) StorageType(std::move(x));
103
924k
    type = Type;
104
    DCHECK_NE(type, PrimitiveType::INVALID_TYPE);
105
924k
}
_ZN5doris5Field15create_concreteILNS_13PrimitiveTypeE26EEEvONS_19PrimitiveTypeTraitsIXT_EE7CppTypeE
Line
Count
Source
95
2.46M
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.46M
    using StorageType = typename PrimitiveTypeTraits<Type>::CppType;
102
2.46M
    new (&storage) StorageType(std::move(x));
103
2.46M
    type = Type;
104
    DCHECK_NE(type, PrimitiveType::INVALID_TYPE);
105
2.46M
}
_ZN5doris5Field15create_concreteILNS_13PrimitiveTypeE28EEEvONS_19PrimitiveTypeTraitsIXT_EE7CppTypeE
Line
Count
Source
95
121k
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
121k
    using StorageType = typename PrimitiveTypeTraits<Type>::CppType;
102
121k
    new (&storage) StorageType(std::move(x));
103
121k
    type = Type;
104
    DCHECK_NE(type, PrimitiveType::INVALID_TYPE);
105
121k
}
_ZN5doris5Field15create_concreteILNS_13PrimitiveTypeE29EEEvONS_19PrimitiveTypeTraitsIXT_EE7CppTypeE
Line
Count
Source
95
13.7M
void Field::create_concrete(typename PrimitiveTypeTraits<Type>::CppType&& x) {
96
    // In both Field and PODArray, small types may be stored as wider types,
97
    // e.g. char is stored as UInt64. Field can return this extended value
98
    // with get<StorageType>(). To avoid uninitialized results from get(),
99
    // we must initialize the entire wide stored type, and not just the
100
    // nominal type.
101
13.7M
    using StorageType = typename PrimitiveTypeTraits<Type>::CppType;
102
13.7M
    new (&storage) StorageType(std::move(x));
103
13.7M
    type = Type;
104
    DCHECK_NE(type, PrimitiveType::INVALID_TYPE);
105
13.7M
}
_ZN5doris5Field15create_concreteILNS_13PrimitiveTypeE20EEEvONS_19PrimitiveTypeTraitsIXT_EE7CppTypeE
Line
Count
Source
95
16.8k
void Field::create_concrete(typename PrimitiveTypeTraits<Type>::CppType&& x) {
96
    // In both Field and PODArray, small types may be stored as wider types,
97
    // e.g. char is stored as UInt64. Field can return this extended value
98
    // with get<StorageType>(). To avoid uninitialized results from get(),
99
    // we must initialize the entire wide stored type, and not just the
100
    // nominal type.
101
16.8k
    using StorageType = typename PrimitiveTypeTraits<Type>::CppType;
102
16.8k
    new (&storage) StorageType(std::move(x));
103
16.8k
    type = Type;
104
    DCHECK_NE(type, PrimitiveType::INVALID_TYPE);
105
16.8k
}
_ZN5doris5Field15create_concreteILNS_13PrimitiveTypeE30EEEvONS_19PrimitiveTypeTraitsIXT_EE7CppTypeE
Line
Count
Source
95
219k
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
219k
    using StorageType = typename PrimitiveTypeTraits<Type>::CppType;
102
219k
    new (&storage) StorageType(std::move(x));
103
219k
    type = Type;
104
    DCHECK_NE(type, PrimitiveType::INVALID_TYPE);
105
219k
}
_ZN5doris5Field15create_concreteILNS_13PrimitiveTypeE35EEEvONS_19PrimitiveTypeTraitsIXT_EE7CppTypeE
Line
Count
Source
95
60.5k
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
60.5k
    using StorageType = typename PrimitiveTypeTraits<Type>::CppType;
102
60.5k
    new (&storage) StorageType(std::move(x));
103
60.5k
    type = Type;
104
    DCHECK_NE(type, PrimitiveType::INVALID_TYPE);
105
60.5k
}
_ZN5doris5Field15create_concreteILNS_13PrimitiveTypeE15EEEvONS_19PrimitiveTypeTraitsIXT_EE7CppTypeE
Line
Count
Source
95
182k
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
182k
    using StorageType = typename PrimitiveTypeTraits<Type>::CppType;
102
182k
    new (&storage) StorageType(std::move(x));
103
182k
    type = Type;
104
    DCHECK_NE(type, PrimitiveType::INVALID_TYPE);
105
182k
}
_ZN5doris5Field15create_concreteILNS_13PrimitiveTypeE10EEEvONS_19PrimitiveTypeTraitsIXT_EE7CppTypeE
Line
Count
Source
95
2.87M
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.87M
    using StorageType = typename PrimitiveTypeTraits<Type>::CppType;
102
2.87M
    new (&storage) StorageType(std::move(x));
103
2.87M
    type = Type;
104
    DCHECK_NE(type, PrimitiveType::INVALID_TYPE);
105
2.87M
}
_ZN5doris5Field15create_concreteILNS_13PrimitiveTypeE23EEEvONS_19PrimitiveTypeTraitsIXT_EE7CppTypeE
Line
Count
Source
95
47.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
47.8M
    using StorageType = typename PrimitiveTypeTraits<Type>::CppType;
102
47.8M
    new (&storage) StorageType(std::move(x));
103
47.8M
    type = Type;
104
    DCHECK_NE(type, PrimitiveType::INVALID_TYPE);
105
47.8M
}
_ZN5doris5Field15create_concreteILNS_13PrimitiveTypeE41EEEvONS_19PrimitiveTypeTraitsIXT_EE7CppTypeE
Line
Count
Source
95
98
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
98
    using StorageType = typename PrimitiveTypeTraits<Type>::CppType;
102
98
    new (&storage) StorageType(std::move(x));
103
98
    type = Type;
104
    DCHECK_NE(type, PrimitiveType::INVALID_TYPE);
105
98
}
_ZN5doris5Field15create_concreteILNS_13PrimitiveTypeE19EEEvONS_19PrimitiveTypeTraitsIXT_EE7CppTypeE
Line
Count
Source
95
27
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
27
    using StorageType = typename PrimitiveTypeTraits<Type>::CppType;
102
27
    new (&storage) StorageType(std::move(x));
103
27
    type = Type;
104
    DCHECK_NE(type, PrimitiveType::INVALID_TYPE);
105
27
}
_ZN5doris5Field15create_concreteILNS_13PrimitiveTypeE32EEEvONS_19PrimitiveTypeTraitsIXT_EE7CppTypeE
Line
Count
Source
95
458k
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
458k
    using StorageType = typename PrimitiveTypeTraits<Type>::CppType;
102
458k
    new (&storage) StorageType(std::move(x));
103
458k
    type = Type;
104
    DCHECK_NE(type, PrimitiveType::INVALID_TYPE);
105
458k
}
_ZN5doris5Field15create_concreteILNS_13PrimitiveTypeE24EEEvONS_19PrimitiveTypeTraitsIXT_EE7CppTypeE
Line
Count
Source
95
21
void Field::create_concrete(typename PrimitiveTypeTraits<Type>::CppType&& x) {
96
    // In both Field and PODArray, small types may be stored as wider types,
97
    // e.g. char is stored as UInt64. Field can return this extended value
98
    // with get<StorageType>(). To avoid uninitialized results from get(),
99
    // we must initialize the entire wide stored type, and not just the
100
    // nominal type.
101
21
    using StorageType = typename PrimitiveTypeTraits<Type>::CppType;
102
21
    new (&storage) StorageType(std::move(x));
103
21
    type = Type;
104
    DCHECK_NE(type, PrimitiveType::INVALID_TYPE);
105
21
}
_ZN5doris5Field15create_concreteILNS_13PrimitiveTypeE17EEEvONS_19PrimitiveTypeTraitsIXT_EE7CppTypeE
Line
Count
Source
95
8.26M
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
8.26M
    using StorageType = typename PrimitiveTypeTraits<Type>::CppType;
102
8.26M
    new (&storage) StorageType(std::move(x));
103
8.26M
    type = Type;
104
    DCHECK_NE(type, PrimitiveType::INVALID_TYPE);
105
8.26M
}
Unexecuted instantiation: _ZN5doris5Field15create_concreteILNS_13PrimitiveTypeE21EEEvONS_19PrimitiveTypeTraitsIXT_EE7CppTypeE
_ZN5doris5Field15create_concreteILNS_13PrimitiveTypeE42EEEvONS_19PrimitiveTypeTraitsIXT_EE7CppTypeE
Line
Count
Source
95
66.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
66.0k
    using StorageType = typename PrimitiveTypeTraits<Type>::CppType;
102
66.0k
    new (&storage) StorageType(std::move(x));
103
66.0k
    type = Type;
104
    DCHECK_NE(type, PrimitiveType::INVALID_TYPE);
105
66.0k
}
_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.4k
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.4k
    using StorageType = typename PrimitiveTypeTraits<Type>::CppType;
102
40.4k
    new (&storage) StorageType(std::move(x));
103
40.4k
    type = Type;
104
    DCHECK_NE(type, PrimitiveType::INVALID_TYPE);
105
40.4k
}
_ZN5doris5Field15create_concreteILNS_13PrimitiveTypeE2EEEvONS_19PrimitiveTypeTraitsIXT_EE7CppTypeE
Line
Count
Source
95
30.0M
void Field::create_concrete(typename PrimitiveTypeTraits<Type>::CppType&& x) {
96
    // In both Field and PODArray, small types may be stored as wider types,
97
    // e.g. char is stored as UInt64. Field can return this extended value
98
    // with get<StorageType>(). To avoid uninitialized results from get(),
99
    // we must initialize the entire wide stored type, and not just the
100
    // nominal type.
101
30.0M
    using StorageType = typename PrimitiveTypeTraits<Type>::CppType;
102
30.0M
    new (&storage) StorageType(std::move(x));
103
30.0M
    type = Type;
104
    DCHECK_NE(type, PrimitiveType::INVALID_TYPE);
105
30.0M
}
_ZN5doris5Field15create_concreteILNS_13PrimitiveTypeE8EEEvONS_19PrimitiveTypeTraitsIXT_EE7CppTypeE
Line
Count
Source
95
166k
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
166k
    using StorageType = typename PrimitiveTypeTraits<Type>::CppType;
102
166k
    new (&storage) StorageType(std::move(x));
103
166k
    type = Type;
104
    DCHECK_NE(type, PrimitiveType::INVALID_TYPE);
105
166k
}
_ZN5doris5Field15create_concreteILNS_13PrimitiveTypeE9EEEvONS_19PrimitiveTypeTraitsIXT_EE7CppTypeE
Line
Count
Source
95
6.61M
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.61M
    using StorageType = typename PrimitiveTypeTraits<Type>::CppType;
102
6.61M
    new (&storage) StorageType(std::move(x));
103
6.61M
    type = Type;
104
    DCHECK_NE(type, PrimitiveType::INVALID_TYPE);
105
6.61M
}
_ZN5doris5Field15create_concreteILNS_13PrimitiveTypeE31EEEvONS_19PrimitiveTypeTraitsIXT_EE7CppTypeE
Line
Count
Source
95
6.65M
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.65M
    using StorageType = typename PrimitiveTypeTraits<Type>::CppType;
102
6.65M
    new (&storage) StorageType(std::move(x));
103
6.65M
    type = Type;
104
    DCHECK_NE(type, PrimitiveType::INVALID_TYPE);
105
6.65M
}
_ZN5doris5Field15create_concreteILNS_13PrimitiveTypeE16EEEvONS_19PrimitiveTypeTraitsIXT_EE7CppTypeE
Line
Count
Source
95
11.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
11.1k
    using StorageType = typename PrimitiveTypeTraits<Type>::CppType;
102
11.1k
    new (&storage) StorageType(std::move(x));
103
11.1k
    type = Type;
104
    DCHECK_NE(type, PrimitiveType::INVALID_TYPE);
105
11.1k
}
_ZN5doris5Field15create_concreteILNS_13PrimitiveTypeE18EEEvONS_19PrimitiveTypeTraitsIXT_EE7CppTypeE
Line
Count
Source
95
29.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
29.0k
    using StorageType = typename PrimitiveTypeTraits<Type>::CppType;
102
29.0k
    new (&storage) StorageType(std::move(x));
103
29.0k
    type = Type;
104
    DCHECK_NE(type, PrimitiveType::INVALID_TYPE);
105
29.0k
}
_ZN5doris5Field15create_concreteILNS_13PrimitiveTypeE22EEEvONS_19PrimitiveTypeTraitsIXT_EE7CppTypeE
Line
Count
Source
95
65
void Field::create_concrete(typename PrimitiveTypeTraits<Type>::CppType&& x) {
96
    // In both Field and PODArray, small types may be stored as wider types,
97
    // e.g. char is stored as UInt64. Field can return this extended value
98
    // with get<StorageType>(). To avoid uninitialized results from get(),
99
    // we must initialize the entire wide stored type, and not just the
100
    // nominal type.
101
65
    using StorageType = typename PrimitiveTypeTraits<Type>::CppType;
102
65
    new (&storage) StorageType(std::move(x));
103
65
    type = Type;
104
    DCHECK_NE(type, PrimitiveType::INVALID_TYPE);
105
65
}
_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
273M
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
273M
    using StorageType = typename PrimitiveTypeTraits<Type>::CppType;
115
273M
    new (&storage) StorageType(x);
116
273M
    type = Type;
117
273M
    DCHECK_NE(type, PrimitiveType::INVALID_TYPE);
118
273M
}
Unexecuted instantiation: _ZN5doris5Field15create_concreteILNS_13PrimitiveTypeE21EEEvRKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeE
_ZN5doris5Field15create_concreteILNS_13PrimitiveTypeE1EEEvRKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeE
Line
Count
Source
108
39.7M
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.7M
    using StorageType = typename PrimitiveTypeTraits<Type>::CppType;
115
39.7M
    new (&storage) StorageType(x);
116
39.7M
    type = Type;
117
    DCHECK_NE(type, PrimitiveType::INVALID_TYPE);
118
39.7M
}
_ZN5doris5Field15create_concreteILNS_13PrimitiveTypeE3EEEvRKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeE
Line
Count
Source
108
5.88M
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.88M
    using StorageType = typename PrimitiveTypeTraits<Type>::CppType;
115
5.88M
    new (&storage) StorageType(x);
116
5.88M
    type = Type;
117
    DCHECK_NE(type, PrimitiveType::INVALID_TYPE);
118
5.88M
}
_ZN5doris5Field15create_concreteILNS_13PrimitiveTypeE4EEEvRKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeE
Line
Count
Source
108
4.07M
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.07M
    using StorageType = typename PrimitiveTypeTraits<Type>::CppType;
115
4.07M
    new (&storage) StorageType(x);
116
4.07M
    type = Type;
117
    DCHECK_NE(type, PrimitiveType::INVALID_TYPE);
118
4.07M
}
_ZN5doris5Field15create_concreteILNS_13PrimitiveTypeE5EEEvRKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeE
Line
Count
Source
108
20.9M
void Field::create_concrete(const typename PrimitiveTypeTraits<Type>::CppType& x) {
109
    // In both Field and PODArray, small types may be stored as wider types,
110
    // e.g. char is stored as UInt64. Field can return this extended value
111
    // with get<StorageType>(). To avoid uninitialized results from get(),
112
    // we must initialize the entire wide stored type, and not just the
113
    // nominal type.
114
20.9M
    using StorageType = typename PrimitiveTypeTraits<Type>::CppType;
115
20.9M
    new (&storage) StorageType(x);
116
20.9M
    type = Type;
117
    DCHECK_NE(type, PrimitiveType::INVALID_TYPE);
118
20.9M
}
_ZN5doris5Field15create_concreteILNS_13PrimitiveTypeE6EEEvRKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeE
Line
Count
Source
108
13.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
13.8M
    using StorageType = typename PrimitiveTypeTraits<Type>::CppType;
115
13.8M
    new (&storage) StorageType(x);
116
13.8M
    type = Type;
117
    DCHECK_NE(type, PrimitiveType::INVALID_TYPE);
118
13.8M
}
_ZN5doris5Field15create_concreteILNS_13PrimitiveTypeE7EEEvRKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeE
Line
Count
Source
108
3.28M
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.28M
    using StorageType = typename PrimitiveTypeTraits<Type>::CppType;
115
3.28M
    new (&storage) StorageType(x);
116
3.28M
    type = Type;
117
    DCHECK_NE(type, PrimitiveType::INVALID_TYPE);
118
3.28M
}
_ZN5doris5Field15create_concreteILNS_13PrimitiveTypeE11EEEvRKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeE
Line
Count
Source
108
3.40M
void Field::create_concrete(const typename PrimitiveTypeTraits<Type>::CppType& x) {
109
    // In both Field and PODArray, small types may be stored as wider types,
110
    // e.g. char is stored as UInt64. Field can return this extended value
111
    // with get<StorageType>(). To avoid uninitialized results from get(),
112
    // we must initialize the entire wide stored type, and not just the
113
    // nominal type.
114
3.40M
    using StorageType = typename PrimitiveTypeTraits<Type>::CppType;
115
3.40M
    new (&storage) StorageType(x);
116
3.40M
    type = Type;
117
    DCHECK_NE(type, PrimitiveType::INVALID_TYPE);
118
3.40M
}
_ZN5doris5Field15create_concreteILNS_13PrimitiveTypeE12EEEvRKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeE
Line
Count
Source
108
3.33M
void Field::create_concrete(const typename PrimitiveTypeTraits<Type>::CppType& x) {
109
    // In both Field and PODArray, small types may be stored as wider types,
110
    // e.g. char is stored as UInt64. Field can return this extended value
111
    // with get<StorageType>(). To avoid uninitialized results from get(),
112
    // we must initialize the entire wide stored type, and not just the
113
    // nominal type.
114
3.33M
    using StorageType = typename PrimitiveTypeTraits<Type>::CppType;
115
3.33M
    new (&storage) StorageType(x);
116
3.33M
    type = Type;
117
    DCHECK_NE(type, PrimitiveType::INVALID_TYPE);
118
3.33M
}
_ZN5doris5Field15create_concreteILNS_13PrimitiveTypeE25EEEvRKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeE
Line
Count
Source
108
5.60M
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.60M
    using StorageType = typename PrimitiveTypeTraits<Type>::CppType;
115
5.60M
    new (&storage) StorageType(x);
116
5.60M
    type = Type;
117
    DCHECK_NE(type, PrimitiveType::INVALID_TYPE);
118
5.60M
}
_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
55.1k
void Field::create_concrete(const typename PrimitiveTypeTraits<Type>::CppType& x) {
109
    // In both Field and PODArray, small types may be stored as wider types,
110
    // e.g. char is stored as UInt64. Field can return this extended value
111
    // with get<StorageType>(). To avoid uninitialized results from get(),
112
    // we must initialize the entire wide stored type, and not just the
113
    // nominal type.
114
55.1k
    using StorageType = typename PrimitiveTypeTraits<Type>::CppType;
115
55.1k
    new (&storage) StorageType(x);
116
55.1k
    type = Type;
117
    DCHECK_NE(type, PrimitiveType::INVALID_TYPE);
118
55.1k
}
_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
9.55k
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.55k
    using StorageType = typename PrimitiveTypeTraits<Type>::CppType;
115
9.55k
    new (&storage) StorageType(x);
116
9.55k
    type = Type;
117
    DCHECK_NE(type, PrimitiveType::INVALID_TYPE);
118
9.55k
}
_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.57k
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.57k
    using StorageType = typename PrimitiveTypeTraits<Type>::CppType;
115
3.57k
    new (&storage) StorageType(x);
116
3.57k
    type = Type;
117
    DCHECK_NE(type, PrimitiveType::INVALID_TYPE);
118
3.57k
}
_ZN5doris5Field15create_concreteILNS_13PrimitiveTypeE10EEEvRKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeE
Line
Count
Source
108
13.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
13.0M
    using StorageType = typename PrimitiveTypeTraits<Type>::CppType;
115
13.0M
    new (&storage) StorageType(x);
116
13.0M
    type = Type;
117
    DCHECK_NE(type, PrimitiveType::INVALID_TYPE);
118
13.0M
}
_ZN5doris5Field15create_concreteILNS_13PrimitiveTypeE23EEEvRKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeE
Line
Count
Source
108
16.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
16.3M
    using StorageType = typename PrimitiveTypeTraits<Type>::CppType;
115
16.3M
    new (&storage) StorageType(x);
116
16.3M
    type = Type;
117
    DCHECK_NE(type, PrimitiveType::INVALID_TYPE);
118
16.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
93.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
93.5M
    using StorageType = typename PrimitiveTypeTraits<Type>::CppType;
115
93.5M
    new (&storage) StorageType(x);
116
93.5M
    type = Type;
117
    DCHECK_NE(type, PrimitiveType::INVALID_TYPE);
118
93.5M
}
_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.54M
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.54M
    using StorageType = typename PrimitiveTypeTraits<Type>::CppType;
115
3.54M
    new (&storage) StorageType(x);
116
3.54M
    type = Type;
117
    DCHECK_NE(type, PrimitiveType::INVALID_TYPE);
118
3.54M
}
_ZN5doris5Field15create_concreteILNS_13PrimitiveTypeE9EEEvRKNS_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_13PrimitiveTypeE31EEEvRKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeE
Line
Count
Source
108
2.92M
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.92M
    using StorageType = typename PrimitiveTypeTraits<Type>::CppType;
115
2.92M
    new (&storage) StorageType(x);
116
2.92M
    type = Type;
117
    DCHECK_NE(type, PrimitiveType::INVALID_TYPE);
118
2.92M
}
_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
101M
void Field::create(Field&& field) {
121
101M
    switch (field.type) {
122
511k
    case PrimitiveType::TYPE_NULL:
123
511k
        create_concrete<TYPE_NULL>(std::move(field.template get<TYPE_NULL>()));
124
511k
        return;
125
1.19M
    case PrimitiveType::TYPE_DATETIMEV2:
126
1.19M
        create_concrete<TYPE_DATETIMEV2>(std::move(field.template get<TYPE_DATETIMEV2>()));
127
1.19M
        return;
128
550k
    case PrimitiveType::TYPE_DATEV2:
129
550k
        create_concrete<TYPE_DATEV2>(std::move(field.template get<TYPE_DATEV2>()));
130
550k
        return;
131
35.4k
    case PrimitiveType::TYPE_TIMESTAMPTZ:
132
35.4k
        create_concrete<TYPE_TIMESTAMPTZ>(std::move(field.template get<TYPE_TIMESTAMPTZ>()));
133
35.4k
        return;
134
18.5k
    case PrimitiveType::TYPE_DATETIME:
135
18.5k
        create_concrete<TYPE_DATETIME>(std::move(field.template get<TYPE_DATETIME>()));
136
18.5k
        return;
137
13.7k
    case PrimitiveType::TYPE_DATE:
138
13.7k
        create_concrete<TYPE_DATE>(std::move(field.template get<TYPE_DATE>()));
139
13.7k
        return;
140
1.22M
    case PrimitiveType::TYPE_BOOLEAN:
141
1.22M
        create_concrete<TYPE_BOOLEAN>(std::move(field.template get<TYPE_BOOLEAN>()));
142
1.22M
        return;
143
7.69M
    case PrimitiveType::TYPE_TINYINT:
144
7.69M
        create_concrete<TYPE_TINYINT>(std::move(field.template get<TYPE_TINYINT>()));
145
7.69M
        return;
146
163k
    case PrimitiveType::TYPE_SMALLINT:
147
163k
        create_concrete<TYPE_SMALLINT>(std::move(field.template get<TYPE_SMALLINT>()));
148
163k
        return;
149
19.4M
    case PrimitiveType::TYPE_INT:
150
19.4M
        create_concrete<TYPE_INT>(std::move(field.template get<TYPE_INT>()));
151
19.4M
        return;
152
25.1M
    case PrimitiveType::TYPE_BIGINT:
153
25.1M
        create_concrete<TYPE_BIGINT>(std::move(field.template get<TYPE_BIGINT>()));
154
25.1M
        return;
155
191k
    case PrimitiveType::TYPE_LARGEINT:
156
191k
        create_concrete<TYPE_LARGEINT>(std::move(field.template get<TYPE_LARGEINT>()));
157
191k
        return;
158
44.0k
    case PrimitiveType::TYPE_IPV4:
159
44.0k
        create_concrete<TYPE_IPV4>(std::move(field.template get<TYPE_IPV4>()));
160
44.0k
        return;
161
31.8k
    case PrimitiveType::TYPE_IPV6:
162
31.8k
        create_concrete<TYPE_IPV6>(std::move(field.template get<TYPE_IPV6>()));
163
31.8k
        return;
164
99.6k
    case PrimitiveType::TYPE_FLOAT:
165
99.6k
        create_concrete<TYPE_FLOAT>(std::move(field.template get<TYPE_FLOAT>()));
166
99.6k
        return;
167
122
    case PrimitiveType::TYPE_TIMEV2:
168
122
        create_concrete<TYPE_TIMEV2>(std::move(field.template get<TYPE_TIMEV2>()));
169
122
        return;
170
3.64M
    case PrimitiveType::TYPE_DOUBLE:
171
3.64M
        create_concrete<TYPE_DOUBLE>(std::move(field.template get<TYPE_DOUBLE>()));
172
3.64M
        return;
173
30.3M
    case PrimitiveType::TYPE_STRING:
174
30.3M
        create_concrete<TYPE_STRING>(std::move(field.template get<TYPE_STRING>()));
175
30.3M
        return;
176
55.0k
    case PrimitiveType::TYPE_CHAR:
177
55.0k
        create_concrete<TYPE_CHAR>(std::move(field.template get<TYPE_CHAR>()));
178
55.0k
        return;
179
1.46M
    case PrimitiveType::TYPE_VARCHAR:
180
1.46M
        create_concrete<TYPE_VARCHAR>(std::move(field.template get<TYPE_VARCHAR>()));
181
1.46M
        return;
182
3.83M
    case PrimitiveType::TYPE_JSONB:
183
3.83M
        create_concrete<TYPE_JSONB>(std::move(field.template get<TYPE_JSONB>()));
184
3.83M
        return;
185
5.92M
    case PrimitiveType::TYPE_ARRAY:
186
5.92M
        create_concrete<TYPE_ARRAY>(std::move(field.template get<TYPE_ARRAY>()));
187
5.92M
        return;
188
5.21k
    case PrimitiveType::TYPE_STRUCT:
189
5.21k
        create_concrete<TYPE_STRUCT>(std::move(field.template get<TYPE_STRUCT>()));
190
5.21k
        return;
191
7.84k
    case PrimitiveType::TYPE_MAP:
192
7.84k
        create_concrete<TYPE_MAP>(std::move(field.template get<TYPE_MAP>()));
193
7.84k
        return;
194
68.9k
    case PrimitiveType::TYPE_DECIMAL32:
195
68.9k
        create_concrete<TYPE_DECIMAL32>(std::move(field.template get<TYPE_DECIMAL32>()));
196
68.9k
        return;
197
111k
    case PrimitiveType::TYPE_DECIMAL64:
198
111k
        create_concrete<TYPE_DECIMAL64>(std::move(field.template get<TYPE_DECIMAL64>()));
199
111k
        return;
200
6.52k
    case PrimitiveType::TYPE_DECIMALV2:
201
6.52k
        create_concrete<TYPE_DECIMALV2>(std::move(field.template get<TYPE_DECIMALV2>()));
202
6.52k
        return;
203
107k
    case PrimitiveType::TYPE_DECIMAL128I:
204
107k
        create_concrete<TYPE_DECIMAL128I>(std::move(field.template get<TYPE_DECIMAL128I>()));
205
107k
        return;
206
49.1k
    case PrimitiveType::TYPE_DECIMAL256:
207
49.1k
        create_concrete<TYPE_DECIMAL256>(std::move(field.template get<TYPE_DECIMAL256>()));
208
49.1k
        return;
209
244k
    case PrimitiveType::TYPE_VARIANT:
210
244k
        create_concrete<TYPE_VARIANT>(std::move(field.template get<TYPE_VARIANT>()));
211
244k
        return;
212
17
    case PrimitiveType::TYPE_BITMAP:
213
17
        create_concrete<TYPE_BITMAP>(std::move(field.template get<TYPE_BITMAP>()));
214
17
        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
47
    case PrimitiveType::TYPE_VARBINARY:
222
47
        create_concrete<TYPE_VARBINARY>(std::move(field.template get<TYPE_VARBINARY>()));
223
47
        return;
224
0
    default:
225
0
        throw Exception(Status::FatalError("type not supported, type={}", field.get_type_name()));
226
101M
    }
227
101M
}
228
229
228M
Field::Field(const Field& rhs) {
230
228M
    create(rhs);
231
228M
}
232
233
43.5M
Field::Field(Field&& rhs) {
234
43.5M
    create(std::move(rhs));
235
43.5M
}
236
237
10.8M
Field& Field::operator=(const Field& rhs) {
238
10.8M
    if (this != &rhs) {
239
10.8M
        if (type != rhs.type) {
240
9.10M
            destroy();
241
9.10M
            create(rhs);
242
9.10M
        } else {
243
1.74M
            assign(rhs); /// This assigns string or vector without deallocation of existing buffer.
244
1.74M
        }
245
10.8M
    }
246
10.8M
    return *this;
247
10.8M
}
248
249
237M
void Field::create(const Field& field) {
250
237M
    switch (field.type) {
251
39.7M
    case PrimitiveType::TYPE_NULL:
252
39.7M
        create_concrete<TYPE_NULL>(field.template get<TYPE_NULL>());
253
39.7M
        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.85M
    case PrimitiveType::TYPE_DATEV2:
258
4.85M
        create_concrete<TYPE_DATEV2>(field.template get<TYPE_DATEV2>());
259
4.85M
        return;
260
38.4k
    case PrimitiveType::TYPE_TIMESTAMPTZ:
261
38.4k
        create_concrete<TYPE_TIMESTAMPTZ>(field.template get<TYPE_TIMESTAMPTZ>());
262
38.4k
        return;
263
3.32M
    case PrimitiveType::TYPE_DATETIME:
264
3.32M
        create_concrete<TYPE_DATETIME>(field.template get<TYPE_DATETIME>());
265
3.32M
        return;
266
3.39M
    case PrimitiveType::TYPE_DATE:
267
3.39M
        create_concrete<TYPE_DATE>(field.template get<TYPE_DATE>());
268
3.39M
        return;
269
3.97M
    case PrimitiveType::TYPE_BOOLEAN:
270
3.97M
        create_concrete<TYPE_BOOLEAN>(field.template get<TYPE_BOOLEAN>());
271
3.97M
        return;
272
5.37M
    case PrimitiveType::TYPE_TINYINT:
273
5.37M
        create_concrete<TYPE_TINYINT>(field.template get<TYPE_TINYINT>());
274
5.37M
        return;
275
4.00M
    case PrimitiveType::TYPE_SMALLINT:
276
4.00M
        create_concrete<TYPE_SMALLINT>(field.template get<TYPE_SMALLINT>());
277
4.00M
        return;
278
1.11M
    case PrimitiveType::TYPE_INT:
279
1.11M
        create_concrete<TYPE_INT>(field.template get<TYPE_INT>());
280
1.11M
        return;
281
9.82M
    case PrimitiveType::TYPE_BIGINT:
282
9.82M
        create_concrete<TYPE_BIGINT>(field.template get<TYPE_BIGINT>());
283
9.82M
        return;
284
3.24M
    case PrimitiveType::TYPE_LARGEINT:
285
3.24M
        create_concrete<TYPE_LARGEINT>(field.template get<TYPE_LARGEINT>());
286
3.24M
        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.49M
    case PrimitiveType::TYPE_FLOAT:
294
3.49M
        create_concrete<TYPE_FLOAT>(field.template get<TYPE_FLOAT>());
295
3.49M
        return;
296
8
    case PrimitiveType::TYPE_TIMEV2:
297
8
        create_concrete<TYPE_TIMEV2>(field.template get<TYPE_TIMEV2>());
298
8
        return;
299
3.98M
    case PrimitiveType::TYPE_DOUBLE:
300
3.98M
        create_concrete<TYPE_DOUBLE>(field.template get<TYPE_DOUBLE>());
301
3.98M
        return;
302
8.06M
    case PrimitiveType::TYPE_STRING:
303
8.06M
        create_concrete<TYPE_STRING>(field.template get<TYPE_STRING>());
304
8.06M
        return;
305
3.34k
    case PrimitiveType::TYPE_CHAR:
306
3.34k
        create_concrete<TYPE_CHAR>(field.template get<TYPE_CHAR>());
307
3.34k
        return;
308
12.5M
    case PrimitiveType::TYPE_VARCHAR:
309
12.5M
        create_concrete<TYPE_VARCHAR>(field.template get<TYPE_VARCHAR>());
310
12.5M
        return;
311
2.91M
    case PrimitiveType::TYPE_JSONB:
312
2.91M
        create_concrete<TYPE_JSONB>(field.template get<TYPE_JSONB>());
313
2.91M
        return;
314
93.0M
    case PrimitiveType::TYPE_ARRAY:
315
93.0M
        create_concrete<TYPE_ARRAY>(field.template get<TYPE_ARRAY>());
316
93.0M
        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
802
    case PrimitiveType::TYPE_DECIMALV2:
330
802
        create_concrete<TYPE_DECIMALV2>(field.template get<TYPE_DECIMALV2>());
331
802
        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
237M
    }
362
237M
}
363
364
626M
void Field::destroy() {
365
626M
    switch (type) {
366
64.2M
    case PrimitiveType::TYPE_STRING:
367
64.2M
        destroy<TYPE_STRING>();
368
64.2M
        break;
369
186k
    case PrimitiveType::TYPE_CHAR:
370
186k
        destroy<TYPE_CHAR>();
371
186k
        break;
372
16.0M
    case PrimitiveType::TYPE_VARCHAR:
373
16.0M
        destroy<TYPE_VARCHAR>();
374
16.0M
        break;
375
9.57M
    case PrimitiveType::TYPE_JSONB:
376
9.57M
        destroy<TYPE_JSONB>();
377
9.57M
        break;
378
101M
    case PrimitiveType::TYPE_ARRAY:
379
101M
        destroy<TYPE_ARRAY>();
380
101M
        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
533k
    case PrimitiveType::TYPE_VARIANT:
388
533k
        destroy<TYPE_VARIANT>();
389
533k
        break;
390
2.48k
    case PrimitiveType::TYPE_BITMAP:
391
2.48k
        destroy<TYPE_BITMAP>();
392
2.48k
        break;
393
430
    case PrimitiveType::TYPE_HLL:
394
430
        destroy<TYPE_HLL>();
395
430
        break;
396
22.4k
    case PrimitiveType::TYPE_QUANTILE_STATE:
397
22.4k
        destroy<TYPE_QUANTILE_STATE>();
398
22.4k
        break;
399
104
    case PrimitiveType::TYPE_VARBINARY:
400
104
        destroy<TYPE_VARBINARY>();
401
104
        break;
402
419M
    default:
403
419M
        break;
404
626M
    }
405
406
625M
    type = PrimitiveType::
407
625M
            TYPE_NULL; /// for exception safety in subsequent calls to destroy and create, when create fails.
408
625M
}
409
410
33.3M
void Field::assign(Field&& field) {
411
33.3M
    switch (field.type) {
412
30.4M
    case PrimitiveType::TYPE_NULL:
413
30.4M
        assign_concrete<TYPE_NULL>(std::move(field.template get<TYPE_NULL>()));
414
30.4M
        return;
415
84.0k
    case PrimitiveType::TYPE_DATETIMEV2:
416
84.0k
        assign_concrete<TYPE_DATETIMEV2>(std::move(field.template get<TYPE_DATETIMEV2>()));
417
84.0k
        return;
418
838
    case PrimitiveType::TYPE_DATETIME:
419
838
        assign_concrete<TYPE_DATETIME>(std::move(field.template get<TYPE_DATETIME>()));
420
838
        return;
421
456
    case PrimitiveType::TYPE_DATE:
422
456
        assign_concrete<TYPE_DATE>(std::move(field.template get<TYPE_DATE>()));
423
456
        return;
424
75.7k
    case PrimitiveType::TYPE_DATEV2:
425
75.7k
        assign_concrete<TYPE_DATEV2>(std::move(field.template get<TYPE_DATEV2>()));
426
75.7k
        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
21.1k
    case PrimitiveType::TYPE_BOOLEAN:
431
21.1k
        assign_concrete<TYPE_BOOLEAN>(std::move(field.template get<TYPE_BOOLEAN>()));
432
21.1k
        return;
433
88.2k
    case PrimitiveType::TYPE_TINYINT:
434
88.2k
        assign_concrete<TYPE_TINYINT>(std::move(field.template get<TYPE_TINYINT>()));
435
88.2k
        return;
436
25.4k
    case PrimitiveType::TYPE_SMALLINT:
437
25.4k
        assign_concrete<TYPE_SMALLINT>(std::move(field.template get<TYPE_SMALLINT>()));
438
25.4k
        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
386k
    case PrimitiveType::TYPE_BIGINT:
443
386k
        assign_concrete<TYPE_BIGINT>(std::move(field.template get<TYPE_BIGINT>()));
444
386k
        return;
445
35.7k
    case PrimitiveType::TYPE_LARGEINT:
446
35.7k
        assign_concrete<TYPE_LARGEINT>(std::move(field.template get<TYPE_LARGEINT>()));
447
35.7k
        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.6k
    case PrimitiveType::TYPE_FLOAT:
455
15.6k
        assign_concrete<TYPE_FLOAT>(std::move(field.template get<TYPE_FLOAT>()));
456
15.6k
        return;
457
0
    case PrimitiveType::TYPE_TIMEV2:
458
0
        assign_concrete<TYPE_TIMEV2>(std::move(field.template get<TYPE_TIMEV2>()));
459
0
        return;
460
31.5k
    case PrimitiveType::TYPE_DOUBLE:
461
31.5k
        assign_concrete<TYPE_DOUBLE>(std::move(field.template get<TYPE_DOUBLE>()));
462
31.5k
        return;
463
307k
    case PrimitiveType::TYPE_STRING:
464
307k
        assign_concrete<TYPE_STRING>(std::move(field.template get<TYPE_STRING>()));
465
307k
        return;
466
36.5k
    case PrimitiveType::TYPE_CHAR:
467
36.5k
        assign_concrete<TYPE_CHAR>(std::move(field.template get<TYPE_CHAR>()));
468
36.5k
        return;
469
364k
    case PrimitiveType::TYPE_VARCHAR:
470
364k
        assign_concrete<TYPE_VARCHAR>(std::move(field.template get<TYPE_VARCHAR>()));
471
364k
        return;
472
204k
    case PrimitiveType::TYPE_JSONB:
473
204k
        assign_concrete<TYPE_JSONB>(std::move(field.template get<TYPE_JSONB>()));
474
204k
        return;
475
39.2k
    case PrimitiveType::TYPE_ARRAY:
476
39.2k
        assign_concrete<TYPE_ARRAY>(std::move(field.template get<TYPE_ARRAY>()));
477
39.2k
        return;
478
344
    case PrimitiveType::TYPE_STRUCT:
479
344
        assign_concrete<TYPE_STRUCT>(std::move(field.template get<TYPE_STRUCT>()));
480
344
        return;
481
2.36k
    case PrimitiveType::TYPE_MAP:
482
2.36k
        assign_concrete<TYPE_MAP>(std::move(field.template get<TYPE_MAP>()));
483
2.36k
        return;
484
8.07k
    case PrimitiveType::TYPE_DECIMAL32:
485
8.07k
        assign_concrete<TYPE_DECIMAL32>(std::move(field.template get<TYPE_DECIMAL32>()));
486
8.07k
        return;
487
36.5k
    case PrimitiveType::TYPE_DECIMAL64:
488
36.5k
        assign_concrete<TYPE_DECIMAL64>(std::move(field.template get<TYPE_DECIMAL64>()));
489
36.5k
        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.7k
    case PrimitiveType::TYPE_DECIMAL128I:
494
21.7k
        assign_concrete<TYPE_DECIMAL128I>(std::move(field.template get<TYPE_DECIMAL128I>()));
495
21.7k
        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
14
    case PrimitiveType::TYPE_BITMAP:
503
14
        assign_concrete<TYPE_BITMAP>(std::move(field.template get<TYPE_BITMAP>()));
504
14
        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.3M
    }
517
33.3M
}
518
519
1.74M
void Field::assign(const Field& field) {
520
1.74M
    switch (field.type) {
521
230k
    case PrimitiveType::TYPE_NULL:
522
230k
        assign_concrete<TYPE_NULL>(field.template get<TYPE_NULL>());
523
230k
        return;
524
75.2k
    case PrimitiveType::TYPE_DATETIMEV2:
525
75.2k
        assign_concrete<TYPE_DATETIMEV2>(field.template get<TYPE_DATETIMEV2>());
526
75.2k
        return;
527
710
    case PrimitiveType::TYPE_DATETIME:
528
710
        assign_concrete<TYPE_DATETIME>(field.template get<TYPE_DATETIME>());
529
710
        return;
530
393
    case PrimitiveType::TYPE_DATE:
531
393
        assign_concrete<TYPE_DATE>(field.template get<TYPE_DATE>());
532
393
        return;
533
58.6k
    case PrimitiveType::TYPE_DATEV2:
534
58.6k
        assign_concrete<TYPE_DATEV2>(field.template get<TYPE_DATEV2>());
535
58.6k
        return;
536
6.70k
    case PrimitiveType::TYPE_TIMESTAMPTZ:
537
6.70k
        assign_concrete<TYPE_TIMESTAMPTZ>(field.template get<TYPE_TIMESTAMPTZ>());
538
6.70k
        return;
539
16.6k
    case PrimitiveType::TYPE_BOOLEAN:
540
16.6k
        assign_concrete<TYPE_BOOLEAN>(field.template get<TYPE_BOOLEAN>());
541
16.6k
        return;
542
88.2k
    case PrimitiveType::TYPE_TINYINT:
543
88.2k
        assign_concrete<TYPE_TINYINT>(field.template get<TYPE_TINYINT>());
544
88.2k
        return;
545
23.9k
    case PrimitiveType::TYPE_SMALLINT:
546
23.9k
        assign_concrete<TYPE_SMALLINT>(field.template get<TYPE_SMALLINT>());
547
23.9k
        return;
548
198k
    case PrimitiveType::TYPE_INT:
549
198k
        assign_concrete<TYPE_INT>(field.template get<TYPE_INT>());
550
198k
        return;
551
332k
    case PrimitiveType::TYPE_BIGINT:
552
332k
        assign_concrete<TYPE_BIGINT>(field.template get<TYPE_BIGINT>());
553
332k
        return;
554
32.6k
    case PrimitiveType::TYPE_LARGEINT:
555
32.6k
        assign_concrete<TYPE_LARGEINT>(field.template get<TYPE_LARGEINT>());
556
32.6k
        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
14.5k
    case PrimitiveType::TYPE_FLOAT:
564
14.5k
        assign_concrete<TYPE_FLOAT>(field.template get<TYPE_FLOAT>());
565
14.5k
        return;
566
0
    case PrimitiveType::TYPE_TIMEV2:
567
0
        assign_concrete<TYPE_TIMEV2>(field.template get<TYPE_TIMEV2>());
568
0
        return;
569
27.9k
    case PrimitiveType::TYPE_DOUBLE:
570
27.9k
        assign_concrete<TYPE_DOUBLE>(field.template get<TYPE_DOUBLE>());
571
27.9k
        return;
572
143k
    case PrimitiveType::TYPE_STRING:
573
143k
        assign_concrete<TYPE_STRING>(field.template get<TYPE_STRING>());
574
143k
        return;
575
27.1k
    case PrimitiveType::TYPE_CHAR:
576
27.1k
        assign_concrete<TYPE_CHAR>(field.template get<TYPE_CHAR>());
577
27.1k
        return;
578
373k
    case PrimitiveType::TYPE_VARCHAR:
579
373k
        assign_concrete<TYPE_VARCHAR>(field.template get<TYPE_VARCHAR>());
580
373k
        return;
581
19
    case PrimitiveType::TYPE_JSONB:
582
19
        assign_concrete<TYPE_JSONB>(field.template get<TYPE_JSONB>());
583
19
        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.9k
    case PrimitiveType::TYPE_DECIMAL32:
594
14.9k
        assign_concrete<TYPE_DECIMAL32>(field.template get<TYPE_DECIMAL32>());
595
14.9k
        return;
596
20.8k
    case PrimitiveType::TYPE_DECIMAL64:
597
20.8k
        assign_concrete<TYPE_DECIMAL64>(field.template get<TYPE_DECIMAL64>());
598
20.8k
        return;
599
138
    case PrimitiveType::TYPE_DECIMALV2:
600
138
        assign_concrete<TYPE_DECIMALV2>(field.template get<TYPE_DECIMALV2>());
601
138
        return;
602
19.3k
    case PrimitiveType::TYPE_DECIMAL128I:
603
19.3k
        assign_concrete<TYPE_DECIMAL128I>(field.template get<TYPE_DECIMAL128I>());
604
19.3k
        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.74M
    }
632
1.74M
}
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.5M
void Field::assign_concrete(typename PrimitiveTypeTraits<Type>::CppType&& x) {
637
30.5M
    auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<Type>::CppType*>(&storage);
638
30.5M
    *ptr = std::forward<typename PrimitiveTypeTraits<Type>::CppType>(x);
639
30.5M
}
_ZN5doris5Field15assign_concreteILNS_13PrimitiveTypeE3EEEvONS_19PrimitiveTypeTraitsIXT_EE7CppTypeE
Line
Count
Source
636
88.2k
void Field::assign_concrete(typename PrimitiveTypeTraits<Type>::CppType&& x) {
637
88.2k
    auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<Type>::CppType*>(&storage);
638
88.2k
    *ptr = std::forward<typename PrimitiveTypeTraits<Type>::CppType>(x);
639
88.2k
}
_ZN5doris5Field15assign_concreteILNS_13PrimitiveTypeE4EEEvONS_19PrimitiveTypeTraitsIXT_EE7CppTypeE
Line
Count
Source
636
25.4k
void Field::assign_concrete(typename PrimitiveTypeTraits<Type>::CppType&& x) {
637
25.4k
    auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<Type>::CppType*>(&storage);
638
25.4k
    *ptr = std::forward<typename PrimitiveTypeTraits<Type>::CppType>(x);
639
25.4k
}
_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
386k
void Field::assign_concrete(typename PrimitiveTypeTraits<Type>::CppType&& x) {
637
386k
    auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<Type>::CppType*>(&storage);
638
386k
    *ptr = std::forward<typename PrimitiveTypeTraits<Type>::CppType>(x);
639
386k
}
_ZN5doris5Field15assign_concreteILNS_13PrimitiveTypeE7EEEvONS_19PrimitiveTypeTraitsIXT_EE7CppTypeE
Line
Count
Source
636
35.7k
void Field::assign_concrete(typename PrimitiveTypeTraits<Type>::CppType&& x) {
637
35.7k
    auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<Type>::CppType*>(&storage);
638
35.7k
    *ptr = std::forward<typename PrimitiveTypeTraits<Type>::CppType>(x);
639
35.7k
}
_ZN5doris5Field15assign_concreteILNS_13PrimitiveTypeE11EEEvONS_19PrimitiveTypeTraitsIXT_EE7CppTypeE
Line
Count
Source
636
456
void Field::assign_concrete(typename PrimitiveTypeTraits<Type>::CppType&& x) {
637
456
    auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<Type>::CppType*>(&storage);
638
456
    *ptr = std::forward<typename PrimitiveTypeTraits<Type>::CppType>(x);
639
456
}
_ZN5doris5Field15assign_concreteILNS_13PrimitiveTypeE12EEEvONS_19PrimitiveTypeTraitsIXT_EE7CppTypeE
Line
Count
Source
636
838
void Field::assign_concrete(typename PrimitiveTypeTraits<Type>::CppType&& x) {
637
838
    auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<Type>::CppType*>(&storage);
638
838
    *ptr = std::forward<typename PrimitiveTypeTraits<Type>::CppType>(x);
639
838
}
_ZN5doris5Field15assign_concreteILNS_13PrimitiveTypeE25EEEvONS_19PrimitiveTypeTraitsIXT_EE7CppTypeE
Line
Count
Source
636
75.7k
void Field::assign_concrete(typename PrimitiveTypeTraits<Type>::CppType&& x) {
637
75.7k
    auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<Type>::CppType*>(&storage);
638
75.7k
    *ptr = std::forward<typename PrimitiveTypeTraits<Type>::CppType>(x);
639
75.7k
}
_ZN5doris5Field15assign_concreteILNS_13PrimitiveTypeE26EEEvONS_19PrimitiveTypeTraitsIXT_EE7CppTypeE
Line
Count
Source
636
84.0k
void Field::assign_concrete(typename PrimitiveTypeTraits<Type>::CppType&& x) {
637
84.0k
    auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<Type>::CppType*>(&storage);
638
84.0k
    *ptr = std::forward<typename PrimitiveTypeTraits<Type>::CppType>(x);
639
84.0k
}
_ZN5doris5Field15assign_concreteILNS_13PrimitiveTypeE28EEEvONS_19PrimitiveTypeTraitsIXT_EE7CppTypeE
Line
Count
Source
636
8.07k
void Field::assign_concrete(typename PrimitiveTypeTraits<Type>::CppType&& x) {
637
8.07k
    auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<Type>::CppType*>(&storage);
638
8.07k
    *ptr = std::forward<typename PrimitiveTypeTraits<Type>::CppType>(x);
639
8.07k
}
_ZN5doris5Field15assign_concreteILNS_13PrimitiveTypeE29EEEvONS_19PrimitiveTypeTraitsIXT_EE7CppTypeE
Line
Count
Source
636
36.5k
void Field::assign_concrete(typename PrimitiveTypeTraits<Type>::CppType&& x) {
637
36.5k
    auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<Type>::CppType*>(&storage);
638
36.5k
    *ptr = std::forward<typename PrimitiveTypeTraits<Type>::CppType>(x);
639
36.5k
}
_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.7k
void Field::assign_concrete(typename PrimitiveTypeTraits<Type>::CppType&& x) {
637
21.7k
    auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<Type>::CppType*>(&storage);
638
21.7k
    *ptr = std::forward<typename PrimitiveTypeTraits<Type>::CppType>(x);
639
21.7k
}
_ZN5doris5Field15assign_concreteILNS_13PrimitiveTypeE35EEEvONS_19PrimitiveTypeTraitsIXT_EE7CppTypeE
Line
Count
Source
636
1.09k
void Field::assign_concrete(typename PrimitiveTypeTraits<Type>::CppType&& x) {
637
1.09k
    auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<Type>::CppType*>(&storage);
638
1.09k
    *ptr = std::forward<typename PrimitiveTypeTraits<Type>::CppType>(x);
639
1.09k
}
_ZN5doris5Field15assign_concreteILNS_13PrimitiveTypeE15EEEvONS_19PrimitiveTypeTraitsIXT_EE7CppTypeE
Line
Count
Source
636
36.5k
void Field::assign_concrete(typename PrimitiveTypeTraits<Type>::CppType&& x) {
637
36.5k
    auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<Type>::CppType*>(&storage);
638
36.5k
    *ptr = std::forward<typename PrimitiveTypeTraits<Type>::CppType>(x);
639
36.5k
}
_ZN5doris5Field15assign_concreteILNS_13PrimitiveTypeE10EEEvONS_19PrimitiveTypeTraitsIXT_EE7CppTypeE
Line
Count
Source
636
364k
void Field::assign_concrete(typename PrimitiveTypeTraits<Type>::CppType&& x) {
637
364k
    auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<Type>::CppType*>(&storage);
638
364k
    *ptr = std::forward<typename PrimitiveTypeTraits<Type>::CppType>(x);
639
364k
}
_ZN5doris5Field15assign_concreteILNS_13PrimitiveTypeE23EEEvONS_19PrimitiveTypeTraitsIXT_EE7CppTypeE
Line
Count
Source
636
307k
void Field::assign_concrete(typename PrimitiveTypeTraits<Type>::CppType&& x) {
637
307k
    auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<Type>::CppType*>(&storage);
638
307k
    *ptr = std::forward<typename PrimitiveTypeTraits<Type>::CppType>(x);
639
307k
}
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
39.2k
void Field::assign_concrete(typename PrimitiveTypeTraits<Type>::CppType&& x) {
637
39.2k
    auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<Type>::CppType*>(&storage);
638
39.2k
    *ptr = std::forward<typename PrimitiveTypeTraits<Type>::CppType>(x);
639
39.2k
}
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
21.1k
void Field::assign_concrete(typename PrimitiveTypeTraits<Type>::CppType&& x) {
637
21.1k
    auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<Type>::CppType*>(&storage);
638
21.1k
    *ptr = std::forward<typename PrimitiveTypeTraits<Type>::CppType>(x);
639
21.1k
}
_ZN5doris5Field15assign_concreteILNS_13PrimitiveTypeE8EEEvONS_19PrimitiveTypeTraitsIXT_EE7CppTypeE
Line
Count
Source
636
15.6k
void Field::assign_concrete(typename PrimitiveTypeTraits<Type>::CppType&& x) {
637
15.6k
    auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<Type>::CppType*>(&storage);
638
15.6k
    *ptr = std::forward<typename PrimitiveTypeTraits<Type>::CppType>(x);
639
15.6k
}
_ZN5doris5Field15assign_concreteILNS_13PrimitiveTypeE9EEEvONS_19PrimitiveTypeTraitsIXT_EE7CppTypeE
Line
Count
Source
636
31.5k
void Field::assign_concrete(typename PrimitiveTypeTraits<Type>::CppType&& x) {
637
31.5k
    auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<Type>::CppType*>(&storage);
638
31.5k
    *ptr = std::forward<typename PrimitiveTypeTraits<Type>::CppType>(x);
639
31.5k
}
_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
344
void Field::assign_concrete(typename PrimitiveTypeTraits<Type>::CppType&& x) {
637
344
    auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<Type>::CppType*>(&storage);
638
344
    *ptr = std::forward<typename PrimitiveTypeTraits<Type>::CppType>(x);
639
344
}
_ZN5doris5Field15assign_concreteILNS_13PrimitiveTypeE18EEEvONS_19PrimitiveTypeTraitsIXT_EE7CppTypeE
Line
Count
Source
636
2.35k
void Field::assign_concrete(typename PrimitiveTypeTraits<Type>::CppType&& x) {
637
2.35k
    auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<Type>::CppType*>(&storage);
638
2.35k
    *ptr = std::forward<typename PrimitiveTypeTraits<Type>::CppType>(x);
639
2.35k
}
_ZN5doris5Field15assign_concreteILNS_13PrimitiveTypeE22EEEvONS_19PrimitiveTypeTraitsIXT_EE7CppTypeE
Line
Count
Source
636
14
void Field::assign_concrete(typename PrimitiveTypeTraits<Type>::CppType&& x) {
637
14
    auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<Type>::CppType*>(&storage);
638
14
    *ptr = std::forward<typename PrimitiveTypeTraits<Type>::CppType>(x);
639
14
}
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.74M
void Field::assign_concrete(const typename PrimitiveTypeTraits<Type>::CppType& x) {
643
1.74M
    auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<Type>::CppType*>(&storage);
644
1.74M
    *ptr = std::forward<const typename PrimitiveTypeTraits<Type>::CppType>(x);
645
1.74M
}
Unexecuted instantiation: _ZN5doris5Field15assign_concreteILNS_13PrimitiveTypeE21EEEvRKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeE
_ZN5doris5Field15assign_concreteILNS_13PrimitiveTypeE1EEEvRKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeE
Line
Count
Source
642
230k
void Field::assign_concrete(const typename PrimitiveTypeTraits<Type>::CppType& x) {
643
230k
    auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<Type>::CppType*>(&storage);
644
230k
    *ptr = std::forward<const typename PrimitiveTypeTraits<Type>::CppType>(x);
645
230k
}
_ZN5doris5Field15assign_concreteILNS_13PrimitiveTypeE3EEEvRKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeE
Line
Count
Source
642
88.2k
void Field::assign_concrete(const typename PrimitiveTypeTraits<Type>::CppType& x) {
643
88.2k
    auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<Type>::CppType*>(&storage);
644
88.2k
    *ptr = std::forward<const typename PrimitiveTypeTraits<Type>::CppType>(x);
645
88.2k
}
_ZN5doris5Field15assign_concreteILNS_13PrimitiveTypeE4EEEvRKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeE
Line
Count
Source
642
23.9k
void Field::assign_concrete(const typename PrimitiveTypeTraits<Type>::CppType& x) {
643
23.9k
    auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<Type>::CppType*>(&storage);
644
23.9k
    *ptr = std::forward<const typename PrimitiveTypeTraits<Type>::CppType>(x);
645
23.9k
}
_ZN5doris5Field15assign_concreteILNS_13PrimitiveTypeE5EEEvRKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeE
Line
Count
Source
642
198k
void Field::assign_concrete(const typename PrimitiveTypeTraits<Type>::CppType& x) {
643
198k
    auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<Type>::CppType*>(&storage);
644
198k
    *ptr = std::forward<const typename PrimitiveTypeTraits<Type>::CppType>(x);
645
198k
}
_ZN5doris5Field15assign_concreteILNS_13PrimitiveTypeE6EEEvRKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeE
Line
Count
Source
642
332k
void Field::assign_concrete(const typename PrimitiveTypeTraits<Type>::CppType& x) {
643
332k
    auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<Type>::CppType*>(&storage);
644
332k
    *ptr = std::forward<const typename PrimitiveTypeTraits<Type>::CppType>(x);
645
332k
}
_ZN5doris5Field15assign_concreteILNS_13PrimitiveTypeE7EEEvRKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeE
Line
Count
Source
642
32.6k
void Field::assign_concrete(const typename PrimitiveTypeTraits<Type>::CppType& x) {
643
32.6k
    auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<Type>::CppType*>(&storage);
644
32.6k
    *ptr = std::forward<const typename PrimitiveTypeTraits<Type>::CppType>(x);
645
32.6k
}
_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
710
void Field::assign_concrete(const typename PrimitiveTypeTraits<Type>::CppType& x) {
643
710
    auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<Type>::CppType*>(&storage);
644
710
    *ptr = std::forward<const typename PrimitiveTypeTraits<Type>::CppType>(x);
645
710
}
_ZN5doris5Field15assign_concreteILNS_13PrimitiveTypeE25EEEvRKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeE
Line
Count
Source
642
58.6k
void Field::assign_concrete(const typename PrimitiveTypeTraits<Type>::CppType& x) {
643
58.6k
    auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<Type>::CppType*>(&storage);
644
58.6k
    *ptr = std::forward<const typename PrimitiveTypeTraits<Type>::CppType>(x);
645
58.6k
}
_ZN5doris5Field15assign_concreteILNS_13PrimitiveTypeE26EEEvRKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeE
Line
Count
Source
642
75.2k
void Field::assign_concrete(const typename PrimitiveTypeTraits<Type>::CppType& x) {
643
75.2k
    auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<Type>::CppType*>(&storage);
644
75.2k
    *ptr = std::forward<const typename PrimitiveTypeTraits<Type>::CppType>(x);
645
75.2k
}
_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.9k
void Field::assign_concrete(const typename PrimitiveTypeTraits<Type>::CppType& x) {
643
14.9k
    auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<Type>::CppType*>(&storage);
644
14.9k
    *ptr = std::forward<const typename PrimitiveTypeTraits<Type>::CppType>(x);
645
14.9k
}
_ZN5doris5Field15assign_concreteILNS_13PrimitiveTypeE29EEEvRKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeE
Line
Count
Source
642
20.8k
void Field::assign_concrete(const typename PrimitiveTypeTraits<Type>::CppType& x) {
643
20.8k
    auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<Type>::CppType*>(&storage);
644
20.8k
    *ptr = std::forward<const typename PrimitiveTypeTraits<Type>::CppType>(x);
645
20.8k
}
_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
19.3k
void Field::assign_concrete(const typename PrimitiveTypeTraits<Type>::CppType& x) {
643
19.3k
    auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<Type>::CppType*>(&storage);
644
19.3k
    *ptr = std::forward<const typename PrimitiveTypeTraits<Type>::CppType>(x);
645
19.3k
}
_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
27.1k
void Field::assign_concrete(const typename PrimitiveTypeTraits<Type>::CppType& x) {
643
27.1k
    auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<Type>::CppType*>(&storage);
644
27.1k
    *ptr = std::forward<const typename PrimitiveTypeTraits<Type>::CppType>(x);
645
27.1k
}
_ZN5doris5Field15assign_concreteILNS_13PrimitiveTypeE10EEEvRKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeE
Line
Count
Source
642
373k
void Field::assign_concrete(const typename PrimitiveTypeTraits<Type>::CppType& x) {
643
373k
    auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<Type>::CppType*>(&storage);
644
373k
    *ptr = std::forward<const typename PrimitiveTypeTraits<Type>::CppType>(x);
645
373k
}
_ZN5doris5Field15assign_concreteILNS_13PrimitiveTypeE23EEEvRKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeE
Line
Count
Source
642
143k
void Field::assign_concrete(const typename PrimitiveTypeTraits<Type>::CppType& x) {
643
143k
    auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<Type>::CppType*>(&storage);
644
143k
    *ptr = std::forward<const typename PrimitiveTypeTraits<Type>::CppType>(x);
645
143k
}
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
16.6k
void Field::assign_concrete(const typename PrimitiveTypeTraits<Type>::CppType& x) {
643
16.6k
    auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<Type>::CppType*>(&storage);
644
16.6k
    *ptr = std::forward<const typename PrimitiveTypeTraits<Type>::CppType>(x);
645
16.6k
}
_ZN5doris5Field15assign_concreteILNS_13PrimitiveTypeE8EEEvRKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeE
Line
Count
Source
642
14.5k
void Field::assign_concrete(const typename PrimitiveTypeTraits<Type>::CppType& x) {
643
14.5k
    auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<Type>::CppType*>(&storage);
644
14.5k
    *ptr = std::forward<const typename PrimitiveTypeTraits<Type>::CppType>(x);
645
14.5k
}
_ZN5doris5Field15assign_concreteILNS_13PrimitiveTypeE9EEEvRKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeE
Line
Count
Source
642
27.9k
void Field::assign_concrete(const typename PrimitiveTypeTraits<Type>::CppType& x) {
643
27.9k
    auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<Type>::CppType*>(&storage);
644
27.9k
    *ptr = std::forward<const typename PrimitiveTypeTraits<Type>::CppType>(x);
645
27.9k
}
_ZN5doris5Field15assign_concreteILNS_13PrimitiveTypeE31EEEvRKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeE
Line
Count
Source
642
19
void Field::assign_concrete(const typename PrimitiveTypeTraits<Type>::CppType& x) {
643
19
    auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<Type>::CppType*>(&storage);
644
19
    *ptr = std::forward<const typename PrimitiveTypeTraits<Type>::CppType>(x);
645
19
}
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
193M
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
193M
    auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<T>::CppType*>(&storage);
656
193M
    return *ptr;
657
193M
}
_ZN5doris5Field3getILNS_13PrimitiveTypeE1EEERNS_19PrimitiveTypeTraitsIXT_EE7CppTypeEv
Line
Count
Source
652
31.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
31.0M
    auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<T>::CppType*>(&storage);
656
31.0M
    return *ptr;
657
31.0M
}
_ZN5doris5Field3getILNS_13PrimitiveTypeE3EEERNS_19PrimitiveTypeTraitsIXT_EE7CppTypeEv
Line
Count
Source
652
7.79M
typename PrimitiveTypeTraits<T>::CppType& Field::get() {
653
7.79M
    DCHECK(T == type || (is_string_type(type) && is_string_type(T)) || type == TYPE_NULL)
654
1.83k
            << "Type mismatch: requested " << type_to_string(T) << ", actual " << get_type_name();
655
7.79M
    auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<T>::CppType*>(&storage);
656
7.79M
    return *ptr;
657
7.79M
}
_ZN5doris5Field3getILNS_13PrimitiveTypeE4EEERNS_19PrimitiveTypeTraitsIXT_EE7CppTypeEv
Line
Count
Source
652
191k
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
191k
    auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<T>::CppType*>(&storage);
656
191k
    return *ptr;
657
191k
}
_ZN5doris5Field3getILNS_13PrimitiveTypeE5EEERNS_19PrimitiveTypeTraitsIXT_EE7CppTypeEv
Line
Count
Source
652
75.3M
typename PrimitiveTypeTraits<T>::CppType& Field::get() {
653
18.4E
    DCHECK(T == type || (is_string_type(type) && is_string_type(T)) || type == TYPE_NULL)
654
18.4E
            << "Type mismatch: requested " << type_to_string(T) << ", actual " << get_type_name();
655
75.3M
    auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<T>::CppType*>(&storage);
656
75.3M
    return *ptr;
657
75.3M
}
_ZN5doris5Field3getILNS_13PrimitiveTypeE6EEERNS_19PrimitiveTypeTraitsIXT_EE7CppTypeEv
Line
Count
Source
652
25.8M
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
25.8M
    auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<T>::CppType*>(&storage);
656
25.8M
    return *ptr;
657
25.8M
}
_ZN5doris5Field3getILNS_13PrimitiveTypeE7EEERNS_19PrimitiveTypeTraitsIXT_EE7CppTypeEv
Line
Count
Source
652
230k
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
230k
    auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<T>::CppType*>(&storage);
656
230k
    return *ptr;
657
230k
}
_ZN5doris5Field3getILNS_13PrimitiveTypeE11EEERNS_19PrimitiveTypeTraitsIXT_EE7CppTypeEv
Line
Count
Source
652
14.2k
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
14.2k
    auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<T>::CppType*>(&storage);
656
14.2k
    return *ptr;
657
14.2k
}
_ZN5doris5Field3getILNS_13PrimitiveTypeE12EEERNS_19PrimitiveTypeTraitsIXT_EE7CppTypeEv
Line
Count
Source
652
20.0k
typename PrimitiveTypeTraits<T>::CppType& Field::get() {
653
20.0k
    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
20.0k
    auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<T>::CppType*>(&storage);
656
20.0k
    return *ptr;
657
20.0k
}
_ZN5doris5Field3getILNS_13PrimitiveTypeE25EEERNS_19PrimitiveTypeTraitsIXT_EE7CppTypeEv
Line
Count
Source
652
637k
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
637k
    auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<T>::CppType*>(&storage);
656
637k
    return *ptr;
657
637k
}
_ZN5doris5Field3getILNS_13PrimitiveTypeE26EEERNS_19PrimitiveTypeTraitsIXT_EE7CppTypeEv
Line
Count
Source
652
1.29M
typename PrimitiveTypeTraits<T>::CppType& Field::get() {
653
1.29M
    DCHECK(T == type || (is_string_type(type) && is_string_type(T)) || type == TYPE_NULL)
654
62
            << "Type mismatch: requested " << type_to_string(T) << ", actual " << get_type_name();
655
1.29M
    auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<T>::CppType*>(&storage);
656
1.29M
    return *ptr;
657
1.29M
}
_ZN5doris5Field3getILNS_13PrimitiveTypeE42EEERNS_19PrimitiveTypeTraitsIXT_EE7CppTypeEv
Line
Count
Source
652
42.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
42.3k
    auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<T>::CppType*>(&storage);
656
42.3k
    return *ptr;
657
42.3k
}
_ZN5doris5Field3getILNS_13PrimitiveTypeE28EEERNS_19PrimitiveTypeTraitsIXT_EE7CppTypeEv
Line
Count
Source
652
78.4k
typename PrimitiveTypeTraits<T>::CppType& Field::get() {
653
78.4k
    DCHECK(T == type || (is_string_type(type) && is_string_type(T)) || type == TYPE_NULL)
654
1
            << "Type mismatch: requested " << type_to_string(T) << ", actual " << get_type_name();
655
78.4k
    auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<T>::CppType*>(&storage);
656
78.4k
    return *ptr;
657
78.4k
}
_ZN5doris5Field3getILNS_13PrimitiveTypeE29EEERNS_19PrimitiveTypeTraitsIXT_EE7CppTypeEv
Line
Count
Source
652
190k
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
190k
    auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<T>::CppType*>(&storage);
656
190k
    return *ptr;
657
190k
}
_ZN5doris5Field3getILNS_13PrimitiveTypeE20EEERNS_19PrimitiveTypeTraitsIXT_EE7CppTypeEv
Line
Count
Source
652
9.44k
typename PrimitiveTypeTraits<T>::CppType& Field::get() {
653
9.44k
    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.44k
    auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<T>::CppType*>(&storage);
656
9.44k
    return *ptr;
657
9.44k
}
_ZN5doris5Field3getILNS_13PrimitiveTypeE30EEERNS_19PrimitiveTypeTraitsIXT_EE7CppTypeEv
Line
Count
Source
652
141k
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
141k
    auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<T>::CppType*>(&storage);
656
141k
    return *ptr;
657
141k
}
_ZN5doris5Field3getILNS_13PrimitiveTypeE35EEERNS_19PrimitiveTypeTraitsIXT_EE7CppTypeEv
Line
Count
Source
652
51.9k
typename PrimitiveTypeTraits<T>::CppType& Field::get() {
653
18.4E
    DCHECK(T == type || (is_string_type(type) && is_string_type(T)) || type == TYPE_NULL)
654
18.4E
            << "Type mismatch: requested " << type_to_string(T) << ", actual " << get_type_name();
655
51.9k
    auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<T>::CppType*>(&storage);
656
51.9k
    return *ptr;
657
51.9k
}
_ZN5doris5Field3getILNS_13PrimitiveTypeE15EEERNS_19PrimitiveTypeTraitsIXT_EE7CppTypeEv
Line
Count
Source
652
141k
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
141k
    auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<T>::CppType*>(&storage);
656
141k
    return *ptr;
657
141k
}
_ZN5doris5Field3getILNS_13PrimitiveTypeE10EEERNS_19PrimitiveTypeTraitsIXT_EE7CppTypeEv
Line
Count
Source
652
2.24M
typename PrimitiveTypeTraits<T>::CppType& Field::get() {
653
2.24M
    DCHECK(T == type || (is_string_type(type) && is_string_type(T)) || type == TYPE_NULL)
654
412
            << "Type mismatch: requested " << type_to_string(T) << ", actual " << get_type_name();
655
2.24M
    auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<T>::CppType*>(&storage);
656
2.24M
    return *ptr;
657
2.24M
}
_ZN5doris5Field3getILNS_13PrimitiveTypeE23EEERNS_19PrimitiveTypeTraitsIXT_EE7CppTypeEv
Line
Count
Source
652
31.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
31.0M
    auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<T>::CppType*>(&storage);
656
31.0M
    return *ptr;
657
31.0M
}
_ZN5doris5Field3getILNS_13PrimitiveTypeE41EEERNS_19PrimitiveTypeTraitsIXT_EE7CppTypeEv
Line
Count
Source
652
58
typename PrimitiveTypeTraits<T>::CppType& Field::get() {
653
58
    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
58
    auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<T>::CppType*>(&storage);
656
58
    return *ptr;
657
58
}
_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
468k
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
468k
    auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<T>::CppType*>(&storage);
656
468k
    return *ptr;
657
468k
}
_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
7.80M
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.80M
    auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<T>::CppType*>(&storage);
656
7.80M
    return *ptr;
657
7.80M
}
Unexecuted instantiation: _ZN5doris5Field3getILNS_13PrimitiveTypeE21EEERNS_19PrimitiveTypeTraitsIXT_EE7CppTypeEv
_ZN5doris5Field3getILNS_13PrimitiveTypeE36EEERNS_19PrimitiveTypeTraitsIXT_EE7CppTypeEv
Line
Count
Source
652
45.3k
typename PrimitiveTypeTraits<T>::CppType& Field::get() {
653
45.3k
    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
45.3k
    auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<T>::CppType*>(&storage);
656
45.3k
    return *ptr;
657
45.3k
}
_ZN5doris5Field3getILNS_13PrimitiveTypeE37EEERNS_19PrimitiveTypeTraitsIXT_EE7CppTypeEv
Line
Count
Source
652
32.9k
typename PrimitiveTypeTraits<T>::CppType& Field::get() {
653
32.9k
    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
32.9k
    auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<T>::CppType*>(&storage);
656
32.9k
    return *ptr;
657
32.9k
}
_ZN5doris5Field3getILNS_13PrimitiveTypeE2EEERNS_19PrimitiveTypeTraitsIXT_EE7CppTypeEv
Line
Count
Source
652
1.24M
typename PrimitiveTypeTraits<T>::CppType& Field::get() {
653
1.24M
    DCHECK(T == type || (is_string_type(type) && is_string_type(T)) || type == TYPE_NULL)
654
36
            << "Type mismatch: requested " << type_to_string(T) << ", actual " << get_type_name();
655
1.24M
    auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<T>::CppType*>(&storage);
656
1.24M
    return *ptr;
657
1.24M
}
_ZN5doris5Field3getILNS_13PrimitiveTypeE8EEERNS_19PrimitiveTypeTraitsIXT_EE7CppTypeEv
Line
Count
Source
652
116k
typename PrimitiveTypeTraits<T>::CppType& Field::get() {
653
116k
    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
116k
    auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<T>::CppType*>(&storage);
656
116k
    return *ptr;
657
116k
}
_ZN5doris5Field3getILNS_13PrimitiveTypeE9EEERNS_19PrimitiveTypeTraitsIXT_EE7CppTypeEv
Line
Count
Source
652
3.69M
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.69M
    auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<T>::CppType*>(&storage);
656
3.69M
    return *ptr;
657
3.69M
}
_ZN5doris5Field3getILNS_13PrimitiveTypeE31EEERNS_19PrimitiveTypeTraitsIXT_EE7CppTypeEv
Line
Count
Source
652
4.06M
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.06M
    auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<T>::CppType*>(&storage);
656
4.06M
    return *ptr;
657
4.06M
}
_ZN5doris5Field3getILNS_13PrimitiveTypeE16EEERNS_19PrimitiveTypeTraitsIXT_EE7CppTypeEv
Line
Count
Source
652
15.4k
typename PrimitiveTypeTraits<T>::CppType& Field::get() {
653
15.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
15.4k
    auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<T>::CppType*>(&storage);
656
15.4k
    return *ptr;
657
15.4k
}
_ZN5doris5Field3getILNS_13PrimitiveTypeE18EEERNS_19PrimitiveTypeTraitsIXT_EE7CppTypeEv
Line
Count
Source
652
34.4k
typename PrimitiveTypeTraits<T>::CppType& Field::get() {
653
34.4k
    DCHECK(T == type || (is_string_type(type) && is_string_type(T)) || type == TYPE_NULL)
654
2
            << "Type mismatch: requested " << type_to_string(T) << ", actual " << get_type_name();
655
34.4k
    auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<T>::CppType*>(&storage);
656
34.4k
    return *ptr;
657
34.4k
}
_ZN5doris5Field3getILNS_13PrimitiveTypeE22EEERNS_19PrimitiveTypeTraitsIXT_EE7CppTypeEv
Line
Count
Source
652
160
typename PrimitiveTypeTraits<T>::CppType& Field::get() {
653
160
    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
160
    auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<T>::CppType*>(&storage);
656
160
    return *ptr;
657
160
}
_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
496M
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
496M
    const auto* MAY_ALIAS ptr =
664
496M
            reinterpret_cast<const typename PrimitiveTypeTraits<T>::CppType*>(&storage);
665
496M
    return *ptr;
666
496M
}
_ZNK5doris5Field3getILNS_13PrimitiveTypeE1EEERKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeEv
Line
Count
Source
660
40.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
40.2M
    const auto* MAY_ALIAS ptr =
664
40.2M
            reinterpret_cast<const typename PrimitiveTypeTraits<T>::CppType*>(&storage);
665
40.2M
    return *ptr;
666
40.2M
}
_ZNK5doris5Field3getILNS_13PrimitiveTypeE3EEERKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeEv
Line
Count
Source
660
13.3M
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
13.3M
    const auto* MAY_ALIAS ptr =
664
13.3M
            reinterpret_cast<const typename PrimitiveTypeTraits<T>::CppType*>(&storage);
665
13.3M
    return *ptr;
666
13.3M
}
_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.90M
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.90M
    const auto* MAY_ALIAS ptr =
664
8.90M
            reinterpret_cast<const typename PrimitiveTypeTraits<T>::CppType*>(&storage);
665
8.90M
    return *ptr;
666
8.90M
}
_ZNK5doris5Field3getILNS_13PrimitiveTypeE6EEERKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeEv
Line
Count
Source
660
49.5M
const typename PrimitiveTypeTraits<T>::CppType& Field::get() const {
661
49.5M
    DCHECK(T == type || (is_string_type(type) && is_string_type(T)) || type == TYPE_NULL)
662
7.76k
            << "Type mismatch: requested " << type_to_string(T) << ", actual " << get_type_name();
663
49.5M
    const auto* MAY_ALIAS ptr =
664
49.5M
            reinterpret_cast<const typename PrimitiveTypeTraits<T>::CppType*>(&storage);
665
49.5M
    return *ptr;
666
49.5M
}
_ZNK5doris5Field3getILNS_13PrimitiveTypeE7EEERKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeEv
Line
Count
Source
660
4.66M
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.66M
    const auto* MAY_ALIAS ptr =
664
4.66M
            reinterpret_cast<const typename PrimitiveTypeTraits<T>::CppType*>(&storage);
665
4.66M
    return *ptr;
666
4.66M
}
_ZNK5doris5Field3getILNS_13PrimitiveTypeE11EEERKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeEv
Line
Count
Source
660
4.40M
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.40M
    const auto* MAY_ALIAS ptr =
664
4.40M
            reinterpret_cast<const typename PrimitiveTypeTraits<T>::CppType*>(&storage);
665
4.40M
    return *ptr;
666
4.40M
}
_ZNK5doris5Field3getILNS_13PrimitiveTypeE12EEERKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeEv
Line
Count
Source
660
4.32M
const typename PrimitiveTypeTraits<T>::CppType& Field::get() const {
661
4.32M
    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.32M
    const auto* MAY_ALIAS ptr =
664
4.32M
            reinterpret_cast<const typename PrimitiveTypeTraits<T>::CppType*>(&storage);
665
4.32M
    return *ptr;
666
4.32M
}
_ZNK5doris5Field3getILNS_13PrimitiveTypeE25EEERKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeEv
Line
Count
Source
660
8.84M
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.84M
    const auto* MAY_ALIAS ptr =
664
8.84M
            reinterpret_cast<const typename PrimitiveTypeTraits<T>::CppType*>(&storage);
665
8.84M
    return *ptr;
666
8.84M
}
_ZNK5doris5Field3getILNS_13PrimitiveTypeE26EEERKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeEv
Line
Count
Source
660
5.60M
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.60M
    const auto* MAY_ALIAS ptr =
664
5.60M
            reinterpret_cast<const typename PrimitiveTypeTraits<T>::CppType*>(&storage);
665
5.60M
    return *ptr;
666
5.60M
}
_ZNK5doris5Field3getILNS_13PrimitiveTypeE42EEERKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeEv
Line
Count
Source
660
125k
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
125k
    const auto* MAY_ALIAS ptr =
664
125k
            reinterpret_cast<const typename PrimitiveTypeTraits<T>::CppType*>(&storage);
665
125k
    return *ptr;
666
125k
}
_ZNK5doris5Field3getILNS_13PrimitiveTypeE28EEERKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeEv
Line
Count
Source
660
4.65M
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.65M
    const auto* MAY_ALIAS ptr =
664
4.65M
            reinterpret_cast<const typename PrimitiveTypeTraits<T>::CppType*>(&storage);
665
4.65M
    return *ptr;
666
4.65M
}
_ZNK5doris5Field3getILNS_13PrimitiveTypeE29EEERKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeEv
Line
Count
Source
660
18.3M
const typename PrimitiveTypeTraits<T>::CppType& Field::get() const {
661
18.4E
    DCHECK(T == type || (is_string_type(type) && is_string_type(T)) || type == TYPE_NULL)
662
18.4E
            << "Type mismatch: requested " << type_to_string(T) << ", actual " << get_type_name();
663
18.3M
    const auto* MAY_ALIAS ptr =
664
18.3M
            reinterpret_cast<const typename PrimitiveTypeTraits<T>::CppType*>(&storage);
665
18.3M
    return *ptr;
666
18.3M
}
_ZNK5doris5Field3getILNS_13PrimitiveTypeE20EEERKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeEv
Line
Count
Source
660
17.1k
const typename PrimitiveTypeTraits<T>::CppType& Field::get() const {
661
17.1k
    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.1k
    const auto* MAY_ALIAS ptr =
664
17.1k
            reinterpret_cast<const typename PrimitiveTypeTraits<T>::CppType*>(&storage);
665
17.1k
    return *ptr;
666
17.1k
}
_ZNK5doris5Field3getILNS_13PrimitiveTypeE30EEERKNS_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_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
0
            << "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
118k
const typename PrimitiveTypeTraits<T>::CppType& Field::get() const {
661
118k
    DCHECK(T == type || (is_string_type(type) && is_string_type(T)) || type == TYPE_NULL)
662
30
            << "Type mismatch: requested " << type_to_string(T) << ", actual " << get_type_name();
663
118k
    const auto* MAY_ALIAS ptr =
664
118k
            reinterpret_cast<const typename PrimitiveTypeTraits<T>::CppType*>(&storage);
665
118k
    return *ptr;
666
118k
}
_ZNK5doris5Field3getILNS_13PrimitiveTypeE10EEERKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeEv
Line
Count
Source
660
18.7M
const typename PrimitiveTypeTraits<T>::CppType& Field::get() const {
661
18.4E
    DCHECK(T == type || (is_string_type(type) && is_string_type(T)) || type == TYPE_NULL)
662
18.4E
            << "Type mismatch: requested " << type_to_string(T) << ", actual " << get_type_name();
663
18.7M
    const auto* MAY_ALIAS ptr =
664
18.7M
            reinterpret_cast<const typename PrimitiveTypeTraits<T>::CppType*>(&storage);
665
18.7M
    return *ptr;
666
18.7M
}
_ZNK5doris5Field3getILNS_13PrimitiveTypeE23EEERKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeEv
Line
Count
Source
660
92.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
92.0M
    const auto* MAY_ALIAS ptr =
664
92.0M
            reinterpret_cast<const typename PrimitiveTypeTraits<T>::CppType*>(&storage);
665
92.0M
    return *ptr;
666
92.0M
}
_ZNK5doris5Field3getILNS_13PrimitiveTypeE41EEERKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeEv
Line
Count
Source
660
58
const typename PrimitiveTypeTraits<T>::CppType& Field::get() const {
661
58
    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
58
    const auto* MAY_ALIAS ptr =
664
58
            reinterpret_cast<const typename PrimitiveTypeTraits<T>::CppType*>(&storage);
665
58
    return *ptr;
666
58
}
_ZNK5doris5Field3getILNS_13PrimitiveTypeE19EEERKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeEv
Line
Count
Source
660
18
const typename PrimitiveTypeTraits<T>::CppType& Field::get() const {
661
18
    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
    const auto* MAY_ALIAS ptr =
664
18
            reinterpret_cast<const typename PrimitiveTypeTraits<T>::CppType*>(&storage);
665
18
    return *ptr;
666
18
}
_ZNK5doris5Field3getILNS_13PrimitiveTypeE32EEERKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeEv
Line
Count
Source
660
217k
const typename PrimitiveTypeTraits<T>::CppType& Field::get() const {
661
217k
    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
217k
    const auto* MAY_ALIAS ptr =
664
217k
            reinterpret_cast<const typename PrimitiveTypeTraits<T>::CppType*>(&storage);
665
217k
    return *ptr;
666
217k
}
_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
127M
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
127M
    const auto* MAY_ALIAS ptr =
664
127M
            reinterpret_cast<const typename PrimitiveTypeTraits<T>::CppType*>(&storage);
665
127M
    return *ptr;
666
127M
}
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.4k
const typename PrimitiveTypeTraits<T>::CppType& Field::get() const {
661
38.4k
    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.4k
    const auto* MAY_ALIAS ptr =
664
38.4k
            reinterpret_cast<const typename PrimitiveTypeTraits<T>::CppType*>(&storage);
665
38.4k
    return *ptr;
666
38.4k
}
_ZNK5doris5Field3getILNS_13PrimitiveTypeE2EEERKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeEv
Line
Count
Source
660
34.8M
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
34.8M
    const auto* MAY_ALIAS ptr =
664
34.8M
            reinterpret_cast<const typename PrimitiveTypeTraits<T>::CppType*>(&storage);
665
34.8M
    return *ptr;
666
34.8M
}
_ZNK5doris5Field3getILNS_13PrimitiveTypeE8EEERKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeEv
Line
Count
Source
660
4.57M
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.57M
    const auto* MAY_ALIAS ptr =
664
4.57M
            reinterpret_cast<const typename PrimitiveTypeTraits<T>::CppType*>(&storage);
665
4.57M
    return *ptr;
666
4.57M
}
_ZNK5doris5Field3getILNS_13PrimitiveTypeE9EEERKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeEv
Line
Count
Source
660
13.8M
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
13.8M
    const auto* MAY_ALIAS ptr =
664
13.8M
            reinterpret_cast<const typename PrimitiveTypeTraits<T>::CppType*>(&storage);
665
13.8M
    return *ptr;
666
13.8M
}
_ZNK5doris5Field3getILNS_13PrimitiveTypeE31EEERKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeEv
Line
Count
Source
660
5.18M
const typename PrimitiveTypeTraits<T>::CppType& Field::get() const {
661
5.18M
    DCHECK(T == type || (is_string_type(type) && is_string_type(T)) || type == TYPE_NULL)
662
129
            << "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_13PrimitiveTypeE16EEERKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeEv
Line
Count
Source
660
4.05M
const typename PrimitiveTypeTraits<T>::CppType& Field::get() const {
661
4.05M
    DCHECK(T == type || (is_string_type(type) && is_string_type(T)) || type == TYPE_NULL)
662
0
            << "Type mismatch: requested " << type_to_string(T) << ", actual " << get_type_name();
663
4.05M
    const auto* MAY_ALIAS ptr =
664
4.05M
            reinterpret_cast<const typename PrimitiveTypeTraits<T>::CppType*>(&storage);
665
4.05M
    return *ptr;
666
4.05M
}
_ZNK5doris5Field3getILNS_13PrimitiveTypeE18EEERKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeEv
Line
Count
Source
660
17.2M
const typename PrimitiveTypeTraits<T>::CppType& Field::get() const {
661
18.4E
    DCHECK(T == type || (is_string_type(type) && is_string_type(T)) || type == TYPE_NULL)
662
18.4E
            << "Type mismatch: requested " << type_to_string(T) << ", actual " << get_type_name();
663
17.2M
    const auto* MAY_ALIAS ptr =
664
17.2M
            reinterpret_cast<const typename PrimitiveTypeTraits<T>::CppType*>(&storage);
665
17.2M
    return *ptr;
666
17.2M
}
_ZNK5doris5Field3getILNS_13PrimitiveTypeE22EEERKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeEv
Line
Count
Source
660
12.5k
const typename PrimitiveTypeTraits<T>::CppType& Field::get() const {
661
12.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
12.5k
    const auto* MAY_ALIAS ptr =
664
12.5k
            reinterpret_cast<const typename PrimitiveTypeTraits<T>::CppType*>(&storage);
665
12.5k
    return *ptr;
666
12.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
208M
void Field::destroy() {
670
208M
    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
208M
    auto* MAY_ALIAS ptr = reinterpret_cast<TargetType*>(&storage);
674
208M
    ptr->~TargetType();
675
208M
}
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
186k
void Field::destroy() {
670
186k
    using TargetType = typename PrimitiveTypeTraits<T>::CppType;
671
186k
    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
186k
    auto* MAY_ALIAS ptr = reinterpret_cast<TargetType*>(&storage);
674
186k
    ptr->~TargetType();
675
186k
}
_ZN5doris5Field7destroyILNS_13PrimitiveTypeE10EEEvv
Line
Count
Source
669
16.0M
void Field::destroy() {
670
16.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
16.0M
    auto* MAY_ALIAS ptr = reinterpret_cast<TargetType*>(&storage);
674
16.0M
    ptr->~TargetType();
675
16.0M
}
_ZN5doris5Field7destroyILNS_13PrimitiveTypeE23EEEvv
Line
Count
Source
669
64.2M
void Field::destroy() {
670
64.2M
    using TargetType = typename PrimitiveTypeTraits<T>::CppType;
671
18.4E
    DCHECK(T == type || ((is_string_type(type) && is_string_type(T))))
672
18.4E
            << "Type mismatch: requested " << type_to_string(T) << ", actual " << get_type_name();
673
64.2M
    auto* MAY_ALIAS ptr = reinterpret_cast<TargetType*>(&storage);
674
64.2M
    ptr->~TargetType();
675
64.2M
}
_ZN5doris5Field7destroyILNS_13PrimitiveTypeE41EEEvv
Line
Count
Source
669
104
void Field::destroy() {
670
104
    using TargetType = typename PrimitiveTypeTraits<T>::CppType;
671
104
    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
104
    auto* MAY_ALIAS ptr = reinterpret_cast<TargetType*>(&storage);
674
104
    ptr->~TargetType();
675
104
}
_ZN5doris5Field7destroyILNS_13PrimitiveTypeE19EEEvv
Line
Count
Source
669
430
void Field::destroy() {
670
430
    using TargetType = typename PrimitiveTypeTraits<T>::CppType;
671
430
    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
430
    auto* MAY_ALIAS ptr = reinterpret_cast<TargetType*>(&storage);
674
430
    ptr->~TargetType();
675
430
}
_ZN5doris5Field7destroyILNS_13PrimitiveTypeE32EEEvv
Line
Count
Source
669
533k
void Field::destroy() {
670
533k
    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
533k
    auto* MAY_ALIAS ptr = reinterpret_cast<TargetType*>(&storage);
674
533k
    ptr->~TargetType();
675
533k
}
_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
101M
void Field::destroy() {
670
101M
    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
101M
    auto* MAY_ALIAS ptr = reinterpret_cast<TargetType*>(&storage);
674
101M
    ptr->~TargetType();
675
101M
}
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.57M
void Field::destroy() {
670
9.57M
    using TargetType = typename PrimitiveTypeTraits<T>::CppType;
671
18.4E
    DCHECK(T == type || ((is_string_type(type) && is_string_type(T))))
672
18.4E
            << "Type mismatch: requested " << type_to_string(T) << ", actual " << get_type_name();
673
9.57M
    auto* MAY_ALIAS ptr = reinterpret_cast<TargetType*>(&storage);
674
9.57M
    ptr->~TargetType();
675
9.57M
}
_ZN5doris5Field7destroyILNS_13PrimitiveTypeE16EEEvv
Line
Count
Source
669
3.06M
void Field::destroy() {
670
3.06M
    using TargetType = typename PrimitiveTypeTraits<T>::CppType;
671
3.06M
    DCHECK(T == type || ((is_string_type(type) && is_string_type(T))))
672
0
            << "Type mismatch: requested " << type_to_string(T) << ", actual " << get_type_name();
673
3.06M
    auto* MAY_ALIAS ptr = reinterpret_cast<TargetType*>(&storage);
674
3.06M
    ptr->~TargetType();
675
3.06M
}
_ZN5doris5Field7destroyILNS_13PrimitiveTypeE18EEEvv
Line
Count
Source
669
13.2M
void Field::destroy() {
670
13.2M
    using TargetType = typename PrimitiveTypeTraits<T>::CppType;
671
18.4E
    DCHECK(T == type || ((is_string_type(type) && is_string_type(T))))
672
18.4E
            << "Type mismatch: requested " << type_to_string(T) << ", actual " << get_type_name();
673
13.2M
    auto* MAY_ALIAS ptr = reinterpret_cast<TargetType*>(&storage);
674
13.2M
    ptr->~TargetType();
675
13.2M
}
_ZN5doris5Field7destroyILNS_13PrimitiveTypeE22EEEvv
Line
Count
Source
669
2.48k
void Field::destroy() {
670
2.48k
    using TargetType = typename PrimitiveTypeTraits<T>::CppType;
671
2.48k
    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.48k
    auto* MAY_ALIAS ptr = reinterpret_cast<TargetType*>(&storage);
674
2.48k
    ptr->~TargetType();
675
2.48k
}
Unexecuted instantiation: _ZN5doris5Field7destroyILNS_13PrimitiveTypeE27EEEvv
Unexecuted instantiation: _ZN5doris5Field7destroyILNS_13PrimitiveTypeE38EEEvv
Unexecuted instantiation: _ZN5doris5Field7destroyILNS_13PrimitiveTypeE39EEEvv
676
677
28.9M
std::strong_ordering Field::operator<=>(const Field& rhs) const {
678
28.9M
    if (type == PrimitiveType::TYPE_NULL || rhs == PrimitiveType::TYPE_NULL) {
679
19.4M
        return type <=> rhs.type;
680
19.4M
    }
681
9.58M
    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.1k
        if (is_string_type(type) && is_string_type(rhs.type)) {
687
10.1k
            return get<TYPE_STRING>() <=> rhs.get<TYPE_STRING>();
688
10.1k
        }
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.1k
    }
692
693
9.57M
    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
102k
    case PrimitiveType::TYPE_DATETIMEV2:
706
102k
        return get<PrimitiveType::TYPE_DATETIMEV2>().to_date_int_val() <=>
707
102k
               rhs.get<PrimitiveType::TYPE_DATETIMEV2>().to_date_int_val();
708
736k
    case PrimitiveType::TYPE_DATEV2:
709
736k
        return get<PrimitiveType::TYPE_DATEV2>().to_date_int_val() <=>
710
736k
               rhs.get<PrimitiveType::TYPE_DATEV2>().to_date_int_val();
711
8.52k
    case PrimitiveType::TYPE_TIMESTAMPTZ:
712
8.52k
        return get<PrimitiveType::TYPE_TIMESTAMPTZ>().to_date_int_val() <=>
713
8.52k
               rhs.get<PrimitiveType::TYPE_TIMESTAMPTZ>().to_date_int_val();
714
4.29k
    case PrimitiveType::TYPE_DATE:
715
4.29k
        return get<PrimitiveType::TYPE_DATE>() <=> rhs.get<PrimitiveType::TYPE_DATE>();
716
511
    case PrimitiveType::TYPE_DATETIME:
717
511
        return get<PrimitiveType::TYPE_DATETIME>() <=> rhs.get<PrimitiveType::TYPE_DATETIME>();
718
614k
    case PrimitiveType::TYPE_BIGINT:
719
614k
        return get<PrimitiveType::TYPE_BIGINT>() <=> rhs.get<PrimitiveType::TYPE_BIGINT>();
720
173k
    case PrimitiveType::TYPE_BOOLEAN:
721
173k
        return get<PrimitiveType::TYPE_BOOLEAN>() <=> rhs.get<PrimitiveType::TYPE_BOOLEAN>();
722
572k
    case PrimitiveType::TYPE_TINYINT:
723
572k
        return get<TYPE_TINYINT>() <=> rhs.get<TYPE_TINYINT>();
724
14.6k
    case PrimitiveType::TYPE_SMALLINT:
725
14.6k
        return get<TYPE_SMALLINT>() <=> rhs.get<TYPE_SMALLINT>();
726
2.21M
    case PrimitiveType::TYPE_INT:
727
2.21M
        return get<TYPE_INT>() <=> rhs.get<TYPE_INT>();
728
37.1k
    case PrimitiveType::TYPE_LARGEINT:
729
37.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.15k
    case PrimitiveType::TYPE_FLOAT:
735
1.15k
        switch (Compare::compare(get<TYPE_FLOAT>(), rhs.get<TYPE_FLOAT>())) {
736
405
        case -1:
737
405
            return std::strong_ordering::less;
738
265
        case 0:
739
265
            return std::strong_ordering::equal;
740
482
        case 1:
741
482
            return std::strong_ordering::greater;
742
0
        default:
743
0
            LOG(FATAL) << "unexpected float compare result";
744
1.15k
        }
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.41k
    case PrimitiveType::TYPE_DOUBLE:
750
4.41k
        switch (Compare::compare(get<TYPE_DOUBLE>(), rhs.get<TYPE_DOUBLE>())) {
751
452
        case -1:
752
452
            return std::strong_ordering::less;
753
3.49k
        case 0:
754
3.49k
            return std::strong_ordering::equal;
755
467
        case 1:
756
467
            return std::strong_ordering::greater;
757
0
        default:
758
0
            LOG(FATAL) << "unexpected double compare result";
759
4.41k
        }
760
2.21M
    case PrimitiveType::TYPE_STRING:
761
2.21M
        return get<TYPE_STRING>() <=> rhs.get<TYPE_STRING>();
762
35.7k
    case PrimitiveType::TYPE_CHAR:
763
35.7k
        return get<TYPE_CHAR>() <=> rhs.get<TYPE_CHAR>();
764
2.80M
    case PrimitiveType::TYPE_VARCHAR:
765
2.80M
        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.40k
    case PrimitiveType::TYPE_DECIMAL32:
769
1.40k
        return get<TYPE_DECIMAL32>() <=> rhs.get<TYPE_DECIMAL32>();
770
37.7k
    case PrimitiveType::TYPE_DECIMAL64:
771
37.7k
        return get<TYPE_DECIMAL64>() <=> rhs.get<TYPE_DECIMAL64>();
772
2.74k
    case PrimitiveType::TYPE_DECIMALV2:
773
2.74k
        return get<TYPE_DECIMALV2>() <=> rhs.get<TYPE_DECIMALV2>();
774
15.1k
    case PrimitiveType::TYPE_DECIMAL128I:
775
15.1k
        return get<TYPE_DECIMAL128I>() <=> rhs.get<TYPE_DECIMAL128I>();
776
2.16k
    case PrimitiveType::TYPE_DECIMAL256:
777
2.16k
        return get<TYPE_DECIMAL256>() <=> rhs.get<TYPE_DECIMAL256>();
778
0
    default:
779
0
        throw Exception(Status::FatalError("Unsupported type: {}", get_type_name()));
780
9.57M
    }
781
9.57M
}
782
783
#define MATCH_PRIMITIVE_TYPE(primitive_type)                                   \
784
4.54k
    if (type == primitive_type) {                                              \
785
860
        const auto& v = get<primitive_type>();                                 \
786
860
        return std::string_view(reinterpret_cast<const char*>(&v), sizeof(v)); \
787
860
    }
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
466
        const auto& s = get<TYPE_STRING>();
793
466
        return {s.data(), s.size()};
794
466
    }
795
860
    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
860
    MATCH_PRIMITIVE_TYPE(TYPE_BOOLEAN);
802
860
    MATCH_PRIMITIVE_TYPE(TYPE_TINYINT);
803
846
    MATCH_PRIMITIVE_TYPE(TYPE_SMALLINT);
804
846
    MATCH_PRIMITIVE_TYPE(TYPE_INT);
805
160
    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
24.2M
std::string Field::to_debug_string(int scale) const {
850
24.2M
    if (is_null()) {
851
0
        return "NULL";
852
0
    }
853
24.2M
    switch (type) {
854
7.31k
    case PrimitiveType::TYPE_BOOLEAN:
855
7.31k
        return get<TYPE_BOOLEAN>() ? "true" : "false";
856
1.66M
    case PrimitiveType::TYPE_TINYINT:
857
1.66M
        return CastToString::from_number(get<TYPE_TINYINT>());
858
32.6k
    case PrimitiveType::TYPE_SMALLINT:
859
32.6k
        return CastToString::from_number(get<TYPE_SMALLINT>());
860
647k
    case PrimitiveType::TYPE_INT:
861
647k
        return CastToString::from_number(get<TYPE_INT>());
862
516k
    case PrimitiveType::TYPE_BIGINT:
863
516k
        return CastToString::from_number(get<TYPE_BIGINT>());
864
78.4k
    case PrimitiveType::TYPE_LARGEINT:
865
78.4k
        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
1.75k
    case PrimitiveType::TYPE_CHAR:
872
20.3M
    case PrimitiveType::TYPE_VARCHAR:
873
20.3M
        return get<TYPE_STRING>();
874
0
    case PrimitiveType::TYPE_VARBINARY:
875
0
        return get<TYPE_VARBINARY>();
876
2.29k
    case PrimitiveType::TYPE_DATE:
877
2.29k
        return CastToString::from_date_or_datetime(get<TYPE_DATE>());
878
120
    case PrimitiveType::TYPE_DATETIME:
879
120
        return CastToString::from_date_or_datetime(get<TYPE_DATETIME>());
880
921k
    case PrimitiveType::TYPE_DATEV2:
881
921k
        return CastToString::from_datev2(get<TYPE_DATEV2>());
882
11.4k
    case PrimitiveType::TYPE_DATETIMEV2:
883
11.4k
        return CastToString::from_datetimev2(get<TYPE_DATETIMEV2>(), scale);
884
31.6k
    case PrimitiveType::TYPE_TIMESTAMPTZ:
885
31.6k
        return CastToString::from_timestamptz(get<TYPE_TIMESTAMPTZ>(), scale);
886
109
    case PrimitiveType::TYPE_DECIMALV2:
887
109
        return get<TYPE_DECIMALV2>().to_string();
888
1.89k
    case PrimitiveType::TYPE_DECIMAL32:
889
1.89k
        return CastToString::from_decimal(get<TYPE_DECIMAL32>(), scale);
890
2.52k
    case PrimitiveType::TYPE_DECIMAL64:
891
2.52k
        return CastToString::from_decimal(get<TYPE_DECIMAL64>(), scale);
892
3.91k
    case PrimitiveType::TYPE_DECIMAL128I:
893
3.91k
        return CastToString::from_decimal(get<TYPE_DECIMAL128I>(), scale);
894
1.63k
    case PrimitiveType::TYPE_DECIMAL256:
895
1.63k
        return CastToString::from_decimal(get<TYPE_DECIMAL256>(), scale);
896
0
    case PrimitiveType::TYPE_IPV4:
897
0
        return CastToString::from_ip(get<TYPE_IPV4>());
898
2
    case PrimitiveType::TYPE_IPV6:
899
2
        return CastToString::from_ip(get<TYPE_IPV6>());
900
0
    default:
901
0
        throw Exception(Status::FatalError("type not supported for to_debug_string, type={}",
902
0
                                           get_type_name()));
903
0
        __builtin_unreachable();
904
24.2M
    }
905
24.2M
}
906
907
#define DECLARE_FUNCTION(FUNC_NAME)                                                               \
908
    template void Field::FUNC_NAME<TYPE_NULL>(typename PrimitiveTypeTraits<TYPE_NULL>::CppType && \
909
                                              rhs);                                               \
910
    template void Field::FUNC_NAME<TYPE_TINYINT>(                                                 \
911
            typename PrimitiveTypeTraits<TYPE_TINYINT>::CppType && rhs);                          \
912
    template void Field::FUNC_NAME<TYPE_SMALLINT>(                                                \
913
            typename PrimitiveTypeTraits<TYPE_SMALLINT>::CppType && rhs);                         \
914
    template void Field::FUNC_NAME<TYPE_INT>(typename PrimitiveTypeTraits<TYPE_INT>::CppType &&   \
915
                                             rhs);                                                \
916
    template void Field::FUNC_NAME<TYPE_BIGINT>(                                                  \
917
            typename PrimitiveTypeTraits<TYPE_BIGINT>::CppType && rhs);                           \
918
    template void Field::FUNC_NAME<TYPE_LARGEINT>(                                                \
919
            typename PrimitiveTypeTraits<TYPE_LARGEINT>::CppType && rhs);                         \
920
    template void Field::FUNC_NAME<TYPE_DATE>(typename PrimitiveTypeTraits<TYPE_DATE>::CppType && \
921
                                              rhs);                                               \
922
    template void Field::FUNC_NAME<TYPE_DATETIME>(                                                \
923
            typename PrimitiveTypeTraits<TYPE_DATETIME>::CppType && rhs);                         \
924
    template void Field::FUNC_NAME<TYPE_DATEV2>(                                                  \
925
            typename PrimitiveTypeTraits<TYPE_DATEV2>::CppType && rhs);                           \
926
    template void Field::FUNC_NAME<TYPE_DATETIMEV2>(                                              \
927
            typename PrimitiveTypeTraits<TYPE_DATETIMEV2>::CppType && rhs);                       \
928
    template void Field::FUNC_NAME<TYPE_DECIMAL32>(                                               \
929
            typename PrimitiveTypeTraits<TYPE_DECIMAL32>::CppType && rhs);                        \
930
    template void Field::FUNC_NAME<TYPE_DECIMAL64>(                                               \
931
            typename PrimitiveTypeTraits<TYPE_DECIMAL64>::CppType && rhs);                        \
932
    template void Field::FUNC_NAME<TYPE_DECIMALV2>(                                               \
933
            typename PrimitiveTypeTraits<TYPE_DECIMALV2>::CppType && rhs);                        \
934
    template void Field::FUNC_NAME<TYPE_DECIMAL128I>(                                             \
935
            typename PrimitiveTypeTraits<TYPE_DECIMAL128I>::CppType && rhs);                      \
936
    template void Field::FUNC_NAME<TYPE_DECIMAL256>(                                              \
937
            typename PrimitiveTypeTraits<TYPE_DECIMAL256>::CppType && rhs);                       \
938
    template void Field::FUNC_NAME<TYPE_CHAR>(typename PrimitiveTypeTraits<TYPE_CHAR>::CppType && \
939
                                              rhs);                                               \
940
    template void Field::FUNC_NAME<TYPE_VARCHAR>(                                                 \
941
            typename PrimitiveTypeTraits<TYPE_VARCHAR>::CppType && rhs);                          \
942
    template void Field::FUNC_NAME<TYPE_STRING>(                                                  \
943
            typename PrimitiveTypeTraits<TYPE_STRING>::CppType && rhs);                           \
944
    template void Field::FUNC_NAME<TYPE_VARBINARY>(                                               \
945
            typename PrimitiveTypeTraits<TYPE_VARBINARY>::CppType && rhs);                        \
946
    template void Field::FUNC_NAME<TYPE_HLL>(typename PrimitiveTypeTraits<TYPE_HLL>::CppType &&   \
947
                                             rhs);                                                \
948
    template void Field::FUNC_NAME<TYPE_VARIANT>(                                                 \
949
            typename PrimitiveTypeTraits<TYPE_VARIANT>::CppType && rhs);                          \
950
    template void Field::FUNC_NAME<TYPE_QUANTILE_STATE>(                                          \
951
            typename PrimitiveTypeTraits<TYPE_QUANTILE_STATE>::CppType && rhs);                   \
952
    template void Field::FUNC_NAME<TYPE_ARRAY>(                                                   \
953
            typename PrimitiveTypeTraits<TYPE_ARRAY>::CppType && rhs);                            \
954
    template void Field::FUNC_NAME<TYPE_TIME>(typename PrimitiveTypeTraits<TYPE_TIME>::CppType && \
955
                                              rhs);                                               \
956
    template void Field::FUNC_NAME<TYPE_TIME>(                                                    \
957
            const typename PrimitiveTypeTraits<TYPE_TIME>::CppType& rhs);                         \
958
    template void Field::FUNC_NAME<TYPE_NULL>(                                                    \
959
            const typename PrimitiveTypeTraits<TYPE_NULL>::CppType& rhs);                         \
960
    template void Field::FUNC_NAME<TYPE_TINYINT>(                                                 \
961
            const typename PrimitiveTypeTraits<TYPE_TINYINT>::CppType& rhs);                      \
962
    template void Field::FUNC_NAME<TYPE_SMALLINT>(                                                \
963
            const typename PrimitiveTypeTraits<TYPE_SMALLINT>::CppType& rhs);                     \
964
    template void Field::FUNC_NAME<TYPE_INT>(                                                     \
965
            const typename PrimitiveTypeTraits<TYPE_INT>::CppType& rhs);                          \
966
    template void Field::FUNC_NAME<TYPE_BIGINT>(                                                  \
967
            const typename PrimitiveTypeTraits<TYPE_BIGINT>::CppType& rhs);                       \
968
    template void Field::FUNC_NAME<TYPE_LARGEINT>(                                                \
969
            const typename PrimitiveTypeTraits<TYPE_LARGEINT>::CppType& rhs);                     \
970
    template void Field::FUNC_NAME<TYPE_DATE>(                                                    \
971
            const typename PrimitiveTypeTraits<TYPE_DATE>::CppType& rhs);                         \
972
    template void Field::FUNC_NAME<TYPE_DATETIME>(                                                \
973
            const typename PrimitiveTypeTraits<TYPE_DATETIME>::CppType& rhs);                     \
974
    template void Field::FUNC_NAME<TYPE_DATEV2>(                                                  \
975
            const typename PrimitiveTypeTraits<TYPE_DATEV2>::CppType& rhs);                       \
976
    template void Field::FUNC_NAME<TYPE_DATETIMEV2>(                                              \
977
            const typename PrimitiveTypeTraits<TYPE_DATETIMEV2>::CppType& rhs);                   \
978
    template void Field::FUNC_NAME<TYPE_TIMESTAMPTZ>(                                             \
979
            const typename PrimitiveTypeTraits<TYPE_TIMESTAMPTZ>::CppType& rhs);                  \
980
    template void Field::FUNC_NAME<TYPE_TIMESTAMPTZ>(                                             \
981
            typename PrimitiveTypeTraits<TYPE_TIMESTAMPTZ>::CppType && rhs);                      \
982
    template void Field::FUNC_NAME<TYPE_DECIMAL32>(                                               \
983
            const typename PrimitiveTypeTraits<TYPE_DECIMAL32>::CppType& rhs);                    \
984
    template void Field::FUNC_NAME<TYPE_DECIMAL64>(                                               \
985
            const typename PrimitiveTypeTraits<TYPE_DECIMAL64>::CppType& rhs);                    \
986
    template void Field::FUNC_NAME<TYPE_DECIMALV2>(                                               \
987
            const typename PrimitiveTypeTraits<TYPE_DECIMALV2>::CppType& rhs);                    \
988
    template void Field::FUNC_NAME<TYPE_DECIMAL128I>(                                             \
989
            const typename PrimitiveTypeTraits<TYPE_DECIMAL128I>::CppType& rhs);                  \
990
    template void Field::FUNC_NAME<TYPE_DECIMAL256>(                                              \
991
            const typename PrimitiveTypeTraits<TYPE_DECIMAL256>::CppType& rhs);                   \
992
    template void Field::FUNC_NAME<TYPE_CHAR>(                                                    \
993
            const typename PrimitiveTypeTraits<TYPE_CHAR>::CppType& rhs);                         \
994
    template void Field::FUNC_NAME<TYPE_VARCHAR>(                                                 \
995
            const typename PrimitiveTypeTraits<TYPE_VARCHAR>::CppType& rhs);                      \
996
    template void Field::FUNC_NAME<TYPE_STRING>(                                                  \
997
            const typename PrimitiveTypeTraits<TYPE_STRING>::CppType& rhs);                       \
998
    template void Field::FUNC_NAME<TYPE_VARBINARY>(                                               \
999
            const typename PrimitiveTypeTraits<TYPE_VARBINARY>::CppType& rhs);                    \
1000
    template void Field::FUNC_NAME<TYPE_HLL>(                                                     \
1001
            const typename PrimitiveTypeTraits<TYPE_HLL>::CppType& rhs);                          \
1002
    template void Field::FUNC_NAME<TYPE_VARIANT>(                                                 \
1003
            const typename PrimitiveTypeTraits<TYPE_VARIANT>::CppType& rhs);                      \
1004
    template void Field::FUNC_NAME<TYPE_QUANTILE_STATE>(                                          \
1005
            const typename PrimitiveTypeTraits<TYPE_QUANTILE_STATE>::CppType& rhs);               \
1006
    template void Field::FUNC_NAME<TYPE_ARRAY>(                                                   \
1007
            const typename PrimitiveTypeTraits<TYPE_ARRAY>::CppType& rhs);                        \
1008
    template void Field::FUNC_NAME<TYPE_IPV4>(typename PrimitiveTypeTraits<TYPE_IPV4>::CppType && \
1009
                                              rhs);                                               \
1010
    template void Field::FUNC_NAME<TYPE_IPV4>(                                                    \
1011
            const typename PrimitiveTypeTraits<TYPE_IPV4>::CppType& rhs);                         \
1012
    template void Field::FUNC_NAME<TYPE_IPV6>(typename PrimitiveTypeTraits<TYPE_IPV6>::CppType && \
1013
                                              rhs);                                               \
1014
    template void Field::FUNC_NAME<TYPE_IPV6>(                                                    \
1015
            const typename PrimitiveTypeTraits<TYPE_IPV6>::CppType& rhs);                         \
1016
    template void Field::FUNC_NAME<TYPE_BOOLEAN>(                                                 \
1017
            typename PrimitiveTypeTraits<TYPE_BOOLEAN>::CppType && rhs);                          \
1018
    template void Field::FUNC_NAME<TYPE_BOOLEAN>(                                                 \
1019
            const typename PrimitiveTypeTraits<TYPE_BOOLEAN>::CppType& rhs);                      \
1020
    template void Field::FUNC_NAME<TYPE_FLOAT>(                                                   \
1021
            typename PrimitiveTypeTraits<TYPE_FLOAT>::CppType && rhs);                            \
1022
    template void Field::FUNC_NAME<TYPE_FLOAT>(                                                   \
1023
            const typename PrimitiveTypeTraits<TYPE_FLOAT>::CppType& rhs);                        \
1024
    template void Field::FUNC_NAME<TYPE_DOUBLE>(                                                  \
1025
            typename PrimitiveTypeTraits<TYPE_DOUBLE>::CppType && rhs);                           \
1026
    template void Field::FUNC_NAME<TYPE_DOUBLE>(                                                  \
1027
            const typename PrimitiveTypeTraits<TYPE_DOUBLE>::CppType& rhs);                       \
1028
    template void Field::FUNC_NAME<TYPE_JSONB>(                                                   \
1029
            typename PrimitiveTypeTraits<TYPE_JSONB>::CppType && rhs);                            \
1030
    template void Field::FUNC_NAME<TYPE_JSONB>(                                                   \
1031
            const typename PrimitiveTypeTraits<TYPE_JSONB>::CppType& rhs);                        \
1032
    template void Field::FUNC_NAME<TYPE_STRUCT>(                                                  \
1033
            typename PrimitiveTypeTraits<TYPE_STRUCT>::CppType && rhs);                           \
1034
    template void Field::FUNC_NAME<TYPE_STRUCT>(                                                  \
1035
            const typename PrimitiveTypeTraits<TYPE_STRUCT>::CppType& rhs);                       \
1036
    template void Field::FUNC_NAME<TYPE_MAP>(typename PrimitiveTypeTraits<TYPE_MAP>::CppType &&   \
1037
                                             rhs);                                                \
1038
    template void Field::FUNC_NAME<TYPE_MAP>(                                                     \
1039
            const typename PrimitiveTypeTraits<TYPE_MAP>::CppType& rhs);                          \
1040
    template void Field::FUNC_NAME<TYPE_BITMAP>(                                                  \
1041
            typename PrimitiveTypeTraits<TYPE_BITMAP>::CppType && rhs);                           \
1042
    template void Field::FUNC_NAME<TYPE_BITMAP>(                                                  \
1043
            const typename PrimitiveTypeTraits<TYPE_BITMAP>::CppType& rhs);                       \
1044
    template void Field::FUNC_NAME<TYPE_TIMEV2>(                                                  \
1045
            const typename PrimitiveTypeTraits<TYPE_TIMEV2>::CppType& rhs);                       \
1046
    template void Field::FUNC_NAME<TYPE_TIMEV2>(                                                  \
1047
            typename PrimitiveTypeTraits<TYPE_TIMEV2>::CppType && rhs);                           \
1048
    template void Field::FUNC_NAME<TYPE_UINT32>(                                                  \
1049
            const typename PrimitiveTypeTraits<TYPE_UINT32>::CppType& rhs);                       \
1050
    template void Field::FUNC_NAME<TYPE_UINT32>(                                                  \
1051
            typename PrimitiveTypeTraits<TYPE_UINT32>::CppType && rhs);                           \
1052
    template void Field::FUNC_NAME<TYPE_UINT64>(                                                  \
1053
            const typename PrimitiveTypeTraits<TYPE_UINT64>::CppType& rhs);                       \
1054
    template void Field::FUNC_NAME<TYPE_UINT64>(                                                  \
1055
            typename PrimitiveTypeTraits<TYPE_UINT64>::CppType && rhs);
1056
DECLARE_FUNCTION(create_concrete)
1057
DECLARE_FUNCTION(assign_concrete)
1058
#undef DECLARE_FUNCTION
1059
1060
#define DECLARE_FUNCTION(TYPE_NAME)                                                          \
1061
    template typename PrimitiveTypeTraits<TYPE_NAME>::CppType& Field::get<TYPE_NAME>();      \
1062
    template const typename PrimitiveTypeTraits<TYPE_NAME>::CppType& Field::get<TYPE_NAME>() \
1063
            const;                                                                           \
1064
    template void Field::destroy<TYPE_NAME>();
1065
DECLARE_FUNCTION(TYPE_NULL)
1066
DECLARE_FUNCTION(TYPE_TINYINT)
1067
DECLARE_FUNCTION(TYPE_SMALLINT)
1068
DECLARE_FUNCTION(TYPE_INT)
1069
DECLARE_FUNCTION(TYPE_BIGINT)
1070
DECLARE_FUNCTION(TYPE_LARGEINT)
1071
DECLARE_FUNCTION(TYPE_DATE)
1072
DECLARE_FUNCTION(TYPE_DATETIME)
1073
DECLARE_FUNCTION(TYPE_DATEV2)
1074
DECLARE_FUNCTION(TYPE_DATETIMEV2)
1075
DECLARE_FUNCTION(TYPE_TIMESTAMPTZ)
1076
DECLARE_FUNCTION(TYPE_DECIMAL32)
1077
DECLARE_FUNCTION(TYPE_DECIMAL64)
1078
DECLARE_FUNCTION(TYPE_DECIMALV2)
1079
DECLARE_FUNCTION(TYPE_DECIMAL128I)
1080
DECLARE_FUNCTION(TYPE_DECIMAL256)
1081
DECLARE_FUNCTION(TYPE_CHAR)
1082
DECLARE_FUNCTION(TYPE_VARCHAR)
1083
DECLARE_FUNCTION(TYPE_STRING)
1084
DECLARE_FUNCTION(TYPE_VARBINARY)
1085
DECLARE_FUNCTION(TYPE_HLL)
1086
DECLARE_FUNCTION(TYPE_VARIANT)
1087
DECLARE_FUNCTION(TYPE_QUANTILE_STATE)
1088
DECLARE_FUNCTION(TYPE_ARRAY)
1089
DECLARE_FUNCTION(TYPE_TIME)
1090
DECLARE_FUNCTION(TYPE_IPV4)
1091
DECLARE_FUNCTION(TYPE_IPV6)
1092
DECLARE_FUNCTION(TYPE_BOOLEAN)
1093
DECLARE_FUNCTION(TYPE_FLOAT)
1094
DECLARE_FUNCTION(TYPE_DOUBLE)
1095
DECLARE_FUNCTION(TYPE_JSONB)
1096
DECLARE_FUNCTION(TYPE_STRUCT)
1097
DECLARE_FUNCTION(TYPE_MAP)
1098
DECLARE_FUNCTION(TYPE_BITMAP)
1099
DECLARE_FUNCTION(TYPE_TIMEV2)
1100
DECLARE_FUNCTION(TYPE_UINT32)
1101
DECLARE_FUNCTION(TYPE_UINT64)
1102
#undef DECLARE_FUNCTION
1103
} // namespace doris