Temporary table names are highlighted as syntax errors in SQL notebooks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-25-2023 07:03 AM
See attached screenshot. In my SQL notebook, declare a temporary view:
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-21-2023 12:42 PM
The issue might be that tmp_table was not registered at the time when editor was looking up for the table name on the account that the create or replace statement had not yet executed.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-18-2023 07:30 AM
My temp views always show red as well. Maybe it is something with our specific environment?
I've also noticed, when browsing the catalog from within the notebook, the temp tables are listed but an error is thrown when you try to view the columns of the temp view: "The table or view cannot be found or does not exist."