Skip to content

Add function to add/remove columns and recompute checksums #25

@RasmusSkytte

Description

@RasmusSkytte

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    backlogThis will be worked on in the futureenhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions