Tomme
01/17/2024, 2:04 PMdbt-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!Tomme
01/17/2024, 2:41 PMdbt-athena set the warehouse_type to null, I haven’t see where or how it is doing this yet, but I will dig deeper 👀Tomme
01/17/2024, 3:20 PMget_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