CH approach: Load the dynamic data into a JSON field and use materialized columns when needed for performance beyond calling JSONExtract().
I see the only suboptimal part if different schemas have different types for the same field and it has to convert it to String.
How would that look like? MatViews in CH are like insert triggers so does it mean that one MatView per schema?
>I see the only suboptimal part if different schemas have different types for the same field and it has to convert it to String.
Agree, this is what I was actually after and it actually happens with system data sometimes- you can have "user" field as an int and string in different schemas.