lightdash / dbt2looker

Generate lookml for views from dbt models
https://lightdash.com
MIT License
177 stars 46 forks source link

Add view prefix argument #83

Open sunahsuh opened 1 year ago

sunahsuh commented 1 year ago

This last change may or may not be useful outside of my company's usage but we ended up in a scenario where we started with default Looker-generated views, which prefixed the schema to view names and files, built a number of explores and dashboards on top of them, and then decided to move to generated views + refinements. We wanted to match the new dbt2looker generated view names and files with the previously existing views for simplicity and to keep us from having to edit all the explores we'd already created, so I made this change in our fork. Totally understand if it doesn't seem useful enough generally to merge back upstream but I thought it was worth submitting a PR anyway.