elementary icon indicating copy to clipboard operation
elementary copied to clipboard

Generate profiles.yml template for `dbt-athena-community` returns nothing

Open sanromeo opened this issue 1 year ago • 0 comments

Describe the bug When you want to generate template for your elementary package for using edr report it returns next log message

16:34:21  Running with dbt=1.7.3
16:34:21  Registered adapter: athena=1.7.1
16:34:22  Found 37 models, 3 operations, 33 tests, 1 source, 0 exposures, 0 metrics, 1504 macros, 0 groups, 0 semantic models
16:34:22  

Adapter "athena" is not supported on Elementary.

To Reproduce Steps to reproduce the behavior:

  1. Go to your dbt project with dbt-athena-community
  2. Run command dbt run-operation elementary.generate_elementary_cli_profile
  3. See error in log:
16:34:21  Running with dbt=1.7.3
16:34:21  Registered adapter: athena=1.7.1
16:34:22  Found 37 models, 3 operations, 33 tests, 1 source, 0 exposures, 0 metrics, 1504 macros, 0 groups, 0 semantic models
16:34:22  

Adapter "athena" is not supported on Elementary.

Expected behavior When running dbt run-operation elementary.generate_elementary_cli_profile I expect to see in logs next message:

16:43:53  Registered adapter: athena=1.7.1
16:43:53  Found 37 models, 3 operations, 33 tests, 1 source, 0 exposures, 0 metrics, 1504 macros, 0 groups, 0 semantic models
16:43:53  

elementary:
  outputs:
    default:
      type: "athena"
      s3_staging_dir: "s3://stage-dwh-athena/results/dbt/"
      region_name: "eu-central-1"
      database: "awsdatacatalog"
      aws_profile_name: None
      work_group: "dbt"
      aws_access_key_id: "<AWS_ACCESS_KEY_ID>"
      aws_secret_access_key: "<AWS_SECRET_ACCESS_KEY>"
      catalog: "awsdatacatalog"
      schema: "elementary"
      token: "<TOKEN>"
      threads: 4

Environment (please complete the following information):

  • edr Version: 0.13.2
  • dbt package Version: 0.13.2

sanromeo avatar Jan 18 '24 16:01 sanromeo