{"id":32499390,"url":"https://github.com/clickhouse/clickhouse-analyzer","last_synced_at":"2025-10-27T15:53:12.147Z","repository":{"id":299678344,"uuid":"970902813","full_name":"ClickHouse/clickhouse-analyzer","owner":"ClickHouse","description":"SQL analyzer for ClickHouse SQL","archived":false,"fork":false,"pushed_at":"2025-10-08T03:10:40.000Z","size":51,"stargazers_count":10,"open_issues_count":2,"forks_count":2,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-10-08T05:33:44.768Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ClickHouse.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2025-04-22T17:55:51.000Z","updated_at":"2025-10-08T03:10:45.000Z","dependencies_parsed_at":"2025-06-17T19:30:12.298Z","dependency_job_id":null,"html_url":"https://github.com/ClickHouse/clickhouse-analyzer","commit_stats":null,"previous_names":["spencertorres/clickhouse-analyzer"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/ClickHouse/clickhouse-analyzer","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ClickHouse%2Fclickhouse-analyzer","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ClickHouse%2Fclickhouse-analyzer/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ClickHouse%2Fclickhouse-analyzer/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ClickHouse%2Fclickhouse-analyzer/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ClickHouse","download_url":"https://codeload.github.com/ClickHouse/clickhouse-analyzer/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ClickHouse%2Fclickhouse-analyzer/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":281295811,"owners_count":26476759,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-10-27T02:00:05.855Z","response_time":61,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2025-10-27T15:53:02.624Z","updated_at":"2025-10-27T15:53:12.136Z","avatar_url":"https://github.com/ClickHouse.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# ClickHouse Analyzer\n\nAn analyzer for ClickHouse SQL.\n\n## Goal\n\nThe idea for this project is to have a tool like [rust-analyzer](https://rust-analyzer.github.io) for ClickHouse SQL (LSP, auto-complete, formatting, code suggestions, analysis, node extraction, etc.)\n\n## Contributing\n\nThere's not much code here, it is only able to parse some elements of a `SELECT` query.\nFeel free to modify and restructure the project as needed.\n\nTo learn more about the theory for this parser, read [this blog post](https://matklad.github.io/2023/05/21/resilient-ll-parsing-tutorial.html).\n\nThe code has some sample WASM functions. If you want to build the WASM you can follow [this guide from MDN](https://developer.mozilla.org/en-US/docs/WebAssembly/Guides/Rust_to_Wasm#rust_environment_setup).\n\n## Example output\n\nSee `example_output.txt` for example of what the tree looks like.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fclickhouse%2Fclickhouse-analyzer","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fclickhouse%2Fclickhouse-analyzer","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fclickhouse%2Fclickhouse-analyzer/lists"}