Hi @milan2,
Thanks for raising this. What you are describing sounds like the text is being visually replaced in the editor, but the change is not actually being persisted.
We have also seen a recent report of similar behaviour where using the browser’s Find and Replace in notebook SQL cells changed the visible text, but execution still used the original text, and the cell sometimes reverted afterwards. I believe the team is already working on the fix.
Databricks Notebooks have a native find-and-replace tool, and the documented behaviour is that Cmd/Ctrl+F opens the notebook find dialog box, with Cmd/Ctrl+F again switching to the browser’s built-in search. The native notebook tool is the supported path for Replace and Replace All in notebooks.
If this keeps happening, and especially if it is happening on a paid workspace, I would recommend opening a Databricks support ticket so the team can investigate with workspace-specific details. For reference, the public notebook editor documentation is here: Databricks notebook editor.
If this answer resolves your question, could you mark it as “Accept as Solution”? That helps other users quickly find the correct fix.
Regards,
Ashwin | Delivery Solution Architect @ Databricks
Helping you build and scale the Data Intelligence Platform.
***Opinions are my own***