This repository aims to reproduce an issue regarding the return datatype of dbt macros.
If a macro is used with an adapter.dispatch() the return-type of this macro is a string, no matter what the original data type of the returned value was.
Clone the repository, adjust the profile, dbt run-operation op.
The macro assigns variables to the returned values of macros and logs if the variables are of type string or not.
The macros are returning hardcoded values, for this minimal POC a none and a list ['a', 'b'].