We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e3e3c55 commit 4e8a1a5Copy full SHA for 4e8a1a5
1 file changed
datafusion/common/src/dfschema.rs
@@ -323,8 +323,7 @@ impl DFSchema {
323
/// Returns a reference to an empty set when no ambiguous names have been
324
/// recorded (the common case).
325
pub fn ambiguous_names(&self) -> &HashSet<String> {
326
- static EMPTY: std::sync::OnceLock<HashSet<String>> =
327
- std::sync::OnceLock::new();
+ static EMPTY: std::sync::OnceLock<HashSet<String>> = std::sync::OnceLock::new();
328
self.ambiguous_names
329
.as_deref()
330
.unwrap_or_else(|| EMPTY.get_or_init(HashSet::new))
0 commit comments