Coverage Report

Created: 2026-08-18 16:48

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