1 dépôt
Linting and validating SQL templates using dummy parameters before final rendering.
Distinct from SQL Templating Engines: Focuses on analysis and validation of the template, not the engine that injects variables.
Explore 1 awesome GitHub repository matching data & databases · Static Template Analysis. 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
Evaluates files containing placeholders or macros using dummy parameters to validate style and correctness.