You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Please indicate the following details about the environment in which you found the bug:
SDV version: v1.0.0
Python version: Any
Operating System: Any
Error Description
In the multi-table case, all foreign keys are assigned None as a transformer. However this change is done in preprocess, and not in auto_assign_transformers. For this reason, if a user calls get_transformers after auto-assigning them, it won't show None for the foreign key. The proposed fix is to just move the code in _skip_foreign_key_transformations to inside of auto_assign_transformers. This will require some refactoring to loop over all tables and assign the transformers for foreign keys to None.
Environment Details
Please indicate the following details about the environment in which you found the bug:
Error Description
In the multi-table case, all foreign keys are assigned
None
as a transformer. However this change is done in preprocess, and not inauto_assign_transformers
. For this reason, if a user callsget_transformers
after auto-assigning them, it won't showNone
for the foreign key. The proposed fix is to just move the code in _skip_foreign_key_transformations to inside ofauto_assign_transformers
. This will require some refactoring to loop over all tables and assign the transformers for foreign keys toNone
.Steps to reproduce
Observe the following output
Notice the foreign key
CountryCode
now hasNone
as a transformer.The text was updated successfully, but these errors were encountered: