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

Rewrite headers on every update #138

Merged
merged 1 commit into from
Mar 20, 2018
Merged

Conversation

pluehne
Copy link
Contributor

@pluehne pluehne commented Mar 19, 2018

With this commit, every single update will cause the data file headers to be rewritten to their defaults.

In this way, we can easily change column labels in the data files in the future without having to worry about empty charts due to the inconsistent naming scheme (which causes the dashboard not to match the data series with the columns appropriately).

I don’t consider this a change that could accidentally break data by, for instance, switching the meaning of columns in the future. The reason is that we have the data schema mechanism in place to deal with cases where we would like to make deeper changes to the data format that would require a data migration.

With this commit, every single update will cause the data file headers
to be rewritten to their defaults.

In this way, we can easily change column labels in the data files in the
future without having to worry about empty charts due to the inconsistent
naming scheme (which causes the dashboard not to match the data series
with the columns appropriately).

I don’t consider this a change that could accidentally break data by,
for instance, switching the meaning of columns in the future. The reason
is that we have the data schema mechanism in place to deal with cases
where we would like to make deeper changes to the data format that
would require a data migration.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
No open projects
Development

Successfully merging this pull request may close these issues.

None yet

2 participants