cancel
Showing results for 
Search instead for 
Did you mean: 
Data Engineering
cancel
Showing results for 
Search instead for 
Did you mean: 

Why was SQL formatting removed inside spark.sql functions? Now it looks like a plain string.

EmilioGC
New Contributor III

Previously we were able to see SQL queries inside spark.sql() like this:

old formatBut now it just looks like a plain string:

new format 

I know it's not a big issue, but it's still annoying to have to code in SQL while having it all be blue, it makes debugging more cumbersome. Is there any way to change it back to the way it was?

1 ACCEPTED SOLUTION

Accepted Solutions

Hubert-Dudek
Esteemed Contributor III

You need to go to "User settings." Then to "Editor settings" and activate the option "New notebook editor".

image.png

View solution in original post

5 REPLIES 5

Mailendiran
New Contributor II

Did you find any solution for this?

While debugging, It is annoying actually.

Hubert-Dudek
Esteemed Contributor III

You need to go to "User settings." Then to "Editor settings" and activate the option "New notebook editor".

image.png

Thanks . Plain blue has gone now.😀

Awesome thanks a lot

jose_gonzalez
Moderator
Moderator

Hi @Emilio Garza​,

Just a friendly follow-up. Did any of the responses help you to resolve your question? if it did, please mark it as best. Otherwise, please let us know if you still need help.

Welcome to Databricks Community: Lets learn, network and celebrate together

Join our fast-growing data practitioner and expert community of 80K+ members, ready to discover, help and collaborate together while making meaningful connections. 

Click here to register and join today! 

Engage in exciting technical discussions, join a group with your peers and meet our Featured Members.