- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-04-2025 05:08 AM
Hi @al_rammos,
Thanks for your detail comments and replication of the issue. There have been known issues in recent DBR versions where dynamically created temporary views are not being properly resolved during certain operations due to incorrect session mapping. For example, display commands or interactive queries sometimes reference a placeholder instead of the user's actual session. This misalignment means temporary views may not be accessible from the session where the view was created. I will check internally if there is any case open for this.
Could you please try to see if it works:
if temp_view_name in [v.name for v in self.spark.catalog.listTables()]:
self.spark.catalog.dropTempView(temp_view_name)