`bq-validator` enables us to validate BigQuery queries.
Project description
bq-validator
This is a yet another BigQuery query validator.
The bq query --dry_run
command enables us to validate queries.
However, the bq
command doesn't support OIDC and impersonate service account.
How to use
Usage: bq-validator [OPTIONS] PATH
Validate BigQuery queries
PATH is either of a SQL file path or a directory. When it is a directory,
the command recursively validates all SQL files in the directory.
Options:
--client_project TEXT BigQuery client project ID
--client_location TEXT BigQuery client location
--impersonate_service_account TEXT
Impersonate service account email
--version Show the version and exit.
--help Show this message and exit.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
bq-validator-0.1.0.tar.gz
(17.8 kB
view hashes)
Built Distribution
Close
Hashes for bq_validator-0.1.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 01c061ac75cdbdce8375cefb1a0f90b89e9e247e53b567f3bffa8158121fb3bc |
|
MD5 | 346f8c8a9e28f0ed557f23f00de0aefc |
|
BLAKE2b-256 | ee535794915544e756f594dc7e0223eb601869ccf801a3a6ec7e0fde11040792 |