* Add attribution to unified_metrics
* Add fields to unified_metrics query (app_version, distribution_id, city, os_version_major,os_version_minor and attribution content, source, medium, campaign, experiment, variation). Jira issue DENG-72.
* Update version major and minor to numeric values and remove unneeded field aliases
Co-authored-by: Lucia Vargas <lvargas@mozilla.com>
Downloading JAVA is now required in many places in our repo, such as generating docs, running dry-run, etc. I think it's time that we remove the "optionally" part from this step instruction.
* Move most reference and cookbook documentation in README.md into
the "reference" and "cookbook" sections of the generated documentation,
respectively.
* Try to steer people to the generated docs inside the README.md (since
it is now basically just a set of quickstart instructions)
* Provide a bit of guidance that this repository isn't great for 3rd
party contributors in a new CONTRIBUTING.md.
Co-authored-by: Jeff Klukas <jklukas@mozilla.com>
* Make bqetl work equivalently to format_sql (which had some extra
options to format standard in)
* Remove `format_sql` and update everything that uses it to use
`bqetl format` instead.
.vscode's settings.json can get cluttered with installation-specific
settings, which can lead to confusing pull requests. Instead, let's use
the approach outlined here:
https://stackoverflow.com/a/48387809
This provides a set of defaults that people can use, which we can
extend over time.
This simplifies the multiple choice installation process into
a simplified version which uses a local virtualenv, which will
hopefully be easier to support and debug.
* Add option to specify (or not) dest table
* Add option to DAG generation for single dag
* Add query for recent day's event_types
* Use explicit None for no destination table
* Reformat SQL
* Use event_types view in events_daily
* Update tests
* Run black
* Add view for events_daily
* Format SQL
* Ignore event properties in query
* Shorten events_name_v1
* Fix naming for test
* Update README.md
Co-authored-by: Anna Scholtz <anna@scholtzan.net>
Co-authored-by: Anna Scholtz <anna@scholtzan.net>