Skip to content

Commit bb1d7f9

Browse files
authored
Improve MemoryCatalogProvider default impl block placement (#7975)
1 parent 7ee2c0b commit bb1d7f9

File tree

1 file changed

+6
-6
lines changed
  • datafusion/core/src/catalog

1 file changed

+6
-6
lines changed

datafusion/core/src/catalog/mod.rs

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -93,12 +93,6 @@ impl CatalogList for MemoryCatalogList {
9393
}
9494
}
9595

96-
impl Default for MemoryCatalogProvider {
97-
fn default() -> Self {
98-
Self::new()
99-
}
100-
}
101-
10296
/// Represents a catalog, comprising a number of named schemas.
10397
pub trait CatalogProvider: Sync + Send {
10498
/// Returns the catalog provider as [`Any`]
@@ -161,6 +155,12 @@ impl MemoryCatalogProvider {
161155
}
162156
}
163157

158+
impl Default for MemoryCatalogProvider {
159+
fn default() -> Self {
160+
Self::new()
161+
}
162+
}
163+
164164
impl CatalogProvider for MemoryCatalogProvider {
165165
fn as_any(&self) -> &dyn Any {
166166
self

0 commit comments

Comments
 (0)