Coverage Report

Created: 2026-04-16 11:29

next uncovered line (L), next uncovered region (R), next uncovered branch (B)
be/src/exprs/aggregate/aggregate_function_regr.h
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
18
#pragma once
19
20
#include <array>
21
#include <cmath>
22
#include <cstdint>
23
#include <limits>
24
#include <tuple>
25
#include <type_traits>
26
27
#include "core/assert_cast.h"
28
#include "core/column/column_nullable.h"
29
#include "core/column/column_vector.h"
30
#include "core/data_type/data_type.h"
31
#include "core/data_type/data_type_nullable.h"
32
#include "core/data_type/data_type_number.h"
33
#include "core/field.h"
34
#include "core/types.h"
35
#include "exprs/aggregate/aggregate_function.h"
36
37
namespace doris {
38
39
enum class RegrFunctionKind : uint8_t {
40
    regr_avgx,
41
    regr_avgy,
42
    regr_count,
43
    regr_slope,
44
    regr_intercept,
45
    regr_sxx,
46
    regr_syy,
47
    regr_sxy,
48
    regr_r2,
49
};
50
51
template <RegrFunctionKind kind>
52
struct RegrTraits;
53
54
template <>
55
struct RegrTraits<RegrFunctionKind::regr_avgx> {
56
    static constexpr auto name = "regr_avgx";
57
    static constexpr size_t sx_level = 1;
58
    static constexpr size_t sy_level = 0;
59
    static constexpr bool use_sxy = false;
60
};
61
62
template <>
63
struct RegrTraits<RegrFunctionKind::regr_avgy> {
64
    static constexpr auto name = "regr_avgy";
65
    static constexpr size_t sx_level = 0;
66
    static constexpr size_t sy_level = 1;
67
    static constexpr bool use_sxy = false;
68
};
69
70
template <>
71
struct RegrTraits<RegrFunctionKind::regr_count> {
72
    static constexpr auto name = "regr_count";
73
    static constexpr size_t sx_level = 0;
74
    static constexpr size_t sy_level = 0;
75
    static constexpr bool use_sxy = false;
76
};
77
78
template <>
79
struct RegrTraits<RegrFunctionKind::regr_slope> {
80
    static constexpr auto name = "regr_slope";
81
    static constexpr size_t sx_level = 2;
82
    static constexpr size_t sy_level = 1;
83
    static constexpr bool use_sxy = true;
84
};
85
86
template <>
87
struct RegrTraits<RegrFunctionKind::regr_intercept> {
88
    static constexpr auto name = "regr_intercept";
89
    static constexpr size_t sx_level = 2;
90
    // Keep `syy` to preserve regr_intercept's historical serialized state layout.
91
    static constexpr size_t sy_level = 2;
92
    static constexpr bool use_sxy = true;
93
};
94
95
template <>
96
struct RegrTraits<RegrFunctionKind::regr_sxx> {
97
    static constexpr auto name = "regr_sxx";
98
    static constexpr size_t sx_level = 2;
99
    static constexpr size_t sy_level = 0;
100
    static constexpr bool use_sxy = false;
101
};
102
103
template <>
104
struct RegrTraits<RegrFunctionKind::regr_syy> {
105
    static constexpr auto name = "regr_syy";
106
    static constexpr size_t sx_level = 0;
107
    static constexpr size_t sy_level = 2;
108
    static constexpr bool use_sxy = false;
109
};
110
111
template <>
112
struct RegrTraits<RegrFunctionKind::regr_sxy> {
113
    static constexpr auto name = "regr_sxy";
114
    static constexpr size_t sx_level = 1;
115
    static constexpr size_t sy_level = 1;
116
    static constexpr bool use_sxy = true;
117
};
118
119
template <>
120
struct RegrTraits<RegrFunctionKind::regr_r2> {
121
    static constexpr auto name = "regr_r2";
122
    static constexpr size_t sx_level = 2;
123
    static constexpr size_t sy_level = 2;
124
    static constexpr bool use_sxy = true;
125
};
126
127
template <PrimitiveType T, RegrFunctionKind kind>
128
struct AggregateFunctionRegrData {
129
    using Traits = RegrTraits<kind>;
130
    static constexpr PrimitiveType Type = T;
131
132
    static_assert(Traits::sx_level <= 2 && Traits::sy_level <= 2, "sx/sy level must be <= 2");
133
    static_assert(!Traits::use_sxy || (Traits::sx_level > 0 && Traits::sy_level > 0),
134
                  "sxy requires sx_level > 0 and sy_level > 0");
135
136
    static constexpr bool has_sx = Traits::sx_level > 0;
137
    static constexpr bool has_sy = Traits::sy_level > 0;
138
    static constexpr bool has_sxx = Traits::sx_level > 1;
139
    static constexpr bool has_syy = Traits::sy_level > 1;
140
    static constexpr bool has_sxy = Traits::use_sxy;
141
142
    static constexpr size_t k_num_moments = Traits::sx_level + Traits::sy_level + size_t {has_sxy};
143
    static constexpr bool has_moments = k_num_moments > 0;
144
    static_assert(k_num_moments <= 5, "Unexpected size of regr moment array");
145
146
    using State = std::conditional_t<has_moments,
147
                                     // (n, moments)
148
                                     std::tuple<UInt64, std::array<Float64, k_num_moments>>,
149
                                     // (n)
150
                                     std::tuple<UInt64>>;
151
152
    /**
153
     * The aggregate state stores:
154
     *     N   = count
155
     *
156
     * The following moments are stored only when enabled by RegrTraits<kind>:
157
     *     Sx  = sum(X)
158
     *     Sy  = sum(Y)
159
     *     Sxx = sum((X-Sx/N)^2)
160
     *     Syy = sum((Y-Sy/N)^2)
161
     *     Sxy = sum((X-Sx/N)*(Y-Sy/N))
162
     */
163
    State state {};
164
165
3.35k
    auto& moments() {
166
3.35k
        static_assert(has_moments, "moments not enabled");
167
3.35k
        return std::get<1>(state);
168
3.35k
    }
_ZN5doris25AggregateFunctionRegrDataILNS_13PrimitiveTypeE9ELNS_16RegrFunctionKindE0EE7momentsEv
Line
Count
Source
165
75
    auto& moments() {
166
75
        static_assert(has_moments, "moments not enabled");
167
75
        return std::get<1>(state);
168
75
    }
_ZN5doris25AggregateFunctionRegrDataILNS_13PrimitiveTypeE9ELNS_16RegrFunctionKindE1EE7momentsEv
Line
Count
Source
165
75
    auto& moments() {
166
75
        static_assert(has_moments, "moments not enabled");
167
75
        return std::get<1>(state);
168
75
    }
_ZN5doris25AggregateFunctionRegrDataILNS_13PrimitiveTypeE9ELNS_16RegrFunctionKindE3EE7momentsEv
Line
Count
Source
165
1.22k
    auto& moments() {
166
1.22k
        static_assert(has_moments, "moments not enabled");
167
1.22k
        return std::get<1>(state);
168
1.22k
    }
_ZN5doris25AggregateFunctionRegrDataILNS_13PrimitiveTypeE9ELNS_16RegrFunctionKindE4EE7momentsEv
Line
Count
Source
165
1.41k
    auto& moments() {
166
1.41k
        static_assert(has_moments, "moments not enabled");
167
1.41k
        return std::get<1>(state);
168
1.41k
    }
_ZN5doris25AggregateFunctionRegrDataILNS_13PrimitiveTypeE9ELNS_16RegrFunctionKindE5EE7momentsEv
Line
Count
Source
165
73
    auto& moments() {
166
73
        static_assert(has_moments, "moments not enabled");
167
73
        return std::get<1>(state);
168
73
    }
_ZN5doris25AggregateFunctionRegrDataILNS_13PrimitiveTypeE9ELNS_16RegrFunctionKindE6EE7momentsEv
Line
Count
Source
165
73
    auto& moments() {
166
73
        static_assert(has_moments, "moments not enabled");
167
73
        return std::get<1>(state);
168
73
    }
_ZN5doris25AggregateFunctionRegrDataILNS_13PrimitiveTypeE9ELNS_16RegrFunctionKindE7EE7momentsEv
Line
Count
Source
165
124
    auto& moments() {
166
124
        static_assert(has_moments, "moments not enabled");
167
124
        return std::get<1>(state);
168
124
    }
_ZN5doris25AggregateFunctionRegrDataILNS_13PrimitiveTypeE9ELNS_16RegrFunctionKindE8EE7momentsEv
Line
Count
Source
165
298
    auto& moments() {
166
298
        static_assert(has_moments, "moments not enabled");
167
298
        return std::get<1>(state);
168
298
    }
169
170
1.74k
    const auto& moments() const {
171
1.74k
        static_assert(has_moments, "moments not enabled");
172
1.74k
        return std::get<1>(state);
173
1.74k
    }
_ZNK5doris25AggregateFunctionRegrDataILNS_13PrimitiveTypeE9ELNS_16RegrFunctionKindE0EE7momentsEv
Line
Count
Source
170
37
    const auto& moments() const {
171
37
        static_assert(has_moments, "moments not enabled");
172
37
        return std::get<1>(state);
173
37
    }
_ZNK5doris25AggregateFunctionRegrDataILNS_13PrimitiveTypeE9ELNS_16RegrFunctionKindE1EE7momentsEv
Line
Count
Source
170
37
    const auto& moments() const {
171
37
        static_assert(has_moments, "moments not enabled");
172
37
        return std::get<1>(state);
173
37
    }
_ZNK5doris25AggregateFunctionRegrDataILNS_13PrimitiveTypeE9ELNS_16RegrFunctionKindE3EE7momentsEv
Line
Count
Source
170
656
    const auto& moments() const {
171
656
        static_assert(has_moments, "moments not enabled");
172
656
        return std::get<1>(state);
173
656
    }
_ZNK5doris25AggregateFunctionRegrDataILNS_13PrimitiveTypeE9ELNS_16RegrFunctionKindE4EE7momentsEv
Line
Count
Source
170
825
    const auto& moments() const {
171
825
        static_assert(has_moments, "moments not enabled");
172
825
        return std::get<1>(state);
173
825
    }
_ZNK5doris25AggregateFunctionRegrDataILNS_13PrimitiveTypeE9ELNS_16RegrFunctionKindE5EE7momentsEv
Line
Count
Source
170
28
    const auto& moments() const {
171
28
        static_assert(has_moments, "moments not enabled");
172
28
        return std::get<1>(state);
173
28
    }
_ZNK5doris25AggregateFunctionRegrDataILNS_13PrimitiveTypeE9ELNS_16RegrFunctionKindE6EE7momentsEv
Line
Count
Source
170
28
    const auto& moments() const {
171
28
        static_assert(has_moments, "moments not enabled");
172
28
        return std::get<1>(state);
173
28
    }
_ZNK5doris25AggregateFunctionRegrDataILNS_13PrimitiveTypeE9ELNS_16RegrFunctionKindE7EE7momentsEv
Line
Count
Source
170
35
    const auto& moments() const {
171
35
        static_assert(has_moments, "moments not enabled");
172
35
        return std::get<1>(state);
173
35
    }
_ZNK5doris25AggregateFunctionRegrDataILNS_13PrimitiveTypeE9ELNS_16RegrFunctionKindE8EE7momentsEv
Line
Count
Source
170
103
    const auto& moments() const {
171
103
        static_assert(has_moments, "moments not enabled");
172
103
        return std::get<1>(state);
173
103
    }
174
175
1.50k
    static constexpr size_t sx_index() {
176
1.50k
        static_assert(has_sx, "sx not enabled");
177
1.50k
        return 0;
178
1.50k
    }
_ZN5doris25AggregateFunctionRegrDataILNS_13PrimitiveTypeE9ELNS_16RegrFunctionKindE0EE8sx_indexEv
Line
Count
Source
175
112
    static constexpr size_t sx_index() {
176
112
        static_assert(has_sx, "sx not enabled");
177
112
        return 0;
178
112
    }
_ZN5doris25AggregateFunctionRegrDataILNS_13PrimitiveTypeE9ELNS_16RegrFunctionKindE3EE8sx_indexEv
Line
Count
Source
175
575
    static constexpr size_t sx_index() {
176
575
        static_assert(has_sx, "sx not enabled");
177
575
        return 0;
178
575
    }
_ZN5doris25AggregateFunctionRegrDataILNS_13PrimitiveTypeE9ELNS_16RegrFunctionKindE4EE8sx_indexEv
Line
Count
Source
175
603
    static constexpr size_t sx_index() {
176
603
        static_assert(has_sx, "sx not enabled");
177
603
        return 0;
178
603
    }
_ZN5doris25AggregateFunctionRegrDataILNS_13PrimitiveTypeE9ELNS_16RegrFunctionKindE5EE8sx_indexEv
Line
Count
Source
175
58
    static constexpr size_t sx_index() {
176
58
        static_assert(has_sx, "sx not enabled");
177
58
        return 0;
178
58
    }
_ZN5doris25AggregateFunctionRegrDataILNS_13PrimitiveTypeE9ELNS_16RegrFunctionKindE7EE8sx_indexEv
Line
Count
Source
175
58
    static constexpr size_t sx_index() {
176
58
        static_assert(has_sx, "sx not enabled");
177
58
        return 0;
178
58
    }
_ZN5doris25AggregateFunctionRegrDataILNS_13PrimitiveTypeE9ELNS_16RegrFunctionKindE8EE8sx_indexEv
Line
Count
Source
175
99
    static constexpr size_t sx_index() {
176
99
        static_assert(has_sx, "sx not enabled");
177
99
        return 0;
178
99
    }
179
180
1.50k
    static constexpr size_t sy_index() {
181
1.50k
        static_assert(has_sy, "sy not enabled");
182
1.50k
        return size_t {has_sx};
183
1.50k
    }
_ZN5doris25AggregateFunctionRegrDataILNS_13PrimitiveTypeE9ELNS_16RegrFunctionKindE1EE8sy_indexEv
Line
Count
Source
180
112
    static constexpr size_t sy_index() {
181
112
        static_assert(has_sy, "sy not enabled");
182
112
        return size_t {has_sx};
183
112
    }
_ZN5doris25AggregateFunctionRegrDataILNS_13PrimitiveTypeE9ELNS_16RegrFunctionKindE3EE8sy_indexEv
Line
Count
Source
180
575
    static constexpr size_t sy_index() {
181
575
        static_assert(has_sy, "sy not enabled");
182
575
        return size_t {has_sx};
183
575
    }
_ZN5doris25AggregateFunctionRegrDataILNS_13PrimitiveTypeE9ELNS_16RegrFunctionKindE4EE8sy_indexEv
Line
Count
Source
180
603
    static constexpr size_t sy_index() {
181
603
        static_assert(has_sy, "sy not enabled");
182
603
        return size_t {has_sx};
183
603
    }
_ZN5doris25AggregateFunctionRegrDataILNS_13PrimitiveTypeE9ELNS_16RegrFunctionKindE6EE8sy_indexEv
Line
Count
Source
180
58
    static constexpr size_t sy_index() {
181
58
        static_assert(has_sy, "sy not enabled");
182
58
        return size_t {has_sx};
183
58
    }
_ZN5doris25AggregateFunctionRegrDataILNS_13PrimitiveTypeE9ELNS_16RegrFunctionKindE7EE8sy_indexEv
Line
Count
Source
180
58
    static constexpr size_t sy_index() {
181
58
        static_assert(has_sy, "sy not enabled");
182
58
        return size_t {has_sx};
183
58
    }
_ZN5doris25AggregateFunctionRegrDataILNS_13PrimitiveTypeE9ELNS_16RegrFunctionKindE8EE8sy_indexEv
Line
Count
Source
180
99
    static constexpr size_t sy_index() {
181
99
        static_assert(has_sy, "sy not enabled");
182
99
        return size_t {has_sx};
183
99
    }
184
185
908
    static constexpr size_t sxx_index() {
186
908
        static_assert(has_sxx, "sxx not enabled");
187
908
        return size_t {has_sx + has_sy};
188
908
    }
_ZN5doris25AggregateFunctionRegrDataILNS_13PrimitiveTypeE9ELNS_16RegrFunctionKindE3EE9sxx_indexEv
Line
Count
Source
185
395
    static constexpr size_t sxx_index() {
186
395
        static_assert(has_sxx, "sxx not enabled");
187
395
        return size_t {has_sx + has_sy};
188
395
    }
_ZN5doris25AggregateFunctionRegrDataILNS_13PrimitiveTypeE9ELNS_16RegrFunctionKindE4EE9sxx_indexEv
Line
Count
Source
185
395
    static constexpr size_t sxx_index() {
186
395
        static_assert(has_sxx, "sxx not enabled");
187
395
        return size_t {has_sx + has_sy};
188
395
    }
_ZN5doris25AggregateFunctionRegrDataILNS_13PrimitiveTypeE9ELNS_16RegrFunctionKindE5EE9sxx_indexEv
Line
Count
Source
185
43
    static constexpr size_t sxx_index() {
186
43
        static_assert(has_sxx, "sxx not enabled");
187
43
        return size_t {has_sx + has_sy};
188
43
    }
_ZN5doris25AggregateFunctionRegrDataILNS_13PrimitiveTypeE9ELNS_16RegrFunctionKindE8EE9sxx_indexEv
Line
Count
Source
185
75
    static constexpr size_t sxx_index() {
186
75
        static_assert(has_sxx, "sxx not enabled");
187
75
        return size_t {has_sx + has_sy};
188
75
    }
189
190
414
    static constexpr size_t syy_index() {
191
414
        static_assert(has_syy, "syy not enabled");
192
414
        return size_t {has_sx + has_sy + has_sxx};
193
414
    }
_ZN5doris25AggregateFunctionRegrDataILNS_13PrimitiveTypeE9ELNS_16RegrFunctionKindE4EE9syy_indexEv
Line
Count
Source
190
305
    static constexpr size_t syy_index() {
191
305
        static_assert(has_syy, "syy not enabled");
192
305
        return size_t {has_sx + has_sy + has_sxx};
193
305
    }
_ZN5doris25AggregateFunctionRegrDataILNS_13PrimitiveTypeE9ELNS_16RegrFunctionKindE6EE9syy_indexEv
Line
Count
Source
190
43
    static constexpr size_t syy_index() {
191
43
        static_assert(has_syy, "syy not enabled");
192
43
        return size_t {has_sx + has_sy + has_sxx};
193
43
    }
_ZN5doris25AggregateFunctionRegrDataILNS_13PrimitiveTypeE9ELNS_16RegrFunctionKindE8EE9syy_indexEv
Line
Count
Source
190
66
    static constexpr size_t syy_index() {
191
66
        static_assert(has_syy, "syy not enabled");
192
66
        return size_t {has_sx + has_sy + has_sxx};
193
66
    }
194
195
771
    static constexpr size_t sxy_index() {
196
771
        static_assert(has_sxy, "sxy not enabled");
197
771
        return size_t {has_sx + has_sy + has_sxx + has_syy};
198
771
    }
_ZN5doris25AggregateFunctionRegrDataILNS_13PrimitiveTypeE9ELNS_16RegrFunctionKindE3EE9sxy_indexEv
Line
Count
Source
195
333
    static constexpr size_t sxy_index() {
196
333
        static_assert(has_sxy, "sxy not enabled");
197
333
        return size_t {has_sx + has_sy + has_sxx + has_syy};
198
333
    }
_ZN5doris25AggregateFunctionRegrDataILNS_13PrimitiveTypeE9ELNS_16RegrFunctionKindE4EE9sxy_indexEv
Line
Count
Source
195
333
    static constexpr size_t sxy_index() {
196
333
        static_assert(has_sxy, "sxy not enabled");
197
333
        return size_t {has_sx + has_sy + has_sxx + has_syy};
198
333
    }
_ZN5doris25AggregateFunctionRegrDataILNS_13PrimitiveTypeE9ELNS_16RegrFunctionKindE7EE9sxy_indexEv
Line
Count
Source
195
43
    static constexpr size_t sxy_index() {
196
43
        static_assert(has_sxy, "sxy not enabled");
197
43
        return size_t {has_sx + has_sy + has_sxx + has_syy};
198
43
    }
_ZN5doris25AggregateFunctionRegrDataILNS_13PrimitiveTypeE9ELNS_16RegrFunctionKindE8EE9sxy_indexEv
Line
Count
Source
195
62
    static constexpr size_t sxy_index() {
196
62
        static_assert(has_sxy, "sxy not enabled");
197
62
        return size_t {has_sx + has_sy + has_sxx + has_syy};
198
62
    }
199
200
2.29k
    UInt64& n() { return std::get<0>(state); }
_ZN5doris25AggregateFunctionRegrDataILNS_13PrimitiveTypeE9ELNS_16RegrFunctionKindE0EE1nEv
Line
Count
Source
200
182
    UInt64& n() { return std::get<0>(state); }
_ZN5doris25AggregateFunctionRegrDataILNS_13PrimitiveTypeE9ELNS_16RegrFunctionKindE1EE1nEv
Line
Count
Source
200
182
    UInt64& n() { return std::get<0>(state); }
_ZN5doris25AggregateFunctionRegrDataILNS_13PrimitiveTypeE9ELNS_16RegrFunctionKindE2EE1nEv
Line
Count
Source
200
182
    UInt64& n() { return std::get<0>(state); }
_ZN5doris25AggregateFunctionRegrDataILNS_13PrimitiveTypeE9ELNS_16RegrFunctionKindE3EE1nEv
Line
Count
Source
200
673
    UInt64& n() { return std::get<0>(state); }
_ZN5doris25AggregateFunctionRegrDataILNS_13PrimitiveTypeE9ELNS_16RegrFunctionKindE4EE1nEv
Line
Count
Source
200
673
    UInt64& n() { return std::get<0>(state); }
_ZN5doris25AggregateFunctionRegrDataILNS_13PrimitiveTypeE9ELNS_16RegrFunctionKindE5EE1nEv
Line
Count
Source
200
86
    UInt64& n() { return std::get<0>(state); }
_ZN5doris25AggregateFunctionRegrDataILNS_13PrimitiveTypeE9ELNS_16RegrFunctionKindE6EE1nEv
Line
Count
Source
200
86
    UInt64& n() { return std::get<0>(state); }
_ZN5doris25AggregateFunctionRegrDataILNS_13PrimitiveTypeE9ELNS_16RegrFunctionKindE7EE1nEv
Line
Count
Source
200
86
    UInt64& n() { return std::get<0>(state); }
_ZN5doris25AggregateFunctionRegrDataILNS_13PrimitiveTypeE9ELNS_16RegrFunctionKindE8EE1nEv
Line
Count
Source
200
146
    UInt64& n() { return std::get<0>(state); }
201
1.10k
    Float64& sx() { return moments()[sx_index()]; }
_ZN5doris25AggregateFunctionRegrDataILNS_13PrimitiveTypeE9ELNS_16RegrFunctionKindE0EE2sxEv
Line
Count
Source
201
75
    Float64& sx() { return moments()[sx_index()]; }
_ZN5doris25AggregateFunctionRegrDataILNS_13PrimitiveTypeE9ELNS_16RegrFunctionKindE3EE2sxEv
Line
Count
Source
201
419
    Float64& sx() { return moments()[sx_index()]; }
_ZN5doris25AggregateFunctionRegrDataILNS_13PrimitiveTypeE9ELNS_16RegrFunctionKindE4EE2sxEv
Line
Count
Source
201
419
    Float64& sx() { return moments()[sx_index()]; }
_ZN5doris25AggregateFunctionRegrDataILNS_13PrimitiveTypeE9ELNS_16RegrFunctionKindE5EE2sxEv
Line
Count
Source
201
51
    Float64& sx() { return moments()[sx_index()]; }
_ZN5doris25AggregateFunctionRegrDataILNS_13PrimitiveTypeE9ELNS_16RegrFunctionKindE7EE2sxEv
Line
Count
Source
201
51
    Float64& sx() { return moments()[sx_index()]; }
_ZN5doris25AggregateFunctionRegrDataILNS_13PrimitiveTypeE9ELNS_16RegrFunctionKindE8EE2sxEv
Line
Count
Source
201
89
    Float64& sx() { return moments()[sx_index()]; }
202
1.10k
    Float64& sy() { return moments()[sy_index()]; }
_ZN5doris25AggregateFunctionRegrDataILNS_13PrimitiveTypeE9ELNS_16RegrFunctionKindE1EE2syEv
Line
Count
Source
202
75
    Float64& sy() { return moments()[sy_index()]; }
_ZN5doris25AggregateFunctionRegrDataILNS_13PrimitiveTypeE9ELNS_16RegrFunctionKindE3EE2syEv
Line
Count
Source
202
419
    Float64& sy() { return moments()[sy_index()]; }
_ZN5doris25AggregateFunctionRegrDataILNS_13PrimitiveTypeE9ELNS_16RegrFunctionKindE4EE2syEv
Line
Count
Source
202
419
    Float64& sy() { return moments()[sy_index()]; }
_ZN5doris25AggregateFunctionRegrDataILNS_13PrimitiveTypeE9ELNS_16RegrFunctionKindE6EE2syEv
Line
Count
Source
202
51
    Float64& sy() { return moments()[sy_index()]; }
_ZN5doris25AggregateFunctionRegrDataILNS_13PrimitiveTypeE9ELNS_16RegrFunctionKindE7EE2syEv
Line
Count
Source
202
51
    Float64& sy() { return moments()[sy_index()]; }
_ZN5doris25AggregateFunctionRegrDataILNS_13PrimitiveTypeE9ELNS_16RegrFunctionKindE8EE2syEv
Line
Count
Source
202
89
    Float64& sy() { return moments()[sy_index()]; }
203
446
    Float64& sxx() { return moments()[sxx_index()]; }
_ZN5doris25AggregateFunctionRegrDataILNS_13PrimitiveTypeE9ELNS_16RegrFunctionKindE3EE3sxxEv
Line
Count
Source
203
192
    Float64& sxx() { return moments()[sxx_index()]; }
_ZN5doris25AggregateFunctionRegrDataILNS_13PrimitiveTypeE9ELNS_16RegrFunctionKindE4EE3sxxEv
Line
Count
Source
203
192
    Float64& sxx() { return moments()[sxx_index()]; }
_ZN5doris25AggregateFunctionRegrDataILNS_13PrimitiveTypeE9ELNS_16RegrFunctionKindE5EE3sxxEv
Line
Count
Source
203
22
    Float64& sxx() { return moments()[sxx_index()]; }
_ZN5doris25AggregateFunctionRegrDataILNS_13PrimitiveTypeE9ELNS_16RegrFunctionKindE8EE3sxxEv
Line
Count
Source
203
40
    Float64& sxx() { return moments()[sxx_index()]; }
204
254
    Float64& syy() { return moments()[syy_index()]; }
_ZN5doris25AggregateFunctionRegrDataILNS_13PrimitiveTypeE9ELNS_16RegrFunctionKindE4EE3syyEv
Line
Count
Source
204
192
    Float64& syy() { return moments()[syy_index()]; }
_ZN5doris25AggregateFunctionRegrDataILNS_13PrimitiveTypeE9ELNS_16RegrFunctionKindE6EE3syyEv
Line
Count
Source
204
22
    Float64& syy() { return moments()[syy_index()]; }
_ZN5doris25AggregateFunctionRegrDataILNS_13PrimitiveTypeE9ELNS_16RegrFunctionKindE8EE3syyEv
Line
Count
Source
204
40
    Float64& syy() { return moments()[syy_index()]; }
205
446
    Float64& sxy() { return moments()[sxy_index()]; }
_ZN5doris25AggregateFunctionRegrDataILNS_13PrimitiveTypeE9ELNS_16RegrFunctionKindE3EE3sxyEv
Line
Count
Source
205
192
    Float64& sxy() { return moments()[sxy_index()]; }
_ZN5doris25AggregateFunctionRegrDataILNS_13PrimitiveTypeE9ELNS_16RegrFunctionKindE4EE3sxyEv
Line
Count
Source
205
192
    Float64& sxy() { return moments()[sxy_index()]; }
_ZN5doris25AggregateFunctionRegrDataILNS_13PrimitiveTypeE9ELNS_16RegrFunctionKindE7EE3sxyEv
Line
Count
Source
205
22
    Float64& sxy() { return moments()[sxy_index()]; }
_ZN5doris25AggregateFunctionRegrDataILNS_13PrimitiveTypeE9ELNS_16RegrFunctionKindE8EE3sxyEv
Line
Count
Source
205
40
    Float64& sxy() { return moments()[sxy_index()]; }
206
207
970
    const UInt64& n() const { return std::get<0>(state); }
_ZNK5doris25AggregateFunctionRegrDataILNS_13PrimitiveTypeE9ELNS_16RegrFunctionKindE0EE1nEv
Line
Count
Source
207
79
    const UInt64& n() const { return std::get<0>(state); }
_ZNK5doris25AggregateFunctionRegrDataILNS_13PrimitiveTypeE9ELNS_16RegrFunctionKindE1EE1nEv
Line
Count
Source
207
79
    const UInt64& n() const { return std::get<0>(state); }
_ZNK5doris25AggregateFunctionRegrDataILNS_13PrimitiveTypeE9ELNS_16RegrFunctionKindE2EE1nEv
Line
Count
Source
207
60
    const UInt64& n() const { return std::get<0>(state); }
_ZNK5doris25AggregateFunctionRegrDataILNS_13PrimitiveTypeE9ELNS_16RegrFunctionKindE3EE1nEv
Line
Count
Source
207
291
    const UInt64& n() const { return std::get<0>(state); }
_ZNK5doris25AggregateFunctionRegrDataILNS_13PrimitiveTypeE9ELNS_16RegrFunctionKindE4EE1nEv
Line
Count
Source
207
319
    const UInt64& n() const { return std::get<0>(state); }
_ZNK5doris25AggregateFunctionRegrDataILNS_13PrimitiveTypeE9ELNS_16RegrFunctionKindE5EE1nEv
Line
Count
Source
207
32
    const UInt64& n() const { return std::get<0>(state); }
_ZNK5doris25AggregateFunctionRegrDataILNS_13PrimitiveTypeE9ELNS_16RegrFunctionKindE6EE1nEv
Line
Count
Source
207
32
    const UInt64& n() const { return std::get<0>(state); }
_ZNK5doris25AggregateFunctionRegrDataILNS_13PrimitiveTypeE9ELNS_16RegrFunctionKindE7EE1nEv
Line
Count
Source
207
32
    const UInt64& n() const { return std::get<0>(state); }
_ZNK5doris25AggregateFunctionRegrDataILNS_13PrimitiveTypeE9ELNS_16RegrFunctionKindE8EE1nEv
Line
Count
Source
207
46
    const UInt64& n() const { return std::get<0>(state); }
208
401
    const Float64& sx() const { return moments()[sx_index()]; }
_ZNK5doris25AggregateFunctionRegrDataILNS_13PrimitiveTypeE9ELNS_16RegrFunctionKindE0EE2sxEv
Line
Count
Source
208
37
    const Float64& sx() const { return moments()[sx_index()]; }
_ZNK5doris25AggregateFunctionRegrDataILNS_13PrimitiveTypeE9ELNS_16RegrFunctionKindE3EE2sxEv
Line
Count
Source
208
156
    const Float64& sx() const { return moments()[sx_index()]; }
_ZNK5doris25AggregateFunctionRegrDataILNS_13PrimitiveTypeE9ELNS_16RegrFunctionKindE4EE2sxEv
Line
Count
Source
208
184
    const Float64& sx() const { return moments()[sx_index()]; }
_ZNK5doris25AggregateFunctionRegrDataILNS_13PrimitiveTypeE9ELNS_16RegrFunctionKindE5EE2sxEv
Line
Count
Source
208
7
    const Float64& sx() const { return moments()[sx_index()]; }
_ZNK5doris25AggregateFunctionRegrDataILNS_13PrimitiveTypeE9ELNS_16RegrFunctionKindE7EE2sxEv
Line
Count
Source
208
7
    const Float64& sx() const { return moments()[sx_index()]; }
_ZNK5doris25AggregateFunctionRegrDataILNS_13PrimitiveTypeE9ELNS_16RegrFunctionKindE8EE2sxEv
Line
Count
Source
208
10
    const Float64& sx() const { return moments()[sx_index()]; }
209
401
    const Float64& sy() const { return moments()[sy_index()]; }
_ZNK5doris25AggregateFunctionRegrDataILNS_13PrimitiveTypeE9ELNS_16RegrFunctionKindE1EE2syEv
Line
Count
Source
209
37
    const Float64& sy() const { return moments()[sy_index()]; }
_ZNK5doris25AggregateFunctionRegrDataILNS_13PrimitiveTypeE9ELNS_16RegrFunctionKindE3EE2syEv
Line
Count
Source
209
156
    const Float64& sy() const { return moments()[sy_index()]; }
_ZNK5doris25AggregateFunctionRegrDataILNS_13PrimitiveTypeE9ELNS_16RegrFunctionKindE4EE2syEv
Line
Count
Source
209
184
    const Float64& sy() const { return moments()[sy_index()]; }
_ZNK5doris25AggregateFunctionRegrDataILNS_13PrimitiveTypeE9ELNS_16RegrFunctionKindE6EE2syEv
Line
Count
Source
209
7
    const Float64& sy() const { return moments()[sy_index()]; }
_ZNK5doris25AggregateFunctionRegrDataILNS_13PrimitiveTypeE9ELNS_16RegrFunctionKindE7EE2syEv
Line
Count
Source
209
7
    const Float64& sy() const { return moments()[sy_index()]; }
_ZNK5doris25AggregateFunctionRegrDataILNS_13PrimitiveTypeE9ELNS_16RegrFunctionKindE8EE2syEv
Line
Count
Source
209
10
    const Float64& sy() const { return moments()[sy_index()]; }
210
462
    const Float64& sxx() const { return moments()[sxx_index()]; }
_ZNK5doris25AggregateFunctionRegrDataILNS_13PrimitiveTypeE9ELNS_16RegrFunctionKindE3EE3sxxEv
Line
Count
Source
210
203
    const Float64& sxx() const { return moments()[sxx_index()]; }
_ZNK5doris25AggregateFunctionRegrDataILNS_13PrimitiveTypeE9ELNS_16RegrFunctionKindE4EE3sxxEv
Line
Count
Source
210
203
    const Float64& sxx() const { return moments()[sxx_index()]; }
_ZNK5doris25AggregateFunctionRegrDataILNS_13PrimitiveTypeE9ELNS_16RegrFunctionKindE5EE3sxxEv
Line
Count
Source
210
21
    const Float64& sxx() const { return moments()[sxx_index()]; }
_ZNK5doris25AggregateFunctionRegrDataILNS_13PrimitiveTypeE9ELNS_16RegrFunctionKindE8EE3sxxEv
Line
Count
Source
210
35
    const Float64& sxx() const { return moments()[sxx_index()]; }
211
160
    const Float64& syy() const { return moments()[syy_index()]; }
_ZNK5doris25AggregateFunctionRegrDataILNS_13PrimitiveTypeE9ELNS_16RegrFunctionKindE4EE3syyEv
Line
Count
Source
211
113
    const Float64& syy() const { return moments()[syy_index()]; }
_ZNK5doris25AggregateFunctionRegrDataILNS_13PrimitiveTypeE9ELNS_16RegrFunctionKindE6EE3syyEv
Line
Count
Source
211
21
    const Float64& syy() const { return moments()[syy_index()]; }
_ZNK5doris25AggregateFunctionRegrDataILNS_13PrimitiveTypeE9ELNS_16RegrFunctionKindE8EE3syyEv
Line
Count
Source
211
26
    const Float64& syy() const { return moments()[syy_index()]; }
212
325
    const Float64& sxy() const { return moments()[sxy_index()]; }
_ZNK5doris25AggregateFunctionRegrDataILNS_13PrimitiveTypeE9ELNS_16RegrFunctionKindE3EE3sxyEv
Line
Count
Source
212
141
    const Float64& sxy() const { return moments()[sxy_index()]; }
_ZNK5doris25AggregateFunctionRegrDataILNS_13PrimitiveTypeE9ELNS_16RegrFunctionKindE4EE3sxyEv
Line
Count
Source
212
141
    const Float64& sxy() const { return moments()[sxy_index()]; }
_ZNK5doris25AggregateFunctionRegrDataILNS_13PrimitiveTypeE9ELNS_16RegrFunctionKindE7EE3sxyEv
Line
Count
Source
212
21
    const Float64& sxy() const { return moments()[sxy_index()]; }
_ZNK5doris25AggregateFunctionRegrDataILNS_13PrimitiveTypeE9ELNS_16RegrFunctionKindE8EE3sxyEv
Line
Count
Source
212
22
    const Float64& sxy() const { return moments()[sxy_index()]; }
213
214
213
    void write(BufferWritable& buf) const {
215
213
        if constexpr (has_sx) {
216
178
            buf.write_binary(sx());
217
178
        }
218
213
        if constexpr (has_sy) {
219
178
            buf.write_binary(sy());
220
178
        }
221
213
        if constexpr (has_sxx) {
222
157
            buf.write_binary(sxx());
223
157
        }
224
213
        if constexpr (has_syy) {
225
87
            buf.write_binary(syy());
226
87
        }
227
213
        if constexpr (has_sxy) {
228
157
            buf.write_binary(sxy());
229
157
        }
230
213
        buf.write_binary(n());
231
213
    }
_ZNK5doris25AggregateFunctionRegrDataILNS_13PrimitiveTypeE9ELNS_16RegrFunctionKindE0EE5writeERNS_14BufferWritableE
Line
Count
Source
214
14
    void write(BufferWritable& buf) const {
215
14
        if constexpr (has_sx) {
216
14
            buf.write_binary(sx());
217
14
        }
218
        if constexpr (has_sy) {
219
            buf.write_binary(sy());
220
        }
221
        if constexpr (has_sxx) {
222
            buf.write_binary(sxx());
223
        }
224
        if constexpr (has_syy) {
225
            buf.write_binary(syy());
226
        }
227
        if constexpr (has_sxy) {
228
            buf.write_binary(sxy());
229
        }
230
14
        buf.write_binary(n());
231
14
    }
_ZNK5doris25AggregateFunctionRegrDataILNS_13PrimitiveTypeE9ELNS_16RegrFunctionKindE1EE5writeERNS_14BufferWritableE
Line
Count
Source
214
14
    void write(BufferWritable& buf) const {
215
        if constexpr (has_sx) {
216
            buf.write_binary(sx());
217
        }
218
14
        if constexpr (has_sy) {
219
14
            buf.write_binary(sy());
220
14
        }
221
        if constexpr (has_sxx) {
222
            buf.write_binary(sxx());
223
        }
224
        if constexpr (has_syy) {
225
            buf.write_binary(syy());
226
        }
227
        if constexpr (has_sxy) {
228
            buf.write_binary(sxy());
229
        }
230
14
        buf.write_binary(n());
231
14
    }
_ZNK5doris25AggregateFunctionRegrDataILNS_13PrimitiveTypeE9ELNS_16RegrFunctionKindE2EE5writeERNS_14BufferWritableE
Line
Count
Source
214
14
    void write(BufferWritable& buf) const {
215
        if constexpr (has_sx) {
216
            buf.write_binary(sx());
217
        }
218
        if constexpr (has_sy) {
219
            buf.write_binary(sy());
220
        }
221
        if constexpr (has_sxx) {
222
            buf.write_binary(sxx());
223
        }
224
        if constexpr (has_syy) {
225
            buf.write_binary(syy());
226
        }
227
        if constexpr (has_sxy) {
228
            buf.write_binary(sxy());
229
        }
230
14
        buf.write_binary(n());
231
14
    }
_ZNK5doris25AggregateFunctionRegrDataILNS_13PrimitiveTypeE9ELNS_16RegrFunctionKindE3EE5writeERNS_14BufferWritableE
Line
Count
Source
214
70
    void write(BufferWritable& buf) const {
215
70
        if constexpr (has_sx) {
216
70
            buf.write_binary(sx());
217
70
        }
218
70
        if constexpr (has_sy) {
219
70
            buf.write_binary(sy());
220
70
        }
221
70
        if constexpr (has_sxx) {
222
70
            buf.write_binary(sxx());
223
70
        }
224
        if constexpr (has_syy) {
225
            buf.write_binary(syy());
226
        }
227
70
        if constexpr (has_sxy) {
228
70
            buf.write_binary(sxy());
229
70
        }
230
70
        buf.write_binary(n());
231
70
    }
_ZNK5doris25AggregateFunctionRegrDataILNS_13PrimitiveTypeE9ELNS_16RegrFunctionKindE4EE5writeERNS_14BufferWritableE
Line
Count
Source
214
70
    void write(BufferWritable& buf) const {
215
70
        if constexpr (has_sx) {
216
70
            buf.write_binary(sx());
217
70
        }
218
70
        if constexpr (has_sy) {
219
70
            buf.write_binary(sy());
220
70
        }
221
70
        if constexpr (has_sxx) {
222
70
            buf.write_binary(sxx());
223
70
        }
224
70
        if constexpr (has_syy) {
225
70
            buf.write_binary(syy());
226
70
        }
227
70
        if constexpr (has_sxy) {
228
70
            buf.write_binary(sxy());
229
70
        }
230
70
        buf.write_binary(n());
231
70
    }
_ZNK5doris25AggregateFunctionRegrDataILNS_13PrimitiveTypeE9ELNS_16RegrFunctionKindE5EE5writeERNS_14BufferWritableE
Line
Count
Source
214
7
    void write(BufferWritable& buf) const {
215
7
        if constexpr (has_sx) {
216
7
            buf.write_binary(sx());
217
7
        }
218
        if constexpr (has_sy) {
219
            buf.write_binary(sy());
220
        }
221
7
        if constexpr (has_sxx) {
222
7
            buf.write_binary(sxx());
223
7
        }
224
        if constexpr (has_syy) {
225
            buf.write_binary(syy());
226
        }
227
        if constexpr (has_sxy) {
228
            buf.write_binary(sxy());
229
        }
230
7
        buf.write_binary(n());
231
7
    }
_ZNK5doris25AggregateFunctionRegrDataILNS_13PrimitiveTypeE9ELNS_16RegrFunctionKindE6EE5writeERNS_14BufferWritableE
Line
Count
Source
214
7
    void write(BufferWritable& buf) const {
215
        if constexpr (has_sx) {
216
            buf.write_binary(sx());
217
        }
218
7
        if constexpr (has_sy) {
219
7
            buf.write_binary(sy());
220
7
        }
221
        if constexpr (has_sxx) {
222
            buf.write_binary(sxx());
223
        }
224
7
        if constexpr (has_syy) {
225
7
            buf.write_binary(syy());
226
7
        }
227
        if constexpr (has_sxy) {
228
            buf.write_binary(sxy());
229
        }
230
7
        buf.write_binary(n());
231
7
    }
_ZNK5doris25AggregateFunctionRegrDataILNS_13PrimitiveTypeE9ELNS_16RegrFunctionKindE7EE5writeERNS_14BufferWritableE
Line
Count
Source
214
7
    void write(BufferWritable& buf) const {
215
7
        if constexpr (has_sx) {
216
7
            buf.write_binary(sx());
217
7
        }
218
7
        if constexpr (has_sy) {
219
7
            buf.write_binary(sy());
220
7
        }
221
        if constexpr (has_sxx) {
222
            buf.write_binary(sxx());
223
        }
224
        if constexpr (has_syy) {
225
            buf.write_binary(syy());
226
        }
227
7
        if constexpr (has_sxy) {
228
7
            buf.write_binary(sxy());
229
7
        }
230
7
        buf.write_binary(n());
231
7
    }
_ZNK5doris25AggregateFunctionRegrDataILNS_13PrimitiveTypeE9ELNS_16RegrFunctionKindE8EE5writeERNS_14BufferWritableE
Line
Count
Source
214
10
    void write(BufferWritable& buf) const {
215
10
        if constexpr (has_sx) {
216
10
            buf.write_binary(sx());
217
10
        }
218
10
        if constexpr (has_sy) {
219
10
            buf.write_binary(sy());
220
10
        }
221
10
        if constexpr (has_sxx) {
222
10
            buf.write_binary(sxx());
223
10
        }
224
10
        if constexpr (has_syy) {
225
10
            buf.write_binary(syy());
226
10
        }
227
10
        if constexpr (has_sxy) {
228
10
            buf.write_binary(sxy());
229
10
        }
230
10
        buf.write_binary(n());
231
10
    }
232
233
213
    void read(BufferReadable& buf) {
234
213
        if constexpr (has_sx) {
235
178
            buf.read_binary(sx());
236
178
        }
237
213
        if constexpr (has_sy) {
238
178
            buf.read_binary(sy());
239
178
        }
240
213
        if constexpr (has_sxx) {
241
157
            buf.read_binary(sxx());
242
157
        }
243
213
        if constexpr (has_syy) {
244
87
            buf.read_binary(syy());
245
87
        }
246
213
        if constexpr (has_sxy) {
247
157
            buf.read_binary(sxy());
248
157
        }
249
213
        buf.read_binary(n());
250
213
    }
_ZN5doris25AggregateFunctionRegrDataILNS_13PrimitiveTypeE9ELNS_16RegrFunctionKindE0EE4readERNS_14BufferReadableE
Line
Count
Source
233
14
    void read(BufferReadable& buf) {
234
14
        if constexpr (has_sx) {
235
14
            buf.read_binary(sx());
236
14
        }
237
        if constexpr (has_sy) {
238
            buf.read_binary(sy());
239
        }
240
        if constexpr (has_sxx) {
241
            buf.read_binary(sxx());
242
        }
243
        if constexpr (has_syy) {
244
            buf.read_binary(syy());
245
        }
246
        if constexpr (has_sxy) {
247
            buf.read_binary(sxy());
248
        }
249
14
        buf.read_binary(n());
250
14
    }
_ZN5doris25AggregateFunctionRegrDataILNS_13PrimitiveTypeE9ELNS_16RegrFunctionKindE1EE4readERNS_14BufferReadableE
Line
Count
Source
233
14
    void read(BufferReadable& buf) {
234
        if constexpr (has_sx) {
235
            buf.read_binary(sx());
236
        }
237
14
        if constexpr (has_sy) {
238
14
            buf.read_binary(sy());
239
14
        }
240
        if constexpr (has_sxx) {
241
            buf.read_binary(sxx());
242
        }
243
        if constexpr (has_syy) {
244
            buf.read_binary(syy());
245
        }
246
        if constexpr (has_sxy) {
247
            buf.read_binary(sxy());
248
        }
249
14
        buf.read_binary(n());
250
14
    }
_ZN5doris25AggregateFunctionRegrDataILNS_13PrimitiveTypeE9ELNS_16RegrFunctionKindE2EE4readERNS_14BufferReadableE
Line
Count
Source
233
14
    void read(BufferReadable& buf) {
234
        if constexpr (has_sx) {
235
            buf.read_binary(sx());
236
        }
237
        if constexpr (has_sy) {
238
            buf.read_binary(sy());
239
        }
240
        if constexpr (has_sxx) {
241
            buf.read_binary(sxx());
242
        }
243
        if constexpr (has_syy) {
244
            buf.read_binary(syy());
245
        }
246
        if constexpr (has_sxy) {
247
            buf.read_binary(sxy());
248
        }
249
14
        buf.read_binary(n());
250
14
    }
_ZN5doris25AggregateFunctionRegrDataILNS_13PrimitiveTypeE9ELNS_16RegrFunctionKindE3EE4readERNS_14BufferReadableE
Line
Count
Source
233
70
    void read(BufferReadable& buf) {
234
70
        if constexpr (has_sx) {
235
70
            buf.read_binary(sx());
236
70
        }
237
70
        if constexpr (has_sy) {
238
70
            buf.read_binary(sy());
239
70
        }
240
70
        if constexpr (has_sxx) {
241
70
            buf.read_binary(sxx());
242
70
        }
243
        if constexpr (has_syy) {
244
            buf.read_binary(syy());
245
        }
246
70
        if constexpr (has_sxy) {
247
70
            buf.read_binary(sxy());
248
70
        }
249
70
        buf.read_binary(n());
250
70
    }
_ZN5doris25AggregateFunctionRegrDataILNS_13PrimitiveTypeE9ELNS_16RegrFunctionKindE4EE4readERNS_14BufferReadableE
Line
Count
Source
233
70
    void read(BufferReadable& buf) {
234
70
        if constexpr (has_sx) {
235
70
            buf.read_binary(sx());
236
70
        }
237
70
        if constexpr (has_sy) {
238
70
            buf.read_binary(sy());
239
70
        }
240
70
        if constexpr (has_sxx) {
241
70
            buf.read_binary(sxx());
242
70
        }
243
70
        if constexpr (has_syy) {
244
70
            buf.read_binary(syy());
245
70
        }
246
70
        if constexpr (has_sxy) {
247
70
            buf.read_binary(sxy());
248
70
        }
249
70
        buf.read_binary(n());
250
70
    }
_ZN5doris25AggregateFunctionRegrDataILNS_13PrimitiveTypeE9ELNS_16RegrFunctionKindE5EE4readERNS_14BufferReadableE
Line
Count
Source
233
7
    void read(BufferReadable& buf) {
234
7
        if constexpr (has_sx) {
235
7
            buf.read_binary(sx());
236
7
        }
237
        if constexpr (has_sy) {
238
            buf.read_binary(sy());
239
        }
240
7
        if constexpr (has_sxx) {
241
7
            buf.read_binary(sxx());
242
7
        }
243
        if constexpr (has_syy) {
244
            buf.read_binary(syy());
245
        }
246
        if constexpr (has_sxy) {
247
            buf.read_binary(sxy());
248
        }
249
7
        buf.read_binary(n());
250
7
    }
_ZN5doris25AggregateFunctionRegrDataILNS_13PrimitiveTypeE9ELNS_16RegrFunctionKindE6EE4readERNS_14BufferReadableE
Line
Count
Source
233
7
    void read(BufferReadable& buf) {
234
        if constexpr (has_sx) {
235
            buf.read_binary(sx());
236
        }
237
7
        if constexpr (has_sy) {
238
7
            buf.read_binary(sy());
239
7
        }
240
        if constexpr (has_sxx) {
241
            buf.read_binary(sxx());
242
        }
243
7
        if constexpr (has_syy) {
244
7
            buf.read_binary(syy());
245
7
        }
246
        if constexpr (has_sxy) {
247
            buf.read_binary(sxy());
248
        }
249
7
        buf.read_binary(n());
250
7
    }
_ZN5doris25AggregateFunctionRegrDataILNS_13PrimitiveTypeE9ELNS_16RegrFunctionKindE7EE4readERNS_14BufferReadableE
Line
Count
Source
233
7
    void read(BufferReadable& buf) {
234
7
        if constexpr (has_sx) {
235
7
            buf.read_binary(sx());
236
7
        }
237
7
        if constexpr (has_sy) {
238
7
            buf.read_binary(sy());
239
7
        }
240
        if constexpr (has_sxx) {
241
            buf.read_binary(sxx());
242
        }
243
        if constexpr (has_syy) {
244
            buf.read_binary(syy());
245
        }
246
7
        if constexpr (has_sxy) {
247
7
            buf.read_binary(sxy());
248
7
        }
249
7
        buf.read_binary(n());
250
7
    }
_ZN5doris25AggregateFunctionRegrDataILNS_13PrimitiveTypeE9ELNS_16RegrFunctionKindE8EE4readERNS_14BufferReadableE
Line
Count
Source
233
10
    void read(BufferReadable& buf) {
234
10
        if constexpr (has_sx) {
235
10
            buf.read_binary(sx());
236
10
        }
237
10
        if constexpr (has_sy) {
238
10
            buf.read_binary(sy());
239
10
        }
240
10
        if constexpr (has_sxx) {
241
10
            buf.read_binary(sxx());
242
10
        }
243
10
        if constexpr (has_syy) {
244
10
            buf.read_binary(syy());
245
10
        }
246
10
        if constexpr (has_sxy) {
247
10
            buf.read_binary(sxy());
248
10
        }
249
10
        buf.read_binary(n());
250
10
    }
251
252
0
    void reset() {
253
0
        if constexpr (has_moments) {
254
0
            moments().fill({});
255
0
        }
256
0
        n() = {};
257
0
    }
Unexecuted instantiation: _ZN5doris25AggregateFunctionRegrDataILNS_13PrimitiveTypeE9ELNS_16RegrFunctionKindE0EE5resetEv
Unexecuted instantiation: _ZN5doris25AggregateFunctionRegrDataILNS_13PrimitiveTypeE9ELNS_16RegrFunctionKindE1EE5resetEv
Unexecuted instantiation: _ZN5doris25AggregateFunctionRegrDataILNS_13PrimitiveTypeE9ELNS_16RegrFunctionKindE2EE5resetEv
Unexecuted instantiation: _ZN5doris25AggregateFunctionRegrDataILNS_13PrimitiveTypeE9ELNS_16RegrFunctionKindE3EE5resetEv
Unexecuted instantiation: _ZN5doris25AggregateFunctionRegrDataILNS_13PrimitiveTypeE9ELNS_16RegrFunctionKindE4EE5resetEv
Unexecuted instantiation: _ZN5doris25AggregateFunctionRegrDataILNS_13PrimitiveTypeE9ELNS_16RegrFunctionKindE5EE5resetEv
Unexecuted instantiation: _ZN5doris25AggregateFunctionRegrDataILNS_13PrimitiveTypeE9ELNS_16RegrFunctionKindE6EE5resetEv
Unexecuted instantiation: _ZN5doris25AggregateFunctionRegrDataILNS_13PrimitiveTypeE9ELNS_16RegrFunctionKindE7EE5resetEv
Unexecuted instantiation: _ZN5doris25AggregateFunctionRegrDataILNS_13PrimitiveTypeE9ELNS_16RegrFunctionKindE8EE5resetEv
258
259
    /**
260
     * The merge function uses the Youngs-Cramer algorithm:
261
     *     N   = N1 + N2
262
     *     Sx  = Sx1 + Sx2
263
     *     Sy  = Sy1 + Sy2
264
     *     Sxx = Sxx1 + Sxx2 + N1 * N2 * (Sx1/N1 - Sx2/N2)^2 / N
265
     *     Syy = Syy1 + Syy2 + N1 * N2 * (Sy1/N1 - Sy2/N2)^2 / N
266
     *     Sxy = Sxy1 + Sxy2 + N1 * N2 * (Sx1/N1 - Sx2/N2) * (Sy1/N1 - Sy2/N2) / N
267
     */
268
213
    void merge(const AggregateFunctionRegrData& rhs) {
269
213
        if (rhs.n() == 0) {
270
11
            return;
271
11
        }
272
202
        if (n() == 0) {
273
104
            *this = rhs;
274
104
            return;
275
104
        }
276
98
        const auto n1 = static_cast<Float64>(n());
277
98
        const auto n2 = static_cast<Float64>(rhs.n());
278
98
        const auto nsum = n1 + n2;
279
280
98
        Float64 dx {};
281
98
        Float64 dy {};
282
98
        if constexpr (has_sxx || has_sxy) {
283
86
            dx = sx() / n1 - rhs.sx() / n2;
284
86
        }
285
98
        if constexpr (has_syy || has_sxy) {
286
86
            dy = sy() / n1 - rhs.sy() / n2;
287
86
        }
288
289
98
        n() += rhs.n();
290
98
        if constexpr (has_sx) {
291
90
            sx() += rhs.sx();
292
90
        }
293
98
        if constexpr (has_sy) {
294
90
            sy() += rhs.sy();
295
90
        }
296
98
        if constexpr (has_sxx) {
297
86
            sxx() += rhs.sxx() + n1 * n2 * dx * dx / nsum;
298
86
        }
299
98
        if constexpr (has_syy) {
300
43
            syy() += rhs.syy() + n1 * n2 * dy * dy / nsum;
301
43
        }
302
98
        if constexpr (has_sxy) {
303
86
            sxy() += rhs.sxy() + n1 * n2 * dx * dy / nsum;
304
86
        }
305
98
    }
_ZN5doris25AggregateFunctionRegrDataILNS_13PrimitiveTypeE9ELNS_16RegrFunctionKindE0EE5mergeERKS3_
Line
Count
Source
268
14
    void merge(const AggregateFunctionRegrData& rhs) {
269
14
        if (rhs.n() == 0) {
270
2
            return;
271
2
        }
272
12
        if (n() == 0) {
273
8
            *this = rhs;
274
8
            return;
275
8
        }
276
4
        const auto n1 = static_cast<Float64>(n());
277
4
        const auto n2 = static_cast<Float64>(rhs.n());
278
4
        const auto nsum = n1 + n2;
279
280
4
        Float64 dx {};
281
4
        Float64 dy {};
282
        if constexpr (has_sxx || has_sxy) {
283
            dx = sx() / n1 - rhs.sx() / n2;
284
        }
285
        if constexpr (has_syy || has_sxy) {
286
            dy = sy() / n1 - rhs.sy() / n2;
287
        }
288
289
4
        n() += rhs.n();
290
4
        if constexpr (has_sx) {
291
4
            sx() += rhs.sx();
292
4
        }
293
        if constexpr (has_sy) {
294
            sy() += rhs.sy();
295
        }
296
        if constexpr (has_sxx) {
297
            sxx() += rhs.sxx() + n1 * n2 * dx * dx / nsum;
298
        }
299
        if constexpr (has_syy) {
300
            syy() += rhs.syy() + n1 * n2 * dy * dy / nsum;
301
        }
302
        if constexpr (has_sxy) {
303
            sxy() += rhs.sxy() + n1 * n2 * dx * dy / nsum;
304
        }
305
4
    }
_ZN5doris25AggregateFunctionRegrDataILNS_13PrimitiveTypeE9ELNS_16RegrFunctionKindE1EE5mergeERKS3_
Line
Count
Source
268
14
    void merge(const AggregateFunctionRegrData& rhs) {
269
14
        if (rhs.n() == 0) {
270
2
            return;
271
2
        }
272
12
        if (n() == 0) {
273
8
            *this = rhs;
274
8
            return;
275
8
        }
276
4
        const auto n1 = static_cast<Float64>(n());
277
4
        const auto n2 = static_cast<Float64>(rhs.n());
278
4
        const auto nsum = n1 + n2;
279
280
4
        Float64 dx {};
281
4
        Float64 dy {};
282
        if constexpr (has_sxx || has_sxy) {
283
            dx = sx() / n1 - rhs.sx() / n2;
284
        }
285
        if constexpr (has_syy || has_sxy) {
286
            dy = sy() / n1 - rhs.sy() / n2;
287
        }
288
289
4
        n() += rhs.n();
290
        if constexpr (has_sx) {
291
            sx() += rhs.sx();
292
        }
293
4
        if constexpr (has_sy) {
294
4
            sy() += rhs.sy();
295
4
        }
296
        if constexpr (has_sxx) {
297
            sxx() += rhs.sxx() + n1 * n2 * dx * dx / nsum;
298
        }
299
        if constexpr (has_syy) {
300
            syy() += rhs.syy() + n1 * n2 * dy * dy / nsum;
301
        }
302
        if constexpr (has_sxy) {
303
            sxy() += rhs.sxy() + n1 * n2 * dx * dy / nsum;
304
        }
305
4
    }
_ZN5doris25AggregateFunctionRegrDataILNS_13PrimitiveTypeE9ELNS_16RegrFunctionKindE2EE5mergeERKS3_
Line
Count
Source
268
14
    void merge(const AggregateFunctionRegrData& rhs) {
269
14
        if (rhs.n() == 0) {
270
2
            return;
271
2
        }
272
12
        if (n() == 0) {
273
8
            *this = rhs;
274
8
            return;
275
8
        }
276
4
        const auto n1 = static_cast<Float64>(n());
277
4
        const auto n2 = static_cast<Float64>(rhs.n());
278
4
        const auto nsum = n1 + n2;
279
280
4
        Float64 dx {};
281
4
        Float64 dy {};
282
        if constexpr (has_sxx || has_sxy) {
283
            dx = sx() / n1 - rhs.sx() / n2;
284
        }
285
        if constexpr (has_syy || has_sxy) {
286
            dy = sy() / n1 - rhs.sy() / n2;
287
        }
288
289
4
        n() += rhs.n();
290
        if constexpr (has_sx) {
291
            sx() += rhs.sx();
292
        }
293
        if constexpr (has_sy) {
294
            sy() += rhs.sy();
295
        }
296
        if constexpr (has_sxx) {
297
            sxx() += rhs.sxx() + n1 * n2 * dx * dx / nsum;
298
        }
299
        if constexpr (has_syy) {
300
            syy() += rhs.syy() + n1 * n2 * dy * dy / nsum;
301
        }
302
        if constexpr (has_sxy) {
303
            sxy() += rhs.sxy() + n1 * n2 * dx * dy / nsum;
304
        }
305
4
    }
_ZN5doris25AggregateFunctionRegrDataILNS_13PrimitiveTypeE9ELNS_16RegrFunctionKindE3EE5mergeERKS3_
Line
Count
Source
268
70
    void merge(const AggregateFunctionRegrData& rhs) {
269
70
        if (rhs.n() == 0) {
270
0
            return;
271
0
        }
272
70
        if (n() == 0) {
273
27
            *this = rhs;
274
27
            return;
275
27
        }
276
43
        const auto n1 = static_cast<Float64>(n());
277
43
        const auto n2 = static_cast<Float64>(rhs.n());
278
43
        const auto nsum = n1 + n2;
279
280
43
        Float64 dx {};
281
43
        Float64 dy {};
282
43
        if constexpr (has_sxx || has_sxy) {
283
43
            dx = sx() / n1 - rhs.sx() / n2;
284
43
        }
285
43
        if constexpr (has_syy || has_sxy) {
286
43
            dy = sy() / n1 - rhs.sy() / n2;
287
43
        }
288
289
43
        n() += rhs.n();
290
43
        if constexpr (has_sx) {
291
43
            sx() += rhs.sx();
292
43
        }
293
43
        if constexpr (has_sy) {
294
43
            sy() += rhs.sy();
295
43
        }
296
43
        if constexpr (has_sxx) {
297
43
            sxx() += rhs.sxx() + n1 * n2 * dx * dx / nsum;
298
43
        }
299
        if constexpr (has_syy) {
300
            syy() += rhs.syy() + n1 * n2 * dy * dy / nsum;
301
        }
302
43
        if constexpr (has_sxy) {
303
43
            sxy() += rhs.sxy() + n1 * n2 * dx * dy / nsum;
304
43
        }
305
43
    }
_ZN5doris25AggregateFunctionRegrDataILNS_13PrimitiveTypeE9ELNS_16RegrFunctionKindE4EE5mergeERKS3_
Line
Count
Source
268
70
    void merge(const AggregateFunctionRegrData& rhs) {
269
70
        if (rhs.n() == 0) {
270
0
            return;
271
0
        }
272
70
        if (n() == 0) {
273
27
            *this = rhs;
274
27
            return;
275
27
        }
276
43
        const auto n1 = static_cast<Float64>(n());
277
43
        const auto n2 = static_cast<Float64>(rhs.n());
278
43
        const auto nsum = n1 + n2;
279
280
43
        Float64 dx {};
281
43
        Float64 dy {};
282
43
        if constexpr (has_sxx || has_sxy) {
283
43
            dx = sx() / n1 - rhs.sx() / n2;
284
43
        }
285
43
        if constexpr (has_syy || has_sxy) {
286
43
            dy = sy() / n1 - rhs.sy() / n2;
287
43
        }
288
289
43
        n() += rhs.n();
290
43
        if constexpr (has_sx) {
291
43
            sx() += rhs.sx();
292
43
        }
293
43
        if constexpr (has_sy) {
294
43
            sy() += rhs.sy();
295
43
        }
296
43
        if constexpr (has_sxx) {
297
43
            sxx() += rhs.sxx() + n1 * n2 * dx * dx / nsum;
298
43
        }
299
43
        if constexpr (has_syy) {
300
43
            syy() += rhs.syy() + n1 * n2 * dy * dy / nsum;
301
43
        }
302
43
        if constexpr (has_sxy) {
303
43
            sxy() += rhs.sxy() + n1 * n2 * dx * dy / nsum;
304
43
        }
305
43
    }
_ZN5doris25AggregateFunctionRegrDataILNS_13PrimitiveTypeE9ELNS_16RegrFunctionKindE5EE5mergeERKS3_
Line
Count
Source
268
7
    void merge(const AggregateFunctionRegrData& rhs) {
269
7
        if (rhs.n() == 0) {
270
1
            return;
271
1
        }
272
6
        if (n() == 0) {
273
6
            *this = rhs;
274
6
            return;
275
6
        }
276
0
        const auto n1 = static_cast<Float64>(n());
277
0
        const auto n2 = static_cast<Float64>(rhs.n());
278
0
        const auto nsum = n1 + n2;
279
280
0
        Float64 dx {};
281
0
        Float64 dy {};
282
0
        if constexpr (has_sxx || has_sxy) {
283
0
            dx = sx() / n1 - rhs.sx() / n2;
284
0
        }
285
        if constexpr (has_syy || has_sxy) {
286
            dy = sy() / n1 - rhs.sy() / n2;
287
        }
288
289
0
        n() += rhs.n();
290
0
        if constexpr (has_sx) {
291
0
            sx() += rhs.sx();
292
0
        }
293
        if constexpr (has_sy) {
294
            sy() += rhs.sy();
295
        }
296
0
        if constexpr (has_sxx) {
297
0
            sxx() += rhs.sxx() + n1 * n2 * dx * dx / nsum;
298
0
        }
299
        if constexpr (has_syy) {
300
            syy() += rhs.syy() + n1 * n2 * dy * dy / nsum;
301
        }
302
        if constexpr (has_sxy) {
303
            sxy() += rhs.sxy() + n1 * n2 * dx * dy / nsum;
304
        }
305
0
    }
_ZN5doris25AggregateFunctionRegrDataILNS_13PrimitiveTypeE9ELNS_16RegrFunctionKindE6EE5mergeERKS3_
Line
Count
Source
268
7
    void merge(const AggregateFunctionRegrData& rhs) {
269
7
        if (rhs.n() == 0) {
270
1
            return;
271
1
        }
272
6
        if (n() == 0) {
273
6
            *this = rhs;
274
6
            return;
275
6
        }
276
0
        const auto n1 = static_cast<Float64>(n());
277
0
        const auto n2 = static_cast<Float64>(rhs.n());
278
0
        const auto nsum = n1 + n2;
279
280
0
        Float64 dx {};
281
0
        Float64 dy {};
282
        if constexpr (has_sxx || has_sxy) {
283
            dx = sx() / n1 - rhs.sx() / n2;
284
        }
285
0
        if constexpr (has_syy || has_sxy) {
286
0
            dy = sy() / n1 - rhs.sy() / n2;
287
0
        }
288
289
0
        n() += rhs.n();
290
        if constexpr (has_sx) {
291
            sx() += rhs.sx();
292
        }
293
0
        if constexpr (has_sy) {
294
0
            sy() += rhs.sy();
295
0
        }
296
        if constexpr (has_sxx) {
297
            sxx() += rhs.sxx() + n1 * n2 * dx * dx / nsum;
298
        }
299
0
        if constexpr (has_syy) {
300
0
            syy() += rhs.syy() + n1 * n2 * dy * dy / nsum;
301
0
        }
302
        if constexpr (has_sxy) {
303
            sxy() += rhs.sxy() + n1 * n2 * dx * dy / nsum;
304
        }
305
0
    }
_ZN5doris25AggregateFunctionRegrDataILNS_13PrimitiveTypeE9ELNS_16RegrFunctionKindE7EE5mergeERKS3_
Line
Count
Source
268
7
    void merge(const AggregateFunctionRegrData& rhs) {
269
7
        if (rhs.n() == 0) {
270
1
            return;
271
1
        }
272
6
        if (n() == 0) {
273
6
            *this = rhs;
274
6
            return;
275
6
        }
276
0
        const auto n1 = static_cast<Float64>(n());
277
0
        const auto n2 = static_cast<Float64>(rhs.n());
278
0
        const auto nsum = n1 + n2;
279
280
0
        Float64 dx {};
281
0
        Float64 dy {};
282
0
        if constexpr (has_sxx || has_sxy) {
283
0
            dx = sx() / n1 - rhs.sx() / n2;
284
0
        }
285
0
        if constexpr (has_syy || has_sxy) {
286
0
            dy = sy() / n1 - rhs.sy() / n2;
287
0
        }
288
289
0
        n() += rhs.n();
290
0
        if constexpr (has_sx) {
291
0
            sx() += rhs.sx();
292
0
        }
293
0
        if constexpr (has_sy) {
294
0
            sy() += rhs.sy();
295
0
        }
296
        if constexpr (has_sxx) {
297
            sxx() += rhs.sxx() + n1 * n2 * dx * dx / nsum;
298
        }
299
        if constexpr (has_syy) {
300
            syy() += rhs.syy() + n1 * n2 * dy * dy / nsum;
301
        }
302
0
        if constexpr (has_sxy) {
303
0
            sxy() += rhs.sxy() + n1 * n2 * dx * dy / nsum;
304
0
        }
305
0
    }
_ZN5doris25AggregateFunctionRegrDataILNS_13PrimitiveTypeE9ELNS_16RegrFunctionKindE8EE5mergeERKS3_
Line
Count
Source
268
10
    void merge(const AggregateFunctionRegrData& rhs) {
269
10
        if (rhs.n() == 0) {
270
2
            return;
271
2
        }
272
8
        if (n() == 0) {
273
8
            *this = rhs;
274
8
            return;
275
8
        }
276
0
        const auto n1 = static_cast<Float64>(n());
277
0
        const auto n2 = static_cast<Float64>(rhs.n());
278
0
        const auto nsum = n1 + n2;
279
280
0
        Float64 dx {};
281
0
        Float64 dy {};
282
0
        if constexpr (has_sxx || has_sxy) {
283
0
            dx = sx() / n1 - rhs.sx() / n2;
284
0
        }
285
0
        if constexpr (has_syy || has_sxy) {
286
0
            dy = sy() / n1 - rhs.sy() / n2;
287
0
        }
288
289
0
        n() += rhs.n();
290
0
        if constexpr (has_sx) {
291
0
            sx() += rhs.sx();
292
0
        }
293
0
        if constexpr (has_sy) {
294
0
            sy() += rhs.sy();
295
0
        }
296
0
        if constexpr (has_sxx) {
297
0
            sxx() += rhs.sxx() + n1 * n2 * dx * dx / nsum;
298
0
        }
299
0
        if constexpr (has_syy) {
300
0
            syy() += rhs.syy() + n1 * n2 * dy * dy / nsum;
301
0
        }
302
0
        if constexpr (has_sxy) {
303
0
            sxy() += rhs.sxy() + n1 * n2 * dx * dy / nsum;
304
0
        }
305
0
    }
306
307
    /**
308
     * N   = count
309
     * Sx  = sum(X)
310
     * Sy  = sum(Y)
311
     * Sxx = sum((X-Sx/N)^2)
312
     * Syy = sum((Y-Sy/N)^2)
313
     * Sxy = sum((X-Sx/N)*(Y-Sy/N))
314
     */
315
    void add(typename PrimitiveTypeTraits<Type>::CppType value_y,
316
675
             typename PrimitiveTypeTraits<Type>::CppType value_x) {
317
675
        const auto x = static_cast<Float64>(value_x);
318
675
        const auto y = static_cast<Float64>(value_y);
319
320
675
        if constexpr (has_sx) {
321
532
            sx() += x;
322
532
        }
323
675
        if constexpr (has_sy) {
324
532
            sy() += y;
325
532
        }
326
327
675
        if (n() == 0) [[unlikely]] {
328
340
            n() = 1;
329
340
            return;
330
340
        }
331
335
        const auto n_old = static_cast<Float64>(n());
332
335
        const auto n_new = n_old + 1;
333
335
        const auto scale = 1.0 / (n_new * n_old);
334
335
        n() += 1;
335
336
335
        Float64 tmp_x {};
337
335
        Float64 tmp_y {};
338
335
        if constexpr (has_sxx || has_sxy) {
339
218
            tmp_x = x * n_new - sx();
340
218
        }
341
335
        if constexpr (has_syy || has_sxy) {
342
218
            tmp_y = y * n_new - sy();
343
218
        }
344
345
335
        if constexpr (has_sxx) {
346
203
            sxx() += tmp_x * tmp_x * scale;
347
203
        }
348
335
        if constexpr (has_syy) {
349
124
            syy() += tmp_y * tmp_y * scale;
350
124
        }
351
335
        if constexpr (has_sxy) {
352
203
            sxy() += tmp_x * tmp_y * scale;
353
203
        }
354
335
    }
_ZN5doris25AggregateFunctionRegrDataILNS_13PrimitiveTypeE9ELNS_16RegrFunctionKindE0EE3addEdd
Line
Count
Source
316
57
             typename PrimitiveTypeTraits<Type>::CppType value_x) {
317
57
        const auto x = static_cast<Float64>(value_x);
318
57
        const auto y = static_cast<Float64>(value_y);
319
320
57
        if constexpr (has_sx) {
321
57
            sx() += x;
322
57
        }
323
        if constexpr (has_sy) {
324
            sy() += y;
325
        }
326
327
57
        if (n() == 0) [[unlikely]] {
328
23
            n() = 1;
329
23
            return;
330
23
        }
331
34
        const auto n_old = static_cast<Float64>(n());
332
34
        const auto n_new = n_old + 1;
333
34
        const auto scale = 1.0 / (n_new * n_old);
334
34
        n() += 1;
335
336
34
        Float64 tmp_x {};
337
34
        Float64 tmp_y {};
338
        if constexpr (has_sxx || has_sxy) {
339
            tmp_x = x * n_new - sx();
340
        }
341
        if constexpr (has_syy || has_sxy) {
342
            tmp_y = y * n_new - sy();
343
        }
344
345
        if constexpr (has_sxx) {
346
            sxx() += tmp_x * tmp_x * scale;
347
        }
348
        if constexpr (has_syy) {
349
            syy() += tmp_y * tmp_y * scale;
350
        }
351
        if constexpr (has_sxy) {
352
            sxy() += tmp_x * tmp_y * scale;
353
        }
354
34
    }
_ZN5doris25AggregateFunctionRegrDataILNS_13PrimitiveTypeE9ELNS_16RegrFunctionKindE1EE3addEdd
Line
Count
Source
316
57
             typename PrimitiveTypeTraits<Type>::CppType value_x) {
317
57
        const auto x = static_cast<Float64>(value_x);
318
57
        const auto y = static_cast<Float64>(value_y);
319
320
        if constexpr (has_sx) {
321
            sx() += x;
322
        }
323
57
        if constexpr (has_sy) {
324
57
            sy() += y;
325
57
        }
326
327
57
        if (n() == 0) [[unlikely]] {
328
23
            n() = 1;
329
23
            return;
330
23
        }
331
34
        const auto n_old = static_cast<Float64>(n());
332
34
        const auto n_new = n_old + 1;
333
34
        const auto scale = 1.0 / (n_new * n_old);
334
34
        n() += 1;
335
336
34
        Float64 tmp_x {};
337
34
        Float64 tmp_y {};
338
        if constexpr (has_sxx || has_sxy) {
339
            tmp_x = x * n_new - sx();
340
        }
341
        if constexpr (has_syy || has_sxy) {
342
            tmp_y = y * n_new - sy();
343
        }
344
345
        if constexpr (has_sxx) {
346
            sxx() += tmp_x * tmp_x * scale;
347
        }
348
        if constexpr (has_syy) {
349
            syy() += tmp_y * tmp_y * scale;
350
        }
351
        if constexpr (has_sxy) {
352
            sxy() += tmp_x * tmp_y * scale;
353
        }
354
34
    }
_ZN5doris25AggregateFunctionRegrDataILNS_13PrimitiveTypeE9ELNS_16RegrFunctionKindE2EE3addEdd
Line
Count
Source
316
57
             typename PrimitiveTypeTraits<Type>::CppType value_x) {
317
57
        const auto x = static_cast<Float64>(value_x);
318
57
        const auto y = static_cast<Float64>(value_y);
319
320
        if constexpr (has_sx) {
321
            sx() += x;
322
        }
323
        if constexpr (has_sy) {
324
            sy() += y;
325
        }
326
327
57
        if (n() == 0) [[unlikely]] {
328
23
            n() = 1;
329
23
            return;
330
23
        }
331
34
        const auto n_old = static_cast<Float64>(n());
332
34
        const auto n_new = n_old + 1;
333
34
        const auto scale = 1.0 / (n_new * n_old);
334
34
        n() += 1;
335
336
34
        Float64 tmp_x {};
337
34
        Float64 tmp_y {};
338
        if constexpr (has_sxx || has_sxy) {
339
            tmp_x = x * n_new - sx();
340
        }
341
        if constexpr (has_syy || has_sxy) {
342
            tmp_y = y * n_new - sy();
343
        }
344
345
        if constexpr (has_sxx) {
346
            sxx() += tmp_x * tmp_x * scale;
347
        }
348
        if constexpr (has_syy) {
349
            syy() += tmp_y * tmp_y * scale;
350
        }
351
        if constexpr (has_sxy) {
352
            sxy() += tmp_x * tmp_y * scale;
353
        }
354
34
    }
_ZN5doris25AggregateFunctionRegrDataILNS_13PrimitiveTypeE9ELNS_16RegrFunctionKindE3EE3addEdd
Line
Count
Source
316
184
             typename PrimitiveTypeTraits<Type>::CppType value_x) {
317
184
        const auto x = static_cast<Float64>(value_x);
318
184
        const auto y = static_cast<Float64>(value_y);
319
320
184
        if constexpr (has_sx) {
321
184
            sx() += x;
322
184
        }
323
184
        if constexpr (has_sy) {
324
184
            sy() += y;
325
184
        }
326
327
184
        if (n() == 0) [[unlikely]] {
328
105
            n() = 1;
329
105
            return;
330
105
        }
331
79
        const auto n_old = static_cast<Float64>(n());
332
79
        const auto n_new = n_old + 1;
333
79
        const auto scale = 1.0 / (n_new * n_old);
334
79
        n() += 1;
335
336
79
        Float64 tmp_x {};
337
79
        Float64 tmp_y {};
338
79
        if constexpr (has_sxx || has_sxy) {
339
79
            tmp_x = x * n_new - sx();
340
79
        }
341
79
        if constexpr (has_syy || has_sxy) {
342
79
            tmp_y = y * n_new - sy();
343
79
        }
344
345
79
        if constexpr (has_sxx) {
346
79
            sxx() += tmp_x * tmp_x * scale;
347
79
        }
348
        if constexpr (has_syy) {
349
            syy() += tmp_y * tmp_y * scale;
350
        }
351
79
        if constexpr (has_sxy) {
352
79
            sxy() += tmp_x * tmp_y * scale;
353
79
        }
354
79
    }
_ZN5doris25AggregateFunctionRegrDataILNS_13PrimitiveTypeE9ELNS_16RegrFunctionKindE4EE3addEdd
Line
Count
Source
316
184
             typename PrimitiveTypeTraits<Type>::CppType value_x) {
317
184
        const auto x = static_cast<Float64>(value_x);
318
184
        const auto y = static_cast<Float64>(value_y);
319
320
184
        if constexpr (has_sx) {
321
184
            sx() += x;
322
184
        }
323
184
        if constexpr (has_sy) {
324
184
            sy() += y;
325
184
        }
326
327
184
        if (n() == 0) [[unlikely]] {
328
105
            n() = 1;
329
105
            return;
330
105
        }
331
79
        const auto n_old = static_cast<Float64>(n());
332
79
        const auto n_new = n_old + 1;
333
79
        const auto scale = 1.0 / (n_new * n_old);
334
79
        n() += 1;
335
336
79
        Float64 tmp_x {};
337
79
        Float64 tmp_y {};
338
79
        if constexpr (has_sxx || has_sxy) {
339
79
            tmp_x = x * n_new - sx();
340
79
        }
341
79
        if constexpr (has_syy || has_sxy) {
342
79
            tmp_y = y * n_new - sy();
343
79
        }
344
345
79
        if constexpr (has_sxx) {
346
79
            sxx() += tmp_x * tmp_x * scale;
347
79
        }
348
79
        if constexpr (has_syy) {
349
79
            syy() += tmp_y * tmp_y * scale;
350
79
        }
351
79
        if constexpr (has_sxy) {
352
79
            sxy() += tmp_x * tmp_y * scale;
353
79
        }
354
79
    }
_ZN5doris25AggregateFunctionRegrDataILNS_13PrimitiveTypeE9ELNS_16RegrFunctionKindE5EE3addEdd
Line
Count
Source
316
29
             typename PrimitiveTypeTraits<Type>::CppType value_x) {
317
29
        const auto x = static_cast<Float64>(value_x);
318
29
        const auto y = static_cast<Float64>(value_y);
319
320
29
        if constexpr (has_sx) {
321
29
            sx() += x;
322
29
        }
323
        if constexpr (has_sy) {
324
            sy() += y;
325
        }
326
327
29
        if (n() == 0) [[unlikely]] {
328
14
            n() = 1;
329
14
            return;
330
14
        }
331
15
        const auto n_old = static_cast<Float64>(n());
332
15
        const auto n_new = n_old + 1;
333
15
        const auto scale = 1.0 / (n_new * n_old);
334
15
        n() += 1;
335
336
15
        Float64 tmp_x {};
337
15
        Float64 tmp_y {};
338
15
        if constexpr (has_sxx || has_sxy) {
339
15
            tmp_x = x * n_new - sx();
340
15
        }
341
        if constexpr (has_syy || has_sxy) {
342
            tmp_y = y * n_new - sy();
343
        }
344
345
15
        if constexpr (has_sxx) {
346
15
            sxx() += tmp_x * tmp_x * scale;
347
15
        }
348
        if constexpr (has_syy) {
349
            syy() += tmp_y * tmp_y * scale;
350
        }
351
        if constexpr (has_sxy) {
352
            sxy() += tmp_x * tmp_y * scale;
353
        }
354
15
    }
_ZN5doris25AggregateFunctionRegrDataILNS_13PrimitiveTypeE9ELNS_16RegrFunctionKindE6EE3addEdd
Line
Count
Source
316
29
             typename PrimitiveTypeTraits<Type>::CppType value_x) {
317
29
        const auto x = static_cast<Float64>(value_x);
318
29
        const auto y = static_cast<Float64>(value_y);
319
320
        if constexpr (has_sx) {
321
            sx() += x;
322
        }
323
29
        if constexpr (has_sy) {
324
29
            sy() += y;
325
29
        }
326
327
29
        if (n() == 0) [[unlikely]] {
328
14
            n() = 1;
329
14
            return;
330
14
        }
331
15
        const auto n_old = static_cast<Float64>(n());
332
15
        const auto n_new = n_old + 1;
333
15
        const auto scale = 1.0 / (n_new * n_old);
334
15
        n() += 1;
335
336
15
        Float64 tmp_x {};
337
15
        Float64 tmp_y {};
338
        if constexpr (has_sxx || has_sxy) {
339
            tmp_x = x * n_new - sx();
340
        }
341
15
        if constexpr (has_syy || has_sxy) {
342
15
            tmp_y = y * n_new - sy();
343
15
        }
344
345
        if constexpr (has_sxx) {
346
            sxx() += tmp_x * tmp_x * scale;
347
        }
348
15
        if constexpr (has_syy) {
349
15
            syy() += tmp_y * tmp_y * scale;
350
15
        }
351
        if constexpr (has_sxy) {
352
            sxy() += tmp_x * tmp_y * scale;
353
        }
354
15
    }
_ZN5doris25AggregateFunctionRegrDataILNS_13PrimitiveTypeE9ELNS_16RegrFunctionKindE7EE3addEdd
Line
Count
Source
316
29
             typename PrimitiveTypeTraits<Type>::CppType value_x) {
317
29
        const auto x = static_cast<Float64>(value_x);
318
29
        const auto y = static_cast<Float64>(value_y);
319
320
29
        if constexpr (has_sx) {
321
29
            sx() += x;
322
29
        }
323
29
        if constexpr (has_sy) {
324
29
            sy() += y;
325
29
        }
326
327
29
        if (n() == 0) [[unlikely]] {
328
14
            n() = 1;
329
14
            return;
330
14
        }
331
15
        const auto n_old = static_cast<Float64>(n());
332
15
        const auto n_new = n_old + 1;
333
15
        const auto scale = 1.0 / (n_new * n_old);
334
15
        n() += 1;
335
336
15
        Float64 tmp_x {};
337
15
        Float64 tmp_y {};
338
15
        if constexpr (has_sxx || has_sxy) {
339
15
            tmp_x = x * n_new - sx();
340
15
        }
341
15
        if constexpr (has_syy || has_sxy) {
342
15
            tmp_y = y * n_new - sy();
343
15
        }
344
345
        if constexpr (has_sxx) {
346
            sxx() += tmp_x * tmp_x * scale;
347
        }
348
        if constexpr (has_syy) {
349
            syy() += tmp_y * tmp_y * scale;
350
        }
351
15
        if constexpr (has_sxy) {
352
15
            sxy() += tmp_x * tmp_y * scale;
353
15
        }
354
15
    }
_ZN5doris25AggregateFunctionRegrDataILNS_13PrimitiveTypeE9ELNS_16RegrFunctionKindE8EE3addEdd
Line
Count
Source
316
49
             typename PrimitiveTypeTraits<Type>::CppType value_x) {
317
49
        const auto x = static_cast<Float64>(value_x);
318
49
        const auto y = static_cast<Float64>(value_y);
319
320
49
        if constexpr (has_sx) {
321
49
            sx() += x;
322
49
        }
323
49
        if constexpr (has_sy) {
324
49
            sy() += y;
325
49
        }
326
327
49
        if (n() == 0) [[unlikely]] {
328
19
            n() = 1;
329
19
            return;
330
19
        }
331
30
        const auto n_old = static_cast<Float64>(n());
332
30
        const auto n_new = n_old + 1;
333
30
        const auto scale = 1.0 / (n_new * n_old);
334
30
        n() += 1;
335
336
30
        Float64 tmp_x {};
337
30
        Float64 tmp_y {};
338
30
        if constexpr (has_sxx || has_sxy) {
339
30
            tmp_x = x * n_new - sx();
340
30
        }
341
30
        if constexpr (has_syy || has_sxy) {
342
30
            tmp_y = y * n_new - sy();
343
30
        }
344
345
30
        if constexpr (has_sxx) {
346
30
            sxx() += tmp_x * tmp_x * scale;
347
30
        }
348
30
        if constexpr (has_syy) {
349
30
            syy() += tmp_y * tmp_y * scale;
350
30
        }
351
30
        if constexpr (has_sxy) {
352
30
            sxy() += tmp_x * tmp_y * scale;
353
30
        }
354
30
    }
355
356
282
    auto get_result() const {
357
282
        if constexpr (kind == RegrFunctionKind::regr_count) {
358
24
            return static_cast<Int64>(n());
359
24
        } else if constexpr (kind == RegrFunctionKind::regr_avgx) {
360
24
            if (n() < 1) {
361
5
                return std::numeric_limits<Float64>::quiet_NaN();
362
5
            }
363
19
            return sx() / static_cast<Float64>(n());
364
24
        } else if constexpr (kind == RegrFunctionKind::regr_avgy) {
365
24
            if (n() < 1) {
366
5
                return std::numeric_limits<Float64>::quiet_NaN();
367
5
            }
368
19
            return sy() / static_cast<Float64>(n());
369
65
        } else if constexpr (kind == RegrFunctionKind::regr_slope) {
370
65
            if (n() < 1 || sxx() == 0.0) {
371
37
                return std::numeric_limits<Float64>::quiet_NaN();
372
37
            }
373
28
            return sxy() / sxx();
374
65
        } else if constexpr (kind == RegrFunctionKind::regr_intercept) {
375
65
            if (n() < 1 || sxx() == 0.0) {
376
37
                return std::numeric_limits<Float64>::quiet_NaN();
377
37
            }
378
28
            return (sy() - sx() * sxy() / sxx()) / static_cast<Float64>(n());
379
65
        } else if constexpr (kind == RegrFunctionKind::regr_sxx) {
380
18
            if (n() < 1) {
381
4
                return std::numeric_limits<Float64>::quiet_NaN();
382
4
            }
383
14
            return sxx();
384
18
        } else if constexpr (kind == RegrFunctionKind::regr_syy) {
385
18
            if (n() < 1) {
386
4
                return std::numeric_limits<Float64>::quiet_NaN();
387
4
            }
388
14
            return syy();
389
18
        } else if constexpr (kind == RegrFunctionKind::regr_sxy) {
390
18
            if (n() < 1) {
391
4
                return std::numeric_limits<Float64>::quiet_NaN();
392
4
            }
393
14
            return sxy();
394
26
        } else if constexpr (kind == RegrFunctionKind::regr_r2) {
395
26
            if (n() < 1 || sxx() == 0.0) {
396
16
                return std::numeric_limits<Float64>::quiet_NaN();
397
16
            }
398
10
            if (syy() == 0.0) {
399
4
                return 1.0;
400
4
            }
401
6
            return (sxy() * sxy()) / (sxx() * syy());
402
        } else {
403
            __builtin_unreachable();
404
        }
405
282
    }
_ZNK5doris25AggregateFunctionRegrDataILNS_13PrimitiveTypeE9ELNS_16RegrFunctionKindE0EE10get_resultEv
Line
Count
Source
356
24
    auto get_result() const {
357
        if constexpr (kind == RegrFunctionKind::regr_count) {
358
            return static_cast<Int64>(n());
359
24
        } else if constexpr (kind == RegrFunctionKind::regr_avgx) {
360
24
            if (n() < 1) {
361
5
                return std::numeric_limits<Float64>::quiet_NaN();
362
5
            }
363
19
            return sx() / static_cast<Float64>(n());
364
        } else if constexpr (kind == RegrFunctionKind::regr_avgy) {
365
            if (n() < 1) {
366
                return std::numeric_limits<Float64>::quiet_NaN();
367
            }
368
            return sy() / static_cast<Float64>(n());
369
        } else if constexpr (kind == RegrFunctionKind::regr_slope) {
370
            if (n() < 1 || sxx() == 0.0) {
371
                return std::numeric_limits<Float64>::quiet_NaN();
372
            }
373
            return sxy() / sxx();
374
        } else if constexpr (kind == RegrFunctionKind::regr_intercept) {
375
            if (n() < 1 || sxx() == 0.0) {
376
                return std::numeric_limits<Float64>::quiet_NaN();
377
            }
378
            return (sy() - sx() * sxy() / sxx()) / static_cast<Float64>(n());
379
        } else if constexpr (kind == RegrFunctionKind::regr_sxx) {
380
            if (n() < 1) {
381
                return std::numeric_limits<Float64>::quiet_NaN();
382
            }
383
            return sxx();
384
        } else if constexpr (kind == RegrFunctionKind::regr_syy) {
385
            if (n() < 1) {
386
                return std::numeric_limits<Float64>::quiet_NaN();
387
            }
388
            return syy();
389
        } else if constexpr (kind == RegrFunctionKind::regr_sxy) {
390
            if (n() < 1) {
391
                return std::numeric_limits<Float64>::quiet_NaN();
392
            }
393
            return sxy();
394
        } else if constexpr (kind == RegrFunctionKind::regr_r2) {
395
            if (n() < 1 || sxx() == 0.0) {
396
                return std::numeric_limits<Float64>::quiet_NaN();
397
            }
398
            if (syy() == 0.0) {
399
                return 1.0;
400
            }
401
            return (sxy() * sxy()) / (sxx() * syy());
402
        } else {
403
            __builtin_unreachable();
404
        }
405
24
    }
_ZNK5doris25AggregateFunctionRegrDataILNS_13PrimitiveTypeE9ELNS_16RegrFunctionKindE1EE10get_resultEv
Line
Count
Source
356
24
    auto get_result() const {
357
        if constexpr (kind == RegrFunctionKind::regr_count) {
358
            return static_cast<Int64>(n());
359
        } else if constexpr (kind == RegrFunctionKind::regr_avgx) {
360
            if (n() < 1) {
361
                return std::numeric_limits<Float64>::quiet_NaN();
362
            }
363
            return sx() / static_cast<Float64>(n());
364
24
        } else if constexpr (kind == RegrFunctionKind::regr_avgy) {
365
24
            if (n() < 1) {
366
5
                return std::numeric_limits<Float64>::quiet_NaN();
367
5
            }
368
19
            return sy() / static_cast<Float64>(n());
369
        } else if constexpr (kind == RegrFunctionKind::regr_slope) {
370
            if (n() < 1 || sxx() == 0.0) {
371
                return std::numeric_limits<Float64>::quiet_NaN();
372
            }
373
            return sxy() / sxx();
374
        } else if constexpr (kind == RegrFunctionKind::regr_intercept) {
375
            if (n() < 1 || sxx() == 0.0) {
376
                return std::numeric_limits<Float64>::quiet_NaN();
377
            }
378
            return (sy() - sx() * sxy() / sxx()) / static_cast<Float64>(n());
379
        } else if constexpr (kind == RegrFunctionKind::regr_sxx) {
380
            if (n() < 1) {
381
                return std::numeric_limits<Float64>::quiet_NaN();
382
            }
383
            return sxx();
384
        } else if constexpr (kind == RegrFunctionKind::regr_syy) {
385
            if (n() < 1) {
386
                return std::numeric_limits<Float64>::quiet_NaN();
387
            }
388
            return syy();
389
        } else if constexpr (kind == RegrFunctionKind::regr_sxy) {
390
            if (n() < 1) {
391
                return std::numeric_limits<Float64>::quiet_NaN();
392
            }
393
            return sxy();
394
        } else if constexpr (kind == RegrFunctionKind::regr_r2) {
395
            if (n() < 1 || sxx() == 0.0) {
396
                return std::numeric_limits<Float64>::quiet_NaN();
397
            }
398
            if (syy() == 0.0) {
399
                return 1.0;
400
            }
401
            return (sxy() * sxy()) / (sxx() * syy());
402
        } else {
403
            __builtin_unreachable();
404
        }
405
24
    }
_ZNK5doris25AggregateFunctionRegrDataILNS_13PrimitiveTypeE9ELNS_16RegrFunctionKindE2EE10get_resultEv
Line
Count
Source
356
24
    auto get_result() const {
357
24
        if constexpr (kind == RegrFunctionKind::regr_count) {
358
24
            return static_cast<Int64>(n());
359
        } else if constexpr (kind == RegrFunctionKind::regr_avgx) {
360
            if (n() < 1) {
361
                return std::numeric_limits<Float64>::quiet_NaN();
362
            }
363
            return sx() / static_cast<Float64>(n());
364
        } else if constexpr (kind == RegrFunctionKind::regr_avgy) {
365
            if (n() < 1) {
366
                return std::numeric_limits<Float64>::quiet_NaN();
367
            }
368
            return sy() / static_cast<Float64>(n());
369
        } else if constexpr (kind == RegrFunctionKind::regr_slope) {
370
            if (n() < 1 || sxx() == 0.0) {
371
                return std::numeric_limits<Float64>::quiet_NaN();
372
            }
373
            return sxy() / sxx();
374
        } else if constexpr (kind == RegrFunctionKind::regr_intercept) {
375
            if (n() < 1 || sxx() == 0.0) {
376
                return std::numeric_limits<Float64>::quiet_NaN();
377
            }
378
            return (sy() - sx() * sxy() / sxx()) / static_cast<Float64>(n());
379
        } else if constexpr (kind == RegrFunctionKind::regr_sxx) {
380
            if (n() < 1) {
381
                return std::numeric_limits<Float64>::quiet_NaN();
382
            }
383
            return sxx();
384
        } else if constexpr (kind == RegrFunctionKind::regr_syy) {
385
            if (n() < 1) {
386
                return std::numeric_limits<Float64>::quiet_NaN();
387
            }
388
            return syy();
389
        } else if constexpr (kind == RegrFunctionKind::regr_sxy) {
390
            if (n() < 1) {
391
                return std::numeric_limits<Float64>::quiet_NaN();
392
            }
393
            return sxy();
394
        } else if constexpr (kind == RegrFunctionKind::regr_r2) {
395
            if (n() < 1 || sxx() == 0.0) {
396
                return std::numeric_limits<Float64>::quiet_NaN();
397
            }
398
            if (syy() == 0.0) {
399
                return 1.0;
400
            }
401
            return (sxy() * sxy()) / (sxx() * syy());
402
        } else {
403
            __builtin_unreachable();
404
        }
405
24
    }
_ZNK5doris25AggregateFunctionRegrDataILNS_13PrimitiveTypeE9ELNS_16RegrFunctionKindE3EE10get_resultEv
Line
Count
Source
356
65
    auto get_result() const {
357
        if constexpr (kind == RegrFunctionKind::regr_count) {
358
            return static_cast<Int64>(n());
359
        } else if constexpr (kind == RegrFunctionKind::regr_avgx) {
360
            if (n() < 1) {
361
                return std::numeric_limits<Float64>::quiet_NaN();
362
            }
363
            return sx() / static_cast<Float64>(n());
364
        } else if constexpr (kind == RegrFunctionKind::regr_avgy) {
365
            if (n() < 1) {
366
                return std::numeric_limits<Float64>::quiet_NaN();
367
            }
368
            return sy() / static_cast<Float64>(n());
369
65
        } else if constexpr (kind == RegrFunctionKind::regr_slope) {
370
65
            if (n() < 1 || sxx() == 0.0) {
371
37
                return std::numeric_limits<Float64>::quiet_NaN();
372
37
            }
373
28
            return sxy() / sxx();
374
        } else if constexpr (kind == RegrFunctionKind::regr_intercept) {
375
            if (n() < 1 || sxx() == 0.0) {
376
                return std::numeric_limits<Float64>::quiet_NaN();
377
            }
378
            return (sy() - sx() * sxy() / sxx()) / static_cast<Float64>(n());
379
        } else if constexpr (kind == RegrFunctionKind::regr_sxx) {
380
            if (n() < 1) {
381
                return std::numeric_limits<Float64>::quiet_NaN();
382
            }
383
            return sxx();
384
        } else if constexpr (kind == RegrFunctionKind::regr_syy) {
385
            if (n() < 1) {
386
                return std::numeric_limits<Float64>::quiet_NaN();
387
            }
388
            return syy();
389
        } else if constexpr (kind == RegrFunctionKind::regr_sxy) {
390
            if (n() < 1) {
391
                return std::numeric_limits<Float64>::quiet_NaN();
392
            }
393
            return sxy();
394
        } else if constexpr (kind == RegrFunctionKind::regr_r2) {
395
            if (n() < 1 || sxx() == 0.0) {
396
                return std::numeric_limits<Float64>::quiet_NaN();
397
            }
398
            if (syy() == 0.0) {
399
                return 1.0;
400
            }
401
            return (sxy() * sxy()) / (sxx() * syy());
402
        } else {
403
            __builtin_unreachable();
404
        }
405
65
    }
_ZNK5doris25AggregateFunctionRegrDataILNS_13PrimitiveTypeE9ELNS_16RegrFunctionKindE4EE10get_resultEv
Line
Count
Source
356
65
    auto get_result() const {
357
        if constexpr (kind == RegrFunctionKind::regr_count) {
358
            return static_cast<Int64>(n());
359
        } else if constexpr (kind == RegrFunctionKind::regr_avgx) {
360
            if (n() < 1) {
361
                return std::numeric_limits<Float64>::quiet_NaN();
362
            }
363
            return sx() / static_cast<Float64>(n());
364
        } else if constexpr (kind == RegrFunctionKind::regr_avgy) {
365
            if (n() < 1) {
366
                return std::numeric_limits<Float64>::quiet_NaN();
367
            }
368
            return sy() / static_cast<Float64>(n());
369
        } else if constexpr (kind == RegrFunctionKind::regr_slope) {
370
            if (n() < 1 || sxx() == 0.0) {
371
                return std::numeric_limits<Float64>::quiet_NaN();
372
            }
373
            return sxy() / sxx();
374
65
        } else if constexpr (kind == RegrFunctionKind::regr_intercept) {
375
65
            if (n() < 1 || sxx() == 0.0) {
376
37
                return std::numeric_limits<Float64>::quiet_NaN();
377
37
            }
378
28
            return (sy() - sx() * sxy() / sxx()) / static_cast<Float64>(n());
379
        } else if constexpr (kind == RegrFunctionKind::regr_sxx) {
380
            if (n() < 1) {
381
                return std::numeric_limits<Float64>::quiet_NaN();
382
            }
383
            return sxx();
384
        } else if constexpr (kind == RegrFunctionKind::regr_syy) {
385
            if (n() < 1) {
386
                return std::numeric_limits<Float64>::quiet_NaN();
387
            }
388
            return syy();
389
        } else if constexpr (kind == RegrFunctionKind::regr_sxy) {
390
            if (n() < 1) {
391
                return std::numeric_limits<Float64>::quiet_NaN();
392
            }
393
            return sxy();
394
        } else if constexpr (kind == RegrFunctionKind::regr_r2) {
395
            if (n() < 1 || sxx() == 0.0) {
396
                return std::numeric_limits<Float64>::quiet_NaN();
397
            }
398
            if (syy() == 0.0) {
399
                return 1.0;
400
            }
401
            return (sxy() * sxy()) / (sxx() * syy());
402
        } else {
403
            __builtin_unreachable();
404
        }
405
65
    }
_ZNK5doris25AggregateFunctionRegrDataILNS_13PrimitiveTypeE9ELNS_16RegrFunctionKindE5EE10get_resultEv
Line
Count
Source
356
18
    auto get_result() const {
357
        if constexpr (kind == RegrFunctionKind::regr_count) {
358
            return static_cast<Int64>(n());
359
        } else if constexpr (kind == RegrFunctionKind::regr_avgx) {
360
            if (n() < 1) {
361
                return std::numeric_limits<Float64>::quiet_NaN();
362
            }
363
            return sx() / static_cast<Float64>(n());
364
        } else if constexpr (kind == RegrFunctionKind::regr_avgy) {
365
            if (n() < 1) {
366
                return std::numeric_limits<Float64>::quiet_NaN();
367
            }
368
            return sy() / static_cast<Float64>(n());
369
        } else if constexpr (kind == RegrFunctionKind::regr_slope) {
370
            if (n() < 1 || sxx() == 0.0) {
371
                return std::numeric_limits<Float64>::quiet_NaN();
372
            }
373
            return sxy() / sxx();
374
        } else if constexpr (kind == RegrFunctionKind::regr_intercept) {
375
            if (n() < 1 || sxx() == 0.0) {
376
                return std::numeric_limits<Float64>::quiet_NaN();
377
            }
378
            return (sy() - sx() * sxy() / sxx()) / static_cast<Float64>(n());
379
18
        } else if constexpr (kind == RegrFunctionKind::regr_sxx) {
380
18
            if (n() < 1) {
381
4
                return std::numeric_limits<Float64>::quiet_NaN();
382
4
            }
383
14
            return sxx();
384
        } else if constexpr (kind == RegrFunctionKind::regr_syy) {
385
            if (n() < 1) {
386
                return std::numeric_limits<Float64>::quiet_NaN();
387
            }
388
            return syy();
389
        } else if constexpr (kind == RegrFunctionKind::regr_sxy) {
390
            if (n() < 1) {
391
                return std::numeric_limits<Float64>::quiet_NaN();
392
            }
393
            return sxy();
394
        } else if constexpr (kind == RegrFunctionKind::regr_r2) {
395
            if (n() < 1 || sxx() == 0.0) {
396
                return std::numeric_limits<Float64>::quiet_NaN();
397
            }
398
            if (syy() == 0.0) {
399
                return 1.0;
400
            }
401
            return (sxy() * sxy()) / (sxx() * syy());
402
        } else {
403
            __builtin_unreachable();
404
        }
405
18
    }
_ZNK5doris25AggregateFunctionRegrDataILNS_13PrimitiveTypeE9ELNS_16RegrFunctionKindE6EE10get_resultEv
Line
Count
Source
356
18
    auto get_result() const {
357
        if constexpr (kind == RegrFunctionKind::regr_count) {
358
            return static_cast<Int64>(n());
359
        } else if constexpr (kind == RegrFunctionKind::regr_avgx) {
360
            if (n() < 1) {
361
                return std::numeric_limits<Float64>::quiet_NaN();
362
            }
363
            return sx() / static_cast<Float64>(n());
364
        } else if constexpr (kind == RegrFunctionKind::regr_avgy) {
365
            if (n() < 1) {
366
                return std::numeric_limits<Float64>::quiet_NaN();
367
            }
368
            return sy() / static_cast<Float64>(n());
369
        } else if constexpr (kind == RegrFunctionKind::regr_slope) {
370
            if (n() < 1 || sxx() == 0.0) {
371
                return std::numeric_limits<Float64>::quiet_NaN();
372
            }
373
            return sxy() / sxx();
374
        } else if constexpr (kind == RegrFunctionKind::regr_intercept) {
375
            if (n() < 1 || sxx() == 0.0) {
376
                return std::numeric_limits<Float64>::quiet_NaN();
377
            }
378
            return (sy() - sx() * sxy() / sxx()) / static_cast<Float64>(n());
379
        } else if constexpr (kind == RegrFunctionKind::regr_sxx) {
380
            if (n() < 1) {
381
                return std::numeric_limits<Float64>::quiet_NaN();
382
            }
383
            return sxx();
384
18
        } else if constexpr (kind == RegrFunctionKind::regr_syy) {
385
18
            if (n() < 1) {
386
4
                return std::numeric_limits<Float64>::quiet_NaN();
387
4
            }
388
14
            return syy();
389
        } else if constexpr (kind == RegrFunctionKind::regr_sxy) {
390
            if (n() < 1) {
391
                return std::numeric_limits<Float64>::quiet_NaN();
392
            }
393
            return sxy();
394
        } else if constexpr (kind == RegrFunctionKind::regr_r2) {
395
            if (n() < 1 || sxx() == 0.0) {
396
                return std::numeric_limits<Float64>::quiet_NaN();
397
            }
398
            if (syy() == 0.0) {
399
                return 1.0;
400
            }
401
            return (sxy() * sxy()) / (sxx() * syy());
402
        } else {
403
            __builtin_unreachable();
404
        }
405
18
    }
_ZNK5doris25AggregateFunctionRegrDataILNS_13PrimitiveTypeE9ELNS_16RegrFunctionKindE7EE10get_resultEv
Line
Count
Source
356
18
    auto get_result() const {
357
        if constexpr (kind == RegrFunctionKind::regr_count) {
358
            return static_cast<Int64>(n());
359
        } else if constexpr (kind == RegrFunctionKind::regr_avgx) {
360
            if (n() < 1) {
361
                return std::numeric_limits<Float64>::quiet_NaN();
362
            }
363
            return sx() / static_cast<Float64>(n());
364
        } else if constexpr (kind == RegrFunctionKind::regr_avgy) {
365
            if (n() < 1) {
366
                return std::numeric_limits<Float64>::quiet_NaN();
367
            }
368
            return sy() / static_cast<Float64>(n());
369
        } else if constexpr (kind == RegrFunctionKind::regr_slope) {
370
            if (n() < 1 || sxx() == 0.0) {
371
                return std::numeric_limits<Float64>::quiet_NaN();
372
            }
373
            return sxy() / sxx();
374
        } else if constexpr (kind == RegrFunctionKind::regr_intercept) {
375
            if (n() < 1 || sxx() == 0.0) {
376
                return std::numeric_limits<Float64>::quiet_NaN();
377
            }
378
            return (sy() - sx() * sxy() / sxx()) / static_cast<Float64>(n());
379
        } else if constexpr (kind == RegrFunctionKind::regr_sxx) {
380
            if (n() < 1) {
381
                return std::numeric_limits<Float64>::quiet_NaN();
382
            }
383
            return sxx();
384
        } else if constexpr (kind == RegrFunctionKind::regr_syy) {
385
            if (n() < 1) {
386
                return std::numeric_limits<Float64>::quiet_NaN();
387
            }
388
            return syy();
389
18
        } else if constexpr (kind == RegrFunctionKind::regr_sxy) {
390
18
            if (n() < 1) {
391
4
                return std::numeric_limits<Float64>::quiet_NaN();
392
4
            }
393
14
            return sxy();
394
        } else if constexpr (kind == RegrFunctionKind::regr_r2) {
395
            if (n() < 1 || sxx() == 0.0) {
396
                return std::numeric_limits<Float64>::quiet_NaN();
397
            }
398
            if (syy() == 0.0) {
399
                return 1.0;
400
            }
401
            return (sxy() * sxy()) / (sxx() * syy());
402
        } else {
403
            __builtin_unreachable();
404
        }
405
18
    }
_ZNK5doris25AggregateFunctionRegrDataILNS_13PrimitiveTypeE9ELNS_16RegrFunctionKindE8EE10get_resultEv
Line
Count
Source
356
26
    auto get_result() const {
357
        if constexpr (kind == RegrFunctionKind::regr_count) {
358
            return static_cast<Int64>(n());
359
        } else if constexpr (kind == RegrFunctionKind::regr_avgx) {
360
            if (n() < 1) {
361
                return std::numeric_limits<Float64>::quiet_NaN();
362
            }
363
            return sx() / static_cast<Float64>(n());
364
        } else if constexpr (kind == RegrFunctionKind::regr_avgy) {
365
            if (n() < 1) {
366
                return std::numeric_limits<Float64>::quiet_NaN();
367
            }
368
            return sy() / static_cast<Float64>(n());
369
        } else if constexpr (kind == RegrFunctionKind::regr_slope) {
370
            if (n() < 1 || sxx() == 0.0) {
371
                return std::numeric_limits<Float64>::quiet_NaN();
372
            }
373
            return sxy() / sxx();
374
        } else if constexpr (kind == RegrFunctionKind::regr_intercept) {
375
            if (n() < 1 || sxx() == 0.0) {
376
                return std::numeric_limits<Float64>::quiet_NaN();
377
            }
378
            return (sy() - sx() * sxy() / sxx()) / static_cast<Float64>(n());
379
        } else if constexpr (kind == RegrFunctionKind::regr_sxx) {
380
            if (n() < 1) {
381
                return std::numeric_limits<Float64>::quiet_NaN();
382
            }
383
            return sxx();
384
        } else if constexpr (kind == RegrFunctionKind::regr_syy) {
385
            if (n() < 1) {
386
                return std::numeric_limits<Float64>::quiet_NaN();
387
            }
388
            return syy();
389
        } else if constexpr (kind == RegrFunctionKind::regr_sxy) {
390
            if (n() < 1) {
391
                return std::numeric_limits<Float64>::quiet_NaN();
392
            }
393
            return sxy();
394
26
        } else if constexpr (kind == RegrFunctionKind::regr_r2) {
395
26
            if (n() < 1 || sxx() == 0.0) {
396
16
                return std::numeric_limits<Float64>::quiet_NaN();
397
16
            }
398
10
            if (syy() == 0.0) {
399
4
                return 1.0;
400
4
            }
401
6
            return (sxy() * sxy()) / (sxx() * syy());
402
        } else {
403
            __builtin_unreachable();
404
        }
405
26
    }
406
};
407
408
template <PrimitiveType T, RegrFunctionKind kind, bool y_is_nullable, bool x_is_nullable,
409
          typename Derived>
410
class AggregateFunctionRegrBase
411
        : public IAggregateFunctionDataHelper<AggregateFunctionRegrData<T, kind>, Derived> {
412
public:
413
    using Data = AggregateFunctionRegrData<T, kind>;
414
    using InputCol = typename PrimitiveTypeTraits<Data::Type>::ColumnType;
415
416
    explicit AggregateFunctionRegrBase(const DataTypes& argument_types_)
417
314
            : IAggregateFunctionDataHelper<Data, Derived>(argument_types_) {
418
314
        DCHECK(argument_types_.size() == 2);
419
314
    }
_ZN5doris25AggregateFunctionRegrBaseILNS_13PrimitiveTypeE9ELNS_16RegrFunctionKindE0ELb1ELb1ENS_21AggregateFunctionRegrILS1_9ELS2_0ELb1ELb1EEEEC2ERKSt6vectorISt10shared_ptrIKNS_9IDataTypeEESaISA_EE
Line
Count
Source
417
11
            : IAggregateFunctionDataHelper<Data, Derived>(argument_types_) {
418
        DCHECK(argument_types_.size() == 2);
419
11
    }
_ZN5doris25AggregateFunctionRegrBaseILNS_13PrimitiveTypeE9ELNS_16RegrFunctionKindE0ELb1ELb0ENS_21AggregateFunctionRegrILS1_9ELS2_0ELb1ELb0EEEEC2ERKSt6vectorISt10shared_ptrIKNS_9IDataTypeEESaISA_EE
Line
Count
Source
417
5
            : IAggregateFunctionDataHelper<Data, Derived>(argument_types_) {
418
        DCHECK(argument_types_.size() == 2);
419
5
    }
_ZN5doris25AggregateFunctionRegrBaseILNS_13PrimitiveTypeE9ELNS_16RegrFunctionKindE0ELb0ELb1ENS_21AggregateFunctionRegrILS1_9ELS2_0ELb0ELb1EEEEC2ERKSt6vectorISt10shared_ptrIKNS_9IDataTypeEESaISA_EE
Line
Count
Source
417
5
            : IAggregateFunctionDataHelper<Data, Derived>(argument_types_) {
418
        DCHECK(argument_types_.size() == 2);
419
5
    }
_ZN5doris25AggregateFunctionRegrBaseILNS_13PrimitiveTypeE9ELNS_16RegrFunctionKindE0ELb0ELb0ENS_21AggregateFunctionRegrILS1_9ELS2_0ELb0ELb0EEEEC2ERKSt6vectorISt10shared_ptrIKNS_9IDataTypeEESaISA_EE
Line
Count
Source
417
7
            : IAggregateFunctionDataHelper<Data, Derived>(argument_types_) {
418
        DCHECK(argument_types_.size() == 2);
419
7
    }
_ZN5doris25AggregateFunctionRegrBaseILNS_13PrimitiveTypeE9ELNS_16RegrFunctionKindE1ELb1ELb1ENS_21AggregateFunctionRegrILS1_9ELS2_1ELb1ELb1EEEEC2ERKSt6vectorISt10shared_ptrIKNS_9IDataTypeEESaISA_EE
Line
Count
Source
417
11
            : IAggregateFunctionDataHelper<Data, Derived>(argument_types_) {
418
        DCHECK(argument_types_.size() == 2);
419
11
    }
_ZN5doris25AggregateFunctionRegrBaseILNS_13PrimitiveTypeE9ELNS_16RegrFunctionKindE1ELb1ELb0ENS_21AggregateFunctionRegrILS1_9ELS2_1ELb1ELb0EEEEC2ERKSt6vectorISt10shared_ptrIKNS_9IDataTypeEESaISA_EE
Line
Count
Source
417
5
            : IAggregateFunctionDataHelper<Data, Derived>(argument_types_) {
418
        DCHECK(argument_types_.size() == 2);
419
5
    }
_ZN5doris25AggregateFunctionRegrBaseILNS_13PrimitiveTypeE9ELNS_16RegrFunctionKindE1ELb0ELb1ENS_21AggregateFunctionRegrILS1_9ELS2_1ELb0ELb1EEEEC2ERKSt6vectorISt10shared_ptrIKNS_9IDataTypeEESaISA_EE
Line
Count
Source
417
5
            : IAggregateFunctionDataHelper<Data, Derived>(argument_types_) {
418
        DCHECK(argument_types_.size() == 2);
419
5
    }
_ZN5doris25AggregateFunctionRegrBaseILNS_13PrimitiveTypeE9ELNS_16RegrFunctionKindE1ELb0ELb0ENS_21AggregateFunctionRegrILS1_9ELS2_1ELb0ELb0EEEEC2ERKSt6vectorISt10shared_ptrIKNS_9IDataTypeEESaISA_EE
Line
Count
Source
417
7
            : IAggregateFunctionDataHelper<Data, Derived>(argument_types_) {
418
        DCHECK(argument_types_.size() == 2);
419
7
    }
_ZN5doris25AggregateFunctionRegrBaseILNS_13PrimitiveTypeE9ELNS_16RegrFunctionKindE2ELb1ELb1ENS_21AggregateFunctionRegrILS1_9ELS2_2ELb1ELb1EEEEC2ERKSt6vectorISt10shared_ptrIKNS_9IDataTypeEESaISA_EE
Line
Count
Source
417
11
            : IAggregateFunctionDataHelper<Data, Derived>(argument_types_) {
418
        DCHECK(argument_types_.size() == 2);
419
11
    }
_ZN5doris25AggregateFunctionRegrBaseILNS_13PrimitiveTypeE9ELNS_16RegrFunctionKindE2ELb1ELb0ENS_21AggregateFunctionRegrILS1_9ELS2_2ELb1ELb0EEEEC2ERKSt6vectorISt10shared_ptrIKNS_9IDataTypeEESaISA_EE
Line
Count
Source
417
5
            : IAggregateFunctionDataHelper<Data, Derived>(argument_types_) {
418
        DCHECK(argument_types_.size() == 2);
419
5
    }
_ZN5doris25AggregateFunctionRegrBaseILNS_13PrimitiveTypeE9ELNS_16RegrFunctionKindE2ELb0ELb1ENS_21AggregateFunctionRegrILS1_9ELS2_2ELb0ELb1EEEEC2ERKSt6vectorISt10shared_ptrIKNS_9IDataTypeEESaISA_EE
Line
Count
Source
417
5
            : IAggregateFunctionDataHelper<Data, Derived>(argument_types_) {
418
        DCHECK(argument_types_.size() == 2);
419
5
    }
_ZN5doris25AggregateFunctionRegrBaseILNS_13PrimitiveTypeE9ELNS_16RegrFunctionKindE2ELb0ELb0ENS_21AggregateFunctionRegrILS1_9ELS2_2ELb0ELb0EEEEC2ERKSt6vectorISt10shared_ptrIKNS_9IDataTypeEESaISA_EE
Line
Count
Source
417
7
            : IAggregateFunctionDataHelper<Data, Derived>(argument_types_) {
418
        DCHECK(argument_types_.size() == 2);
419
7
    }
_ZN5doris25AggregateFunctionRegrBaseILNS_13PrimitiveTypeE9ELNS_16RegrFunctionKindE3ELb1ELb1ENS_21AggregateFunctionRegrILS1_9ELS2_3ELb1ELb1EEEEC2ERKSt6vectorISt10shared_ptrIKNS_9IDataTypeEESaISA_EE
Line
Count
Source
417
26
            : IAggregateFunctionDataHelper<Data, Derived>(argument_types_) {
418
        DCHECK(argument_types_.size() == 2);
419
26
    }
_ZN5doris25AggregateFunctionRegrBaseILNS_13PrimitiveTypeE9ELNS_16RegrFunctionKindE3ELb1ELb0ENS_21AggregateFunctionRegrILS1_9ELS2_3ELb1ELb0EEEEC2ERKSt6vectorISt10shared_ptrIKNS_9IDataTypeEESaISA_EE
Line
Count
Source
417
19
            : IAggregateFunctionDataHelper<Data, Derived>(argument_types_) {
418
        DCHECK(argument_types_.size() == 2);
419
19
    }
_ZN5doris25AggregateFunctionRegrBaseILNS_13PrimitiveTypeE9ELNS_16RegrFunctionKindE3ELb0ELb1ENS_21AggregateFunctionRegrILS1_9ELS2_3ELb0ELb1EEEEC2ERKSt6vectorISt10shared_ptrIKNS_9IDataTypeEESaISA_EE
Line
Count
Source
417
9
            : IAggregateFunctionDataHelper<Data, Derived>(argument_types_) {
418
        DCHECK(argument_types_.size() == 2);
419
9
    }
_ZN5doris25AggregateFunctionRegrBaseILNS_13PrimitiveTypeE9ELNS_16RegrFunctionKindE3ELb0ELb0ENS_21AggregateFunctionRegrILS1_9ELS2_3ELb0ELb0EEEEC2ERKSt6vectorISt10shared_ptrIKNS_9IDataTypeEESaISA_EE
Line
Count
Source
417
14
            : IAggregateFunctionDataHelper<Data, Derived>(argument_types_) {
418
        DCHECK(argument_types_.size() == 2);
419
14
    }
_ZN5doris25AggregateFunctionRegrBaseILNS_13PrimitiveTypeE9ELNS_16RegrFunctionKindE4ELb1ELb1ENS_21AggregateFunctionRegrILS1_9ELS2_4ELb1ELb1EEEEC2ERKSt6vectorISt10shared_ptrIKNS_9IDataTypeEESaISA_EE
Line
Count
Source
417
26
            : IAggregateFunctionDataHelper<Data, Derived>(argument_types_) {
418
        DCHECK(argument_types_.size() == 2);
419
26
    }
_ZN5doris25AggregateFunctionRegrBaseILNS_13PrimitiveTypeE9ELNS_16RegrFunctionKindE4ELb1ELb0ENS_21AggregateFunctionRegrILS1_9ELS2_4ELb1ELb0EEEEC2ERKSt6vectorISt10shared_ptrIKNS_9IDataTypeEESaISA_EE
Line
Count
Source
417
19
            : IAggregateFunctionDataHelper<Data, Derived>(argument_types_) {
418
        DCHECK(argument_types_.size() == 2);
419
19
    }
_ZN5doris25AggregateFunctionRegrBaseILNS_13PrimitiveTypeE9ELNS_16RegrFunctionKindE4ELb0ELb1ENS_21AggregateFunctionRegrILS1_9ELS2_4ELb0ELb1EEEEC2ERKSt6vectorISt10shared_ptrIKNS_9IDataTypeEESaISA_EE
Line
Count
Source
417
9
            : IAggregateFunctionDataHelper<Data, Derived>(argument_types_) {
418
        DCHECK(argument_types_.size() == 2);
419
9
    }
_ZN5doris25AggregateFunctionRegrBaseILNS_13PrimitiveTypeE9ELNS_16RegrFunctionKindE4ELb0ELb0ENS_21AggregateFunctionRegrILS1_9ELS2_4ELb0ELb0EEEEC2ERKSt6vectorISt10shared_ptrIKNS_9IDataTypeEESaISA_EE
Line
Count
Source
417
14
            : IAggregateFunctionDataHelper<Data, Derived>(argument_types_) {
418
        DCHECK(argument_types_.size() == 2);
419
14
    }
_ZN5doris25AggregateFunctionRegrBaseILNS_13PrimitiveTypeE9ELNS_16RegrFunctionKindE5ELb1ELb1ENS_21AggregateFunctionRegrILS1_9ELS2_5ELb1ELb1EEEEC2ERKSt6vectorISt10shared_ptrIKNS_9IDataTypeEESaISA_EE
Line
Count
Source
417
6
            : IAggregateFunctionDataHelper<Data, Derived>(argument_types_) {
418
        DCHECK(argument_types_.size() == 2);
419
6
    }
_ZN5doris25AggregateFunctionRegrBaseILNS_13PrimitiveTypeE9ELNS_16RegrFunctionKindE5ELb1ELb0ENS_21AggregateFunctionRegrILS1_9ELS2_5ELb1ELb0EEEEC2ERKSt6vectorISt10shared_ptrIKNS_9IDataTypeEESaISA_EE
Line
Count
Source
417
5
            : IAggregateFunctionDataHelper<Data, Derived>(argument_types_) {
418
        DCHECK(argument_types_.size() == 2);
419
5
    }
_ZN5doris25AggregateFunctionRegrBaseILNS_13PrimitiveTypeE9ELNS_16RegrFunctionKindE5ELb0ELb1ENS_21AggregateFunctionRegrILS1_9ELS2_5ELb0ELb1EEEEC2ERKSt6vectorISt10shared_ptrIKNS_9IDataTypeEESaISA_EE
Line
Count
Source
417
5
            : IAggregateFunctionDataHelper<Data, Derived>(argument_types_) {
418
        DCHECK(argument_types_.size() == 2);
419
5
    }
_ZN5doris25AggregateFunctionRegrBaseILNS_13PrimitiveTypeE9ELNS_16RegrFunctionKindE5ELb0ELb0ENS_21AggregateFunctionRegrILS1_9ELS2_5ELb0ELb0EEEEC2ERKSt6vectorISt10shared_ptrIKNS_9IDataTypeEESaISA_EE
Line
Count
Source
417
6
            : IAggregateFunctionDataHelper<Data, Derived>(argument_types_) {
418
        DCHECK(argument_types_.size() == 2);
419
6
    }
_ZN5doris25AggregateFunctionRegrBaseILNS_13PrimitiveTypeE9ELNS_16RegrFunctionKindE6ELb1ELb1ENS_21AggregateFunctionRegrILS1_9ELS2_6ELb1ELb1EEEEC2ERKSt6vectorISt10shared_ptrIKNS_9IDataTypeEESaISA_EE
Line
Count
Source
417
6
            : IAggregateFunctionDataHelper<Data, Derived>(argument_types_) {
418
        DCHECK(argument_types_.size() == 2);
419
6
    }
_ZN5doris25AggregateFunctionRegrBaseILNS_13PrimitiveTypeE9ELNS_16RegrFunctionKindE6ELb1ELb0ENS_21AggregateFunctionRegrILS1_9ELS2_6ELb1ELb0EEEEC2ERKSt6vectorISt10shared_ptrIKNS_9IDataTypeEESaISA_EE
Line
Count
Source
417
5
            : IAggregateFunctionDataHelper<Data, Derived>(argument_types_) {
418
        DCHECK(argument_types_.size() == 2);
419
5
    }
_ZN5doris25AggregateFunctionRegrBaseILNS_13PrimitiveTypeE9ELNS_16RegrFunctionKindE6ELb0ELb1ENS_21AggregateFunctionRegrILS1_9ELS2_6ELb0ELb1EEEEC2ERKSt6vectorISt10shared_ptrIKNS_9IDataTypeEESaISA_EE
Line
Count
Source
417
5
            : IAggregateFunctionDataHelper<Data, Derived>(argument_types_) {
418
        DCHECK(argument_types_.size() == 2);
419
5
    }
_ZN5doris25AggregateFunctionRegrBaseILNS_13PrimitiveTypeE9ELNS_16RegrFunctionKindE6ELb0ELb0ENS_21AggregateFunctionRegrILS1_9ELS2_6ELb0ELb0EEEEC2ERKSt6vectorISt10shared_ptrIKNS_9IDataTypeEESaISA_EE
Line
Count
Source
417
6
            : IAggregateFunctionDataHelper<Data, Derived>(argument_types_) {
418
        DCHECK(argument_types_.size() == 2);
419
6
    }
_ZN5doris25AggregateFunctionRegrBaseILNS_13PrimitiveTypeE9ELNS_16RegrFunctionKindE7ELb1ELb1ENS_21AggregateFunctionRegrILS1_9ELS2_7ELb1ELb1EEEEC2ERKSt6vectorISt10shared_ptrIKNS_9IDataTypeEESaISA_EE
Line
Count
Source
417
6
            : IAggregateFunctionDataHelper<Data, Derived>(argument_types_) {
418
        DCHECK(argument_types_.size() == 2);
419
6
    }
_ZN5doris25AggregateFunctionRegrBaseILNS_13PrimitiveTypeE9ELNS_16RegrFunctionKindE7ELb1ELb0ENS_21AggregateFunctionRegrILS1_9ELS2_7ELb1ELb0EEEEC2ERKSt6vectorISt10shared_ptrIKNS_9IDataTypeEESaISA_EE
Line
Count
Source
417
5
            : IAggregateFunctionDataHelper<Data, Derived>(argument_types_) {
418
        DCHECK(argument_types_.size() == 2);
419
5
    }
_ZN5doris25AggregateFunctionRegrBaseILNS_13PrimitiveTypeE9ELNS_16RegrFunctionKindE7ELb0ELb1ENS_21AggregateFunctionRegrILS1_9ELS2_7ELb0ELb1EEEEC2ERKSt6vectorISt10shared_ptrIKNS_9IDataTypeEESaISA_EE
Line
Count
Source
417
5
            : IAggregateFunctionDataHelper<Data, Derived>(argument_types_) {
418
        DCHECK(argument_types_.size() == 2);
419
5
    }
_ZN5doris25AggregateFunctionRegrBaseILNS_13PrimitiveTypeE9ELNS_16RegrFunctionKindE7ELb0ELb0ENS_21AggregateFunctionRegrILS1_9ELS2_7ELb0ELb0EEEEC2ERKSt6vectorISt10shared_ptrIKNS_9IDataTypeEESaISA_EE
Line
Count
Source
417
6
            : IAggregateFunctionDataHelper<Data, Derived>(argument_types_) {
418
        DCHECK(argument_types_.size() == 2);
419
6
    }
_ZN5doris25AggregateFunctionRegrBaseILNS_13PrimitiveTypeE9ELNS_16RegrFunctionKindE8ELb1ELb1ENS_21AggregateFunctionRegrILS1_9ELS2_8ELb1ELb1EEEEC2ERKSt6vectorISt10shared_ptrIKNS_9IDataTypeEESaISA_EE
Line
Count
Source
417
11
            : IAggregateFunctionDataHelper<Data, Derived>(argument_types_) {
418
        DCHECK(argument_types_.size() == 2);
419
11
    }
_ZN5doris25AggregateFunctionRegrBaseILNS_13PrimitiveTypeE9ELNS_16RegrFunctionKindE8ELb1ELb0ENS_21AggregateFunctionRegrILS1_9ELS2_8ELb1ELb0EEEEC2ERKSt6vectorISt10shared_ptrIKNS_9IDataTypeEESaISA_EE
Line
Count
Source
417
5
            : IAggregateFunctionDataHelper<Data, Derived>(argument_types_) {
418
        DCHECK(argument_types_.size() == 2);
419
5
    }
_ZN5doris25AggregateFunctionRegrBaseILNS_13PrimitiveTypeE9ELNS_16RegrFunctionKindE8ELb0ELb1ENS_21AggregateFunctionRegrILS1_9ELS2_8ELb0ELb1EEEEC2ERKSt6vectorISt10shared_ptrIKNS_9IDataTypeEESaISA_EE
Line
Count
Source
417
5
            : IAggregateFunctionDataHelper<Data, Derived>(argument_types_) {
418
        DCHECK(argument_types_.size() == 2);
419
5
    }
_ZN5doris25AggregateFunctionRegrBaseILNS_13PrimitiveTypeE9ELNS_16RegrFunctionKindE8ELb0ELb0ENS_21AggregateFunctionRegrILS1_9ELS2_8ELb0ELb0EEEEC2ERKSt6vectorISt10shared_ptrIKNS_9IDataTypeEESaISA_EE
Line
Count
Source
417
7
            : IAggregateFunctionDataHelper<Data, Derived>(argument_types_) {
418
        DCHECK(argument_types_.size() == 2);
419
7
    }
420
421
0
    String get_name() const override { return RegrTraits<kind>::name; }
Unexecuted instantiation: _ZNK5doris25AggregateFunctionRegrBaseILNS_13PrimitiveTypeE9ELNS_16RegrFunctionKindE0ELb1ELb1ENS_21AggregateFunctionRegrILS1_9ELS2_0ELb1ELb1EEEE8get_nameB5cxx11Ev
Unexecuted instantiation: _ZNK5doris25AggregateFunctionRegrBaseILNS_13PrimitiveTypeE9ELNS_16RegrFunctionKindE0ELb1ELb0ENS_21AggregateFunctionRegrILS1_9ELS2_0ELb1ELb0EEEE8get_nameB5cxx11Ev
Unexecuted instantiation: _ZNK5doris25AggregateFunctionRegrBaseILNS_13PrimitiveTypeE9ELNS_16RegrFunctionKindE0ELb0ELb1ENS_21AggregateFunctionRegrILS1_9ELS2_0ELb0ELb1EEEE8get_nameB5cxx11Ev
Unexecuted instantiation: _ZNK5doris25AggregateFunctionRegrBaseILNS_13PrimitiveTypeE9ELNS_16RegrFunctionKindE0ELb0ELb0ENS_21AggregateFunctionRegrILS1_9ELS2_0ELb0ELb0EEEE8get_nameB5cxx11Ev
Unexecuted instantiation: _ZNK5doris25AggregateFunctionRegrBaseILNS_13PrimitiveTypeE9ELNS_16RegrFunctionKindE1ELb1ELb1ENS_21AggregateFunctionRegrILS1_9ELS2_1ELb1ELb1EEEE8get_nameB5cxx11Ev
Unexecuted instantiation: _ZNK5doris25AggregateFunctionRegrBaseILNS_13PrimitiveTypeE9ELNS_16RegrFunctionKindE1ELb1ELb0ENS_21AggregateFunctionRegrILS1_9ELS2_1ELb1ELb0EEEE8get_nameB5cxx11Ev
Unexecuted instantiation: _ZNK5doris25AggregateFunctionRegrBaseILNS_13PrimitiveTypeE9ELNS_16RegrFunctionKindE1ELb0ELb1ENS_21AggregateFunctionRegrILS1_9ELS2_1ELb0ELb1EEEE8get_nameB5cxx11Ev
Unexecuted instantiation: _ZNK5doris25AggregateFunctionRegrBaseILNS_13PrimitiveTypeE9ELNS_16RegrFunctionKindE1ELb0ELb0ENS_21AggregateFunctionRegrILS1_9ELS2_1ELb0ELb0EEEE8get_nameB5cxx11Ev
Unexecuted instantiation: _ZNK5doris25AggregateFunctionRegrBaseILNS_13PrimitiveTypeE9ELNS_16RegrFunctionKindE2ELb1ELb1ENS_21AggregateFunctionRegrILS1_9ELS2_2ELb1ELb1EEEE8get_nameB5cxx11Ev
Unexecuted instantiation: _ZNK5doris25AggregateFunctionRegrBaseILNS_13PrimitiveTypeE9ELNS_16RegrFunctionKindE2ELb1ELb0ENS_21AggregateFunctionRegrILS1_9ELS2_2ELb1ELb0EEEE8get_nameB5cxx11Ev
Unexecuted instantiation: _ZNK5doris25AggregateFunctionRegrBaseILNS_13PrimitiveTypeE9ELNS_16RegrFunctionKindE2ELb0ELb1ENS_21AggregateFunctionRegrILS1_9ELS2_2ELb0ELb1EEEE8get_nameB5cxx11Ev
Unexecuted instantiation: _ZNK5doris25AggregateFunctionRegrBaseILNS_13PrimitiveTypeE9ELNS_16RegrFunctionKindE2ELb0ELb0ENS_21AggregateFunctionRegrILS1_9ELS2_2ELb0ELb0EEEE8get_nameB5cxx11Ev
Unexecuted instantiation: _ZNK5doris25AggregateFunctionRegrBaseILNS_13PrimitiveTypeE9ELNS_16RegrFunctionKindE3ELb1ELb1ENS_21AggregateFunctionRegrILS1_9ELS2_3ELb1ELb1EEEE8get_nameB5cxx11Ev
Unexecuted instantiation: _ZNK5doris25AggregateFunctionRegrBaseILNS_13PrimitiveTypeE9ELNS_16RegrFunctionKindE3ELb1ELb0ENS_21AggregateFunctionRegrILS1_9ELS2_3ELb1ELb0EEEE8get_nameB5cxx11Ev
Unexecuted instantiation: _ZNK5doris25AggregateFunctionRegrBaseILNS_13PrimitiveTypeE9ELNS_16RegrFunctionKindE3ELb0ELb1ENS_21AggregateFunctionRegrILS1_9ELS2_3ELb0ELb1EEEE8get_nameB5cxx11Ev
Unexecuted instantiation: _ZNK5doris25AggregateFunctionRegrBaseILNS_13PrimitiveTypeE9ELNS_16RegrFunctionKindE3ELb0ELb0ENS_21AggregateFunctionRegrILS1_9ELS2_3ELb0ELb0EEEE8get_nameB5cxx11Ev
Unexecuted instantiation: _ZNK5doris25AggregateFunctionRegrBaseILNS_13PrimitiveTypeE9ELNS_16RegrFunctionKindE4ELb1ELb1ENS_21AggregateFunctionRegrILS1_9ELS2_4ELb1ELb1EEEE8get_nameB5cxx11Ev
Unexecuted instantiation: _ZNK5doris25AggregateFunctionRegrBaseILNS_13PrimitiveTypeE9ELNS_16RegrFunctionKindE4ELb1ELb0ENS_21AggregateFunctionRegrILS1_9ELS2_4ELb1ELb0EEEE8get_nameB5cxx11Ev
Unexecuted instantiation: _ZNK5doris25AggregateFunctionRegrBaseILNS_13PrimitiveTypeE9ELNS_16RegrFunctionKindE4ELb0ELb1ENS_21AggregateFunctionRegrILS1_9ELS2_4ELb0ELb1EEEE8get_nameB5cxx11Ev
Unexecuted instantiation: _ZNK5doris25AggregateFunctionRegrBaseILNS_13PrimitiveTypeE9ELNS_16RegrFunctionKindE4ELb0ELb0ENS_21AggregateFunctionRegrILS1_9ELS2_4ELb0ELb0EEEE8get_nameB5cxx11Ev
Unexecuted instantiation: _ZNK5doris25AggregateFunctionRegrBaseILNS_13PrimitiveTypeE9ELNS_16RegrFunctionKindE5ELb1ELb1ENS_21AggregateFunctionRegrILS1_9ELS2_5ELb1ELb1EEEE8get_nameB5cxx11Ev
Unexecuted instantiation: _ZNK5doris25AggregateFunctionRegrBaseILNS_13PrimitiveTypeE9ELNS_16RegrFunctionKindE5ELb1ELb0ENS_21AggregateFunctionRegrILS1_9ELS2_5ELb1ELb0EEEE8get_nameB5cxx11Ev
Unexecuted instantiation: _ZNK5doris25AggregateFunctionRegrBaseILNS_13PrimitiveTypeE9ELNS_16RegrFunctionKindE5ELb0ELb1ENS_21AggregateFunctionRegrILS1_9ELS2_5ELb0ELb1EEEE8get_nameB5cxx11Ev
Unexecuted instantiation: _ZNK5doris25AggregateFunctionRegrBaseILNS_13PrimitiveTypeE9ELNS_16RegrFunctionKindE5ELb0ELb0ENS_21AggregateFunctionRegrILS1_9ELS2_5ELb0ELb0EEEE8get_nameB5cxx11Ev
Unexecuted instantiation: _ZNK5doris25AggregateFunctionRegrBaseILNS_13PrimitiveTypeE9ELNS_16RegrFunctionKindE6ELb1ELb1ENS_21AggregateFunctionRegrILS1_9ELS2_6ELb1ELb1EEEE8get_nameB5cxx11Ev
Unexecuted instantiation: _ZNK5doris25AggregateFunctionRegrBaseILNS_13PrimitiveTypeE9ELNS_16RegrFunctionKindE6ELb1ELb0ENS_21AggregateFunctionRegrILS1_9ELS2_6ELb1ELb0EEEE8get_nameB5cxx11Ev
Unexecuted instantiation: _ZNK5doris25AggregateFunctionRegrBaseILNS_13PrimitiveTypeE9ELNS_16RegrFunctionKindE6ELb0ELb1ENS_21AggregateFunctionRegrILS1_9ELS2_6ELb0ELb1EEEE8get_nameB5cxx11Ev
Unexecuted instantiation: _ZNK5doris25AggregateFunctionRegrBaseILNS_13PrimitiveTypeE9ELNS_16RegrFunctionKindE6ELb0ELb0ENS_21AggregateFunctionRegrILS1_9ELS2_6ELb0ELb0EEEE8get_nameB5cxx11Ev
Unexecuted instantiation: _ZNK5doris25AggregateFunctionRegrBaseILNS_13PrimitiveTypeE9ELNS_16RegrFunctionKindE7ELb1ELb1ENS_21AggregateFunctionRegrILS1_9ELS2_7ELb1ELb1EEEE8get_nameB5cxx11Ev
Unexecuted instantiation: _ZNK5doris25AggregateFunctionRegrBaseILNS_13PrimitiveTypeE9ELNS_16RegrFunctionKindE7ELb1ELb0ENS_21AggregateFunctionRegrILS1_9ELS2_7ELb1ELb0EEEE8get_nameB5cxx11Ev
Unexecuted instantiation: _ZNK5doris25AggregateFunctionRegrBaseILNS_13PrimitiveTypeE9ELNS_16RegrFunctionKindE7ELb0ELb1ENS_21AggregateFunctionRegrILS1_9ELS2_7ELb0ELb1EEEE8get_nameB5cxx11Ev
Unexecuted instantiation: _ZNK5doris25AggregateFunctionRegrBaseILNS_13PrimitiveTypeE9ELNS_16RegrFunctionKindE7ELb0ELb0ENS_21AggregateFunctionRegrILS1_9ELS2_7ELb0ELb0EEEE8get_nameB5cxx11Ev
Unexecuted instantiation: _ZNK5doris25AggregateFunctionRegrBaseILNS_13PrimitiveTypeE9ELNS_16RegrFunctionKindE8ELb1ELb1ENS_21AggregateFunctionRegrILS1_9ELS2_8ELb1ELb1EEEE8get_nameB5cxx11Ev
Unexecuted instantiation: _ZNK5doris25AggregateFunctionRegrBaseILNS_13PrimitiveTypeE9ELNS_16RegrFunctionKindE8ELb1ELb0ENS_21AggregateFunctionRegrILS1_9ELS2_8ELb1ELb0EEEE8get_nameB5cxx11Ev
Unexecuted instantiation: _ZNK5doris25AggregateFunctionRegrBaseILNS_13PrimitiveTypeE9ELNS_16RegrFunctionKindE8ELb0ELb1ENS_21AggregateFunctionRegrILS1_9ELS2_8ELb0ELb1EEEE8get_nameB5cxx11Ev
Unexecuted instantiation: _ZNK5doris25AggregateFunctionRegrBaseILNS_13PrimitiveTypeE9ELNS_16RegrFunctionKindE8ELb0ELb0ENS_21AggregateFunctionRegrILS1_9ELS2_8ELb0ELb0EEEE8get_nameB5cxx11Ev
422
423
    // Regr aggregates only consume rows where both y and x are non-null.
424
    void add(AggregateDataPtr __restrict place, const IColumn** columns, ssize_t row_num,
425
787
             Arena&) const override {
426
787
        const auto* y_column = get_nested_column_or_null<y_is_nullable>(columns[0], row_num);
427
787
        if constexpr (y_is_nullable) {
428
543
            if (y_column == nullptr) {
429
60
                return;
430
60
            }
431
543
        }
432
483
        const auto* x_column = get_nested_column_or_null<x_is_nullable>(columns[1], row_num);
433
787
        if constexpr (x_is_nullable) {
434
483
            if (x_column == nullptr) {
435
52
                return;
436
52
            }
437
483
        }
438
439
431
        this->data(place).add(y_column->get_data()[row_num], x_column->get_data()[row_num]);
440
787
    }
_ZNK5doris25AggregateFunctionRegrBaseILNS_13PrimitiveTypeE9ELNS_16RegrFunctionKindE0ELb1ELb1ENS_21AggregateFunctionRegrILS1_9ELS2_0ELb1ELb1EEEE3addEPcPPKNS_7IColumnElRNS_5ArenaE
Line
Count
Source
425
48
             Arena&) const override {
426
48
        const auto* y_column = get_nested_column_or_null<y_is_nullable>(columns[0], row_num);
427
48
        if constexpr (y_is_nullable) {
428
48
            if (y_column == nullptr) {
429
6
                return;
430
6
            }
431
48
        }
432
42
        const auto* x_column = get_nested_column_or_null<x_is_nullable>(columns[1], row_num);
433
48
        if constexpr (x_is_nullable) {
434
48
            if (x_column == nullptr) {
435
6
                return;
436
6
            }
437
48
        }
438
439
42
        this->data(place).add(y_column->get_data()[row_num], x_column->get_data()[row_num]);
440
48
    }
_ZNK5doris25AggregateFunctionRegrBaseILNS_13PrimitiveTypeE9ELNS_16RegrFunctionKindE0ELb1ELb0ENS_21AggregateFunctionRegrILS1_9ELS2_0ELb1ELb0EEEE3addEPcPPKNS_7IColumnElRNS_5ArenaE
Line
Count
Source
425
7
             Arena&) const override {
426
7
        const auto* y_column = get_nested_column_or_null<y_is_nullable>(columns[0], row_num);
427
7
        if constexpr (y_is_nullable) {
428
7
            if (y_column == nullptr) {
429
1
                return;
430
1
            }
431
7
        }
432
6
        const auto* x_column = get_nested_column_or_null<x_is_nullable>(columns[1], row_num);
433
        if constexpr (x_is_nullable) {
434
            if (x_column == nullptr) {
435
                return;
436
            }
437
        }
438
439
7
        this->data(place).add(y_column->get_data()[row_num], x_column->get_data()[row_num]);
440
7
    }
_ZNK5doris25AggregateFunctionRegrBaseILNS_13PrimitiveTypeE9ELNS_16RegrFunctionKindE0ELb0ELb1ENS_21AggregateFunctionRegrILS1_9ELS2_0ELb0ELb1EEEE3addEPcPPKNS_7IColumnElRNS_5ArenaE
Line
Count
Source
425
7
             Arena&) const override {
426
7
        const auto* y_column = get_nested_column_or_null<y_is_nullable>(columns[0], row_num);
427
        if constexpr (y_is_nullable) {
428
            if (y_column == nullptr) {
429
                return;
430
            }
431
        }
432
7
        const auto* x_column = get_nested_column_or_null<x_is_nullable>(columns[1], row_num);
433
7
        if constexpr (x_is_nullable) {
434
7
            if (x_column == nullptr) {
435
1
                return;
436
1
            }
437
7
        }
438
439
6
        this->data(place).add(y_column->get_data()[row_num], x_column->get_data()[row_num]);
440
7
    }
_ZNK5doris25AggregateFunctionRegrBaseILNS_13PrimitiveTypeE9ELNS_16RegrFunctionKindE0ELb0ELb0ENS_21AggregateFunctionRegrILS1_9ELS2_0ELb0ELb0EEEE3addEPcPPKNS_7IColumnElRNS_5ArenaE
Line
Count
Source
425
9
             Arena&) const override {
426
9
        const auto* y_column = get_nested_column_or_null<y_is_nullable>(columns[0], row_num);
427
        if constexpr (y_is_nullable) {
428
            if (y_column == nullptr) {
429
                return;
430
            }
431
        }
432
9
        const auto* x_column = get_nested_column_or_null<x_is_nullable>(columns[1], row_num);
433
        if constexpr (x_is_nullable) {
434
            if (x_column == nullptr) {
435
                return;
436
            }
437
        }
438
439
9
        this->data(place).add(y_column->get_data()[row_num], x_column->get_data()[row_num]);
440
9
    }
_ZNK5doris25AggregateFunctionRegrBaseILNS_13PrimitiveTypeE9ELNS_16RegrFunctionKindE1ELb1ELb1ENS_21AggregateFunctionRegrILS1_9ELS2_1ELb1ELb1EEEE3addEPcPPKNS_7IColumnElRNS_5ArenaE
Line
Count
Source
425
48
             Arena&) const override {
426
48
        const auto* y_column = get_nested_column_or_null<y_is_nullable>(columns[0], row_num);
427
48
        if constexpr (y_is_nullable) {
428
48
            if (y_column == nullptr) {
429
6
                return;
430
6
            }
431
48
        }
432
42
        const auto* x_column = get_nested_column_or_null<x_is_nullable>(columns[1], row_num);
433
48
        if constexpr (x_is_nullable) {
434
48
            if (x_column == nullptr) {
435
6
                return;
436
6
            }
437
48
        }
438
439
42
        this->data(place).add(y_column->get_data()[row_num], x_column->get_data()[row_num]);
440
48
    }
_ZNK5doris25AggregateFunctionRegrBaseILNS_13PrimitiveTypeE9ELNS_16RegrFunctionKindE1ELb1ELb0ENS_21AggregateFunctionRegrILS1_9ELS2_1ELb1ELb0EEEE3addEPcPPKNS_7IColumnElRNS_5ArenaE
Line
Count
Source
425
7
             Arena&) const override {
426
7
        const auto* y_column = get_nested_column_or_null<y_is_nullable>(columns[0], row_num);
427
7
        if constexpr (y_is_nullable) {
428
7
            if (y_column == nullptr) {
429
1
                return;
430
1
            }
431
7
        }
432
6
        const auto* x_column = get_nested_column_or_null<x_is_nullable>(columns[1], row_num);
433
        if constexpr (x_is_nullable) {
434
            if (x_column == nullptr) {
435
                return;
436
            }
437
        }
438
439
7
        this->data(place).add(y_column->get_data()[row_num], x_column->get_data()[row_num]);
440
7
    }
_ZNK5doris25AggregateFunctionRegrBaseILNS_13PrimitiveTypeE9ELNS_16RegrFunctionKindE1ELb0ELb1ENS_21AggregateFunctionRegrILS1_9ELS2_1ELb0ELb1EEEE3addEPcPPKNS_7IColumnElRNS_5ArenaE
Line
Count
Source
425
7
             Arena&) const override {
426
7
        const auto* y_column = get_nested_column_or_null<y_is_nullable>(columns[0], row_num);
427
        if constexpr (y_is_nullable) {
428
            if (y_column == nullptr) {
429
                return;
430
            }
431
        }
432
7
        const auto* x_column = get_nested_column_or_null<x_is_nullable>(columns[1], row_num);
433
7
        if constexpr (x_is_nullable) {
434
7
            if (x_column == nullptr) {
435
1
                return;
436
1
            }
437
7
        }
438
439
6
        this->data(place).add(y_column->get_data()[row_num], x_column->get_data()[row_num]);
440
7
    }
_ZNK5doris25AggregateFunctionRegrBaseILNS_13PrimitiveTypeE9ELNS_16RegrFunctionKindE1ELb0ELb0ENS_21AggregateFunctionRegrILS1_9ELS2_1ELb0ELb0EEEE3addEPcPPKNS_7IColumnElRNS_5ArenaE
Line
Count
Source
425
9
             Arena&) const override {
426
9
        const auto* y_column = get_nested_column_or_null<y_is_nullable>(columns[0], row_num);
427
        if constexpr (y_is_nullable) {
428
            if (y_column == nullptr) {
429
                return;
430
            }
431
        }
432
9
        const auto* x_column = get_nested_column_or_null<x_is_nullable>(columns[1], row_num);
433
        if constexpr (x_is_nullable) {
434
            if (x_column == nullptr) {
435
                return;
436
            }
437
        }
438
439
9
        this->data(place).add(y_column->get_data()[row_num], x_column->get_data()[row_num]);
440
9
    }
_ZNK5doris25AggregateFunctionRegrBaseILNS_13PrimitiveTypeE9ELNS_16RegrFunctionKindE2ELb1ELb1ENS_21AggregateFunctionRegrILS1_9ELS2_2ELb1ELb1EEEE3addEPcPPKNS_7IColumnElRNS_5ArenaE
Line
Count
Source
425
48
             Arena&) const override {
426
48
        const auto* y_column = get_nested_column_or_null<y_is_nullable>(columns[0], row_num);
427
48
        if constexpr (y_is_nullable) {
428
48
            if (y_column == nullptr) {
429
6
                return;
430
6
            }
431
48
        }
432
42
        const auto* x_column = get_nested_column_or_null<x_is_nullable>(columns[1], row_num);
433
48
        if constexpr (x_is_nullable) {
434
48
            if (x_column == nullptr) {
435
6
                return;
436
6
            }
437
48
        }
438
439
42
        this->data(place).add(y_column->get_data()[row_num], x_column->get_data()[row_num]);
440
48
    }
_ZNK5doris25AggregateFunctionRegrBaseILNS_13PrimitiveTypeE9ELNS_16RegrFunctionKindE2ELb1ELb0ENS_21AggregateFunctionRegrILS1_9ELS2_2ELb1ELb0EEEE3addEPcPPKNS_7IColumnElRNS_5ArenaE
Line
Count
Source
425
7
             Arena&) const override {
426
7
        const auto* y_column = get_nested_column_or_null<y_is_nullable>(columns[0], row_num);
427
7
        if constexpr (y_is_nullable) {
428
7
            if (y_column == nullptr) {
429
1
                return;
430
1
            }
431
7
        }
432
6
        const auto* x_column = get_nested_column_or_null<x_is_nullable>(columns[1], row_num);
433
        if constexpr (x_is_nullable) {
434
            if (x_column == nullptr) {
435
                return;
436
            }
437
        }
438
439
7
        this->data(place).add(y_column->get_data()[row_num], x_column->get_data()[row_num]);
440
7
    }
_ZNK5doris25AggregateFunctionRegrBaseILNS_13PrimitiveTypeE9ELNS_16RegrFunctionKindE2ELb0ELb1ENS_21AggregateFunctionRegrILS1_9ELS2_2ELb0ELb1EEEE3addEPcPPKNS_7IColumnElRNS_5ArenaE
Line
Count
Source
425
7
             Arena&) const override {
426
7
        const auto* y_column = get_nested_column_or_null<y_is_nullable>(columns[0], row_num);
427
        if constexpr (y_is_nullable) {
428
            if (y_column == nullptr) {
429
                return;
430
            }
431
        }
432
7
        const auto* x_column = get_nested_column_or_null<x_is_nullable>(columns[1], row_num);
433
7
        if constexpr (x_is_nullable) {
434
7
            if (x_column == nullptr) {
435
1
                return;
436
1
            }
437
7
        }
438
439
6
        this->data(place).add(y_column->get_data()[row_num], x_column->get_data()[row_num]);
440
7
    }
_ZNK5doris25AggregateFunctionRegrBaseILNS_13PrimitiveTypeE9ELNS_16RegrFunctionKindE2ELb0ELb0ENS_21AggregateFunctionRegrILS1_9ELS2_2ELb0ELb0EEEE3addEPcPPKNS_7IColumnElRNS_5ArenaE
Line
Count
Source
425
9
             Arena&) const override {
426
9
        const auto* y_column = get_nested_column_or_null<y_is_nullable>(columns[0], row_num);
427
        if constexpr (y_is_nullable) {
428
            if (y_column == nullptr) {
429
                return;
430
            }
431
        }
432
9
        const auto* x_column = get_nested_column_or_null<x_is_nullable>(columns[1], row_num);
433
        if constexpr (x_is_nullable) {
434
            if (x_column == nullptr) {
435
                return;
436
            }
437
        }
438
439
9
        this->data(place).add(y_column->get_data()[row_num], x_column->get_data()[row_num]);
440
9
    }
_ZNK5doris25AggregateFunctionRegrBaseILNS_13PrimitiveTypeE9ELNS_16RegrFunctionKindE3ELb1ELb1ENS_21AggregateFunctionRegrILS1_9ELS2_3ELb1ELb1EEEE3addEPcPPKNS_7IColumnElRNS_5ArenaE
Line
Count
Source
425
76
             Arena&) const override {
426
76
        const auto* y_column = get_nested_column_or_null<y_is_nullable>(columns[0], row_num);
427
76
        if constexpr (y_is_nullable) {
428
76
            if (y_column == nullptr) {
429
8
                return;
430
8
            }
431
76
        }
432
68
        const auto* x_column = get_nested_column_or_null<x_is_nullable>(columns[1], row_num);
433
76
        if constexpr (x_is_nullable) {
434
76
            if (x_column == nullptr) {
435
4
                return;
436
4
            }
437
76
        }
438
439
72
        this->data(place).add(y_column->get_data()[row_num], x_column->get_data()[row_num]);
440
76
    }
_ZNK5doris25AggregateFunctionRegrBaseILNS_13PrimitiveTypeE9ELNS_16RegrFunctionKindE3ELb1ELb0ENS_21AggregateFunctionRegrILS1_9ELS2_3ELb1ELb0EEEE3addEPcPPKNS_7IColumnElRNS_5ArenaE
Line
Count
Source
425
61
             Arena&) const override {
426
61
        const auto* y_column = get_nested_column_or_null<y_is_nullable>(columns[0], row_num);
427
61
        if constexpr (y_is_nullable) {
428
61
            if (y_column == nullptr) {
429
5
                return;
430
5
            }
431
61
        }
432
56
        const auto* x_column = get_nested_column_or_null<x_is_nullable>(columns[1], row_num);
433
        if constexpr (x_is_nullable) {
434
            if (x_column == nullptr) {
435
                return;
436
            }
437
        }
438
439
61
        this->data(place).add(y_column->get_data()[row_num], x_column->get_data()[row_num]);
440
61
    }
_ZNK5doris25AggregateFunctionRegrBaseILNS_13PrimitiveTypeE9ELNS_16RegrFunctionKindE3ELb0ELb1ENS_21AggregateFunctionRegrILS1_9ELS2_3ELb0ELb1EEEE3addEPcPPKNS_7IColumnElRNS_5ArenaE
Line
Count
Source
425
31
             Arena&) const override {
426
31
        const auto* y_column = get_nested_column_or_null<y_is_nullable>(columns[0], row_num);
427
        if constexpr (y_is_nullable) {
428
            if (y_column == nullptr) {
429
                return;
430
            }
431
        }
432
31
        const auto* x_column = get_nested_column_or_null<x_is_nullable>(columns[1], row_num);
433
31
        if constexpr (x_is_nullable) {
434
31
            if (x_column == nullptr) {
435
5
                return;
436
5
            }
437
31
        }
438
439
26
        this->data(place).add(y_column->get_data()[row_num], x_column->get_data()[row_num]);
440
31
    }
_ZNK5doris25AggregateFunctionRegrBaseILNS_13PrimitiveTypeE9ELNS_16RegrFunctionKindE3ELb0ELb0ENS_21AggregateFunctionRegrILS1_9ELS2_3ELb0ELb0EEEE3addEPcPPKNS_7IColumnElRNS_5ArenaE
Line
Count
Source
425
38
             Arena&) const override {
426
38
        const auto* y_column = get_nested_column_or_null<y_is_nullable>(columns[0], row_num);
427
        if constexpr (y_is_nullable) {
428
            if (y_column == nullptr) {
429
                return;
430
            }
431
        }
432
38
        const auto* x_column = get_nested_column_or_null<x_is_nullable>(columns[1], row_num);
433
        if constexpr (x_is_nullable) {
434
            if (x_column == nullptr) {
435
                return;
436
            }
437
        }
438
439
38
        this->data(place).add(y_column->get_data()[row_num], x_column->get_data()[row_num]);
440
38
    }
_ZNK5doris25AggregateFunctionRegrBaseILNS_13PrimitiveTypeE9ELNS_16RegrFunctionKindE4ELb1ELb1ENS_21AggregateFunctionRegrILS1_9ELS2_4ELb1ELb1EEEE3addEPcPPKNS_7IColumnElRNS_5ArenaE
Line
Count
Source
425
76
             Arena&) const override {
426
76
        const auto* y_column = get_nested_column_or_null<y_is_nullable>(columns[0], row_num);
427
76
        if constexpr (y_is_nullable) {
428
76
            if (y_column == nullptr) {
429
8
                return;
430
8
            }
431
76
        }
432
68
        const auto* x_column = get_nested_column_or_null<x_is_nullable>(columns[1], row_num);
433
76
        if constexpr (x_is_nullable) {
434
76
            if (x_column == nullptr) {
435
4
                return;
436
4
            }
437
76
        }
438
439
72
        this->data(place).add(y_column->get_data()[row_num], x_column->get_data()[row_num]);
440
76
    }
_ZNK5doris25AggregateFunctionRegrBaseILNS_13PrimitiveTypeE9ELNS_16RegrFunctionKindE4ELb1ELb0ENS_21AggregateFunctionRegrILS1_9ELS2_4ELb1ELb0EEEE3addEPcPPKNS_7IColumnElRNS_5ArenaE
Line
Count
Source
425
61
             Arena&) const override {
426
61
        const auto* y_column = get_nested_column_or_null<y_is_nullable>(columns[0], row_num);
427
61
        if constexpr (y_is_nullable) {
428
61
            if (y_column == nullptr) {
429
5
                return;
430
5
            }
431
61
        }
432
56
        const auto* x_column = get_nested_column_or_null<x_is_nullable>(columns[1], row_num);
433
        if constexpr (x_is_nullable) {
434
            if (x_column == nullptr) {
435
                return;
436
            }
437
        }
438
439
61
        this->data(place).add(y_column->get_data()[row_num], x_column->get_data()[row_num]);
440
61
    }
_ZNK5doris25AggregateFunctionRegrBaseILNS_13PrimitiveTypeE9ELNS_16RegrFunctionKindE4ELb0ELb1ENS_21AggregateFunctionRegrILS1_9ELS2_4ELb0ELb1EEEE3addEPcPPKNS_7IColumnElRNS_5ArenaE
Line
Count
Source
425
31
             Arena&) const override {
426
31
        const auto* y_column = get_nested_column_or_null<y_is_nullable>(columns[0], row_num);
427
        if constexpr (y_is_nullable) {
428
            if (y_column == nullptr) {
429
                return;
430
            }
431
        }
432
31
        const auto* x_column = get_nested_column_or_null<x_is_nullable>(columns[1], row_num);
433
31
        if constexpr (x_is_nullable) {
434
31
            if (x_column == nullptr) {
435
5
                return;
436
5
            }
437
31
        }
438
439
26
        this->data(place).add(y_column->get_data()[row_num], x_column->get_data()[row_num]);
440
31
    }
_ZNK5doris25AggregateFunctionRegrBaseILNS_13PrimitiveTypeE9ELNS_16RegrFunctionKindE4ELb0ELb0ENS_21AggregateFunctionRegrILS1_9ELS2_4ELb0ELb0EEEE3addEPcPPKNS_7IColumnElRNS_5ArenaE
Line
Count
Source
425
38
             Arena&) const override {
426
38
        const auto* y_column = get_nested_column_or_null<y_is_nullable>(columns[0], row_num);
427
        if constexpr (y_is_nullable) {
428
            if (y_column == nullptr) {
429
                return;
430
            }
431
        }
432
38
        const auto* x_column = get_nested_column_or_null<x_is_nullable>(columns[1], row_num);
433
        if constexpr (x_is_nullable) {
434
            if (x_column == nullptr) {
435
                return;
436
            }
437
        }
438
439
38
        this->data(place).add(y_column->get_data()[row_num], x_column->get_data()[row_num]);
440
38
    }
_ZNK5doris25AggregateFunctionRegrBaseILNS_13PrimitiveTypeE9ELNS_16RegrFunctionKindE5ELb1ELb1ENS_21AggregateFunctionRegrILS1_9ELS2_5ELb1ELb1EEEE3addEPcPPKNS_7IColumnElRNS_5ArenaE
Line
Count
Source
425
12
             Arena&) const override {
426
12
        const auto* y_column = get_nested_column_or_null<y_is_nullable>(columns[0], row_num);
427
12
        if constexpr (y_is_nullable) {
428
12
            if (y_column == nullptr) {
429
1
                return;
430
1
            }
431
12
        }
432
11
        const auto* x_column = get_nested_column_or_null<x_is_nullable>(columns[1], row_num);
433
12
        if constexpr (x_is_nullable) {
434
12
            if (x_column == nullptr) {
435
1
                return;
436
1
            }
437
12
        }
438
439
11
        this->data(place).add(y_column->get_data()[row_num], x_column->get_data()[row_num]);
440
12
    }
_ZNK5doris25AggregateFunctionRegrBaseILNS_13PrimitiveTypeE9ELNS_16RegrFunctionKindE5ELb1ELb0ENS_21AggregateFunctionRegrILS1_9ELS2_5ELb1ELb0EEEE3addEPcPPKNS_7IColumnElRNS_5ArenaE
Line
Count
Source
425
7
             Arena&) const override {
426
7
        const auto* y_column = get_nested_column_or_null<y_is_nullable>(columns[0], row_num);
427
7
        if constexpr (y_is_nullable) {
428
7
            if (y_column == nullptr) {
429
1
                return;
430
1
            }
431
7
        }
432
6
        const auto* x_column = get_nested_column_or_null<x_is_nullable>(columns[1], row_num);
433
        if constexpr (x_is_nullable) {
434
            if (x_column == nullptr) {
435
                return;
436
            }
437
        }
438
439
7
        this->data(place).add(y_column->get_data()[row_num], x_column->get_data()[row_num]);
440
7
    }
_ZNK5doris25AggregateFunctionRegrBaseILNS_13PrimitiveTypeE9ELNS_16RegrFunctionKindE5ELb0ELb1ENS_21AggregateFunctionRegrILS1_9ELS2_5ELb0ELb1EEEE3addEPcPPKNS_7IColumnElRNS_5ArenaE
Line
Count
Source
425
7
             Arena&) const override {
426
7
        const auto* y_column = get_nested_column_or_null<y_is_nullable>(columns[0], row_num);
427
        if constexpr (y_is_nullable) {
428
            if (y_column == nullptr) {
429
                return;
430
            }
431
        }
432
7
        const auto* x_column = get_nested_column_or_null<x_is_nullable>(columns[1], row_num);
433
7
        if constexpr (x_is_nullable) {
434
7
            if (x_column == nullptr) {
435
1
                return;
436
1
            }
437
7
        }
438
439
6
        this->data(place).add(y_column->get_data()[row_num], x_column->get_data()[row_num]);
440
7
    }
_ZNK5doris25AggregateFunctionRegrBaseILNS_13PrimitiveTypeE9ELNS_16RegrFunctionKindE5ELb0ELb0ENS_21AggregateFunctionRegrILS1_9ELS2_5ELb0ELb0EEEE3addEPcPPKNS_7IColumnElRNS_5ArenaE
Line
Count
Source
425
7
             Arena&) const override {
426
7
        const auto* y_column = get_nested_column_or_null<y_is_nullable>(columns[0], row_num);
427
        if constexpr (y_is_nullable) {
428
            if (y_column == nullptr) {
429
                return;
430
            }
431
        }
432
7
        const auto* x_column = get_nested_column_or_null<x_is_nullable>(columns[1], row_num);
433
        if constexpr (x_is_nullable) {
434
            if (x_column == nullptr) {
435
                return;
436
            }
437
        }
438
439
7
        this->data(place).add(y_column->get_data()[row_num], x_column->get_data()[row_num]);
440
7
    }
_ZNK5doris25AggregateFunctionRegrBaseILNS_13PrimitiveTypeE9ELNS_16RegrFunctionKindE6ELb1ELb1ENS_21AggregateFunctionRegrILS1_9ELS2_6ELb1ELb1EEEE3addEPcPPKNS_7IColumnElRNS_5ArenaE
Line
Count
Source
425
12
             Arena&) const override {
426
12
        const auto* y_column = get_nested_column_or_null<y_is_nullable>(columns[0], row_num);
427
12
        if constexpr (y_is_nullable) {
428
12
            if (y_column == nullptr) {
429
1
                return;
430
1
            }
431
12
        }
432
11
        const auto* x_column = get_nested_column_or_null<x_is_nullable>(columns[1], row_num);
433
12
        if constexpr (x_is_nullable) {
434
12
            if (x_column == nullptr) {
435
1
                return;
436
1
            }
437
12
        }
438
439
11
        this->data(place).add(y_column->get_data()[row_num], x_column->get_data()[row_num]);
440
12
    }
_ZNK5doris25AggregateFunctionRegrBaseILNS_13PrimitiveTypeE9ELNS_16RegrFunctionKindE6ELb1ELb0ENS_21AggregateFunctionRegrILS1_9ELS2_6ELb1ELb0EEEE3addEPcPPKNS_7IColumnElRNS_5ArenaE
Line
Count
Source
425
7
             Arena&) const override {
426
7
        const auto* y_column = get_nested_column_or_null<y_is_nullable>(columns[0], row_num);
427
7
        if constexpr (y_is_nullable) {
428
7
            if (y_column == nullptr) {
429
1
                return;
430
1
            }
431
7
        }
432
6
        const auto* x_column = get_nested_column_or_null<x_is_nullable>(columns[1], row_num);
433
        if constexpr (x_is_nullable) {
434
            if (x_column == nullptr) {
435
                return;
436
            }
437
        }
438
439
7
        this->data(place).add(y_column->get_data()[row_num], x_column->get_data()[row_num]);
440
7
    }
_ZNK5doris25AggregateFunctionRegrBaseILNS_13PrimitiveTypeE9ELNS_16RegrFunctionKindE6ELb0ELb1ENS_21AggregateFunctionRegrILS1_9ELS2_6ELb0ELb1EEEE3addEPcPPKNS_7IColumnElRNS_5ArenaE
Line
Count
Source
425
7
             Arena&) const override {
426
7
        const auto* y_column = get_nested_column_or_null<y_is_nullable>(columns[0], row_num);
427
        if constexpr (y_is_nullable) {
428
            if (y_column == nullptr) {
429
                return;
430
            }
431
        }
432
7
        const auto* x_column = get_nested_column_or_null<x_is_nullable>(columns[1], row_num);
433
7
        if constexpr (x_is_nullable) {
434
7
            if (x_column == nullptr) {
435
1
                return;
436
1
            }
437
7
        }
438
439
6
        this->data(place).add(y_column->get_data()[row_num], x_column->get_data()[row_num]);
440
7
    }
_ZNK5doris25AggregateFunctionRegrBaseILNS_13PrimitiveTypeE9ELNS_16RegrFunctionKindE6ELb0ELb0ENS_21AggregateFunctionRegrILS1_9ELS2_6ELb0ELb0EEEE3addEPcPPKNS_7IColumnElRNS_5ArenaE
Line
Count
Source
425
7
             Arena&) const override {
426
7
        const auto* y_column = get_nested_column_or_null<y_is_nullable>(columns[0], row_num);
427
        if constexpr (y_is_nullable) {
428
            if (y_column == nullptr) {
429
                return;
430
            }
431
        }
432
7
        const auto* x_column = get_nested_column_or_null<x_is_nullable>(columns[1], row_num);
433
        if constexpr (x_is_nullable) {
434
            if (x_column == nullptr) {
435
                return;
436
            }
437
        }
438
439
7
        this->data(place).add(y_column->get_data()[row_num], x_column->get_data()[row_num]);
440
7
    }
_ZNK5doris25AggregateFunctionRegrBaseILNS_13PrimitiveTypeE9ELNS_16RegrFunctionKindE7ELb1ELb1ENS_21AggregateFunctionRegrILS1_9ELS2_7ELb1ELb1EEEE3addEPcPPKNS_7IColumnElRNS_5ArenaE
Line
Count
Source
425
12
             Arena&) const override {
426
12
        const auto* y_column = get_nested_column_or_null<y_is_nullable>(columns[0], row_num);
427
12
        if constexpr (y_is_nullable) {
428
12
            if (y_column == nullptr) {
429
1
                return;
430
1
            }
431
12
        }
432
11
        const auto* x_column = get_nested_column_or_null<x_is_nullable>(columns[1], row_num);
433
12
        if constexpr (x_is_nullable) {
434
12
            if (x_column == nullptr) {
435
1
                return;
436
1
            }
437
12
        }
438
439
11
        this->data(place).add(y_column->get_data()[row_num], x_column->get_data()[row_num]);
440
12
    }
_ZNK5doris25AggregateFunctionRegrBaseILNS_13PrimitiveTypeE9ELNS_16RegrFunctionKindE7ELb1ELb0ENS_21AggregateFunctionRegrILS1_9ELS2_7ELb1ELb0EEEE3addEPcPPKNS_7IColumnElRNS_5ArenaE
Line
Count
Source
425
7
             Arena&) const override {
426
7
        const auto* y_column = get_nested_column_or_null<y_is_nullable>(columns[0], row_num);
427
7
        if constexpr (y_is_nullable) {
428
7
            if (y_column == nullptr) {
429
1
                return;
430
1
            }
431
7
        }
432
6
        const auto* x_column = get_nested_column_or_null<x_is_nullable>(columns[1], row_num);
433
        if constexpr (x_is_nullable) {
434
            if (x_column == nullptr) {
435
                return;
436
            }
437
        }
438
439
7
        this->data(place).add(y_column->get_data()[row_num], x_column->get_data()[row_num]);
440
7
    }
_ZNK5doris25AggregateFunctionRegrBaseILNS_13PrimitiveTypeE9ELNS_16RegrFunctionKindE7ELb0ELb1ENS_21AggregateFunctionRegrILS1_9ELS2_7ELb0ELb1EEEE3addEPcPPKNS_7IColumnElRNS_5ArenaE
Line
Count
Source
425
7
             Arena&) const override {
426
7
        const auto* y_column = get_nested_column_or_null<y_is_nullable>(columns[0], row_num);
427
        if constexpr (y_is_nullable) {
428
            if (y_column == nullptr) {
429
                return;
430
            }
431
        }
432
7
        const auto* x_column = get_nested_column_or_null<x_is_nullable>(columns[1], row_num);
433
7
        if constexpr (x_is_nullable) {
434
7
            if (x_column == nullptr) {
435
1
                return;
436
1
            }
437
7
        }
438
439
6
        this->data(place).add(y_column->get_data()[row_num], x_column->get_data()[row_num]);
440
7
    }
_ZNK5doris25AggregateFunctionRegrBaseILNS_13PrimitiveTypeE9ELNS_16RegrFunctionKindE7ELb0ELb0ENS_21AggregateFunctionRegrILS1_9ELS2_7ELb0ELb0EEEE3addEPcPPKNS_7IColumnElRNS_5ArenaE
Line
Count
Source
425
7
             Arena&) const override {
426
7
        const auto* y_column = get_nested_column_or_null<y_is_nullable>(columns[0], row_num);
427
        if constexpr (y_is_nullable) {
428
            if (y_column == nullptr) {
429
                return;
430
            }
431
        }
432
7
        const auto* x_column = get_nested_column_or_null<x_is_nullable>(columns[1], row_num);
433
        if constexpr (x_is_nullable) {
434
            if (x_column == nullptr) {
435
                return;
436
            }
437
        }
438
439
7
        this->data(place).add(y_column->get_data()[row_num], x_column->get_data()[row_num]);
440
7
    }
_ZNK5doris25AggregateFunctionRegrBaseILNS_13PrimitiveTypeE9ELNS_16RegrFunctionKindE8ELb1ELb1ENS_21AggregateFunctionRegrILS1_9ELS2_8ELb1ELb1EEEE3addEPcPPKNS_7IColumnElRNS_5ArenaE
Line
Count
Source
425
40
             Arena&) const override {
426
40
        const auto* y_column = get_nested_column_or_null<y_is_nullable>(columns[0], row_num);
427
40
        if constexpr (y_is_nullable) {
428
40
            if (y_column == nullptr) {
429
6
                return;
430
6
            }
431
40
        }
432
34
        const auto* x_column = get_nested_column_or_null<x_is_nullable>(columns[1], row_num);
433
40
        if constexpr (x_is_nullable) {
434
40
            if (x_column == nullptr) {
435
6
                return;
436
6
            }
437
40
        }
438
439
34
        this->data(place).add(y_column->get_data()[row_num], x_column->get_data()[row_num]);
440
40
    }
_ZNK5doris25AggregateFunctionRegrBaseILNS_13PrimitiveTypeE9ELNS_16RegrFunctionKindE8ELb1ELb0ENS_21AggregateFunctionRegrILS1_9ELS2_8ELb1ELb0EEEE3addEPcPPKNS_7IColumnElRNS_5ArenaE
Line
Count
Source
425
7
             Arena&) const override {
426
7
        const auto* y_column = get_nested_column_or_null<y_is_nullable>(columns[0], row_num);
427
7
        if constexpr (y_is_nullable) {
428
7
            if (y_column == nullptr) {
429
1
                return;
430
1
            }
431
7
        }
432
6
        const auto* x_column = get_nested_column_or_null<x_is_nullable>(columns[1], row_num);
433
        if constexpr (x_is_nullable) {
434
            if (x_column == nullptr) {
435
                return;
436
            }
437
        }
438
439
7
        this->data(place).add(y_column->get_data()[row_num], x_column->get_data()[row_num]);
440
7
    }
_ZNK5doris25AggregateFunctionRegrBaseILNS_13PrimitiveTypeE9ELNS_16RegrFunctionKindE8ELb0ELb1ENS_21AggregateFunctionRegrILS1_9ELS2_8ELb0ELb1EEEE3addEPcPPKNS_7IColumnElRNS_5ArenaE
Line
Count
Source
425
7
             Arena&) const override {
426
7
        const auto* y_column = get_nested_column_or_null<y_is_nullable>(columns[0], row_num);
427
        if constexpr (y_is_nullable) {
428
            if (y_column == nullptr) {
429
                return;
430
            }
431
        }
432
7
        const auto* x_column = get_nested_column_or_null<x_is_nullable>(columns[1], row_num);
433
7
        if constexpr (x_is_nullable) {
434
7
            if (x_column == nullptr) {
435
1
                return;
436
1
            }
437
7
        }
438
439
6
        this->data(place).add(y_column->get_data()[row_num], x_column->get_data()[row_num]);
440
7
    }
_ZNK5doris25AggregateFunctionRegrBaseILNS_13PrimitiveTypeE9ELNS_16RegrFunctionKindE8ELb0ELb0ENS_21AggregateFunctionRegrILS1_9ELS2_8ELb0ELb0EEEE3addEPcPPKNS_7IColumnElRNS_5ArenaE
Line
Count
Source
425
9
             Arena&) const override {
426
9
        const auto* y_column = get_nested_column_or_null<y_is_nullable>(columns[0], row_num);
427
        if constexpr (y_is_nullable) {
428
            if (y_column == nullptr) {
429
                return;
430
            }
431
        }
432
9
        const auto* x_column = get_nested_column_or_null<x_is_nullable>(columns[1], row_num);
433
        if constexpr (x_is_nullable) {
434
            if (x_column == nullptr) {
435
                return;
436
            }
437
        }
438
439
9
        this->data(place).add(y_column->get_data()[row_num], x_column->get_data()[row_num]);
440
9
    }
441
442
0
    void reset(AggregateDataPtr __restrict place) const override { this->data(place).reset(); }
Unexecuted instantiation: _ZNK5doris25AggregateFunctionRegrBaseILNS_13PrimitiveTypeE9ELNS_16RegrFunctionKindE0ELb1ELb1ENS_21AggregateFunctionRegrILS1_9ELS2_0ELb1ELb1EEEE5resetEPc
Unexecuted instantiation: _ZNK5doris25AggregateFunctionRegrBaseILNS_13PrimitiveTypeE9ELNS_16RegrFunctionKindE0ELb1ELb0ENS_21AggregateFunctionRegrILS1_9ELS2_0ELb1ELb0EEEE5resetEPc
Unexecuted instantiation: _ZNK5doris25AggregateFunctionRegrBaseILNS_13PrimitiveTypeE9ELNS_16RegrFunctionKindE0ELb0ELb1ENS_21AggregateFunctionRegrILS1_9ELS2_0ELb0ELb1EEEE5resetEPc
Unexecuted instantiation: _ZNK5doris25AggregateFunctionRegrBaseILNS_13PrimitiveTypeE9ELNS_16RegrFunctionKindE0ELb0ELb0ENS_21AggregateFunctionRegrILS1_9ELS2_0ELb0ELb0EEEE5resetEPc
Unexecuted instantiation: _ZNK5doris25AggregateFunctionRegrBaseILNS_13PrimitiveTypeE9ELNS_16RegrFunctionKindE1ELb1ELb1ENS_21AggregateFunctionRegrILS1_9ELS2_1ELb1ELb1EEEE5resetEPc
Unexecuted instantiation: _ZNK5doris25AggregateFunctionRegrBaseILNS_13PrimitiveTypeE9ELNS_16RegrFunctionKindE1ELb1ELb0ENS_21AggregateFunctionRegrILS1_9ELS2_1ELb1ELb0EEEE5resetEPc
Unexecuted instantiation: _ZNK5doris25AggregateFunctionRegrBaseILNS_13PrimitiveTypeE9ELNS_16RegrFunctionKindE1ELb0ELb1ENS_21AggregateFunctionRegrILS1_9ELS2_1ELb0ELb1EEEE5resetEPc
Unexecuted instantiation: _ZNK5doris25AggregateFunctionRegrBaseILNS_13PrimitiveTypeE9ELNS_16RegrFunctionKindE1ELb0ELb0ENS_21AggregateFunctionRegrILS1_9ELS2_1ELb0ELb0EEEE5resetEPc
Unexecuted instantiation: _ZNK5doris25AggregateFunctionRegrBaseILNS_13PrimitiveTypeE9ELNS_16RegrFunctionKindE2ELb1ELb1ENS_21AggregateFunctionRegrILS1_9ELS2_2ELb1ELb1EEEE5resetEPc
Unexecuted instantiation: _ZNK5doris25AggregateFunctionRegrBaseILNS_13PrimitiveTypeE9ELNS_16RegrFunctionKindE2ELb1ELb0ENS_21AggregateFunctionRegrILS1_9ELS2_2ELb1ELb0EEEE5resetEPc
Unexecuted instantiation: _ZNK5doris25AggregateFunctionRegrBaseILNS_13PrimitiveTypeE9ELNS_16RegrFunctionKindE2ELb0ELb1ENS_21AggregateFunctionRegrILS1_9ELS2_2ELb0ELb1EEEE5resetEPc
Unexecuted instantiation: _ZNK5doris25AggregateFunctionRegrBaseILNS_13PrimitiveTypeE9ELNS_16RegrFunctionKindE2ELb0ELb0ENS_21AggregateFunctionRegrILS1_9ELS2_2ELb0ELb0EEEE5resetEPc
Unexecuted instantiation: _ZNK5doris25AggregateFunctionRegrBaseILNS_13PrimitiveTypeE9ELNS_16RegrFunctionKindE3ELb1ELb1ENS_21AggregateFunctionRegrILS1_9ELS2_3ELb1ELb1EEEE5resetEPc
Unexecuted instantiation: _ZNK5doris25AggregateFunctionRegrBaseILNS_13PrimitiveTypeE9ELNS_16RegrFunctionKindE3ELb1ELb0ENS_21AggregateFunctionRegrILS1_9ELS2_3ELb1ELb0EEEE5resetEPc
Unexecuted instantiation: _ZNK5doris25AggregateFunctionRegrBaseILNS_13PrimitiveTypeE9ELNS_16RegrFunctionKindE3ELb0ELb1ENS_21AggregateFunctionRegrILS1_9ELS2_3ELb0ELb1EEEE5resetEPc
Unexecuted instantiation: _ZNK5doris25AggregateFunctionRegrBaseILNS_13PrimitiveTypeE9ELNS_16RegrFunctionKindE3ELb0ELb0ENS_21AggregateFunctionRegrILS1_9ELS2_3ELb0ELb0EEEE5resetEPc
Unexecuted instantiation: _ZNK5doris25AggregateFunctionRegrBaseILNS_13PrimitiveTypeE9ELNS_16RegrFunctionKindE4ELb1ELb1ENS_21AggregateFunctionRegrILS1_9ELS2_4ELb1ELb1EEEE5resetEPc
Unexecuted instantiation: _ZNK5doris25AggregateFunctionRegrBaseILNS_13PrimitiveTypeE9ELNS_16RegrFunctionKindE4ELb1ELb0ENS_21AggregateFunctionRegrILS1_9ELS2_4ELb1ELb0EEEE5resetEPc
Unexecuted instantiation: _ZNK5doris25AggregateFunctionRegrBaseILNS_13PrimitiveTypeE9ELNS_16RegrFunctionKindE4ELb0ELb1ENS_21AggregateFunctionRegrILS1_9ELS2_4ELb0ELb1EEEE5resetEPc
Unexecuted instantiation: _ZNK5doris25AggregateFunctionRegrBaseILNS_13PrimitiveTypeE9ELNS_16RegrFunctionKindE4ELb0ELb0ENS_21AggregateFunctionRegrILS1_9ELS2_4ELb0ELb0EEEE5resetEPc
Unexecuted instantiation: _ZNK5doris25AggregateFunctionRegrBaseILNS_13PrimitiveTypeE9ELNS_16RegrFunctionKindE5ELb1ELb1ENS_21AggregateFunctionRegrILS1_9ELS2_5ELb1ELb1EEEE5resetEPc
Unexecuted instantiation: _ZNK5doris25AggregateFunctionRegrBaseILNS_13PrimitiveTypeE9ELNS_16RegrFunctionKindE5ELb1ELb0ENS_21AggregateFunctionRegrILS1_9ELS2_5ELb1ELb0EEEE5resetEPc
Unexecuted instantiation: _ZNK5doris25AggregateFunctionRegrBaseILNS_13PrimitiveTypeE9ELNS_16RegrFunctionKindE5ELb0ELb1ENS_21AggregateFunctionRegrILS1_9ELS2_5ELb0ELb1EEEE5resetEPc
Unexecuted instantiation: _ZNK5doris25AggregateFunctionRegrBaseILNS_13PrimitiveTypeE9ELNS_16RegrFunctionKindE5ELb0ELb0ENS_21AggregateFunctionRegrILS1_9ELS2_5ELb0ELb0EEEE5resetEPc
Unexecuted instantiation: _ZNK5doris25AggregateFunctionRegrBaseILNS_13PrimitiveTypeE9ELNS_16RegrFunctionKindE6ELb1ELb1ENS_21AggregateFunctionRegrILS1_9ELS2_6ELb1ELb1EEEE5resetEPc
Unexecuted instantiation: _ZNK5doris25AggregateFunctionRegrBaseILNS_13PrimitiveTypeE9ELNS_16RegrFunctionKindE6ELb1ELb0ENS_21AggregateFunctionRegrILS1_9ELS2_6ELb1ELb0EEEE5resetEPc
Unexecuted instantiation: _ZNK5doris25AggregateFunctionRegrBaseILNS_13PrimitiveTypeE9ELNS_16RegrFunctionKindE6ELb0ELb1ENS_21AggregateFunctionRegrILS1_9ELS2_6ELb0ELb1EEEE5resetEPc
Unexecuted instantiation: _ZNK5doris25AggregateFunctionRegrBaseILNS_13PrimitiveTypeE9ELNS_16RegrFunctionKindE6ELb0ELb0ENS_21AggregateFunctionRegrILS1_9ELS2_6ELb0ELb0EEEE5resetEPc
Unexecuted instantiation: _ZNK5doris25AggregateFunctionRegrBaseILNS_13PrimitiveTypeE9ELNS_16RegrFunctionKindE7ELb1ELb1ENS_21AggregateFunctionRegrILS1_9ELS2_7ELb1ELb1EEEE5resetEPc
Unexecuted instantiation: _ZNK5doris25AggregateFunctionRegrBaseILNS_13PrimitiveTypeE9ELNS_16RegrFunctionKindE7ELb1ELb0ENS_21AggregateFunctionRegrILS1_9ELS2_7ELb1ELb0EEEE5resetEPc
Unexecuted instantiation: _ZNK5doris25AggregateFunctionRegrBaseILNS_13PrimitiveTypeE9ELNS_16RegrFunctionKindE7ELb0ELb1ENS_21AggregateFunctionRegrILS1_9ELS2_7ELb0ELb1EEEE5resetEPc
Unexecuted instantiation: _ZNK5doris25AggregateFunctionRegrBaseILNS_13PrimitiveTypeE9ELNS_16RegrFunctionKindE7ELb0ELb0ENS_21AggregateFunctionRegrILS1_9ELS2_7ELb0ELb0EEEE5resetEPc
Unexecuted instantiation: _ZNK5doris25AggregateFunctionRegrBaseILNS_13PrimitiveTypeE9ELNS_16RegrFunctionKindE8ELb1ELb1ENS_21AggregateFunctionRegrILS1_9ELS2_8ELb1ELb1EEEE5resetEPc
Unexecuted instantiation: _ZNK5doris25AggregateFunctionRegrBaseILNS_13PrimitiveTypeE9ELNS_16RegrFunctionKindE8ELb1ELb0ENS_21AggregateFunctionRegrILS1_9ELS2_8ELb1ELb0EEEE5resetEPc
Unexecuted instantiation: _ZNK5doris25AggregateFunctionRegrBaseILNS_13PrimitiveTypeE9ELNS_16RegrFunctionKindE8ELb0ELb1ENS_21AggregateFunctionRegrILS1_9ELS2_8ELb0ELb1EEEE5resetEPc
Unexecuted instantiation: _ZNK5doris25AggregateFunctionRegrBaseILNS_13PrimitiveTypeE9ELNS_16RegrFunctionKindE8ELb0ELb0ENS_21AggregateFunctionRegrILS1_9ELS2_8ELb0ELb0EEEE5resetEPc
443
444
    void merge(AggregateDataPtr __restrict place, ConstAggregateDataPtr rhs,
445
213
               Arena&) const override {
446
213
        this->data(place).merge(this->data(rhs));
447
213
    }
_ZNK5doris25AggregateFunctionRegrBaseILNS_13PrimitiveTypeE9ELNS_16RegrFunctionKindE0ELb1ELb1ENS_21AggregateFunctionRegrILS1_9ELS2_0ELb1ELb1EEEE5mergeEPcPKcRNS_5ArenaE
Line
Count
Source
445
8
               Arena&) const override {
446
8
        this->data(place).merge(this->data(rhs));
447
8
    }
_ZNK5doris25AggregateFunctionRegrBaseILNS_13PrimitiveTypeE9ELNS_16RegrFunctionKindE0ELb1ELb0ENS_21AggregateFunctionRegrILS1_9ELS2_0ELb1ELb0EEEE5mergeEPcPKcRNS_5ArenaE
Line
Count
Source
445
2
               Arena&) const override {
446
2
        this->data(place).merge(this->data(rhs));
447
2
    }
_ZNK5doris25AggregateFunctionRegrBaseILNS_13PrimitiveTypeE9ELNS_16RegrFunctionKindE0ELb0ELb1ENS_21AggregateFunctionRegrILS1_9ELS2_0ELb0ELb1EEEE5mergeEPcPKcRNS_5ArenaE
Line
Count
Source
445
2
               Arena&) const override {
446
2
        this->data(place).merge(this->data(rhs));
447
2
    }
_ZNK5doris25AggregateFunctionRegrBaseILNS_13PrimitiveTypeE9ELNS_16RegrFunctionKindE0ELb0ELb0ENS_21AggregateFunctionRegrILS1_9ELS2_0ELb0ELb0EEEE5mergeEPcPKcRNS_5ArenaE
Line
Count
Source
445
2
               Arena&) const override {
446
2
        this->data(place).merge(this->data(rhs));
447
2
    }
_ZNK5doris25AggregateFunctionRegrBaseILNS_13PrimitiveTypeE9ELNS_16RegrFunctionKindE1ELb1ELb1ENS_21AggregateFunctionRegrILS1_9ELS2_1ELb1ELb1EEEE5mergeEPcPKcRNS_5ArenaE
Line
Count
Source
445
8
               Arena&) const override {
446
8
        this->data(place).merge(this->data(rhs));
447
8
    }
_ZNK5doris25AggregateFunctionRegrBaseILNS_13PrimitiveTypeE9ELNS_16RegrFunctionKindE1ELb1ELb0ENS_21AggregateFunctionRegrILS1_9ELS2_1ELb1ELb0EEEE5mergeEPcPKcRNS_5ArenaE
Line
Count
Source
445
2
               Arena&) const override {
446
2
        this->data(place).merge(this->data(rhs));
447
2
    }
_ZNK5doris25AggregateFunctionRegrBaseILNS_13PrimitiveTypeE9ELNS_16RegrFunctionKindE1ELb0ELb1ENS_21AggregateFunctionRegrILS1_9ELS2_1ELb0ELb1EEEE5mergeEPcPKcRNS_5ArenaE
Line
Count
Source
445
2
               Arena&) const override {
446
2
        this->data(place).merge(this->data(rhs));
447
2
    }
_ZNK5doris25AggregateFunctionRegrBaseILNS_13PrimitiveTypeE9ELNS_16RegrFunctionKindE1ELb0ELb0ENS_21AggregateFunctionRegrILS1_9ELS2_1ELb0ELb0EEEE5mergeEPcPKcRNS_5ArenaE
Line
Count
Source
445
2
               Arena&) const override {
446
2
        this->data(place).merge(this->data(rhs));
447
2
    }
_ZNK5doris25AggregateFunctionRegrBaseILNS_13PrimitiveTypeE9ELNS_16RegrFunctionKindE2ELb1ELb1ENS_21AggregateFunctionRegrILS1_9ELS2_2ELb1ELb1EEEE5mergeEPcPKcRNS_5ArenaE
Line
Count
Source
445
8
               Arena&) const override {
446
8
        this->data(place).merge(this->data(rhs));
447
8
    }
_ZNK5doris25AggregateFunctionRegrBaseILNS_13PrimitiveTypeE9ELNS_16RegrFunctionKindE2ELb1ELb0ENS_21AggregateFunctionRegrILS1_9ELS2_2ELb1ELb0EEEE5mergeEPcPKcRNS_5ArenaE
Line
Count
Source
445
2
               Arena&) const override {
446
2
        this->data(place).merge(this->data(rhs));
447
2
    }
_ZNK5doris25AggregateFunctionRegrBaseILNS_13PrimitiveTypeE9ELNS_16RegrFunctionKindE2ELb0ELb1ENS_21AggregateFunctionRegrILS1_9ELS2_2ELb0ELb1EEEE5mergeEPcPKcRNS_5ArenaE
Line
Count
Source
445
2
               Arena&) const override {
446
2
        this->data(place).merge(this->data(rhs));
447
2
    }
_ZNK5doris25AggregateFunctionRegrBaseILNS_13PrimitiveTypeE9ELNS_16RegrFunctionKindE2ELb0ELb0ENS_21AggregateFunctionRegrILS1_9ELS2_2ELb0ELb0EEEE5mergeEPcPKcRNS_5ArenaE
Line
Count
Source
445
2
               Arena&) const override {
446
2
        this->data(place).merge(this->data(rhs));
447
2
    }
_ZNK5doris25AggregateFunctionRegrBaseILNS_13PrimitiveTypeE9ELNS_16RegrFunctionKindE3ELb1ELb1ENS_21AggregateFunctionRegrILS1_9ELS2_3ELb1ELb1EEEE5mergeEPcPKcRNS_5ArenaE
Line
Count
Source
445
26
               Arena&) const override {
446
26
        this->data(place).merge(this->data(rhs));
447
26
    }
_ZNK5doris25AggregateFunctionRegrBaseILNS_13PrimitiveTypeE9ELNS_16RegrFunctionKindE3ELb1ELb0ENS_21AggregateFunctionRegrILS1_9ELS2_3ELb1ELb0EEEE5mergeEPcPKcRNS_5ArenaE
Line
Count
Source
445
22
               Arena&) const override {
446
22
        this->data(place).merge(this->data(rhs));
447
22
    }
_ZNK5doris25AggregateFunctionRegrBaseILNS_13PrimitiveTypeE9ELNS_16RegrFunctionKindE3ELb0ELb1ENS_21AggregateFunctionRegrILS1_9ELS2_3ELb0ELb1EEEE5mergeEPcPKcRNS_5ArenaE
Line
Count
Source
445
12
               Arena&) const override {
446
12
        this->data(place).merge(this->data(rhs));
447
12
    }
_ZNK5doris25AggregateFunctionRegrBaseILNS_13PrimitiveTypeE9ELNS_16RegrFunctionKindE3ELb0ELb0ENS_21AggregateFunctionRegrILS1_9ELS2_3ELb0ELb0EEEE5mergeEPcPKcRNS_5ArenaE
Line
Count
Source
445
10
               Arena&) const override {
446
10
        this->data(place).merge(this->data(rhs));
447
10
    }
_ZNK5doris25AggregateFunctionRegrBaseILNS_13PrimitiveTypeE9ELNS_16RegrFunctionKindE4ELb1ELb1ENS_21AggregateFunctionRegrILS1_9ELS2_4ELb1ELb1EEEE5mergeEPcPKcRNS_5ArenaE
Line
Count
Source
445
26
               Arena&) const override {
446
26
        this->data(place).merge(this->data(rhs));
447
26
    }
_ZNK5doris25AggregateFunctionRegrBaseILNS_13PrimitiveTypeE9ELNS_16RegrFunctionKindE4ELb1ELb0ENS_21AggregateFunctionRegrILS1_9ELS2_4ELb1ELb0EEEE5mergeEPcPKcRNS_5ArenaE
Line
Count
Source
445
22
               Arena&) const override {
446
22
        this->data(place).merge(this->data(rhs));
447
22
    }
_ZNK5doris25AggregateFunctionRegrBaseILNS_13PrimitiveTypeE9ELNS_16RegrFunctionKindE4ELb0ELb1ENS_21AggregateFunctionRegrILS1_9ELS2_4ELb0ELb1EEEE5mergeEPcPKcRNS_5ArenaE
Line
Count
Source
445
12
               Arena&) const override {
446
12
        this->data(place).merge(this->data(rhs));
447
12
    }
_ZNK5doris25AggregateFunctionRegrBaseILNS_13PrimitiveTypeE9ELNS_16RegrFunctionKindE4ELb0ELb0ENS_21AggregateFunctionRegrILS1_9ELS2_4ELb0ELb0EEEE5mergeEPcPKcRNS_5ArenaE
Line
Count
Source
445
10
               Arena&) const override {
446
10
        this->data(place).merge(this->data(rhs));
447
10
    }
_ZNK5doris25AggregateFunctionRegrBaseILNS_13PrimitiveTypeE9ELNS_16RegrFunctionKindE5ELb1ELb1ENS_21AggregateFunctionRegrILS1_9ELS2_5ELb1ELb1EEEE5mergeEPcPKcRNS_5ArenaE
Line
Count
Source
445
2
               Arena&) const override {
446
2
        this->data(place).merge(this->data(rhs));
447
2
    }
_ZNK5doris25AggregateFunctionRegrBaseILNS_13PrimitiveTypeE9ELNS_16RegrFunctionKindE5ELb1ELb0ENS_21AggregateFunctionRegrILS1_9ELS2_5ELb1ELb0EEEE5mergeEPcPKcRNS_5ArenaE
Line
Count
Source
445
2
               Arena&) const override {
446
2
        this->data(place).merge(this->data(rhs));
447
2
    }
_ZNK5doris25AggregateFunctionRegrBaseILNS_13PrimitiveTypeE9ELNS_16RegrFunctionKindE5ELb0ELb1ENS_21AggregateFunctionRegrILS1_9ELS2_5ELb0ELb1EEEE5mergeEPcPKcRNS_5ArenaE
Line
Count
Source
445
2
               Arena&) const override {
446
2
        this->data(place).merge(this->data(rhs));
447
2
    }
_ZNK5doris25AggregateFunctionRegrBaseILNS_13PrimitiveTypeE9ELNS_16RegrFunctionKindE5ELb0ELb0ENS_21AggregateFunctionRegrILS1_9ELS2_5ELb0ELb0EEEE5mergeEPcPKcRNS_5ArenaE
Line
Count
Source
445
1
               Arena&) const override {
446
1
        this->data(place).merge(this->data(rhs));
447
1
    }
_ZNK5doris25AggregateFunctionRegrBaseILNS_13PrimitiveTypeE9ELNS_16RegrFunctionKindE6ELb1ELb1ENS_21AggregateFunctionRegrILS1_9ELS2_6ELb1ELb1EEEE5mergeEPcPKcRNS_5ArenaE
Line
Count
Source
445
2
               Arena&) const override {
446
2
        this->data(place).merge(this->data(rhs));
447
2
    }
_ZNK5doris25AggregateFunctionRegrBaseILNS_13PrimitiveTypeE9ELNS_16RegrFunctionKindE6ELb1ELb0ENS_21AggregateFunctionRegrILS1_9ELS2_6ELb1ELb0EEEE5mergeEPcPKcRNS_5ArenaE
Line
Count
Source
445
2
               Arena&) const override {
446
2
        this->data(place).merge(this->data(rhs));
447
2
    }
_ZNK5doris25AggregateFunctionRegrBaseILNS_13PrimitiveTypeE9ELNS_16RegrFunctionKindE6ELb0ELb1ENS_21AggregateFunctionRegrILS1_9ELS2_6ELb0ELb1EEEE5mergeEPcPKcRNS_5ArenaE
Line
Count
Source
445
2
               Arena&) const override {
446
2
        this->data(place).merge(this->data(rhs));
447
2
    }
_ZNK5doris25AggregateFunctionRegrBaseILNS_13PrimitiveTypeE9ELNS_16RegrFunctionKindE6ELb0ELb0ENS_21AggregateFunctionRegrILS1_9ELS2_6ELb0ELb0EEEE5mergeEPcPKcRNS_5ArenaE
Line
Count
Source
445
1
               Arena&) const override {
446
1
        this->data(place).merge(this->data(rhs));
447
1
    }
_ZNK5doris25AggregateFunctionRegrBaseILNS_13PrimitiveTypeE9ELNS_16RegrFunctionKindE7ELb1ELb1ENS_21AggregateFunctionRegrILS1_9ELS2_7ELb1ELb1EEEE5mergeEPcPKcRNS_5ArenaE
Line
Count
Source
445
2
               Arena&) const override {
446
2
        this->data(place).merge(this->data(rhs));
447
2
    }
_ZNK5doris25AggregateFunctionRegrBaseILNS_13PrimitiveTypeE9ELNS_16RegrFunctionKindE7ELb1ELb0ENS_21AggregateFunctionRegrILS1_9ELS2_7ELb1ELb0EEEE5mergeEPcPKcRNS_5ArenaE
Line
Count
Source
445
2
               Arena&) const override {
446
2
        this->data(place).merge(this->data(rhs));
447
2
    }
_ZNK5doris25AggregateFunctionRegrBaseILNS_13PrimitiveTypeE9ELNS_16RegrFunctionKindE7ELb0ELb1ENS_21AggregateFunctionRegrILS1_9ELS2_7ELb0ELb1EEEE5mergeEPcPKcRNS_5ArenaE
Line
Count
Source
445
2
               Arena&) const override {
446
2
        this->data(place).merge(this->data(rhs));
447
2
    }
_ZNK5doris25AggregateFunctionRegrBaseILNS_13PrimitiveTypeE9ELNS_16RegrFunctionKindE7ELb0ELb0ENS_21AggregateFunctionRegrILS1_9ELS2_7ELb0ELb0EEEE5mergeEPcPKcRNS_5ArenaE
Line
Count
Source
445
1
               Arena&) const override {
446
1
        this->data(place).merge(this->data(rhs));
447
1
    }
_ZNK5doris25AggregateFunctionRegrBaseILNS_13PrimitiveTypeE9ELNS_16RegrFunctionKindE8ELb1ELb1ENS_21AggregateFunctionRegrILS1_9ELS2_8ELb1ELb1EEEE5mergeEPcPKcRNS_5ArenaE
Line
Count
Source
445
4
               Arena&) const override {
446
4
        this->data(place).merge(this->data(rhs));
447
4
    }
_ZNK5doris25AggregateFunctionRegrBaseILNS_13PrimitiveTypeE9ELNS_16RegrFunctionKindE8ELb1ELb0ENS_21AggregateFunctionRegrILS1_9ELS2_8ELb1ELb0EEEE5mergeEPcPKcRNS_5ArenaE
Line
Count
Source
445
2
               Arena&) const override {
446
2
        this->data(place).merge(this->data(rhs));
447
2
    }
_ZNK5doris25AggregateFunctionRegrBaseILNS_13PrimitiveTypeE9ELNS_16RegrFunctionKindE8ELb0ELb1ENS_21AggregateFunctionRegrILS1_9ELS2_8ELb0ELb1EEEE5mergeEPcPKcRNS_5ArenaE
Line
Count
Source
445
2
               Arena&) const override {
446
2
        this->data(place).merge(this->data(rhs));
447
2
    }
_ZNK5doris25AggregateFunctionRegrBaseILNS_13PrimitiveTypeE9ELNS_16RegrFunctionKindE8ELb0ELb0ENS_21AggregateFunctionRegrILS1_9ELS2_8ELb0ELb0EEEE5mergeEPcPKcRNS_5ArenaE
Line
Count
Source
445
2
               Arena&) const override {
446
2
        this->data(place).merge(this->data(rhs));
447
2
    }
448
449
213
    void serialize(ConstAggregateDataPtr __restrict place, BufferWritable& buf) const override {
450
213
        this->data(place).write(buf);
451
213
    }
_ZNK5doris25AggregateFunctionRegrBaseILNS_13PrimitiveTypeE9ELNS_16RegrFunctionKindE0ELb1ELb1ENS_21AggregateFunctionRegrILS1_9ELS2_0ELb1ELb1EEEE9serializeEPKcRNS_14BufferWritableE
Line
Count
Source
449
8
    void serialize(ConstAggregateDataPtr __restrict place, BufferWritable& buf) const override {
450
8
        this->data(place).write(buf);
451
8
    }
_ZNK5doris25AggregateFunctionRegrBaseILNS_13PrimitiveTypeE9ELNS_16RegrFunctionKindE0ELb1ELb0ENS_21AggregateFunctionRegrILS1_9ELS2_0ELb1ELb0EEEE9serializeEPKcRNS_14BufferWritableE
Line
Count
Source
449
2
    void serialize(ConstAggregateDataPtr __restrict place, BufferWritable& buf) const override {
450
2
        this->data(place).write(buf);
451
2
    }
_ZNK5doris25AggregateFunctionRegrBaseILNS_13PrimitiveTypeE9ELNS_16RegrFunctionKindE0ELb0ELb1ENS_21AggregateFunctionRegrILS1_9ELS2_0ELb0ELb1EEEE9serializeEPKcRNS_14BufferWritableE
Line
Count
Source
449
2
    void serialize(ConstAggregateDataPtr __restrict place, BufferWritable& buf) const override {
450
2
        this->data(place).write(buf);
451
2
    }
_ZNK5doris25AggregateFunctionRegrBaseILNS_13PrimitiveTypeE9ELNS_16RegrFunctionKindE0ELb0ELb0ENS_21AggregateFunctionRegrILS1_9ELS2_0ELb0ELb0EEEE9serializeEPKcRNS_14BufferWritableE
Line
Count
Source
449
2
    void serialize(ConstAggregateDataPtr __restrict place, BufferWritable& buf) const override {
450
2
        this->data(place).write(buf);
451
2
    }
_ZNK5doris25AggregateFunctionRegrBaseILNS_13PrimitiveTypeE9ELNS_16RegrFunctionKindE1ELb1ELb1ENS_21AggregateFunctionRegrILS1_9ELS2_1ELb1ELb1EEEE9serializeEPKcRNS_14BufferWritableE
Line
Count
Source
449
8
    void serialize(ConstAggregateDataPtr __restrict place, BufferWritable& buf) const override {
450
8
        this->data(place).write(buf);
451
8
    }
_ZNK5doris25AggregateFunctionRegrBaseILNS_13PrimitiveTypeE9ELNS_16RegrFunctionKindE1ELb1ELb0ENS_21AggregateFunctionRegrILS1_9ELS2_1ELb1ELb0EEEE9serializeEPKcRNS_14BufferWritableE
Line
Count
Source
449
2
    void serialize(ConstAggregateDataPtr __restrict place, BufferWritable& buf) const override {
450
2
        this->data(place).write(buf);
451
2
    }
_ZNK5doris25AggregateFunctionRegrBaseILNS_13PrimitiveTypeE9ELNS_16RegrFunctionKindE1ELb0ELb1ENS_21AggregateFunctionRegrILS1_9ELS2_1ELb0ELb1EEEE9serializeEPKcRNS_14BufferWritableE
Line
Count
Source
449
2
    void serialize(ConstAggregateDataPtr __restrict place, BufferWritable& buf) const override {
450
2
        this->data(place).write(buf);
451
2
    }
_ZNK5doris25AggregateFunctionRegrBaseILNS_13PrimitiveTypeE9ELNS_16RegrFunctionKindE1ELb0ELb0ENS_21AggregateFunctionRegrILS1_9ELS2_1ELb0ELb0EEEE9serializeEPKcRNS_14BufferWritableE
Line
Count
Source
449
2
    void serialize(ConstAggregateDataPtr __restrict place, BufferWritable& buf) const override {
450
2
        this->data(place).write(buf);
451
2
    }
_ZNK5doris25AggregateFunctionRegrBaseILNS_13PrimitiveTypeE9ELNS_16RegrFunctionKindE2ELb1ELb1ENS_21AggregateFunctionRegrILS1_9ELS2_2ELb1ELb1EEEE9serializeEPKcRNS_14BufferWritableE
Line
Count
Source
449
8
    void serialize(ConstAggregateDataPtr __restrict place, BufferWritable& buf) const override {
450
8
        this->data(place).write(buf);
451
8
    }
_ZNK5doris25AggregateFunctionRegrBaseILNS_13PrimitiveTypeE9ELNS_16RegrFunctionKindE2ELb1ELb0ENS_21AggregateFunctionRegrILS1_9ELS2_2ELb1ELb0EEEE9serializeEPKcRNS_14BufferWritableE
Line
Count
Source
449
2
    void serialize(ConstAggregateDataPtr __restrict place, BufferWritable& buf) const override {
450
2
        this->data(place).write(buf);
451
2
    }
_ZNK5doris25AggregateFunctionRegrBaseILNS_13PrimitiveTypeE9ELNS_16RegrFunctionKindE2ELb0ELb1ENS_21AggregateFunctionRegrILS1_9ELS2_2ELb0ELb1EEEE9serializeEPKcRNS_14BufferWritableE
Line
Count
Source
449
2
    void serialize(ConstAggregateDataPtr __restrict place, BufferWritable& buf) const override {
450
2
        this->data(place).write(buf);
451
2
    }
_ZNK5doris25AggregateFunctionRegrBaseILNS_13PrimitiveTypeE9ELNS_16RegrFunctionKindE2ELb0ELb0ENS_21AggregateFunctionRegrILS1_9ELS2_2ELb0ELb0EEEE9serializeEPKcRNS_14BufferWritableE
Line
Count
Source
449
2
    void serialize(ConstAggregateDataPtr __restrict place, BufferWritable& buf) const override {
450
2
        this->data(place).write(buf);
451
2
    }
_ZNK5doris25AggregateFunctionRegrBaseILNS_13PrimitiveTypeE9ELNS_16RegrFunctionKindE3ELb1ELb1ENS_21AggregateFunctionRegrILS1_9ELS2_3ELb1ELb1EEEE9serializeEPKcRNS_14BufferWritableE
Line
Count
Source
449
26
    void serialize(ConstAggregateDataPtr __restrict place, BufferWritable& buf) const override {
450
26
        this->data(place).write(buf);
451
26
    }
_ZNK5doris25AggregateFunctionRegrBaseILNS_13PrimitiveTypeE9ELNS_16RegrFunctionKindE3ELb1ELb0ENS_21AggregateFunctionRegrILS1_9ELS2_3ELb1ELb0EEEE9serializeEPKcRNS_14BufferWritableE
Line
Count
Source
449
22
    void serialize(ConstAggregateDataPtr __restrict place, BufferWritable& buf) const override {
450
22
        this->data(place).write(buf);
451
22
    }
_ZNK5doris25AggregateFunctionRegrBaseILNS_13PrimitiveTypeE9ELNS_16RegrFunctionKindE3ELb0ELb1ENS_21AggregateFunctionRegrILS1_9ELS2_3ELb0ELb1EEEE9serializeEPKcRNS_14BufferWritableE
Line
Count
Source
449
12
    void serialize(ConstAggregateDataPtr __restrict place, BufferWritable& buf) const override {
450
12
        this->data(place).write(buf);
451
12
    }
_ZNK5doris25AggregateFunctionRegrBaseILNS_13PrimitiveTypeE9ELNS_16RegrFunctionKindE3ELb0ELb0ENS_21AggregateFunctionRegrILS1_9ELS2_3ELb0ELb0EEEE9serializeEPKcRNS_14BufferWritableE
Line
Count
Source
449
10
    void serialize(ConstAggregateDataPtr __restrict place, BufferWritable& buf) const override {
450
10
        this->data(place).write(buf);
451
10
    }
_ZNK5doris25AggregateFunctionRegrBaseILNS_13PrimitiveTypeE9ELNS_16RegrFunctionKindE4ELb1ELb1ENS_21AggregateFunctionRegrILS1_9ELS2_4ELb1ELb1EEEE9serializeEPKcRNS_14BufferWritableE
Line
Count
Source
449
26
    void serialize(ConstAggregateDataPtr __restrict place, BufferWritable& buf) const override {
450
26
        this->data(place).write(buf);
451
26
    }
_ZNK5doris25AggregateFunctionRegrBaseILNS_13PrimitiveTypeE9ELNS_16RegrFunctionKindE4ELb1ELb0ENS_21AggregateFunctionRegrILS1_9ELS2_4ELb1ELb0EEEE9serializeEPKcRNS_14BufferWritableE
Line
Count
Source
449
22
    void serialize(ConstAggregateDataPtr __restrict place, BufferWritable& buf) const override {
450
22
        this->data(place).write(buf);
451
22
    }
_ZNK5doris25AggregateFunctionRegrBaseILNS_13PrimitiveTypeE9ELNS_16RegrFunctionKindE4ELb0ELb1ENS_21AggregateFunctionRegrILS1_9ELS2_4ELb0ELb1EEEE9serializeEPKcRNS_14BufferWritableE
Line
Count
Source
449
12
    void serialize(ConstAggregateDataPtr __restrict place, BufferWritable& buf) const override {
450
12
        this->data(place).write(buf);
451
12
    }
_ZNK5doris25AggregateFunctionRegrBaseILNS_13PrimitiveTypeE9ELNS_16RegrFunctionKindE4ELb0ELb0ENS_21AggregateFunctionRegrILS1_9ELS2_4ELb0ELb0EEEE9serializeEPKcRNS_14BufferWritableE
Line
Count
Source
449
10
    void serialize(ConstAggregateDataPtr __restrict place, BufferWritable& buf) const override {
450
10
        this->data(place).write(buf);
451
10
    }
_ZNK5doris25AggregateFunctionRegrBaseILNS_13PrimitiveTypeE9ELNS_16RegrFunctionKindE5ELb1ELb1ENS_21AggregateFunctionRegrILS1_9ELS2_5ELb1ELb1EEEE9serializeEPKcRNS_14BufferWritableE
Line
Count
Source
449
2
    void serialize(ConstAggregateDataPtr __restrict place, BufferWritable& buf) const override {
450
2
        this->data(place).write(buf);
451
2
    }
_ZNK5doris25AggregateFunctionRegrBaseILNS_13PrimitiveTypeE9ELNS_16RegrFunctionKindE5ELb1ELb0ENS_21AggregateFunctionRegrILS1_9ELS2_5ELb1ELb0EEEE9serializeEPKcRNS_14BufferWritableE
Line
Count
Source
449
2
    void serialize(ConstAggregateDataPtr __restrict place, BufferWritable& buf) const override {
450
2
        this->data(place).write(buf);
451
2
    }
_ZNK5doris25AggregateFunctionRegrBaseILNS_13PrimitiveTypeE9ELNS_16RegrFunctionKindE5ELb0ELb1ENS_21AggregateFunctionRegrILS1_9ELS2_5ELb0ELb1EEEE9serializeEPKcRNS_14BufferWritableE
Line
Count
Source
449
2
    void serialize(ConstAggregateDataPtr __restrict place, BufferWritable& buf) const override {
450
2
        this->data(place).write(buf);
451
2
    }
_ZNK5doris25AggregateFunctionRegrBaseILNS_13PrimitiveTypeE9ELNS_16RegrFunctionKindE5ELb0ELb0ENS_21AggregateFunctionRegrILS1_9ELS2_5ELb0ELb0EEEE9serializeEPKcRNS_14BufferWritableE
Line
Count
Source
449
1
    void serialize(ConstAggregateDataPtr __restrict place, BufferWritable& buf) const override {
450
1
        this->data(place).write(buf);
451
1
    }
_ZNK5doris25AggregateFunctionRegrBaseILNS_13PrimitiveTypeE9ELNS_16RegrFunctionKindE6ELb1ELb1ENS_21AggregateFunctionRegrILS1_9ELS2_6ELb1ELb1EEEE9serializeEPKcRNS_14BufferWritableE
Line
Count
Source
449
2
    void serialize(ConstAggregateDataPtr __restrict place, BufferWritable& buf) const override {
450
2
        this->data(place).write(buf);
451
2
    }
_ZNK5doris25AggregateFunctionRegrBaseILNS_13PrimitiveTypeE9ELNS_16RegrFunctionKindE6ELb1ELb0ENS_21AggregateFunctionRegrILS1_9ELS2_6ELb1ELb0EEEE9serializeEPKcRNS_14BufferWritableE
Line
Count
Source
449
2
    void serialize(ConstAggregateDataPtr __restrict place, BufferWritable& buf) const override {
450
2
        this->data(place).write(buf);
451
2
    }
_ZNK5doris25AggregateFunctionRegrBaseILNS_13PrimitiveTypeE9ELNS_16RegrFunctionKindE6ELb0ELb1ENS_21AggregateFunctionRegrILS1_9ELS2_6ELb0ELb1EEEE9serializeEPKcRNS_14BufferWritableE
Line
Count
Source
449
2
    void serialize(ConstAggregateDataPtr __restrict place, BufferWritable& buf) const override {
450
2
        this->data(place).write(buf);
451
2
    }
_ZNK5doris25AggregateFunctionRegrBaseILNS_13PrimitiveTypeE9ELNS_16RegrFunctionKindE6ELb0ELb0ENS_21AggregateFunctionRegrILS1_9ELS2_6ELb0ELb0EEEE9serializeEPKcRNS_14BufferWritableE
Line
Count
Source
449
1
    void serialize(ConstAggregateDataPtr __restrict place, BufferWritable& buf) const override {
450
1
        this->data(place).write(buf);
451
1
    }
_ZNK5doris25AggregateFunctionRegrBaseILNS_13PrimitiveTypeE9ELNS_16RegrFunctionKindE7ELb1ELb1ENS_21AggregateFunctionRegrILS1_9ELS2_7ELb1ELb1EEEE9serializeEPKcRNS_14BufferWritableE
Line
Count
Source
449
2
    void serialize(ConstAggregateDataPtr __restrict place, BufferWritable& buf) const override {
450
2
        this->data(place).write(buf);
451
2
    }
_ZNK5doris25AggregateFunctionRegrBaseILNS_13PrimitiveTypeE9ELNS_16RegrFunctionKindE7ELb1ELb0ENS_21AggregateFunctionRegrILS1_9ELS2_7ELb1ELb0EEEE9serializeEPKcRNS_14BufferWritableE
Line
Count
Source
449
2
    void serialize(ConstAggregateDataPtr __restrict place, BufferWritable& buf) const override {
450
2
        this->data(place).write(buf);
451
2
    }
_ZNK5doris25AggregateFunctionRegrBaseILNS_13PrimitiveTypeE9ELNS_16RegrFunctionKindE7ELb0ELb1ENS_21AggregateFunctionRegrILS1_9ELS2_7ELb0ELb1EEEE9serializeEPKcRNS_14BufferWritableE
Line
Count
Source
449
2
    void serialize(ConstAggregateDataPtr __restrict place, BufferWritable& buf) const override {
450
2
        this->data(place).write(buf);
451
2
    }
_ZNK5doris25AggregateFunctionRegrBaseILNS_13PrimitiveTypeE9ELNS_16RegrFunctionKindE7ELb0ELb0ENS_21AggregateFunctionRegrILS1_9ELS2_7ELb0ELb0EEEE9serializeEPKcRNS_14BufferWritableE
Line
Count
Source
449
1
    void serialize(ConstAggregateDataPtr __restrict place, BufferWritable& buf) const override {
450
1
        this->data(place).write(buf);
451
1
    }
_ZNK5doris25AggregateFunctionRegrBaseILNS_13PrimitiveTypeE9ELNS_16RegrFunctionKindE8ELb1ELb1ENS_21AggregateFunctionRegrILS1_9ELS2_8ELb1ELb1EEEE9serializeEPKcRNS_14BufferWritableE
Line
Count
Source
449
4
    void serialize(ConstAggregateDataPtr __restrict place, BufferWritable& buf) const override {
450
4
        this->data(place).write(buf);
451
4
    }
_ZNK5doris25AggregateFunctionRegrBaseILNS_13PrimitiveTypeE9ELNS_16RegrFunctionKindE8ELb1ELb0ENS_21AggregateFunctionRegrILS1_9ELS2_8ELb1ELb0EEEE9serializeEPKcRNS_14BufferWritableE
Line
Count
Source
449
2
    void serialize(ConstAggregateDataPtr __restrict place, BufferWritable& buf) const override {
450
2
        this->data(place).write(buf);
451
2
    }
_ZNK5doris25AggregateFunctionRegrBaseILNS_13PrimitiveTypeE9ELNS_16RegrFunctionKindE8ELb0ELb1ENS_21AggregateFunctionRegrILS1_9ELS2_8ELb0ELb1EEEE9serializeEPKcRNS_14BufferWritableE
Line
Count
Source
449
2
    void serialize(ConstAggregateDataPtr __restrict place, BufferWritable& buf) const override {
450
2
        this->data(place).write(buf);
451
2
    }
_ZNK5doris25AggregateFunctionRegrBaseILNS_13PrimitiveTypeE9ELNS_16RegrFunctionKindE8ELb0ELb0ENS_21AggregateFunctionRegrILS1_9ELS2_8ELb0ELb0EEEE9serializeEPKcRNS_14BufferWritableE
Line
Count
Source
449
2
    void serialize(ConstAggregateDataPtr __restrict place, BufferWritable& buf) const override {
450
2
        this->data(place).write(buf);
451
2
    }
452
453
    void deserialize(AggregateDataPtr __restrict place, BufferReadable& buf,
454
213
                     Arena&) const override {
455
213
        this->data(place).read(buf);
456
213
    }
_ZNK5doris25AggregateFunctionRegrBaseILNS_13PrimitiveTypeE9ELNS_16RegrFunctionKindE0ELb1ELb1ENS_21AggregateFunctionRegrILS1_9ELS2_0ELb1ELb1EEEE11deserializeEPcRNS_14BufferReadableERNS_5ArenaE
Line
Count
Source
454
8
                     Arena&) const override {
455
8
        this->data(place).read(buf);
456
8
    }
_ZNK5doris25AggregateFunctionRegrBaseILNS_13PrimitiveTypeE9ELNS_16RegrFunctionKindE0ELb1ELb0ENS_21AggregateFunctionRegrILS1_9ELS2_0ELb1ELb0EEEE11deserializeEPcRNS_14BufferReadableERNS_5ArenaE
Line
Count
Source
454
2
                     Arena&) const override {
455
2
        this->data(place).read(buf);
456
2
    }
_ZNK5doris25AggregateFunctionRegrBaseILNS_13PrimitiveTypeE9ELNS_16RegrFunctionKindE0ELb0ELb1ENS_21AggregateFunctionRegrILS1_9ELS2_0ELb0ELb1EEEE11deserializeEPcRNS_14BufferReadableERNS_5ArenaE
Line
Count
Source
454
2
                     Arena&) const override {
455
2
        this->data(place).read(buf);
456
2
    }
_ZNK5doris25AggregateFunctionRegrBaseILNS_13PrimitiveTypeE9ELNS_16RegrFunctionKindE0ELb0ELb0ENS_21AggregateFunctionRegrILS1_9ELS2_0ELb0ELb0EEEE11deserializeEPcRNS_14BufferReadableERNS_5ArenaE
Line
Count
Source
454
2
                     Arena&) const override {
455
2
        this->data(place).read(buf);
456
2
    }
_ZNK5doris25AggregateFunctionRegrBaseILNS_13PrimitiveTypeE9ELNS_16RegrFunctionKindE1ELb1ELb1ENS_21AggregateFunctionRegrILS1_9ELS2_1ELb1ELb1EEEE11deserializeEPcRNS_14BufferReadableERNS_5ArenaE
Line
Count
Source
454
8
                     Arena&) const override {
455
8
        this->data(place).read(buf);
456
8
    }
_ZNK5doris25AggregateFunctionRegrBaseILNS_13PrimitiveTypeE9ELNS_16RegrFunctionKindE1ELb1ELb0ENS_21AggregateFunctionRegrILS1_9ELS2_1ELb1ELb0EEEE11deserializeEPcRNS_14BufferReadableERNS_5ArenaE
Line
Count
Source
454
2
                     Arena&) const override {
455
2
        this->data(place).read(buf);
456
2
    }
_ZNK5doris25AggregateFunctionRegrBaseILNS_13PrimitiveTypeE9ELNS_16RegrFunctionKindE1ELb0ELb1ENS_21AggregateFunctionRegrILS1_9ELS2_1ELb0ELb1EEEE11deserializeEPcRNS_14BufferReadableERNS_5ArenaE
Line
Count
Source
454
2
                     Arena&) const override {
455
2
        this->data(place).read(buf);
456
2
    }
_ZNK5doris25AggregateFunctionRegrBaseILNS_13PrimitiveTypeE9ELNS_16RegrFunctionKindE1ELb0ELb0ENS_21AggregateFunctionRegrILS1_9ELS2_1ELb0ELb0EEEE11deserializeEPcRNS_14BufferReadableERNS_5ArenaE
Line
Count
Source
454
2
                     Arena&) const override {
455
2
        this->data(place).read(buf);
456
2
    }
_ZNK5doris25AggregateFunctionRegrBaseILNS_13PrimitiveTypeE9ELNS_16RegrFunctionKindE2ELb1ELb1ENS_21AggregateFunctionRegrILS1_9ELS2_2ELb1ELb1EEEE11deserializeEPcRNS_14BufferReadableERNS_5ArenaE
Line
Count
Source
454
8
                     Arena&) const override {
455
8
        this->data(place).read(buf);
456
8
    }
_ZNK5doris25AggregateFunctionRegrBaseILNS_13PrimitiveTypeE9ELNS_16RegrFunctionKindE2ELb1ELb0ENS_21AggregateFunctionRegrILS1_9ELS2_2ELb1ELb0EEEE11deserializeEPcRNS_14BufferReadableERNS_5ArenaE
Line
Count
Source
454
2
                     Arena&) const override {
455
2
        this->data(place).read(buf);
456
2
    }
_ZNK5doris25AggregateFunctionRegrBaseILNS_13PrimitiveTypeE9ELNS_16RegrFunctionKindE2ELb0ELb1ENS_21AggregateFunctionRegrILS1_9ELS2_2ELb0ELb1EEEE11deserializeEPcRNS_14BufferReadableERNS_5ArenaE
Line
Count
Source
454
2
                     Arena&) const override {
455
2
        this->data(place).read(buf);
456
2
    }
_ZNK5doris25AggregateFunctionRegrBaseILNS_13PrimitiveTypeE9ELNS_16RegrFunctionKindE2ELb0ELb0ENS_21AggregateFunctionRegrILS1_9ELS2_2ELb0ELb0EEEE11deserializeEPcRNS_14BufferReadableERNS_5ArenaE
Line
Count
Source
454
2
                     Arena&) const override {
455
2
        this->data(place).read(buf);
456
2
    }
_ZNK5doris25AggregateFunctionRegrBaseILNS_13PrimitiveTypeE9ELNS_16RegrFunctionKindE3ELb1ELb1ENS_21AggregateFunctionRegrILS1_9ELS2_3ELb1ELb1EEEE11deserializeEPcRNS_14BufferReadableERNS_5ArenaE
Line
Count
Source
454
26
                     Arena&) const override {
455
26
        this->data(place).read(buf);
456
26
    }
_ZNK5doris25AggregateFunctionRegrBaseILNS_13PrimitiveTypeE9ELNS_16RegrFunctionKindE3ELb1ELb0ENS_21AggregateFunctionRegrILS1_9ELS2_3ELb1ELb0EEEE11deserializeEPcRNS_14BufferReadableERNS_5ArenaE
Line
Count
Source
454
22
                     Arena&) const override {
455
22
        this->data(place).read(buf);
456
22
    }
_ZNK5doris25AggregateFunctionRegrBaseILNS_13PrimitiveTypeE9ELNS_16RegrFunctionKindE3ELb0ELb1ENS_21AggregateFunctionRegrILS1_9ELS2_3ELb0ELb1EEEE11deserializeEPcRNS_14BufferReadableERNS_5ArenaE
Line
Count
Source
454
12
                     Arena&) const override {
455
12
        this->data(place).read(buf);
456
12
    }
_ZNK5doris25AggregateFunctionRegrBaseILNS_13PrimitiveTypeE9ELNS_16RegrFunctionKindE3ELb0ELb0ENS_21AggregateFunctionRegrILS1_9ELS2_3ELb0ELb0EEEE11deserializeEPcRNS_14BufferReadableERNS_5ArenaE
Line
Count
Source
454
10
                     Arena&) const override {
455
10
        this->data(place).read(buf);
456
10
    }
_ZNK5doris25AggregateFunctionRegrBaseILNS_13PrimitiveTypeE9ELNS_16RegrFunctionKindE4ELb1ELb1ENS_21AggregateFunctionRegrILS1_9ELS2_4ELb1ELb1EEEE11deserializeEPcRNS_14BufferReadableERNS_5ArenaE
Line
Count
Source
454
26
                     Arena&) const override {
455
26
        this->data(place).read(buf);
456
26
    }
_ZNK5doris25AggregateFunctionRegrBaseILNS_13PrimitiveTypeE9ELNS_16RegrFunctionKindE4ELb1ELb0ENS_21AggregateFunctionRegrILS1_9ELS2_4ELb1ELb0EEEE11deserializeEPcRNS_14BufferReadableERNS_5ArenaE
Line
Count
Source
454
22
                     Arena&) const override {
455
22
        this->data(place).read(buf);
456
22
    }
_ZNK5doris25AggregateFunctionRegrBaseILNS_13PrimitiveTypeE9ELNS_16RegrFunctionKindE4ELb0ELb1ENS_21AggregateFunctionRegrILS1_9ELS2_4ELb0ELb1EEEE11deserializeEPcRNS_14BufferReadableERNS_5ArenaE
Line
Count
Source
454
12
                     Arena&) const override {
455
12
        this->data(place).read(buf);
456
12
    }
_ZNK5doris25AggregateFunctionRegrBaseILNS_13PrimitiveTypeE9ELNS_16RegrFunctionKindE4ELb0ELb0ENS_21AggregateFunctionRegrILS1_9ELS2_4ELb0ELb0EEEE11deserializeEPcRNS_14BufferReadableERNS_5ArenaE
Line
Count
Source
454
10
                     Arena&) const override {
455
10
        this->data(place).read(buf);
456
10
    }
_ZNK5doris25AggregateFunctionRegrBaseILNS_13PrimitiveTypeE9ELNS_16RegrFunctionKindE5ELb1ELb1ENS_21AggregateFunctionRegrILS1_9ELS2_5ELb1ELb1EEEE11deserializeEPcRNS_14BufferReadableERNS_5ArenaE
Line
Count
Source
454
2
                     Arena&) const override {
455
2
        this->data(place).read(buf);
456
2
    }
_ZNK5doris25AggregateFunctionRegrBaseILNS_13PrimitiveTypeE9ELNS_16RegrFunctionKindE5ELb1ELb0ENS_21AggregateFunctionRegrILS1_9ELS2_5ELb1ELb0EEEE11deserializeEPcRNS_14BufferReadableERNS_5ArenaE
Line
Count
Source
454
2
                     Arena&) const override {
455
2
        this->data(place).read(buf);
456
2
    }
_ZNK5doris25AggregateFunctionRegrBaseILNS_13PrimitiveTypeE9ELNS_16RegrFunctionKindE5ELb0ELb1ENS_21AggregateFunctionRegrILS1_9ELS2_5ELb0ELb1EEEE11deserializeEPcRNS_14BufferReadableERNS_5ArenaE
Line
Count
Source
454
2
                     Arena&) const override {
455
2
        this->data(place).read(buf);
456
2
    }
_ZNK5doris25AggregateFunctionRegrBaseILNS_13PrimitiveTypeE9ELNS_16RegrFunctionKindE5ELb0ELb0ENS_21AggregateFunctionRegrILS1_9ELS2_5ELb0ELb0EEEE11deserializeEPcRNS_14BufferReadableERNS_5ArenaE
Line
Count
Source
454
1
                     Arena&) const override {
455
1
        this->data(place).read(buf);
456
1
    }
_ZNK5doris25AggregateFunctionRegrBaseILNS_13PrimitiveTypeE9ELNS_16RegrFunctionKindE6ELb1ELb1ENS_21AggregateFunctionRegrILS1_9ELS2_6ELb1ELb1EEEE11deserializeEPcRNS_14BufferReadableERNS_5ArenaE
Line
Count
Source
454
2
                     Arena&) const override {
455
2
        this->data(place).read(buf);
456
2
    }
_ZNK5doris25AggregateFunctionRegrBaseILNS_13PrimitiveTypeE9ELNS_16RegrFunctionKindE6ELb1ELb0ENS_21AggregateFunctionRegrILS1_9ELS2_6ELb1ELb0EEEE11deserializeEPcRNS_14BufferReadableERNS_5ArenaE
Line
Count
Source
454
2
                     Arena&) const override {
455
2
        this->data(place).read(buf);
456
2
    }
_ZNK5doris25AggregateFunctionRegrBaseILNS_13PrimitiveTypeE9ELNS_16RegrFunctionKindE6ELb0ELb1ENS_21AggregateFunctionRegrILS1_9ELS2_6ELb0ELb1EEEE11deserializeEPcRNS_14BufferReadableERNS_5ArenaE
Line
Count
Source
454
2
                     Arena&) const override {
455
2
        this->data(place).read(buf);
456
2
    }
_ZNK5doris25AggregateFunctionRegrBaseILNS_13PrimitiveTypeE9ELNS_16RegrFunctionKindE6ELb0ELb0ENS_21AggregateFunctionRegrILS1_9ELS2_6ELb0ELb0EEEE11deserializeEPcRNS_14BufferReadableERNS_5ArenaE
Line
Count
Source
454
1
                     Arena&) const override {
455
1
        this->data(place).read(buf);
456
1
    }
_ZNK5doris25AggregateFunctionRegrBaseILNS_13PrimitiveTypeE9ELNS_16RegrFunctionKindE7ELb1ELb1ENS_21AggregateFunctionRegrILS1_9ELS2_7ELb1ELb1EEEE11deserializeEPcRNS_14BufferReadableERNS_5ArenaE
Line
Count
Source
454
2
                     Arena&) const override {
455
2
        this->data(place).read(buf);
456
2
    }
_ZNK5doris25AggregateFunctionRegrBaseILNS_13PrimitiveTypeE9ELNS_16RegrFunctionKindE7ELb1ELb0ENS_21AggregateFunctionRegrILS1_9ELS2_7ELb1ELb0EEEE11deserializeEPcRNS_14BufferReadableERNS_5ArenaE
Line
Count
Source
454
2
                     Arena&) const override {
455
2
        this->data(place).read(buf);
456
2
    }
_ZNK5doris25AggregateFunctionRegrBaseILNS_13PrimitiveTypeE9ELNS_16RegrFunctionKindE7ELb0ELb1ENS_21AggregateFunctionRegrILS1_9ELS2_7ELb0ELb1EEEE11deserializeEPcRNS_14BufferReadableERNS_5ArenaE
Line
Count
Source
454
2
                     Arena&) const override {
455
2
        this->data(place).read(buf);
456
2
    }
_ZNK5doris25AggregateFunctionRegrBaseILNS_13PrimitiveTypeE9ELNS_16RegrFunctionKindE7ELb0ELb0ENS_21AggregateFunctionRegrILS1_9ELS2_7ELb0ELb0EEEE11deserializeEPcRNS_14BufferReadableERNS_5ArenaE
Line
Count
Source
454
1
                     Arena&) const override {
455
1
        this->data(place).read(buf);
456
1
    }
_ZNK5doris25AggregateFunctionRegrBaseILNS_13PrimitiveTypeE9ELNS_16RegrFunctionKindE8ELb1ELb1ENS_21AggregateFunctionRegrILS1_9ELS2_8ELb1ELb1EEEE11deserializeEPcRNS_14BufferReadableERNS_5ArenaE
Line
Count
Source
454
4
                     Arena&) const override {
455
4
        this->data(place).read(buf);
456
4
    }
_ZNK5doris25AggregateFunctionRegrBaseILNS_13PrimitiveTypeE9ELNS_16RegrFunctionKindE8ELb1ELb0ENS_21AggregateFunctionRegrILS1_9ELS2_8ELb1ELb0EEEE11deserializeEPcRNS_14BufferReadableERNS_5ArenaE
Line
Count
Source
454
2
                     Arena&) const override {
455
2
        this->data(place).read(buf);
456
2
    }
_ZNK5doris25AggregateFunctionRegrBaseILNS_13PrimitiveTypeE9ELNS_16RegrFunctionKindE8ELb0ELb1ENS_21AggregateFunctionRegrILS1_9ELS2_8ELb0ELb1EEEE11deserializeEPcRNS_14BufferReadableERNS_5ArenaE
Line
Count
Source
454
2
                     Arena&) const override {
455
2
        this->data(place).read(buf);
456
2
    }
_ZNK5doris25AggregateFunctionRegrBaseILNS_13PrimitiveTypeE9ELNS_16RegrFunctionKindE8ELb0ELb0ENS_21AggregateFunctionRegrILS1_9ELS2_8ELb0ELb0EEEE11deserializeEPcRNS_14BufferReadableERNS_5ArenaE
Line
Count
Source
454
2
                     Arena&) const override {
455
2
        this->data(place).read(buf);
456
2
    }
457
458
protected:
459
    using IAggregateFunctionDataHelper<Data, Derived>::data;
460
461
private:
462
    template <bool is_nullable>
463
    static ALWAYS_INLINE const InputCol* get_nested_column_or_null(const IColumn* col,
464
1.51k
                                                                   ssize_t row_num) {
465
1.51k
        if constexpr (is_nullable) {
466
983
            const auto& nullable_column =
467
983
                    assert_cast<const ColumnNullable&, TypeCheckOnRelease::DISABLE>(*col);
468
983
            if (nullable_column.is_null_at(row_num)) {
469
112
                return nullptr;
470
112
            }
471
871
            return assert_cast<const InputCol*, TypeCheckOnRelease::DISABLE>(
472
871
                    nullable_column.get_nested_column_ptr().get());
473
983
        } else {
474
531
            return assert_cast<const InputCol*, TypeCheckOnRelease::DISABLE>(col->get_ptr().get());
475
531
        }
476
1.51k
    }
_ZN5doris25AggregateFunctionRegrBaseILNS_13PrimitiveTypeE9ELNS_16RegrFunctionKindE0ELb1ELb1ENS_21AggregateFunctionRegrILS1_9ELS2_0ELb1ELb1EEEE25get_nested_column_or_nullILb1EEEPKNS_12ColumnVectorILS1_9EEEPKNS_7IColumnEl
Line
Count
Source
464
90
                                                                   ssize_t row_num) {
465
90
        if constexpr (is_nullable) {
466
90
            const auto& nullable_column =
467
90
                    assert_cast<const ColumnNullable&, TypeCheckOnRelease::DISABLE>(*col);
468
90
            if (nullable_column.is_null_at(row_num)) {
469
12
                return nullptr;
470
12
            }
471
78
            return assert_cast<const InputCol*, TypeCheckOnRelease::DISABLE>(
472
78
                    nullable_column.get_nested_column_ptr().get());
473
        } else {
474
            return assert_cast<const InputCol*, TypeCheckOnRelease::DISABLE>(col->get_ptr().get());
475
        }
476
90
    }
_ZN5doris25AggregateFunctionRegrBaseILNS_13PrimitiveTypeE9ELNS_16RegrFunctionKindE0ELb1ELb0ENS_21AggregateFunctionRegrILS1_9ELS2_0ELb1ELb0EEEE25get_nested_column_or_nullILb1EEEPKNS_12ColumnVectorILS1_9EEEPKNS_7IColumnEl
Line
Count
Source
464
7
                                                                   ssize_t row_num) {
465
7
        if constexpr (is_nullable) {
466
7
            const auto& nullable_column =
467
7
                    assert_cast<const ColumnNullable&, TypeCheckOnRelease::DISABLE>(*col);
468
7
            if (nullable_column.is_null_at(row_num)) {
469
1
                return nullptr;
470
1
            }
471
6
            return assert_cast<const InputCol*, TypeCheckOnRelease::DISABLE>(
472
6
                    nullable_column.get_nested_column_ptr().get());
473
        } else {
474
            return assert_cast<const InputCol*, TypeCheckOnRelease::DISABLE>(col->get_ptr().get());
475
        }
476
7
    }
_ZN5doris25AggregateFunctionRegrBaseILNS_13PrimitiveTypeE9ELNS_16RegrFunctionKindE0ELb1ELb0ENS_21AggregateFunctionRegrILS1_9ELS2_0ELb1ELb0EEEE25get_nested_column_or_nullILb0EEEPKNS_12ColumnVectorILS1_9EEEPKNS_7IColumnEl
Line
Count
Source
464
6
                                                                   ssize_t row_num) {
465
        if constexpr (is_nullable) {
466
            const auto& nullable_column =
467
                    assert_cast<const ColumnNullable&, TypeCheckOnRelease::DISABLE>(*col);
468
            if (nullable_column.is_null_at(row_num)) {
469
                return nullptr;
470
            }
471
            return assert_cast<const InputCol*, TypeCheckOnRelease::DISABLE>(
472
                    nullable_column.get_nested_column_ptr().get());
473
6
        } else {
474
6
            return assert_cast<const InputCol*, TypeCheckOnRelease::DISABLE>(col->get_ptr().get());
475
6
        }
476
6
    }
_ZN5doris25AggregateFunctionRegrBaseILNS_13PrimitiveTypeE9ELNS_16RegrFunctionKindE0ELb0ELb1ENS_21AggregateFunctionRegrILS1_9ELS2_0ELb0ELb1EEEE25get_nested_column_or_nullILb0EEEPKNS_12ColumnVectorILS1_9EEEPKNS_7IColumnEl
Line
Count
Source
464
7
                                                                   ssize_t row_num) {
465
        if constexpr (is_nullable) {
466
            const auto& nullable_column =
467
                    assert_cast<const ColumnNullable&, TypeCheckOnRelease::DISABLE>(*col);
468
            if (nullable_column.is_null_at(row_num)) {
469
                return nullptr;
470
            }
471
            return assert_cast<const InputCol*, TypeCheckOnRelease::DISABLE>(
472
                    nullable_column.get_nested_column_ptr().get());
473
7
        } else {
474
7
            return assert_cast<const InputCol*, TypeCheckOnRelease::DISABLE>(col->get_ptr().get());
475
7
        }
476
7
    }
_ZN5doris25AggregateFunctionRegrBaseILNS_13PrimitiveTypeE9ELNS_16RegrFunctionKindE0ELb0ELb1ENS_21AggregateFunctionRegrILS1_9ELS2_0ELb0ELb1EEEE25get_nested_column_or_nullILb1EEEPKNS_12ColumnVectorILS1_9EEEPKNS_7IColumnEl
Line
Count
Source
464
7
                                                                   ssize_t row_num) {
465
7
        if constexpr (is_nullable) {
466
7
            const auto& nullable_column =
467
7
                    assert_cast<const ColumnNullable&, TypeCheckOnRelease::DISABLE>(*col);
468
7
            if (nullable_column.is_null_at(row_num)) {
469
1
                return nullptr;
470
1
            }
471
6
            return assert_cast<const InputCol*, TypeCheckOnRelease::DISABLE>(
472
6
                    nullable_column.get_nested_column_ptr().get());
473
        } else {
474
            return assert_cast<const InputCol*, TypeCheckOnRelease::DISABLE>(col->get_ptr().get());
475
        }
476
7
    }
_ZN5doris25AggregateFunctionRegrBaseILNS_13PrimitiveTypeE9ELNS_16RegrFunctionKindE0ELb0ELb0ENS_21AggregateFunctionRegrILS1_9ELS2_0ELb0ELb0EEEE25get_nested_column_or_nullILb0EEEPKNS_12ColumnVectorILS1_9EEEPKNS_7IColumnEl
Line
Count
Source
464
18
                                                                   ssize_t row_num) {
465
        if constexpr (is_nullable) {
466
            const auto& nullable_column =
467
                    assert_cast<const ColumnNullable&, TypeCheckOnRelease::DISABLE>(*col);
468
            if (nullable_column.is_null_at(row_num)) {
469
                return nullptr;
470
            }
471
            return assert_cast<const InputCol*, TypeCheckOnRelease::DISABLE>(
472
                    nullable_column.get_nested_column_ptr().get());
473
18
        } else {
474
18
            return assert_cast<const InputCol*, TypeCheckOnRelease::DISABLE>(col->get_ptr().get());
475
18
        }
476
18
    }
_ZN5doris25AggregateFunctionRegrBaseILNS_13PrimitiveTypeE9ELNS_16RegrFunctionKindE1ELb1ELb1ENS_21AggregateFunctionRegrILS1_9ELS2_1ELb1ELb1EEEE25get_nested_column_or_nullILb1EEEPKNS_12ColumnVectorILS1_9EEEPKNS_7IColumnEl
Line
Count
Source
464
90
                                                                   ssize_t row_num) {
465
90
        if constexpr (is_nullable) {
466
90
            const auto& nullable_column =
467
90
                    assert_cast<const ColumnNullable&, TypeCheckOnRelease::DISABLE>(*col);
468
90
            if (nullable_column.is_null_at(row_num)) {
469
12
                return nullptr;
470
12
            }
471
78
            return assert_cast<const InputCol*, TypeCheckOnRelease::DISABLE>(
472
78
                    nullable_column.get_nested_column_ptr().get());
473
        } else {
474
            return assert_cast<const InputCol*, TypeCheckOnRelease::DISABLE>(col->get_ptr().get());
475
        }
476
90
    }
_ZN5doris25AggregateFunctionRegrBaseILNS_13PrimitiveTypeE9ELNS_16RegrFunctionKindE1ELb1ELb0ENS_21AggregateFunctionRegrILS1_9ELS2_1ELb1ELb0EEEE25get_nested_column_or_nullILb1EEEPKNS_12ColumnVectorILS1_9EEEPKNS_7IColumnEl
Line
Count
Source
464
7
                                                                   ssize_t row_num) {
465
7
        if constexpr (is_nullable) {
466
7
            const auto& nullable_column =
467
7
                    assert_cast<const ColumnNullable&, TypeCheckOnRelease::DISABLE>(*col);
468
7
            if (nullable_column.is_null_at(row_num)) {
469
1
                return nullptr;
470
1
            }
471
6
            return assert_cast<const InputCol*, TypeCheckOnRelease::DISABLE>(
472
6
                    nullable_column.get_nested_column_ptr().get());
473
        } else {
474
            return assert_cast<const InputCol*, TypeCheckOnRelease::DISABLE>(col->get_ptr().get());
475
        }
476
7
    }
_ZN5doris25AggregateFunctionRegrBaseILNS_13PrimitiveTypeE9ELNS_16RegrFunctionKindE1ELb1ELb0ENS_21AggregateFunctionRegrILS1_9ELS2_1ELb1ELb0EEEE25get_nested_column_or_nullILb0EEEPKNS_12ColumnVectorILS1_9EEEPKNS_7IColumnEl
Line
Count
Source
464
6
                                                                   ssize_t row_num) {
465
        if constexpr (is_nullable) {
466
            const auto& nullable_column =
467
                    assert_cast<const ColumnNullable&, TypeCheckOnRelease::DISABLE>(*col);
468
            if (nullable_column.is_null_at(row_num)) {
469
                return nullptr;
470
            }
471
            return assert_cast<const InputCol*, TypeCheckOnRelease::DISABLE>(
472
                    nullable_column.get_nested_column_ptr().get());
473
6
        } else {
474
6
            return assert_cast<const InputCol*, TypeCheckOnRelease::DISABLE>(col->get_ptr().get());
475
6
        }
476
6
    }
_ZN5doris25AggregateFunctionRegrBaseILNS_13PrimitiveTypeE9ELNS_16RegrFunctionKindE1ELb0ELb1ENS_21AggregateFunctionRegrILS1_9ELS2_1ELb0ELb1EEEE25get_nested_column_or_nullILb0EEEPKNS_12ColumnVectorILS1_9EEEPKNS_7IColumnEl
Line
Count
Source
464
7
                                                                   ssize_t row_num) {
465
        if constexpr (is_nullable) {
466
            const auto& nullable_column =
467
                    assert_cast<const ColumnNullable&, TypeCheckOnRelease::DISABLE>(*col);
468
            if (nullable_column.is_null_at(row_num)) {
469
                return nullptr;
470
            }
471
            return assert_cast<const InputCol*, TypeCheckOnRelease::DISABLE>(
472
                    nullable_column.get_nested_column_ptr().get());
473
7
        } else {
474
7
            return assert_cast<const InputCol*, TypeCheckOnRelease::DISABLE>(col->get_ptr().get());
475
7
        }
476
7
    }
_ZN5doris25AggregateFunctionRegrBaseILNS_13PrimitiveTypeE9ELNS_16RegrFunctionKindE1ELb0ELb1ENS_21AggregateFunctionRegrILS1_9ELS2_1ELb0ELb1EEEE25get_nested_column_or_nullILb1EEEPKNS_12ColumnVectorILS1_9EEEPKNS_7IColumnEl
Line
Count
Source
464
7
                                                                   ssize_t row_num) {
465
7
        if constexpr (is_nullable) {
466
7
            const auto& nullable_column =
467
7
                    assert_cast<const ColumnNullable&, TypeCheckOnRelease::DISABLE>(*col);
468
7
            if (nullable_column.is_null_at(row_num)) {
469
1
                return nullptr;
470
1
            }
471
6
            return assert_cast<const InputCol*, TypeCheckOnRelease::DISABLE>(
472
6
                    nullable_column.get_nested_column_ptr().get());
473
        } else {
474
            return assert_cast<const InputCol*, TypeCheckOnRelease::DISABLE>(col->get_ptr().get());
475
        }
476
7
    }
_ZN5doris25AggregateFunctionRegrBaseILNS_13PrimitiveTypeE9ELNS_16RegrFunctionKindE1ELb0ELb0ENS_21AggregateFunctionRegrILS1_9ELS2_1ELb0ELb0EEEE25get_nested_column_or_nullILb0EEEPKNS_12ColumnVectorILS1_9EEEPKNS_7IColumnEl
Line
Count
Source
464
18
                                                                   ssize_t row_num) {
465
        if constexpr (is_nullable) {
466
            const auto& nullable_column =
467
                    assert_cast<const ColumnNullable&, TypeCheckOnRelease::DISABLE>(*col);
468
            if (nullable_column.is_null_at(row_num)) {
469
                return nullptr;
470
            }
471
            return assert_cast<const InputCol*, TypeCheckOnRelease::DISABLE>(
472
                    nullable_column.get_nested_column_ptr().get());
473
18
        } else {
474
18
            return assert_cast<const InputCol*, TypeCheckOnRelease::DISABLE>(col->get_ptr().get());
475
18
        }
476
18
    }
_ZN5doris25AggregateFunctionRegrBaseILNS_13PrimitiveTypeE9ELNS_16RegrFunctionKindE2ELb1ELb1ENS_21AggregateFunctionRegrILS1_9ELS2_2ELb1ELb1EEEE25get_nested_column_or_nullILb1EEEPKNS_12ColumnVectorILS1_9EEEPKNS_7IColumnEl
Line
Count
Source
464
90
                                                                   ssize_t row_num) {
465
90
        if constexpr (is_nullable) {
466
90
            const auto& nullable_column =
467
90
                    assert_cast<const ColumnNullable&, TypeCheckOnRelease::DISABLE>(*col);
468
90
            if (nullable_column.is_null_at(row_num)) {
469
12
                return nullptr;
470
12
            }
471
78
            return assert_cast<const InputCol*, TypeCheckOnRelease::DISABLE>(
472
78
                    nullable_column.get_nested_column_ptr().get());
473
        } else {
474
            return assert_cast<const InputCol*, TypeCheckOnRelease::DISABLE>(col->get_ptr().get());
475
        }
476
90
    }
_ZN5doris25AggregateFunctionRegrBaseILNS_13PrimitiveTypeE9ELNS_16RegrFunctionKindE2ELb1ELb0ENS_21AggregateFunctionRegrILS1_9ELS2_2ELb1ELb0EEEE25get_nested_column_or_nullILb1EEEPKNS_12ColumnVectorILS1_9EEEPKNS_7IColumnEl
Line
Count
Source
464
7
                                                                   ssize_t row_num) {
465
7
        if constexpr (is_nullable) {
466
7
            const auto& nullable_column =
467
7
                    assert_cast<const ColumnNullable&, TypeCheckOnRelease::DISABLE>(*col);
468
7
            if (nullable_column.is_null_at(row_num)) {
469
1
                return nullptr;
470
1
            }
471
6
            return assert_cast<const InputCol*, TypeCheckOnRelease::DISABLE>(
472
6
                    nullable_column.get_nested_column_ptr().get());
473
        } else {
474
            return assert_cast<const InputCol*, TypeCheckOnRelease::DISABLE>(col->get_ptr().get());
475
        }
476
7
    }
_ZN5doris25AggregateFunctionRegrBaseILNS_13PrimitiveTypeE9ELNS_16RegrFunctionKindE2ELb1ELb0ENS_21AggregateFunctionRegrILS1_9ELS2_2ELb1ELb0EEEE25get_nested_column_or_nullILb0EEEPKNS_12ColumnVectorILS1_9EEEPKNS_7IColumnEl
Line
Count
Source
464
6
                                                                   ssize_t row_num) {
465
        if constexpr (is_nullable) {
466
            const auto& nullable_column =
467
                    assert_cast<const ColumnNullable&, TypeCheckOnRelease::DISABLE>(*col);
468
            if (nullable_column.is_null_at(row_num)) {
469
                return nullptr;
470
            }
471
            return assert_cast<const InputCol*, TypeCheckOnRelease::DISABLE>(
472
                    nullable_column.get_nested_column_ptr().get());
473
6
        } else {
474
6
            return assert_cast<const InputCol*, TypeCheckOnRelease::DISABLE>(col->get_ptr().get());
475
6
        }
476
6
    }
_ZN5doris25AggregateFunctionRegrBaseILNS_13PrimitiveTypeE9ELNS_16RegrFunctionKindE2ELb0ELb1ENS_21AggregateFunctionRegrILS1_9ELS2_2ELb0ELb1EEEE25get_nested_column_or_nullILb0EEEPKNS_12ColumnVectorILS1_9EEEPKNS_7IColumnEl
Line
Count
Source
464
7
                                                                   ssize_t row_num) {
465
        if constexpr (is_nullable) {
466
            const auto& nullable_column =
467
                    assert_cast<const ColumnNullable&, TypeCheckOnRelease::DISABLE>(*col);
468
            if (nullable_column.is_null_at(row_num)) {
469
                return nullptr;
470
            }
471
            return assert_cast<const InputCol*, TypeCheckOnRelease::DISABLE>(
472
                    nullable_column.get_nested_column_ptr().get());
473
7
        } else {
474
7
            return assert_cast<const InputCol*, TypeCheckOnRelease::DISABLE>(col->get_ptr().get());
475
7
        }
476
7
    }
_ZN5doris25AggregateFunctionRegrBaseILNS_13PrimitiveTypeE9ELNS_16RegrFunctionKindE2ELb0ELb1ENS_21AggregateFunctionRegrILS1_9ELS2_2ELb0ELb1EEEE25get_nested_column_or_nullILb1EEEPKNS_12ColumnVectorILS1_9EEEPKNS_7IColumnEl
Line
Count
Source
464
7
                                                                   ssize_t row_num) {
465
7
        if constexpr (is_nullable) {
466
7
            const auto& nullable_column =
467
7
                    assert_cast<const ColumnNullable&, TypeCheckOnRelease::DISABLE>(*col);
468
7
            if (nullable_column.is_null_at(row_num)) {
469
1
                return nullptr;
470
1
            }
471
6
            return assert_cast<const InputCol*, TypeCheckOnRelease::DISABLE>(
472
6
                    nullable_column.get_nested_column_ptr().get());
473
        } else {
474
            return assert_cast<const InputCol*, TypeCheckOnRelease::DISABLE>(col->get_ptr().get());
475
        }
476
7
    }
_ZN5doris25AggregateFunctionRegrBaseILNS_13PrimitiveTypeE9ELNS_16RegrFunctionKindE2ELb0ELb0ENS_21AggregateFunctionRegrILS1_9ELS2_2ELb0ELb0EEEE25get_nested_column_or_nullILb0EEEPKNS_12ColumnVectorILS1_9EEEPKNS_7IColumnEl
Line
Count
Source
464
18
                                                                   ssize_t row_num) {
465
        if constexpr (is_nullable) {
466
            const auto& nullable_column =
467
                    assert_cast<const ColumnNullable&, TypeCheckOnRelease::DISABLE>(*col);
468
            if (nullable_column.is_null_at(row_num)) {
469
                return nullptr;
470
            }
471
            return assert_cast<const InputCol*, TypeCheckOnRelease::DISABLE>(
472
                    nullable_column.get_nested_column_ptr().get());
473
18
        } else {
474
18
            return assert_cast<const InputCol*, TypeCheckOnRelease::DISABLE>(col->get_ptr().get());
475
18
        }
476
18
    }
_ZN5doris25AggregateFunctionRegrBaseILNS_13PrimitiveTypeE9ELNS_16RegrFunctionKindE3ELb1ELb1ENS_21AggregateFunctionRegrILS1_9ELS2_3ELb1ELb1EEEE25get_nested_column_or_nullILb1EEEPKNS_12ColumnVectorILS1_9EEEPKNS_7IColumnEl
Line
Count
Source
464
144
                                                                   ssize_t row_num) {
465
144
        if constexpr (is_nullable) {
466
144
            const auto& nullable_column =
467
144
                    assert_cast<const ColumnNullable&, TypeCheckOnRelease::DISABLE>(*col);
468
144
            if (nullable_column.is_null_at(row_num)) {
469
12
                return nullptr;
470
12
            }
471
132
            return assert_cast<const InputCol*, TypeCheckOnRelease::DISABLE>(
472
132
                    nullable_column.get_nested_column_ptr().get());
473
        } else {
474
            return assert_cast<const InputCol*, TypeCheckOnRelease::DISABLE>(col->get_ptr().get());
475
        }
476
144
    }
_ZN5doris25AggregateFunctionRegrBaseILNS_13PrimitiveTypeE9ELNS_16RegrFunctionKindE3ELb1ELb0ENS_21AggregateFunctionRegrILS1_9ELS2_3ELb1ELb0EEEE25get_nested_column_or_nullILb1EEEPKNS_12ColumnVectorILS1_9EEEPKNS_7IColumnEl
Line
Count
Source
464
61
                                                                   ssize_t row_num) {
465
61
        if constexpr (is_nullable) {
466
61
            const auto& nullable_column =
467
61
                    assert_cast<const ColumnNullable&, TypeCheckOnRelease::DISABLE>(*col);
468
61
            if (nullable_column.is_null_at(row_num)) {
469
5
                return nullptr;
470
5
            }
471
56
            return assert_cast<const InputCol*, TypeCheckOnRelease::DISABLE>(
472
56
                    nullable_column.get_nested_column_ptr().get());
473
        } else {
474
            return assert_cast<const InputCol*, TypeCheckOnRelease::DISABLE>(col->get_ptr().get());
475
        }
476
61
    }
_ZN5doris25AggregateFunctionRegrBaseILNS_13PrimitiveTypeE9ELNS_16RegrFunctionKindE3ELb1ELb0ENS_21AggregateFunctionRegrILS1_9ELS2_3ELb1ELb0EEEE25get_nested_column_or_nullILb0EEEPKNS_12ColumnVectorILS1_9EEEPKNS_7IColumnEl
Line
Count
Source
464
56
                                                                   ssize_t row_num) {
465
        if constexpr (is_nullable) {
466
            const auto& nullable_column =
467
                    assert_cast<const ColumnNullable&, TypeCheckOnRelease::DISABLE>(*col);
468
            if (nullable_column.is_null_at(row_num)) {
469
                return nullptr;
470
            }
471
            return assert_cast<const InputCol*, TypeCheckOnRelease::DISABLE>(
472
                    nullable_column.get_nested_column_ptr().get());
473
56
        } else {
474
56
            return assert_cast<const InputCol*, TypeCheckOnRelease::DISABLE>(col->get_ptr().get());
475
56
        }
476
56
    }
_ZN5doris25AggregateFunctionRegrBaseILNS_13PrimitiveTypeE9ELNS_16RegrFunctionKindE3ELb0ELb1ENS_21AggregateFunctionRegrILS1_9ELS2_3ELb0ELb1EEEE25get_nested_column_or_nullILb0EEEPKNS_12ColumnVectorILS1_9EEEPKNS_7IColumnEl
Line
Count
Source
464
31
                                                                   ssize_t row_num) {
465
        if constexpr (is_nullable) {
466
            const auto& nullable_column =
467
                    assert_cast<const ColumnNullable&, TypeCheckOnRelease::DISABLE>(*col);
468
            if (nullable_column.is_null_at(row_num)) {
469
                return nullptr;
470
            }
471
            return assert_cast<const InputCol*, TypeCheckOnRelease::DISABLE>(
472
                    nullable_column.get_nested_column_ptr().get());
473
31
        } else {
474
31
            return assert_cast<const InputCol*, TypeCheckOnRelease::DISABLE>(col->get_ptr().get());
475
31
        }
476
31
    }
_ZN5doris25AggregateFunctionRegrBaseILNS_13PrimitiveTypeE9ELNS_16RegrFunctionKindE3ELb0ELb1ENS_21AggregateFunctionRegrILS1_9ELS2_3ELb0ELb1EEEE25get_nested_column_or_nullILb1EEEPKNS_12ColumnVectorILS1_9EEEPKNS_7IColumnEl
Line
Count
Source
464
31
                                                                   ssize_t row_num) {
465
31
        if constexpr (is_nullable) {
466
31
            const auto& nullable_column =
467
31
                    assert_cast<const ColumnNullable&, TypeCheckOnRelease::DISABLE>(*col);
468
31
            if (nullable_column.is_null_at(row_num)) {
469
5
                return nullptr;
470
5
            }
471
26
            return assert_cast<const InputCol*, TypeCheckOnRelease::DISABLE>(
472
26
                    nullable_column.get_nested_column_ptr().get());
473
        } else {
474
            return assert_cast<const InputCol*, TypeCheckOnRelease::DISABLE>(col->get_ptr().get());
475
        }
476
31
    }
_ZN5doris25AggregateFunctionRegrBaseILNS_13PrimitiveTypeE9ELNS_16RegrFunctionKindE3ELb0ELb0ENS_21AggregateFunctionRegrILS1_9ELS2_3ELb0ELb0EEEE25get_nested_column_or_nullILb0EEEPKNS_12ColumnVectorILS1_9EEEPKNS_7IColumnEl
Line
Count
Source
464
76
                                                                   ssize_t row_num) {
465
        if constexpr (is_nullable) {
466
            const auto& nullable_column =
467
                    assert_cast<const ColumnNullable&, TypeCheckOnRelease::DISABLE>(*col);
468
            if (nullable_column.is_null_at(row_num)) {
469
                return nullptr;
470
            }
471
            return assert_cast<const InputCol*, TypeCheckOnRelease::DISABLE>(
472
                    nullable_column.get_nested_column_ptr().get());
473
76
        } else {
474
76
            return assert_cast<const InputCol*, TypeCheckOnRelease::DISABLE>(col->get_ptr().get());
475
76
        }
476
76
    }
_ZN5doris25AggregateFunctionRegrBaseILNS_13PrimitiveTypeE9ELNS_16RegrFunctionKindE4ELb1ELb1ENS_21AggregateFunctionRegrILS1_9ELS2_4ELb1ELb1EEEE25get_nested_column_or_nullILb1EEEPKNS_12ColumnVectorILS1_9EEEPKNS_7IColumnEl
Line
Count
Source
464
144
                                                                   ssize_t row_num) {
465
144
        if constexpr (is_nullable) {
466
144
            const auto& nullable_column =
467
144
                    assert_cast<const ColumnNullable&, TypeCheckOnRelease::DISABLE>(*col);
468
144
            if (nullable_column.is_null_at(row_num)) {
469
12
                return nullptr;
470
12
            }
471
132
            return assert_cast<const InputCol*, TypeCheckOnRelease::DISABLE>(
472
132
                    nullable_column.get_nested_column_ptr().get());
473
        } else {
474
            return assert_cast<const InputCol*, TypeCheckOnRelease::DISABLE>(col->get_ptr().get());
475
        }
476
144
    }
_ZN5doris25AggregateFunctionRegrBaseILNS_13PrimitiveTypeE9ELNS_16RegrFunctionKindE4ELb1ELb0ENS_21AggregateFunctionRegrILS1_9ELS2_4ELb1ELb0EEEE25get_nested_column_or_nullILb1EEEPKNS_12ColumnVectorILS1_9EEEPKNS_7IColumnEl
Line
Count
Source
464
61
                                                                   ssize_t row_num) {
465
61
        if constexpr (is_nullable) {
466
61
            const auto& nullable_column =
467
61
                    assert_cast<const ColumnNullable&, TypeCheckOnRelease::DISABLE>(*col);
468
61
            if (nullable_column.is_null_at(row_num)) {
469
5
                return nullptr;
470
5
            }
471
56
            return assert_cast<const InputCol*, TypeCheckOnRelease::DISABLE>(
472
56
                    nullable_column.get_nested_column_ptr().get());
473
        } else {
474
            return assert_cast<const InputCol*, TypeCheckOnRelease::DISABLE>(col->get_ptr().get());
475
        }
476
61
    }
_ZN5doris25AggregateFunctionRegrBaseILNS_13PrimitiveTypeE9ELNS_16RegrFunctionKindE4ELb1ELb0ENS_21AggregateFunctionRegrILS1_9ELS2_4ELb1ELb0EEEE25get_nested_column_or_nullILb0EEEPKNS_12ColumnVectorILS1_9EEEPKNS_7IColumnEl
Line
Count
Source
464
56
                                                                   ssize_t row_num) {
465
        if constexpr (is_nullable) {
466
            const auto& nullable_column =
467
                    assert_cast<const ColumnNullable&, TypeCheckOnRelease::DISABLE>(*col);
468
            if (nullable_column.is_null_at(row_num)) {
469
                return nullptr;
470
            }
471
            return assert_cast<const InputCol*, TypeCheckOnRelease::DISABLE>(
472
                    nullable_column.get_nested_column_ptr().get());
473
56
        } else {
474
56
            return assert_cast<const InputCol*, TypeCheckOnRelease::DISABLE>(col->get_ptr().get());
475
56
        }
476
56
    }
_ZN5doris25AggregateFunctionRegrBaseILNS_13PrimitiveTypeE9ELNS_16RegrFunctionKindE4ELb0ELb1ENS_21AggregateFunctionRegrILS1_9ELS2_4ELb0ELb1EEEE25get_nested_column_or_nullILb0EEEPKNS_12ColumnVectorILS1_9EEEPKNS_7IColumnEl
Line
Count
Source
464
31
                                                                   ssize_t row_num) {
465
        if constexpr (is_nullable) {
466
            const auto& nullable_column =
467
                    assert_cast<const ColumnNullable&, TypeCheckOnRelease::DISABLE>(*col);
468
            if (nullable_column.is_null_at(row_num)) {
469
                return nullptr;
470
            }
471
            return assert_cast<const InputCol*, TypeCheckOnRelease::DISABLE>(
472
                    nullable_column.get_nested_column_ptr().get());
473
31
        } else {
474
31
            return assert_cast<const InputCol*, TypeCheckOnRelease::DISABLE>(col->get_ptr().get());
475
31
        }
476
31
    }
_ZN5doris25AggregateFunctionRegrBaseILNS_13PrimitiveTypeE9ELNS_16RegrFunctionKindE4ELb0ELb1ENS_21AggregateFunctionRegrILS1_9ELS2_4ELb0ELb1EEEE25get_nested_column_or_nullILb1EEEPKNS_12ColumnVectorILS1_9EEEPKNS_7IColumnEl
Line
Count
Source
464
31
                                                                   ssize_t row_num) {
465
31
        if constexpr (is_nullable) {
466
31
            const auto& nullable_column =
467
31
                    assert_cast<const ColumnNullable&, TypeCheckOnRelease::DISABLE>(*col);
468
31
            if (nullable_column.is_null_at(row_num)) {
469
5
                return nullptr;
470
5
            }
471
26
            return assert_cast<const InputCol*, TypeCheckOnRelease::DISABLE>(
472
26
                    nullable_column.get_nested_column_ptr().get());
473
        } else {
474
            return assert_cast<const InputCol*, TypeCheckOnRelease::DISABLE>(col->get_ptr().get());
475
        }
476
31
    }
_ZN5doris25AggregateFunctionRegrBaseILNS_13PrimitiveTypeE9ELNS_16RegrFunctionKindE4ELb0ELb0ENS_21AggregateFunctionRegrILS1_9ELS2_4ELb0ELb0EEEE25get_nested_column_or_nullILb0EEEPKNS_12ColumnVectorILS1_9EEEPKNS_7IColumnEl
Line
Count
Source
464
76
                                                                   ssize_t row_num) {
465
        if constexpr (is_nullable) {
466
            const auto& nullable_column =
467
                    assert_cast<const ColumnNullable&, TypeCheckOnRelease::DISABLE>(*col);
468
            if (nullable_column.is_null_at(row_num)) {
469
                return nullptr;
470
            }
471
            return assert_cast<const InputCol*, TypeCheckOnRelease::DISABLE>(
472
                    nullable_column.get_nested_column_ptr().get());
473
76
        } else {
474
76
            return assert_cast<const InputCol*, TypeCheckOnRelease::DISABLE>(col->get_ptr().get());
475
76
        }
476
76
    }
_ZN5doris25AggregateFunctionRegrBaseILNS_13PrimitiveTypeE9ELNS_16RegrFunctionKindE5ELb1ELb1ENS_21AggregateFunctionRegrILS1_9ELS2_5ELb1ELb1EEEE25get_nested_column_or_nullILb1EEEPKNS_12ColumnVectorILS1_9EEEPKNS_7IColumnEl
Line
Count
Source
464
23
                                                                   ssize_t row_num) {
465
23
        if constexpr (is_nullable) {
466
23
            const auto& nullable_column =
467
23
                    assert_cast<const ColumnNullable&, TypeCheckOnRelease::DISABLE>(*col);
468
23
            if (nullable_column.is_null_at(row_num)) {
469
2
                return nullptr;
470
2
            }
471
21
            return assert_cast<const InputCol*, TypeCheckOnRelease::DISABLE>(
472
21
                    nullable_column.get_nested_column_ptr().get());
473
        } else {
474
            return assert_cast<const InputCol*, TypeCheckOnRelease::DISABLE>(col->get_ptr().get());
475
        }
476
23
    }
_ZN5doris25AggregateFunctionRegrBaseILNS_13PrimitiveTypeE9ELNS_16RegrFunctionKindE5ELb1ELb0ENS_21AggregateFunctionRegrILS1_9ELS2_5ELb1ELb0EEEE25get_nested_column_or_nullILb1EEEPKNS_12ColumnVectorILS1_9EEEPKNS_7IColumnEl
Line
Count
Source
464
7
                                                                   ssize_t row_num) {
465
7
        if constexpr (is_nullable) {
466
7
            const auto& nullable_column =
467
7
                    assert_cast<const ColumnNullable&, TypeCheckOnRelease::DISABLE>(*col);
468
7
            if (nullable_column.is_null_at(row_num)) {
469
1
                return nullptr;
470
1
            }
471
6
            return assert_cast<const InputCol*, TypeCheckOnRelease::DISABLE>(
472
6
                    nullable_column.get_nested_column_ptr().get());
473
        } else {
474
            return assert_cast<const InputCol*, TypeCheckOnRelease::DISABLE>(col->get_ptr().get());
475
        }
476
7
    }
_ZN5doris25AggregateFunctionRegrBaseILNS_13PrimitiveTypeE9ELNS_16RegrFunctionKindE5ELb1ELb0ENS_21AggregateFunctionRegrILS1_9ELS2_5ELb1ELb0EEEE25get_nested_column_or_nullILb0EEEPKNS_12ColumnVectorILS1_9EEEPKNS_7IColumnEl
Line
Count
Source
464
6
                                                                   ssize_t row_num) {
465
        if constexpr (is_nullable) {
466
            const auto& nullable_column =
467
                    assert_cast<const ColumnNullable&, TypeCheckOnRelease::DISABLE>(*col);
468
            if (nullable_column.is_null_at(row_num)) {
469
                return nullptr;
470
            }
471
            return assert_cast<const InputCol*, TypeCheckOnRelease::DISABLE>(
472
                    nullable_column.get_nested_column_ptr().get());
473
6
        } else {
474
6
            return assert_cast<const InputCol*, TypeCheckOnRelease::DISABLE>(col->get_ptr().get());
475
6
        }
476
6
    }
_ZN5doris25AggregateFunctionRegrBaseILNS_13PrimitiveTypeE9ELNS_16RegrFunctionKindE5ELb0ELb1ENS_21AggregateFunctionRegrILS1_9ELS2_5ELb0ELb1EEEE25get_nested_column_or_nullILb0EEEPKNS_12ColumnVectorILS1_9EEEPKNS_7IColumnEl
Line
Count
Source
464
7
                                                                   ssize_t row_num) {
465
        if constexpr (is_nullable) {
466
            const auto& nullable_column =
467
                    assert_cast<const ColumnNullable&, TypeCheckOnRelease::DISABLE>(*col);
468
            if (nullable_column.is_null_at(row_num)) {
469
                return nullptr;
470
            }
471
            return assert_cast<const InputCol*, TypeCheckOnRelease::DISABLE>(
472
                    nullable_column.get_nested_column_ptr().get());
473
7
        } else {
474
7
            return assert_cast<const InputCol*, TypeCheckOnRelease::DISABLE>(col->get_ptr().get());
475
7
        }
476
7
    }
_ZN5doris25AggregateFunctionRegrBaseILNS_13PrimitiveTypeE9ELNS_16RegrFunctionKindE5ELb0ELb1ENS_21AggregateFunctionRegrILS1_9ELS2_5ELb0ELb1EEEE25get_nested_column_or_nullILb1EEEPKNS_12ColumnVectorILS1_9EEEPKNS_7IColumnEl
Line
Count
Source
464
7
                                                                   ssize_t row_num) {
465
7
        if constexpr (is_nullable) {
466
7
            const auto& nullable_column =
467
7
                    assert_cast<const ColumnNullable&, TypeCheckOnRelease::DISABLE>(*col);
468
7
            if (nullable_column.is_null_at(row_num)) {
469
1
                return nullptr;
470
1
            }
471
6
            return assert_cast<const InputCol*, TypeCheckOnRelease::DISABLE>(
472
6
                    nullable_column.get_nested_column_ptr().get());
473
        } else {
474
            return assert_cast<const InputCol*, TypeCheckOnRelease::DISABLE>(col->get_ptr().get());
475
        }
476
7
    }
_ZN5doris25AggregateFunctionRegrBaseILNS_13PrimitiveTypeE9ELNS_16RegrFunctionKindE5ELb0ELb0ENS_21AggregateFunctionRegrILS1_9ELS2_5ELb0ELb0EEEE25get_nested_column_or_nullILb0EEEPKNS_12ColumnVectorILS1_9EEEPKNS_7IColumnEl
Line
Count
Source
464
14
                                                                   ssize_t row_num) {
465
        if constexpr (is_nullable) {
466
            const auto& nullable_column =
467
                    assert_cast<const ColumnNullable&, TypeCheckOnRelease::DISABLE>(*col);
468
            if (nullable_column.is_null_at(row_num)) {
469
                return nullptr;
470
            }
471
            return assert_cast<const InputCol*, TypeCheckOnRelease::DISABLE>(
472
                    nullable_column.get_nested_column_ptr().get());
473
14
        } else {
474
14
            return assert_cast<const InputCol*, TypeCheckOnRelease::DISABLE>(col->get_ptr().get());
475
14
        }
476
14
    }
_ZN5doris25AggregateFunctionRegrBaseILNS_13PrimitiveTypeE9ELNS_16RegrFunctionKindE6ELb1ELb1ENS_21AggregateFunctionRegrILS1_9ELS2_6ELb1ELb1EEEE25get_nested_column_or_nullILb1EEEPKNS_12ColumnVectorILS1_9EEEPKNS_7IColumnEl
Line
Count
Source
464
23
                                                                   ssize_t row_num) {
465
23
        if constexpr (is_nullable) {
466
23
            const auto& nullable_column =
467
23
                    assert_cast<const ColumnNullable&, TypeCheckOnRelease::DISABLE>(*col);
468
23
            if (nullable_column.is_null_at(row_num)) {
469
2
                return nullptr;
470
2
            }
471
21
            return assert_cast<const InputCol*, TypeCheckOnRelease::DISABLE>(
472
21
                    nullable_column.get_nested_column_ptr().get());
473
        } else {
474
            return assert_cast<const InputCol*, TypeCheckOnRelease::DISABLE>(col->get_ptr().get());
475
        }
476
23
    }
_ZN5doris25AggregateFunctionRegrBaseILNS_13PrimitiveTypeE9ELNS_16RegrFunctionKindE6ELb1ELb0ENS_21AggregateFunctionRegrILS1_9ELS2_6ELb1ELb0EEEE25get_nested_column_or_nullILb1EEEPKNS_12ColumnVectorILS1_9EEEPKNS_7IColumnEl
Line
Count
Source
464
7
                                                                   ssize_t row_num) {
465
7
        if constexpr (is_nullable) {
466
7
            const auto& nullable_column =
467
7
                    assert_cast<const ColumnNullable&, TypeCheckOnRelease::DISABLE>(*col);
468
7
            if (nullable_column.is_null_at(row_num)) {
469
1
                return nullptr;
470
1
            }
471
6
            return assert_cast<const InputCol*, TypeCheckOnRelease::DISABLE>(
472
6
                    nullable_column.get_nested_column_ptr().get());
473
        } else {
474
            return assert_cast<const InputCol*, TypeCheckOnRelease::DISABLE>(col->get_ptr().get());
475
        }
476
7
    }
_ZN5doris25AggregateFunctionRegrBaseILNS_13PrimitiveTypeE9ELNS_16RegrFunctionKindE6ELb1ELb0ENS_21AggregateFunctionRegrILS1_9ELS2_6ELb1ELb0EEEE25get_nested_column_or_nullILb0EEEPKNS_12ColumnVectorILS1_9EEEPKNS_7IColumnEl
Line
Count
Source
464
6
                                                                   ssize_t row_num) {
465
        if constexpr (is_nullable) {
466
            const auto& nullable_column =
467
                    assert_cast<const ColumnNullable&, TypeCheckOnRelease::DISABLE>(*col);
468
            if (nullable_column.is_null_at(row_num)) {
469
                return nullptr;
470
            }
471
            return assert_cast<const InputCol*, TypeCheckOnRelease::DISABLE>(
472
                    nullable_column.get_nested_column_ptr().get());
473
6
        } else {
474
6
            return assert_cast<const InputCol*, TypeCheckOnRelease::DISABLE>(col->get_ptr().get());
475
6
        }
476
6
    }
_ZN5doris25AggregateFunctionRegrBaseILNS_13PrimitiveTypeE9ELNS_16RegrFunctionKindE6ELb0ELb1ENS_21AggregateFunctionRegrILS1_9ELS2_6ELb0ELb1EEEE25get_nested_column_or_nullILb0EEEPKNS_12ColumnVectorILS1_9EEEPKNS_7IColumnEl
Line
Count
Source
464
7
                                                                   ssize_t row_num) {
465
        if constexpr (is_nullable) {
466
            const auto& nullable_column =
467
                    assert_cast<const ColumnNullable&, TypeCheckOnRelease::DISABLE>(*col);
468
            if (nullable_column.is_null_at(row_num)) {
469
                return nullptr;
470
            }
471
            return assert_cast<const InputCol*, TypeCheckOnRelease::DISABLE>(
472
                    nullable_column.get_nested_column_ptr().get());
473
7
        } else {
474
7
            return assert_cast<const InputCol*, TypeCheckOnRelease::DISABLE>(col->get_ptr().get());
475
7
        }
476
7
    }
_ZN5doris25AggregateFunctionRegrBaseILNS_13PrimitiveTypeE9ELNS_16RegrFunctionKindE6ELb0ELb1ENS_21AggregateFunctionRegrILS1_9ELS2_6ELb0ELb1EEEE25get_nested_column_or_nullILb1EEEPKNS_12ColumnVectorILS1_9EEEPKNS_7IColumnEl
Line
Count
Source
464
7
                                                                   ssize_t row_num) {
465
7
        if constexpr (is_nullable) {
466
7
            const auto& nullable_column =
467
7
                    assert_cast<const ColumnNullable&, TypeCheckOnRelease::DISABLE>(*col);
468
7
            if (nullable_column.is_null_at(row_num)) {
469
1
                return nullptr;
470
1
            }
471
6
            return assert_cast<const InputCol*, TypeCheckOnRelease::DISABLE>(
472
6
                    nullable_column.get_nested_column_ptr().get());
473
        } else {
474
            return assert_cast<const InputCol*, TypeCheckOnRelease::DISABLE>(col->get_ptr().get());
475
        }
476
7
    }
_ZN5doris25AggregateFunctionRegrBaseILNS_13PrimitiveTypeE9ELNS_16RegrFunctionKindE6ELb0ELb0ENS_21AggregateFunctionRegrILS1_9ELS2_6ELb0ELb0EEEE25get_nested_column_or_nullILb0EEEPKNS_12ColumnVectorILS1_9EEEPKNS_7IColumnEl
Line
Count
Source
464
14
                                                                   ssize_t row_num) {
465
        if constexpr (is_nullable) {
466
            const auto& nullable_column =
467
                    assert_cast<const ColumnNullable&, TypeCheckOnRelease::DISABLE>(*col);
468
            if (nullable_column.is_null_at(row_num)) {
469
                return nullptr;
470
            }
471
            return assert_cast<const InputCol*, TypeCheckOnRelease::DISABLE>(
472
                    nullable_column.get_nested_column_ptr().get());
473
14
        } else {
474
14
            return assert_cast<const InputCol*, TypeCheckOnRelease::DISABLE>(col->get_ptr().get());
475
14
        }
476
14
    }
_ZN5doris25AggregateFunctionRegrBaseILNS_13PrimitiveTypeE9ELNS_16RegrFunctionKindE7ELb1ELb1ENS_21AggregateFunctionRegrILS1_9ELS2_7ELb1ELb1EEEE25get_nested_column_or_nullILb1EEEPKNS_12ColumnVectorILS1_9EEEPKNS_7IColumnEl
Line
Count
Source
464
23
                                                                   ssize_t row_num) {
465
23
        if constexpr (is_nullable) {
466
23
            const auto& nullable_column =
467
23
                    assert_cast<const ColumnNullable&, TypeCheckOnRelease::DISABLE>(*col);
468
23
            if (nullable_column.is_null_at(row_num)) {
469
2
                return nullptr;
470
2
            }
471
21
            return assert_cast<const InputCol*, TypeCheckOnRelease::DISABLE>(
472
21
                    nullable_column.get_nested_column_ptr().get());
473
        } else {
474
            return assert_cast<const InputCol*, TypeCheckOnRelease::DISABLE>(col->get_ptr().get());
475
        }
476
23
    }
_ZN5doris25AggregateFunctionRegrBaseILNS_13PrimitiveTypeE9ELNS_16RegrFunctionKindE7ELb1ELb0ENS_21AggregateFunctionRegrILS1_9ELS2_7ELb1ELb0EEEE25get_nested_column_or_nullILb1EEEPKNS_12ColumnVectorILS1_9EEEPKNS_7IColumnEl
Line
Count
Source
464
7
                                                                   ssize_t row_num) {
465
7
        if constexpr (is_nullable) {
466
7
            const auto& nullable_column =
467
7
                    assert_cast<const ColumnNullable&, TypeCheckOnRelease::DISABLE>(*col);
468
7
            if (nullable_column.is_null_at(row_num)) {
469
1
                return nullptr;
470
1
            }
471
6
            return assert_cast<const InputCol*, TypeCheckOnRelease::DISABLE>(
472
6
                    nullable_column.get_nested_column_ptr().get());
473
        } else {
474
            return assert_cast<const InputCol*, TypeCheckOnRelease::DISABLE>(col->get_ptr().get());
475
        }
476
7
    }
_ZN5doris25AggregateFunctionRegrBaseILNS_13PrimitiveTypeE9ELNS_16RegrFunctionKindE7ELb1ELb0ENS_21AggregateFunctionRegrILS1_9ELS2_7ELb1ELb0EEEE25get_nested_column_or_nullILb0EEEPKNS_12ColumnVectorILS1_9EEEPKNS_7IColumnEl
Line
Count
Source
464
6
                                                                   ssize_t row_num) {
465
        if constexpr (is_nullable) {
466
            const auto& nullable_column =
467
                    assert_cast<const ColumnNullable&, TypeCheckOnRelease::DISABLE>(*col);
468
            if (nullable_column.is_null_at(row_num)) {
469
                return nullptr;
470
            }
471
            return assert_cast<const InputCol*, TypeCheckOnRelease::DISABLE>(
472
                    nullable_column.get_nested_column_ptr().get());
473
6
        } else {
474
6
            return assert_cast<const InputCol*, TypeCheckOnRelease::DISABLE>(col->get_ptr().get());
475
6
        }
476
6
    }
_ZN5doris25AggregateFunctionRegrBaseILNS_13PrimitiveTypeE9ELNS_16RegrFunctionKindE7ELb0ELb1ENS_21AggregateFunctionRegrILS1_9ELS2_7ELb0ELb1EEEE25get_nested_column_or_nullILb0EEEPKNS_12ColumnVectorILS1_9EEEPKNS_7IColumnEl
Line
Count
Source
464
7
                                                                   ssize_t row_num) {
465
        if constexpr (is_nullable) {
466
            const auto& nullable_column =
467
                    assert_cast<const ColumnNullable&, TypeCheckOnRelease::DISABLE>(*col);
468
            if (nullable_column.is_null_at(row_num)) {
469
                return nullptr;
470
            }
471
            return assert_cast<const InputCol*, TypeCheckOnRelease::DISABLE>(
472
                    nullable_column.get_nested_column_ptr().get());
473
7
        } else {
474
7
            return assert_cast<const InputCol*, TypeCheckOnRelease::DISABLE>(col->get_ptr().get());
475
7
        }
476
7
    }
_ZN5doris25AggregateFunctionRegrBaseILNS_13PrimitiveTypeE9ELNS_16RegrFunctionKindE7ELb0ELb1ENS_21AggregateFunctionRegrILS1_9ELS2_7ELb0ELb1EEEE25get_nested_column_or_nullILb1EEEPKNS_12ColumnVectorILS1_9EEEPKNS_7IColumnEl
Line
Count
Source
464
7
                                                                   ssize_t row_num) {
465
7
        if constexpr (is_nullable) {
466
7
            const auto& nullable_column =
467
7
                    assert_cast<const ColumnNullable&, TypeCheckOnRelease::DISABLE>(*col);
468
7
            if (nullable_column.is_null_at(row_num)) {
469
1
                return nullptr;
470
1
            }
471
6
            return assert_cast<const InputCol*, TypeCheckOnRelease::DISABLE>(
472
6
                    nullable_column.get_nested_column_ptr().get());
473
        } else {
474
            return assert_cast<const InputCol*, TypeCheckOnRelease::DISABLE>(col->get_ptr().get());
475
        }
476
7
    }
_ZN5doris25AggregateFunctionRegrBaseILNS_13PrimitiveTypeE9ELNS_16RegrFunctionKindE7ELb0ELb0ENS_21AggregateFunctionRegrILS1_9ELS2_7ELb0ELb0EEEE25get_nested_column_or_nullILb0EEEPKNS_12ColumnVectorILS1_9EEEPKNS_7IColumnEl
Line
Count
Source
464
14
                                                                   ssize_t row_num) {
465
        if constexpr (is_nullable) {
466
            const auto& nullable_column =
467
                    assert_cast<const ColumnNullable&, TypeCheckOnRelease::DISABLE>(*col);
468
            if (nullable_column.is_null_at(row_num)) {
469
                return nullptr;
470
            }
471
            return assert_cast<const InputCol*, TypeCheckOnRelease::DISABLE>(
472
                    nullable_column.get_nested_column_ptr().get());
473
14
        } else {
474
14
            return assert_cast<const InputCol*, TypeCheckOnRelease::DISABLE>(col->get_ptr().get());
475
14
        }
476
14
    }
_ZN5doris25AggregateFunctionRegrBaseILNS_13PrimitiveTypeE9ELNS_16RegrFunctionKindE8ELb1ELb1ENS_21AggregateFunctionRegrILS1_9ELS2_8ELb1ELb1EEEE25get_nested_column_or_nullILb1EEEPKNS_12ColumnVectorILS1_9EEEPKNS_7IColumnEl
Line
Count
Source
464
74
                                                                   ssize_t row_num) {
465
74
        if constexpr (is_nullable) {
466
74
            const auto& nullable_column =
467
74
                    assert_cast<const ColumnNullable&, TypeCheckOnRelease::DISABLE>(*col);
468
74
            if (nullable_column.is_null_at(row_num)) {
469
12
                return nullptr;
470
12
            }
471
62
            return assert_cast<const InputCol*, TypeCheckOnRelease::DISABLE>(
472
62
                    nullable_column.get_nested_column_ptr().get());
473
        } else {
474
            return assert_cast<const InputCol*, TypeCheckOnRelease::DISABLE>(col->get_ptr().get());
475
        }
476
74
    }
_ZN5doris25AggregateFunctionRegrBaseILNS_13PrimitiveTypeE9ELNS_16RegrFunctionKindE8ELb1ELb0ENS_21AggregateFunctionRegrILS1_9ELS2_8ELb1ELb0EEEE25get_nested_column_or_nullILb1EEEPKNS_12ColumnVectorILS1_9EEEPKNS_7IColumnEl
Line
Count
Source
464
7
                                                                   ssize_t row_num) {
465
7
        if constexpr (is_nullable) {
466
7
            const auto& nullable_column =
467
7
                    assert_cast<const ColumnNullable&, TypeCheckOnRelease::DISABLE>(*col);
468
7
            if (nullable_column.is_null_at(row_num)) {
469
1
                return nullptr;
470
1
            }
471
6
            return assert_cast<const InputCol*, TypeCheckOnRelease::DISABLE>(
472
6
                    nullable_column.get_nested_column_ptr().get());
473
        } else {
474
            return assert_cast<const InputCol*, TypeCheckOnRelease::DISABLE>(col->get_ptr().get());
475
        }
476
7
    }
_ZN5doris25AggregateFunctionRegrBaseILNS_13PrimitiveTypeE9ELNS_16RegrFunctionKindE8ELb1ELb0ENS_21AggregateFunctionRegrILS1_9ELS2_8ELb1ELb0EEEE25get_nested_column_or_nullILb0EEEPKNS_12ColumnVectorILS1_9EEEPKNS_7IColumnEl
Line
Count
Source
464
6
                                                                   ssize_t row_num) {
465
        if constexpr (is_nullable) {
466
            const auto& nullable_column =
467
                    assert_cast<const ColumnNullable&, TypeCheckOnRelease::DISABLE>(*col);
468
            if (nullable_column.is_null_at(row_num)) {
469
                return nullptr;
470
            }
471
            return assert_cast<const InputCol*, TypeCheckOnRelease::DISABLE>(
472
                    nullable_column.get_nested_column_ptr().get());
473
6
        } else {
474
6
            return assert_cast<const InputCol*, TypeCheckOnRelease::DISABLE>(col->get_ptr().get());
475
6
        }
476
6
    }
_ZN5doris25AggregateFunctionRegrBaseILNS_13PrimitiveTypeE9ELNS_16RegrFunctionKindE8ELb0ELb1ENS_21AggregateFunctionRegrILS1_9ELS2_8ELb0ELb1EEEE25get_nested_column_or_nullILb0EEEPKNS_12ColumnVectorILS1_9EEEPKNS_7IColumnEl
Line
Count
Source
464
7
                                                                   ssize_t row_num) {
465
        if constexpr (is_nullable) {
466
            const auto& nullable_column =
467
                    assert_cast<const ColumnNullable&, TypeCheckOnRelease::DISABLE>(*col);
468
            if (nullable_column.is_null_at(row_num)) {
469
                return nullptr;
470
            }
471
            return assert_cast<const InputCol*, TypeCheckOnRelease::DISABLE>(
472
                    nullable_column.get_nested_column_ptr().get());
473
7
        } else {
474
7
            return assert_cast<const InputCol*, TypeCheckOnRelease::DISABLE>(col->get_ptr().get());
475
7
        }
476
7
    }
_ZN5doris25AggregateFunctionRegrBaseILNS_13PrimitiveTypeE9ELNS_16RegrFunctionKindE8ELb0ELb1ENS_21AggregateFunctionRegrILS1_9ELS2_8ELb0ELb1EEEE25get_nested_column_or_nullILb1EEEPKNS_12ColumnVectorILS1_9EEEPKNS_7IColumnEl
Line
Count
Source
464
7
                                                                   ssize_t row_num) {
465
7
        if constexpr (is_nullable) {
466
7
            const auto& nullable_column =
467
7
                    assert_cast<const ColumnNullable&, TypeCheckOnRelease::DISABLE>(*col);
468
7
            if (nullable_column.is_null_at(row_num)) {
469
1
                return nullptr;
470
1
            }
471
6
            return assert_cast<const InputCol*, TypeCheckOnRelease::DISABLE>(
472
6
                    nullable_column.get_nested_column_ptr().get());
473
        } else {
474
            return assert_cast<const InputCol*, TypeCheckOnRelease::DISABLE>(col->get_ptr().get());
475
        }
476
7
    }
_ZN5doris25AggregateFunctionRegrBaseILNS_13PrimitiveTypeE9ELNS_16RegrFunctionKindE8ELb0ELb0ENS_21AggregateFunctionRegrILS1_9ELS2_8ELb0ELb0EEEE25get_nested_column_or_nullILb0EEEPKNS_12ColumnVectorILS1_9EEEPKNS_7IColumnEl
Line
Count
Source
464
18
                                                                   ssize_t row_num) {
465
        if constexpr (is_nullable) {
466
            const auto& nullable_column =
467
                    assert_cast<const ColumnNullable&, TypeCheckOnRelease::DISABLE>(*col);
468
            if (nullable_column.is_null_at(row_num)) {
469
                return nullptr;
470
            }
471
            return assert_cast<const InputCol*, TypeCheckOnRelease::DISABLE>(
472
                    nullable_column.get_nested_column_ptr().get());
473
18
        } else {
474
18
            return assert_cast<const InputCol*, TypeCheckOnRelease::DISABLE>(col->get_ptr().get());
475
18
        }
476
18
    }
477
};
478
479
template <PrimitiveType T, RegrFunctionKind kind, bool y_is_nullable, bool x_is_nullable>
480
class AggregateFunctionRegr final
481
        : public AggregateFunctionRegrBase<
482
                  T, kind, y_is_nullable, x_is_nullable,
483
                  AggregateFunctionRegr<T, kind, y_is_nullable, x_is_nullable>> {
484
public:
485
    static_assert(kind != RegrFunctionKind::regr_count,
486
                  "regr_count uses the AggregateFunctionRegr specialization");
487
488
    using ResultDataType = ColumnFloat64;
489
    using Base =
490
            AggregateFunctionRegrBase<T, kind, y_is_nullable, x_is_nullable, AggregateFunctionRegr>;
491
492
286
    explicit AggregateFunctionRegr(const DataTypes& argument_types_) : Base(argument_types_) {}
_ZN5doris21AggregateFunctionRegrILNS_13PrimitiveTypeE9ELNS_16RegrFunctionKindE0ELb1ELb1EEC2ERKSt6vectorISt10shared_ptrIKNS_9IDataTypeEESaIS8_EE
Line
Count
Source
492
11
    explicit AggregateFunctionRegr(const DataTypes& argument_types_) : Base(argument_types_) {}
_ZN5doris21AggregateFunctionRegrILNS_13PrimitiveTypeE9ELNS_16RegrFunctionKindE0ELb1ELb0EEC2ERKSt6vectorISt10shared_ptrIKNS_9IDataTypeEESaIS8_EE
Line
Count
Source
492
5
    explicit AggregateFunctionRegr(const DataTypes& argument_types_) : Base(argument_types_) {}
_ZN5doris21AggregateFunctionRegrILNS_13PrimitiveTypeE9ELNS_16RegrFunctionKindE0ELb0ELb1EEC2ERKSt6vectorISt10shared_ptrIKNS_9IDataTypeEESaIS8_EE
Line
Count
Source
492
5
    explicit AggregateFunctionRegr(const DataTypes& argument_types_) : Base(argument_types_) {}
_ZN5doris21AggregateFunctionRegrILNS_13PrimitiveTypeE9ELNS_16RegrFunctionKindE0ELb0ELb0EEC2ERKSt6vectorISt10shared_ptrIKNS_9IDataTypeEESaIS8_EE
Line
Count
Source
492
7
    explicit AggregateFunctionRegr(const DataTypes& argument_types_) : Base(argument_types_) {}
_ZN5doris21AggregateFunctionRegrILNS_13PrimitiveTypeE9ELNS_16RegrFunctionKindE1ELb1ELb1EEC2ERKSt6vectorISt10shared_ptrIKNS_9IDataTypeEESaIS8_EE
Line
Count
Source
492
11
    explicit AggregateFunctionRegr(const DataTypes& argument_types_) : Base(argument_types_) {}
_ZN5doris21AggregateFunctionRegrILNS_13PrimitiveTypeE9ELNS_16RegrFunctionKindE1ELb1ELb0EEC2ERKSt6vectorISt10shared_ptrIKNS_9IDataTypeEESaIS8_EE
Line
Count
Source
492
5
    explicit AggregateFunctionRegr(const DataTypes& argument_types_) : Base(argument_types_) {}
_ZN5doris21AggregateFunctionRegrILNS_13PrimitiveTypeE9ELNS_16RegrFunctionKindE1ELb0ELb1EEC2ERKSt6vectorISt10shared_ptrIKNS_9IDataTypeEESaIS8_EE
Line
Count
Source
492
5
    explicit AggregateFunctionRegr(const DataTypes& argument_types_) : Base(argument_types_) {}
_ZN5doris21AggregateFunctionRegrILNS_13PrimitiveTypeE9ELNS_16RegrFunctionKindE1ELb0ELb0EEC2ERKSt6vectorISt10shared_ptrIKNS_9IDataTypeEESaIS8_EE
Line
Count
Source
492
7
    explicit AggregateFunctionRegr(const DataTypes& argument_types_) : Base(argument_types_) {}
_ZN5doris21AggregateFunctionRegrILNS_13PrimitiveTypeE9ELNS_16RegrFunctionKindE3ELb1ELb1EEC2ERKSt6vectorISt10shared_ptrIKNS_9IDataTypeEESaIS8_EE
Line
Count
Source
492
26
    explicit AggregateFunctionRegr(const DataTypes& argument_types_) : Base(argument_types_) {}
_ZN5doris21AggregateFunctionRegrILNS_13PrimitiveTypeE9ELNS_16RegrFunctionKindE3ELb1ELb0EEC2ERKSt6vectorISt10shared_ptrIKNS_9IDataTypeEESaIS8_EE
Line
Count
Source
492
19
    explicit AggregateFunctionRegr(const DataTypes& argument_types_) : Base(argument_types_) {}
_ZN5doris21AggregateFunctionRegrILNS_13PrimitiveTypeE9ELNS_16RegrFunctionKindE3ELb0ELb1EEC2ERKSt6vectorISt10shared_ptrIKNS_9IDataTypeEESaIS8_EE
Line
Count
Source
492
9
    explicit AggregateFunctionRegr(const DataTypes& argument_types_) : Base(argument_types_) {}
_ZN5doris21AggregateFunctionRegrILNS_13PrimitiveTypeE9ELNS_16RegrFunctionKindE3ELb0ELb0EEC2ERKSt6vectorISt10shared_ptrIKNS_9IDataTypeEESaIS8_EE
Line
Count
Source
492
14
    explicit AggregateFunctionRegr(const DataTypes& argument_types_) : Base(argument_types_) {}
_ZN5doris21AggregateFunctionRegrILNS_13PrimitiveTypeE9ELNS_16RegrFunctionKindE4ELb1ELb1EEC2ERKSt6vectorISt10shared_ptrIKNS_9IDataTypeEESaIS8_EE
Line
Count
Source
492
26
    explicit AggregateFunctionRegr(const DataTypes& argument_types_) : Base(argument_types_) {}
_ZN5doris21AggregateFunctionRegrILNS_13PrimitiveTypeE9ELNS_16RegrFunctionKindE4ELb1ELb0EEC2ERKSt6vectorISt10shared_ptrIKNS_9IDataTypeEESaIS8_EE
Line
Count
Source
492
19
    explicit AggregateFunctionRegr(const DataTypes& argument_types_) : Base(argument_types_) {}
_ZN5doris21AggregateFunctionRegrILNS_13PrimitiveTypeE9ELNS_16RegrFunctionKindE4ELb0ELb1EEC2ERKSt6vectorISt10shared_ptrIKNS_9IDataTypeEESaIS8_EE
Line
Count
Source
492
9
    explicit AggregateFunctionRegr(const DataTypes& argument_types_) : Base(argument_types_) {}
_ZN5doris21AggregateFunctionRegrILNS_13PrimitiveTypeE9ELNS_16RegrFunctionKindE4ELb0ELb0EEC2ERKSt6vectorISt10shared_ptrIKNS_9IDataTypeEESaIS8_EE
Line
Count
Source
492
14
    explicit AggregateFunctionRegr(const DataTypes& argument_types_) : Base(argument_types_) {}
_ZN5doris21AggregateFunctionRegrILNS_13PrimitiveTypeE9ELNS_16RegrFunctionKindE5ELb1ELb1EEC2ERKSt6vectorISt10shared_ptrIKNS_9IDataTypeEESaIS8_EE
Line
Count
Source
492
6
    explicit AggregateFunctionRegr(const DataTypes& argument_types_) : Base(argument_types_) {}
_ZN5doris21AggregateFunctionRegrILNS_13PrimitiveTypeE9ELNS_16RegrFunctionKindE5ELb1ELb0EEC2ERKSt6vectorISt10shared_ptrIKNS_9IDataTypeEESaIS8_EE
Line
Count
Source
492
5
    explicit AggregateFunctionRegr(const DataTypes& argument_types_) : Base(argument_types_) {}
_ZN5doris21AggregateFunctionRegrILNS_13PrimitiveTypeE9ELNS_16RegrFunctionKindE5ELb0ELb1EEC2ERKSt6vectorISt10shared_ptrIKNS_9IDataTypeEESaIS8_EE
Line
Count
Source
492
5
    explicit AggregateFunctionRegr(const DataTypes& argument_types_) : Base(argument_types_) {}
_ZN5doris21AggregateFunctionRegrILNS_13PrimitiveTypeE9ELNS_16RegrFunctionKindE5ELb0ELb0EEC2ERKSt6vectorISt10shared_ptrIKNS_9IDataTypeEESaIS8_EE
Line
Count
Source
492
6
    explicit AggregateFunctionRegr(const DataTypes& argument_types_) : Base(argument_types_) {}
_ZN5doris21AggregateFunctionRegrILNS_13PrimitiveTypeE9ELNS_16RegrFunctionKindE6ELb1ELb1EEC2ERKSt6vectorISt10shared_ptrIKNS_9IDataTypeEESaIS8_EE
Line
Count
Source
492
6
    explicit AggregateFunctionRegr(const DataTypes& argument_types_) : Base(argument_types_) {}
_ZN5doris21AggregateFunctionRegrILNS_13PrimitiveTypeE9ELNS_16RegrFunctionKindE6ELb1ELb0EEC2ERKSt6vectorISt10shared_ptrIKNS_9IDataTypeEESaIS8_EE
Line
Count
Source
492
5
    explicit AggregateFunctionRegr(const DataTypes& argument_types_) : Base(argument_types_) {}
_ZN5doris21AggregateFunctionRegrILNS_13PrimitiveTypeE9ELNS_16RegrFunctionKindE6ELb0ELb1EEC2ERKSt6vectorISt10shared_ptrIKNS_9IDataTypeEESaIS8_EE
Line
Count
Source
492
5
    explicit AggregateFunctionRegr(const DataTypes& argument_types_) : Base(argument_types_) {}
_ZN5doris21AggregateFunctionRegrILNS_13PrimitiveTypeE9ELNS_16RegrFunctionKindE6ELb0ELb0EEC2ERKSt6vectorISt10shared_ptrIKNS_9IDataTypeEESaIS8_EE
Line
Count
Source
492
6
    explicit AggregateFunctionRegr(const DataTypes& argument_types_) : Base(argument_types_) {}
_ZN5doris21AggregateFunctionRegrILNS_13PrimitiveTypeE9ELNS_16RegrFunctionKindE7ELb1ELb1EEC2ERKSt6vectorISt10shared_ptrIKNS_9IDataTypeEESaIS8_EE
Line
Count
Source
492
6
    explicit AggregateFunctionRegr(const DataTypes& argument_types_) : Base(argument_types_) {}
_ZN5doris21AggregateFunctionRegrILNS_13PrimitiveTypeE9ELNS_16RegrFunctionKindE7ELb1ELb0EEC2ERKSt6vectorISt10shared_ptrIKNS_9IDataTypeEESaIS8_EE
Line
Count
Source
492
5
    explicit AggregateFunctionRegr(const DataTypes& argument_types_) : Base(argument_types_) {}
_ZN5doris21AggregateFunctionRegrILNS_13PrimitiveTypeE9ELNS_16RegrFunctionKindE7ELb0ELb1EEC2ERKSt6vectorISt10shared_ptrIKNS_9IDataTypeEESaIS8_EE
Line
Count
Source
492
5
    explicit AggregateFunctionRegr(const DataTypes& argument_types_) : Base(argument_types_) {}
_ZN5doris21AggregateFunctionRegrILNS_13PrimitiveTypeE9ELNS_16RegrFunctionKindE7ELb0ELb0EEC2ERKSt6vectorISt10shared_ptrIKNS_9IDataTypeEESaIS8_EE
Line
Count
Source
492
6
    explicit AggregateFunctionRegr(const DataTypes& argument_types_) : Base(argument_types_) {}
_ZN5doris21AggregateFunctionRegrILNS_13PrimitiveTypeE9ELNS_16RegrFunctionKindE8ELb1ELb1EEC2ERKSt6vectorISt10shared_ptrIKNS_9IDataTypeEESaIS8_EE
Line
Count
Source
492
11
    explicit AggregateFunctionRegr(const DataTypes& argument_types_) : Base(argument_types_) {}
_ZN5doris21AggregateFunctionRegrILNS_13PrimitiveTypeE9ELNS_16RegrFunctionKindE8ELb1ELb0EEC2ERKSt6vectorISt10shared_ptrIKNS_9IDataTypeEESaIS8_EE
Line
Count
Source
492
5
    explicit AggregateFunctionRegr(const DataTypes& argument_types_) : Base(argument_types_) {}
_ZN5doris21AggregateFunctionRegrILNS_13PrimitiveTypeE9ELNS_16RegrFunctionKindE8ELb0ELb1EEC2ERKSt6vectorISt10shared_ptrIKNS_9IDataTypeEESaIS8_EE
Line
Count
Source
492
5
    explicit AggregateFunctionRegr(const DataTypes& argument_types_) : Base(argument_types_) {}
_ZN5doris21AggregateFunctionRegrILNS_13PrimitiveTypeE9ELNS_16RegrFunctionKindE8ELb0ELb0EEC2ERKSt6vectorISt10shared_ptrIKNS_9IDataTypeEESaIS8_EE
Line
Count
Source
492
7
    explicit AggregateFunctionRegr(const DataTypes& argument_types_) : Base(argument_types_) {}
493
494
623
    DataTypePtr get_return_type() const override {
495
623
        return make_nullable(std::make_shared<DataTypeFloat64>());
496
623
    }
_ZNK5doris21AggregateFunctionRegrILNS_13PrimitiveTypeE9ELNS_16RegrFunctionKindE0ELb1ELb1EE15get_return_typeEv
Line
Count
Source
494
23
    DataTypePtr get_return_type() const override {
495
23
        return make_nullable(std::make_shared<DataTypeFloat64>());
496
23
    }
_ZNK5doris21AggregateFunctionRegrILNS_13PrimitiveTypeE9ELNS_16RegrFunctionKindE0ELb1ELb0EE15get_return_typeEv
Line
Count
Source
494
11
    DataTypePtr get_return_type() const override {
495
11
        return make_nullable(std::make_shared<DataTypeFloat64>());
496
11
    }
_ZNK5doris21AggregateFunctionRegrILNS_13PrimitiveTypeE9ELNS_16RegrFunctionKindE0ELb0ELb1EE15get_return_typeEv
Line
Count
Source
494
11
    DataTypePtr get_return_type() const override {
495
11
        return make_nullable(std::make_shared<DataTypeFloat64>());
496
11
    }
_ZNK5doris21AggregateFunctionRegrILNS_13PrimitiveTypeE9ELNS_16RegrFunctionKindE0ELb0ELb0EE15get_return_typeEv
Line
Count
Source
494
17
    DataTypePtr get_return_type() const override {
495
17
        return make_nullable(std::make_shared<DataTypeFloat64>());
496
17
    }
_ZNK5doris21AggregateFunctionRegrILNS_13PrimitiveTypeE9ELNS_16RegrFunctionKindE1ELb1ELb1EE15get_return_typeEv
Line
Count
Source
494
23
    DataTypePtr get_return_type() const override {
495
23
        return make_nullable(std::make_shared<DataTypeFloat64>());
496
23
    }
_ZNK5doris21AggregateFunctionRegrILNS_13PrimitiveTypeE9ELNS_16RegrFunctionKindE1ELb1ELb0EE15get_return_typeEv
Line
Count
Source
494
11
    DataTypePtr get_return_type() const override {
495
11
        return make_nullable(std::make_shared<DataTypeFloat64>());
496
11
    }
_ZNK5doris21AggregateFunctionRegrILNS_13PrimitiveTypeE9ELNS_16RegrFunctionKindE1ELb0ELb1EE15get_return_typeEv
Line
Count
Source
494
11
    DataTypePtr get_return_type() const override {
495
11
        return make_nullable(std::make_shared<DataTypeFloat64>());
496
11
    }
_ZNK5doris21AggregateFunctionRegrILNS_13PrimitiveTypeE9ELNS_16RegrFunctionKindE1ELb0ELb0EE15get_return_typeEv
Line
Count
Source
494
17
    DataTypePtr get_return_type() const override {
495
17
        return make_nullable(std::make_shared<DataTypeFloat64>());
496
17
    }
_ZNK5doris21AggregateFunctionRegrILNS_13PrimitiveTypeE9ELNS_16RegrFunctionKindE3ELb1ELb1EE15get_return_typeEv
Line
Count
Source
494
53
    DataTypePtr get_return_type() const override {
495
53
        return make_nullable(std::make_shared<DataTypeFloat64>());
496
53
    }
_ZNK5doris21AggregateFunctionRegrILNS_13PrimitiveTypeE9ELNS_16RegrFunctionKindE3ELb1ELb0EE15get_return_typeEv
Line
Count
Source
494
39
    DataTypePtr get_return_type() const override {
495
39
        return make_nullable(std::make_shared<DataTypeFloat64>());
496
39
    }
_ZNK5doris21AggregateFunctionRegrILNS_13PrimitiveTypeE9ELNS_16RegrFunctionKindE3ELb0ELb1EE15get_return_typeEv
Line
Count
Source
494
19
    DataTypePtr get_return_type() const override {
495
19
        return make_nullable(std::make_shared<DataTypeFloat64>());
496
19
    }
_ZNK5doris21AggregateFunctionRegrILNS_13PrimitiveTypeE9ELNS_16RegrFunctionKindE3ELb0ELb0EE15get_return_typeEv
Line
Count
Source
494
31
    DataTypePtr get_return_type() const override {
495
31
        return make_nullable(std::make_shared<DataTypeFloat64>());
496
31
    }
_ZNK5doris21AggregateFunctionRegrILNS_13PrimitiveTypeE9ELNS_16RegrFunctionKindE4ELb1ELb1EE15get_return_typeEv
Line
Count
Source
494
53
    DataTypePtr get_return_type() const override {
495
53
        return make_nullable(std::make_shared<DataTypeFloat64>());
496
53
    }
_ZNK5doris21AggregateFunctionRegrILNS_13PrimitiveTypeE9ELNS_16RegrFunctionKindE4ELb1ELb0EE15get_return_typeEv
Line
Count
Source
494
39
    DataTypePtr get_return_type() const override {
495
39
        return make_nullable(std::make_shared<DataTypeFloat64>());
496
39
    }
_ZNK5doris21AggregateFunctionRegrILNS_13PrimitiveTypeE9ELNS_16RegrFunctionKindE4ELb0ELb1EE15get_return_typeEv
Line
Count
Source
494
19
    DataTypePtr get_return_type() const override {
495
19
        return make_nullable(std::make_shared<DataTypeFloat64>());
496
19
    }
_ZNK5doris21AggregateFunctionRegrILNS_13PrimitiveTypeE9ELNS_16RegrFunctionKindE4ELb0ELb0EE15get_return_typeEv
Line
Count
Source
494
31
    DataTypePtr get_return_type() const override {
495
31
        return make_nullable(std::make_shared<DataTypeFloat64>());
496
31
    }
_ZNK5doris21AggregateFunctionRegrILNS_13PrimitiveTypeE9ELNS_16RegrFunctionKindE5ELb1ELb1EE15get_return_typeEv
Line
Count
Source
494
13
    DataTypePtr get_return_type() const override {
495
13
        return make_nullable(std::make_shared<DataTypeFloat64>());
496
13
    }
_ZNK5doris21AggregateFunctionRegrILNS_13PrimitiveTypeE9ELNS_16RegrFunctionKindE5ELb1ELb0EE15get_return_typeEv
Line
Count
Source
494
11
    DataTypePtr get_return_type() const override {
495
11
        return make_nullable(std::make_shared<DataTypeFloat64>());
496
11
    }
_ZNK5doris21AggregateFunctionRegrILNS_13PrimitiveTypeE9ELNS_16RegrFunctionKindE5ELb0ELb1EE15get_return_typeEv
Line
Count
Source
494
11
    DataTypePtr get_return_type() const override {
495
11
        return make_nullable(std::make_shared<DataTypeFloat64>());
496
11
    }
_ZNK5doris21AggregateFunctionRegrILNS_13PrimitiveTypeE9ELNS_16RegrFunctionKindE5ELb0ELb0EE15get_return_typeEv
Line
Count
Source
494
16
    DataTypePtr get_return_type() const override {
495
16
        return make_nullable(std::make_shared<DataTypeFloat64>());
496
16
    }
_ZNK5doris21AggregateFunctionRegrILNS_13PrimitiveTypeE9ELNS_16RegrFunctionKindE6ELb1ELb1EE15get_return_typeEv
Line
Count
Source
494
13
    DataTypePtr get_return_type() const override {
495
13
        return make_nullable(std::make_shared<DataTypeFloat64>());
496
13
    }
_ZNK5doris21AggregateFunctionRegrILNS_13PrimitiveTypeE9ELNS_16RegrFunctionKindE6ELb1ELb0EE15get_return_typeEv
Line
Count
Source
494
11
    DataTypePtr get_return_type() const override {
495
11
        return make_nullable(std::make_shared<DataTypeFloat64>());
496
11
    }
_ZNK5doris21AggregateFunctionRegrILNS_13PrimitiveTypeE9ELNS_16RegrFunctionKindE6ELb0ELb1EE15get_return_typeEv
Line
Count
Source
494
11
    DataTypePtr get_return_type() const override {
495
11
        return make_nullable(std::make_shared<DataTypeFloat64>());
496
11
    }
_ZNK5doris21AggregateFunctionRegrILNS_13PrimitiveTypeE9ELNS_16RegrFunctionKindE6ELb0ELb0EE15get_return_typeEv
Line
Count
Source
494
16
    DataTypePtr get_return_type() const override {
495
16
        return make_nullable(std::make_shared<DataTypeFloat64>());
496
16
    }
_ZNK5doris21AggregateFunctionRegrILNS_13PrimitiveTypeE9ELNS_16RegrFunctionKindE7ELb1ELb1EE15get_return_typeEv
Line
Count
Source
494
13
    DataTypePtr get_return_type() const override {
495
13
        return make_nullable(std::make_shared<DataTypeFloat64>());
496
13
    }
_ZNK5doris21AggregateFunctionRegrILNS_13PrimitiveTypeE9ELNS_16RegrFunctionKindE7ELb1ELb0EE15get_return_typeEv
Line
Count
Source
494
11
    DataTypePtr get_return_type() const override {
495
11
        return make_nullable(std::make_shared<DataTypeFloat64>());
496
11
    }
_ZNK5doris21AggregateFunctionRegrILNS_13PrimitiveTypeE9ELNS_16RegrFunctionKindE7ELb0ELb1EE15get_return_typeEv
Line
Count
Source
494
11
    DataTypePtr get_return_type() const override {
495
11
        return make_nullable(std::make_shared<DataTypeFloat64>());
496
11
    }
_ZNK5doris21AggregateFunctionRegrILNS_13PrimitiveTypeE9ELNS_16RegrFunctionKindE7ELb0ELb0EE15get_return_typeEv
Line
Count
Source
494
16
    DataTypePtr get_return_type() const override {
495
16
        return make_nullable(std::make_shared<DataTypeFloat64>());
496
16
    }
_ZNK5doris21AggregateFunctionRegrILNS_13PrimitiveTypeE9ELNS_16RegrFunctionKindE8ELb1ELb1EE15get_return_typeEv
Line
Count
Source
494
23
    DataTypePtr get_return_type() const override {
495
23
        return make_nullable(std::make_shared<DataTypeFloat64>());
496
23
    }
_ZNK5doris21AggregateFunctionRegrILNS_13PrimitiveTypeE9ELNS_16RegrFunctionKindE8ELb1ELb0EE15get_return_typeEv
Line
Count
Source
494
11
    DataTypePtr get_return_type() const override {
495
11
        return make_nullable(std::make_shared<DataTypeFloat64>());
496
11
    }
_ZNK5doris21AggregateFunctionRegrILNS_13PrimitiveTypeE9ELNS_16RegrFunctionKindE8ELb0ELb1EE15get_return_typeEv
Line
Count
Source
494
11
    DataTypePtr get_return_type() const override {
495
11
        return make_nullable(std::make_shared<DataTypeFloat64>());
496
11
    }
_ZNK5doris21AggregateFunctionRegrILNS_13PrimitiveTypeE9ELNS_16RegrFunctionKindE8ELb0ELb0EE15get_return_typeEv
Line
Count
Source
494
17
    DataTypePtr get_return_type() const override {
495
17
        return make_nullable(std::make_shared<DataTypeFloat64>());
496
17
    }
497
498
258
    void insert_result_into(ConstAggregateDataPtr __restrict place, IColumn& to) const override {
499
258
        auto& nullable_column = assert_cast<ColumnNullable&>(to);
500
258
        auto& nested_column = assert_cast<ResultDataType&>(nullable_column.get_nested_column());
501
258
        const Float64 result = this->data(place).get_result();
502
258
        if (std::isnan(result)) {
503
112
            nullable_column.get_null_map_data().push_back(1);
504
112
            nested_column.insert_default();
505
146
        } else {
506
146
            nullable_column.get_null_map_data().push_back(0);
507
146
            nested_column.get_data().push_back(result);
508
146
        }
509
258
    }
_ZNK5doris21AggregateFunctionRegrILNS_13PrimitiveTypeE9ELNS_16RegrFunctionKindE0ELb1ELb1EE18insert_result_intoEPKcRNS_7IColumnE
Line
Count
Source
498
13
    void insert_result_into(ConstAggregateDataPtr __restrict place, IColumn& to) const override {
499
13
        auto& nullable_column = assert_cast<ColumnNullable&>(to);
500
13
        auto& nested_column = assert_cast<ResultDataType&>(nullable_column.get_nested_column());
501
13
        const Float64 result = this->data(place).get_result();
502
13
        if (std::isnan(result)) {
503
3
            nullable_column.get_null_map_data().push_back(1);
504
3
            nested_column.insert_default();
505
10
        } else {
506
10
            nullable_column.get_null_map_data().push_back(0);
507
10
            nested_column.get_data().push_back(result);
508
10
        }
509
13
    }
_ZNK5doris21AggregateFunctionRegrILNS_13PrimitiveTypeE9ELNS_16RegrFunctionKindE0ELb1ELb0EE18insert_result_intoEPKcRNS_7IColumnE
Line
Count
Source
498
3
    void insert_result_into(ConstAggregateDataPtr __restrict place, IColumn& to) const override {
499
3
        auto& nullable_column = assert_cast<ColumnNullable&>(to);
500
3
        auto& nested_column = assert_cast<ResultDataType&>(nullable_column.get_nested_column());
501
3
        const Float64 result = this->data(place).get_result();
502
3
        if (std::isnan(result)) {
503
1
            nullable_column.get_null_map_data().push_back(1);
504
1
            nested_column.insert_default();
505
2
        } else {
506
2
            nullable_column.get_null_map_data().push_back(0);
507
2
            nested_column.get_data().push_back(result);
508
2
        }
509
3
    }
_ZNK5doris21AggregateFunctionRegrILNS_13PrimitiveTypeE9ELNS_16RegrFunctionKindE0ELb0ELb1EE18insert_result_intoEPKcRNS_7IColumnE
Line
Count
Source
498
3
    void insert_result_into(ConstAggregateDataPtr __restrict place, IColumn& to) const override {
499
3
        auto& nullable_column = assert_cast<ColumnNullable&>(to);
500
3
        auto& nested_column = assert_cast<ResultDataType&>(nullable_column.get_nested_column());
501
3
        const Float64 result = this->data(place).get_result();
502
3
        if (std::isnan(result)) {
503
1
            nullable_column.get_null_map_data().push_back(1);
504
1
            nested_column.insert_default();
505
2
        } else {
506
2
            nullable_column.get_null_map_data().push_back(0);
507
2
            nested_column.get_data().push_back(result);
508
2
        }
509
3
    }
_ZNK5doris21AggregateFunctionRegrILNS_13PrimitiveTypeE9ELNS_16RegrFunctionKindE0ELb0ELb0EE18insert_result_intoEPKcRNS_7IColumnE
Line
Count
Source
498
5
    void insert_result_into(ConstAggregateDataPtr __restrict place, IColumn& to) const override {
499
5
        auto& nullable_column = assert_cast<ColumnNullable&>(to);
500
5
        auto& nested_column = assert_cast<ResultDataType&>(nullable_column.get_nested_column());
501
5
        const Float64 result = this->data(place).get_result();
502
5
        if (std::isnan(result)) {
503
0
            nullable_column.get_null_map_data().push_back(1);
504
0
            nested_column.insert_default();
505
5
        } else {
506
5
            nullable_column.get_null_map_data().push_back(0);
507
5
            nested_column.get_data().push_back(result);
508
5
        }
509
5
    }
_ZNK5doris21AggregateFunctionRegrILNS_13PrimitiveTypeE9ELNS_16RegrFunctionKindE1ELb1ELb1EE18insert_result_intoEPKcRNS_7IColumnE
Line
Count
Source
498
13
    void insert_result_into(ConstAggregateDataPtr __restrict place, IColumn& to) const override {
499
13
        auto& nullable_column = assert_cast<ColumnNullable&>(to);
500
13
        auto& nested_column = assert_cast<ResultDataType&>(nullable_column.get_nested_column());
501
13
        const Float64 result = this->data(place).get_result();
502
13
        if (std::isnan(result)) {
503
3
            nullable_column.get_null_map_data().push_back(1);
504
3
            nested_column.insert_default();
505
10
        } else {
506
10
            nullable_column.get_null_map_data().push_back(0);
507
10
            nested_column.get_data().push_back(result);
508
10
        }
509
13
    }
_ZNK5doris21AggregateFunctionRegrILNS_13PrimitiveTypeE9ELNS_16RegrFunctionKindE1ELb1ELb0EE18insert_result_intoEPKcRNS_7IColumnE
Line
Count
Source
498
3
    void insert_result_into(ConstAggregateDataPtr __restrict place, IColumn& to) const override {
499
3
        auto& nullable_column = assert_cast<ColumnNullable&>(to);
500
3
        auto& nested_column = assert_cast<ResultDataType&>(nullable_column.get_nested_column());
501
3
        const Float64 result = this->data(place).get_result();
502
3
        if (std::isnan(result)) {
503
1
            nullable_column.get_null_map_data().push_back(1);
504
1
            nested_column.insert_default();
505
2
        } else {
506
2
            nullable_column.get_null_map_data().push_back(0);
507
2
            nested_column.get_data().push_back(result);
508
2
        }
509
3
    }
_ZNK5doris21AggregateFunctionRegrILNS_13PrimitiveTypeE9ELNS_16RegrFunctionKindE1ELb0ELb1EE18insert_result_intoEPKcRNS_7IColumnE
Line
Count
Source
498
3
    void insert_result_into(ConstAggregateDataPtr __restrict place, IColumn& to) const override {
499
3
        auto& nullable_column = assert_cast<ColumnNullable&>(to);
500
3
        auto& nested_column = assert_cast<ResultDataType&>(nullable_column.get_nested_column());
501
3
        const Float64 result = this->data(place).get_result();
502
3
        if (std::isnan(result)) {
503
1
            nullable_column.get_null_map_data().push_back(1);
504
1
            nested_column.insert_default();
505
2
        } else {
506
2
            nullable_column.get_null_map_data().push_back(0);
507
2
            nested_column.get_data().push_back(result);
508
2
        }
509
3
    }
_ZNK5doris21AggregateFunctionRegrILNS_13PrimitiveTypeE9ELNS_16RegrFunctionKindE1ELb0ELb0EE18insert_result_intoEPKcRNS_7IColumnE
Line
Count
Source
498
5
    void insert_result_into(ConstAggregateDataPtr __restrict place, IColumn& to) const override {
499
5
        auto& nullable_column = assert_cast<ColumnNullable&>(to);
500
5
        auto& nested_column = assert_cast<ResultDataType&>(nullable_column.get_nested_column());
501
5
        const Float64 result = this->data(place).get_result();
502
5
        if (std::isnan(result)) {
503
0
            nullable_column.get_null_map_data().push_back(1);
504
0
            nested_column.insert_default();
505
5
        } else {
506
5
            nullable_column.get_null_map_data().push_back(0);
507
5
            nested_column.get_data().push_back(result);
508
5
        }
509
5
    }
_ZNK5doris21AggregateFunctionRegrILNS_13PrimitiveTypeE9ELNS_16RegrFunctionKindE3ELb1ELb1EE18insert_result_intoEPKcRNS_7IColumnE
Line
Count
Source
498
27
    void insert_result_into(ConstAggregateDataPtr __restrict place, IColumn& to) const override {
499
27
        auto& nullable_column = assert_cast<ColumnNullable&>(to);
500
27
        auto& nested_column = assert_cast<ResultDataType&>(nullable_column.get_nested_column());
501
27
        const Float64 result = this->data(place).get_result();
502
27
        if (std::isnan(result)) {
503
15
            nullable_column.get_null_map_data().push_back(1);
504
15
            nested_column.insert_default();
505
15
        } else {
506
12
            nullable_column.get_null_map_data().push_back(0);
507
12
            nested_column.get_data().push_back(result);
508
12
        }
509
27
    }
_ZNK5doris21AggregateFunctionRegrILNS_13PrimitiveTypeE9ELNS_16RegrFunctionKindE3ELb1ELb0EE18insert_result_intoEPKcRNS_7IColumnE
Line
Count
Source
498
15
    void insert_result_into(ConstAggregateDataPtr __restrict place, IColumn& to) const override {
499
15
        auto& nullable_column = assert_cast<ColumnNullable&>(to);
500
15
        auto& nested_column = assert_cast<ResultDataType&>(nullable_column.get_nested_column());
501
15
        const Float64 result = this->data(place).get_result();
502
15
        if (std::isnan(result)) {
503
9
            nullable_column.get_null_map_data().push_back(1);
504
9
            nested_column.insert_default();
505
9
        } else {
506
6
            nullable_column.get_null_map_data().push_back(0);
507
6
            nested_column.get_data().push_back(result);
508
6
        }
509
15
    }
_ZNK5doris21AggregateFunctionRegrILNS_13PrimitiveTypeE9ELNS_16RegrFunctionKindE3ELb0ELb1EE18insert_result_intoEPKcRNS_7IColumnE
Line
Count
Source
498
5
    void insert_result_into(ConstAggregateDataPtr __restrict place, IColumn& to) const override {
499
5
        auto& nullable_column = assert_cast<ColumnNullable&>(to);
500
5
        auto& nested_column = assert_cast<ResultDataType&>(nullable_column.get_nested_column());
501
5
        const Float64 result = this->data(place).get_result();
502
5
        if (std::isnan(result)) {
503
1
            nullable_column.get_null_map_data().push_back(1);
504
1
            nested_column.insert_default();
505
4
        } else {
506
4
            nullable_column.get_null_map_data().push_back(0);
507
4
            nested_column.get_data().push_back(result);
508
4
        }
509
5
    }
_ZNK5doris21AggregateFunctionRegrILNS_13PrimitiveTypeE9ELNS_16RegrFunctionKindE3ELb0ELb0EE18insert_result_intoEPKcRNS_7IColumnE
Line
Count
Source
498
18
    void insert_result_into(ConstAggregateDataPtr __restrict place, IColumn& to) const override {
499
18
        auto& nullable_column = assert_cast<ColumnNullable&>(to);
500
18
        auto& nested_column = assert_cast<ResultDataType&>(nullable_column.get_nested_column());
501
18
        const Float64 result = this->data(place).get_result();
502
18
        if (std::isnan(result)) {
503
12
            nullable_column.get_null_map_data().push_back(1);
504
12
            nested_column.insert_default();
505
12
        } else {
506
6
            nullable_column.get_null_map_data().push_back(0);
507
6
            nested_column.get_data().push_back(result);
508
6
        }
509
18
    }
_ZNK5doris21AggregateFunctionRegrILNS_13PrimitiveTypeE9ELNS_16RegrFunctionKindE4ELb1ELb1EE18insert_result_intoEPKcRNS_7IColumnE
Line
Count
Source
498
27
    void insert_result_into(ConstAggregateDataPtr __restrict place, IColumn& to) const override {
499
27
        auto& nullable_column = assert_cast<ColumnNullable&>(to);
500
27
        auto& nested_column = assert_cast<ResultDataType&>(nullable_column.get_nested_column());
501
27
        const Float64 result = this->data(place).get_result();
502
27
        if (std::isnan(result)) {
503
15
            nullable_column.get_null_map_data().push_back(1);
504
15
            nested_column.insert_default();
505
15
        } else {
506
12
            nullable_column.get_null_map_data().push_back(0);
507
12
            nested_column.get_data().push_back(result);
508
12
        }
509
27
    }
_ZNK5doris21AggregateFunctionRegrILNS_13PrimitiveTypeE9ELNS_16RegrFunctionKindE4ELb1ELb0EE18insert_result_intoEPKcRNS_7IColumnE
Line
Count
Source
498
15
    void insert_result_into(ConstAggregateDataPtr __restrict place, IColumn& to) const override {
499
15
        auto& nullable_column = assert_cast<ColumnNullable&>(to);
500
15
        auto& nested_column = assert_cast<ResultDataType&>(nullable_column.get_nested_column());
501
15
        const Float64 result = this->data(place).get_result();
502
15
        if (std::isnan(result)) {
503
9
            nullable_column.get_null_map_data().push_back(1);
504
9
            nested_column.insert_default();
505
9
        } else {
506
6
            nullable_column.get_null_map_data().push_back(0);
507
6
            nested_column.get_data().push_back(result);
508
6
        }
509
15
    }
_ZNK5doris21AggregateFunctionRegrILNS_13PrimitiveTypeE9ELNS_16RegrFunctionKindE4ELb0ELb1EE18insert_result_intoEPKcRNS_7IColumnE
Line
Count
Source
498
5
    void insert_result_into(ConstAggregateDataPtr __restrict place, IColumn& to) const override {
499
5
        auto& nullable_column = assert_cast<ColumnNullable&>(to);
500
5
        auto& nested_column = assert_cast<ResultDataType&>(nullable_column.get_nested_column());
501
5
        const Float64 result = this->data(place).get_result();
502
5
        if (std::isnan(result)) {
503
1
            nullable_column.get_null_map_data().push_back(1);
504
1
            nested_column.insert_default();
505
4
        } else {
506
4
            nullable_column.get_null_map_data().push_back(0);
507
4
            nested_column.get_data().push_back(result);
508
4
        }
509
5
    }
_ZNK5doris21AggregateFunctionRegrILNS_13PrimitiveTypeE9ELNS_16RegrFunctionKindE4ELb0ELb0EE18insert_result_intoEPKcRNS_7IColumnE
Line
Count
Source
498
18
    void insert_result_into(ConstAggregateDataPtr __restrict place, IColumn& to) const override {
499
18
        auto& nullable_column = assert_cast<ColumnNullable&>(to);
500
18
        auto& nested_column = assert_cast<ResultDataType&>(nullable_column.get_nested_column());
501
18
        const Float64 result = this->data(place).get_result();
502
18
        if (std::isnan(result)) {
503
12
            nullable_column.get_null_map_data().push_back(1);
504
12
            nested_column.insert_default();
505
12
        } else {
506
6
            nullable_column.get_null_map_data().push_back(0);
507
6
            nested_column.get_data().push_back(result);
508
6
        }
509
18
    }
_ZNK5doris21AggregateFunctionRegrILNS_13PrimitiveTypeE9ELNS_16RegrFunctionKindE5ELb1ELb1EE18insert_result_intoEPKcRNS_7IColumnE
Line
Count
Source
498
7
    void insert_result_into(ConstAggregateDataPtr __restrict place, IColumn& to) const override {
499
7
        auto& nullable_column = assert_cast<ColumnNullable&>(to);
500
7
        auto& nested_column = assert_cast<ResultDataType&>(nullable_column.get_nested_column());
501
7
        const Float64 result = this->data(place).get_result();
502
7
        if (std::isnan(result)) {
503
2
            nullable_column.get_null_map_data().push_back(1);
504
2
            nested_column.insert_default();
505
5
        } else {
506
5
            nullable_column.get_null_map_data().push_back(0);
507
5
            nested_column.get_data().push_back(result);
508
5
        }
509
7
    }
_ZNK5doris21AggregateFunctionRegrILNS_13PrimitiveTypeE9ELNS_16RegrFunctionKindE5ELb1ELb0EE18insert_result_intoEPKcRNS_7IColumnE
Line
Count
Source
498
3
    void insert_result_into(ConstAggregateDataPtr __restrict place, IColumn& to) const override {
499
3
        auto& nullable_column = assert_cast<ColumnNullable&>(to);
500
3
        auto& nested_column = assert_cast<ResultDataType&>(nullable_column.get_nested_column());
501
3
        const Float64 result = this->data(place).get_result();
502
3
        if (std::isnan(result)) {
503
1
            nullable_column.get_null_map_data().push_back(1);
504
1
            nested_column.insert_default();
505
2
        } else {
506
2
            nullable_column.get_null_map_data().push_back(0);
507
2
            nested_column.get_data().push_back(result);
508
2
        }
509
3
    }
_ZNK5doris21AggregateFunctionRegrILNS_13PrimitiveTypeE9ELNS_16RegrFunctionKindE5ELb0ELb1EE18insert_result_intoEPKcRNS_7IColumnE
Line
Count
Source
498
3
    void insert_result_into(ConstAggregateDataPtr __restrict place, IColumn& to) const override {
499
3
        auto& nullable_column = assert_cast<ColumnNullable&>(to);
500
3
        auto& nested_column = assert_cast<ResultDataType&>(nullable_column.get_nested_column());
501
3
        const Float64 result = this->data(place).get_result();
502
3
        if (std::isnan(result)) {
503
1
            nullable_column.get_null_map_data().push_back(1);
504
1
            nested_column.insert_default();
505
2
        } else {
506
2
            nullable_column.get_null_map_data().push_back(0);
507
2
            nested_column.get_data().push_back(result);
508
2
        }
509
3
    }
_ZNK5doris21AggregateFunctionRegrILNS_13PrimitiveTypeE9ELNS_16RegrFunctionKindE5ELb0ELb0EE18insert_result_intoEPKcRNS_7IColumnE
Line
Count
Source
498
5
    void insert_result_into(ConstAggregateDataPtr __restrict place, IColumn& to) const override {
499
5
        auto& nullable_column = assert_cast<ColumnNullable&>(to);
500
5
        auto& nested_column = assert_cast<ResultDataType&>(nullable_column.get_nested_column());
501
5
        const Float64 result = this->data(place).get_result();
502
5
        if (std::isnan(result)) {
503
0
            nullable_column.get_null_map_data().push_back(1);
504
0
            nested_column.insert_default();
505
5
        } else {
506
5
            nullable_column.get_null_map_data().push_back(0);
507
5
            nested_column.get_data().push_back(result);
508
5
        }
509
5
    }
_ZNK5doris21AggregateFunctionRegrILNS_13PrimitiveTypeE9ELNS_16RegrFunctionKindE6ELb1ELb1EE18insert_result_intoEPKcRNS_7IColumnE
Line
Count
Source
498
7
    void insert_result_into(ConstAggregateDataPtr __restrict place, IColumn& to) const override {
499
7
        auto& nullable_column = assert_cast<ColumnNullable&>(to);
500
7
        auto& nested_column = assert_cast<ResultDataType&>(nullable_column.get_nested_column());
501
7
        const Float64 result = this->data(place).get_result();
502
7
        if (std::isnan(result)) {
503
2
            nullable_column.get_null_map_data().push_back(1);
504
2
            nested_column.insert_default();
505
5
        } else {
506
5
            nullable_column.get_null_map_data().push_back(0);
507
5
            nested_column.get_data().push_back(result);
508
5
        }
509
7
    }
_ZNK5doris21AggregateFunctionRegrILNS_13PrimitiveTypeE9ELNS_16RegrFunctionKindE6ELb1ELb0EE18insert_result_intoEPKcRNS_7IColumnE
Line
Count
Source
498
3
    void insert_result_into(ConstAggregateDataPtr __restrict place, IColumn& to) const override {
499
3
        auto& nullable_column = assert_cast<ColumnNullable&>(to);
500
3
        auto& nested_column = assert_cast<ResultDataType&>(nullable_column.get_nested_column());
501
3
        const Float64 result = this->data(place).get_result();
502
3
        if (std::isnan(result)) {
503
1
            nullable_column.get_null_map_data().push_back(1);
504
1
            nested_column.insert_default();
505
2
        } else {
506
2
            nullable_column.get_null_map_data().push_back(0);
507
2
            nested_column.get_data().push_back(result);
508
2
        }
509
3
    }
_ZNK5doris21AggregateFunctionRegrILNS_13PrimitiveTypeE9ELNS_16RegrFunctionKindE6ELb0ELb1EE18insert_result_intoEPKcRNS_7IColumnE
Line
Count
Source
498
3
    void insert_result_into(ConstAggregateDataPtr __restrict place, IColumn& to) const override {
499
3
        auto& nullable_column = assert_cast<ColumnNullable&>(to);
500
3
        auto& nested_column = assert_cast<ResultDataType&>(nullable_column.get_nested_column());
501
3
        const Float64 result = this->data(place).get_result();
502
3
        if (std::isnan(result)) {
503
1
            nullable_column.get_null_map_data().push_back(1);
504
1
            nested_column.insert_default();
505
2
        } else {
506
2
            nullable_column.get_null_map_data().push_back(0);
507
2
            nested_column.get_data().push_back(result);
508
2
        }
509
3
    }
_ZNK5doris21AggregateFunctionRegrILNS_13PrimitiveTypeE9ELNS_16RegrFunctionKindE6ELb0ELb0EE18insert_result_intoEPKcRNS_7IColumnE
Line
Count
Source
498
5
    void insert_result_into(ConstAggregateDataPtr __restrict place, IColumn& to) const override {
499
5
        auto& nullable_column = assert_cast<ColumnNullable&>(to);
500
5
        auto& nested_column = assert_cast<ResultDataType&>(nullable_column.get_nested_column());
501
5
        const Float64 result = this->data(place).get_result();
502
5
        if (std::isnan(result)) {
503
0
            nullable_column.get_null_map_data().push_back(1);
504
0
            nested_column.insert_default();
505
5
        } else {
506
5
            nullable_column.get_null_map_data().push_back(0);
507
5
            nested_column.get_data().push_back(result);
508
5
        }
509
5
    }
_ZNK5doris21AggregateFunctionRegrILNS_13PrimitiveTypeE9ELNS_16RegrFunctionKindE7ELb1ELb1EE18insert_result_intoEPKcRNS_7IColumnE
Line
Count
Source
498
7
    void insert_result_into(ConstAggregateDataPtr __restrict place, IColumn& to) const override {
499
7
        auto& nullable_column = assert_cast<ColumnNullable&>(to);
500
7
        auto& nested_column = assert_cast<ResultDataType&>(nullable_column.get_nested_column());
501
7
        const Float64 result = this->data(place).get_result();
502
7
        if (std::isnan(result)) {
503
2
            nullable_column.get_null_map_data().push_back(1);
504
2
            nested_column.insert_default();
505
5
        } else {
506
5
            nullable_column.get_null_map_data().push_back(0);
507
5
            nested_column.get_data().push_back(result);
508
5
        }
509
7
    }
_ZNK5doris21AggregateFunctionRegrILNS_13PrimitiveTypeE9ELNS_16RegrFunctionKindE7ELb1ELb0EE18insert_result_intoEPKcRNS_7IColumnE
Line
Count
Source
498
3
    void insert_result_into(ConstAggregateDataPtr __restrict place, IColumn& to) const override {
499
3
        auto& nullable_column = assert_cast<ColumnNullable&>(to);
500
3
        auto& nested_column = assert_cast<ResultDataType&>(nullable_column.get_nested_column());
501
3
        const Float64 result = this->data(place).get_result();
502
3
        if (std::isnan(result)) {
503
1
            nullable_column.get_null_map_data().push_back(1);
504
1
            nested_column.insert_default();
505
2
        } else {
506
2
            nullable_column.get_null_map_data().push_back(0);
507
2
            nested_column.get_data().push_back(result);
508
2
        }
509
3
    }
_ZNK5doris21AggregateFunctionRegrILNS_13PrimitiveTypeE9ELNS_16RegrFunctionKindE7ELb0ELb1EE18insert_result_intoEPKcRNS_7IColumnE
Line
Count
Source
498
3
    void insert_result_into(ConstAggregateDataPtr __restrict place, IColumn& to) const override {
499
3
        auto& nullable_column = assert_cast<ColumnNullable&>(to);
500
3
        auto& nested_column = assert_cast<ResultDataType&>(nullable_column.get_nested_column());
501
3
        const Float64 result = this->data(place).get_result();
502
3
        if (std::isnan(result)) {
503
1
            nullable_column.get_null_map_data().push_back(1);
504
1
            nested_column.insert_default();
505
2
        } else {
506
2
            nullable_column.get_null_map_data().push_back(0);
507
2
            nested_column.get_data().push_back(result);
508
2
        }
509
3
    }
_ZNK5doris21AggregateFunctionRegrILNS_13PrimitiveTypeE9ELNS_16RegrFunctionKindE7ELb0ELb0EE18insert_result_intoEPKcRNS_7IColumnE
Line
Count
Source
498
5
    void insert_result_into(ConstAggregateDataPtr __restrict place, IColumn& to) const override {
499
5
        auto& nullable_column = assert_cast<ColumnNullable&>(to);
500
5
        auto& nested_column = assert_cast<ResultDataType&>(nullable_column.get_nested_column());
501
5
        const Float64 result = this->data(place).get_result();
502
5
        if (std::isnan(result)) {
503
0
            nullable_column.get_null_map_data().push_back(1);
504
0
            nested_column.insert_default();
505
5
        } else {
506
5
            nullable_column.get_null_map_data().push_back(0);
507
5
            nested_column.get_data().push_back(result);
508
5
        }
509
5
    }
_ZNK5doris21AggregateFunctionRegrILNS_13PrimitiveTypeE9ELNS_16RegrFunctionKindE8ELb1ELb1EE18insert_result_intoEPKcRNS_7IColumnE
Line
Count
Source
498
15
    void insert_result_into(ConstAggregateDataPtr __restrict place, IColumn& to) const override {
499
15
        auto& nullable_column = assert_cast<ColumnNullable&>(to);
500
15
        auto& nested_column = assert_cast<ResultDataType&>(nullable_column.get_nested_column());
501
15
        const Float64 result = this->data(place).get_result();
502
15
        if (std::isnan(result)) {
503
9
            nullable_column.get_null_map_data().push_back(1);
504
9
            nested_column.insert_default();
505
9
        } else {
506
6
            nullable_column.get_null_map_data().push_back(0);
507
6
            nested_column.get_data().push_back(result);
508
6
        }
509
15
    }
_ZNK5doris21AggregateFunctionRegrILNS_13PrimitiveTypeE9ELNS_16RegrFunctionKindE8ELb1ELb0EE18insert_result_intoEPKcRNS_7IColumnE
Line
Count
Source
498
3
    void insert_result_into(ConstAggregateDataPtr __restrict place, IColumn& to) const override {
499
3
        auto& nullable_column = assert_cast<ColumnNullable&>(to);
500
3
        auto& nested_column = assert_cast<ResultDataType&>(nullable_column.get_nested_column());
501
3
        const Float64 result = this->data(place).get_result();
502
3
        if (std::isnan(result)) {
503
3
            nullable_column.get_null_map_data().push_back(1);
504
3
            nested_column.insert_default();
505
3
        } else {
506
0
            nullable_column.get_null_map_data().push_back(0);
507
0
            nested_column.get_data().push_back(result);
508
0
        }
509
3
    }
_ZNK5doris21AggregateFunctionRegrILNS_13PrimitiveTypeE9ELNS_16RegrFunctionKindE8ELb0ELb1EE18insert_result_intoEPKcRNS_7IColumnE
Line
Count
Source
498
3
    void insert_result_into(ConstAggregateDataPtr __restrict place, IColumn& to) const override {
499
3
        auto& nullable_column = assert_cast<ColumnNullable&>(to);
500
3
        auto& nested_column = assert_cast<ResultDataType&>(nullable_column.get_nested_column());
501
3
        const Float64 result = this->data(place).get_result();
502
3
        if (std::isnan(result)) {
503
1
            nullable_column.get_null_map_data().push_back(1);
504
1
            nested_column.insert_default();
505
2
        } else {
506
2
            nullable_column.get_null_map_data().push_back(0);
507
2
            nested_column.get_data().push_back(result);
508
2
        }
509
3
    }
_ZNK5doris21AggregateFunctionRegrILNS_13PrimitiveTypeE9ELNS_16RegrFunctionKindE8ELb0ELb0EE18insert_result_intoEPKcRNS_7IColumnE
Line
Count
Source
498
5
    void insert_result_into(ConstAggregateDataPtr __restrict place, IColumn& to) const override {
499
5
        auto& nullable_column = assert_cast<ColumnNullable&>(to);
500
5
        auto& nested_column = assert_cast<ResultDataType&>(nullable_column.get_nested_column());
501
5
        const Float64 result = this->data(place).get_result();
502
5
        if (std::isnan(result)) {
503
3
            nullable_column.get_null_map_data().push_back(1);
504
3
            nested_column.insert_default();
505
3
        } else {
506
2
            nullable_column.get_null_map_data().push_back(0);
507
2
            nested_column.get_data().push_back(result);
508
2
        }
509
5
    }
510
};
511
512
template <PrimitiveType T, bool y_is_nullable, bool x_is_nullable>
513
class AggregateFunctionRegr<T, RegrFunctionKind::regr_count, y_is_nullable, x_is_nullable> final
514
        : public AggregateFunctionRegrBase<T, RegrFunctionKind::regr_count, y_is_nullable,
515
                                           x_is_nullable,
516
                                           AggregateFunctionRegr<T, RegrFunctionKind::regr_count,
517
                                                                 y_is_nullable, x_is_nullable>> {
518
public:
519
    using ResultDataType = ColumnInt64;
520
    using Base = AggregateFunctionRegrBase<T, RegrFunctionKind::regr_count, y_is_nullable,
521
                                           x_is_nullable, AggregateFunctionRegr>;
522
523
28
    explicit AggregateFunctionRegr(const DataTypes& argument_types_) : Base(argument_types_) {}
_ZN5doris21AggregateFunctionRegrILNS_13PrimitiveTypeE9ELNS_16RegrFunctionKindE2ELb1ELb1EEC2ERKSt6vectorISt10shared_ptrIKNS_9IDataTypeEESaIS8_EE
Line
Count
Source
523
11
    explicit AggregateFunctionRegr(const DataTypes& argument_types_) : Base(argument_types_) {}
_ZN5doris21AggregateFunctionRegrILNS_13PrimitiveTypeE9ELNS_16RegrFunctionKindE2ELb1ELb0EEC2ERKSt6vectorISt10shared_ptrIKNS_9IDataTypeEESaIS8_EE
Line
Count
Source
523
5
    explicit AggregateFunctionRegr(const DataTypes& argument_types_) : Base(argument_types_) {}
_ZN5doris21AggregateFunctionRegrILNS_13PrimitiveTypeE9ELNS_16RegrFunctionKindE2ELb0ELb1EEC2ERKSt6vectorISt10shared_ptrIKNS_9IDataTypeEESaIS8_EE
Line
Count
Source
523
5
    explicit AggregateFunctionRegr(const DataTypes& argument_types_) : Base(argument_types_) {}
_ZN5doris21AggregateFunctionRegrILNS_13PrimitiveTypeE9ELNS_16RegrFunctionKindE2ELb0ELb0EEC2ERKSt6vectorISt10shared_ptrIKNS_9IDataTypeEESaIS8_EE
Line
Count
Source
523
7
    explicit AggregateFunctionRegr(const DataTypes& argument_types_) : Base(argument_types_) {}
524
525
62
    DataTypePtr get_return_type() const override { return std::make_shared<DataTypeInt64>(); }
_ZNK5doris21AggregateFunctionRegrILNS_13PrimitiveTypeE9ELNS_16RegrFunctionKindE2ELb1ELb1EE15get_return_typeEv
Line
Count
Source
525
23
    DataTypePtr get_return_type() const override { return std::make_shared<DataTypeInt64>(); }
_ZNK5doris21AggregateFunctionRegrILNS_13PrimitiveTypeE9ELNS_16RegrFunctionKindE2ELb1ELb0EE15get_return_typeEv
Line
Count
Source
525
11
    DataTypePtr get_return_type() const override { return std::make_shared<DataTypeInt64>(); }
_ZNK5doris21AggregateFunctionRegrILNS_13PrimitiveTypeE9ELNS_16RegrFunctionKindE2ELb0ELb1EE15get_return_typeEv
Line
Count
Source
525
11
    DataTypePtr get_return_type() const override { return std::make_shared<DataTypeInt64>(); }
_ZNK5doris21AggregateFunctionRegrILNS_13PrimitiveTypeE9ELNS_16RegrFunctionKindE2ELb0ELb0EE15get_return_typeEv
Line
Count
Source
525
17
    DataTypePtr get_return_type() const override { return std::make_shared<DataTypeInt64>(); }
526
527
24
    void insert_result_into(ConstAggregateDataPtr __restrict place, IColumn& to) const override {
528
24
        auto& result_column = assert_cast<ResultDataType&>(to);
529
24
        result_column.get_data().push_back(this->data(place).get_result());
530
24
    }
_ZNK5doris21AggregateFunctionRegrILNS_13PrimitiveTypeE9ELNS_16RegrFunctionKindE2ELb1ELb1EE18insert_result_intoEPKcRNS_7IColumnE
Line
Count
Source
527
13
    void insert_result_into(ConstAggregateDataPtr __restrict place, IColumn& to) const override {
528
13
        auto& result_column = assert_cast<ResultDataType&>(to);
529
13
        result_column.get_data().push_back(this->data(place).get_result());
530
13
    }
_ZNK5doris21AggregateFunctionRegrILNS_13PrimitiveTypeE9ELNS_16RegrFunctionKindE2ELb1ELb0EE18insert_result_intoEPKcRNS_7IColumnE
Line
Count
Source
527
3
    void insert_result_into(ConstAggregateDataPtr __restrict place, IColumn& to) const override {
528
3
        auto& result_column = assert_cast<ResultDataType&>(to);
529
3
        result_column.get_data().push_back(this->data(place).get_result());
530
3
    }
_ZNK5doris21AggregateFunctionRegrILNS_13PrimitiveTypeE9ELNS_16RegrFunctionKindE2ELb0ELb1EE18insert_result_intoEPKcRNS_7IColumnE
Line
Count
Source
527
3
    void insert_result_into(ConstAggregateDataPtr __restrict place, IColumn& to) const override {
528
3
        auto& result_column = assert_cast<ResultDataType&>(to);
529
3
        result_column.get_data().push_back(this->data(place).get_result());
530
3
    }
_ZNK5doris21AggregateFunctionRegrILNS_13PrimitiveTypeE9ELNS_16RegrFunctionKindE2ELb0ELb0EE18insert_result_intoEPKcRNS_7IColumnE
Line
Count
Source
527
5
    void insert_result_into(ConstAggregateDataPtr __restrict place, IColumn& to) const override {
528
5
        auto& result_column = assert_cast<ResultDataType&>(to);
529
5
        result_column.get_data().push_back(this->data(place).get_result());
530
5
    }
531
};
532
533
} // namespace doris