via https://github.com/fishtown-analytics/dbt/pull/2258
via dbt-labs/dbt-core#2258