Get startedGet started for free

Understanding temporary views

A data engineer on your team loads a DataFrame containing filtered retail transactions and calls createOrReplaceTempView("retail_filtered"). The next day, a colleague opens a new notebook session and tries to query the view, but gets the error shown on the image.


Which of the following best explains why the view is unavailable?

This exercise is part of the course

Data Transformation with Spark SQL in Databricks

View Course

Hands-on interactive exercise

Turn theory into action with one of our interactive exercises

Start Exercise