dbt-labs / dbt-external-tables

dbt macros to stage external sources
https://hub.getdbt.com/dbt-labs/dbt_external_tables/latest/
Apache License 2.0
297 stars 119 forks source link

v0.7.2 no attribute 'PRINTER_WIDTH' #121

Closed SonghaBan closed 2 years ago

SonghaBan commented 2 years ago

Describe the bug

I ran dbt run-operation stage_external_sources on the DBT Cloud and got the following error message.

Encountered an error while running operation: Runtime Error
  Compilation Error in macro stage_external_sources (macros/common/stage_external_sources.sql)
    'module object' has no attribute 'PRINTER_WIDTH'

System information

The contents of your packages.yml file:

packages:
- package: dbt-labs/dbt_external_tables
  version: [">=0.7.0", "<0.8.0"]
- package: dbt-labs/dbt_utils
  version: [">=0.7.0", "<0.8.0"]

Which database are you using dbt with?

The dbt version is 0.21.0.

jtcohen6 commented 2 years ago

@SonghaBan Thanks for the report! I've got a fix for this in https://github.com/dbt-labs/dbt-external-tables/pull/120