data-diff
data-diff copied to clipboard
Allow source and target to have different column names
You might have a column called money in one database, and amount in another. Today we don't have a way to have the columns have different names across the two databases. In the Python API, perhaps it's sufficient to just make it based on the position in the column tuple.
For the CLI, maybe we could use: -c amount:money.
Make sure we also include the key and update column in this!
https://github.com/datafold/data-diff/issues/113
Hi all, is anyone working on this? I would like to have this feature! And could someone confirm that we would like to have the -c amount:money syntax?
@JCZuurmond Just FYI that this is already possible using the Python API.
As for the CLI, we don't have any decision. But if you vote this issue up, it increases the chances of it getting implemented.
Thanks, I am using the Python API for now. I expect this feature is not needed - at least for now
This issue has been marked as stale because it has been open for 60 days with no activity. If you would like the issue to remain open, please comment on the issue and it will be added to the triage queue. Otherwise, it will be closed in 7 days.
Although we are closing this issue as stale, it's not gone forever. Issues can be reopened if there is renewed community interest. Just add a comment and it will be reopened for triage.