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

fix: google.cloud.gcp_bigquery_table clustering fields #652

Conversation

gomesfernandes
Copy link

SUMMARY

BigQuery table with clustering creation returns error

Fixes #620

ISSUE TYPE
  • Bugfix Pull Request
COMPONENT NAME

gcp_bigquery_table

ADDITIONAL INFORMATION

The BigQuery API expects the clustering parameters to be sent with this format:

{
  "clustering": {
    "fields": ["field1", "field2"]
  }
}

They are currently being sent in this format (no fields):

{
  "clustering": ["field1", "field2"]
}

@SirGitsalot SirGitsalot merged commit 5a395e2 into ansible-collections:master Nov 12, 2024
13 checks passed
@gomesfernandes gomesfernandes deleted the fix/bigquery-clustering-fields branch November 12, 2024 08:34
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.cloud.gcp_bigquery_table: Bigquery table with clustering creation returns error
2 participants