File tree 2 files changed +5
-0
lines changed
2 files changed +5
-0
lines changed Original file line number Diff line number Diff line change @@ -295,6 +295,7 @@ impl Drop for FFI_ArrowSchema {
295
295
296
296
// returns the number of bits that buffer `i` (in the C data interface) is expected to have.
297
297
// This is set by the Arrow specification
298
+ #[ allow( clippy:: manual_bits) ]
298
299
fn bit_width ( data_type : & DataType , i : usize ) -> Result < usize > {
299
300
Ok ( match ( data_type, i) {
300
301
// the null buffer is bit sized
Original file line number Diff line number Diff line change @@ -662,6 +662,7 @@ impl ParquetTypeConverter<'_> {
662
662
}
663
663
}
664
664
665
+ #[ allow( clippy:: wrong_self_convention) ]
665
666
fn from_int32 ( & self ) -> Result < DataType > {
666
667
match (
667
668
self . schema . get_basic_info ( ) . logical_type ( ) ,
@@ -707,6 +708,7 @@ impl ParquetTypeConverter<'_> {
707
708
}
708
709
}
709
710
711
+ #[ allow( clippy:: wrong_self_convention) ]
710
712
fn from_int64 ( & self ) -> Result < DataType > {
711
713
match (
712
714
self . schema . get_basic_info ( ) . logical_type ( ) ,
@@ -758,6 +760,7 @@ impl ParquetTypeConverter<'_> {
758
760
}
759
761
}
760
762
763
+ #[ allow( clippy:: wrong_self_convention) ]
761
764
fn from_fixed_len_byte_array ( & self ) -> Result < DataType > {
762
765
match (
763
766
self . schema . get_basic_info ( ) . logical_type ( ) ,
@@ -796,6 +799,7 @@ impl ParquetTypeConverter<'_> {
796
799
)
797
800
}
798
801
802
+ #[ allow( clippy:: wrong_self_convention) ]
799
803
fn from_byte_array ( & self ) -> Result < DataType > {
800
804
match ( self . schema . get_basic_info ( ) . logical_type ( ) , self . schema . get_basic_info ( ) . converted_type ( ) ) {
801
805
( Some ( LogicalType :: STRING ( _) ) , _) => Ok ( DataType :: Utf8 ) ,
You can’t perform that action at this time.
0 commit comments