In i__looker, Looker will track query.view with the case that it created with. This means if the case is changed away from the initial at any point, Henry will report the usage of the explore as 0, even if this is used extensively.
Here are the steps to repro:
create New_Prd_ExplorE explore
run a couple queries
change explore name to new_prd_explore
run more queries
i__looker only registers all queries under New_Prd_ExplorE
run henry analyze explore --model foo --explore new_prd_explore
In i__looker, Looker will track query.view with the case that it created with. This means if the case is changed away from the initial at any point, Henry will report the usage of the explore as 0, even if this is used extensively.
Here are the steps to repro:
henry returns 0, when in fact the result is >0.
This PR fixes this issue.