Skip to content
This repository has been archived by the owner on Feb 6, 2023. It is now read-only.

compare updates #212

Merged
8 commits merged into from
Dec 27, 2022
Merged

compare updates #212

8 commits merged into from
Dec 27, 2022

Conversation

cordeezy2
Copy link
Contributor

added unique keys.
updated returned object to include both added and removed rows. added Value Error if user passes unique keys and not columns or if unique keys contains a value not in columns

added unique keys.
updated returned object to include both added and removed rows.
added Value Error if user passes unique keys and not columns or if unique keys contains a value not in columns
@cordeezy2 cordeezy2 requested a review from a user December 23, 2022 00:51
cordeezy2 and others added 7 commits December 22, 2022 20:19
If unique_keys not in user specified columns then add them instead of error.
Reduce complexity
If unique_keys do not produce a Unique hash then error.  With out this then the hash would overwrite values and would be missing data.
Allow strings for columns_ignore and unique_keys to specify a single column. (i.e. `unique_keys='sn'`)
…and-removed_update

Added IGNORE_COLUMNS variable
If unique_keys not in user specified columns then add them instead of error.
Reduce complexity
If unique_keys do not produce a Unique hash then error. With out this then the hash would overwrite values and would be missing data.
Allow strings for columns_ignore and unique_keys to specify a single column. (i.e. unique_keys='sn')
…oved' into 210-compare-return-add-and-removed
@ghost ghost closed this Dec 27, 2022
@ghost ghost reopened this Dec 27, 2022
@ghost ghost merged commit e52644d into develop Dec 27, 2022
@ghost ghost deleted the 210-compare-return-add-and-removed branch December 27, 2022 15:35
This pull request was closed.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Compare: Return add and removed in single call add new unique key for compare
2 participants