Skip to content

Commit

Permalink
Merge pull request #1885 from tjengel/add_auto_dist_style
Browse files Browse the repository at this point in the history
Add auto dist style
  • Loading branch information
beckjake authored Nov 9, 2019
2 parents 58b2955 + d245bcb commit 2ca4c1a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion plugins/redshift/dbt/include/redshift/macros/adapters.sql
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
{%- if dist is not none -%}
{%- set dist = dist.strip().lower() -%}

{%- if dist in ['all', 'even'] -%}
{%- if dist in ['all', 'even', 'auto'] -%}
diststyle {{ dist }}
{%- else -%}
diststyle key distkey ({{ dist }})
Expand Down

0 comments on commit 2ca4c1a

Please sign in to comment.