Problem Description
Starting from SDV 2.0, we will have an enhanced metadata that includes the ordinal sdtype as well as range information.
The download_demo function, which returns demo datasets, should return the updated metadata.
Expected behavior
Starting from SDV 2.0, we expect the download_demo function to return the updated metadata (stored as metadata_v2.json in our bucket).
If metadata_v2.json cannot be found, then it's ok to return v1 (aka metadata.json), but provide a warning.
from sdv.datasets.demo import download_demo
data, metadata = download_demo(
modality='multi_table',
dataset_name='fake_hotels'
)
Warning: An updated metadata V2 is not available for this dataset so the V1 metadata was returned.
You should be able to model and sample with the V1 metadata, but please report this issue to the DataCebo.
Additional context
No backwards compatibility is needed since this is for SDV 2.0.
Merge into a feature branch for SDV 2.0, as there will be other issues that are also needed for this version.
Problem Description
Starting from SDV 2.0, we will have an enhanced metadata that includes the
ordinalsdtype as well as range information.The
download_demofunction, which returns demo datasets, should return the updated metadata.Expected behavior
Starting from SDV 2.0, we expect the
download_demofunction to return the updated metadata (stored asmetadata_v2.jsonin our bucket).If
metadata_v2.jsoncannot be found, then it's ok to return v1 (akametadata.json), but provide a warning.Additional context
No backwards compatibility is needed since this is for SDV 2.0.
Merge into a feature branch for SDV 2.0, as there will be other issues that are also needed for this version.