Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug] Compilation Error when create view with lf-tags #564

Closed
2 tasks done
sanromeo opened this issue Jan 17, 2024 · 0 comments · Fixed by #565
Closed
2 tasks done

[Bug] Compilation Error when create view with lf-tags #564

sanromeo opened this issue Jan 17, 2024 · 0 comments · Fixed by #565
Labels
type:bug Something isn't working

Comments

@sanromeo
Copy link
Contributor

Is this a new bug in dbt-athena?

  • I believe this is a new bug in dbt-athena
  • I have searched the existing issues, and I could not find an existing issue for this bug

Current Behavior

I get error when create basic views for elementary package using dbt run --select elementary command

10:43:40    Compilation Error in model information_schema_columns (models/edr/dbt_artifacts/information_schema_columns.sql)
  AthenaAdapter.add_lf_tags() takes 3 positional arguments but 4 were given
  
  > in macro materialization_view_athena (macros/materializations/models/view/view.sql)
  > called by model information_schema_columns (models/edr/dbt_artifacts/information_schema_columns.sql)
10:43:40  

Expected Behavior

View is created successfully without errors :)

Steps To Reproduce

  1. In your dbt project install elementary package
  2. Run command dbt run --select elementary
  3. Receive error when create view:
10:43:40    Compilation Error in model information_schema_columns (models/edr/dbt_artifacts/information_schema_columns.sql)
  AthenaAdapter.add_lf_tags() takes 3 positional arguments but 4 were given
  
  > in macro materialization_view_athena (macros/materializations/models/view/view.sql)
  > called by model information_schema_columns (models/edr/dbt_artifacts/information_schema_columns.sql)
10:43:40  

Environment

- OS: MacOS Sonoma 14.2.1
- Python: 3.11.7
- dbt: 1.7.3
- dbt-athena-community: 1.7.1

Additional Context

No response

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type:bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant