Skip to content

🚨 Removes defunct Azure Blob Storage laoding option for Snowflake 🚨 - #25739

Merged
Ryan Fu (ryankfu) merged 8 commits into
masterfrom
ryan/remove-defunct-azure-blob-storage
May 4, 2023
Merged

Ryan Fu (ryankfu) merged 8 commits into
masterfrom
ryan/remove-defunct-azure-blob-storage

Conversation

@ryankfu

@ryankfu Ryan Fu (ryankfu) commented May 1, 2023 •

Copy link
Copy Markdown
Contributor

What

Destination Snowflake using Azure Blob Storage to load data has some issues and the ability to certify this functionality given its GA status has been neglected. Since this variant of the load has not seen any tracking on our Cloud offering this will be removed

PR that added AzureBlobStorage loading option for destination-snowflake

Breaking Changes Doc

How

Removes integration tests for Snowflake using Azure Blob Storage as a loading method, all associated classes whether that be tests or supporting classes

Recommended reading order

  1. SnowflakeCopyAzureBlobStorageDestination.java
  2. SnowflakeAzureBlobStorageCopierFactory.java

🚨 User Impact 🚨

Are there any breaking changes? What is the end result perceived by the user?

For connector PRs, use this section to explain which type of semantic versioning bump occurs as a result of the changes. Refer to our Semantic Versioning for Connectors guidelines for more information. Breaking changes to connectors must be documented by an Airbyte engineer (PR author, or reviewer for community PRs) by using the Breaking Change Release Playbook.

If there are breaking changes, please merge this PR with the 🚨🚨 emoji so changelog authors can further highlight this if needed.

This will cause breaking changes to OSS customers that use Azure Blob Storage as a loading method for Destination Snowflake. It will NOT break customers that use Destination Azure Blob Storage as that uses different classes

Pre-merge Actions

Expand the relevant checklist and delete the others.

New Connector

Community member or Airbyter

  • Community member? Grant edit access to maintainers (instructions)
  • Unit & integration tests added and passing. Community members, please provide proof of success locally e.g: screenshot or copy-paste unit, integration, and acceptance test output. To run acceptance tests for a Python connector, follow instructions in the README. For java connectors run ./gradlew :airbyte-integrations:connectors:<name>:integrationTest.
  • Connector version is set to 0.0.1
    • Dockerfile has version 0.0.1
  • Documentation updated
    • Connector's README.md
    • Connector's bootstrap.md. See description and examples
    • docs/integrations/<source or destination>/<name>.md including changelog with an entry for the initial version. See changelog example
    • docs/integrations/README.md

Airbyter

If this is a community PR, the Airbyte engineer reviewing this PR is responsible for the below items.

  • Create a non-forked branch based on this PR and test the below items on it
  • Build is successful
  • If new credentials are required for use in CI, add them to GSM. Instructions.
Updating a connector

Community member or Airbyter

  • Grant edit access to maintainers (instructions)
  • Unit & integration tests added

Airbyter

If this is a community PR, the Airbyte engineer reviewing this PR is responsible for the below items.

  • Create a non-forked branch based on this PR and test the below items on it
  • Build is successful
  • If new credentials are required for use in CI, add them to GSM. Instructions.
Connector Generator
  • Issue acceptance criteria met
  • PR name follows PR naming conventions
  • If adding a new generator, add it to the list of scaffold modules being tested
  • The generator test modules (all connectors with -scaffold in their name) have been updated with the latest scaffold by running ./gradlew :airbyte-integrations:connector-templates:generator:testScaffoldTemplates then checking in your changes
  • Documentation which references the generator is updated as needed

@ryankfu

Ryan Fu (ryankfu) commented May 1, 2023 •

Copy link
Copy Markdown
Contributor Author

/test connector=connectors/destination-snowflake

🕑 connectors/destination-snowflake https://github.com/airbytehq/airbyte/actions/runs/4855869796
✅ connectors/destination-snowflake https://github.com/airbytehq/airbyte/actions/runs/4855869796
Python tests coverage:

Name                                                              Stmts   Miss  Cover
-------------------------------------------------------------------------------------
normalization/transform_config/__init__.py                            2      0   100%
normalization/transform_catalog/reserved_keywords.py                 15      0   100%
normalization/transform_catalog/__init__.py                           2      0   100%
normalization/destination_type.py                                    18      0   100%
normalization/__init__.py                                             4      0   100%
normalization/transform_catalog/destination_name_transformer.py     171     10    94%
normalization/transform_catalog/table_name_registry.py              174     34    80%
normalization/transform_config/transform.py                         195     48    75%
normalization/transform_catalog/utils.py                             51     14    73%
normalization/transform_catalog/dbt_macro.py                         22      7    68%
normalization/transform_catalog/catalog_processor.py                147     80    46%
normalization/transform_catalog/transform.py                         65     39    40%
normalization/transform_catalog/stream_processor.py                 595    400    33%
-------------------------------------------------------------------------------------
TOTAL                                                              1461    632    57%

Build Passed

Test summary info:

All Passed

@github-actions

github-actions Bot commented May 1, 2023 •

Copy link
Copy Markdown
Contributor

Before Merging a Connector Pull Request

Wow! What a great pull request you have here! 🎉

