cancel
Showing results for 
Search instead for 
Did you mean: 
Data Engineering
Join discussions on data engineering best practices, architectures, and optimization strategies within the Databricks Community. Exchange insights and solutions with fellow data engineers.
cancel
Showing results for 
Search instead for 
Did you mean: 

New text editor "Monaco" does not find SQL-tables or aliases.

ValterF
New Contributor II

I am having troubles with the new text editor "Monaco", it does not find my SQL-tables as soon as they are nested in SQL-commands and marks them with red underscoring which is really annoying. Even though the code works perfectly...

It also have troubles finding aliases sometimes in SQL-commands, for example the "TARGET" gets underlined with red text:

merge into GOLD.facttable as TARGET
using (select 
fv.Account as Account,
fv.FinancialYear as FinancialYear
from (
select 
account, 
year(calendardate) as FinancialYear 
from gold.dimensiontable
group by account, year(calendardate)) as fv
left join silver.dimensiontable2 as bm
on bm.account = fv.account) as source
on TARGET.account = source.account and source.financialyear = year(TARGET.calendardate)
WHEN MATCHED THEN UPDATE SET *

This is frustrating, until fixed I'll stick with the old editor.

Another feature I would like to see in this new editor is a space after each autocompleted "tab"-keypress.

1 REPLY 1

Hi Databricks team,

I also found sql intellisense does not work when using

USE DB or USE Catalog.DB

It only works when using full table names such as catalog.db.table_name

but typically I don't use full table names. I set use DB at top of the notebook as the same notebook may be used for another database.

Connect with Databricks Users in Your Area

Join a Regional User Group to connect with local Databricks users. Events will be happening in your city, and you won’t want to miss the chance to attend and share knowledge.

If there isn’t a group near you, start one and help create a community that brings people together.

Request a New Group