tdspora / syngen

Open-source version of the TDspora synthetic data generation algorithm.
https://tdspora.ai/
GNU General Public License v3.0
17 stars 4 forks source link

Improve the validation of the schema of the metadata file #282

Closed tdspora closed 11 months ago

tdspora commented 11 months ago

There are some checks in the process of validation of the metadata which missed and should be added:

Check that the list of 'columns' for each key isn't empty Check that the 'table' and 'columns' sections aren't empty in the section 'references.columns' of the appropriate foreign key Check that the length of the list of columns in the section 'columns' and 'references.columns' is the same Check that the columns mentioned in the section 'columns', 'references.columns' exist in the source table

tdspora commented 11 months ago

Fixed