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] dbt docs generate issue in new version 1.8.2 (and also continues to 1.8.4) #720

Open
2 tasks done
chenp-eleos opened this issue Sep 17, 2024 · 0 comments
Open
2 tasks done
Labels
bug Something isn't working

Comments

@chenp-eleos
Copy link

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

when running dbt docs generate we are getting an error, but when using version 1.8.2 of the adapter it works like a charm.
This is the error:
Encountered an error while generating catalog: Table type cannot be None for table XXXXXXX.bronze_dev.events_mp_master_event

I can see it is happening only when trying to generate catalog in target dev, and it seems like it is affected by another source which inside it we use:
schema: "{{ 'bronze_dev' if target.name == 'dev' else 'bronze_prod' }}"

but in the source events_mp_master_event we use just:
schema: bronze_prod

so why it is affecting it?

Expected Behavior

dbt docs generate works as before

Steps To Reproduce

No response

Environment

- OS:
- Python:
- dbt:
- dbt-athena-community:

Additional Context

No response

@chenp-eleos chenp-eleos added the bug Something isn't working label Sep 17, 2024
@chenp-eleos chenp-eleos changed the title [Bug] dbt docs generate issue in new version 1.8.3 (and 1.8.4) [Bug] dbt docs generate issue in new version 1.8.2 (and also continues to 1.8.4) Sep 17, 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

1 participant