Skip to main content

SQL Formatting

The SDF formatter is an extremely fast SQL formatter designed as a drop-in replacement for SQLFluff. It is available natively as part of the SDF cli.

sdf format

The entrypoint for the formatter is sdf format.

Formatting Configuration

You may set a formatting configuration for an SDF project.
workspace.sdf.yml

Formatting Reference

The following formatting options are supported.