Coverage Report

Created: 2026-03-20 04:39

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 "core/accurate_comparison.h"
24
#include "core/data_type/data_type_decimal.h"
25
#include "core/data_type/define_primitive_type.h"
26
#include "core/data_type/primitive_type.h"
27
#include "core/decimal_comparison.h"
28
#include "core/value/bitmap_value.h"
29
#include "core/value/jsonb_value.h"
30
#include "core/value/timestamptz_value.h"
31
#include "core/value/vdatetime_value.h"
32
#include "exprs/function/cast/cast_to_string.h"
33
#include "util/io_helper.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
181M
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
181M
    using StorageType = typename PrimitiveTypeTraits<Type>::CppType;
101
181M
    new (&storage) StorageType(std::move(x));
102
181M
    type = Type;
103
181M
    DCHECK_NE(type, PrimitiveType::INVALID_TYPE);
104
181M
}
_ZN5doris5Field15create_concreteILNS_13PrimitiveTypeE1EEEvONS_19PrimitiveTypeTraitsIXT_EE7CppTypeE
Line
Count
Source
94
294k
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
294k
    using StorageType = typename PrimitiveTypeTraits<Type>::CppType;
101
294k
    new (&storage) StorageType(std::move(x));
102
294k
    type = Type;
103
    DCHECK_NE(type, PrimitiveType::INVALID_TYPE);
104
294k
}
_ZN5doris5Field15create_concreteILNS_13PrimitiveTypeE3EEEvONS_19PrimitiveTypeTraitsIXT_EE7CppTypeE
Line
Count
Source
94
11.5M
void Field::create_concrete(typename PrimitiveTypeTraits<Type>::CppType&& x) {
95
    // In both Field and PODArray, small types may be stored as wider types,
96
    // e.g. char is stored as UInt64. Field can return this extended value
97
    // with get<StorageType>(). To avoid uninitialized results from get(),
98
    // we must initialize the entire wide stored type, and not just the
99
    // nominal type.
100
11.5M
    using StorageType = typename PrimitiveTypeTraits<Type>::CppType;
101
11.5M
    new (&storage) StorageType(std::move(x));
102
11.5M
    type = Type;
103
    DCHECK_NE(type, PrimitiveType::INVALID_TYPE);
104
11.5M
}
_ZN5doris5Field15create_concreteILNS_13PrimitiveTypeE4EEEvONS_19PrimitiveTypeTraitsIXT_EE7CppTypeE
Line
Count
Source
94
245k
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
245k
    using StorageType = typename PrimitiveTypeTraits<Type>::CppType;
101
245k
    new (&storage) StorageType(std::move(x));
102
245k
    type = Type;
103
    DCHECK_NE(type, PrimitiveType::INVALID_TYPE);
104
245k
}
_ZN5doris5Field15create_concreteILNS_13PrimitiveTypeE5EEEvONS_19PrimitiveTypeTraitsIXT_EE7CppTypeE
Line
Count
Source
94
21.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
21.8M
    using StorageType = typename PrimitiveTypeTraits<Type>::CppType;
101
21.8M
    new (&storage) StorageType(std::move(x));
102
21.8M
    type = Type;
103
    DCHECK_NE(type, PrimitiveType::INVALID_TYPE);
104
21.8M
}
_ZN5doris5Field15create_concreteILNS_13PrimitiveTypeE6EEEvONS_19PrimitiveTypeTraitsIXT_EE7CppTypeE
Line
Count
Source
94
34.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
34.8M
    using StorageType = typename PrimitiveTypeTraits<Type>::CppType;
101
34.8M
    new (&storage) StorageType(std::move(x));
102
34.8M
    type = Type;
103
    DCHECK_NE(type, PrimitiveType::INVALID_TYPE);
104
34.8M
}
_ZN5doris5Field15create_concreteILNS_13PrimitiveTypeE7EEEvONS_19PrimitiveTypeTraitsIXT_EE7CppTypeE
Line
Count
Source
94
347k
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
347k
    using StorageType = typename PrimitiveTypeTraits<Type>::CppType;
101
347k
    new (&storage) StorageType(std::move(x));
102
347k
    type = Type;
103
    DCHECK_NE(type, PrimitiveType::INVALID_TYPE);
104
347k
}
_ZN5doris5Field15create_concreteILNS_13PrimitiveTypeE11EEEvONS_19PrimitiveTypeTraitsIXT_EE7CppTypeE
Line
Count
Source
94
14.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
14.7k
    using StorageType = typename PrimitiveTypeTraits<Type>::CppType;
101
14.7k
    new (&storage) StorageType(std::move(x));
102
14.7k
    type = Type;
103
    DCHECK_NE(type, PrimitiveType::INVALID_TYPE);
104
14.7k
}
_ZN5doris5Field15create_concreteILNS_13PrimitiveTypeE12EEEvONS_19PrimitiveTypeTraitsIXT_EE7CppTypeE
Line
Count
Source
94
23.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
23.3k
    using StorageType = typename PrimitiveTypeTraits<Type>::CppType;
101
23.3k
    new (&storage) StorageType(std::move(x));
102
23.3k
    type = Type;
103
    DCHECK_NE(type, PrimitiveType::INVALID_TYPE);
104
23.3k
}
_ZN5doris5Field15create_concreteILNS_13PrimitiveTypeE25EEEvONS_19PrimitiveTypeTraitsIXT_EE7CppTypeE
Line
Count
Source
94
647k
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
647k
    using StorageType = typename PrimitiveTypeTraits<Type>::CppType;
101
647k
    new (&storage) StorageType(std::move(x));
102
647k
    type = Type;
103
    DCHECK_NE(type, PrimitiveType::INVALID_TYPE);
104
647k
}
_ZN5doris5Field15create_concreteILNS_13PrimitiveTypeE26EEEvONS_19PrimitiveTypeTraitsIXT_EE7CppTypeE
Line
Count
Source
94
815k
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
815k
    using StorageType = typename PrimitiveTypeTraits<Type>::CppType;
101
815k
    new (&storage) StorageType(std::move(x));
102
815k
    type = Type;
103
    DCHECK_NE(type, PrimitiveType::INVALID_TYPE);
104
815k
}
_ZN5doris5Field15create_concreteILNS_13PrimitiveTypeE28EEEvONS_19PrimitiveTypeTraitsIXT_EE7CppTypeE
Line
Count
Source
94
106k
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
106k
    using StorageType = typename PrimitiveTypeTraits<Type>::CppType;
101
106k
    new (&storage) StorageType(std::move(x));
102
106k
    type = Type;
103
    DCHECK_NE(type, PrimitiveType::INVALID_TYPE);
104
106k
}
_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
16.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
16.7k
    using StorageType = typename PrimitiveTypeTraits<Type>::CppType;
101
16.7k
    new (&storage) StorageType(std::move(x));
102
16.7k
    type = Type;
103
    DCHECK_NE(type, PrimitiveType::INVALID_TYPE);
104
16.7k
}
_ZN5doris5Field15create_concreteILNS_13PrimitiveTypeE30EEEvONS_19PrimitiveTypeTraitsIXT_EE7CppTypeE
Line
Count
Source
94
198k
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
198k
    using StorageType = typename PrimitiveTypeTraits<Type>::CppType;
101
198k
    new (&storage) StorageType(std::move(x));
102
198k
    type = Type;
103
    DCHECK_NE(type, PrimitiveType::INVALID_TYPE);
104
198k
}
_ZN5doris5Field15create_concreteILNS_13PrimitiveTypeE35EEEvONS_19PrimitiveTypeTraitsIXT_EE7CppTypeE
Line
Count
Source
94
58.9k
void Field::create_concrete(typename PrimitiveTypeTraits<Type>::CppType&& x) {
95
    // In both Field and PODArray, small types may be stored as wider types,
96
    // e.g. char is stored as UInt64. Field can return this extended value
97
    // with get<StorageType>(). To avoid uninitialized results from get(),
98
    // we must initialize the entire wide stored type, and not just the
99
    // nominal type.
100
58.9k
    using StorageType = typename PrimitiveTypeTraits<Type>::CppType;
101
58.9k
    new (&storage) StorageType(std::move(x));
102
58.9k
    type = Type;
103
    DCHECK_NE(type, PrimitiveType::INVALID_TYPE);
104
58.9k
}
_ZN5doris5Field15create_concreteILNS_13PrimitiveTypeE15EEEvONS_19PrimitiveTypeTraitsIXT_EE7CppTypeE
Line
Count
Source
94
175k
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
175k
    using StorageType = typename PrimitiveTypeTraits<Type>::CppType;
101
175k
    new (&storage) StorageType(std::move(x));
102
175k
    type = Type;
103
    DCHECK_NE(type, PrimitiveType::INVALID_TYPE);
104
175k
}
_ZN5doris5Field15create_concreteILNS_13PrimitiveTypeE10EEEvONS_19PrimitiveTypeTraitsIXT_EE7CppTypeE
Line
Count
Source
94
1.74M
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
1.74M
    using StorageType = typename PrimitiveTypeTraits<Type>::CppType;
101
1.74M
    new (&storage) StorageType(std::move(x));
102
1.74M
    type = Type;
103
    DCHECK_NE(type, PrimitiveType::INVALID_TYPE);
104
1.74M
}
_ZN5doris5Field15create_concreteILNS_13PrimitiveTypeE23EEEvONS_19PrimitiveTypeTraitsIXT_EE7CppTypeE
Line
Count
Source
94
43.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
43.6M
    using StorageType = typename PrimitiveTypeTraits<Type>::CppType;
101
43.6M
    new (&storage) StorageType(std::move(x));
102
43.6M
    type = Type;
103
    DCHECK_NE(type, PrimitiveType::INVALID_TYPE);
104
43.6M
}
_ZN5doris5Field15create_concreteILNS_13PrimitiveTypeE41EEEvONS_19PrimitiveTypeTraitsIXT_EE7CppTypeE
Line
Count
Source
94
34
void Field::create_concrete(typename PrimitiveTypeTraits<Type>::CppType&& x) {
95
    // In both Field and PODArray, small types may be stored as wider types,
96
    // e.g. char is stored as UInt64. Field can return this extended value
97
    // with get<StorageType>(). To avoid uninitialized results from get(),
98
    // we must initialize the entire wide stored type, and not just the
99
    // nominal type.
100
34
    using StorageType = typename PrimitiveTypeTraits<Type>::CppType;
101
34
    new (&storage) StorageType(std::move(x));
102
34
    type = Type;
103
    DCHECK_NE(type, PrimitiveType::INVALID_TYPE);
104
34
}
_ZN5doris5Field15create_concreteILNS_13PrimitiveTypeE19EEEvONS_19PrimitiveTypeTraitsIXT_EE7CppTypeE
Line
Count
Source
94
21
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
    using StorageType = typename PrimitiveTypeTraits<Type>::CppType;
101
21
    new (&storage) StorageType(std::move(x));
102
21
    type = Type;
103
    DCHECK_NE(type, PrimitiveType::INVALID_TYPE);
104
21
}
_ZN5doris5Field15create_concreteILNS_13PrimitiveTypeE32EEEvONS_19PrimitiveTypeTraitsIXT_EE7CppTypeE
Line
Count
Source
94
960k
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
960k
    using StorageType = typename PrimitiveTypeTraits<Type>::CppType;
101
960k
    new (&storage) StorageType(std::move(x));
102
960k
    type = Type;
103
    DCHECK_NE(type, PrimitiveType::INVALID_TYPE);
104
960k
}
_ZN5doris5Field15create_concreteILNS_13PrimitiveTypeE24EEEvONS_19PrimitiveTypeTraitsIXT_EE7CppTypeE
Line
Count
Source
94
19
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
19
    using StorageType = typename PrimitiveTypeTraits<Type>::CppType;
101
19
    new (&storage) StorageType(std::move(x));
102
19
    type = Type;
103
    DCHECK_NE(type, PrimitiveType::INVALID_TYPE);
104
19
}
_ZN5doris5Field15create_concreteILNS_13PrimitiveTypeE17EEEvONS_19PrimitiveTypeTraitsIXT_EE7CppTypeE
Line
Count
Source
94
5.38M
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.38M
    using StorageType = typename PrimitiveTypeTraits<Type>::CppType;
101
5.38M
    new (&storage) StorageType(std::move(x));
102
5.38M
    type = Type;
103
    DCHECK_NE(type, PrimitiveType::INVALID_TYPE);
104
5.38M
}
Unexecuted instantiation: _ZN5doris5Field15create_concreteILNS_13PrimitiveTypeE21EEEvONS_19PrimitiveTypeTraitsIXT_EE7CppTypeE
_ZN5doris5Field15create_concreteILNS_13PrimitiveTypeE42EEEvONS_19PrimitiveTypeTraitsIXT_EE7CppTypeE
Line
Count
Source
94
58.5k
void Field::create_concrete(typename PrimitiveTypeTraits<Type>::CppType&& x) {
95
    // In both Field and PODArray, small types may be stored as wider types,
96
    // e.g. char is stored as UInt64. Field can return this extended value
97
    // with get<StorageType>(). To avoid uninitialized results from get(),
98
    // we must initialize the entire wide stored type, and not just the
99
    // nominal type.
100
58.5k
    using StorageType = typename PrimitiveTypeTraits<Type>::CppType;
101
58.5k
    new (&storage) StorageType(std::move(x));
102
58.5k
    type = Type;
103
    DCHECK_NE(type, PrimitiveType::INVALID_TYPE);
104
58.5k
}
_ZN5doris5Field15create_concreteILNS_13PrimitiveTypeE36EEEvONS_19PrimitiveTypeTraitsIXT_EE7CppTypeE
Line
Count
Source
94
100k
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
100k
    using StorageType = typename PrimitiveTypeTraits<Type>::CppType;
101
100k
    new (&storage) StorageType(std::move(x));
102
100k
    type = Type;
103
    DCHECK_NE(type, PrimitiveType::INVALID_TYPE);
104
100k
}
_ZN5doris5Field15create_concreteILNS_13PrimitiveTypeE37EEEvONS_19PrimitiveTypeTraitsIXT_EE7CppTypeE
Line
Count
Source
94
40.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
40.4k
    using StorageType = typename PrimitiveTypeTraits<Type>::CppType;
101
40.4k
    new (&storage) StorageType(std::move(x));
102
40.4k
    type = Type;
103
    DCHECK_NE(type, PrimitiveType::INVALID_TYPE);
104
40.4k
}
_ZN5doris5Field15create_concreteILNS_13PrimitiveTypeE2EEEvONS_19PrimitiveTypeTraitsIXT_EE7CppTypeE
Line
Count
Source
94
30.2M
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
30.2M
    using StorageType = typename PrimitiveTypeTraits<Type>::CppType;
101
30.2M
    new (&storage) StorageType(std::move(x));
102
30.2M
    type = Type;
103
    DCHECK_NE(type, PrimitiveType::INVALID_TYPE);
104
30.2M
}
_ZN5doris5Field15create_concreteILNS_13PrimitiveTypeE8EEEvONS_19PrimitiveTypeTraitsIXT_EE7CppTypeE
Line
Count
Source
94
139k
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
139k
    using StorageType = typename PrimitiveTypeTraits<Type>::CppType;
101
139k
    new (&storage) StorageType(std::move(x));
102
139k
    type = Type;
103
    DCHECK_NE(type, PrimitiveType::INVALID_TYPE);
104
139k
}
_ZN5doris5Field15create_concreteILNS_13PrimitiveTypeE9EEEvONS_19PrimitiveTypeTraitsIXT_EE7CppTypeE
Line
Count
Source
94
7.57M
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.57M
    using StorageType = typename PrimitiveTypeTraits<Type>::CppType;
101
7.57M
    new (&storage) StorageType(std::move(x));
102
7.57M
    type = Type;
103
    DCHECK_NE(type, PrimitiveType::INVALID_TYPE);
104
7.57M
}
_ZN5doris5Field15create_concreteILNS_13PrimitiveTypeE31EEEvONS_19PrimitiveTypeTraitsIXT_EE7CppTypeE
Line
Count
Source
94
6.96M
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.96M
    using StorageType = typename PrimitiveTypeTraits<Type>::CppType;
101
6.96M
    new (&storage) StorageType(std::move(x));
102
6.96M
    type = Type;
103
    DCHECK_NE(type, PrimitiveType::INVALID_TYPE);
104
6.96M
}
_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
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_13PrimitiveTypeE22EEEvONS_19PrimitiveTypeTraitsIXT_EE7CppTypeE
Line
Count
Source
94
73
void Field::create_concrete(typename PrimitiveTypeTraits<Type>::CppType&& x) {
95
    // In both Field and PODArray, small types may be stored as wider types,
96
    // e.g. char is stored as UInt64. Field can return this extended value
97
    // with get<StorageType>(). To avoid uninitialized results from get(),
98
    // we must initialize the entire wide stored type, and not just the
99
    // nominal type.
100
73
    using StorageType = typename PrimitiveTypeTraits<Type>::CppType;
101
73
    new (&storage) StorageType(std::move(x));
102
73
    type = Type;
103
    DCHECK_NE(type, PrimitiveType::INVALID_TYPE);
104
73
}
_ZN5doris5Field15create_concreteILNS_13PrimitiveTypeE27EEEvONS_19PrimitiveTypeTraitsIXT_EE7CppTypeE
Line
Count
Source
94
127
void Field::create_concrete(typename PrimitiveTypeTraits<Type>::CppType&& x) {
95
    // In both Field and PODArray, small types may be stored as wider types,
96
    // e.g. char is stored as UInt64. Field can return this extended value
97
    // with get<StorageType>(). To avoid uninitialized results from get(),
98
    // we must initialize the entire wide stored type, and not just the
99
    // nominal type.
100
127
    using StorageType = typename PrimitiveTypeTraits<Type>::CppType;
101
127
    new (&storage) StorageType(std::move(x));
102
127
    type = Type;
103
    DCHECK_NE(type, PrimitiveType::INVALID_TYPE);
104
127
}
Unexecuted instantiation: _ZN5doris5Field15create_concreteILNS_13PrimitiveTypeE38EEEvONS_19PrimitiveTypeTraitsIXT_EE7CppTypeE
_ZN5doris5Field15create_concreteILNS_13PrimitiveTypeE39EEEvONS_19PrimitiveTypeTraitsIXT_EE7CppTypeE
Line
Count
Source
94
40
void Field::create_concrete(typename PrimitiveTypeTraits<Type>::CppType&& x) {
95
    // In both Field and PODArray, small types may be stored as wider types,
96
    // e.g. char is stored as UInt64. Field can return this extended value
97
    // with get<StorageType>(). To avoid uninitialized results from get(),
98
    // we must initialize the entire wide stored type, and not just the
99
    // nominal type.
100
40
    using StorageType = typename PrimitiveTypeTraits<Type>::CppType;
101
40
    new (&storage) StorageType(std::move(x));
102
40
    type = Type;
103
    DCHECK_NE(type, PrimitiveType::INVALID_TYPE);
104
40
}
105
106
template <PrimitiveType Type>
107
242M
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
242M
    using StorageType = typename PrimitiveTypeTraits<Type>::CppType;
114
242M
    new (&storage) StorageType(x);
115
242M
    type = Type;
116
242M
    DCHECK_NE(type, PrimitiveType::INVALID_TYPE);
117
242M
}
Unexecuted instantiation: _ZN5doris5Field15create_concreteILNS_13PrimitiveTypeE21EEEvRKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeE
_ZN5doris5Field15create_concreteILNS_13PrimitiveTypeE1EEEvRKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeE
Line
Count
Source
107
39.0M
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.0M
    using StorageType = typename PrimitiveTypeTraits<Type>::CppType;
114
39.0M
    new (&storage) StorageType(x);
115
39.0M
    type = Type;
116
    DCHECK_NE(type, PrimitiveType::INVALID_TYPE);
117
39.0M
}
_ZN5doris5Field15create_concreteILNS_13PrimitiveTypeE3EEEvRKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeE
Line
Count
Source
107
3.57M
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.57M
    using StorageType = typename PrimitiveTypeTraits<Type>::CppType;
114
3.57M
    new (&storage) StorageType(x);
115
3.57M
    type = Type;
116
    DCHECK_NE(type, PrimitiveType::INVALID_TYPE);
117
3.57M
}
_ZN5doris5Field15create_concreteILNS_13PrimitiveTypeE4EEEvRKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeE
Line
Count
Source
107
3.97M
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.97M
    using StorageType = typename PrimitiveTypeTraits<Type>::CppType;
114
3.97M
    new (&storage) StorageType(x);
115
3.97M
    type = Type;
116
    DCHECK_NE(type, PrimitiveType::INVALID_TYPE);
117
3.97M
}
_ZN5doris5Field15create_concreteILNS_13PrimitiveTypeE5EEEvRKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeE
Line
Count
Source
107
19.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
19.2M
    using StorageType = typename PrimitiveTypeTraits<Type>::CppType;
114
19.2M
    new (&storage) StorageType(x);
115
19.2M
    type = Type;
116
    DCHECK_NE(type, PrimitiveType::INVALID_TYPE);
117
19.2M
}
_ZN5doris5Field15create_concreteILNS_13PrimitiveTypeE6EEEvRKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeE
Line
Count
Source
107
9.41M
void Field::create_concrete(const typename PrimitiveTypeTraits<Type>::CppType& x) {
108
    // In both Field and PODArray, small types may be stored as wider types,
109
    // e.g. char is stored as UInt64. Field can return this extended value
110
    // with get<StorageType>(). To avoid uninitialized results from get(),
111
    // we must initialize the entire wide stored type, and not just the
112
    // nominal type.
113
9.41M
    using StorageType = typename PrimitiveTypeTraits<Type>::CppType;
114
9.41M
    new (&storage) StorageType(x);
115
9.41M
    type = Type;
116
    DCHECK_NE(type, PrimitiveType::INVALID_TYPE);
117
9.41M
}
_ZN5doris5Field15create_concreteILNS_13PrimitiveTypeE7EEEvRKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeE
Line
Count
Source
107
3.21M
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.21M
    using StorageType = typename PrimitiveTypeTraits<Type>::CppType;
