We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8231641 commit 13744e2Copy full SHA for 13744e2
datafusion_iceberg/src/catalog/mirror.rs
@@ -181,7 +181,9 @@ impl Mirror {
181
.map_err(DataFusionError::from)
182
}
183
pub fn table_exists(&self, identifier: Identifier) -> bool {
184
- self.storage.contains_key(&identifier.to_string())
+ self.storage.get(&identifier.to_string()).map_or(false, |node| {
185
+ matches!(node.value(), Node::Relation(_))
186
+ })
187
188
189
pub fn schema_exists(&self, name: &str) -> bool {
0 commit comments