Skip to content
GitLab
Projects Groups Topics Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • G gde-core
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributor statistics
    • Graph
    • Compare revisions
  • Issues 0
    • Issues 0
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 0
    • Merge requests 0
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Package Registry
    • Terraform modules
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • Dynamic ExposureDynamic Exposure
  • Global Dynamic ExposureGlobal Dynamic Exposure
  • gde-core
  • Merge requests
  • !27

Added functionality to erase existing entries in gde_buildings table

  • Review changes

  • Download
  • Patches
  • Plain diff
Merged Cecilia Nievas requested to merge feature/erase_first into master Jul 27, 2022
  • Overview 0
  • Commits 1
  • Pipelines 1
  • Changes 5

So far, the gde-core did erase first all entries that may have already existed in the table gde_buildings of the GDE Tiles database for a particular combination of data_unit_id, occupacy_case and aggregated_source_id, before moving on to processing and storing new data. However, the actual data unit IDs associated with an exposure entity may change for different versions of the aggregated exposure model, and it may happen that the user wants to treat different versions under the same aggregated_source_id. This MR addresses the need to first erase all entries associated with a specific exposure_entity, occupancy_case and aggregated_source_id, before moving on to writing new entries.

Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: feature/erase_first