Generate FQTN in profiler if possible
iporollo opened this issue · 2 comments
iporollo commented
Description
When running the command monosi profile
, the table
string in each monitor is generated with an incorrect format. It currently creates just the table name. Instead, for Snowflake, it should generate <database_name>.<schema_name>.<table_name>
Steps to reproduce
- Setup a monosi project with a connected source
- Run
monosi profile
in the monosi project directory - Navigate to a monitor in the generated
bootstrapped-monitors
folder - Notice that the monitor's
table
key only has the table name as the value. Instead, we should have<database_name>.<schema_name>.<table_name>
unkrich commented
It's not necessarily true that all of these qualifiers need to be on the table name, but it's also not bad practice to add them if we have them - commenting on the PR with more thoughts.
unkrich commented
I believe we are doing this now as it is currently a requirement to use the fqtn across the entire application.