Skip to content

Commit 93c4354

Browse files
committed
wip
Signed-off-by: Joe Isaacs <[email protected]>
1 parent f52dbf0 commit 93c4354

File tree

16 files changed

+9
-23
lines changed

16 files changed

+9
-23
lines changed

encodings/decimal-byte-parts/src/decimal_byte_parts/mod.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -212,7 +212,6 @@ impl OperationsVTable<DecimalBytePartsVTable> for DecimalBytePartsVTable {
212212
}
213213
}
214214

215-
#[allow(clippy::useless_conversion)]
216215
fn scalar_at(array: &DecimalBytePartsArray, index: usize) -> Scalar {
217216
// TODO(joe): support parts len != 1
218217
let scalar = array.msp.scalar_at(index);

vortex-array/benches/take_patches.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
// SPDX-License-Identifier: Apache-2.0
22
// SPDX-FileCopyrightText: Copyright the Vortex contributors
33

4-
#![allow(clippy::unwrap_used)]
54
#![allow(clippy::cast_possible_truncation)]
65

76
use divan::Bencher;

vortex-array/src/compute/is_sorted.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -201,7 +201,6 @@ pub trait IsSortedKernel: VTable {
201201
fn is_strict_sorted(&self, array: &Self::Array) -> VortexResult<Option<bool>>;
202202
}
203203

204-
#[allow(clippy::wrong_self_convention)]
205204
/// Helper methods to check sortedness with strictness
206205
pub trait IsSortedIteratorExt: Iterator
207206
where

vortex-btrblocks/benches/compress.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
// SPDX-License-Identifier: Apache-2.0
22
// SPDX-FileCopyrightText: Copyright the Vortex contributors
33

4-
#![allow(clippy::unwrap_used)]
54
#![allow(unexpected_cfgs)]
65

76
#[cfg(not(codspeed))]

vortex-btrblocks/benches/dict_encode.rs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,6 @@
11
// SPDX-License-Identifier: Apache-2.0
22
// SPDX-FileCopyrightText: Copyright the Vortex contributors
33

4-
#![allow(clippy::unwrap_used)]
5-
64
use divan::Bencher;
75
use vortex_array::IntoArray;
86
use vortex_array::arrays::{BoolArray, PrimitiveArray};

vortex-btrblocks/benches/stats_calc.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
// SPDX-License-Identifier: Apache-2.0
22
// SPDX-FileCopyrightText: Copyright the Vortex contributors
33

4-
#![allow(clippy::cast_possible_truncation, clippy::use_debug)]
54
#![allow(unexpected_cfgs)]
65

76
#[cfg(not(codspeed))]

vortex-btrblocks/src/float/dictionary.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,6 @@ macro_rules! impl_encode {
6464
($typ:ty, $utyp:ty, $($ityp:ty),+) => {
6565
$(
6666
impl Encode<$typ, $ityp> for DictEncoder {
67-
#[allow(clippy::cast_possible_truncation)]
6867
fn encode(distinct: &[$typ], values: &[$typ]) -> Buffer<$ityp> {
6968
let mut codes =
7069
vortex_utils::aliases::hash_map::HashMap::<$utyp, $ityp>::with_capacity(

vortex-btrblocks/src/integer.rs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -387,7 +387,6 @@ impl Scheme for BitPackingScheme {
387387
BITPACKING_SCHEME
388388
}
389389

390-
#[allow(clippy::cast_possible_truncation)]
391390
fn expected_compression_ratio(
392391
&self,
393392
stats: &IntegerStats,
@@ -414,7 +413,6 @@ impl Scheme for BitPackingScheme {
414413
)
415414
}
416415

417-
#[allow(clippy::cast_possible_truncation)]
418416
fn compress(
419417
&self,
420418
stats: &IntegerStats,

vortex-btrblocks/src/integer/dictionary.rs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,6 @@ macro_rules! typed_encode {
4343
}
4444

4545
/// Compresses an integer array into a dictionary arrays according to attached stats.
46-
#[allow(clippy::cognitive_complexity)]
4746
pub fn dictionary_encode(stats: &IntegerStats) -> DictArray {
4847
// We need to preserve the nullability somehow from the original
4948
let src_validity = stats.src.validity();
@@ -72,7 +71,6 @@ macro_rules! impl_encode {
7271
($typ:ty, $($ityp:ty),+) => {
7372
$(
7473
impl Encode<$typ, $ityp> for DictEncoder {
75-
#[allow(clippy::cast_possible_truncation)]
7674
fn encode(distinct: &[$typ], values: &[$typ]) -> Buffer<$ityp> {
7775
let mut codes =
7876
vortex_utils::aliases::hash_map::HashMap::<$typ, $ityp>::with_capacity(

vortex-btrblocks/src/string.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,6 @@ pub struct StringStats {
3030
}
3131

3232
/// Estimate the number of distinct strings in the var bin view array.
33-
#[allow(clippy::cast_possible_truncation)]
3433
fn estimate_distinct_count(strings: &VarBinViewArray) -> u32 {
3534
let views = strings.views();
3635
// Iterate the views. Two strings which are equal must have the same first 8-bytes.

0 commit comments

Comments
 (0)