To merge this PR, ensure the following has been done/considered for each connector added or updated:

  • PR name follows PR naming conventions
  • Breaking changes are considered. If a Breaking Change is being introduced, ensure an Airbyte engineer has created a Breaking Change Plan and you've followed all steps in the Breaking Changes Checklist
  • Connector version has been incremented in the Dockerfile and metadata.yaml according to our Semantic Versioning for Connectors guidelines
  • Secrets in the connector's spec are annotated with airbyte_secret
  • All documentation files are up to date. (README.md, bootstrap.md, docs.md, etc...)
  • Changelog updated in docs/integrations/<source or destination>/<name>.md with an entry for the new version. See changelog example
  • You, or an Airbyter, have run /test successfully on this PR - or on a non-forked branch
  • You, or an Airbyter, have run /publish successfully on this PR - or on a non-forked branch
  • You've updated the connector's metadata.yaml file (new!)
  • The Octavia bot updated the source_definitions.yaml or destination_definitions.yaml, or you ran processResources manually (deprecated)

If the checklist is complete, but the CI check is failing,

  1. Check for hidden checklists in your PR description

  2. Toggle the github label checklist-action-run on/off to re-run the checklist CI.

@github-actions

github-actions Bot commented May 1, 2023 •

Copy link
Copy Markdown
Contributor

Affected Connector Report

NOTE ⚠️ Changes in this PR affect the following connectors. Make sure to do the following as needed:

  • Run integration tests
  • Bump connector or module version
  • Add changelog
  • Publish the new version

✅ Sources (1)

Connector Version Changelog Publish
source-railz 0.1.1 ✅ ✅
  • See "Actionable Items" below for how to resolve warnings and errors.

✅ Destinations (1)

Connector Version Changelog Publish
destination-snowflake 1.0.0 ✅ ✅
  • See "Actionable Items" below for how to resolve warnings and errors.

👀 Other Modules (1)

  • base-normalization

Actionable Items

(click to expand)

Category Status Actionable Item
Version ❌
mismatch
The version of the connector is different from its normal variant. Please bump the version of the connector.
⚠
doc not found
The connector does not seem to have a documentation file. This can be normal (e.g. basic connector like source-jdbc is not published or documented). Please double-check to make sure that it is not a bug.
Changelog ⚠
doc not found
The connector does not seem to have a documentation file. This can be normal (e.g. basic connector like source-jdbc is not published or documented). Please double-check to make sure that it is not a bug.
❌
changelog missing
There is no chnagelog for the current version of the connector. If you are the author of the current version, please add a changelog.
Publish ⚠
not in seed
The connector is not in the seed file (e.g. source_definitions.yaml), so its publication status cannot be checked. This can be normal (e.g. some connectors are cloud-specific, and only listed in the cloud seed file). Please double-check to make sure that it is not a bug.
❌
diff seed version
The connector exists in the seed file, but the latest version is not listed there. This usually means that the latest version is not published. Please use the /publish command to publish the latest version.

@ryankfu Ryan Fu (ryankfu) changed the title Removes defunct Azure Blob Storage laoding option for Snowflake 🚨 Removes defunct Azure Blob Storage laoding option for Snowflake 🚨 May 2, 2023
@ryankfu Ryan Fu (ryankfu) added the breaking-change Don't merge me unless you are ready. label May 2, 2023
@ryankfu
Ryan Fu (ryankfu) marked this pull request as ready for review May 2, 2023 18:01
@ryankfu
Ryan Fu (ryankfu) requested a review from a team as a code owner May 2, 2023 18:01

@edgao Edward Gao (edgao) left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

@octavia-squidington-iii Octavia Squidington III (octavia-squidington-iii) added the area/documentation Improvements or additions to documentation label May 2, 2023
@ryankfu

This comment was marked as outdated.

@ryankfu

Ryan Fu (ryankfu) commented May 3, 2023 •

Copy link
Copy Markdown
Contributor Author

/publish connector=connectors/destination-snowflake

🕑 Publishing the following connectors:
connectors/destination-snowflake
https://github.com/airbytehq/airbyte/actions/runs/4875158590


Connector Version Did it publish? Were definitions generated?
connectors/destination-snowflake 1.0.0 ✅ ❌

if you have connectors that successfully published but failed definition generation, follow step 4 here ▶️

@ryankfu
Ryan Fu (ryankfu) force-pushed the ryan/remove-defunct-azure-blob-storage branch from 8bce9d6 to b5ae589 Compare May 4, 2023 17:12
@ryankfu
Ryan Fu (ryankfu) enabled auto-merge (squash) May 4, 2023 17:17
@ryankfu
Ryan Fu (ryankfu) force-pushed the ryan/remove-defunct-azure-blob-storage branch from d4bb950 to 628aef9 Compare May 4, 2023 18:18
@ryankfu
Ryan Fu (ryankfu) force-pushed the ryan/remove-defunct-azure-blob-storage branch from 628aef9 to c92315a Compare May 4, 2023 19:03
@ryankfu
Ryan Fu (ryankfu) disabled auto-merge May 4, 2023 19:04
@ryankfu
Ryan Fu (ryankfu) enabled auto-merge (squash) May 4, 2023 19:04
@ryankfu
Ryan Fu (ryankfu) merged commit 1de58e9 into master May 4, 2023
@ryankfu
Ryan Fu (ryankfu) deleted the ryan/remove-defunct-azure-blob-storage branch May 4, 2023 22:37
M. Marx (marcosmarxm) pushed a commit to natalia-miinto/airbyte that referenced this pull request Jun 8, 2023
…irbytehq#25739)

* Removes defunct Azure Blob Storage laoding option for Snowflake

* Bumps to major version and removes documentation that references AzureBlobStorage

* Updates the destination_definitions.yaml

* Run ProcessResources to match version of 1.0.0 mismatched spec

* Pinning urllib to older version since the 2.0 version removed classes
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area/connectors Connector related issues area/documentation Improvements or additions to documentation breaking-change Don't merge me unless you are ready. connectors/destination/snowflake

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants