-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Uml 3111 script for monthly reports (#2441)
* refactored in prep to add polling functionality * basic polling is working, and athena functions WIP * athena flag now working * athena query now runs * show results of athena query * put s3 path in dictionary ready for this to be used for location * drop database first so we don't have tables with old data in * add ddl file * query all 4 tables * sql result now prints put * export stats table also * temp (WIP) describe table * ddl files, refactoring, stats table commented for now until working * stats table too * take in date range, with default * now runs 4 queries * tidy up output * tidy up output further * date substitution in sql string * refactor, tidy up, update README * refactoring * fix * add polling to query * print query output tidily * fix csv output * results * gitignore results files * run black to format python properly * get all results using token * maxresults and filename * fix dates
- Loading branch information
1 parent
a9f7fe5
commit 9c84967
Showing
10 changed files
with
395 additions
and
234 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.