pgFormatter
sqlfluff
Our great sponsors
pgFormatter | sqlfluff | |
---|---|---|
4 | 35 | |
1,601 | 7,199 | |
- | 2.1% | |
5.5 | 9.6 | |
about 1 month ago | 6 days ago | |
PLpgSQL | Python | |
PostgreSQL License | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
pgFormatter
- Command line SQL formatter or beautifier
- Ask HN: Preferred SQL Auto-Formatter?
-
How did you guys replace ALE?
I needed a formatter for SQL, didn’t like the available one and it took 10 lines of Lua to write a custom one for this.
-
What do you use to format SQL in PostgreSQL dialect?
I have found this https://github.com/darold/pgFormatter, but I am not sure if there is something else that I haven't discovered yet.
sqlfluff
-
🐍🐍 23 issues to grow yourself as an exceptional open-source Python expert 🧑💻 🥇
Repo : https://github.com/sqlfluff/sqlfluff
-
SQL Reserved Words – The Empirical List
I'm surprised sqlfluff hasn't been mentioned yet. Perhaps not a comprehensive list, but it's worked for everything I've thrown at it. There's an ANSI keyword list [0], and then dialect-specific lists for everything from DB2 [1] to Snowflake [2].
[0]: https://github.com/sqlfluff/sqlfluff/blob/main/src/sqlfluff/...
-
Show HN: Postgres Language Server
It has tons of annoying quirks, but I couldn't imagine running a DBT project without it: https://github.com/sqlfluff/sqlfluff
-
Front page news headline scraping data engineering project
Move SQL queries to sql files and read from files (Use sqlfluff to lint the code https://github.com/sqlfluff/sqlfluff)
- Anything like SQLFluff written in Rust?
-
Code autoformatter for SQL in VSCode that plays nicely with dbt
SQLFluff is a good CLI tool for this and includes support for jinja and dbt. I don't think there's a VSCode plugin for it yet.
-
Ask HN: How do you test SQL?
This linter can really enforce some best practices https://github.com/sqlfluff/sqlfluff
A list of best practices:
-
What is something you would learn at college but not a bootcamp (hard skills)
BigQuery SQL and SQLFluff
-
Is the knowledge on how Compilers work applicable to the role of a Data Engineer?
There's a SQL parser/linter called SQLFluff that my team uses for our CI/CD. I've made a few pull requests to fix the parser for the particular SQL dialect we used, and my college compiler classes definitely helped.
-
sqlfluff VS ANTLR - a user suggested alternative
2 projects | 12 Dec 2022
What are some alternatives?
sqlfmt - SQL formatter with width-aware output
vscode-sqlfluff - An extension to use the sqlfluff linter in vscode.
nvim-ale-diagnostic - Display Neovim LSP diagnostics in ALE.
sqlparse - A non-validating SQL parser module for Python
sqlfmt - SQL Formatter
dbt-utils - Utility functions for dbt projects.
.dotfiles
ale - Check syntax in Vim/Neovim asynchronously and fix files, with Language Server Protocol (LSP) support
sqlf
soda-sql - Data profiling, testing, and monitoring for SQL accessible data.
Metabase - The simplest, fastest way to get business intelligence and analytics to everyone in your company :yum:
airbyte - The leading data integration platform for ETL / ELT data pipelines from APIs, databases & files to data warehouses, data lakes & data lakehouses. Both self-hosted and Cloud-hosted.