From 106663f7c977676f3ab8a8ce05115028287aa335 Mon Sep 17 00:00:00 2001 From: Cristhian Garcia Date: Thu, 4 Apr 2024 17:15:11 -0500 Subject: [PATCH] fix: add * for select video plays --- .../aspects/apps/superset/pythonpath/create_assets.py | 1 - .../openedx-assets/queries/fact_video_plays.sql | 9 +-------- 2 files changed, 1 insertion(+), 9 deletions(-) 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