114
3.21M
    new (&storage) StorageType(x);
115
3.21M
    type = Type;
116
    DCHECK_NE(type, PrimitiveType::INVALID_TYPE);
117
3.21M
}
_ZN5doris5Field15create_concreteILNS_13PrimitiveTypeE11EEEvRKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeE
Line
Count
Source
107
3.39M
void Field::create_concrete(const typename PrimitiveTypeTraits<Type>::CppType& x) {
108
    // In both Field and PODArray, small types may be stored as wider types,
109
    // e.g. char is stored as UInt64. Field can return this extended value
110
    // with get<StorageType>(). To avoid uninitialized results from get(),
111
    // we must initialize the entire wide stored type, and not just the
112
    // nominal type.
113
3.39M
    using StorageType = typename PrimitiveTypeTraits<Type>::CppType;
114
3.39M
    new (&storage) StorageType(x);
115
3.39M
    type = Type;
116
    DCHECK_NE(type, PrimitiveType::INVALID_TYPE);
117
3.39M
}
_ZN5doris5Field15create_concreteILNS_13PrimitiveTypeE12EEEvRKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeE
Line
Count
Source
107
3.33M
void Field::create_concrete(const typename PrimitiveTypeTraits<Type>::CppType& x) {
108
    // In both Field and PODArray, small types may be stored as wider types,
109
    // e.g. char is stored as UInt64. Field can return this extended value
110
    // with get<StorageType>(). To avoid uninitialized results from get(),
111
    // we must initialize the entire wide stored type, and not just the
112
    // nominal type.
113
3.33M
    using StorageType = typename PrimitiveTypeTraits<Type>::CppType;
114
3.33M
    new (&storage) StorageType(x);
115
3.33M
    type = Type;
116
    DCHECK_NE(type, PrimitiveType::INVALID_TYPE);
117
3.33M
}
_ZN5doris5Field15create_concreteILNS_13PrimitiveTypeE25EEEvRKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeE
Line
Count
Source
107
3.48M
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.48M
    using StorageType = typename PrimitiveTypeTraits<Type>::CppType;
114
3.48M
    new (&storage) StorageType(x);
115
3.48M
    type = Type;
116
    DCHECK_NE(type, PrimitiveType::INVALID_TYPE);
117
3.48M
}
_ZN5doris5Field15create_concreteILNS_13PrimitiveTypeE26EEEvRKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeE
Line
Count
Source
107
4.12M
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.12M
    using StorageType = typename PrimitiveTypeTraits<Type>::CppType;
114
4.12M
    new (&storage) StorageType(x);
115
4.12M
    type = Type;
116
    DCHECK_NE(type, PrimitiveType::INVALID_TYPE);
117
4.12M
}
_ZN5doris5Field15create_concreteILNS_13PrimitiveTypeE42EEEvRKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeE
Line
Count
Source
107
11.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
11.8k
    using StorageType = typename PrimitiveTypeTraits<Type>::CppType;
114
11.8k
    new (&storage) StorageType(x);
115
11.8k
    type = Type;
116
    DCHECK_NE(type, PrimitiveType::INVALID_TYPE);
117
11.8k
}
_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.62M
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.62M
    using StorageType = typename PrimitiveTypeTraits<Type>::CppType;
114
3.62M
    new (&storage) StorageType(x);
115
3.62M
    type = Type;
116
    DCHECK_NE(type, PrimitiveType::INVALID_TYPE);
117
3.62M
}
_ZN5doris5Field15create_concreteILNS_13PrimitiveTypeE20EEEvRKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeE
Line
Count
Source
107
9.32k
void Field::create_concrete(const typename PrimitiveTypeTraits<Type>::CppType& x) {
108
    // In both Field and PODArray, small types may be stored as wider types,
109
    // e.g. char is stored as UInt64. Field can return this extended value
110
    // with get<StorageType>(). To avoid uninitialized results from get(),
111
    // we must initialize the entire wide stored type, and not just the
112
    // nominal type.
113
9.32k
    using StorageType = typename PrimitiveTypeTraits<Type>::CppType;
114
9.32k
    new (&storage) StorageType(x);
115
9.32k
    type = Type;
116
    DCHECK_NE(type, PrimitiveType::INVALID_TYPE);
117
9.32k
}
_ZN5doris5Field15create_concreteILNS_13PrimitiveTypeE30EEEvRKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeE
Line
Count
Source
107
3.52M
void Field::create_concrete(const typename PrimitiveTypeTraits<Type>::CppType& x) {
108
    // In both Field and PODArray, small types may be stored as wider types,
109
    // e.g. char is stored as UInt64. Field can return this extended value
110
    // with get<StorageType>(). To avoid uninitialized results from get(),
111
    // we must initialize the entire wide stored type, and not just the
112
    // nominal type.
113
3.52M
    using StorageType = typename PrimitiveTypeTraits<Type>::CppType;
114
3.52M
    new (&storage) StorageType(x);
115
3.52M
    type = Type;
116
    DCHECK_NE(type, PrimitiveType::INVALID_TYPE);
117
3.52M
}
_ZN5doris5Field15create_concreteILNS_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
144
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
144
    using StorageType = typename PrimitiveTypeTraits<Type>::CppType;
114
144
    new (&storage) StorageType(x);
115
144
    type = Type;
116
    DCHECK_NE(type, PrimitiveType::INVALID_TYPE);
117
144
}
_ZN5doris5Field15create_concreteILNS_13PrimitiveTypeE10EEEvRKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeE
Line
Count
Source
107
33.0k
void Field::create_concrete(const typename PrimitiveTypeTraits<Type>::CppType& x) {
108
    // In both Field and PODArray, small types may be stored as wider types,
109
    // e.g. char is stored as UInt64. Field can return this extended value
110
    // with get<StorageType>(). To avoid uninitialized results from get(),
111
    // we must initialize the entire wide stored type, and not just the
112
    // nominal type.
113
33.0k
    using StorageType = typename PrimitiveTypeTraits<Type>::CppType;
114
33.0k
    new (&storage) StorageType(x);
115
33.0k
    type = Type;
116
    DCHECK_NE(type, PrimitiveType::INVALID_TYPE);
117
33.0k
}
_ZN5doris5Field15create_concreteILNS_13PrimitiveTypeE23EEEvRKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeE
Line
Count
Source
107
9.65M
void Field::create_concrete(const typename PrimitiveTypeTraits<Type>::CppType& x) {
108
    // In both Field and PODArray, small types may be stored as wider types,
109
    // e.g. char is stored as UInt64. Field can return this extended value
110
    // with get<StorageType>(). To avoid uninitialized results from get(),
111
    // we must initialize the entire wide stored type, and not just the
112
    // nominal type.
113
9.65M
    using StorageType = typename PrimitiveTypeTraits<Type>::CppType;
114
9.65M
    new (&storage) StorageType(x);
115
9.65M
    type = Type;
116
    DCHECK_NE(type, PrimitiveType::INVALID_TYPE);
117
9.65M
}
_ZN5doris5Field15create_concreteILNS_13PrimitiveTypeE41EEEvRKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeE
Line
Count
Source
107
6
void Field::create_concrete(const typename PrimitiveTypeTraits<Type>::CppType& x) {
108
    // In both Field and PODArray, small types may be stored as wider types,
109
    // e.g. char is stored as UInt64. Field can return this extended value
110
    // with get<StorageType>(). To avoid uninitialized results from get(),
111
    // we must initialize the entire wide stored type, and not just the
112
    // nominal type.
113
6
    using StorageType = typename PrimitiveTypeTraits<Type>::CppType;
114
6
    new (&storage) StorageType(x);
115
6
    type = Type;
116
    DCHECK_NE(type, PrimitiveType::INVALID_TYPE);
117
6
}
_ZN5doris5Field15create_concreteILNS_13PrimitiveTypeE19EEEvRKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeE
Line
Count
Source
107
403
void Field::create_concrete(const typename PrimitiveTypeTraits<Type>::CppType& x) {
108
    // In both Field and PODArray, small types may be stored as wider types,
109
    // e.g. char is stored as UInt64. Field can return this extended value
110
    // with get<StorageType>(). To avoid uninitialized results from get(),
111
    // we must initialize the entire wide stored type, and not just the
112
    // nominal type.
113
403
    using StorageType = typename PrimitiveTypeTraits<Type>::CppType;
114
403
    new (&storage) StorageType(x);
115
403
    type = Type;
116
    DCHECK_NE(type, PrimitiveType::INVALID_TYPE);
117
403
}
_ZN5doris5Field15create_concreteILNS_13PrimitiveTypeE32EEEvRKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeE
Line
Count
Source
107
75.5k
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
75.5k
    using StorageType = typename PrimitiveTypeTraits<Type>::CppType;
114
75.5k
    new (&storage) StorageType(x);
115
75.5k
    type = Type;
116
    DCHECK_NE(type, PrimitiveType::INVALID_TYPE);
117
75.5k
}
_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
94.1M
void Field::create_concrete(const typename PrimitiveTypeTraits<Type>::CppType& x) {
108
    // In both Field and PODArray, small types may be stored as wider types,
109
    // e.g. char is stored as UInt64. Field can return this extended value
110
    // with get<StorageType>(). To avoid uninitialized results from get(),
111
    // we must initialize the entire wide stored type, and not just the
112
    // nominal type.
113
94.1M
    using StorageType = typename PrimitiveTypeTraits<Type>::CppType;
114
94.1M
    new (&storage) StorageType(x);
115
94.1M
    type = Type;
116
    DCHECK_NE(type, PrimitiveType::INVALID_TYPE);
117
94.1M
}
_ZN5doris5Field15create_concreteILNS_13PrimitiveTypeE36EEEvRKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeE
Line
Count
Source
107
68.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
68.8k
    using StorageType = typename PrimitiveTypeTraits<Type>::CppType;
114
68.8k
    new (&storage) StorageType(x);
115
68.8k
    type = Type;
116
    DCHECK_NE(type, PrimitiveType::INVALID_TYPE);
117
68.8k
}
_ZN5doris5Field15create_concreteILNS_13PrimitiveTypeE37EEEvRKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeE
Line
Count
Source
107
48.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
48.3k
    using StorageType = typename PrimitiveTypeTraits<Type>::CppType;
114
48.3k
    new (&storage) StorageType(x);
115
48.3k
    type = Type;
116
    DCHECK_NE(type, PrimitiveType::INVALID_TYPE);
117
48.3k
}
_ZN5doris5Field15create_concreteILNS_13PrimitiveTypeE2EEEvRKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeE
Line
Count
Source
107
4.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
4.04M
    using StorageType = typename PrimitiveTypeTraits<Type>::CppType;
114
4.04M
    new (&storage) StorageType(x);
115
4.04M
    type = Type;
116
    DCHECK_NE(type, PrimitiveType::INVALID_TYPE);
117
4.04M
}
_ZN5doris5Field15create_concreteILNS_13PrimitiveTypeE8EEEvRKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeE
Line
Count
Source
107
3.51M
void Field::create_concrete(const typename PrimitiveTypeTraits<Type>::CppType& x) {
108
    // In both Field and PODArray, small types may be stored as wider types,
109
    // e.g. char is stored as UInt64. Field can return this extended value
110
    // with get<StorageType>(). To avoid uninitialized results from get(),
111
    // we must initialize the entire wide stored type, and not just the
112
    // nominal type.
113
3.51M
    using StorageType = typename PrimitiveTypeTraits<Type>::CppType;
114
3.51M
    new (&storage) StorageType(x);
115
3.51M
    type = Type;
116
    DCHECK_NE(type, PrimitiveType::INVALID_TYPE);
117
3.51M
}
_ZN5doris5Field15create_concreteILNS_13PrimitiveTypeE9EEEvRKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeE
Line
Count
Source
107
4.58M
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.58M
    using StorageType = typename PrimitiveTypeTraits<Type>::CppType;
114
4.58M
    new (&storage) StorageType(x);
115
4.58M
    type = Type;
116
    DCHECK_NE(type, PrimitiveType::INVALID_TYPE);
117
4.58M
}
_ZN5doris5Field15create_concreteILNS_13PrimitiveTypeE31EEEvRKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeE
Line
Count
Source
107
2.70M
void Field::create_concrete(const typename PrimitiveTypeTraits<Type>::CppType& x) {
108
    // In both Field and PODArray, small types may be stored as wider types,
109
    // e.g. char is stored as UInt64. Field can return this extended value
110
    // with get<StorageType>(). To avoid uninitialized results from get(),
111
    // we must initialize the entire wide stored type, and not just the
112
    // nominal type.
113
2.70M
    using StorageType = typename PrimitiveTypeTraits<Type>::CppType;
114
2.70M
    new (&storage) StorageType(x);
115
2.70M
    type = Type;
116
    DCHECK_NE(type, PrimitiveType::INVALID_TYPE);
117
2.70M
}
_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
135
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
135
    using StorageType = typename PrimitiveTypeTraits<Type>::CppType;
114
135
    new (&storage) StorageType(x);
115
135
    type = Type;
116
    DCHECK_NE(type, PrimitiveType::INVALID_TYPE);
