See attached screenshot. In my SQL notebook, declare a temporary view:
CREATE OR REPLACE TEMP VIEW tmp_table AS
SELECT ...;
SELECT count(*) FROM tmp_table;
The code editor considers tmp_table is not a valid name in that latter SELECT. The reason is:
Could not find "hive_metastore.default.tmp_table"
Although it does not prevent me from running successfully my queries, it is annoying as the editor keeps refreshing with those errors every few seconds. Additionally, temporary table names are not picked up by auto-complete, which is frustrating as well.
Is there a way to make Databricks understands those tables should be looked up in the hive_metastore, but in the current session?
Thanks!