Tobias Otte
03/02/2023, 4:12 PMdagster._core.errors.DagsterExecutionHandleOutputError: Error occurred while handling output "result" of step "hackernews_topstory_ids":
File "/venvs/1791569dd264/lib/python3.8/site-packages/dagster/_core/execution/plan/execute_plan.py", line 269, in dagster_event_sequence_for_step
for step_event in check.generator(step_events):
File "/venvs/1791569dd264/lib/python3.8/site-packages/dagster/_core/execution/plan/execute_step.py", line 386, in core_dagster_event_sequence_for_step
for evt in _type_check_and_store_output(step_context, user_event):
File "/venvs/1791569dd264/lib/python3.8/site-packages/dagster/_core/execution/plan/execute_step.py", line 439, in _type_check_and_store_output
for evt in _store_output(step_context, step_output_handle, output):
File "/venvs/1791569dd264/lib/python3.8/site-packages/dagster/_core/execution/plan/execute_step.py", line 640, in _store_output
for elt in iterate_with_context(
File "/venvs/1791569dd264/lib/python3.8/site-packages/dagster/_utils/__init__.py", line 473, in iterate_with_context
return
File "/usr/local/lib/python3.8/contextlib.py", line 131, in __exit__
self.gen.throw(type, value, traceback)
File "/venvs/1791569dd264/lib/python3.8/site-packages/dagster/_core/execution/plan/utils.py", line 85, in op_execution_error_boundary
raise error_cls(
The above exception was caused by the following exception:
sqlalchemy.exc.ProgrammingError: (snowflake.connector.errors.ProgrammingError) 002003 (42S02): SQL compilation error:
Object 'THEMENSTEUERUNG.TEST_SCHEMA.HACKERNEWS_TOPSTORY_IDS' does not exist or not authorized.
[SQL: DELETE FROM THEMENSTEUERUNG.TEST_SCHEMA.hackernews_topstory_ids]
(Background on this error at: <https://sqlalche.me/e/14/f405>)
File "/venvs/1791569dd264/lib/python3.8/site-packages/dagster/_core/execution/plan/utils.py", line 55, in op_execution_error_boundary
yield
File "/venvs/1791569dd264/lib/python3.8/site-packages/dagster/_utils/__init__.py", line 471, in iterate_with_context
next_output = next(iterator)
File "/venvs/1791569dd264/lib/python3.8/site-packages/dagster/_core/execution/plan/execute_step.py", line 630, in _gen_fn
gen_output = output_manager.handle_output(output_context, output.value)
File "/venvs/1791569dd264/lib/python3.8/site-packages/dagster/_core/storage/db_io_manager.py", line 136, in handle_output
self._db_client.delete_table_slice(context, table_slice, conn)
File "/venvs/1791569dd264/lib/python3.8/site-packages/dagster_snowflake/snowflake_io_manager.py", line 173, in delete_table_slice
connection.execute(_get_cleanup_statement(table_slice))
File "/venvs/1791569dd264/lib/python3.8/site-packages/sqlalchemy/engine/base.py", line 1365, in execute
return self._exec_driver_sql(
File "/venvs/1791569dd264/lib/python3.8/site-packages/sqlalchemy/engine/base.py", line 1669, in _exec_driver_sql
ret = self._execute_context(
File "/venvs/1791569dd264/lib/python3.8/site-packages/sqlalchemy/engine/base.py", line 1943, in _execute_context
self._handle_dbapi_exception(
File "/venvs/1791569dd264/lib/python3.8/site-packages/sqlalchemy/engine/base.py", line 2124, in _handle_dbapi_exception
util.raise_(
File "/venvs/1791569dd264/lib/python3.8/site-packages/sqlalchemy/util/compat.py", line 211, in raise_
raise exception
File "/venvs/1791569dd264/lib/python3.8/site-packages/sqlalchemy/engine/base.py", line 1900, in _execute_context
self.dialect.do_execute(
File "/venvs/1791569dd264/lib/python3.8/site-packages/sqlalchemy/engine/default.py", line 736, in do_execute
cursor.execute(statement, parameters)
File "/venvs/1791569dd264/lib/python3.8/site-packages/snowflake/connector/cursor.py", line 827, in execute
Error.errorhandler_wrapper(self.connection, self, error_class, errvalue)
File "/venvs/1791569dd264/lib/python3.8/site-packages/snowflake/connector/errors.py", line 275, in errorhandler_wrapper
handed_over = Error.hand_to_other_handler(
File "/venvs/1791569dd264/lib/python3.8/site-packages/snowflake/connector/errors.py", line 330, in hand_to_other_handler
cursor.errorhandler(connection, cursor, error_class, error_value)
File "/venvs/1791569dd264/lib/python3.8/site-packages/snowflake/connector/errors.py", line 209, in default_errorhandler
raise error_class(
The above exception was caused by the following exception:
snowflake.connector.errors.ProgrammingError: 002003 (42S02): SQL compilation error:
Object 'THEMENSTEUERUNG.TEST_SCHEMA.HACKERNEWS_TOPSTORY_IDS' does not exist or not authorized.
File "/venvs/1791569dd264/lib/python3.8/site-packages/sqlalchemy/engine/base.py", line 1900, in _execute_context
self.dialect.do_execute(
File "/venvs/1791569dd264/lib/python3.8/site-packages/sqlalchemy/engine/default.py", line 736, in do_execute
cursor.execute(statement, parameters)
File "/venvs/1791569dd264/lib/python3.8/site-packages/snowflake/connector/cursor.py", line 827, in execute
Error.errorhandler_wrapper(self.connection, self, error_class, errvalue)
File "/venvs/1791569dd264/lib/python3.8/site-packages/snowflake/connector/errors.py", line 275, in errorhandler_wrapper
handed_over = Error.hand_to_other_handler(
File "/venvs/1791569dd264/lib/python3.8/site-packages/snowflake/connector/errors.py", line 330, in hand_to_other_handler
cursor.errorhandler(connection, cursor, error_class, error_value)
File "/venvs/1791569dd264/lib/python3.8/site-packages/snowflake/connector/errors.py", line 209, in default_errorhandler
raise error_class(
yuhan
03/02/2023, 9:55 PMjamie
03/02/2023, 10:43 PMTobias Otte
03/03/2023, 7:50 AMjamie
03/03/2023, 3:31 PMTobias Otte
03/03/2023, 3:55 PMjamie
03/03/2023, 4:04 PMTobias Otte
03/03/2023, 4:11 PMjamie
03/03/2023, 4:13 PM