Edit on GitHub
Can I See the SQL Compiled From a dbt Model Run?link
Questionlink
Can I see the SQL compiled from a dbt model run?
Environmentlink
Transformations for dbt Core
Answerlink
We don't expose the run artifacts or the SQL compiled from a dbt model run.
However, if your destination stores logs of queries run by Fivetran, you may be able to find the SQL compiled from a dbt model run by searching for SQL queries that occurred at the time of the transformation.