39 Commits (77bb9b9d6aa2f8ef7962e79b62675d85b02d2767)
 

Author SHA1 Message Date
dtookey 77bb9b9d6a introduced a sanitization pass at the very end of the import. 4 years ago
dtookey 65423f0207 tweak to contributions.sql to use table alias 4 years ago
dtookey 8cfc26b68b added work type descriptions 4 years ago
dtookey ed6bb0ace1 tweaked the import script a little to make the output more clear 4 years ago
dtookey eb456449d2 first attempt at contribution metrics 4 years ago
dtookey d6048d4f45 Added todo to all_projects.sql 4 years ago
dtookey 9d6e346f67 added created to lifecycle times 4 years ago
dtookey 0cdc75925a first stab at durations.sql 4 years ago
dtookey d46852cd9a added client name to billing report 4 years ago
dtookey 3ffa03f765 added clients into billing report info 4 years ago
dtookey b85f83bb6a added prefix to event_counts in order to concat the division info later. 4 years ago
dtookey 217e833756 The issue appears to be the division prettification in lifecycle.sql.
Changed it to simply grab the project type, we can grok the division info in datastudio
4 years ago
dtookey b8b74efca2 changing import script to have a bit better resolution into what's running 4 years ago
dtookey 6b1fc9bcc8 changing import script to have a bit better resolution into what's running 4 years ago
dtookey 2e84d53a05 we're up to the hail mary portion of the initial setup. 4 years ago
dtookey 6173e8e774 added index to billing for reference numbers to hopefully speed up query times. 4 years ago
dtookey 022e7bbee6 removed data-reformatting in billing.sql 4 years ago
dtookey 2d6a190cff trying to add an index to billing_report to see if that alleviates any long-query issues. 4 years ago
dtookey ab8defde4d Found the bug. there was no delimiter at the end of billing.sql 4 years ago
dtookey 0fadeef609 added new lines to try and avoid a weird import bug 4 years ago
dtookey f647382b90 Forgot a drop if exists in 0-functions.sql 4 years ago
dtookey 0fec39392a apparently calling functions is SUPER slow 4 years ago
dtookey d3fb3c3038 Renamed 1-sanitize.sql in order to remove user tokens and whatnot before the slow queries. 4 years ago
dtookey 6d65d76fb2 first round of billing.sql is finished. It runs a bit slow and it de-normalizes the data, but I think it's relatively 'safe' 4 years ago
dtookey e3ee6e286d Updated the event_counts table in lifecycle.sql to collapse warranty projects down into Soils/Str instead of Soils/Str/Warranty 4 years ago
dtookey 94206477cb changed formatting in sanitize.sql to use uppercase sql keywords. 4 years ago
dtookey fea7142f45 updated sanitize.sql to run on stale data 4 years ago
dtookey 4fa8a33b1a Tweaked all_projects.sql to run on stale data. 4 years ago
dtookey 9f300305c5 added division column to the event_counts table in lifecycle.sql. 4 years ago
dtookey a551f9321c added first round of lifecycle processing.
added minor lifecycle cleanup to sanitize.sql.
4 years ago
dtookey 14497754f5 first round of all_projects table generation. this is entirely hardcoded, so it ain't future proof. We need a way to do this programmatically. 4 years ago
dtookey 1106b38346 cleaned up import.sh to have a bit better flow (also trying to troubleshoot ```./update-datastudio: line 5: /home/clarity: Is a directory```) 4 years ago
dtookey 37a9a0ec52 cleaned up import.sh to have a bit better flow (also trying to troubleshoot ```./update-datastudio: line 5: /home/clarity: Is a directory```) 4 years ago
dtookey b0030323a7 better way of handling gluing *.sql scripts together in import.sh 4 years ago
dtookey 1ed99c5ef9 tweaked import.sh to make the linter a bit more happy 4 years ago
dtookey 3f8cd57183 basic proof of concept. just need it to run tonight 4 years ago
dtookey 78a441ff9e changed proof to import.sh. this is just going to make it clearer which direction to proceed tomorrow 4 years ago
dtookey a8409692e2 adding a proof script to make sure the automation works correctly 4 years ago
dtookey c0a0e29df1 initial commit 4 years ago