Coverage Report

Created: 2026-08-27 19:56

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