Repository navigation
bigquery: Add ANY_TABLE support for BigQuery routine arguments - #1571
Merged
Conversation
[upstream:aad42de6b6564e69c864647145979e60c9eaece1] Signed-off-by: Modular Magician <magic-modules@google.com>
modular-magician
merged commit Nov 9, 2026
9e91938
into
terraform-google-modules:master
3 checks passed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Adds
ANY_TABLEtogoogle_bigquery_routine.arguments.argument_kindso Terraform can define table-valued functions that accept a table without a fixed schema. BigQuery already supports this argument kind, but the provider's enum validation currently rejects it. See the BigQuery API reference and table parameter documentation.Adds a generated documentation example and acceptance coverage for creation with
ANY_TABLE, in-place updates toFIXED_TABLEand back, and verified import after each step. Also clarifies thatdata_typeis required forFIXED_TYPEarguments.Verification
make buildpassed in both generated providers, including formatting checks andgo vet ./....make testnolint TEST=./google/services/bigqueryandmake testnolint TEST=./google-beta/services/bigquerypassed withTF_ACCunset.terraform validatepassed using the freshly built GA provider withargument_kind = "ANY_TABLE"and bothdata_typeandtable_typeomitted.test_extract_gcs_links_from_issue_beta_in_test_name; the identical failure reproduces on untouched upstream commit6fe4e0b0bfa86386665285edabc10c0dd8eb37e1.Release Note Template for Downstream PRs (will be copied)
Derived from GoogleCloudPlatform/magic-modules#19417