So we have a list of users from our shareholder portal, as well as user data from our online store and we want to build a small internal tool for CRM and data analytics.
Right now i am syncing and cleaning up the data from our online store DB (mysql) as well as our Shareholder portal DB (Postgres) into a new postgres db with meltano, that works great.
Now i wanted to know if it is possible (and the right tool for the job) to do data merging and deduplication.
For example, in the online store users can order with their account, and also as guests with just their email -- but often the same people sometimes order with their account and sometimes as a guest (i know thats annyoing but well it it s how it is). So I want to merge users with the same email, decide which data to use (for example addresses, preferably use the address from the account/guest with that email that ordered most recently) and sum up their total count and invoice amount of their orders.
Then i want to merge this again with our shareholder database, to result in a single user table that contains all the information.
This then needs to run periodically, say once an hour to update data.
Is meltano the right tool for the job here?