Skip to content

πŸ› BigQuery destination: always run GCS destination check for GCS staging method - #13579

Merged
Liren Tu (tuliren) merged 8 commits into
masterfrom
liren/patch-bigquery-destination
Jun 8, 2022
Merged

Liren Tu (tuliren) merged 8 commits into
masterfrom
liren/patch-bigquery-destination

Conversation

@tuliren

Copy link
Copy Markdown
Contributor

What

How

  • Always run GCS destination check, even when the service account has all the required permissions.

🚨 User Impact 🚨

  • Currently users can enter the wrong HMAC keys and their BigQuery destination check will pass.
  • Once this PR is merged and published, this false positive result will be gone. The connection check will fail if the HMAC keys are incorrect.

@github-actions github-actions Bot added the area/connectors Connector related issues label Jun 7, 2022
@tuliren Liren Tu (tuliren) changed the title Run gcs destination check all the time πŸ› BigQuery destination: always run GCS destination check for GCS staging method Jun 7, 2022
@tuliren

Liren Tu (tuliren) commented Jun 7, 2022 •

Copy link
Copy Markdown
Contributor Author

/test connector=connectors/destination-bigquery

πŸ•‘ connectors/destination-bigquery https://github.com/airbytehq/airbyte/actions/runs/2457854072
βœ… connectors/destination-bigquery https://github.com/airbytehq/airbyte/actions/runs/2457854072
Python tests coverage:

Name                                                              Stmts   Miss  Cover
-------------------------------------------------------------------------------------
normalization/transform_config/__init__.py                            2      0   100%
normalization/transform_catalog/reserved_keywords.py                 13      0   100%
normalization/transform_catalog/__init__.py                           2      0   100%
normalization/destination_type.py                                    13      0   100%
normalization/__init__.py                                             4      0   100%
normalization/transform_catalog/destination_name_transformer.py     155      8    95%
normalization/transform_config/transform.py                         159     31    81%
normalization/transform_catalog/table_name_registry.py              174     34    80%
normalization/transform_catalog/utils.py                             38      9    76%
normalization/transform_catalog/dbt_macro.py                         22      7    68%
normalization/transform_catalog/catalog_processor.py                147     80    46%
normalization/transform_catalog/transform.py                         61     38    38%
normalization/transform_catalog/stream_processor.py                 543    352    35%
-------------------------------------------------------------------------------------
TOTAL                                                              1333    559    58%

Build Passed

Test summary info:

All Passed

@tuliren

Liren Tu (tuliren) commented Jun 7, 2022 •

Copy link
Copy Markdown
Contributor Author

/publish connector=connectors/destination-bigquery-denormalized

πŸ•‘ connectors/destination-bigquery-denormalized https://github.com/airbytehq/airbyte/actions/runs/2458114448
πŸš€ Successfully published connectors/destination-bigquery-denormalized
πŸš€ Auto-bumped version for connectors/destination-bigquery-denormalized
βœ… connectors/destination-bigquery-denormalized https://github.com/airbytehq/airbyte/actions/runs/2458114448

@tuliren

Liren Tu (tuliren) commented Jun 7, 2022 •

Copy link
Copy Markdown
Contributor Author

/publish connector=connectors/destination-bigquery

πŸ•‘ connectors/destination-bigquery https://github.com/airbytehq/airbyte/actions/runs/2458115565
πŸš€ Successfully published connectors/destination-bigquery
πŸš€ Auto-bumped version for connectors/destination-bigquery
βœ… connectors/destination-bigquery https://github.com/airbytehq/airbyte/actions/runs/2458115565

@octavia-squidington-iii
Octavia Squidington III (octavia-squidington-iii) temporarily deployed to more-secrets June 8, 2022 00:20 Inactive

This branch was previously deployed

1 inactive deployment
more-secrets β€” 3d0d10e7 Deployed Jun 8, 2022 by octavia-squidington-iii
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.

3 participants