IR-182 - Add Athena querying utility class #13
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Purpose and background context
This PR adds an
AthenaClient
class for querying Athena.It is likely we will create similar scaffolding in other projects (e.g. CURD project) for Athena querying. My hope is that we allow each project to move forward, where this AIP validation project is somewhat time sensitive, but keeping in mind we could/should work to normalize our Athena querying approach across projects. Particularly in these "early" days of Glue + Athena work.
As such, I think this represents a first pass, but does not need to be the final pass.
How can a reviewer manually see the effects of these changes?
Run Integration Tests
Experimenting with more substantial integration tests in this project -- which are not run as part of CI/CD pipeline -- that confirm the Athena querying is functional.
To run:
1- set Dev admin AWS credentials in terminal
2- set the the following env vars:
3- run integration tests
Includes new or updated dependencies?
YES
Changes expectations for external applications?
NO
What are the relevant tickets?
Developer
Code Reviewer(s)