Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bigquery table schema validation #324

Open
random-coder-111 opened this issue May 16, 2021 · 0 comments
Open

Bigquery table schema validation #324

random-coder-111 opened this issue May 16, 2021 · 0 comments

Comments

@random-coder-111
Copy link

A way required to check the name, type and mode of the fields in a Bigquery table.

Detailed Description :
I require a way to validate the fields in a bigquery table. I already tried using its('schema.fields.name') {should include 'Event_Name'} inside the google_bigquery_table module, but its giving me an error - undefined method - when I tried to run inspec.

Context:
I am trying to create a unit testing framework to check the schema of bigquery tables after it is deployed in test region. One of the test cases is checking if the column names are matching with what we have given in the Terraform code. Please let me know how to access the schema components.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant