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

Dict object has no attribute file_key_name on Singular tests #29

Open
alittlesliceoftom opened this issue Jan 31, 2024 · 1 comment
Open

Comments

@alittlesliceoftom
Copy link

image

Fairly confident that this is only an issue on 'singular data tests' configured in the tests/ folder.

I assume this is because the file is not directly referenced.

Doesn't happen in targets where upstream prod disabled.

upstream-prod Version 0.5.1

DBT: Core:

  • installed: 1.4.9
  • latest: 1.7.6 - Update available!

Your version of dbt-core is out of date!
You can find instructions for upgrading here:
https://docs.getdbt.com/docs/installation

Plugins:

  • sqlserver: 1.4.3 - Up to date!
  • synapse: 1.4.0 - Up to date!
@alittlesliceoftom alittlesliceoftom changed the title Dict object has not attribute file_key_name Dict object has no attribute file_key_name on Singular tests Jan 31, 2024
@LewisDavies
Copy link
Owner

Just spotted this after replying to your other issue. This explains the both errors - file_key_name isn't available for singular tests, so the package breaks when trying to redirect them to prod. This will happen for any dbt command.

It would be great if you're able to try the fix recommended in #23 - if that works I could probably backport the changes and release a new official version soon.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants