THIS IS A TEST INSTANCE. ALL YOUR CHANGES WILL BE LOST!!!!
...
private final Map<ObjectIdentifier, CatalogView> temporaryViews;
private final Map<ObjectIdentifier, CatalogTable> temporaryTables;
private final Map<ObjectIdentifier, CatalogFunction> temporaryFunctions;
Rejected alternatives:
- 1-part path
- no other system has such semantics, all systems assign temporary tables & views to some schema (either with the same rules as regular objects or special temporary schema)
- Require special names for temporary objects, e.g. (#name as in SQL Server, or PTT_nam as in ORACLE)
- Register temporary objects in a special DB (as in SQL Server, Oracle, Postgres)
References:
How other systems handle temporary objects:
...