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

Add external catalog table options to google_bigquery_table beta #12528

Merged

Conversation

wj-chen
Copy link
Member

@wj-chen wj-chen commented Dec 9, 2024

Add external catalog table options to google_bigquery_table beta.

Release Note Template for Downstream PRs (will be copied)

See Write release notes for guidance.

bigquery: added `external_catalog_table_options` field to `google_bigquery_table` resource (beta)

@github-actions github-actions bot requested a review from zli82016 December 9, 2024 23:01
Copy link

github-actions bot commented Dec 9, 2024

Hello! I am a robot. Tests will require approval from a repository maintainer to run.

@zli82016, a repository maintainer, has been assigned to review your changes. If you have not received review feedback within 2 business days, please leave a comment on this PR asking them to take a look.

You can help make sure that review is quick by doing a self-review and by running impacted tests locally.

@modular-magician
Copy link
Collaborator

Hi there, I'm the Modular magician. I've detected the following information about your changes:

Diff report

Your PR generated some diffs in downstreams - here they are.

google provider: Diff ( 3 files changed, 72 insertions(+), 10 deletions(-))
google-beta provider: Diff ( 3 files changed, 431 insertions(+), 7 deletions(-))

Missing test report

Your PR includes resource fields which are not covered by any test.

Resource: google_bigquery_table (146 total tests)
Please add an acceptance test which includes these fields. The test should include the following:

resource "google_bigquery_table" "primary" {
  external_catalog_table_options {
    connection_id = # value needed
  }
}

@modular-magician
Copy link
Collaborator

Tests analytics

Total tests: 127
Passed tests: 116
Skipped tests: 10
Affected tests: 1

Click here to see the affected service packages
  • bigquery

Action taken

Found 1 affected test(s) by replaying old test recordings. Starting RECORDING based on the most recent commit. Click here to see the affected tests
  • TestAccBigQueryTable_externalCatalogTableOptions

Get to know how VCR tests work

@modular-magician
Copy link
Collaborator

🟢 Tests passed during RECORDING mode:
TestAccBigQueryTable_externalCatalogTableOptions [Debug log]

🟢 No issues found for passed tests after REPLAYING rerun.


🟢 All tests passed!

View the build log or the debug log for each test

@zli82016
Copy link
Member

zli82016 commented Dec 9, 2024

Missing test report

Your PR includes resource fields which are not covered by any test.

Resource: google_bigquery_table (146 total tests) Please add an acceptance test which includes these fields. The test should include the following:

resource "google_bigquery_table" "primary" {
  external_catalog_table_options {
    connection_id = # value needed
  }
}

Is it possible to add the missing test for connection_id?

Copy link
Member

@zli82016 zli82016 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

add the missing test for connection_id

@wj-chen wj-chen force-pushed the pangea-table-catalog-options branch from 6f304a0 to 41ac8c0 Compare December 16, 2024 21:45
@github-actions github-actions bot requested a review from zli82016 December 16, 2024 21:46
@modular-magician
Copy link
Collaborator

Hi there, I'm the Modular magician. I've detected the following information about your changes:

Diff report

Your PR generated some diffs in downstreams - here they are.

google provider: Diff ( 3 files changed, 72 insertions(+), 10 deletions(-))
google-beta provider: Diff ( 3 files changed, 447 insertions(+), 7 deletions(-))

@modular-magician
Copy link
Collaborator

Tests analytics

Total tests: 128
Passed tests: 117
Skipped tests: 10
Affected tests: 1

Click here to see the affected service packages
  • bigquery

Action taken

Found 1 affected test(s) by replaying old test recordings. Starting RECORDING based on the most recent commit. Click here to see the affected tests
  • TestAccBigQueryTable_externalCatalogTableOptions

Get to know how VCR tests work

@modular-magician
Copy link
Collaborator

🔴 Tests failed during RECORDING mode:
TestAccBigQueryTable_externalCatalogTableOptions [Error message] [Debug log]

🔴 Errors occurred during RECORDING mode. Please fix them to complete your PR.

View the build log or the debug log for each test

@wj-chen wj-chen force-pushed the pangea-table-catalog-options branch from 41ac8c0 to b323403 Compare December 16, 2024 22:14
@modular-magician
Copy link
Collaborator

Hi there, I'm the Modular magician. I've detected the following information about your changes:

Diff report

Your PR generated some diffs in downstreams - here they are.

google provider: Diff ( 3 files changed, 72 insertions(+), 10 deletions(-))
google-beta provider: Diff ( 3 files changed, 451 insertions(+), 7 deletions(-))

@modular-magician
Copy link
Collaborator

Tests analytics

Total tests: 128
Passed tests: 117
Skipped tests: 10
Affected tests: 1

Click here to see the affected service packages
  • bigquery

Action taken

Found 1 affected test(s) by replaying old test recordings. Starting RECORDING based on the most recent commit. Click here to see the affected tests
  • TestAccBigQueryTable_externalCatalogTableOptions

Get to know how VCR tests work

@modular-magician
Copy link
Collaborator

🟢 Tests passed during RECORDING mode:
TestAccBigQueryTable_externalCatalogTableOptions [Debug log]

🟢 No issues found for passed tests after REPLAYING rerun.


🟢 All tests passed!

View the build log or the debug log for each test

@wj-chen
Copy link
Member Author

wj-chen commented Dec 16, 2024

add the missing test for connection_id

Added connection_id as a field to the same new test

Copy link
Member

@zli82016 zli82016 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@zli82016
Copy link
Member

@obada-ab, can you review this PR when you have time? Thanks.

@zli82016
Copy link
Member

@wj-chen, is there a Github issue for this PR?

Copy link
Contributor

@obada-ab obada-ab left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

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

Successfully merging this pull request may close these issues.

4 participants