Skip to content

DSTA-661: refactored scrape script - #68

Open
wlyagoba wants to merge 2 commits into
mainfrom
feat/DSTA-661-sandbox-deployment
Open

DSTA-661: refactored scrape script#68
wlyagoba wants to merge 2 commits into
mainfrom
feat/DSTA-661-sandbox-deployment

Conversation

@wlyagoba

Copy link
Copy Markdown
Contributor

Refactored scrape script to push data to databricks

Context

Type of changes

  • Refactoring (non-breaking change)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would change existing functionality)
  • Bug fix (non-breaking change which fixes an issue)

Checklist

  • I am familiar with the contributing guidelines
  • I have followed the code style of the project
  • I have added tests to cover my changes
  • I have updated the documentation accordingly
  • This PR is a result of pair or mob programming

Sensitive Information Declaration

To ensure the utmost confidentiality and protect your and others privacy, we kindly ask you to NOT including PII (Personal Identifiable Information) / PID (Personal Identifiable Data) or any other sensitive data in this PR (Pull Request) and the codebase changes. We will remove any PR that do contain any sensitive information. We really appreciate your cooperation in this matter.

  • I confirm that neither PII/PID nor sensitive data are included in this PR and the codebase changes.

Signed-off-by: wlyagoba <william.lyagoba1@nhs.net>

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR refactors the scrape/export script’s progress output to better reflect Databricks write activity by adding total table counts and per-table progress indicators.

Changes:

  • Compute the total number of cache tables and include it in the “Writing … tables” message.
  • Add a per-table progress prefix ([i/total]) to the per-table export log line.

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

@samw-nhs samw-nhs left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Are any changes required to either the readme in this folder or the high level readme related to this change?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants