diff --git a/clippy.toml b/clippy.toml index ea3609b574c06..a8506de0de10a 100644 --- a/clippy.toml +++ b/clippy.toml @@ -5,6 +5,8 @@ disallowed-methods = [ disallowed-types = [ { path = "std::time::Instant", reason = "Use `datafusion_common::instant::Instant` instead for WASM compatibility" }, + { path = "std::collections::HashMap", reason = "Use `datafusion_common::HashMap` instead to ensure a single, uniform HashMap implementation (re-exported from hashbrown)" }, + { path = "std::collections::HashSet", reason = "Use `datafusion_common::HashSet` instead to ensure a single, uniform HashSet implementation (re-exported from hashbrown)" }, ] # Lowering the threshold to help prevent stack overflows (default is 16384)