Better error messaging for nullable foreign keys #1780
Labels
data:multi-table
Related to multi-table, relational datasets
feature request
Request for a new feature
Milestone
Problem Description
Currently, the SDV does not support nullable foreign keys though this feature request has been filed in #1656. We expect support for nullable foreign keys to take some time, as it requires core algorithmic updates to each multi-table algorithm.
If you have a null foreign key, it currently shows up an an error. For eg. in demo dataset
TubePricing_v1
:This message misleading because the data is actually valid -- databases do support nullable foreign keys. We should clear up confusion that users may have about this missing feature.
Expected behavior
metadata.validate_data
call should allow nullable foreign keys to exist. That is: It should not crash.The text was updated successfully, but these errors were encountered: