Hi,
In meltano, I have tap-mysql target-postgres.
In mysql I have 2 tables
User : userId, userName, companyId (Record example : 1, "Anita", 101)
Company : companyId, shortName ((Record example : 101, "Sales"))
Now I want to create custom transformer/mapper & fit it in between that
- read companyId from User table.
- based on companyId, need to get shortName from Company table.
- In postgres I want tables like User_Sales i.e, Company specific user tables.
I want to tweak tap-mysql's json's table name. because I want to create company specific User table in post-gres using target-postgres.
I want to read tap-mysql records & by doing small transformation, I want to send tweaked json to target-postgres. How to do it? Can you give me example of meltano.yml config file, custom transformer code code? I tried many ways but failed!