Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
E
edx-analytics-pipeline
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
edx
edx-analytics-pipeline
Commits
95b4b4e1
Commit
95b4b4e1
authored
Jul 31, 2017
by
Hassan Javeed
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
.
parent
3495bc44
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
edx/analytics/tasks/warehouse/load_internal_reporting_active_users.py
+4
-4
No files found.
edx/analytics/tasks/warehouse/load_internal_reporting_active_users.py
View file @
95b4b4e1
...
...
@@ -110,7 +110,7 @@ class ActiveUsersPartitionTask(WeeklyIntervalMixin, ActiveUsersDownstreamMixin,
class
LoadInternalReportingActiveUsersToWarehouse
(
WarehouseMixin
,
VerticaCopyTask
):
"""Loads the active_users_this_year hive table into Vertica warehouse."""
HIVE_TABLE
=
'active_users_
this_year
'
HIVE_TABLE
=
'active_users_
per_week
'
date
=
luigi
.
DateParameter
()
...
...
@@ -137,7 +137,7 @@ class LoadInternalReportingActiveUsersToWarehouse(WarehouseMixin, VerticaCopyTas
@property
def
table
(
self
):
return
'f_active_users_
this_year
'
return
'f_active_users_
per_week
'
@property
def
auto_primary_key
(
self
):
...
...
@@ -151,7 +151,7 @@ class LoadInternalReportingActiveUsersToWarehouse(WarehouseMixin, VerticaCopyTas
@property
def
columns
(
self
):
return
[
(
'
window_
start_date'
,
'DATE'
),
(
'
window_
end_date'
,
'DATE'
),
(
'start_date'
,
'DATE'
),
(
'end_date'
,
'DATE'
),
(
'username'
,
'VARCHAR(45) NOT NULL'
),
]
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment