| Crates.io | bq-rs |
| lib.rs | bq-rs |
| version | 0.2.4 |
| created_at | 2023-11-24 20:04:09.94013+00 |
| updated_at | 2024-12-06 03:51:04.211696+00 |
| description | A CLI for querying BigQuery tables Project homepage: https://github.com/isaacadams/bq-rs |
| homepage | https://github.com/isaacadams/bq-rs |
| repository | https://github.com/isaacadams/bq-rs |
| max_upload_size | |
| id | 1047567 |
| size | 55,934 |
bq-rsa command line utility for interacting with bigquery
All the commands require authentication via service account. The path to the service account key json file can be passed into bq-rs via the --key argument.
bq-rs --key <SERVICE-ACCOUNT-KEY-PATH> ...e.g. bq-rs --key ./key.json ...
Bigquery tables can be queried and its results returned as CSV by using the query subcommand.
bq-rs <...ARGS> query <QUERY>e.g. bq-rs --key ./key.json query "SELECT * FROM <project-id>.<dataset-id>.<table-id>"