Skip to content

improve big query job error messages #2998

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

Conversation

modular-magician
Copy link
Collaborator

  • add validation to check if project_id and dataset_id are set,
  • return descriptive error when the either variable is not set.

image

Fixes hashicorp/terraform-provider-google#19834

bigquery: added descriptive validation errors for missing required fields in `google_bigquery_job` destination table configuration

Derived from GoogleCloudPlatform/magic-modules#12157

[upstream:9323d5fb8acdf32fb92f08e21af26cb0e2d1feb2]

Signed-off-by: Modular Magician <[email protected]>
@modular-magician modular-magician requested a review from a team as a code owner October 29, 2024 18:05
@modular-magician modular-magician requested review from ScottSuarez and removed request for a team October 29, 2024 18:05
Copy link

🤖 I detect that the PR title and the commit message differ and there's only one commit. To use the PR title for the commit history, you can use Github's automerge feature with squashing, or use automerge label. Good luck human!

-- conventional-commit-lint bot
https://conventionalcommits.org/

@modular-magician modular-magician merged commit 098b0e2 into GoogleCloudPlatform:main Oct 29, 2024
4 of 6 checks passed
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

Successfully merging this pull request may close these issues.

google_bigquery_job - required paramter missing (project_reference)
1 participant