Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions datafusion/catalog/src/information_schema.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1167,7 +1167,7 @@ struct InformationSchemaRoutinesBuilder {
}

impl InformationSchemaRoutinesBuilder {
#[allow(clippy::too_many_arguments)]
#[expect(clippy::too_many_arguments)]
fn add_routine(
&mut self,
catalog_name: impl AsRef<str>,
Expand Down Expand Up @@ -1301,7 +1301,7 @@ struct InformationSchemaParametersBuilder {
}

impl InformationSchemaParametersBuilder {
#[allow(clippy::too_many_arguments)]
#[expect(clippy::too_many_arguments)]
fn add_parameter(
&mut self,
specific_catalog: impl AsRef<str>,
Expand Down
1 change: 1 addition & 0 deletions datafusion/catalog/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@
#![cfg_attr(not(test), deny(clippy::clone_on_ref_ptr))]
#![deny(clippy::needless_pass_by_value)]
#![cfg_attr(test, allow(clippy::needless_pass_by_value))]
#![deny(clippy::allow_attributes)]

//! Interfaces and default implementations of catalogs and schemas.
//!
Expand Down
4 changes: 2 additions & 2 deletions datafusion/catalog/src/schema.rs
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ pub trait SchemaProvider: Debug + Sync + Send {
///
/// If a table of the same name was already registered, returns "Table
/// already exists" error.
#[allow(unused_variables)]
#[expect(unused_variables)]
fn register_table(
&self,
name: String,
Expand All @@ -81,7 +81,7 @@ pub trait SchemaProvider: Debug + Sync + Send {
/// schema and returns the previously registered [`TableProvider`], if any.
///
/// If no `name` table exists, returns Ok(None).
#[allow(unused_variables)]
#[expect(unused_variables)]
fn deregister_table(&self, name: &str) -> Result<Option<Arc<dyn TableProvider>>> {
exec_err!("schema provider does not support deregistering tables")
}
Expand Down