1 Repo
Tools that check the syntax and style of SQL files containing macros or placeholders prior to rendering.
Distinct from SQL Templating Engines: Distinct from engines that simply render; this focuses on validating the templates before the rendering happens.
Explore 1 awesome GitHub repository matching data & databases · Templated SQL Validators. Refine with filters or upvote what's useful.
SQLFluff is a multi-dialect SQL linter, formatter, and style guide enforcer. It functions as a parser and analyzer that converts SQL scripts into structured trees to validate syntax, identify logical components, and enforce consistent capitalization, aliasing, and layout conventions across various database dialects. The system is specifically designed to handle templated SQL, providing the ability to analyze, parse, and lint files containing macros or placeholders. It uses dummy-parameter rendering and source mapping to validate the style and correctness of dynamic code before it is rendered
Checks the syntax and style of SQL files containing macros or placeholders before they are rendered into final queries.