My dbt runs are failing - am I missing some sort o...
# ask-community
x
My dbt runs are failing - am I missing some sort of configuration to “turn off” the yield to the SnowflakeIOManager? (I will post the exceptions in 🧵 )
🤖 1
Here are the exceptions:
dagster._core.errors.DagsterExecutionHandleOutputError: Error occurred while handling output “portal_home” of step “run_dbt_wkflw_dbt”:
File “/workspaces/wkflw/.venv/lib/python3.10/site-packages/dagster/_core/execution/plan/execute_plan.py”, line 224, in dagster_event_sequence_for_step
for step_event in check.generator(step_events):
File “/workspaces/wkflw/.venv/lib/python3.10/site-packages/dagster/_core/execution/plan/execute_step.py”, line 363, in core_dagster_event_sequence_for_step
for evt in _type_check_and_store_output(step_context, user_event, input_lineage):
File “/workspaces/wkflw/.venv/lib/python3.10/site-packages/dagster/_core/execution/plan/execute_step.py”, line 420, in _type_check_and_store_output
for evt in _store_output(step_context, step_output_handle, output, input_lineage):
File “/workspaces/wkflw/.venv/lib/python3.10/site-packages/dagster/_core/execution/plan/execute_step.py”, line 564, in _store_output
for elt in iterate_with_context(
File “/workspaces/wkflw/.venv/lib/python3.10/site-packages/dagster/_utils/__init__.py”, line 428, in iterate_with_context
with context_fn():
File “/usr/local/lib/python3.10/contextlib.py”, line 153, in exit
self.gen.throw(typ, value, traceback)
File “/workspaces/wkflw/.venv/lib/python3.10/site-packages/dagster/_core/execution/plan/utils.py”, line 77, in solid_execution_error_boundary
raise error_cls(
The above exception was caused by the following exception:
dagster._check.CheckError: Invariant failed. Description: DbIOManager does not have a handler for type ’<class ‘NoneType’>‘. Has handlers for types ’<class ‘pandas.core.frame.DataFrame’>'
File “/workspaces/wkflw/.venv/lib/python3.10/site-packages/dagster/_core/execution/plan/utils.py”, line 47, in solid_execution_error_boundary
yield
File “/workspaces/wkflw/.venv/lib/python3.10/site-packages/dagster/_utils/__init__.py”, line 430, in iterate_with_context
next_output = next(iterator)
File “/workspaces/wkflw/.venv/lib/python3.10/site-packages/dagster/_core/execution/plan/execute_step.py”, line 554, in _gen_fn
gen_output = output_manager.handle_output(output_context, output.value)
File “/workspaces/wkflw/.venv/lib/python3.10/site-packages/dagster_snowflake/db_io_manager.py”, line 90, in handle_output
check.invariant(
File “/workspaces/wkflw/.venv/lib/python3.10/site-packages/dagster/_check/__init__.py”, line 1470, in invariant
raise CheckError(f”Invariant failed. Description: {desc}“)
Oy! Never mind - I was specifying the
io_manager_key
. Removed it and now am good!