117
135
}
Unexecuted instantiation: _ZN5doris5Field15create_concreteILNS_13PrimitiveTypeE38EEEvRKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeE
Unexecuted instantiation: _ZN5doris5Field15create_concreteILNS_13PrimitiveTypeE39EEEvRKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeE
118
119
79.0M
void Field::create(Field&& field) {
120
79.0M
    switch (field.type) {
121
245k
    case PrimitiveType::TYPE_NULL:
122
245k
        create_concrete<TYPE_NULL>(std::move(field.template get<TYPE_NULL>()));
123
245k
        return;
124
377k
    case PrimitiveType::TYPE_DATETIMEV2:
125
377k
        create_concrete<TYPE_DATETIMEV2>(std::move(field.template get<TYPE_DATETIMEV2>()));
126
377k
        return;
127
279k
    case PrimitiveType::TYPE_DATEV2:
128
279k
        create_concrete<TYPE_DATEV2>(std::move(field.template get<TYPE_DATEV2>()));
129
279k
        return;
130
31.5k
    case PrimitiveType::TYPE_TIMESTAMPTZ:
131
31.5k
        create_concrete<TYPE_TIMESTAMPTZ>(std::move(field.template get<TYPE_TIMESTAMPTZ>()));
132
31.5k
        return;
133
18.7k
    case PrimitiveType::TYPE_DATETIME:
134
18.7k
        create_concrete<TYPE_DATETIME>(std::move(field.template get<TYPE_DATETIME>()));
135
18.7k
        return;
136
12.0k
    case PrimitiveType::TYPE_DATE:
137
12.0k
        create_concrete<TYPE_DATE>(std::move(field.template get<TYPE_DATE>()));
138
12.0k
        return;
139
1.15M
    case PrimitiveType::TYPE_BOOLEAN:
140
1.15M
        create_concrete<TYPE_BOOLEAN>(std::move(field.template get<TYPE_BOOLEAN>()));
141
1.15M
        return;
142
5.82M
    case PrimitiveType::TYPE_TINYINT:
143
5.82M
        create_concrete<TYPE_TINYINT>(std::move(field.template get<TYPE_TINYINT>()));
144
5.82M
        return;
145
130k
    case PrimitiveType::TYPE_SMALLINT:
146
130k
        create_concrete<TYPE_SMALLINT>(std::move(field.template get<TYPE_SMALLINT>()));
147
130k
        return;
148
19.2M
    case PrimitiveType::TYPE_INT:
149
19.2M
        create_concrete<TYPE_INT>(std::move(field.template get<TYPE_INT>()));
150
19.2M
        return;
151
13.3M
    case PrimitiveType::TYPE_BIGINT:
152
13.3M
        create_concrete<TYPE_BIGINT>(std::move(field.template get<TYPE_BIGINT>()));
153
13.3M
        return;
154
177k
    case PrimitiveType::TYPE_LARGEINT:
155
177k
        create_concrete<TYPE_LARGEINT>(std::move(field.template get<TYPE_LARGEINT>()));
156
177k
        return;
157
44.0k
    case PrimitiveType::TYPE_IPV4:
158
44.0k
        create_concrete<TYPE_IPV4>(std::move(field.template get<TYPE_IPV4>()));
159
44.0k
        return;
160
31.7k
    case PrimitiveType::TYPE_IPV6:
161
31.7k
        create_concrete<TYPE_IPV6>(std::move(field.template get<TYPE_IPV6>()));
162
31.7k
        return;
163
81.6k
    case PrimitiveType::TYPE_FLOAT:
164
81.6k
        create_concrete<TYPE_FLOAT>(std::move(field.template get<TYPE_FLOAT>()));
165
81.6k
        return;
166
122
    case PrimitiveType::TYPE_TIMEV2:
167
122
        create_concrete<TYPE_TIMEV2>(std::move(field.template get<TYPE_TIMEV2>()));
168
122
        return;
169
4.63M
    case PrimitiveType::TYPE_DOUBLE:
170
4.63M
        create_concrete<TYPE_DOUBLE>(std::move(field.template get<TYPE_DOUBLE>()));
171
4.63M
        return;
172
23.9M
    case PrimitiveType::TYPE_STRING:
173
23.9M
        create_concrete<TYPE_STRING>(std::move(field.template get<TYPE_STRING>()));
174
23.9M
        return;
175
53.0k
    case PrimitiveType::TYPE_CHAR:
176
53.0k
        create_concrete<TYPE_CHAR>(std::move(field.template get<TYPE_CHAR>()));
177
53.0k
        return;
178
665k
    case PrimitiveType::TYPE_VARCHAR:
179
665k
        create_concrete<TYPE_VARCHAR>(std::move(field.template get<TYPE_VARCHAR>()));
180
665k
        return;
181
4.34M
    case PrimitiveType::TYPE_JSONB:
182
4.34M
        create_concrete<TYPE_JSONB>(std::move(field.template get<TYPE_JSONB>()));
183
4.34M
        return;
184
4.40M
    case PrimitiveType::TYPE_ARRAY:
185
4.40M
        create_concrete<TYPE_ARRAY>(std::move(field.template get<TYPE_ARRAY>()));
186
4.40M
        return;
187
5.26k
    case PrimitiveType::TYPE_STRUCT:
188
5.26k
        create_concrete<TYPE_STRUCT>(std::move(field.template get<TYPE_STRUCT>()));
189
5.26k
        return;
190
5.86k
    case PrimitiveType::TYPE_MAP:
191
5.86k
        create_concrete<TYPE_MAP>(std::move(field.template get<TYPE_MAP>()));
192
5.86k
        return;
193
60.7k
    case PrimitiveType::TYPE_DECIMAL32:
194
60.7k
        create_concrete<TYPE_DECIMAL32>(std::move(field.template get<TYPE_DECIMAL32>()));
195
60.7k
        return;
196
92.6k
    case PrimitiveType::TYPE_DECIMAL64:
197
92.6k
        create_concrete<TYPE_DECIMAL64>(std::move(field.template get<TYPE_DECIMAL64>()));
198
92.6k
        return;
199
6.47k
    case PrimitiveType::TYPE_DECIMALV2:
200
6.47k
        create_concrete<TYPE_DECIMALV2>(std::move(field.template get<TYPE_DECIMALV2>()));
201
6.47k
        return;
202
96.2k
    case PrimitiveType::TYPE_DECIMAL128I:
203
96.2k
        create_concrete<TYPE_DECIMAL128I>(std::move(field.template get<TYPE_DECIMAL128I>()));
204
96.2k
        return;
205
48.3k
    case PrimitiveType::TYPE_DECIMAL256:
206
48.3k
        create_concrete<TYPE_DECIMAL256>(std::move(field.template get<TYPE_DECIMAL256>()));
207
48.3k
        return;
208
495k
    case PrimitiveType::TYPE_VARIANT:
209
495k
        create_concrete<TYPE_VARIANT>(std::move(field.template get<TYPE_VARIANT>()));
210
495k
        return;
211
21
    case PrimitiveType::TYPE_BITMAP:
212
21
        create_concrete<TYPE_BITMAP>(std::move(field.template get<TYPE_BITMAP>()));
213
21
        return;
214
3
    case PrimitiveType::TYPE_HLL:
215
3
        create_concrete<TYPE_HLL>(std::move(field.template get<TYPE_HLL>()));
216
3
        return;
217
1
    case PrimitiveType::TYPE_QUANTILE_STATE:
218
1
        create_concrete<TYPE_QUANTILE_STATE>(std::move(field.template get<TYPE_QUANTILE_STATE>()));
219
1
        return;
220
15
    case PrimitiveType::TYPE_VARBINARY:
221
15
        create_concrete<TYPE_VARBINARY>(std::move(field.template get<TYPE_VARBINARY>()));
222
15
        return;
223
0
    default:
224
0
        throw Exception(Status::FatalError("type not supported, type={}", field.get_type_name()));
225
79.0M
    }
226
79.0M
}
227
228
217M
Field::Field(const Field& rhs) {
229
217M
    create(rhs);
230
217M
}
231
232
39.6M
Field::Field(Field&& rhs) {
233
39.6M
    create(std::move(rhs));
234
39.6M
}
235
236
2.74M
Field& Field::operator=(const Field& rhs) {
237
2.74M
    if (this != &rhs) {
238
2.74M
        if (type != rhs.type) {
239
1.34M
            destroy();
240
1.34M
            create(rhs);
241
1.40M
        } else {
242
1.40M
            assign(rhs); /// This assigns string or vector without deallocation of existing buffer.
243
1.40M
        }
244
2.74M
    }
245
2.74M
    return *this;
246
2.74M
}
247
248
218M
void Field::create(const Field& field) {
249
218M
    switch (field.type) {
250
39.0M
    case PrimitiveType::TYPE_NULL:
251
39.0M
        create_concrete<TYPE_NULL>(field.template get<TYPE_NULL>());
252
39.0M
        return;
253
4.04M
    case PrimitiveType::TYPE_DATETIMEV2:
254
4.04M
        create_concrete<TYPE_DATETIMEV2>(field.template get<TYPE_DATETIMEV2>());
255
4.04M
        return;
256
3.42M
    case PrimitiveType::TYPE_DATEV2:
257
3.42M
        create_concrete<TYPE_DATEV2>(field.template get<TYPE_DATEV2>());
258
3.42M
        return;
259
31
    case PrimitiveType::TYPE_TIMESTAMPTZ:
260
31
        create_concrete<TYPE_TIMESTAMPTZ>(field.template get<TYPE_TIMESTAMPTZ>());
261
31
        return;
262
3.32M
    case PrimitiveType::TYPE_DATETIME:
263
3.32M
        create_concrete<TYPE_DATETIME>(field.template get<TYPE_DATETIME>());
264
3.32M
        return;
265
3.38M
    case PrimitiveType::TYPE_DATE:
266
3.38M
        create_concrete<TYPE_DATE>(field.template get<TYPE_DATE>());
267
3.38M
        return;
268
3.95M
    case PrimitiveType::TYPE_BOOLEAN:
269
3.95M
        create_concrete<TYPE_BOOLEAN>(field.template get<TYPE_BOOLEAN>());
270
3.95M
        return;
271
3.45M
    case PrimitiveType::TYPE_TINYINT:
272
3.45M
        create_concrete<TYPE_TINYINT>(field.template get<TYPE_TINYINT>());
273
3.45M
        return;
274
3.93M
    case PrimitiveType::TYPE_SMALLINT:
275
3.93M
        create_concrete<TYPE_SMALLINT>(field.template get<TYPE_SMALLINT>());
276
3.93M
        return;
277
102k
    case PrimitiveType::TYPE_INT:
278
102k
        create_concrete<TYPE_INT>(field.template get<TYPE_INT>());
279
102k
        return;
280
7.78M
    case PrimitiveType::TYPE_BIGINT:
281
7.78M
        create_concrete<TYPE_BIGINT>(field.template get<TYPE_BIGINT>());
282
7.78M
        return;
283
3.18M
    case PrimitiveType::TYPE_LARGEINT:
284
3.18M
        create_concrete<TYPE_LARGEINT>(field.template get<TYPE_LARGEINT>());
285
3.18M
        return;
286
31.4k
    case PrimitiveType::TYPE_IPV4:
287
31.4k
        create_concrete<TYPE_IPV4>(field.template get<TYPE_IPV4>());
288
31.4k
        return;
289
20.7k
    case PrimitiveType::TYPE_IPV6:
290
20.7k
        create_concrete<TYPE_IPV6>(field.template get<TYPE_IPV6>());
291
20.7k
        return;
292
3.47M
    case PrimitiveType::TYPE_FLOAT:
293
3.47M
        create_concrete<TYPE_FLOAT>(field.template get<TYPE_FLOAT>());
294
3.47M
        return;
295
8
    case PrimitiveType::TYPE_TIMEV2:
296
8
        create_concrete<TYPE_TIMEV2>(field.template get<TYPE_TIMEV2>());
297
8
        return;
298
4.23M
    case PrimitiveType::TYPE_DOUBLE:
299
4.23M
        create_concrete<TYPE_DOUBLE>(field.template get<TYPE_DOUBLE>());
300
4.23M
        return;
301
8.25M
    case PrimitiveType::TYPE_STRING:
302
8.25M
        create_concrete<TYPE_STRING>(field.template get<TYPE_STRING>());
303
8.25M
        return;
304
0
    case PrimitiveType::TYPE_CHAR:
305
0
        create_concrete<TYPE_CHAR>(field.template get<TYPE_CHAR>());
306
0
        return;
307
0
    case PrimitiveType::TYPE_VARCHAR:
308
0
        create_concrete<TYPE_VARCHAR>(field.template get<TYPE_VARCHAR>());
309
0
        return;
310
2.70M
    case PrimitiveType::TYPE_JSONB:
311
2.70M
        create_concrete<TYPE_JSONB>(field.template get<TYPE_JSONB>());
312
2.70M
        return;
313
93.3M
    case PrimitiveType::TYPE_ARRAY:
314
93.3M
        create_concrete<TYPE_ARRAY>(field.template get<TYPE_ARRAY>());
315
93.3M
        return;
316
3.04M
    case PrimitiveType::TYPE_STRUCT:
317
3.04M
        create_concrete<TYPE_STRUCT>(field.template get<TYPE_STRUCT>());
318
3.04M
        return;
319
13.2M
    case PrimitiveType::TYPE_MAP:
320
13.2M
        create_concrete<TYPE_MAP>(field.template get<TYPE_MAP>());
321
13.2M
        return;
322
3.58M
    case PrimitiveType::TYPE_DECIMAL32:
323
3.58M
        create_concrete<TYPE_DECIMAL32>(field.template get<TYPE_DECIMAL32>());
324
3.58M
        return;
325
3.59M
    case PrimitiveType::TYPE_DECIMAL64:
326
3.59M
        create_concrete<TYPE_DECIMAL64>(field.template get<TYPE_DECIMAL64>());
327
3.59M
        return;
328
598
    case PrimitiveType::TYPE_DECIMALV2:
329
598
        create_concrete<TYPE_DECIMALV2>(field.template get<TYPE_DECIMALV2>());
330
598
        return;
331
3.49M
    case PrimitiveType::TYPE_DECIMAL128I:
332
3.49M
        create_concrete<TYPE_DECIMAL128I>(field.template get<TYPE_DECIMAL128I>());
333
3.49M
        return;
334
3.67M
    case PrimitiveType::TYPE_DECIMAL256:
335
3.67M
        create_concrete<TYPE_DECIMAL256>(field.template get<TYPE_DECIMAL256>());
336
3.67M
        return;
337
75.5k
    case PrimitiveType::TYPE_VARIANT:
338
75.5k
        create_concrete<TYPE_VARIANT>(field.template get<TYPE_VARIANT>());
339
75.5k
        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
218M
    }
361
218M
}
362
363
552M
void Field::destroy() {
364
552M
    switch (type) {
365
53.4M
    case PrimitiveType::TYPE_STRING:
366
53.4M
        destroy<TYPE_STRING>();
367
53.4M
        break;
368
175k
    case PrimitiveType::TYPE_CHAR:
369
175k
        destroy<TYPE_CHAR>();
370
175k
        break;
371
1.77M
    case PrimitiveType::TYPE_VARCHAR:
372
1.77M
        destroy<TYPE_VARCHAR>();
373
1.77M
        break;
374
9.66M
    case PrimitiveType::TYPE_JSONB:
375
9.66M
        destroy<TYPE_JSONB>();
376
9.66M
        break;
377
99.5M
    case PrimitiveType::TYPE_ARRAY:
378
99.5M
        destroy<TYPE_ARRAY>();
379
99.5M
        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
1.03M
    case PrimitiveType::TYPE_VARIANT:
387
1.03M
        destroy<TYPE_VARIANT>();
388
1.03M
        break;
389
2.49k
    case PrimitiveType::TYPE_BITMAP:
390
2.49k
        destroy<TYPE_BITMAP>();
391
2.49k
        break;
392
424
    case PrimitiveType::TYPE_HLL:
393
424
        destroy<TYPE_HLL>();
394
424
        break;
395
22.4k
    case PrimitiveType::TYPE_QUANTILE_STATE:
396
22.4k
        destroy<TYPE_QUANTILE_STATE>();
397
22.4k
        break;
398
40
    case PrimitiveType::TYPE_VARBINARY:
399
40
        destroy<TYPE_VARBINARY>();
400
40
        break;
401
372M
    default:
402
372M
        break;
403
552M
    }
404
405
552M
    type = PrimitiveType::
406
552M
            TYPE_NULL; /// for exception safety in subsequent calls to destroy and create, when create fails.
407
552M
}
408
409
40.6M
void Field::assign(Field&& field) {
410
40.6M
    switch (field.type) {
411
38.4M
    case PrimitiveType::TYPE_NULL:
412
38.4M
        assign_concrete<TYPE_NULL>(std::move(field.template get<TYPE_NULL>()));
413
38.4M
        return;
414
75.7k
    case PrimitiveType::TYPE_DATETIMEV2:
415
75.7k
        assign_concrete<TYPE_DATETIMEV2>(std::move(field.template get<TYPE_DATETIMEV2>()));
416
75.7k
        return;
417
837
    case PrimitiveType::TYPE_DATETIME:
418
837
        assign_concrete<TYPE_DATETIME>(std::move(field.template get<TYPE_DATETIME>()));
419
837
        return;
420
431
    case PrimitiveType::TYPE_DATE:
421
431
        assign_concrete<TYPE_DATE>(std::move(field.template get<TYPE_DATE>()));
422
431
        return;
423
71.2k
    case PrimitiveType::TYPE_DATEV2:
424
71.2k
        assign_concrete<TYPE_DATEV2>(std::move(field.template get<TYPE_DATEV2>()));
425
71.2k
        return;
426
6.89k
    case PrimitiveType::TYPE_TIMESTAMPTZ:
427
6.89k
        assign_concrete<TYPE_TIMESTAMPTZ>(std::move(field.template get<TYPE_TIMESTAMPTZ>()));
428
6.89k
        return;
429
17.8k
    case PrimitiveType::TYPE_BOOLEAN:
430
17.8k
        assign_concrete<TYPE_BOOLEAN>(std::move(field.template get<TYPE_BOOLEAN>()));
431
17.8k
        return;
432
81.1k
    case PrimitiveType::TYPE_TINYINT:
433
81.1k
        assign_concrete<TYPE_TINYINT>(std::move(field.template get<TYPE_TINYINT>()));
434
81.1k
        return;
435
24.3k
    case PrimitiveType::TYPE_SMALLINT:
436
24.3k
        assign_concrete<TYPE_SMALLINT>(std::move(field.template get<TYPE_SMALLINT>()));
437
24.3k
        return;
438
409k
    case PrimitiveType::TYPE_INT:
439
409k
        assign_concrete<TYPE_INT>(std::move(field.template get<TYPE_INT>()));
440
409k
        return;
441
403k
    case PrimitiveType::TYPE_BIGINT:
442
403k
        assign_concrete<TYPE_BIGINT>(std::move(field.template get<TYPE_BIGINT>()));
443
403k
        return;
444
34.8k
    case PrimitiveType::TYPE_LARGEINT:
445
34.8k
        assign_concrete<TYPE_LARGEINT>(std::move(field.template get<TYPE_LARGEINT>()));
446
34.8k
        return;
447
1.27k
    case PrimitiveType::TYPE_IPV4:
448
1.27k
        assign_concrete<TYPE_IPV4>(std::move(field.template get<TYPE_IPV4>()));
449
1.27k
        return;
450
1.09k
    case PrimitiveType::TYPE_IPV6:
451
1.09k
        assign_concrete<TYPE_IPV6>(std::move(field.template get<TYPE_IPV6>()));
452
1.09k
        return;
453
14.8k
    case PrimitiveType::TYPE_FLOAT:
454
14.8k
        assign_concrete<TYPE_FLOAT>(std::move(field.template get<TYPE_FLOAT>()));
455
14.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.7k
    case PrimitiveType::TYPE_DOUBLE:
460
21.7k
        assign_concrete<TYPE_DOUBLE>(std::move(field.template get<TYPE_DOUBLE>()));
461
21.7k
        return;
462
283k
    case PrimitiveType::TYPE_STRING:
463
283k
        assign_concrete<TYPE_STRING>(std::move(field.template get<TYPE_STRING>()));
464
283k
        return;
465
34.8k
    case PrimitiveType::TYPE_CHAR:
466
34.8k
        assign_concrete<TYPE_CHAR>(std::move(field.template get<TYPE_CHAR>()));
467
34.8k
        return;
468
328k
    case PrimitiveType::TYPE_VARCHAR:
469
328k
        assign_concrete<TYPE_VARCHAR>(std::move(field.template get<TYPE_VARCHAR>()));
470
328k
        return;
471
204k
    case PrimitiveType::TYPE_JSONB:
472
204k
        assign_concrete<TYPE_JSONB>(std::move(field.template get<TYPE_JSONB>()));
473
204k
        return;
474
38.5k
    case PrimitiveType::TYPE_ARRAY:
475
38.5k
        assign_concrete<TYPE_ARRAY>(std::move(field.template get<TYPE_ARRAY>()));
476
38.5k
        return;
477
338
    case PrimitiveType::TYPE_STRUCT:
478
338
        assign_concrete<TYPE_STRUCT>(std::move(field.template get<TYPE_STRUCT>()));
479
338
        return;
480
8.41k
    case PrimitiveType::TYPE_MAP:
481
8.41k
        assign_concrete<TYPE_MAP>(std::move(field.template get<TYPE_MAP>()));
482
8.41k
        return;
483
7.71k
    case PrimitiveType::TYPE_DECIMAL32:
484
7.71k
        assign_concrete<TYPE_DECIMAL32>(std::move(field.template get<TYPE_DECIMAL32>()));
485
7.71k
        return;
486
34.5k
    case PrimitiveType::TYPE_DECIMAL64:
487
34.5k
        assign_concrete<TYPE_DECIMAL64>(std::move(field.template get<TYPE_DECIMAL64>()));
488
34.5k
        return;
489
140
    case PrimitiveType::TYPE_DECIMALV2:
490
140
        assign_concrete<TYPE_DECIMALV2>(std::move(field.template get<TYPE_DECIMALV2>()));
491
140
        return;
492
21.0k
    case PrimitiveType::TYPE_DECIMAL128I:
493
21.0k
        assign_concrete<TYPE_DECIMAL128I>(std::move(field.template get<TYPE_DECIMAL128I>()));
494
21.0k
        return;
495
1.07k
    case PrimitiveType::TYPE_DECIMAL256:
496
1.07k
        assign_concrete<TYPE_DECIMAL256>(std::move(field.template get<TYPE_DECIMAL256>()));
497
1.07k
        return;
498
8.58k
    case PrimitiveType::TYPE_VARIANT:
499
8.58k
        assign_concrete<TYPE_VARIANT>(std::move(field.template get<TYPE_VARIANT>()));
500
8.58k
        return;
501
18
    case PrimitiveType::TYPE_BITMAP:
502
18
        assign_concrete<TYPE_BITMAP>(std::move(field.template get<TYPE_BITMAP>()));
503
18
        return;
504
1
    case PrimitiveType::TYPE_HLL:
505
1
        assign_concrete<TYPE_HLL>(std::move(field.template get<TYPE_HLL>()));
506
1
        return;
507
1
    case PrimitiveType::TYPE_QUANTILE_STATE:
508
1
        assign_concrete<TYPE_QUANTILE_STATE>(std::move(field.template get<TYPE_QUANTILE_STATE>()));
509
1
        return;
510
0
    case PrimitiveType::TYPE_VARBINARY:
511
0
        assign_concrete<TYPE_VARBINARY>(std::move(field.template get<TYPE_VARBINARY>()));
512
0
        return;
513
0
    default:
514
0
        throw Exception(Status::FatalError("type not supported, type={}", field.get_type_name()));
515
40.6M
    }
516
40.6M
}
517
518
1.40M
void Field::assign(const Field& field) {
519
1.40M
    switch (field.type) {
520
431
    case PrimitiveType::TYPE_NULL:
521
431
        assign_concrete<TYPE_NULL>(field.template get<TYPE_NULL>());
522
431
        return;
523
69.2k
    case PrimitiveType::TYPE_DATETIMEV2:
524
69.2k
        assign_concrete<TYPE_DATETIMEV2>(field.template get<TYPE_DATETIMEV2>());
525
69.2k
        return;
526
715
    case PrimitiveType::TYPE_DATETIME:
527
715
        assign_concrete<TYPE_DATETIME>(field.template get<TYPE_DATETIME>());
528
715
        return;
529
386
    case PrimitiveType::TYPE_DATE:
530
386
        assign_concrete<TYPE_DATE>(field.template get<TYPE_DATE>());
531
386
        return;
532
57.3k
    case PrimitiveType::TYPE_DATEV2:
533
57.3k
        assign_concrete<TYPE_DATEV2>(field.template get<TYPE_DATEV2>());
534
57.3k
        return;
535
6.70k
    case PrimitiveType::TYPE_TIMESTAMPTZ:
536
6.70k
        assign_concrete<TYPE_TIMESTAMPTZ>(field.template get<TYPE_TIMESTAMPTZ>());
537
6.70k
        return;
538
15.8k
    case PrimitiveType::TYPE_BOOLEAN:
539
15.8k
        assign_concrete<TYPE_BOOLEAN>(field.template get<TYPE_BOOLEAN>());
540
15.8k
        return;
541
80.8k
    case PrimitiveType::TYPE_TINYINT:
542
80.8k
        assign_concrete<TYPE_TINYINT>(field.template get<TYPE_TINYINT>());
543
80.8k
        return;
544
22.7k
    case PrimitiveType::TYPE_SMALLINT:
545
22.7k
        assign_concrete<TYPE_SMALLINT>(field.template get<TYPE_SMALLINT>());
546
22.7k
        return;
547
190k
    case PrimitiveType::TYPE_INT:
548
190k
        assign_concrete<TYPE_INT>(field.template get<TYPE_INT>());
549
190k
        return;
550
331k
    case PrimitiveType::TYPE_BIGINT:
551
331k
        assign_concrete<TYPE_BIGINT>(field.template get<TYPE_BIGINT>());
552
331k
        return;
553
31.7k
    case PrimitiveType::TYPE_LARGEINT:
554
31.7k
        assign_concrete<TYPE_LARGEINT>(field.template get<TYPE_LARGEINT>());
555
31.7k
        return;
556
1.24k
    case PrimitiveType::TYPE_IPV4:
557
1.24k
        assign_concrete<TYPE_IPV4>(field.template get<TYPE_IPV4>());
558
1.24k
        return;
559
1.06k
    case PrimitiveType::TYPE_IPV6:
560
1.06k
        assign_concrete<TYPE_IPV6>(field.template get<TYPE_IPV6>());
561
1.06k
        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.1k
    case PrimitiveType::TYPE_DOUBLE:
569
18.1k
        assign_concrete<TYPE_DOUBLE>(field.template get<TYPE_DOUBLE>());
570
18.1k
        return;
571
108k
    case PrimitiveType::TYPE_STRING:
572
108k
        assign_concrete<TYPE_STRING>(field.template get<TYPE_STRING>());
573
108k
        return;
574
26.6k
    case PrimitiveType::TYPE_CHAR:
575
26.6k
        assign_concrete<TYPE_CHAR>(field.template get<TYPE_CHAR>());
576
26.6k
        return;
577
333k
    case PrimitiveType::TYPE_VARCHAR:
578
333k
        assign_concrete<TYPE_VARCHAR>(field.template get<TYPE_VARCHAR>());
579
333k
        return;
580
21
    case PrimitiveType::TYPE_JSONB:
581
21
        assign_concrete<TYPE_JSONB>(field.template get<TYPE_JSONB>());
582
21
        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
14.5k
    case PrimitiveType::TYPE_DECIMAL32:
593
14.5k
        assign_concrete<TYPE_DECIMAL32>(field.template get<TYPE_DECIMAL32>());
594
14.5k
        return;
595
20.0k
    case PrimitiveType::TYPE_DECIMAL64:
596
20.0k
        assign_concrete<TYPE_DECIMAL64>(field.template get<TYPE_DECIMAL64>());
597
20.0k
        return;
598
138
    case PrimitiveType::TYPE_DECIMALV2:
599
138
        assign_concrete<TYPE_DECIMALV2>(field.template get<TYPE_DECIMALV2>());
600
138
        return;
601
18.5k
    case PrimitiveType::TYPE_DECIMAL128I:
602
18.5k
        assign_concrete<TYPE_DECIMAL128I>(field.template get<TYPE_DECIMAL128I>());
603
18.5k
        return;
604
1.07k
    case PrimitiveType::TYPE_DECIMAL256:
605
1.07k
        assign_concrete<TYPE_DECIMAL256>(field.template get<TYPE_DECIMAL256>());
606
1.07k
        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.40M
    }
631
1.40M
}
632
633
/// Assuming same types.
634
template <PrimitiveType Type>
635
40.7M
void Field::assign_concrete(typename PrimitiveTypeTraits<Type>::CppType&& x) {
636
40.7M
    auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<Type>::CppType*>(&storage);
637
40.7M
    *ptr = std::forward<typename PrimitiveTypeTraits<Type>::CppType>(x);
638
40.7M
}
_ZN5doris5Field15assign_concreteILNS_13PrimitiveTypeE1EEEvONS_19PrimitiveTypeTraitsIXT_EE7CppTypeE
Line
Count
Source
635
38.6M
void Field::assign_concrete(typename PrimitiveTypeTraits<Type>::CppType&& x) {
636
38.6M
    auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<Type>::CppType*>(&storage);
637
38.6M
    *ptr = std::forward<typename PrimitiveTypeTraits<Type>::CppType>(x);
638
38.6M
}
_ZN5doris5Field15assign_concreteILNS_13PrimitiveTypeE3EEEvONS_19PrimitiveTypeTraitsIXT_EE7CppTypeE
Line
Count
Source
635
81.1k
void Field::assign_concrete(typename PrimitiveTypeTraits<Type>::CppType&& x) {
636
81.1k
    auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<Type>::CppType*>(&storage);
637
81.1k
    *ptr = std::forward<typename PrimitiveTypeTraits<Type>::CppType>(x);
638
81.1k
}
_ZN5doris5Field15assign_concreteILNS_13PrimitiveTypeE4EEEvONS_19PrimitiveTypeTraitsIXT_EE7CppTypeE
Line
Count
Source
635
24.3k
void Field::assign_concrete(typename PrimitiveTypeTraits<Type>::CppType&& x) {
636
24.3k
    auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<Type>::CppType*>(&storage);
637
24.3k
    *ptr = std::forward<typename PrimitiveTypeTraits<Type>::CppType>(x);
638
24.3k
}
_ZN5doris5Field15assign_concreteILNS_13PrimitiveTypeE5EEEvONS_19PrimitiveTypeTraitsIXT_EE7CppTypeE
Line
Count
Source
635
409k
void Field::assign_concrete(typename PrimitiveTypeTraits<Type>::CppType&& x) {
636
409k
    auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<Type>::CppType*>(&storage);
637
409k
    *ptr = std::forward<typename PrimitiveTypeTraits<Type>::CppType>(x);
638
409k
}
_ZN5doris5Field15assign_concreteILNS_13PrimitiveTypeE6EEEvONS_19PrimitiveTypeTraitsIXT_EE7CppTypeE
Line
Count
Source
635
403k
void Field::assign_concrete(typename PrimitiveTypeTraits<Type>::CppType&& x) {
636
403k
    auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<Type>::CppType*>(&storage);
637
403k
    *ptr = std::forward<typename PrimitiveTypeTraits<Type>::CppType>(x);
638
403k
}
_ZN5doris5Field15assign_concreteILNS_13PrimitiveTypeE7EEEvONS_19PrimitiveTypeTraitsIXT_EE7CppTypeE
Line
Count
Source
635
34.8k
void Field::assign_concrete(typename PrimitiveTypeTraits<Type>::CppType&& x) {
636
34.8k
    auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<Type>::CppType*>(&storage);
637
34.8k
    *ptr = std::forward<typename PrimitiveTypeTraits<Type>::CppType>(x);
638
34.8k
}
_ZN5doris5Field15assign_concreteILNS_13PrimitiveTypeE11EEEvONS_19PrimitiveTypeTraitsIXT_EE7CppTypeE
Line
Count
Source
635
431
void Field::assign_concrete(typename PrimitiveTypeTraits<Type>::CppType&& x) {
636
431
    auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<Type>::CppType*>(&storage);
637
431
    *ptr = std::forward<typename PrimitiveTypeTraits<Type>::CppType>(x);
638
431
}
_ZN5doris5Field15assign_concreteILNS_13PrimitiveTypeE12EEEvONS_19PrimitiveTypeTraitsIXT_EE7CppTypeE
Line
Count
Source
635
837
void Field::assign_concrete(typename PrimitiveTypeTraits<Type>::CppType&& x) {
636
837
    auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<Type>::CppType*>(&storage);
637
837
    *ptr = std::forward<typename PrimitiveTypeTraits<Type>::CppType>(x);
638
837
}
_ZN5doris5Field15assign_concreteILNS_13PrimitiveTypeE25EEEvONS_19PrimitiveTypeTraitsIXT_EE7CppTypeE
Line
Count
Source
635
71.2k
void Field::assign_concrete(typename PrimitiveTypeTraits<Type>::CppType&& x) {
636
71.2k
    auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<Type>::CppType*>(&storage);
637
71.2k
    *ptr = std::forward<typename PrimitiveTypeTraits<Type>::CppType>(x);
638
71.2k
}
_ZN5doris5Field15assign_concreteILNS_13PrimitiveTypeE26EEEvONS_19PrimitiveTypeTraitsIXT_EE7CppTypeE
Line
Count
Source
635
75.6k
void Field::assign_concrete(typename PrimitiveTypeTraits<Type>::CppType&& x) {
636
75.6k
    auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<Type>::CppType*>(&storage);
637
75.6k
    *ptr = std::forward<typename PrimitiveTypeTraits<Type>::CppType>(x);
638
75.6k
}
_ZN5doris5Field15assign_concreteILNS_13PrimitiveTypeE28EEEvONS_19PrimitiveTypeTraitsIXT_EE7CppTypeE
Line
Count
Source
635
7.71k
void Field::assign_concrete(typename PrimitiveTypeTraits<Type>::CppType&& x) {
636
7.71k
    auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<Type>::CppType*>(&storage);
637
7.71k
    *ptr = std::forward<typename PrimitiveTypeTraits<Type>::CppType>(x);
638
7.71k
}
_ZN5doris5Field15assign_concreteILNS_13PrimitiveTypeE29EEEvONS_19PrimitiveTypeTraitsIXT_EE7CppTypeE
Line
Count
Source
635
34.5k
void Field::assign_concrete(typename PrimitiveTypeTraits<Type>::CppType&& x) {
636
34.5k
    auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<Type>::CppType*>(&storage);
637
34.5k
    *ptr = std::forward<typename PrimitiveTypeTraits<Type>::CppType>(x);
638
34.5k
}
_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
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_13PrimitiveTypeE35EEEvONS_19PrimitiveTypeTraitsIXT_EE7CppTypeE
Line
Count
Source
635
1.07k
void Field::assign_concrete(typename PrimitiveTypeTraits<Type>::CppType&& x) {
636
1.07k
    auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<Type>::CppType*>(&storage);
637
1.07k
    *ptr = std::forward<typename PrimitiveTypeTraits<Type>::CppType>(x);
638
1.07k
}
_ZN5doris5Field15assign_concreteILNS_13PrimitiveTypeE15EEEvONS_19PrimitiveTypeTraitsIXT_EE7CppTypeE
Line
Count
Source
635
34.8k
void Field::assign_concrete(typename PrimitiveTypeTraits<Type>::CppType&& x) {
636
34.8k
    auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<Type>::CppType*>(&storage);
637
34.8k
    *ptr = std::forward<typename PrimitiveTypeTraits<Type>::CppType>(x);
638
34.8k
}
_ZN5doris5Field15assign_concreteILNS_13PrimitiveTypeE10EEEvONS_19PrimitiveTypeTraitsIXT_EE7CppTypeE
Line
Count
Source
635
328k
void Field::assign_concrete(typename PrimitiveTypeTraits<Type>::CppType&& x) {
636
328k
    auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<Type>::CppType*>(&storage);
637
328k
    *ptr = std::forward<typename PrimitiveTypeTraits<Type>::CppType>(x);
638
328k
}
_ZN5doris5Field15assign_concreteILNS_13PrimitiveTypeE23EEEvONS_19PrimitiveTypeTraitsIXT_EE7CppTypeE
Line
Count
Source
635
283k
void Field::assign_concrete(typename PrimitiveTypeTraits<Type>::CppType&& x) {
636
283k
    auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<Type>::CppType*>(&storage);
637
283k
    *ptr = std::forward<typename PrimitiveTypeTraits<Type>::CppType>(x);
638
283k
}
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
8.60k
void Field::assign_concrete(typename PrimitiveTypeTraits<Type>::CppType&& x) {
636
8.60k
    auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<Type>::CppType*>(&storage);
637
8.60k
    *ptr = std::forward<typename PrimitiveTypeTraits<Type>::CppType>(x);
638
8.60k
}
_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
38.5k
void Field::assign_concrete(typename PrimitiveTypeTraits<Type>::CppType&& x) {
636
38.5k
    auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<Type>::CppType*>(&storage);
637
38.5k
    *ptr = std::forward<typename PrimitiveTypeTraits<Type>::CppType>(x);
638
38.5k
}
Unexecuted instantiation: _ZN5doris5Field15assign_concreteILNS_13PrimitiveTypeE21EEEvONS_19PrimitiveTypeTraitsIXT_EE7CppTypeE
_ZN5doris5Field15assign_concreteILNS_13PrimitiveTypeE42EEEvONS_19PrimitiveTypeTraitsIXT_EE7CppTypeE
Line
Count
Source
635
6.89k
void Field::assign_concrete(typename PrimitiveTypeTraits<Type>::CppType&& x) {
636
6.89k
    auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<Type>::CppType*>(&storage);
637
6.89k
    *ptr = std::forward<typename PrimitiveTypeTraits<Type>::CppType>(x);
638
6.89k
}
_ZN5doris5Field15assign_concreteILNS_13PrimitiveTypeE36EEEvONS_19PrimitiveTypeTraitsIXT_EE7CppTypeE
Line
Count
Source
635
1.27k
void Field::assign_concrete(typename PrimitiveTypeTraits<Type>::CppType&& x) {
636
1.27k
    auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<Type>::CppType*>(&storage);
637
1.27k
    *ptr = std::forward<typename PrimitiveTypeTraits<Type>::CppType>(x);
638
1.27k
}
_ZN5doris5Field15assign_concreteILNS_13PrimitiveTypeE37EEEvONS_19PrimitiveTypeTraitsIXT_EE7CppTypeE
Line
Count
Source
635
1.09k
void Field::assign_concrete(typename PrimitiveTypeTraits<Type>::CppType&& x) {
636
1.09k
    auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<Type>::CppType*>(&storage);
637
1.09k
    *ptr = std::forward<typename PrimitiveTypeTraits<Type>::CppType>(x);
638
1.09k
}
_ZN5doris5Field15assign_concreteILNS_13PrimitiveTypeE2EEEvONS_19PrimitiveTypeTraitsIXT_EE7CppTypeE
Line
Count
Source
635
17.8k
void Field::assign_concrete(typename PrimitiveTypeTraits<Type>::CppType&& x) {
636
17.8k
    auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<Type>::CppType*>(&storage);
637
17.8k
    *ptr = std::forward<typename PrimitiveTypeTraits<Type>::CppType>(x);
638
17.8k
}
_ZN5doris5Field15assign_concreteILNS_13PrimitiveTypeE8EEEvONS_19PrimitiveTypeTraitsIXT_EE7CppTypeE
Line
Count
Source
635
14.8k
void Field::assign_concrete(typename PrimitiveTypeTraits<Type>::CppType&& x) {
636
14.8k
    auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<Type>::CppType*>(&storage);
637
14.8k
    *ptr = std::forward<typename PrimitiveTypeTraits<Type>::CppType>(x);
638
14.8k
}
_ZN5doris5Field15assign_concreteILNS_13PrimitiveTypeE9EEEvONS_19PrimitiveTypeTraitsIXT_EE7CppTypeE
Line
Count
Source
635
21.7k
void Field::assign_concrete(typename PrimitiveTypeTraits<Type>::CppType&& x) {
636
21.7k
    auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<Type>::CppType*>(&storage);
637
21.7k
    *ptr = std::forward<typename PrimitiveTypeTraits<Type>::CppType>(x);
638
21.7k
}
_ZN5doris5Field15assign_concreteILNS_13PrimitiveTypeE31EEEvONS_19PrimitiveTypeTraitsIXT_EE7CppTypeE
Line
Count
Source
635
204k
void Field::assign_concrete(typename PrimitiveTypeTraits<Type>::CppType&& x) {
636
204k
    auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<Type>::CppType*>(&storage);
637
204k
    *ptr = std::forward<typename PrimitiveTypeTraits<Type>::CppType>(x);
638
204k
}
_ZN5doris5Field15assign_concreteILNS_13PrimitiveTypeE16EEEvONS_19PrimitiveTypeTraitsIXT_EE7CppTypeE
Line
Count
Source
635
338
void Field::assign_concrete(typename PrimitiveTypeTraits<Type>::CppType&& x) {
636
338
    auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<Type>::CppType*>(&storage);
637
338
    *ptr = std::forward<typename PrimitiveTypeTraits<Type>::CppType>(x);
638
338
}
_ZN5doris5Field15assign_concreteILNS_13PrimitiveTypeE18EEEvONS_19PrimitiveTypeTraitsIXT_EE7CppTypeE
Line
Count
Source
635
8.42k
void Field::assign_concrete(typename PrimitiveTypeTraits<Type>::CppType&& x) {
636
8.42k
    auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<Type>::CppType*>(&storage);
637
8.42k
    *ptr = std::forward<typename PrimitiveTypeTraits<Type>::CppType>(x);
638
8.42k
}
_ZN5doris5Field15assign_concreteILNS_13PrimitiveTypeE22EEEvONS_19PrimitiveTypeTraitsIXT_EE7CppTypeE
Line
Count
Source
635
18
void Field::assign_concrete(typename PrimitiveTypeTraits<Type>::CppType&& x) {
636
18
    auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<Type>::CppType*>(&storage);
637
18
    *ptr = std::forward<typename PrimitiveTypeTraits<Type>::CppType>(x);
638
18
}
Unexecuted instantiation: _ZN5doris5Field15assign_concreteILNS_13PrimitiveTypeE27EEEvONS_19PrimitiveTypeTraitsIXT_EE7CppTypeE
Unexecuted instantiation: _ZN5doris5Field15assign_concreteILNS_13PrimitiveTypeE38EEEvONS_19PrimitiveTypeTraitsIXT_EE7CppTypeE
Unexecuted instantiation: _ZN5doris5Field15assign_concreteILNS_13PrimitiveTypeE39EEEvONS_19PrimitiveTypeTraitsIXT_EE7CppTypeE
639
640
template <PrimitiveType Type>
641
1.40M
void Field::assign_concrete(const typename PrimitiveTypeTraits<Type>::CppType& x) {
642
1.40M
    auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<Type>::CppType*>(&storage);
643
1.40M
    *ptr = std::forward<const typename PrimitiveTypeTraits<Type>::CppType>(x);
644
1.40M
}
Unexecuted instantiation: _ZN5doris5Field15assign_concreteILNS_13PrimitiveTypeE21EEEvRKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeE
_ZN5doris5Field15assign_concreteILNS_13PrimitiveTypeE1EEEvRKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeE
Line
Count
Source
641
431
void Field::assign_concrete(const typename PrimitiveTypeTraits<Type>::CppType& x) {
642
431
    auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<Type>::CppType*>(&storage);
643
431
    *ptr = std::forward<const typename PrimitiveTypeTraits<Type>::CppType>(x);
644
431
}
_ZN5doris5Field15assign_concreteILNS_13PrimitiveTypeE3EEEvRKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeE
Line
Count
Source
641
80.8k
void Field::assign_concrete(const typename PrimitiveTypeTraits<Type>::CppType& x) {
642
80.8k
    auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<Type>::CppType*>(&storage);
643
80.8k
    *ptr = std::forward<const typename PrimitiveTypeTraits<Type>::CppType>(x);
644
80.8k
}
_ZN5doris5Field15assign_concreteILNS_13PrimitiveTypeE4EEEvRKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeE
Line
Count
Source
641
22.7k
void Field::assign_concrete(const typename PrimitiveTypeTraits<Type>::CppType& x) {
642
22.7k
    auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<Type>::CppType*>(&storage);
643
22.7k
    *ptr = std::forward<const typename PrimitiveTypeTraits<Type>::CppType>(x);
644
22.7k
}
_ZN5doris5Field15assign_concreteILNS_13PrimitiveTypeE5EEEvRKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeE
Line
Count
Source
641
190k
void Field::assign_concrete(const typename PrimitiveTypeTraits<Type>::CppType& x) {
642
190k
    auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<Type>::CppType*>(&storage);
643
190k
    *ptr = std::forward<const typename PrimitiveTypeTraits<Type>::CppType>(x);
644
190k
}
_ZN5doris5Field15assign_concreteILNS_13PrimitiveTypeE6EEEvRKNS_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_13PrimitiveTypeE7EEEvRKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeE
Line
Count
Source
641
31.7k
void Field::assign_concrete(const typename PrimitiveTypeTraits<Type>::CppType& x) {
642
31.7k
    auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<Type>::CppType*>(&storage);
643
31.7k
    *ptr = std::forward<const typename PrimitiveTypeTraits<Type>::CppType>(x);
644
31.7k
}
_ZN5doris5Field15assign_concreteILNS_13PrimitiveTypeE11EEEvRKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeE
Line
Count
Source
641
386
void Field::assign_concrete(const typename PrimitiveTypeTraits<Type>::CppType& x) {
642
386
    auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<Type>::CppType*>(&storage);
643
386
    *ptr = std::forward<const typename PrimitiveTypeTraits<Type>::CppType>(x);
644
386
}
_ZN5doris5Field15assign_concreteILNS_13PrimitiveTypeE12EEEvRKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeE
Line
Count
Source
641
715
void Field::assign_concrete(const typename PrimitiveTypeTraits<Type>::CppType& x) {
642
715
    auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<Type>::CppType*>(&storage);
643
715
    *ptr = std::forward<const typename PrimitiveTypeTraits<Type>::CppType>(x);
644
715
}
_ZN5doris5Field15assign_concreteILNS_13PrimitiveTypeE25EEEvRKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeE
Line
Count
Source
641
57.3k
void Field::assign_concrete(const typename PrimitiveTypeTraits<Type>::CppType& x) {
642
57.3k
    auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<Type>::CppType*>(&storage);
643
57.3k
    *ptr = std::forward<const typename PrimitiveTypeTraits<Type>::CppType>(x);
644
57.3k
}
_ZN5doris5Field15assign_concreteILNS_13PrimitiveTypeE26EEEvRKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeE
Line
Count
Source
641
69.2k
void Field::assign_concrete(const typename PrimitiveTypeTraits<Type>::CppType& x) {
642
69.2k
    auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<Type>::CppType*>(&storage);
643
69.2k
    *ptr = std::forward<const typename PrimitiveTypeTraits<Type>::CppType>(x);
644
69.2k
}
_ZN5doris5Field15assign_concreteILNS_13PrimitiveTypeE42EEEvRKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeE
Line
Count
Source
641
6.70k
void Field::assign_concrete(const typename PrimitiveTypeTraits<Type>::CppType& x) {
642
6.70k
    auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<Type>::CppType*>(&storage);
643
6.70k
    *ptr = std::forward<const typename PrimitiveTypeTraits<Type>::CppType>(x);
644
6.70k
}
_ZN5doris5Field15assign_concreteILNS_13PrimitiveTypeE28EEEvRKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeE
Line
Count
Source
641
14.5k
void Field::assign_concrete(const typename PrimitiveTypeTraits<Type>::CppType& x) {
642
14.5k
    auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<Type>::CppType*>(&storage);
643
14.5k
    *ptr = std::forward<const typename PrimitiveTypeTraits<Type>::CppType>(x);
644
14.5k
}
_ZN5doris5Field15assign_concreteILNS_13PrimitiveTypeE29EEEvRKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeE
Line
Count
Source
641
20.0k
void Field::assign_concrete(const typename PrimitiveTypeTraits<Type>::CppType& x) {
642
20.0k
    auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<Type>::CppType*>(&storage);
643
20.0k
    *ptr = std::forward<const typename PrimitiveTypeTraits<Type>::CppType>(x);
644
20.0k
}
_ZN5doris5Field15assign_concreteILNS_13PrimitiveTypeE20EEEvRKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeE
Line
Count
Source
641
138
void Field::assign_concrete(const typename PrimitiveTypeTraits<Type>::CppType& x) {
642
138
    auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<Type>::CppType*>(&storage);
643
138
    *ptr = std::forward<const typename PrimitiveTypeTraits<Type>::CppType>(x);
644
138
}
_ZN5doris5Field15assign_concreteILNS_13PrimitiveTypeE30EEEvRKNS_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_13PrimitiveTypeE35EEEvRKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeE
Line
Count
Source
641
1.06k
void Field::assign_concrete(const typename PrimitiveTypeTraits<Type>::CppType& x) {
642
1.06k
    auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<Type>::CppType*>(&storage);
643
1.06k
    *ptr = std::forward<const typename PrimitiveTypeTraits<Type>::CppType>(x);
644
1.06k
}
_ZN5doris5Field15assign_concreteILNS_13PrimitiveTypeE15EEEvRKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeE
Line
Count
Source
641
26.6k
void Field::assign_concrete(const typename PrimitiveTypeTraits<Type>::CppType& x) {
642
26.6k
    auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<Type>::CppType*>(&storage);
643
26.6k
    *ptr = std::forward<const typename PrimitiveTypeTraits<Type>::CppType>(x);
644
26.6k
}
_ZN5doris5Field15assign_concreteILNS_13PrimitiveTypeE10EEEvRKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeE
Line
Count
Source
641
333k
void Field::assign_concrete(const typename PrimitiveTypeTraits<Type>::CppType& x) {
642
333k
    auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<Type>::CppType*>(&storage);
643
333k
    *ptr = std::forward<const typename PrimitiveTypeTraits<Type>::CppType>(x);
644
333k
}
_ZN5doris5Field15assign_concreteILNS_13PrimitiveTypeE23EEEvRKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeE
Line
Count
Source
641
108k
void Field::assign_concrete(const typename PrimitiveTypeTraits<Type>::CppType& x) {
642
108k
    auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<Type>::CppType*>(&storage);
643
108k
    *ptr = std::forward<const typename PrimitiveTypeTraits<Type>::CppType>(x);
644
108k
}
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.24k
void Field::assign_concrete(const typename PrimitiveTypeTraits<Type>::CppType& x) {
642
1.24k
    auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<Type>::CppType*>(&storage);
643
1.24k
    *ptr = std::forward<const typename PrimitiveTypeTraits<Type>::CppType>(x);
644
1.24k
}
_ZN5doris5Field15assign_concreteILNS_13PrimitiveTypeE37EEEvRKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeE
Line
Count
Source
641
1.06k
void Field::assign_concrete(const typename PrimitiveTypeTraits<Type>::CppType& x) {
642
1.06k
    auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<Type>::CppType*>(&storage);
643
1.06k
    *ptr = std::forward<const typename PrimitiveTypeTraits<Type>::CppType>(x);
644
1.06k
}
_ZN5doris5Field15assign_concreteILNS_13PrimitiveTypeE2EEEvRKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeE
Line
Count
Source
641
15.8k
void Field::assign_concrete(const typename PrimitiveTypeTraits<Type>::CppType& x) {
642
15.8k
    auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<Type>::CppType*>(&storage);
643
15.8k
    *ptr = std::forward<const typename PrimitiveTypeTraits<Type>::CppType>(x);
644
15.8k
}
_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.1k
void Field::assign_concrete(const typename PrimitiveTypeTraits<Type>::CppType& x) {
642
18.1k
    auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<Type>::CppType*>(&storage);
643
18.1k
    *ptr = std::forward<const typename PrimitiveTypeTraits<Type>::CppType>(x);
644
18.1k
}
_ZN5doris5Field15assign_concreteILNS_13PrimitiveTypeE31EEEvRKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeE
Line
Count
Source
641
21
void Field::assign_concrete(const typename PrimitiveTypeTraits<Type>::CppType& x) {
642
21
    auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<Type>::CppType*>(&storage);
643
21
    *ptr = std::forward<const typename PrimitiveTypeTraits<Type>::CppType>(x);
644
21
}
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
177M
typename PrimitiveTypeTraits<T>::CppType& Field::get() {
652
18.4E
    DCHECK(T == type || (is_string_type(type) && is_string_type(T)) || type == TYPE_NULL)
653
18.4E
            << "Type mismatch: requested " << type_to_string(T) << ", actual " << get_type_name();
654
177M
    auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<T>::CppType*>(&storage);
655
177M
    return *ptr;
656
177M
}
_ZN5doris5Field3getILNS_13PrimitiveTypeE1EEERNS_19PrimitiveTypeTraitsIXT_EE7CppTypeEv
Line
Count
Source
651
38.9M
typename PrimitiveTypeTraits<T>::CppType& Field::get() {
652
18.4E
    DCHECK(T == type || (is_string_type(type) && is_string_type(T)) || type == TYPE_NULL)
653
18.4E
            << "Type mismatch: requested " << type_to_string(T) << ", actual " << get_type_name();
654
38.9M
    auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<T>::CppType*>(&storage);
655
38.9M
    return *ptr;
656
38.9M
}
_ZN5doris5Field3getILNS_13PrimitiveTypeE3EEERNS_19PrimitiveTypeTraitsIXT_EE7CppTypeEv
Line
Count
Source
651
5.91M
typename PrimitiveTypeTraits<T>::CppType& Field::get() {
652
18.4E
    DCHECK(T == type || (is_string_type(type) && is_string_type(T)) || type == TYPE_NULL)
653
18.4E
            << "Type mismatch: requested " << type_to_string(T) << ", actual " << get_type_name();
654
5.91M
    auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<T>::CppType*>(&storage);
655
5.91M
    return *ptr;
656
5.91M
}
_ZN5doris5Field3getILNS_13PrimitiveTypeE4EEERNS_19PrimitiveTypeTraitsIXT_EE7CppTypeEv
Line
Count
Source
651
158k
typename PrimitiveTypeTraits<T>::CppType& Field::get() {
652
18.4E
    DCHECK(T == type || (is_string_type(type) && is_string_type(T)) || type == TYPE_NULL)
653
18.4E
            << "Type mismatch: requested " << type_to_string(T) << ", actual " << get_type_name();
654
158k
    auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<T>::CppType*>(&storage);
655
158k
    return *ptr;
656
158k
}
_ZN5doris5Field3getILNS_13PrimitiveTypeE5EEERNS_19PrimitiveTypeTraitsIXT_EE7CppTypeEv
Line
Count
Source
651
74.4M
typename PrimitiveTypeTraits<T>::CppType& Field::get() {
652
18.4E
    DCHECK(T == type || (is_string_type(type) && is_string_type(T)) || type == TYPE_NULL)
653
18.4E
            << "Type mismatch: requested " << type_to_string(T) << ", actual " << get_type_name();
654
74.4M
    auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<T>::CppType*>(&storage);
655
74.4M
    return *ptr;
656
74.4M
}
_ZN5doris5Field3getILNS_13PrimitiveTypeE6EEERNS_19PrimitiveTypeTraitsIXT_EE7CppTypeEv
Line
Count
Source
651
13.8M
typename PrimitiveTypeTraits<T>::CppType& Field::get() {
652
18.4E
    DCHECK(T == type || (is_string_type(type) && is_string_type(T)) || type == TYPE_NULL)
653
18.4E
            << "Type mismatch: requested " << type_to_string(T) << ", actual " << get_type_name();
654
13.8M
    auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<T>::CppType*>(&storage);
655
13.8M
    return *ptr;
656
13.8M
}
_ZN5doris5Field3getILNS_13PrimitiveTypeE7EEERNS_19PrimitiveTypeTraitsIXT_EE7CppTypeEv
Line
Count
Source
651
216k
typename PrimitiveTypeTraits<T>::CppType& Field::get() {
652
18.4E
    DCHECK(T == type || (is_string_type(type) && is_string_type(T)) || type == TYPE_NULL)
653
18.4E
            << "Type mismatch: requested " << type_to_string(T) << ", actual " << get_type_name();
654
216k
    auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<T>::CppType*>(&storage);
655
216k
    return *ptr;
656
216k
}
_ZN5doris5Field3getILNS_13PrimitiveTypeE11EEERNS_19PrimitiveTypeTraitsIXT_EE7CppTypeEv
Line
Count
Source
651
12.5k
typename PrimitiveTypeTraits<T>::CppType& Field::get() {
652
12.5k
    DCHECK(T == type || (is_string_type(type) && is_string_type(T)) || type == TYPE_NULL)
653
0
            << "Type mismatch: requested " << type_to_string(T) << ", actual " << get_type_name();
654
12.5k
    auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<T>::CppType*>(&storage);
655
12.5k
    return *ptr;
656
12.5k
}
_ZN5doris5Field3getILNS_13PrimitiveTypeE12EEERNS_19PrimitiveTypeTraitsIXT_EE7CppTypeEv
Line
Count
Source
651
20.2k
typename PrimitiveTypeTraits<T>::CppType& Field::get() {
652
20.2k
    DCHECK(T == type || (is_string_type(type) && is_string_type(T)) || type == TYPE_NULL)
653
0
            << "Type mismatch: requested " << type_to_string(T) << ", actual " << get_type_name();
654
20.2k
    auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<T>::CppType*>(&storage);
655
20.2k
    return *ptr;
656
20.2k
}
_ZN5doris5Field3getILNS_13PrimitiveTypeE25EEERNS_19PrimitiveTypeTraitsIXT_EE7CppTypeEv
Line
Count
Source
651
360k
typename PrimitiveTypeTraits<T>::CppType& Field::get() {
652
18.4E
    DCHECK(T == type || (is_string_type(type) && is_string_type(T)) || type == TYPE_NULL)
653
18.4E
            << "Type mismatch: requested " << type_to_string(T) << ", actual " << get_type_name();
654
360k
    auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<T>::CppType*>(&storage);
655
360k
    return *ptr;
656
360k
}
_ZN5doris5Field3getILNS_13PrimitiveTypeE26EEERNS_19PrimitiveTypeTraitsIXT_EE7CppTypeEv
Line
Count
Source
651
455k
typename PrimitiveTypeTraits<T>::CppType& Field::get() {
652
18.4E
    DCHECK(T == type || (is_string_type(type) && is_string_type(T)) || type == TYPE_NULL)
653
18.4E
            << "Type mismatch: requested " << type_to_string(T) << ", actual " << get_type_name();
654
455k
    auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<T>::CppType*>(&storage);
655
455k
    return *ptr;
656
455k
}
_ZN5doris5Field3getILNS_13PrimitiveTypeE42EEERNS_19PrimitiveTypeTraitsIXT_EE7CppTypeEv
Line
Count
Source
651
38.4k
typename PrimitiveTypeTraits<T>::CppType& Field::get() {
652
38.4k
    DCHECK(T == type || (is_string_type(type) && is_string_type(T)) || type == TYPE_NULL)
653
1
            << "Type mismatch: requested " << type_to_string(T) << ", actual " << get_type_name();
654
38.4k
    auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<T>::CppType*>(&storage);
655
38.4k
    return *ptr;
656
38.4k
}
_ZN5doris5Field3getILNS_13PrimitiveTypeE28EEERNS_19PrimitiveTypeTraitsIXT_EE7CppTypeEv
Line
Count
Source
651
69.6k
typename PrimitiveTypeTraits<T>::CppType& Field::get() {
652
18.4E
    DCHECK(T == type || (is_string_type(type) && is_string_type(T)) || type == TYPE_NULL)
653
18.4E
            << "Type mismatch: requested " << type_to_string(T) << ", actual " << get_type_name();
654
69.6k
    auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<T>::CppType*>(&storage);
655
69.6k
    return *ptr;
656
69.6k
}
_ZN5doris5Field3getILNS_13PrimitiveTypeE29EEERNS_19PrimitiveTypeTraitsIXT_EE7CppTypeEv
Line
Count
Source
651
159k
typename PrimitiveTypeTraits<T>::CppType& Field::get() {
652
18.4E
    DCHECK(T == type || (is_string_type(type) && is_string_type(T)) || type == TYPE_NULL)
653
18.4E
            << "Type mismatch: requested " << type_to_string(T) << ", actual " << get_type_name();
654
159k
    auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<T>::CppType*>(&storage);
655
159k
    return *ptr;
656
159k
}
_ZN5doris5Field3getILNS_13PrimitiveTypeE20EEERNS_19PrimitiveTypeTraitsIXT_EE7CppTypeEv
Line
Count
Source
651
9.40k
typename PrimitiveTypeTraits<T>::CppType& Field::get() {
652
9.40k
    DCHECK(T == type || (is_string_type(type) && is_string_type(T)) || type == TYPE_NULL)
653
0
            << "Type mismatch: requested " << type_to_string(T) << ", actual " << get_type_name();
654
9.40k
    auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<T>::CppType*>(&storage);
655
9.40k
    return *ptr;
656
9.40k
}
_ZN5doris5Field3getILNS_13PrimitiveTypeE30EEERNS_19PrimitiveTypeTraitsIXT_EE7CppTypeEv
Line
Count
Source
651
128k
typename PrimitiveTypeTraits<T>::CppType& Field::get() {
652
128k
    DCHECK(T == type || (is_string_type(type) && is_string_type(T)) || type == TYPE_NULL)
653
0
            << "Type mismatch: requested " << type_to_string(T) << ", actual " << get_type_name();
654
128k
    auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<T>::CppType*>(&storage);
655
128k
    return *ptr;
656
128k
}
_ZN5doris5Field3getILNS_13PrimitiveTypeE35EEERNS_19PrimitiveTypeTraitsIXT_EE7CppTypeEv
Line
Count
Source
651
51.0k
typename PrimitiveTypeTraits<T>::CppType& Field::get() {
652
51.0k
    DCHECK(T == type || (is_string_type(type) && is_string_type(T)) || type == TYPE_NULL)
653
0
            << "Type mismatch: requested " << type_to_string(T) << ", actual " << get_type_name();
654
51.0k
    auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<T>::CppType*>(&storage);
655
51.0k
    return *ptr;
656
51.0k
}
_ZN5doris5Field3getILNS_13PrimitiveTypeE15EEERNS_19PrimitiveTypeTraitsIXT_EE7CppTypeEv
Line
Count
Source
651
134k
typename PrimitiveTypeTraits<T>::CppType& Field::get() {
652
18.4E
    DCHECK(T == type || (is_string_type(type) && is_string_type(T)) || type == TYPE_NULL)
653
18.4E
            << "Type mismatch: requested " << type_to_string(T) << ", actual " << get_type_name();
654
134k
    auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<T>::CppType*>(&storage);
655
134k
    return *ptr;
656
134k
}
_ZN5doris5Field3getILNS_13PrimitiveTypeE10EEERNS_19PrimitiveTypeTraitsIXT_EE7CppTypeEv
Line
Count
Source
651
1.36M
typename PrimitiveTypeTraits<T>::CppType& Field::get() {
652
18.4E
    DCHECK(T == type || (is_string_type(type) && is_string_type(T)) || type == TYPE_NULL)
653
18.4E
            << "Type mismatch: requested " << type_to_string(T) << ", actual " << get_type_name();
654
1.36M
    auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<T>::CppType*>(&storage);
655
1.36M
    return *ptr;
656
1.36M
}
_ZN5doris5Field3getILNS_13PrimitiveTypeE23EEERNS_19PrimitiveTypeTraitsIXT_EE7CppTypeEv
Line
Count
Source
651
24.5M
typename PrimitiveTypeTraits<T>::CppType& Field::get() {
652
18.4E
    DCHECK(T == type || (is_string_type(type) && is_string_type(T)) || type == TYPE_NULL)
653
18.4E
            << "Type mismatch: requested " << type_to_string(T) << ", actual " << get_type_name();
654
24.5M
    auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<T>::CppType*>(&storage);
655
24.5M
    return *ptr;
656
24.5M
}
_ZN5doris5Field3getILNS_13PrimitiveTypeE41EEERNS_19PrimitiveTypeTraitsIXT_EE7CppTypeEv
Line
Count
Source
651
26
typename PrimitiveTypeTraits<T>::CppType& Field::get() {
652
26
    DCHECK(T == type || (is_string_type(type) && is_string_type(T)) || type == TYPE_NULL)
653
0
            << "Type mismatch: requested " << type_to_string(T) << ", actual " << get_type_name();
654
26
    auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<T>::CppType*>(&storage);
655
26
    return *ptr;
656
26
}
_ZN5doris5Field3getILNS_13PrimitiveTypeE19EEERNS_19PrimitiveTypeTraitsIXT_EE7CppTypeEv
Line
Count
Source
651
4
typename PrimitiveTypeTraits<T>::CppType& Field::get() {
652
4
    DCHECK(T == type || (is_string_type(type) && is_string_type(T)) || type == TYPE_NULL)
653
0
            << "Type mismatch: requested " << type_to_string(T) << ", actual " << get_type_name();
654
4
    auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<T>::CppType*>(&storage);
655
4
    return *ptr;
656
4
}
_ZN5doris5Field3getILNS_13PrimitiveTypeE32EEERNS_19PrimitiveTypeTraitsIXT_EE7CppTypeEv
Line
Count
Source
651
972k
typename PrimitiveTypeTraits<T>::CppType& Field::get() {
652
18.4E
    DCHECK(T == type || (is_string_type(type) && is_string_type(T)) || type == TYPE_NULL)
653
18.4E
            << "Type mismatch: requested " << type_to_string(T) << ", actual " << get_type_name();
654
972k
    auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<T>::CppType*>(&storage);
655
972k
    return *ptr;
656
972k
}
_ZN5doris5Field3getILNS_13PrimitiveTypeE24EEERNS_19PrimitiveTypeTraitsIXT_EE7CppTypeEv
Line
Count
Source
651
2
typename PrimitiveTypeTraits<T>::CppType& Field::get() {
652
2
    DCHECK(T == type || (is_string_type(type) && is_string_type(T)) || type == TYPE_NULL)
653
0
            << "Type mismatch: requested " << type_to_string(T) << ", actual " << get_type_name();
654
2
    auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<T>::CppType*>(&storage);
655
2
    return *ptr;
656
2
}
_ZN5doris5Field3getILNS_13PrimitiveTypeE17EEERNS_19PrimitiveTypeTraitsIXT_EE7CppTypeEv
Line
Count
Source
651
4.98M
typename PrimitiveTypeTraits<T>::CppType& Field::get() {
652
18.4E
    DCHECK(T == type || (is_string_type(type) && is_string_type(T)) || type == TYPE_NULL)
653
18.4E
            << "Type mismatch: requested " << type_to_string(T) << ", actual " << get_type_name();
654
4.98M
    auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<T>::CppType*>(&storage);
655
4.98M
    return *ptr;
656
4.98M
}
Unexecuted instantiation: _ZN5doris5Field3getILNS_13PrimitiveTypeE21EEERNS_19PrimitiveTypeTraitsIXT_EE7CppTypeEv
_ZN5doris5Field3getILNS_13PrimitiveTypeE36EEERNS_19PrimitiveTypeTraitsIXT_EE7CppTypeEv
Line
Count
Source
651
45.3k
typename PrimitiveTypeTraits<T>::CppType& Field::get() {
652
18.4E
    DCHECK(T == type || (is_string_type(type) && is_string_type(T)) || type == TYPE_NULL)
653
18.4E
            << "Type mismatch: requested " << type_to_string(T) << ", actual " << get_type_name();
654
45.3k
    auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<T>::CppType*>(&storage);
655
45.3k
    return *ptr;
656
45.3k
}
_ZN5doris5Field3getILNS_13PrimitiveTypeE37EEERNS_19PrimitiveTypeTraitsIXT_EE7CppTypeEv
Line
Count
Source
651
32.8k
typename PrimitiveTypeTraits<T>::CppType& Field::get() {
652
18.4E
    DCHECK(T == type || (is_string_type(type) && is_string_type(T)) || type == TYPE_NULL)
653
18.4E
            << "Type mismatch: requested " << type_to_string(T) << ", actual " << get_type_name();
654
32.8k
    auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<T>::CppType*>(&storage);
655
32.8k
    return *ptr;
656
32.8k
}
_ZN5doris5Field3getILNS_13PrimitiveTypeE2EEERNS_19PrimitiveTypeTraitsIXT_EE7CppTypeEv
Line
Count
Source
651
1.17M
typename PrimitiveTypeTraits<T>::CppType& Field::get() {
652
18.4E
    DCHECK(T == type || (is_string_type(type) && is_string_type(T)) || type == TYPE_NULL)
653
18.4E
            << "Type mismatch: requested " << type_to_string(T) << ", actual " << get_type_name();
654
1.17M
    auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<T>::CppType*>(&storage);
655
1.17M
    return *ptr;
656
1.17M
}
_ZN5doris5Field3getILNS_13PrimitiveTypeE8EEERNS_19PrimitiveTypeTraitsIXT_EE7CppTypeEv
Line
Count
Source
651
97.2k
typename PrimitiveTypeTraits<T>::CppType& Field::get() {
652
97.2k
    DCHECK(T == type || (is_string_type(type) && is_string_type(T)) || type == TYPE_NULL)
653
0
            << "Type mismatch: requested " << type_to_string(T) << ", actual " << get_type_name();
654
97.2k
    auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<T>::CppType*>(&storage);
655
97.2k
    return *ptr;
656
97.2k
}
_ZN5doris5Field3getILNS_13PrimitiveTypeE9EEERNS_19PrimitiveTypeTraitsIXT_EE7CppTypeEv
Line
Count
Source
651
4.69M
typename PrimitiveTypeTraits<T>::CppType& Field::get() {
652
18.4E
    DCHECK(T == type || (is_string_type(type) && is_string_type(T)) || type == TYPE_NULL)
653
18.4E
            << "Type mismatch: requested " << type_to_string(T) << ", actual " << get_type_name();
654
4.69M
    auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<T>::CppType*>(&storage);
655
4.69M
    return *ptr;
656
4.69M
}
_ZN5doris5Field3getILNS_13PrimitiveTypeE31EEERNS_19PrimitiveTypeTraitsIXT_EE7CppTypeEv
Line
Count
Source
651
4.57M
typename PrimitiveTypeTraits<T>::CppType& Field::get() {
652
18.4E
    DCHECK(T == type || (is_string_type(type) && is_string_type(T)) || type == TYPE_NULL)
653
18.4E
            << "Type mismatch: requested " << type_to_string(T) << ", actual " << get_type_name();
654
4.57M
    auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<T>::CppType*>(&storage);
655
4.57M
    return *ptr;
656
4.57M
}
_ZN5doris5Field3getILNS_13PrimitiveTypeE16EEERNS_19PrimitiveTypeTraitsIXT_EE7CppTypeEv
Line
Count
Source
651
14.2k
typename PrimitiveTypeTraits<T>::CppType& Field::get() {
652
14.2k
    DCHECK(T == type || (is_string_type(type) && is_string_type(T)) || type == TYPE_NULL)
653
0
            << "Type mismatch: requested " << type_to_string(T) << ", actual " << get_type_name();
654
14.2k
    auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<T>::CppType*>(&storage);
655
14.2k
    return *ptr;
656
14.2k
}
_ZN5doris5Field3getILNS_13PrimitiveTypeE18EEERNS_19PrimitiveTypeTraitsIXT_EE7CppTypeEv
Line
Count
Source
651
38.2k
typename PrimitiveTypeTraits<T>::CppType& Field::get() {
652
38.2k
    DCHECK(T == type || (is_string_type(type) && is_string_type(T)) || type == TYPE_NULL)
653
1
            << "Type mismatch: requested " << type_to_string(T) << ", actual " << get_type_name();
654
38.2k
    auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<T>::CppType*>(&storage);
655
38.2k
    return *ptr;
656
38.2k
}
_ZN5doris5Field3getILNS_13PrimitiveTypeE22EEERNS_19PrimitiveTypeTraitsIXT_EE7CppTypeEv
Line
Count
Source
651
168
typename PrimitiveTypeTraits<T>::CppType& Field::get() {
652
168
    DCHECK(T == type || (is_string_type(type) && is_string_type(T)) || type == TYPE_NULL)
653
0
            << "Type mismatch: requested " << type_to_string(T) << ", actual " << get_type_name();
654
168
    auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<T>::CppType*>(&storage);
655
168
    return *ptr;
656
168
}
_ZN5doris5Field3getILNS_13PrimitiveTypeE27EEERNS_19PrimitiveTypeTraitsIXT_EE7CppTypeEv
Line
Count
Source
651
125
typename PrimitiveTypeTraits<T>::CppType& Field::get() {
652
125
    DCHECK(T == type || (is_string_type(type) && is_string_type(T)) || type == TYPE_NULL)
653
0
            << "Type mismatch: requested " << type_to_string(T) << ", actual " << get_type_name();
654
125
    auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<T>::CppType*>(&storage);
655
125
    return *ptr;
656
125
}
Unexecuted instantiation: _ZN5doris5Field3getILNS_13PrimitiveTypeE38EEERNS_19PrimitiveTypeTraitsIXT_EE7CppTypeEv
Unexecuted instantiation: _ZN5doris5Field3getILNS_13PrimitiveTypeE39EEERNS_19PrimitiveTypeTraitsIXT_EE7CppTypeEv
657
658
template <PrimitiveType T>
659
423M
const typename PrimitiveTypeTraits<T>::CppType& Field::get() const {
660
18.4E
    DCHECK(T == type || (is_string_type(type) && is_string_type(T)) || type == TYPE_NULL)
661
18.4E
            << "Type mismatch: requested " << type_to_string(T) << ", actual " << get_type_name();
662
423M
    const auto* MAY_ALIAS ptr =
663
423M
            reinterpret_cast<const typename PrimitiveTypeTraits<T>::CppType*>(&storage);
664
423M
    return *ptr;
665
423M
}
_ZNK5doris5Field3getILNS_13PrimitiveTypeE1EEERKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeEv
Line
Count
Source
659
39.2M
const typename PrimitiveTypeTraits<T>::CppType& Field::get() const {
660
18.4E
    DCHECK(T == type || (is_string_type(type) && is_string_type(T)) || type == TYPE_NULL)
661
18.4E
            << "Type mismatch: requested " << type_to_string(T) << ", actual " << get_type_name();
662
39.2M
    const auto* MAY_ALIAS ptr =
663
39.2M
            reinterpret_cast<const typename PrimitiveTypeTraits<T>::CppType*>(&storage);
664
39.2M
    return *ptr;
665
39.2M
}
_ZNK5doris5Field3getILNS_13PrimitiveTypeE3EEERKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeEv
Line
Count
Source
659
7.69M
const typename PrimitiveTypeTraits<T>::CppType& Field::get() const {
660
7.69M
    DCHECK(T == type || (is_string_type(type) && is_string_type(T)) || type == TYPE_NULL)
661
494
            << "Type mismatch: requested " << type_to_string(T) << ", actual " << get_type_name();
662
7.69M
    const auto* MAY_ALIAS ptr =
663
7.69M
            reinterpret_cast<const typename PrimitiveTypeTraits<T>::CppType*>(&storage);
664
7.69M
    return *ptr;
665
7.69M
}
_ZNK5doris5Field3getILNS_13PrimitiveTypeE4EEERKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeEv
Line
Count
Source
659
5.04M
const typename PrimitiveTypeTraits<T>::CppType& Field::get() const {
660
18.4E
    DCHECK(T == type || (is_string_type(type) && is_string_type(T)) || type == TYPE_NULL)
661
18.4E
            << "Type mismatch: requested " << type_to_string(T) << ", actual " << get_type_name();
662
5.04M
    const auto* MAY_ALIAS ptr =
663
5.04M
            reinterpret_cast<const typename PrimitiveTypeTraits<T>::CppType*>(&storage);
664
5.04M
    return *ptr;
665
5.04M
}
_ZNK5doris5Field3getILNS_13PrimitiveTypeE5EEERKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeEv
Line
Count
Source
659
4.32M
const typename PrimitiveTypeTraits<T>::CppType& Field::get() const {
660
18.4E
    DCHECK(T == type || (is_string_type(type) && is_string_type(T)) || type == TYPE_NULL)
661
18.4E
            << "Type mismatch: requested " << type_to_string(T) << ", actual " << get_type_name();
662
4.32M
    const auto* MAY_ALIAS ptr =
663
4.32M
            reinterpret_cast<const typename PrimitiveTypeTraits<T>::CppType*>(&storage);
664
4.32M
    return *ptr;
665
4.32M
}
_ZNK5doris5Field3getILNS_13PrimitiveTypeE6EEERKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeEv
Line
Count
Source
659
42.9M
const typename PrimitiveTypeTraits<T>::CppType& Field::get() const {
660
18.4E
    DCHECK(T == type || (is_string_type(type) && is_string_type(T)) || type == TYPE_NULL)
661
18.4E
            << "Type mismatch: requested " << type_to_string(T) << ", actual " << get_type_name();
662
42.9M
    const auto* MAY_ALIAS ptr =
663
42.9M
            reinterpret_cast<const typename PrimitiveTypeTraits<T>::CppType*>(&storage);
664
42.9M
    return *ptr;
665
42.9M
}
_ZNK5doris5Field3getILNS_13PrimitiveTypeE7EEERKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeEv
Line
Count
Source
659
4.48M
const typename PrimitiveTypeTraits<T>::CppType& Field::get() const {
660
18.4E
    DCHECK(T == type || (is_string_type(type) && is_string_type(T)) || type == TYPE_NULL)
661
18.4E
            << "Type mismatch: requested " << type_to_string(T) << ", actual " << get_type_name();
662
4.48M
    const auto* MAY_ALIAS ptr =
663
4.48M
            reinterpret_cast<const typename PrimitiveTypeTraits<T>::CppType*>(&storage);
664
4.48M
    return *ptr;
665
4.48M
}
_ZNK5doris5Field3getILNS_13PrimitiveTypeE11EEERKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeEv
Line
Count
Source
659
4.38M
const typename PrimitiveTypeTraits<T>::CppType& Field::get() const {
660
18.4E
    DCHECK(T == type || (is_string_type(type) && is_string_type(T)) || type == TYPE_NULL)
661
18.4E
            << "Type mismatch: requested " << type_to_string(T) << ", actual " << get_type_name();
662
4.38M
    const auto* MAY_ALIAS ptr =
663
4.38M
            reinterpret_cast<const typename PrimitiveTypeTraits<T>::CppType*>(&storage);
664
4.38M
    return *ptr;
665
4.38M
}
_ZNK5doris5Field3getILNS_13PrimitiveTypeE12EEERKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeEv
Line
Count
Source
659
4.32M
const typename PrimitiveTypeTraits<T>::CppType& Field::get() const {
660
18.4E
    DCHECK(T == type || (is_string_type(type) && is_string_type(T)) || type == TYPE_NULL)
661
18.4E
            << "Type mismatch: requested " << type_to_string(T) << ", actual " << get_type_name();
662
4.32M
    const auto* MAY_ALIAS ptr =
663
4.32M
            reinterpret_cast<const typename PrimitiveTypeTraits<T>::CppType*>(&storage);
664
4.32M
    return *ptr;
665
4.32M
}
_ZNK5doris5Field3getILNS_13PrimitiveTypeE25EEERKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeEv
Line
Count
Source
659
4.90M
const typename PrimitiveTypeTraits<T>::CppType& Field::get() const {
660
18.4E
    DCHECK(T == type || (is_string_type(type) && is_string_type(T)) || type == TYPE_NULL)
661
18.4E
            << "Type mismatch: requested " << type_to_string(T) << ", actual " << get_type_name();
662
4.90M
    const auto* MAY_ALIAS ptr =
663
4.90M
            reinterpret_cast<const typename PrimitiveTypeTraits<T>::CppType*>(&storage);
664
4.90M
    return *ptr;
665
4.90M
}
_ZNK5doris5Field3getILNS_13PrimitiveTypeE26EEERKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeEv
Line
Count
Source
659
5.47M
const typename PrimitiveTypeTraits<T>::CppType& Field::get() const {
660
5.47M
    DCHECK(T == type || (is_string_type(type) && is_string_type(T)) || type == TYPE_NULL)
661
0
            << "Type mismatch: requested " << type_to_string(T) << ", actual " << get_type_name();
662
5.47M
    const auto* MAY_ALIAS ptr =
663
5.47M
            reinterpret_cast<const typename PrimitiveTypeTraits<T>::CppType*>(&storage);
664
5.47M
    return *ptr;
665
5.47M
}
_ZNK5doris5Field3getILNS_13PrimitiveTypeE42EEERKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeEv
Line
Count
Source
659
31.0k
const typename PrimitiveTypeTraits<T>::CppType& Field::get() const {
660
18.4E
    DCHECK(T == type || (is_string_type(type) && is_string_type(T)) || type == TYPE_NULL)
661
18.4E
            << "Type mismatch: requested " << type_to_string(T) << ", actual " << get_type_name();
662
31.0k
    const auto* MAY_ALIAS ptr =
663
31.0k
            reinterpret_cast<const typename PrimitiveTypeTraits<T>::CppType*>(&storage);
664
31.0k
    return *ptr;
665
31.0k
}
_ZNK5doris5Field3getILNS_13PrimitiveTypeE28EEERKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeEv
Line
Count
Source
659
4.63M
const typename PrimitiveTypeTraits<T>::CppType& Field::get() const {
660
18.4E
    DCHECK(T == type || (is_string_type(type) && is_string_type(T)) || type == TYPE_NULL)
661
18.4E
            << "Type mismatch: requested " << type_to_string(T) << ", actual " << get_type_name();
662
4.63M
    const auto* MAY_ALIAS ptr =
663
4.63M
            reinterpret_cast<const typename PrimitiveTypeTraits<T>::CppType*>(&storage);
664
4.63M
    return *ptr;
665
4.63M
}
_ZNK5doris5Field3getILNS_13PrimitiveTypeE29EEERKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeEv
Line
Count
Source
659
18.2M
const typename PrimitiveTypeTraits<T>::CppType& Field::get() const {
660
18.4E
    DCHECK(T == type || (is_string_type(type) && is_string_type(T)) || type == TYPE_NULL)
661
18.4E
            << "Type mismatch: requested " << type_to_string(T) << ", actual " << get_type_name();
662
18.2M
    const auto* MAY_ALIAS ptr =
663
18.2M
            reinterpret_cast<const typename PrimitiveTypeTraits<T>::CppType*>(&storage);
664
18.2M
    return *ptr;
665
18.2M
}
_ZNK5doris5Field3getILNS_13PrimitiveTypeE20EEERKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeEv
Line
Count
Source
659
16.6k
const typename PrimitiveTypeTraits<T>::CppType& Field::get() const {
660
16.6k
    DCHECK(T == type || (is_string_type(type) && is_string_type(T)) || type == TYPE_NULL)
661
0
            << "Type mismatch: requested " << type_to_string(T) << ", actual " << get_type_name();
662
16.6k
    const auto* MAY_ALIAS ptr =
663
16.6k
            reinterpret_cast<const typename PrimitiveTypeTraits<T>::CppType*>(&storage);
664
16.6k
    return *ptr;
665
16.6k
}
_ZNK5doris5Field3getILNS_13PrimitiveTypeE30EEERKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeEv
Line
Count
Source
659
4.59M
const typename PrimitiveTypeTraits<T>::CppType& Field::get() const {
660
18.4E
    DCHECK(T == type || (is_string_type(type) && is_string_type(T)) || type == TYPE_NULL)
661
18.4E
            << "Type mismatch: requested " << type_to_string(T) << ", actual " << get_type_name();
662
4.59M
    const auto* MAY_ALIAS ptr =
663
4.59M
            reinterpret_cast<const typename PrimitiveTypeTraits<T>::CppType*>(&storage);
664
4.59M
    return *ptr;
665
4.59M
}
_ZNK5doris5Field3getILNS_13PrimitiveTypeE35EEERKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeEv
Line
Count
Source
659
4.68M
const typename PrimitiveTypeTraits<T>::CppType& Field::get() const {
660
4.68M
    DCHECK(T == type || (is_string_type(type) && is_string_type(T)) || type == TYPE_NULL)
661
0
            << "Type mismatch: requested " << type_to_string(T) << ", actual " << get_type_name();
662
4.68M
    const auto* MAY_ALIAS ptr =
663
4.68M
            reinterpret_cast<const typename PrimitiveTypeTraits<T>::CppType*>(&storage);
664
4.68M
    return *ptr;
665
4.68M
}
_ZNK5doris5Field3getILNS_13PrimitiveTypeE15EEERKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeEv
Line
Count
Source
659
114k
const typename PrimitiveTypeTraits<T>::CppType& Field::get() const {
660
114k
    DCHECK(T == type || (is_string_type(type) && is_string_type(T)) || type == TYPE_NULL)
661
43
            << "Type mismatch: requested " << type_to_string(T) << ", actual " << get_type_name();
662
114k
    const auto* MAY_ALIAS ptr =
663
114k
            reinterpret_cast<const typename PrimitiveTypeTraits<T>::CppType*>(&storage);
664
114k
    return *ptr;
665
114k
}
_ZNK5doris5Field3getILNS_13PrimitiveTypeE10EEERKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeEv
Line
Count
Source
659
710k
const typename PrimitiveTypeTraits<T>::CppType& Field::get() const {
660
710k
    DCHECK(T == type || (is_string_type(type) && is_string_type(T)) || type == TYPE_NULL)
661
56
            << "Type mismatch: requested " << type_to_string(T) << ", actual " << get_type_name();
662
710k
    const auto* MAY_ALIAS ptr =
663
710k
            reinterpret_cast<const typename PrimitiveTypeTraits<T>::CppType*>(&storage);
664
710k
    return *ptr;
665
710k
}
_ZNK5doris5Field3getILNS_13PrimitiveTypeE23EEERKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeEv
Line
Count
Source
659
63.1M
const typename PrimitiveTypeTraits<T>::CppType& Field::get() const {
660
18.4E
    DCHECK(T == type || (is_string_type(type) && is_string_type(T)) || type == TYPE_NULL)
661
18.4E
            << "Type mismatch: requested " << type_to_string(T) << ", actual " << get_type_name();
662
63.1M
    const auto* MAY_ALIAS ptr =
663
63.1M
            reinterpret_cast<const typename PrimitiveTypeTraits<T>::CppType*>(&storage);
664
63.1M
    return *ptr;
665
63.1M
}
_ZNK5doris5Field3getILNS_13PrimitiveTypeE41EEERKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeEv
Line
Count
Source
659
14
const typename PrimitiveTypeTraits<T>::CppType& Field::get() const {
660
14
    DCHECK(T == type || (is_string_type(type) && is_string_type(T)) || type == TYPE_NULL)
661
0
            << "Type mismatch: requested " << type_to_string(T) << ", actual " << get_type_name();
662
14
    const auto* MAY_ALIAS ptr =
663
14
            reinterpret_cast<const typename PrimitiveTypeTraits<T>::CppType*>(&storage);
664
14
    return *ptr;
665
14
}
_ZNK5doris5Field3getILNS_13PrimitiveTypeE19EEERKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeEv
Line
Count
Source
659
12
const typename PrimitiveTypeTraits<T>::CppType& Field::get() const {
660
12
    DCHECK(T == type || (is_string_type(type) && is_string_type(T)) || type == TYPE_NULL)
661
0
            << "Type mismatch: requested " << type_to_string(T) << ", actual " << get_type_name();
662
12
    const auto* MAY_ALIAS ptr =
663
12
            reinterpret_cast<const typename PrimitiveTypeTraits<T>::CppType*>(&storage);
664
12
    return *ptr;
665
12
}
_ZNK5doris5Field3getILNS_13PrimitiveTypeE32EEERKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeEv
Line
Count
Source
659
470k
const typename PrimitiveTypeTraits<T>::CppType& Field::get() const {
660
18.4E
    DCHECK(T == type || (is_string_type(type) && is_string_type(T)) || type == TYPE_NULL)
661
18.4E
            << "Type mismatch: requested " << type_to_string(T) << ", actual " << get_type_name();
662
470k
    const auto* MAY_ALIAS ptr =
663
470k
            reinterpret_cast<const typename PrimitiveTypeTraits<T>::CppType*>(&storage);
664
470k
    return *ptr;
665
470k
}
_ZNK5doris5Field3getILNS_13PrimitiveTypeE24EEERKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeEv
Line
Count
Source
659
20.0k
const typename PrimitiveTypeTraits<T>::CppType& Field::get() const {
660
20.0k
    DCHECK(T == type || (is_string_type(type) && is_string_type(T)) || type == TYPE_NULL)
661
0
            << "Type mismatch: requested " << type_to_string(T) << ", actual " << get_type_name();
662
20.0k
    const auto* MAY_ALIAS ptr =
663
20.0k
            reinterpret_cast<const typename PrimitiveTypeTraits<T>::CppType*>(&storage);
664
20.0k
    return *ptr;
665
20.0k
}
_ZNK5doris5Field3getILNS_13PrimitiveTypeE17EEERKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeEv
Line
Count
Source
659
123M
const typename PrimitiveTypeTraits<T>::CppType& Field::get() const {
660
18.4E
    DCHECK(T == type || (is_string_type(type) && is_string_type(T)) || type == TYPE_NULL)
661
18.4E
            << "Type mismatch: requested " << type_to_string(T) << ", actual " << get_type_name();
662
123M
    const auto* MAY_ALIAS ptr =
663
123M
            reinterpret_cast<const typename PrimitiveTypeTraits<T>::CppType*>(&storage);
664
123M
    return *ptr;
665
123M
}
Unexecuted instantiation: _ZNK5doris5Field3getILNS_13PrimitiveTypeE21EEERKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeEv
_ZNK5doris5Field3getILNS_13PrimitiveTypeE36EEERKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeEv
Line
Count
Source
659
140k
const typename PrimitiveTypeTraits<T>::CppType& Field::get() const {
660
18.4E
    DCHECK(T == type || (is_string_type(type) && is_string_type(T)) || type == TYPE_NULL)
661
18.4E
            << "Type mismatch: requested " << type_to_string(T) << ", actual " << get_type_name();
662
140k
    const auto* MAY_ALIAS ptr =
663
140k
            reinterpret_cast<const typename PrimitiveTypeTraits<T>::CppType*>(&storage);
664
140k
    return *ptr;
665
140k
}
_ZNK5doris5Field3getILNS_13PrimitiveTypeE37EEERKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeEv
Line
Count
Source
659
38.4k
const typename PrimitiveTypeTraits<T>::CppType& Field::get() const {
660
38.4k
    DCHECK(T == type || (is_string_type(type) && is_string_type(T)) || type == TYPE_NULL)
661
2
            << "Type mismatch: requested " << type_to_string(T) << ", actual " << get_type_name();
662
38.4k
    const auto* MAY_ALIAS ptr =
663
38.4k
            reinterpret_cast<const typename PrimitiveTypeTraits<T>::CppType*>(&storage);
664
38.4k
    return *ptr;
665
38.4k
}
_ZNK5doris5Field3getILNS_13PrimitiveTypeE2EEERKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeEv
Line
Count
Source
659
35.1M
const typename PrimitiveTypeTraits<T>::CppType& Field::get() const {
660
35.1M
    DCHECK(T == type || (is_string_type(type) && is_string_type(T)) || type == TYPE_NULL)
661
13
            << "Type mismatch: requested " << type_to_string(T) << ", actual " << get_type_name();
662
35.1M
    const auto* MAY_ALIAS ptr =
663
35.1M
            reinterpret_cast<const typename PrimitiveTypeTraits<T>::CppType*>(&storage);
664
35.1M
    return *ptr;
665
35.1M
}
_ZNK5doris5Field3getILNS_13PrimitiveTypeE8EEERKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeEv
Line
Count
Source
659
4.54M
const typename PrimitiveTypeTraits<T>::CppType& Field::get() const {
660
18.4E
    DCHECK(T == type || (is_string_type(type) && is_string_type(T)) || type == TYPE_NULL)
661
18.4E
            << "Type mismatch: requested " << type_to_string(T) << ", actual " << get_type_name();
662
4.54M
    const auto* MAY_ALIAS ptr =
663
4.54M
            reinterpret_cast<const typename PrimitiveTypeTraits<T>::CppType*>(&storage);
664
4.54M
    return *ptr;
665
4.54M
}
_ZNK5doris5Field3getILNS_13PrimitiveTypeE9EEERKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeEv
Line
Count
Source
659
14.2M
const typename PrimitiveTypeTraits<T>::CppType& Field::get() const {
660
18.4E
    DCHECK(T == type || (is_string_type(type) && is_string_type(T)) || type == TYPE_NULL)
661
18.4E
            << "Type mismatch: requested " << type_to_string(T) << ", actual " << get_type_name();
662
14.2M
    const auto* MAY_ALIAS ptr =
663
14.2M
            reinterpret_cast<const typename PrimitiveTypeTraits<T>::CppType*>(&storage);
664
14.2M
    return *ptr;
665
14.2M
}
_ZNK5doris5Field3getILNS_13PrimitiveTypeE31EEERKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeEv
Line
Count
Source
659
4.76M
const typename PrimitiveTypeTraits<T>::CppType& Field::get() const {
660
18.4E
    DCHECK(T == type || (is_string_type(type) && is_string_type(T)) || type == TYPE_NULL)
661
18.4E
            << "Type mismatch: requested " << type_to_string(T) << ", actual " << get_type_name();
662
4.76M
    const auto* MAY_ALIAS ptr =
663
4.76M
            reinterpret_cast<const typename PrimitiveTypeTraits<T>::CppType*>(&storage);
664
4.76M
    return *ptr;
665
4.76M
}
_ZNK5doris5Field3getILNS_13PrimitiveTypeE16EEERKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeEv
Line
Count
Source
659
4.05M
const typename PrimitiveTypeTraits<T>::CppType& Field::get() const {
660
4.05M
    DCHECK(T == type || (is_string_type(type) && is_string_type(T)) || type == TYPE_NULL)
661
0
            << "Type mismatch: requested " << type_to_string(T) << ", actual " << get_type_name();
662
4.05M
    const auto* MAY_ALIAS ptr =
663
4.05M
            reinterpret_cast<const typename PrimitiveTypeTraits<T>::CppType*>(&storage);
664
4.05M
    return *ptr;
665
4.05M
}
_ZNK5doris5Field3getILNS_13PrimitiveTypeE18EEERKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeEv
Line
Count
Source
659
17.2M
const typename PrimitiveTypeTraits<T>::CppType& Field::get() const {
660
17.2M
    DCHECK(T == type || (is_string_type(type) && is_string_type(T)) || type == TYPE_NULL)
661
0
            << "Type mismatch: requested " << type_to_string(T) << ", actual " << get_type_name();
662
17.2M
    const auto* MAY_ALIAS ptr =
663
17.2M
            reinterpret_cast<const typename PrimitiveTypeTraits<T>::CppType*>(&storage);
664
17.2M
    return *ptr;
665
17.2M
}
_ZNK5doris5Field3getILNS_13PrimitiveTypeE22EEERKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeEv
Line
Count
Source
659
17.5k
const typename PrimitiveTypeTraits<T>::CppType& Field::get() const {
660
17.5k
    DCHECK(T == type || (is_string_type(type) && is_string_type(T)) || type == TYPE_NULL)
661
0
            << "Type mismatch: requested " << type_to_string(T) << ", actual " << get_type_name();
662
17.5k
    const auto* MAY_ALIAS ptr =
663
17.5k
            reinterpret_cast<const typename PrimitiveTypeTraits<T>::CppType*>(&storage);
664
17.5k
    return *ptr;
665
17.5k
}
_ZNK5doris5Field3getILNS_13PrimitiveTypeE27EEERKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeEv
Line
Count
Source
659
214
const typename PrimitiveTypeTraits<T>::CppType& Field::get() const {
660
214
    DCHECK(T == type || (is_string_type(type) && is_string_type(T)) || type == TYPE_NULL)
661
0
            << "Type mismatch: requested " << type_to_string(T) << ", actual " << get_type_name();
662
214
    const auto* MAY_ALIAS ptr =
663
214
            reinterpret_cast<const typename PrimitiveTypeTraits<T>::CppType*>(&storage);
664
214
    return *ptr;
665
214
}
Unexecuted instantiation: _ZNK5doris5Field3getILNS_13PrimitiveTypeE38EEERKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeEv
_ZNK5doris5Field3getILNS_13PrimitiveTypeE39EEERKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeEv
Line
Count
Source
659
40
const typename PrimitiveTypeTraits<T>::CppType& Field::get() const {
660
40
    DCHECK(T == type || (is_string_type(type) && is_string_type(T)) || type == TYPE_NULL)
661
0
            << "Type mismatch: requested " << type_to_string(T) << ", actual " << get_type_name();
662
40
    const auto* MAY_ALIAS ptr =
663
40
            reinterpret_cast<const typename PrimitiveTypeTraits<T>::CppType*>(&storage);
664
40
    return *ptr;
665
40
}
666
667
template <PrimitiveType T>
668
181M
void Field::destroy() {
669
181M
    using TargetType = typename PrimitiveTypeTraits<T>::CppType;
670
18.4E
    DCHECK(T == type || ((is_string_type(type) && is_string_type(T))))
671
18.4E
            << "Type mismatch: requested " << type_to_string(T) << ", actual " << get_type_name();
672
181M
    auto* MAY_ALIAS ptr = reinterpret_cast<TargetType*>(&storage);
673
181M
    ptr->~TargetType();
674
181M
}
Unexecuted instantiation: _ZN5doris5Field7destroyILNS_13PrimitiveTypeE1EEEvv
Unexecuted instantiation: _ZN5doris5Field7destroyILNS_13PrimitiveTypeE3EEEvv
Unexecuted instantiation: _ZN5doris5Field7destroyILNS_13PrimitiveTypeE4EEEvv
Unexecuted instantiation: _ZN5doris5Field7destroyILNS_13PrimitiveTypeE5EEEvv
Unexecuted instantiation: _ZN5doris5Field7destroyILNS_13PrimitiveTypeE6EEEvv
Unexecuted instantiation: _ZN5doris5Field7destroyILNS_13PrimitiveTypeE7EEEvv
Unexecuted instantiation: _ZN5doris5Field7destroyILNS_13PrimitiveTypeE11EEEvv
Unexecuted instantiation: _ZN5doris5Field7destroyILNS_13PrimitiveTypeE12EEEvv
Unexecuted instantiation: _ZN5doris5Field7destroyILNS_13PrimitiveTypeE25EEEvv
Unexecuted instantiation: _ZN5doris5Field7destroyILNS_13PrimitiveTypeE26EEEvv
Unexecuted instantiation: _ZN5doris5Field7destroyILNS_13PrimitiveTypeE42EEEvv
Unexecuted instantiation: _ZN5doris5Field7destroyILNS_13PrimitiveTypeE28EEEvv
Unexecuted instantiation: _ZN5doris5Field7destroyILNS_13PrimitiveTypeE29EEEvv
Unexecuted instantiation: _ZN5doris5Field7destroyILNS_13PrimitiveTypeE20EEEvv
Unexecuted instantiation: _ZN5doris5Field7destroyILNS_13PrimitiveTypeE30EEEvv
Unexecuted instantiation: _ZN5doris5Field7destroyILNS_13PrimitiveTypeE35EEEvv
_ZN5doris5Field7destroyILNS_13PrimitiveTypeE15EEEvv
Line
Count
Source
668
175k
void Field::destroy() {
669
175k
    using TargetType = typename PrimitiveTypeTraits<T>::CppType;
670
18.4E
    DCHECK(T == type || ((is_string_type(type) && is_string_type(T))))
671
18.4E
            << "Type mismatch: requested " << type_to_string(T) << ", actual " << get_type_name();
672
175k
    auto* MAY_ALIAS ptr = reinterpret_cast<TargetType*>(&storage);
673
175k
    ptr->~TargetType();
674
175k
}
_ZN5doris5Field7destroyILNS_13PrimitiveTypeE10EEEvv
Line
Count
Source
668
1.77M
void Field::destroy() {
669
1.77M
    using TargetType = typename PrimitiveTypeTraits<T>::CppType;
670
18.4E
    DCHECK(T == type || ((is_string_type(type) && is_string_type(T))))
671
18.4E
            << "Type mismatch: requested " << type_to_string(T) << ", actual " << get_type_name();
672
1.77M
    auto* MAY_ALIAS ptr = reinterpret_cast<TargetType*>(&storage);
673
1.77M
    ptr->~TargetType();
674
1.77M
}
_ZN5doris5Field7destroyILNS_13PrimitiveTypeE23EEEvv
Line
Count
Source
668
53.4M
void Field::destroy() {
669
53.4M
    using TargetType = typename PrimitiveTypeTraits<T>::CppType;
670
18.4E
    DCHECK(T == type || ((is_string_type(type) && is_string_type(T))))
671
18.4E
            << "Type mismatch: requested " << type_to_string(T) << ", actual " << get_type_name();
672
53.4M
    auto* MAY_ALIAS ptr = reinterpret_cast<TargetType*>(&storage);
673
53.4M
    ptr->~TargetType();
674
53.4M
}
_ZN5doris5Field7destroyILNS_13PrimitiveTypeE41EEEvv
Line
Count
Source
668
40
void Field::destroy() {
669
40
    using TargetType = typename PrimitiveTypeTraits<T>::CppType;
670
40
    DCHECK(T == type || ((is_string_type(type) && is_string_type(T))))
671
0
            << "Type mismatch: requested " << type_to_string(T) << ", actual " << get_type_name();
672
40
    auto* MAY_ALIAS ptr = reinterpret_cast<TargetType*>(&storage);
673
40
    ptr->~TargetType();
674
40
}
_ZN5doris5Field7destroyILNS_13PrimitiveTypeE19EEEvv
Line
Count
Source
668
424
void Field::destroy() {
669
424
    using TargetType = typename PrimitiveTypeTraits<T>::CppType;
670
424
    DCHECK(T == type || ((is_string_type(type) && is_string_type(T))))
671
0
            << "Type mismatch: requested " << type_to_string(T) << ", actual " << get_type_name();
672
424
    auto* MAY_ALIAS ptr = reinterpret_cast<TargetType*>(&storage);
673
424
    ptr->~TargetType();
674
424
}
_ZN5doris5Field7destroyILNS_13PrimitiveTypeE32EEEvv
Line
Count
Source
668
1.03M
void Field::destroy() {
669
1.03M
    using TargetType = typename PrimitiveTypeTraits<T>::CppType;
670
18.4E
    DCHECK(T == type || ((is_string_type(type) && is_string_type(T))))
671
18.4E
            << "Type mismatch: requested " << type_to_string(T) << ", actual " << get_type_name();
672
1.03M
    auto* MAY_ALIAS ptr = reinterpret_cast<TargetType*>(&storage);
673
1.03M
    ptr->~TargetType();
674
1.03M
}
_ZN5doris5Field7destroyILNS_13PrimitiveTypeE24EEEvv
Line
Count
Source
668
22.4k
void Field::destroy() {
669
22.4k
    using TargetType = typename PrimitiveTypeTraits<T>::CppType;
670
22.4k
    DCHECK(T == type || ((is_string_type(type) && is_string_type(T))))
671
0
            << "Type mismatch: requested " << type_to_string(T) << ", actual " << get_type_name();
672
22.4k
    auto* MAY_ALIAS ptr = reinterpret_cast<TargetType*>(&storage);
673
22.4k
    ptr->~TargetType();
674
22.4k
}
_ZN5doris5Field7destroyILNS_13PrimitiveTypeE17EEEvv
Line
Count
Source
668
99.5M
void Field::destroy() {
669
99.5M
    using TargetType = typename PrimitiveTypeTraits<T>::CppType;
670
18.4E
    DCHECK(T == type || ((is_string_type(type) && is_string_type(T))))
671
18.4E
            << "Type mismatch: requested " << type_to_string(T) << ", actual " << get_type_name();
672
99.5M
    auto* MAY_ALIAS ptr = reinterpret_cast<TargetType*>(&storage);
673
99.5M
    ptr->~TargetType();
674
99.5M
}
Unexecuted instantiation: _ZN5doris5Field7destroyILNS_13PrimitiveTypeE21EEEvv
Unexecuted instantiation: _ZN5doris5Field7destroyILNS_13PrimitiveTypeE36EEEvv
Unexecuted instantiation: _ZN5doris5Field7destroyILNS_13PrimitiveTypeE37EEEvv
Unexecuted instantiation: _ZN5doris5Field7destroyILNS_13PrimitiveTypeE2EEEvv
Unexecuted instantiation: _ZN5doris5Field7destroyILNS_13PrimitiveTypeE8EEEvv
Unexecuted instantiation: _ZN5doris5Field7destroyILNS_13PrimitiveTypeE9EEEvv
_ZN5doris5Field7destroyILNS_13PrimitiveTypeE31EEEvv
Line
Count
Source
668
9.66M
void Field::destroy() {
669
9.66M
    using TargetType = typename PrimitiveTypeTraits<T>::CppType;
670
9.66M
    DCHECK(T == type || ((is_string_type(type) && is_string_type(T))))
671
1.62k
            << "Type mismatch: requested " << type_to_string(T) << ", actual " << get_type_name();
672
9.66M
    auto* MAY_ALIAS ptr = reinterpret_cast<TargetType*>(&storage);
673
9.66M
    ptr->~TargetType();
674
9.66M
}
_ZN5doris5Field7destroyILNS_13PrimitiveTypeE16EEEvv
Line
Count
Source
668
3.06M
void Field::destroy() {
669
3.06M
    using TargetType = typename PrimitiveTypeTraits<T>::CppType;
670
3.06M
    DCHECK(T == type || ((is_string_type(type) && is_string_type(T))))
671
0
            << "Type mismatch: requested " << type_to_string(T) << ", actual " << get_type_name();
672
3.06M
    auto* MAY_ALIAS ptr = reinterpret_cast<TargetType*>(&storage);
673
3.06M
    ptr->~TargetType();
674
3.06M
}
_ZN5doris5Field7destroyILNS_13PrimitiveTypeE18EEEvv
Line
Count
Source
668
13.2M
void Field::destroy() {
669
13.2M
    using TargetType = typename PrimitiveTypeTraits<T>::CppType;
670
18.4E
    DCHECK(T == type || ((is_string_type(type) && is_string_type(T))))
671
18.4E
            << "Type mismatch: requested " << type_to_string(T) << ", actual " << get_type_name();
672
13.2M
    auto* MAY_ALIAS ptr = reinterpret_cast<TargetType*>(&storage);
673
13.2M
    ptr->~TargetType();
674
13.2M
}
_ZN5doris5Field7destroyILNS_13PrimitiveTypeE22EEEvv
Line
Count
Source
668
2.49k
void Field::destroy() {
669
2.49k
    using TargetType = typename PrimitiveTypeTraits<T>::CppType;
670
2.49k
    DCHECK(T == type || ((is_string_type(type) && is_string_type(T))))
671
0
            << "Type mismatch: requested " << type_to_string(T) << ", actual " << get_type_name();
672
2.49k
    auto* MAY_ALIAS ptr = reinterpret_cast<TargetType*>(&storage);
673
2.49k
    ptr->~TargetType();
674
2.49k
}
Unexecuted instantiation: _ZN5doris5Field7destroyILNS_13PrimitiveTypeE27EEEvv
Unexecuted instantiation: _ZN5doris5Field7destroyILNS_13PrimitiveTypeE38EEEvv
Unexecuted instantiation: _ZN5doris5Field7destroyILNS_13PrimitiveTypeE39EEEvv
675
676
21.3M
std::strong_ordering Field::operator<=>(const Field& rhs) const {
677
21.3M
    if (type == PrimitiveType::TYPE_NULL || rhs == PrimitiveType::TYPE_NULL) {
678
14.2M
        return type <=> rhs.type;
679
14.2M
    }
680
7.10M
    if (type != rhs.type) {
681
0
        throw Exception(Status::FatalError("lhs type not equal with rhs, lhs={}, rhs={}",
682
0
                                           get_type_name(), rhs.get_type_name()));
683
0
    }
684
685
7.10M
    switch (type) {
686
1.14k
    case PrimitiveType::TYPE_BITMAP:
687
1.35k
    case PrimitiveType::TYPE_HLL:
688
2.54k
    case PrimitiveType::TYPE_QUANTILE_STATE:
689
2.54k
    case PrimitiveType::INVALID_TYPE:
690
2.55k
    case PrimitiveType::TYPE_JSONB:
691
2.55k
    case PrimitiveType::TYPE_NULL:
692
9.12k
    case PrimitiveType::TYPE_ARRAY:
693
10.0k
    case PrimitiveType::TYPE_MAP:
694
10.7k
    case PrimitiveType::TYPE_STRUCT:
695
44.1k
    case PrimitiveType::TYPE_VARIANT:
696
44.1k
        return std::strong_ordering::equal; //TODO: throw Exception?
697
73.3k
    case PrimitiveType::TYPE_DATETIMEV2:
698
73.3k
        return get<PrimitiveType::TYPE_DATETIMEV2>().to_date_int_val() <=>
699
73.3k
               rhs.get<PrimitiveType::TYPE_DATETIMEV2>().to_date_int_val();
700
91.1k
    case PrimitiveType::TYPE_DATEV2:
701
91.1k
        return get<PrimitiveType::TYPE_DATEV2>().to_date_int_val() <=>
702
91.1k
               rhs.get<PrimitiveType::TYPE_DATEV2>().to_date_int_val();
703
58
    case PrimitiveType::TYPE_TIMESTAMPTZ:
704
58
        return get<PrimitiveType::TYPE_TIMESTAMPTZ>().to_date_int_val() <=>
705
58
               rhs.get<PrimitiveType::TYPE_TIMESTAMPTZ>().to_date_int_val();
706
245
    case PrimitiveType::TYPE_DATE:
707
245
        return get<PrimitiveType::TYPE_DATE>() <=> rhs.get<PrimitiveType::TYPE_DATE>();
708
390
    case PrimitiveType::TYPE_DATETIME:
709
390
        return get<PrimitiveType::TYPE_DATETIME>() <=> rhs.get<PrimitiveType::TYPE_DATETIME>();
710
787k
    case PrimitiveType::TYPE_BIGINT:
711
787k
        return get<PrimitiveType::TYPE_BIGINT>() <=> rhs.get<PrimitiveType::TYPE_BIGINT>();
712
348k
    case PrimitiveType::TYPE_BOOLEAN:
713
348k
        return get<PrimitiveType::TYPE_BOOLEAN>() <=> rhs.get<PrimitiveType::TYPE_BOOLEAN>();
714
11.9k
    case PrimitiveType::TYPE_TINYINT:
715
11.9k
        return get<TYPE_TINYINT>() <=> rhs.get<TYPE_TINYINT>();
716
1.81k
    case PrimitiveType::TYPE_SMALLINT:
717
1.81k
        return get<TYPE_SMALLINT>() <=> rhs.get<TYPE_SMALLINT>();
718
1.40M
    case PrimitiveType::TYPE_INT:
719
1.40M
        return get<TYPE_INT>() <=> rhs.get<TYPE_INT>();
720
20.9k
    case PrimitiveType::TYPE_LARGEINT:
721
20.9k
        return get<TYPE_LARGEINT>() <=> rhs.get<TYPE_LARGEINT>();
722
5.33k
    case PrimitiveType::TYPE_IPV6:
723
5.33k
        return get<TYPE_IPV6>() <=> rhs.get<TYPE_IPV6>();
724
50.4k
    case PrimitiveType::TYPE_IPV4:
725
50.4k
        return get<TYPE_IPV4>() <=> rhs.get<TYPE_IPV4>();
726
1.11k
    case PrimitiveType::TYPE_FLOAT:
727
1.11k
        return get<TYPE_FLOAT>() < rhs.get<TYPE_FLOAT>()    ? std::strong_ordering::less
728
1.11k
               : get<TYPE_FLOAT>() == rhs.get<TYPE_FLOAT>() ? std::strong_ordering::equal
729
717
                                                            : std::strong_ordering::greater;
730
14
    case PrimitiveType::TYPE_TIMEV2:
731
14
        return get<TYPE_TIMEV2>() < rhs.get<TYPE_TIMEV2>()    ? std::strong_ordering::less
732
14
               : get<TYPE_TIMEV2>() == rhs.get<TYPE_TIMEV2>() ? std::strong_ordering::equal
733
14
                                                              : std::strong_ordering::greater;
734
4.13k
    case PrimitiveType::TYPE_DOUBLE:
735
4.13k
        return get<TYPE_DOUBLE>() < rhs.get<TYPE_DOUBLE>()    ? std::strong_ordering::less
736
4.13k
               : get<TYPE_DOUBLE>() == rhs.get<TYPE_DOUBLE>() ? std::strong_ordering::equal
737
3.74k
                                                              : std::strong_ordering::greater;
738
4.07M
    case PrimitiveType::TYPE_STRING:
739
4.07M
        return get<TYPE_STRING>() <=> rhs.get<TYPE_STRING>();
740
33.1k
    case PrimitiveType::TYPE_CHAR:
741
33.1k
        return get<TYPE_CHAR>() <=> rhs.get<TYPE_CHAR>();
742
99.8k
    case PrimitiveType::TYPE_VARCHAR:
743
99.8k
        return get<TYPE_VARCHAR>() <=> rhs.get<TYPE_VARCHAR>();
744
0
    case PrimitiveType::TYPE_VARBINARY:
745
0
        return get<TYPE_VARBINARY>() <=> rhs.get<TYPE_VARBINARY>();
746
862
    case PrimitiveType::TYPE_DECIMAL32:
747
862
        return get<TYPE_DECIMAL32>() <=> rhs.get<TYPE_DECIMAL32>();
748
34.2k
    case PrimitiveType::TYPE_DECIMAL64:
749
34.2k
        return get<TYPE_DECIMAL64>() <=> rhs.get<TYPE_DECIMAL64>();
750
2.71k
    case PrimitiveType::TYPE_DECIMALV2:
751
2.71k
        return get<TYPE_DECIMALV2>() <=> rhs.get<TYPE_DECIMALV2>();
752
13.9k
    case PrimitiveType::TYPE_DECIMAL128I:
753
13.9k
        return get<TYPE_DECIMAL128I>() <=> rhs.get<TYPE_DECIMAL128I>();
754
1.03k
    case PrimitiveType::TYPE_DECIMAL256:
755
1.03k
        return get<TYPE_DECIMAL256>() <=> rhs.get<TYPE_DECIMAL256>();
756
0
    default:
757
0
        throw Exception(Status::FatalError("Unsupported type: {}", get_type_name()));
758
7.10M
    }
759
7.10M
}
760
761
#define MATCH_PRIMITIVE_TYPE(primitive_type)                                   \
762
4.48k
    if (type == primitive_type) {                                              \
763
845
        const auto& v = get<primitive_type>();                                 \
764
845
        return std::string_view(reinterpret_cast<const char*>(&v), sizeof(v)); \
765
845
    }
