Page MenuHomePhabricator

[Analytics] [Request] Remove export to published datasets step from all wmde instance DAGs
Closed, ResolvedPublic

Description

Wikidata Analytics Request

This task was generated using the Wikidata Analytics request form. Please use the task template linked on our project page to create tasks for the team. Thank you!

Purpose

Please provide as much context as possible as well as what the produced insights or services will be used for.

Specific Results

Please detail the specific results that the task should deliver.

The current process of exporting data to the published datasets directories has gotten significantly more complex in recent months and has been dramatically slowing down the full delivery of DAGs by WMDE SWE Analytics. The old practice was that all data should be exported as CSVs to these directories for all DAGs. We've made the decision to not do this anymore.

Desired Outputs

Please list the desired outputs of this task.

Deadline

Please make the time sensitivity of this request clear with a date that it should be completed by. If there is no specific date, then the task will be triaged based on its priority.

30.4.2025


Information below this point is filled out by the task assignee.

Assignee Planning

Sub Tasks

A full breakdown of the steps to complete this task.

  • Update test generation script to not require an export file
  • Remove export steps from all DAGs - data-engineering/airflow-dags#1187
  • Rewrite DAG tests to not include the export steps - data-engineering/airflow-dags#1187
  • Delete the data on HDFS
  • Minor exploration of other WMDE data in the published datasets directories
    • Lots of data still present from prior Analytics team
    • Create a task for deleting data that might need to be
    • T393446

Estimation

Estimate: 1 day
Actual: 1 day over a longer period

Notes

Things that came up during the completion of this task, questions to be answered and follow up tasks.

  • Note

Event Timeline

Back to To-Do as the rest of this task can wait for the Graphite to Prometheus migration to be completed.

Moving into In Progress given the weekly earlier today where we agreed to finalize this :)

Data has been deleted on HDFS, with this change propagating on the next update of the directories :)

Moving this to In Review as the Airflow related data has been removed. I'll put the findings of the investigation in T393446 where the work here will continue :)