Categories / Database

AfterShip

AfterShip / clickhouse-sql-parser

Go library and CLI that parses ClickHouse-dialect SQL into a typed AST. Supports lexing, parsing, AST walking, round-trip formatting, and beautification. Use for query linting, static analysis, rewriting, access-control enforcement, schema validation, and SQL formatting.

Last push 1 day ago

clickhouse go sql-parser

Created

Sep 2023

Total stars

256

7 days

0

30 days

+1

12 months

+45

Star trends

README badge

Best of Go badge for AfterShip/clickhouse-sql-parser
[![Best of Go](https://bestofgo.dev/badge/AfterShip/clickhouse-sql-parser.svg)](https://bestofgo.dev/AfterShip/clickhouse-sql-parser)