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
Related to #1792: The new utility function for drop_unknown_references will be used to drop invalid foreign key rows that do not point to an existing parent. When using it, I receive data with referential integrity but there is no indication as to how many rows were dropped and how many remain.
Expected behavior
Add an optional parameter verbose to the end of this function. By default, it will be True.
When set to True, there should be a message printed out that tells me how many rows remain per table. This should be pretty printed so that the numbers align -- perhaps as a pandas DatFrame.
Problem Description
Related to #1792: The new utility function for
drop_unknown_references
will be used to drop invalid foreign key rows that do not point to an existing parent. When using it, I receive data with referential integrity but there is no indication as to how many rows were dropped and how many remain.Expected behavior
Add an optional parameter
verbose
to the end of this function. By default, it will beTrue
.When set to
True
, there should be a message printed out that tells me how many rows remain per table. This should be pretty printed so that the numbers align -- perhaps as a pandas DatFrame.Note that the # Rows (Original) should be equal to # Invalid Keys + # Rows (New)
If
verbose=False
, then do not show this message.The text was updated successfully, but these errors were encountered: