dbt2looker icon indicating copy to clipboard operation
dbt2looker copied to clipboard

Support group_labels in yml for dimensions

Open mike-weinberg opened this issue 2 years ago • 1 comments

https://github.com/lightdash/dbt2looker/blob/bb8f5b485ec541e2b1be15363ac3c7f8f19d030d/dbt2looker/models.py#L99

measures seem to have this but not dimensions. probably all/most properties in available in https://docs.lightdash.com/references/dimensions/ should be represented here -- is this something lightdash is willing to maintain or would you want a contribution? @TuringLovesDeathMetal / @owlas - i figure full support for lightdash properties that can map to looker should be, in order to maximize the value of this utility for enabling looker customers to uncouple themselves from looker.

mike-weinberg avatar Sep 21 '22 17:09 mike-weinberg

i suppose it might go somewhere around here: https://github.com/lightdash/dbt2looker/blob/bb8f5b485ec541e2b1be15363ac3c7f8f19d030d/dbt2looker/generator.py#L246 as like, if column.meta.dimension.group_label: etc

mike-weinberg avatar Sep 21 '22 17:09 mike-weinberg