766
767
1.31k
std::string_view Field::as_string_view() const {
768
1.31k
    if (type == PrimitiveType::TYPE_STRING || type == PrimitiveType::TYPE_VARCHAR ||
769
1.31k
        type == PrimitiveType::TYPE_CHAR) {
770
466
        const auto& s = get<TYPE_STRING>();
771
466
        return {s.data(), s.size()};
772
466
    }
773
845
    if (type == PrimitiveType::TYPE_VARBINARY) {
774
0
        const auto& svf = get<TYPE_VARBINARY>();
775
0
        return {svf.data(), svf.size()};
776
0
    }
777
    // MATCH_PRIMITIVE_TYPE(INVALID_TYPE);
778
    // MATCH_PRIMITIVE_TYPE(TYPE_NULL);
779
845
    MATCH_PRIMITIVE_TYPE(TYPE_BOOLEAN);
780
845
    MATCH_PRIMITIVE_TYPE(TYPE_TINYINT);
781
831
    MATCH_PRIMITIVE_TYPE(TYPE_SMALLINT);
782
831
    MATCH_PRIMITIVE_TYPE(TYPE_INT);
783
160
    MATCH_PRIMITIVE_TYPE(TYPE_BIGINT);
784
97
    MATCH_PRIMITIVE_TYPE(TYPE_LARGEINT);
785
97
    MATCH_PRIMITIVE_TYPE(TYPE_FLOAT)
786
97
    MATCH_PRIMITIVE_TYPE(TYPE_DOUBLE);
787
    // MATCH_PRIMITIVE_TYPE(TYPE_VARCHAR);
788
97
    MATCH_PRIMITIVE_TYPE(TYPE_DATE);
789
97
    MATCH_PRIMITIVE_TYPE(TYPE_DATETIME);
790
97
    MATCH_PRIMITIVE_TYPE(TYPE_TIMESTAMPTZ);
791
    // MATCH_PRIMITIVE_TYPE(TYPE_BINARY);
792
    // MATCH_PRIMITIVE_TYPE(TYPE_DECIMAL);
793
    // MATCH_PRIMITIVE_TYPE(TYPE_CHAR);
794
    // MATCH_PRIMITIVE_TYPE(TYPE_STRUCT);
795
    // MATCH_PRIMITIVE_TYPE(TYPE_ARRAY);
796
    // MATCH_PRIMITIVE_TYPE(TYPE_MAP);
797
    // MATCH_PRIMITIVE_TYPE(TYPE_HLL);
798
97
    MATCH_PRIMITIVE_TYPE(TYPE_DECIMALV2);
799
97
    MATCH_PRIMITIVE_TYPE(TYPE_TIME);
800
    // MATCH_PRIMITIVE_TYPE(TYPE_BITMAP);
801
    // MATCH_PRIMITIVE_TYPE(TYPE_STRING);
802
    // MATCH_PRIMITIVE_TYPE(TYPE_QUANTILE_STATE);
803
97
    MATCH_PRIMITIVE_TYPE(TYPE_DATEV2);
804
69
    MATCH_PRIMITIVE_TYPE(TYPE_DATETIMEV2);
805
30
    MATCH_PRIMITIVE_TYPE(TYPE_TIMEV2);
806
0
    MATCH_PRIMITIVE_TYPE(TYPE_DECIMAL32);
807
0
    MATCH_PRIMITIVE_TYPE(TYPE_DECIMAL64);
808
0
    MATCH_PRIMITIVE_TYPE(TYPE_DECIMAL128I);
809
    // MATCH_PRIMITIVE_TYPE(TYPE_JSONB);
810
    // MATCH_PRIMITIVE_TYPE(TYPE_VARIANT);
811
    // MATCH_PRIMITIVE_TYPE(TYPE_LAMBDA_FUNCTION);
812
    // MATCH_PRIMITIVE_TYPE(TYPE_AGG_STATE);
813
0
    MATCH_PRIMITIVE_TYPE(TYPE_DECIMAL256);
814
0
    MATCH_PRIMITIVE_TYPE(TYPE_IPV4);
815
0
    MATCH_PRIMITIVE_TYPE(TYPE_IPV6);
816
0
    MATCH_PRIMITIVE_TYPE(TYPE_UINT32);
817
0
    MATCH_PRIMITIVE_TYPE(TYPE_UINT64);
818
    // MATCH_PRIMITIVE_TYPE(TYPE_FIXED_LENGTH_OBJECT);
819
0
    throw Exception(
820
0
            Status::FatalError("type not supported for as_string_view, type={}", get_type_name()));
821
0
}
822
823
#undef MATCH_PRIMITIVE_TYPE
824
825
#define DECLARE_FUNCTION(FUNC_NAME)                                                               \
826
    template void Field::FUNC_NAME<TYPE_NULL>(typename PrimitiveTypeTraits<TYPE_NULL>::CppType && \
827
                                              rhs);                                               \
