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

Strange error in show-downstream #40

Open
mikekaminsky opened this issue Oct 12, 2020 · 0 comments
Open

Strange error in show-downstream #40

mikekaminsky opened this issue Oct 12, 2020 · 0 comments

Comments

@mikekaminsky
Copy link
Owner

Hitting an error pm show-downstream (interestingly, in this example, show-upstream works fine).

$ dbt-helper show-downstream src_organizations
Traceback (most recent call last):
  File "/Users/michael/.virtualenvs/xx_dbt/bin/dbt-helper", line 8, in <module>
    sys.exit(main())
  File "/Users/michael/.virtualenvs/xx_dbt/lib/python3.8/site-packages/core/main.py", line 280, in main
    handle(args)
  File "/Users/michael/.virtualenvs/xx_dbt/lib/python3.8/site-packages/core/main.py", line 257, in handle
    results = task.run(parsed)
  File "/Users/michael/.virtualenvs/xx_dbt/lib/python3.8/site-packages/core/show_dependencies.py", line 199, in run
    update_viz_dict(G, dbt_name)
  File "/Users/michael/.virtualenvs/xx_dbt/lib/python3.8/site-packages/core/show_dependencies.py", line 197, in update_viz_dict
    update_viz_dict(G, pred, level + 1)
  File "/Users/michael/.virtualenvs/xx_dbt/lib/python3.8/site-packages/core/show_dependencies.py", line 197, in update_viz_dict
    update_viz_dict(G, pred, level + 1)
  File "/Users/michael/.virtualenvs/xx_dbt/lib/python3.8/site-packages/core/show_dependencies.py", line 197, in update_viz_dict
    update_viz_dict(G, pred, level + 1)
  [Previous line repeated 2 more times]
  File "/Users/michael/.virtualenvs/xx_dbt/lib/python3.8/site-packages/core/show_dependencies.py", line 185, in update_viz_dict
    viz_dict[level].append(self.pretty_node_name(current_node))
  File "/Users/michael/.virtualenvs/xx_dbt/lib/python3.8/site-packages/core/show_dependencies.py", line 157, in pretty_node_name
    return self.node_info_dict[name]["alias"]
KeyError: 'alias'
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

1 participant