{"id":28391596,"url":"https://github.com/rohithay/sql-bench","last_synced_at":"2025-06-25T21:31:07.146Z","repository":{"id":295988061,"uuid":"991913109","full_name":"rohithay/sql-bench","owner":"rohithay","description":"An elegant CLI toolkit for validating BigQuery queries, comparing schemas, and estimating costs before pushing code to production.","archived":false,"fork":false,"pushed_at":"2025-05-28T11:39:53.000Z","size":35,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-05-31T20:12:02.538Z","etag":null,"topics":["bigquery","cli","cloud-tools","data-engineering","developer-tools","google-cloud","query-validator","schema-diff","sql","sql-lint"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"cc0-1.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/rohithay.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-05-28T10:37:12.000Z","updated_at":"2025-05-28T14:59:56.000Z","dependencies_parsed_at":"2025-05-28T12:34:54.229Z","dependency_job_id":"a9e9de41-e3ff-4cf1-8c6c-9fd7f31edc02","html_url":"https://github.com/rohithay/sql-bench","commit_stats":null,"previous_names":["rohithay/bench","rohithay/sql-bench"],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/rohithay/sql-bench","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rohithay%2Fsql-bench","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rohithay%2Fsql-bench/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rohithay%2Fsql-bench/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rohithay%2Fsql-bench/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/rohithay","download_url":"https://codeload.github.com/rohithay/sql-bench/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rohithay%2Fsql-bench/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":261955871,"owners_count":23235969,"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","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":["bigquery","cli","cloud-tools","data-engineering","developer-tools","google-cloud","query-validator","schema-diff","sql","sql-lint"],"created_at":"2025-05-31T09:42:46.962Z","updated_at":"2025-06-25T21:31:07.139Z","avatar_url":"https://github.com/rohithay.png","language":"Python","readme":"# bench\n\u003cp align=\"center\"\u003e\n  \u003cimg src=\"docs/assets/bench-logo.svg\" width=\"250\" alt=\"bench logo\"\u003e\n\u003c/p\u003e\n\n\u003cp align=\"center\"\u003e\n  \u003ca href=\"https://pypi.org/project/bench/\"\u003e\u003cimg src=\"https://img.shields.io/pypi/v/bench.svg\" alt=\"PyPI Version\"\u003e\u003c/a\u003e\n  \u003ca href=\"https://pypi.org/project/bench/\"\u003e\u003cimg src=\"https://img.shields.io/pypi/pyversions/bench.svg\" alt=\"Python Versions\"\u003e\u003c/a\u003e\n  \u003ca href=\"https://codecov.io/gh/rohithay/bench\"\u003e\u003cimg src=\"https://codecov.io/gh/rohithay/bench/branch/main/graph/badge.svg\" alt=\"Coverage Status\"\u003e\u003c/a\u003e\n  \u003ca href=\"https://github.com/rohithay/bench/blob/main/LICENSE\"\u003e\u003cimg src=\"https://img.shields.io/github/license/rohithay/bench.svg\" alt=\"License\"\u003e\u003c/a\u003e\n\u003c/p\u003e\n\n## 🌱 Features\n\n### Run a query and see\n```\nbench query \u003csql\u003e\n```\n* Execution time\n* Processed bytes\n\n### Perform a dry run\n```\nbench dryrun \u003csql\u003e\n```\n* Check syntax\n* Show bytes scanned\n* Exit 1 if error\n\n### Get schema for a table\n```\nbench schema \u003ctable\u003e\n```\n* As JSON or table\n* Optionally type check a result JSON against schema\n\n### Show schema diff\n```\nbench diff \u003ctable1\u003e \u003ctable2\u003e\n```\n* Additions, deletions, type mismatches\n\n### Lint `.sql` files\n```\nbench lint \u003cfile.sql\u003e\n```\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frohithay%2Fsql-bench","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frohithay%2Fsql-bench","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frohithay%2Fsql-bench/lists"}