Currently, canvas viewers can only compile cells which contain:
Generic Jinja functionality - for example, for-loops, set expressions, inline macros
Uses of the
ref()
macro which refer to other cellsUses of the Count
cells
variable
If more complex dbt functionality is encountered, compilation will fail and a warning will be displayed in the corner of the cell:
This is a temporary security measure which will be lifted soon once dbt support in Count is expanded more generally.
See our doc's here for more information on the dbt Cloud integration.