Returns whether a temp table with the given name exists in the specified database.
(&self, database: &str, table_name: &str)
| 269 | |
| 270 | /// Returns whether a temp table with the given name exists in the specified database. |
| 271 | pub fn temp_table_exist(&self, database: &str, table_name: &str) -> bool { |
| 272 | let databases = self.temp_tables.read().unwrap_or_else(|e| e.into_inner()); |
| 273 | databases |
| 274 | .get(database) |
| 275 | .is_some_and(|db| db.table_exist(table_name)) |
| 276 | } |
| 277 | } |
| 278 | |
| 279 | /// Represents a [`SchemaProvider`] for the Paimon [`Catalog`], managing |
nothing calls this directly
no test coverage detected