-
Notifications
You must be signed in to change notification settings - Fork 104
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Init for creating the dau_reporting_active_users_aggregates_v1 table
- Loading branch information
Showing
2 changed files
with
19 additions
and
0 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
17 changes: 17 additions & 0 deletions
17
sql_generators/glean_usage/dau_reporting_active_users_aggregates.py
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
"""Generating and run dau_reporting_active_users_aggregates queries for Glean apps.""" | ||
|
||
from sql_generators.glean_usage.common import GleanTable | ||
|
||
TARGET_TABLE_ID = "dau_reporting_active_users_aggregates_v1" | ||
PREFIX = "dau_reporting_active_users_aggregates" | ||
|
||
|
||
class DauReportingActiveUsersAggregatesTable(GleanTable): | ||
"""Represents generated dau_reporting_active_users_aggregates table.""" | ||
|
||
def __init__(self): | ||
"""Initialize dau_reporting_active_users_aggregates table.""" | ||
GleanTable.__init__(self) | ||
self.target_table_id = TARGET_TABLE_ID | ||
self.prefix = PREFIX | ||
self.base_table_name = "dau_reporting_v1" |