Skip to content

Commit 058c91c

Browse files
committed
chore(query): fix licence
1 parent fe02ee2 commit 058c91c

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

42 files changed

+58
-58
lines changed

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

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Copyright 2021 Datafuse Labs.
1+
// Copyright 2022 Datafuse Labs.
22
//
33
// Licensed under the Apache License, Version 2.0 (the "License");
44
// you may not use this file except in compliance with the License.
@@ -86,8 +86,8 @@ impl AggregateFunctionCombinatorNull {
8686
},
8787

8888
_ => match result_is_null {
89-
true => Ok(AggregateNullVariadicAdaptor::<true, true>::create(nested)),
90-
false => Ok(AggregateNullVariadicAdaptor::<false, true>::create(nested)),
89+
true => Ok(AggregateNullVariadicAdaptor::<true>::create(nested)),
90+
false => Ok(AggregateNullVariadicAdaptor::<false>::create(nested)),
9191
},
9292
}
9393
}

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Copyright 2021 Datafuse Labs.
1+
// Copyright 2022 Datafuse Labs.
22
//
33
// Licensed under the Apache License, Version 2.0 (the "License");
44
// you may not use this file except in compliance with the License.

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

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Copyright 2021 Datafuse Labs.
1+
// Copyright 2022 Datafuse Labs.
22
//
33
// Licensed under the Apache License, Version 2.0 (the "License");
44
// you may not use this file except in compliance with the License.
@@ -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 SKIP_NULL: bool> {
33+
pub struct AggregateNullVariadicAdaptor<const NULLABLE_RESULT: bool> {
3434
nested: AggregateFunctionRef,
3535
size_of_data: usize,
3636
}
3737

38-
impl<const NULLABLE_RESULT: bool, const SKIP_NULL: bool>
39-
AggregateNullVariadicAdaptor<NULLABLE_RESULT, SKIP_NULL>
38+
impl<const NULLABLE_RESULT: bool>
39+
AggregateNullVariadicAdaptor<NULLABLE_RESULT>
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 SKIP_NULL: bool>
7878
}
7979
}
8080

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

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

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Copyright 2021 Datafuse Labs.
1+
// Copyright 2022 Datafuse Labs.
22
//
33
// Licensed under the Apache License, Version 2.0 (the "License");
44
// you may not use this file except in compliance with the License.

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Copyright 2021 Datafuse Labs.
1+
// Copyright 2022 Datafuse Labs.
22
//
33
// Licensed under the Apache License, Version 2.0 (the "License");
44
// you may not use this file except in compliance with the License.

src/query/functions-v2/src/aggregates/aggregate_avg.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Copyright 2021 Datafuse Labs.
1+
// Copyright 2022 Datafuse Labs.
22
//
33
// Licensed under the Apache License, Version 2.0 (the "License");
44
// you may not use this file except in compliance with the License.

src/query/functions-v2/src/aggregates/aggregate_combinator_distinct.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Copyright 2021 Datafuse Labs.
1+
// Copyright 2022 Datafuse Labs.
22
//
33
// Licensed under the Apache License, Version 2.0 (the "License");
44
// you may not use this file except in compliance with the License.

src/query/functions-v2/src/aggregates/aggregate_combinator_if.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Copyright 2021 Datafuse Labs.
1+
// Copyright 2022 Datafuse Labs.
22
//
33
// Licensed under the Apache License, Version 2.0 (the "License");
44
// you may not use this file except in compliance with the License.

src/query/functions-v2/src/aggregates/aggregate_count.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Copyright 2021 Datafuse Labs.
1+
// Copyright 2022 Datafuse Labs.
22
//
33
// Licensed under the Apache License, Version 2.0 (the "License");
44
// you may not use this file except in compliance with the License.

src/query/functions-v2/src/aggregates/aggregate_function.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Copyright 2021 Datafuse Labs.
1+
// Copyright 2022 Datafuse Labs.
22
//
33
// Licensed under the Apache License, Version 2.0 (the "License");
44
// you may not use this file except in compliance with the License.

0 commit comments

Comments
 (0)