Coverage Report

Created: 2026-07-23 18:24

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