Build usage data queries using instrumentation classes
Build usage data queries using instrumentation classes.
This is needed so we can continue to be able to have available the generated queries for optional data.
This queries are available via API and used by data team to run usage ping in data warehouse
This will likely require code changes similar to the following:
- Deep Merge hash generated with
usage_data_queries.rb
with hash generated using instrumentation classesto_sql()
method- rake task
dump_sql_in_yaml
- rake task
dump_sql_in_json
- UsageDataQueries API
- Check the tests for usage_data_queries_spec.
- rake task
Edited by Alina Mihaila