diff --git a/tutoraspects/templates/aspects/apps/superset/pythonpath/create_assets.py b/tutoraspects/templates/aspects/apps/superset/pythonpath/create_assets.py index c38c49c18..0564de7d0 100644 --- a/tutoraspects/templates/aspects/apps/superset/pythonpath/create_assets.py +++ b/tutoraspects/templates/aspects/apps/superset/pythonpath/create_assets.py @@ -286,7 +286,6 @@ def update_embeddable_uuids(): def update_datasets(): """Update the datasets""" print("Refreshing datasets") - g.user = security_manager.find_user(username="{{SUPERSET_ADMIN_USERNAME}}") datasets = ( db.session.query(SqlaTable).all() ) diff --git a/tutoraspects/templates/openedx-assets/queries/fact_video_plays.sql b/tutoraspects/templates/openedx-assets/queries/fact_video_plays.sql index 9609b93f5..a516366ab 100644 --- a/tutoraspects/templates/openedx-assets/queries/fact_video_plays.sql +++ b/tutoraspects/templates/openedx-assets/queries/fact_video_plays.sql @@ -15,12 +15,5 @@ where ) select - emission_time, - org, - course_key, - course_name, - course_run, - video_name, - video_name_with_location, - actor_id + * from plays