-
Notifications
You must be signed in to change notification settings - Fork 3
Description
Presently, SCDB can handle data sets which do not add or remove new columns over time. In practice, the data the user wants to store will (for some data sets) get new columns as time goes by. It is also conceivable, that the user will want to remove certain columns from their datasets in some rare cases.
SCDB should have functionality to at least add (and conceivably also remove) columns from the dataset.
Adding the functionality to add columns should be relatively easy to implement since it "only" needs re-computation of the checksums after the addition of the column. If we add the option to remove columns, we should then also check that the resulting table is minimized after the operation. That is, if a records has only a change is in the column being removed, it will leave two consecutive, identical records that can be reduced to a single record with the combined validity from_ts/until_ts.