Skip to content

Format the SQL

Format lays out the SQL in the editor with consistent line breaks and indentation. It follows the datastore's own dialect in Source SQL, and Spark SQL in Spark SQL mode.

Related

Step 1: Open the workspace from the Workspaces panel.

Step 2: Click Format under the editor, at its right, or press Shift+Option+FShift+Alt+F. On a narrow editor card, the button shows its icon only.

The SQL is rewritten in place.