Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix Float values, Remove 2022-08 forecast value table #257

Open
devsjc opened this issue Dec 7, 2023 · 0 comments
Open

Fix Float values, Remove 2022-08 forecast value table #257

devsjc opened this issue Dec 7, 2023 · 0 comments
Labels
bug Something isn't working

Comments

@devsjc
Copy link
Contributor

devsjc commented Dec 7, 2023

The previous migration created a table as opposed to a partition for forecast_value_2022_08 which wants to either a) be a partition on forecast_value or b) not exist at all. Remove with the next migration.

Also, ForecastValueSQLMixin defines the expected_power_generation_megawatts column to be a float, but the migrations generated by alembic still set the precision to 6. This needs to be investigated as newly added partitions complain about incorrect data types.

@devsjc devsjc added the bug Something isn't working label Dec 7, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant