I am using dbt Cloud to complete the tutorial to learn more about the tool. I'm using Postgresql because I don't have any access to the paid tools that are heavily supported.
I have orders and customers in the jaffle_shop schema and payment in the stripe schema. I have the following staging table for payment:
with payment as ( select orderid as order_id, amount from dbt.stripe.payment ) select * from payment When I try to do the simple pull to test:
with payments as ( select * from {{ref('stg_payments')}} ) select * from payments I get an error. I try the compile it keeps insisting on going back to the jaffle_shop default schema, even though I've been more specific about using stripe as above (compiled output below with wrong schema):
with payments as ( select * from "dbt"."jaffle_shop"."stg_payments" ) select * from payments limit 500 /* limit added automatically by dbt cloud */ Is there something I should do differently to make it go to the correct schema? Or is this a limit of dbt Cloud and Postgresql? Thank you.