bigquery-etl/sql/moz-fx-data-marketing-prod/adjust_derived
Marlene Hirose d8ce0307a5
Ds 2944 create external adjust table redux (#3907)
* add metadata, schema yamls and query.py

* created adjust_derived namespace

* add query.py, metadata, schema, dataset for testing

* delete extraneous file, update DAG name

* modify bqetl_adjust DAG redux

* update DAG name, take out '_derived'

* update table name in view

* standardize table names across files

* regenerate DAG

* update schema in both locations

* add query.py, metadata, schema yaml files

* take put extraneous print statements, update datasets to be 'adjust' or 'adjust_derived'

* add submission date to date_partition_parameter

* update table name to be just one table

* add DAG for adjust_derived

* add bq_etl adjust_derived DAG to yaml file

* add note about API token

* revert changes to bqetl.adjust.py

* use proper tast_id

* fix start dates

* add python command and docker image

* add python command and docker image

* delete extraneous code

* comment out docker part in old adjust dag

* add whitespace, delete extraneous code

* Update sql/moz-fx-data-shared-prod/adjust/adjust_derived/view.sql

Co-authored-by: Lucia <30448600+lucia-vargas-a@users.noreply.github.com>

* Update sql/moz-fx-data-shared-prod/adjust_derived/adjust_derived_v1/query.py

Co-authored-by: Lucia <30448600+lucia-vargas-a@users.noreply.github.com>

* Update sql/moz-fx-data-shared-prod/adjust_derived/adjust_derived_v1/query.py

Co-authored-by: kik-kik <42538694+kik-kik@users.noreply.github.com>

* updated logic to check if response dictionary is not empty, moved view out of nested folder, added token ownership statement to metadata file, turned off email retry in dags.yaml, separated out clean up of json to its own function

* take out extraneous if statement and move else statement

* reorder where comment is to make more sense

* more description as to why we're using mhirose's API token

* take out periods

* Update sql/moz-fx-data-shared-prod/adjust_derived/adjust_derived_v1/metadata.yaml

Co-authored-by: Anna Scholtz <anna@scholtzan.net>

* combine adjust DAGs

* change logic for query_export check loop continuance, adapt metadata.yamls

* add blank parameters test

* Update sql/moz-fx-data-shared-prod/adjust_derived/adjust_derived_v1/metadata.yaml

Co-authored-by: Anna Scholtz <anna@scholtzan.net>

* add arguments to metadata.yaml

* remove external table reference

* refactor to add date parameter

* refactor based on Circle CI's advice

* Update sql/moz-fx-data-shared-prod/adjust_derived/adjust_derived_v1/query.py

Co-authored-by: kik-kik <42538694+kik-kik@users.noreply.github.com>

* Update sql/moz-fx-data-shared-prod/adjust_derived/adjust_derived_v1/query.py

Co-authored-by: kik-kik <42538694+kik-kik@users.noreply.github.com>

* take out TODO comment

---------

Co-authored-by: kik-kik <kignasiak@mozilla.com>
Co-authored-by: Lucia <30448600+lucia-vargas-a@users.noreply.github.com>
Co-authored-by: kik-kik <42538694+kik-kik@users.noreply.github.com>
Co-authored-by: Anna Scholtz <anna@scholtzan.net>
2023-07-07 15:32:03 -07:00
..
firefox_mobile_installs_v1 Ds 2944 create external adjust table redux (#3907) 2023-07-07 15:32:03 -07:00
dataset_metadata.yaml Firefox mobile installs from Adjust (#3735) 2023-05-03 21:07:16 -07:00