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[hmi-server]: Dataset extract columns, doing it on GET if not present #2862

Merged

Conversation

dvince2
Copy link
Collaborator

@dvince2 dvince2 commented Feb 28, 2024

Description

This is actually the fix for incorrect column information after a beaker-driven transform too. There is a corresponding change on beaker that blows away column data (DARPA-ASKEM/askem-beaker#95) since columns and/or data will have changed in modified datasets. Then on a GET call we repopulate the column data because its empty. This will also cover any situation where a CSV/dataset was some how uploaded and the column data was empty too. In addition, this centralizes some code around getting CSV files and updating headers.

Resolves #2784

This is actually the fix for incorrect column information after a beaker-driven transform too. There is a corresponding change on beaker that blows away column data (DARPA-ASKEM/askem-beaker#95) since columns and/or data will have changed in modified datasets. Then on a GET call we repopulate the column data because its empty.  This will also cover any situation where a CSV/dataset was some how uploaded and the column data was empty too.
In addition, this centralizes some code around getting CSV files and updating headers.
@dvince2 dvince2 requested a review from dgauldie as a code owner February 28, 2024 21:10
@dvince2 dvince2 requested a review from kbirk February 29, 2024 15:20
@dvince2 dvince2 merged commit a1c1483 into main Feb 29, 2024
6 checks passed
@dvince2 dvince2 deleted the 2784-dataset-extract-columns-doing-it-on-get-if-not-present branch February 29, 2024 16:10
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.

Dataset extract columns, doing it on GET if not present
2 participants