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

Destination Redshift - additional check method check, fix s3 file deletion #34186

Merged
merged 37 commits into from
Jan 16, 2024

Conversation

jbfbell
Copy link
Contributor

@jbfbell jbfbell commented Jan 11, 2024

This changes Destination Redshift's check method to verify access to the svv_table_info table as well as fixes a bug related to the removal of s3 staging files if users selected this option

Copy link

vercel bot commented Jan 11, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

1 Ignored Deployment
Name Status Preview Comments Updated (UTC)
airbyte-docs ⬜️ Ignored (Inspect) Visit Preview Jan 16, 2024 8:59pm

@octavia-squidington-iii octavia-squidington-iii added area/connectors Connector related issues area/documentation Improvements or additions to documentation CDK Connector Development Kit connectors/destination/redshift labels Jan 11, 2024
Copy link
Contributor

github-actions bot commented Jan 11, 2024

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.
  • Connector version has been incremented in the Dockerfile and metadata.yaml according to our Semantic Versioning for Connectors guidelines
  • You've updated the connector's metadata.yaml file any other relevant changes, including a breakingChanges entry for major version bumps. See metadata.yaml docs
  • 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
  • Migration guide updated in docs/integrations/<source or destination>/<name>-migrations.md with an entry for the new version, if the version is a breaking change. See migration guide example
  • If set, you've ensured the icon is present in the platform-internal repo. (Docs)

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.

@jbfbell jbfbell marked this pull request as ready for review January 11, 2024 21:16
@jbfbell jbfbell requested a review from a team as a code owner January 11, 2024 21:16
Copy link
Contributor

@edgao edgao left a comment

Choose a reason for hiding this comment

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

mostly nits. curious what you think about overriding check directly vs exposing the method in the base class. lgtm otherwise

@jbfbell
Copy link
Contributor Author

jbfbell commented Jan 12, 2024

mostly nits. curious what you think about overriding check directly vs exposing the method in the base class. lgtm otherwise

@edgao opted to not override check because of the connection and exception handling already present. I wanted the additional checks to run inside of all that without duplicating, I think overriding the check method I would have to something more sequential like

super.check()
try {
additionalChecks()
} catch (Exception e) {
...
}
finally {
close()
}

@jbfbell
Copy link
Contributor Author

jbfbell commented Jan 16, 2024

/publish-java-cdk

🕑 https://github.com/airbytehq/airbyte/actions/runs/7547136162
✅ Successfully published Java CDK version=0.12.1!

@jbfbell jbfbell enabled auto-merge (squash) January 16, 2024 20:58
@jbfbell jbfbell merged commit db83e14 into master Jan 16, 2024
26 checks passed
@jbfbell jbfbell deleted the joseph.bell/redshift-check-updates branch January 16, 2024 21:23
gisripa added a commit that referenced this pull request Jan 24, 2024
## What
* Resurrect removed signatures to fix compilation errors in Snowflake connector. 
* Partial revert of #34186
gisripa added a commit that referenced this pull request Jan 24, 2024
…d methods and vars (#34467)

## What
* Reverting few signature changes from #34186
jatinyadav-cc pushed a commit to ollionorg/datapipes-airbyte that referenced this pull request Feb 26, 2024
…etion (airbytehq#34186)

Signed-off-by: Gireesh Sreepathi <[email protected]>
Co-authored-by: Sitaram Shelke <[email protected]>
Co-authored-by: Marcos Marx <[email protected]>
Co-authored-by: Cynthia Yin <[email protected]>
Co-authored-by: Baz <[email protected]>
Co-authored-by: bazarnov <[email protected]>
Co-authored-by: kekiss <[email protected]>
Co-authored-by: Anatolii Yatsuk <35109939 [email protected]>
Co-authored-by: Edward Gao <[email protected]>
Co-authored-by: Augustin <[email protected]>
Co-authored-by: Joe Reuter <[email protected]>
Co-authored-by: Alexandre Cuoci <[email protected]>
Co-authored-by: perangel <[email protected]>
Co-authored-by: Aaron ("AJ") Steers <[email protected]>
Co-authored-by: Ben Church <[email protected]>
Co-authored-by: Gireesh Sreepathi <[email protected]>
jatinyadav-cc pushed a commit to ollionorg/datapipes-airbyte that referenced this pull request Feb 26, 2024
## What
* Resurrect removed signatures to fix compilation errors in Snowflake connector. 
* Partial revert of airbytehq#34186
jatinyadav-cc pushed a commit to ollionorg/datapipes-airbyte that referenced this pull request Feb 26, 2024
…d methods and vars (airbytehq#34467)

## What
* Reverting few signature changes from airbytehq#34186
jatinyadav-cc pushed a commit to ollionorg/datapipes-airbyte that referenced this pull request Feb 26, 2024
…etion (airbytehq#34186)

Signed-off-by: Gireesh Sreepathi <[email protected]>
Co-authored-by: Sitaram Shelke <[email protected]>
Co-authored-by: Marcos Marx <[email protected]>
Co-authored-by: Cynthia Yin <[email protected]>
Co-authored-by: Baz <[email protected]>
Co-authored-by: bazarnov <[email protected]>
Co-authored-by: kekiss <[email protected]>
Co-authored-by: Anatolii Yatsuk <35109939 [email protected]>
Co-authored-by: Edward Gao <[email protected]>
Co-authored-by: Augustin <[email protected]>
Co-authored-by: Joe Reuter <[email protected]>
Co-authored-by: Alexandre Cuoci <[email protected]>
Co-authored-by: perangel <[email protected]>
Co-authored-by: Aaron ("AJ") Steers <[email protected]>
Co-authored-by: Ben Church <[email protected]>
Co-authored-by: Gireesh Sreepathi <[email protected]>
jatinyadav-cc pushed a commit to ollionorg/datapipes-airbyte that referenced this pull request Feb 26, 2024
## What
* Resurrect removed signatures to fix compilation errors in Snowflake connector. 
* Partial revert of airbytehq#34186
jatinyadav-cc pushed a commit to ollionorg/datapipes-airbyte that referenced this pull request Feb 26, 2024
…d methods and vars (airbytehq#34467)

## What
* Reverting few signature changes from airbytehq#34186
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 CDK Connector Development Kit connectors/destination/redshift connectors/source/google-ads
Projects
None yet