Hey everyone, I am trying to fetch the query outpu...
# community-support
m
Hey everyone, I am trying to fetch the query output of a dbt model, I do not want to save it to database but get the query via python. When I use the dbt cli invoke, I can not get the query output. How elementary is printing the query output in the dashboard?
e
Hi @Mert Kucukkuru, we're storing the queries in the database and then we read it from the database in the UI. You can get the compiled queries by running
dbt compile
and then read the files from the
target
folder that dbt generates. More information can be found here.
m
Actually, I do not want to get the compiled query, I want to get the result of the query, output of the query, like here: