James Lam
08/01/2023, 12:57 AMAttributeError: 'str' object has no attribute 'get'
Stack Trace:
File "python/dagster/venv/lib/python3.9/site-packages/dagster/_core/execution/plan/utils.py", line 54, in op_execution_error_boundary
yield
File "python/dagster/venv/lib/python3.9/site-packages/dagster/_utils/__init__.py", line 445, in iterate_with_context
next_output = next(iterator)
File "python/dagster/venv/lib/python3.9/site-packages/dagster/_core/execution/plan/execute_step.py", line 593, in _gen_fn
gen_output = output_manager.handle_output(output_context, output.value)
File "python/dagster/venv/lib/python3.9/site-packages/dagster/_core/storage/db_io_manager.py", line 127, in handle_output
table_slice = self._get_table_slice(context, context)
File "python/dagster/venv/lib/python3.9/site-packages/dagster/_core/storage/db_io_manager.py", line 217, in _get_table_slice
partition_expr_str = cast(Mapping[str, str], partition_expr).get(part.name)
owen
08/01/2023, 5:31 PMpartition_expr
set on your metadata for your asset is just a single string, rather than a dictionary mapping partition dimension name to string.James Lam
08/01/2023, 9:56 PM