File tree Expand file tree Collapse file tree 6 files changed +11
-10
lines changed
vortex-duckdb/src/convert Expand file tree Collapse file tree 6 files changed +11
-10
lines changed Original file line number Diff line number Diff line change @@ -281,7 +281,7 @@ pub trait Compressor {
281281 /// Evaluates all available schemes against the provided statistics and returns
282282 /// the one with the highest compression ratio. Falls back to the default scheme
283283 /// if no scheme provides compression benefits.
284- #[ expect ( clippy:: cognitive_complexity) ]
284+ #[ allow ( clippy:: cognitive_complexity) ]
285285 fn choose_scheme (
286286 stats : & Self :: StatsType ,
287287 is_sample : bool ,
Original file line number Diff line number Diff line change @@ -43,6 +43,7 @@ fn like_pattern_str(value: &duckdb::Expression) -> VortexResult<Option<String>>
4343 }
4444}
4545
46+ #[ allow( clippy:: cognitive_complexity) ]
4647pub fn try_from_bound_expression ( value : & duckdb:: Expression ) -> VortexResult < Option < Expression > > {
4748 let Some ( value) = value. as_class ( ) else {
4849 tracing:: debug!( "no expression class id {:?}" , value. as_class_id( ) ) ;
Original file line number Diff line number Diff line change @@ -7,6 +7,12 @@ use std::env;
77use std:: path:: PathBuf ;
88
99fn main ( ) {
10+ // Set up dependency tracking
11+ println ! ( "cargo:rerun-if-changed=src/" ) ;
12+ println ! ( "cargo:rerun-if-changed=cbindgen.toml" ) ;
13+ println ! ( "cargo:rerun-if-changed=Cargo.toml" ) ;
14+ println ! ( "cargo:rerun-if-changed=build.rs" ) ;
15+
1016 // Skip header generation in environments where cbindgen macro expansion fails
1117 if env:: var ( "MIRI" ) . is_ok ( ) || env:: var ( "MIRIFLAGS" ) . is_ok ( ) {
1218 println ! ( "cargo:warning=Skipping header generation under miri (cbindgen incompatible)" ) ;
@@ -59,10 +65,4 @@ fn main() {
5965 panic ! ( "Failed to generate header with cbindgen: {}" , e) ;
6066 }
6167 }
62-
63- // Set up dependency tracking
64- println ! ( "cargo:rerun-if-changed=src/" ) ;
65- println ! ( "cargo:rerun-if-changed=cbindgen.toml" ) ;
66- println ! ( "cargo:rerun-if-changed=Cargo.toml" ) ;
67- println ! ( "cargo:rerun-if-changed=build.rs" ) ;
6868}
Original file line number Diff line number Diff line change @@ -736,7 +736,7 @@ vx_array_iterator *vx_file_scan(const vx_session *session,
736736/**
737737 * Set the stderr logger to output at the specified level.
738738 *
739- * This function is optional, if it is not called then no logger will be installed .
739+ * The logger will only be installed on the first call .
740740 */
741741void vx_set_log_level (vx_log_level level );
742742
Original file line number Diff line number Diff line change @@ -125,7 +125,7 @@ impl State {
125125 }
126126 }
127127
128- #[ expect ( clippy:: cognitive_complexity) ]
128+ #[ allow ( clippy:: cognitive_complexity) ]
129129 fn on_event ( & mut self , event : ReadEvent ) {
130130 tracing:: debug!( ?event, "Received ReadEvent" ) ;
131131 match event {
Original file line number Diff line number Diff line change @@ -181,7 +181,7 @@ impl<T> Drop for InstrumentedReadAt<T>
181181where
182182 T : VortexReadAt ,
183183{
184- #[ expect ( clippy:: cognitive_complexity) ]
184+ #[ allow ( clippy:: cognitive_complexity) ]
185185 fn drop ( & mut self ) {
186186 let sizes = self . sizes . snapshot ( ) ;
187187 tracing:: debug!( "Reads: {}" , self . sizes. count( ) ) ;
You can’t perform that action at this time.
0 commit comments