828
    template void Field::FUNC_NAME<TYPE_TINYINT>(                                                 \
829
            typename PrimitiveTypeTraits<TYPE_TINYINT>::CppType && rhs);                          \
830
    template void Field::FUNC_NAME<TYPE_SMALLINT>(                                                \
831
            typename PrimitiveTypeTraits<TYPE_SMALLINT>::CppType && rhs);                         \
832
    template void Field::FUNC_NAME<TYPE_INT>(typename PrimitiveTypeTraits<TYPE_INT>::CppType &&   \
833
                                             rhs);                                                \
834
    template void Field::FUNC_NAME<TYPE_BIGINT>(                                                  \
835
            typename PrimitiveTypeTraits<TYPE_BIGINT>::CppType && rhs);                           \
836
    template void Field::FUNC_NAME<TYPE_LARGEINT>(                                                \
837
            typename PrimitiveTypeTraits<TYPE_LARGEINT>::CppType && rhs);                         \
838
    template void Field::FUNC_NAME<TYPE_DATE>(typename PrimitiveTypeTraits<TYPE_DATE>::CppType && \
839
                                              rhs);                                               \
840
    template void Field::FUNC_NAME<TYPE_DATETIME>(                                                \
841
            typename PrimitiveTypeTraits<TYPE_DATETIME>::CppType && rhs);                         \
