Generate RSA reports from Databricks every hour

Recipe ToolsMarketingWorkatodatabaseData ParserUtilities

What it does

Every 60 minutes, this automation queries the RSA table in Databricks and retrieves the latest rows. It then formats the results into a CSV file ready for download or distribution to stakeholders.

Who it's for

Data and analytics teams who need hourly RSA reports without running manual Databricks queries.

How teams use this

Distribute hourly RSA reports to teams

Generate and send the CSV to a shared folder or email inbox every hour so teams always have the latest RSA data without requesting it manually.

Monitor RSA metrics on a schedule

Run the Databricks query hourly to track changes in the RSA table over time and detect anomalies as they occur in the data.

Filter RSA reports by region or product

Add a condition to the Databricks query so only rows matching specific region or product criteria are included in each CSV file.

How it works

  1. Start the report on schedule. This automation runs every 60 minutes so the RSA reports stay current and teams always have fresh data.
  2. Query the RSA table in Databricks. Select rows from the userdb_ebada_yy.rsa_zsku_modified table in Databricks to retrieve the latest data for the report.
  3. Compose the CSV file. Format the query results from Databricks into a CSV file that is ready to download or send to stakeholders and teams.