I cached a table in Databricks (SQL Notebook) using
CACHE TABLE work_details AS SELECT (....)
The problem is that I can only access the cached table if I am in the same notebook. I want to use the table in a different notebook (same cluster) but it throws the error table or view not found
Is there any workaround for this?
EDIT:
Note, I cannot use views here because the cached table has a lot of rows and is further used to join different tables to create the final required table. If I use VIEWS instead of the cached table, the time taken to create the final table is increased which I do not want.
Ques: Why can't I cache the table again in the new notebook?
Ans: This is the solution I am using right now, but I need a workaround where I can use this table across multiple notebooks without having to cache it again and again and still have the same performance.