Previously, the update-schema utility only supported legacy datatypes and ndt sidecars. The command assumed that datasets already existed. And the logic was straight forward but very redundant.
This change adds support to update-schema for creating datasets and sidecar tables for alternate experiments. Previous behavior is still available but no longer run by default. Now, the -standard and -legacy options are independent. We typically do not need to update the legacy tables any longer and the template table iteration is time consuming.
Example usage now includes:
# Make standard supported tables.
update-schema -project mlab-sandbox -standard
# Make all datasets and sidecar tables for new foobar experiments.
update-schema -project mlab-sandbox -experiment foobar -sidecars
# Make a single scamper1 table for the wehe experiment.
update-schema -project mlab-sandbox -experiment wehe -datatype scamper1
Previously, the
update-schema
utility only supported legacy datatypes andndt
sidecars. The command assumed that datasets already existed. And the logic was straight forward but very redundant.This change adds support to
update-schema
for creating datasets and sidecar tables for alternate experiments. Previous behavior is still available but no longer run by default. Now, the-standard
and-legacy
options are independent. We typically do not need to update the legacy tables any longer and the template table iteration is time consuming.Example usage now includes:
This change is