
Answer-first summary for fast verification
Answer: Temporary views are lost once the notebook is detached and re-attached
The correct answer is that temporary views are lost once the notebook is detached and re-attached. There are two types of temporary views: Session scoped and Global. A local/session scoped temporary view is only available within a spark session, meaning another notebook in the same cluster cannot access it. If a notebook is detached and reattached, the local temporary view is lost. A global temporary view is available to all notebooks in the cluster, but if the cluster restarts, the global temporary view is lost.
Author: LeetQuiz Editorial Team
Ultimate access to all questions.
What accurately describes a session scoped temporary view in Databricks?
A
Temporary views can be still accessed even if the notebook is detached and attached
B
Temporary views are lost once the notebook is detached and re-attached
C
Temporary views are created in local_temp database
D
Temporary views stored in memory
E
Temporary views can be still accessed even if cluster is restarted
No comments yet.