Coverage Report

Created: 2026-09-17 09:20

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