openclimatefix / nowcasting_datamodel

Datamodel for the nowcasting project
6 stars 6 forks source link

Issue/create partitions #109

Closed peterdudfield closed 2 years ago

peterdudfield commented 2 years ago

Pull Request

Description

Create partitions on forecast_value table

How Has This Been Tested?

Added tests

Checklist:

codecov-commenter commented 2 years ago

Codecov Report

Merging #109 (89fc608) into main (25dcc14) will increase coverage by 0.10%. The diff coverage is 99.25%.

@@            Coverage Diff             @@
##             main     #109      +/-   ##
==========================================
+ Coverage   98.19%   98.30%   +0.10%     
==========================================
  Files          19       20       +1     
  Lines         944     1004      +60     
==========================================
+ Hits          927      987      +60     
  Misses         17       17              
Impacted Files Coverage Δ
nowcasting_datamodel/migrations/app.py 96.66% <ø> (-0.21%) :arrow_down:
nowcasting_datamodel/connection.py 96.55% <91.66%> (+2.43%) :arrow_up:
nowcasting_datamodel/fake.py 100.00% <100.00%> (ø)
nowcasting_datamodel/models/__init__.py 100.00% <100.00%> (ø)
nowcasting_datamodel/models/forecast.py 100.00% <100.00%> (ø)
nowcasting_datamodel/models/models.py 100.00% <100.00%> (ø)
nowcasting_datamodel/read/read.py 97.56% <100.00%> (+0.01%) :arrow_up:
nowcasting_datamodel/save.py 100.00% <100.00%> (ø)
nowcasting_datamodel/update.py 98.64% <100.00%> (ø)

:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more