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

Ambiguous column name error in elation_connector file elation_stage__medication_fill.sql #422

Open
galletsophie opened this issue Mar 19, 2024 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@galletsophie
Copy link
Contributor

Describe the bug
I get an error for the elation_connector file elation_stage__medication_fill.sql.
ambiguous column name 'DAYS_SUPPLY'

To Reproduce

  1. Clone elation_connector repo, install dbt, add profiles.yml to connect to your data
  2. In terminal, dbt deps, dbt seed then dbt run (or dbt run --select elation_stage__medication_fill)
  3. You should get the error.

Expected behavior
Running smoothly.
I solved it locally by replacing line 31 ,days_supply with , fill.days_supply

Screenshots
If applicable, add screenshots to help explain your problem.

Environment

  • Package version (e.g. 0.6.0):
  • package: tuva-health/the_tuva_project
    version: 0.7.11
  • package: dbt-labs/dbt_utils
    version: 1.1.1
  • Data warehouse (e.g. Snowflake): snowflake

Additional context
Thank you

@galletsophie galletsophie added the bug Something isn't working label Mar 19, 2024
@thutuva thutuva self-assigned this May 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants