looker-open-source / henry

A command line tool for Looker instance cleanup
MIT License
79 stars 27 forks source link

Feature request - setting to either exclude or include join fields #20

Open moseleyi opened 4 years ago

moseleyi commented 4 years ago

Right now when we use vacuum command the output of unused fields contains the fields from joins.

In our case we have two joins that are pretty much joined to every single view. You can think of them as base attribute views that output attributes of entities they connect to. Right now I see them in each output.

The information about whether the join is used at all or not is definitely helpful but sometimes I don't care about the fields. I can't do anything with them because they're joined all over. We would need to have a product result of all explores that join to a specific view, in order to know whether fields from them are used.

I would like to have an option where I can exclude the fields from the ouput of vacuum