Normally you'd keep all the transformation in one place in the "data warehouse", which could be Postgres/Redshift/Snowflake/Clickhouse etc. Using some el tools (like sling cli for example) to load into the DW, and then using a transformation tool (like dbt for example) to do all the transformations in SQL, source controlled. It's advantageous to keep all of the transformation logic in one place (to avoid mismatches as you've mentioned).
And from the DW, after data is ready, various tools/clients can consume it (such as BI tools, CRMs, APIs, AI, etc). All aligned.
Thanks. What you described is much more what I'd expect a data warehouse process to look like. Which is driving me mad because I don't understand why there are so many steps with so many tools.
For anyone looking to easily ingest data into a Postgres Wire compatible database, check out https://github.com/slingdata-io/sling-cli. Use CLI, YAML or Python to run etl jobs.
Awesome. If anyone is looking to mass ingest data into ducklake (databases or files), check out sling (https://docs.slingdata.io). It works great with MotherDuck as well.