Is there a way to dynamically change DB schema?

I want to dynamically change a DB schema (Presto driver or Old Presto Driver) based on user filter/user role/selected dashboard (at least one of these criteria).

Important note: I would like to have field filters (on a dashboard) sync with this schema. Which internal API could help with this task?

Hi @artkhas
Currently that is not possible for security reasons:
https://github.com/metabase/metabase/issues/4639 - upvote by clicking :+1: on the first post

1 Like