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: 

SQL table alias autocomplete

jt
New Contributor III

I have a table with 600 columns and the table name is long. I want to use a table alias with autocomplete but it's not working. Any ideas how I can get this to work?

works

%sql 
 
--autocomplete works 
SELECT 
verylongtablename.column200 
verylongtablename.column300
FROM
verylongtablename
WHERE
verylongtablename.column400 = 'yes'

does not work

%sql 
 
--autocomplete doest not work
SELECT 
a.column200 
a.column300
FROM
verylongtablename as a
WHERE
a.column400 = 'yes'

2 REPLIES 2

Aviral-Bhardwaj
Esteemed Contributor III

autocomplete works when you have a running cluster, can you please check and update, because it is working fine for me

AviralBhardwaj

jt
New Contributor III

My cluster is running fine. Does autocomplete work for you with a table alias?

Join Us as a Local Community Builder!

Passionate about hosting events and connecting people? Help us grow a vibrant local community—sign up today to get started!

Sign Up Now