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

refactor(ingest/athena): Replace s3_staging_dir parameter in Athena source with query_result_location #7044

Conversation

bossenti
Copy link
Contributor

Description

This PR is an outcome of this Slack discussion.
It deprecates the parameter s3_staging_dir in the Athena source and introduces query_result_location instead.
Downwards compatibility is ensured.
While writing the tests I didn't found an integration test for Athena.
If someone could provide me with some background information about writing integration tests for sources, I could add one to this PR.

Checklist

  • The PR conforms to DataHub's Contributing Guideline (particularly Commit Message Format)
  • Links to related issues (if applicable)
  • Tests for the changes have been added/updated (if applicable)
  • Docs related to the changes have been added/updated (if applicable). If a new feature has been added a Usage Guide has been added for the same.
  • For any breaking change/potential downtime/deprecation/big changes an entry has been made in Updating DataHub

@github-actions github-actions bot added the ingestion PR or Issue related to the ingestion of metadata label Jan 14, 2023
@bossenti bossenti changed the title Replace s3_staging_dir parameter in Athena source with query_result_location refactor(ingest/athena): Replace s3_staging_dir parameter in Athena source with query_result_location Jan 16, 2023
Copy link
Collaborator

@jjoyce0510 jjoyce0510 left a comment

Choose a reason for hiding this comment

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

LGTM. Thanks for the contrib!

@jjoyce0510
Copy link
Collaborator

Let's wait for CI to pass first.

@bossenti
Copy link
Contributor Author

Thanks for reviewing @jjoyce0510!
Le me know if there is a need for adoption

@jjoyce0510 jjoyce0510 merged commit e2ad881 into datahub-project:master Jan 18, 2023
shirshanka pushed a commit to shirshanka/datahub that referenced this pull request Jan 18, 2023
… source with `query_result_location` (datahub-project#7044)

Co-authored-by: John Joyce <john@acryl.io>
ericyomi pushed a commit to ericyomi/datahub that referenced this pull request Jan 18, 2023
… source with `query_result_location` (datahub-project#7044)

Co-authored-by: John Joyce <john@acryl.io>
@bossenti bossenti deleted the chore/rename-athena-source-parameter branch January 18, 2023 19:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ingestion PR or Issue related to the ingestion of metadata
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants