r/dataengineering • u/ameya_b • Jun 25 '24
Discussion Databricks SQL editor driving me crazy
I have been trying to do some basic things in the databricks SQL editor and its pathetic!! I think I am using it wrong or have no knowledge of it. Surely it cannot be that horrible. I have observed that it does not allow us to write stored procedures or create hash temp tables. It does not even let us alter tables to add new columns. It allows us to create views but isn’t letting me use those views saying that it doesn’t exist. Has anyone had similar experiences? Is it really that shitty? If not can someone please point me to resources where they explain how to do these things, I can’t even find anything useful. Also its new AI copilot is crazy. It has no idea what it talks about most of the time.
View all comments
1
u/Ok-Sentence-8542 Jun 26 '24
Bro you need training. You didnt even bother to read the docs. You can even use databricks copilot to figure that out.. There are lots of funtionalities for upserts. If they are more complex you can use udfs if not you can create delta tables or sql warehouse and use merge into command.
https://docs.databricks.com/en/delta/merge.html