Coverage Report

Created: 2026-05-27 14:23

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