842
    template void Field::FUNC_NAME<TYPE_DATEV2>(                                                  \
843
            typename PrimitiveTypeTraits<TYPE_DATEV2>::CppType && rhs);                           \
844
    template void Field::FUNC_NAME<TYPE_DATETIMEV2>(                                              \
845
            typename PrimitiveTypeTraits<TYPE_DATETIMEV2>::CppType && rhs);                       \
846
    template void Field::FUNC_NAME<TYPE_DECIMAL32>(                                               \
847
            typename PrimitiveTypeTraits<TYPE_DECIMAL32>::CppType && rhs);                        \
848
    template void Field::FUNC_NAME<TYPE_DECIMAL64>(                                               \
849
            typename PrimitiveTypeTraits<TYPE_DECIMAL64>::CppType && rhs);                        \
850
    template void Field::FUNC_NAME<TYPE_DECIMALV2>(                                               \
851
            typename PrimitiveTypeTraits<TYPE_DECIMALV2>::CppType && rhs);                        \
852
    template void Field::FUNC_NAME<TYPE_DECIMAL128I>(                                             \
853
            typename PrimitiveTypeTraits<TYPE_DECIMAL128I>::CppType && rhs);                      \
854
    template void Field::FUNC_NAME<TYPE_DECIMAL256>(                                              \
855
            typename PrimitiveTypeTraits<TYPE_DECIMAL256>::CppType && rhs);                       \
