markporoshin / dbt-greenplum

Adaptation postgres adapter for Greenplum
32 stars 20 forks source link

Model parameter raw_partition not working without fields_string #27

Open levkiss opened 1 year ago

levkiss commented 1 year ago

telegram-cloud-photo-size-2-5370934330127404215-y When I try to create model with raw_partition parameter without adding fields string parameter (screenshot1), the model fails to build.

Compiled code looks like this (the main issue is that instead of attributes I see None value): telegram-cloud-photo-size-2-5370934330127404250-y

Greenplum fails with following error:

Screenshot 2023-08-07 at 19 09 40

The model works ok when I delete raw_partition=raw_partition

levkiss commented 1 year ago

if you need to add fields_string to raw_partition (which is not shown in the documentation), then this is not a bug