You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
dbt generates different DDL statements on serverless depending on the authentication method. This is widely unexpected.
Same behavior is not observed on provisioned clusters.
create table "dev"."ccschema"."my_first_dbt_model__dbt_tmp" ...
alter table "dev"."ccschema"."my_first_dbt_model" rename to "my_first_dbt_model__dbt_backup"
alter table "dev"."ccschema"."my_first_dbt_model__dbt_tmp" rename to "my_first_dbt_model"
drop table if exists "dev"."ccschema"."my_first_dbt_model__dbt_backup" cascade
...
Serverless with IAM auth, bad behavior resulting in error:
create table "dev"."ccschema"."my_first_dbt_model__dbt_tmp" ...
drop external if exists "dev"."ccschema"."my_first_dbt_model" cascade
Redshift adapter: Redshift error: syntax error at or near "if"
dbt switched to drop external, which is unexpected (and not supported on Serverless).
On further investigation this is actually an issue with database privileges between users, tho it highlights that we may want to explicitly warn users that the user field is not who their db user will be
dbt generates different DDL statements on serverless depending on the authentication method. This is widely unexpected.
Same behavior is not observed on provisioned clusters.
Serverless with database auth, expected behavior
~/.dbt/profiles.yml
DDL
Serverless with IAM auth, bad behavior resulting in error:
~/.dbt/profiles.yml
DDL:
dbt switched to
drop external
, which is unexpected (and not supported on Serverless).This is installing from source:
The text was updated successfully, but these errors were encountered: