Skip to content

add a runner and test(s) for _reset_load_table_ai_counter #991

Open
@melange396

Description

@melange396

as seen in: https://github.com/cmu-delphi/delphi-epidata/blob/dev/src/acquisition/covidcast/database.py#L126

  • also make change to ensure epimetric_load is empty first instead of just blindly clearing it

motivations for actual implementation reset process:

extra credit:

  • research (and implement?!?) if can we deny ability to TRUNCATE epimetric_load through permissions? (--> ie, remove drop permissions for epimetric_* family of tables to prevent resetting of autoincrement ids again)
  • verify that we do not replicate epimetric_load table, though this is not a deal-breaker

Metadata

Metadata

Assignees

No one assigned

    Labels

    acquisitionchanges acquisition logiccode healthreadability, maintainability, best practices, etcdevopsbuilding, running, deploying, environment stuff, handy utils, repository-related, engineer QoL, etcgood first issuehelp wantedtestsintegration & unit testing, bug triage and prevention

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions