Skip to content

Commit fe02ee2

Browse files
committed
chore(query): fix typo
1 parent d9d5247 commit fe02ee2

File tree

2 files changed

+14
-14
lines changed

2 files changed

+14
-14
lines changed

src/query/functions-v2/src/aggregates/adaptors/aggregate_null_variadic_adaptor.rs

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -30,13 +30,13 @@ use crate::aggregates::AggregateFunctionRef;
3030
use crate::aggregates::StateAddr;
3131

3232
#[derive(Clone)]
33-
pub struct AggregateNullVariadicAdaptor<const NULLABLE_RESULT: bool, const STKIP_NULL: bool> {
33+
pub struct AggregateNullVariadicAdaptor<const NULLABLE_RESULT: bool, const SKIP_NULL: bool> {
3434
nested: AggregateFunctionRef,
3535
size_of_data: usize,
3636
}
3737

38-
impl<const NULLABLE_RESULT: bool, const STKIP_NULL: bool>
39-
AggregateNullVariadicAdaptor<NULLABLE_RESULT, STKIP_NULL>
38+
impl<const NULLABLE_RESULT: bool, const SKIP_NULL: bool>
39+
AggregateNullVariadicAdaptor<NULLABLE_RESULT, SKIP_NULL>
4040
{
4141
pub fn create(nested: AggregateFunctionRef) -> AggregateFunctionRef {
4242
let size_of_data = if NULLABLE_RESULT {
@@ -78,8 +78,8 @@ impl<const NULLABLE_RESULT: bool, const STKIP_NULL: bool>
7878
}
7979
}
8080

81-
impl<const NULLABLE_RESULT: bool, const STKIP_NULL: bool> AggregateFunction
82-
for AggregateNullVariadicAdaptor<NULLABLE_RESULT, STKIP_NULL>
81+
impl<const NULLABLE_RESULT: bool, const SKIP_NULL: bool> AggregateFunction
82+
for AggregateNullVariadicAdaptor<NULLABLE_RESULT, SKIP_NULL>
8383
{
8484
fn name(&self) -> &str {
8585
"AggregateNullVariadicAdaptor"
@@ -246,8 +246,8 @@ impl<const NULLABLE_RESULT: bool, const STKIP_NULL: bool> AggregateFunction
246246
}
247247
}
248248

249-
impl<const NULLABLE_RESULT: bool, const STKIP_NULL: bool> fmt::Display
250-
for AggregateNullVariadicAdaptor<NULLABLE_RESULT, STKIP_NULL>
249+
impl<const NULLABLE_RESULT: bool, const SKIP_NULL: bool> fmt::Display
250+
for AggregateNullVariadicAdaptor<NULLABLE_RESULT, SKIP_NULL>
251251
{
252252
fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result {
253253
write!(f, "AggregateNullVariadicAdaptor")

src/query/functions/src/aggregates/adaptors/aggregate_null_variadic_adaptor.rs

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -27,13 +27,13 @@ use crate::aggregates::AggregateFunctionRef;
2727
use crate::aggregates::StateAddr;
2828

2929
#[derive(Clone)]
30-
pub struct AggregateNullVariadicAdaptor<const NULLABLE_RESULT: bool, const STKIP_NULL: bool> {
30+
pub struct AggregateNullVariadicAdaptor<const NULLABLE_RESULT: bool, const SKIP_NULL: bool> {
3131
nested: AggregateFunctionRef,
3232
size_of_data: usize,
3333
}
3434

35-
impl<const NULLABLE_RESULT: bool, const STKIP_NULL: bool>
36-
AggregateNullVariadicAdaptor<NULLABLE_RESULT, STKIP_NULL>
35+
impl<const NULLABLE_RESULT: bool, const SKIP_NULL: bool>
36+
AggregateNullVariadicAdaptor<NULLABLE_RESULT, SKIP_NULL>
3737
{
3838
pub fn create(nested: AggregateFunctionRef) -> AggregateFunctionRef {
3939
let size_of_data = if NULLABLE_RESULT {
@@ -75,8 +75,8 @@ impl<const NULLABLE_RESULT: bool, const STKIP_NULL: bool>
7575
}
7676
}
7777

78-
impl<const NULLABLE_RESULT: bool, const STKIP_NULL: bool> AggregateFunction
79-
for AggregateNullVariadicAdaptor<NULLABLE_RESULT, STKIP_NULL>
78+
impl<const NULLABLE_RESULT: bool, const SKIP_NULL: bool> AggregateFunction
79+
for AggregateNullVariadicAdaptor<NULLABLE_RESULT, SKIP_NULL>
8080
{
8181
fn name(&self) -> &str {
8282
"AggregateNullVariadicAdaptor"
@@ -258,8 +258,8 @@ impl<const NULLABLE_RESULT: bool, const STKIP_NULL: bool> AggregateFunction
258258
}
259259
}
260260

261-
impl<const NULLABLE_RESULT: bool, const STKIP_NULL: bool> fmt::Display
262-
for AggregateNullVariadicAdaptor<NULLABLE_RESULT, STKIP_NULL>
261+
impl<const NULLABLE_RESULT: bool, const SKIP_NULL: bool> fmt::Display
262+
for AggregateNullVariadicAdaptor<NULLABLE_RESULT, SKIP_NULL>
263263
{
264264
fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result {
265265
write!(f, "AggregateNullVariadicAdaptor")

0 commit comments

Comments
 (0)