Coverage Report

Created: 2026-04-17 11:34

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