856
    template void Field::FUNC_NAME<TYPE_CHAR>(typename PrimitiveTypeTraits<TYPE_CHAR>::CppType && \
857
                                              rhs);                                               \
858
    template void Field::FUNC_NAME<TYPE_VARCHAR>(                                                 \
859
            typename PrimitiveTypeTraits<TYPE_VARCHAR>::CppType && rhs);                          \
860
    template void Field::FUNC_NAME<TYPE_STRING>(                                                  \
861
            typename PrimitiveTypeTraits<TYPE_STRING>::CppType && rhs);                           \
862
    template void Field::FUNC_NAME<TYPE_VARBINARY>(                                               \
863
            typename PrimitiveTypeTraits<TYPE_VARBINARY>::CppType && rhs);                        \
864
    template void Field::FUNC_NAME<TYPE_HLL>(typename PrimitiveTypeTraits<TYPE_HLL>::CppType &&   \
865
                                             rhs);                                                \
866
    template void Field::FUNC_NAME<TYPE_VARIANT>(                                                 \
867
            typename PrimitiveTypeTraits<TYPE_VARIANT>::CppType && rhs);                          \
868
    template void Field::FUNC_NAME<TYPE_QUANTILE_STATE>(                                          \
869
            typename PrimitiveTypeTraits<TYPE_QUANTILE_STATE>::CppType && rhs);                   \
