Hey :wave: I’ve been busy building out support for...
# community-support
t
Hey 👋 I’ve been busy building out support for
dbt-trino
(elementary#1378 and dbt-data-reliability#652) and I have pretty much everything working apart from one last thing, my HTML reports fail to render. From what I can see this is because the base report,
monitor/data_monitoring/report/index.html
can not handle the
warehouse_type
being
trino
(which from I can see if used to render the logo in the top right) if I change the output JSON to
postgres
(or an empty value) and re-render the report it works fine, though with a PostgreSQL logo) Obviously we could add JavaScript functions to support the
trino
type, but from what I can see other types are not supported and still do function e.g. Athena so I may be missing something else 🤔 Thanks!
✅ 1
Ah I can see reports generated by
dbt-athena
set the
warehouse_type
to
null
, I haven’t see where or how it is doing this yet, but I will dig deeper 👀
Found the issue, its painful and stupid, I will add details into my PRs but basically
get_adapter_type_and_unique_id
fails for Athena because it has no
host
value thus returns a
null
value for
warehouse_info
allowing the HTML report to function. I imagine this is not expected, but for
dbt-trino
to function, I will add a macro to purposely fail and thus also produce a
null
value for the HTML report