870
    template void Field::FUNC_NAME<TYPE_ARRAY>(                                                   \
871
            typename PrimitiveTypeTraits<TYPE_ARRAY>::CppType && rhs);                            \
872
    template void Field::FUNC_NAME<TYPE_TIME>(typename PrimitiveTypeTraits<TYPE_TIME>::CppType && \
873
                                              rhs);                                               \
874
    template void Field::FUNC_NAME<TYPE_TIME>(                                                    \
875
            const typename PrimitiveTypeTraits<TYPE_TIME>::CppType& rhs);                         \
876
    template void Field::FUNC_NAME<TYPE_NULL>(                                                    \
877
            const typename PrimitiveTypeTraits<TYPE_NULL>::CppType& rhs);                         \
878
    template void Field::FUNC_NAME<TYPE_TINYINT>(                                                 \
879
            const typename PrimitiveTypeTraits<TYPE_TINYINT>::CppType& rhs);                      \
880
    template void Field::FUNC_NAME<TYPE_SMALLINT>(                                                \
881
            const typename PrimitiveTypeTraits<TYPE_SMALLINT>::CppType& rhs);                     \
882
    template void Field::FUNC_NAME<TYPE_INT>(                                                     \
883
            const typename PrimitiveTypeTraits<TYPE_INT>::CppType& rhs);                          \
884
    template void Field::FUNC_NAME<TYPE_BIGINT>(                                                  \
885
            const typename PrimitiveTypeTraits<TYPE_BIGINT>::CppType& rhs);                       \
886
    template void Field::FUNC_NAME<TYPE_LARGEINT>(                                                \
887
            const typename PrimitiveTypeTraits<TYPE_LARGEINT>::CppType& rhs);                     \
888
    template void Field::FUNC_NAME<TYPE_DATE>(                                                    \
889
            const typename PrimitiveTypeTraits<TYPE_DATE>::CppType& rhs);                         \
890
    template void Field::FUNC_NAME<TYPE_DATETIME>(                                                \
891
            const typename PrimitiveTypeTraits<TYPE_DATETIME>::CppType& rhs);                     \
892
    template void Field::FUNC_NAME<TYPE_DATEV2>(                                                  \
893
            const typename PrimitiveTypeTraits<TYPE_DATEV2>::CppType& rhs);                       \
894
    template void Field::FUNC_NAME<TYPE_DATETIMEV2>(                                              \
895
            const typename PrimitiveTypeTraits<TYPE_DATETIMEV2>::CppType& rhs);                   \
896
    template void Field::FUNC_NAME<TYPE_TIMESTAMPTZ>(                                             \
897
            const typename PrimitiveTypeTraits<TYPE_TIMESTAMPTZ>::CppType& rhs);                  \
898
    template void Field::FUNC_NAME<TYPE_TIMESTAMPTZ>(                                             \
899
            typename PrimitiveTypeTraits<TYPE_TIMESTAMPTZ>::CppType && rhs);                      \
900
    template void Field::FUNC_NAME<TYPE_DECIMAL32>(                                               \
901
            const typename PrimitiveTypeTraits<TYPE_DECIMAL32>::CppType& rhs);                    \
902
    template void Field::FUNC_NAME<TYPE_DECIMAL64>(                                               \
903
            const typename PrimitiveTypeTraits<TYPE_DECIMAL64>::CppType& rhs);                    \
904
    template void Field::FUNC_NAME<TYPE_DECIMALV2>(                                               \
905
            const typename PrimitiveTypeTraits<TYPE_DECIMALV2>::CppType& rhs);                    \
906
    template void Field::FUNC_NAME<TYPE_DECIMAL128I>(                                             \
907
            const typename PrimitiveTypeTraits<TYPE_DECIMAL128I>::CppType& rhs);                  \
908
    template void Field::FUNC_NAME<TYPE_DECIMAL256>(                                              \
909
            const typename PrimitiveTypeTraits<TYPE_DECIMAL256>::CppType& rhs);                   \
910
    template void Field::FUNC_NAME<TYPE_CHAR>(                                                    \
911
            const typename PrimitiveTypeTraits<TYPE_CHAR>::CppType& rhs);                         \
912
    template void Field::FUNC_NAME<TYPE_VARCHAR>(                                                 \
913
            const typename PrimitiveTypeTraits<TYPE_VARCHAR>::CppType& rhs);                      \
914
    template void Field::FUNC_NAME<TYPE_STRING>(                                                  \
915
            const typename PrimitiveTypeTraits<TYPE_STRING>::CppType& rhs);                       \
916
    template void Field::FUNC_NAME<TYPE_VARBINARY>(                                               \
917
            const typename PrimitiveTypeTraits<TYPE_VARBINARY>::CppType& rhs);                    \
918
    template void Field::FUNC_NAME<TYPE_HLL>(                                                     \
919
            const typename PrimitiveTypeTraits<TYPE_HLL>::CppType& rhs);                          \
920
    template void Field::FUNC_NAME<TYPE_VARIANT>(                                                 \
921
            const typename PrimitiveTypeTraits<TYPE_VARIANT>::CppType& rhs);                      \
922
    template void Field::FUNC_NAME<TYPE_QUANTILE_STATE>(                                          \
923
            const typename PrimitiveTypeTraits<TYPE_QUANTILE_STATE>::CppType& rhs);               \
924
    template void Field::FUNC_NAME<TYPE_ARRAY>(                                                   \
925
            const typename PrimitiveTypeTraits<TYPE_ARRAY>::CppType& rhs);                        \
926
    template void Field::FUNC_NAME<TYPE_IPV4>(typename PrimitiveTypeTraits<TYPE_IPV4>::CppType && \
927
                                              rhs);                                               \
928
    template void Field::FUNC_NAME<TYPE_IPV4>(                                                    \
929
            const typename PrimitiveTypeTraits<TYPE_IPV4>::CppType& rhs);                         \
930
    template void Field::FUNC_NAME<TYPE_IPV6>(typename PrimitiveTypeTraits<TYPE_IPV6>::CppType && \
931
                                              rhs);                                               \
932
    template void Field::FUNC_NAME<TYPE_IPV6>(                                                    \
933
            const typename PrimitiveTypeTraits<TYPE_IPV6>::CppType& rhs);                         \
934
    template void Field::FUNC_NAME<TYPE_BOOLEAN>(                                                 \
935
            typename PrimitiveTypeTraits<TYPE_BOOLEAN>::CppType && rhs);                          \
936
    template void Field::FUNC_NAME<TYPE_BOOLEAN>(                                                 \
937
            const typename PrimitiveTypeTraits<TYPE_BOOLEAN>::CppType& rhs);                      \
938
    template void Field::FUNC_NAME<TYPE_FLOAT>(                                                   \
939
            typename PrimitiveTypeTraits<TYPE_FLOAT>::CppType && rhs);                            \
940
    template void Field::FUNC_NAME<TYPE_FLOAT>(                                                   \
941
            const typename PrimitiveTypeTraits<TYPE_FLOAT>::CppType& rhs);                        \
942
    template void Field::FUNC_NAME<TYPE_DOUBLE>(                                                  \
943
            typename PrimitiveTypeTraits<TYPE_DOUBLE>::CppType && rhs);                           \
944
    template void Field::FUNC_NAME<TYPE_DOUBLE>(                                                  \
945
            const typename PrimitiveTypeTraits<TYPE_DOUBLE>::CppType& rhs);                       \
946
    template void Field::FUNC_NAME<TYPE_JSONB>(                                                   \
947
            typename PrimitiveTypeTraits<TYPE_JSONB>::CppType && rhs);                            \
948
    template void Field::FUNC_NAME<TYPE_JSONB>(                                                   \
949
            const typename PrimitiveTypeTraits<TYPE_JSONB>::CppType& rhs);                        \
950
    template void Field::FUNC_NAME<TYPE_STRUCT>(                                                  \
951
            typename PrimitiveTypeTraits<TYPE_STRUCT>::CppType && rhs);                           \
952
    template void Field::FUNC_NAME<TYPE_STRUCT>(                                                  \
953
            const typename PrimitiveTypeTraits<TYPE_STRUCT>::CppType& rhs);                       \
954
    template void Field::FUNC_NAME<TYPE_MAP>(typename PrimitiveTypeTraits<TYPE_MAP>::CppType &&   \
955
                                             rhs);                                                \
956
    template void Field::FUNC_NAME<TYPE_MAP>(                                                     \
957
            const typename PrimitiveTypeTraits<TYPE_MAP>::CppType& rhs);                          \
958
    template void Field::FUNC_NAME<TYPE_BITMAP>(                                                  \
959
            typename PrimitiveTypeTraits<TYPE_BITMAP>::CppType && rhs);                           \
960
    template void Field::FUNC_NAME<TYPE_BITMAP>(                                                  \
961
            const typename PrimitiveTypeTraits<TYPE_BITMAP>::CppType& rhs);                       \
962
    template void Field::FUNC_NAME<TYPE_TIMEV2>(                                                  \
963
            const typename PrimitiveTypeTraits<TYPE_TIMEV2>::CppType& rhs);                       \
964
    template void Field::FUNC_NAME<TYPE_TIMEV2>(                                                  \
965
            typename PrimitiveTypeTraits<TYPE_TIMEV2>::CppType && rhs);                           \
966
    template void Field::FUNC_NAME<TYPE_UINT32>(                                                  \
967
            const typename PrimitiveTypeTraits<TYPE_UINT32>::CppType& rhs);                       \
968
    template void Field::FUNC_NAME<TYPE_UINT32>(                                                  \
969
            typename PrimitiveTypeTraits<TYPE_UINT32>::CppType && rhs);                           \
970
    template void Field::FUNC_NAME<TYPE_UINT64>(                                                  \
971
            const typename PrimitiveTypeTraits<TYPE_UINT64>::CppType& rhs);                       \
972
    template void Field::FUNC_NAME<TYPE_UINT64>(                                                  \
973
            typename PrimitiveTypeTraits<TYPE_UINT64>::CppType && rhs);
974
DECLARE_FUNCTION(create_concrete)
975
DECLARE_FUNCTION(assign_concrete)
976
#undef DECLARE_FUNCTION
977
978
#define DECLARE_FUNCTION(TYPE_NAME)                                                          \
979
    template typename PrimitiveTypeTraits<TYPE_NAME>::CppType& Field::get<TYPE_NAME>();      \
980
    template const typename PrimitiveTypeTraits<TYPE_NAME>::CppType& Field::get<TYPE_NAME>() \
981
            const;                                                                           \
982
    template void Field::destroy<TYPE_NAME>();
983
DECLARE_FUNCTION(TYPE_NULL)
984
DECLARE_FUNCTION(TYPE_TINYINT)
985
DECLARE_FUNCTION(TYPE_SMALLINT)
986
DECLARE_FUNCTION(TYPE_INT)
987
DECLARE_FUNCTION(TYPE_BIGINT)
988
DECLARE_FUNCTION(TYPE_LARGEINT)
989
DECLARE_FUNCTION(TYPE_DATE)
990
DECLARE_FUNCTION(TYPE_DATETIME)
991
DECLARE_FUNCTION(TYPE_DATEV2)
992
DECLARE_FUNCTION(TYPE_DATETIMEV2)
993
DECLARE_FUNCTION(TYPE_TIMESTAMPTZ)
994
DECLARE_FUNCTION(TYPE_DECIMAL32)
995
DECLARE_FUNCTION(TYPE_DECIMAL64)
996
DECLARE_FUNCTION(TYPE_DECIMALV2)
997
DECLARE_FUNCTION(TYPE_DECIMAL128I)
998
DECLARE_FUNCTION(TYPE_DECIMAL256)
999
DECLARE_FUNCTION(TYPE_CHAR)
1000
DECLARE_FUNCTION(TYPE_VARCHAR)
1001
DECLARE_FUNCTION(TYPE_STRING)
1002
DECLARE_FUNCTION(TYPE_VARBINARY)
1003
DECLARE_FUNCTION(TYPE_HLL)
1004
DECLARE_FUNCTION(TYPE_VARIANT)
1005
DECLARE_FUNCTION(TYPE_QUANTILE_STATE)
1006
DECLARE_FUNCTION(TYPE_ARRAY)
1007
DECLARE_FUNCTION(TYPE_TIME)
1008
DECLARE_FUNCTION(TYPE_IPV4)
1009
DECLARE_FUNCTION(TYPE_IPV6)
1010
DECLARE_FUNCTION(TYPE_BOOLEAN)
1011
DECLARE_FUNCTION(TYPE_FLOAT)
1012
DECLARE_FUNCTION(TYPE_DOUBLE)
1013
DECLARE_FUNCTION(TYPE_JSONB)
1014
DECLARE_FUNCTION(TYPE_STRUCT)
1015
DECLARE_FUNCTION(TYPE_MAP)
1016
DECLARE_FUNCTION(TYPE_BITMAP)
1017
DECLARE_FUNCTION(TYPE_TIMEV2)
1018
DECLARE_FUNCTION(TYPE_UINT32)
1019
DECLARE_FUNCTION(TYPE_UINT64)
1020
#undef DECLARE_FUNCTION
1021
} // namespace doris