Error executing dudckdb query and outputting to s3 as parquet: (duckdb.duckdb.CatalogException) Catalog Error: Table with name datafabric_test1 does not exist!
Did you mean "pg_database"?
LINE 1: COPY (select * from datafabric_test1) TO 's3://faircrest-he...
                            ^
[SQL: COPY (select * from datafabric_test1) TO 's3://faircrest-health-system//datafabric/test2_dataset/STAGING/year=2025/quarter=Q1/month=1/day=28//test2.parquet' (FORMAT 'parquet');]
(Background on this error at: https://sqlalche.me/e/20/f405)
Traceback (most recent call last):
  File "/usr/local/lib/python3.10/site-packages/sqlalchemy/engine/base.py", line 1971, in _exec_single_context
    self.dialect.do_execute(
  File "/usr/local/lib/python3.10/site-packages/sqlalchemy/engine/default.py", line 919, in do_execute
    cursor.execute(statement, parameters)
  File "/usr/local/lib/python3.10/site-packages/duckdb_engine/__init__.py", line 139, in execute
    self.__c.execute(statement, parameters)
duckdb.duckdb.CatalogException: Catalog Error: Table with name datafabric_test1 does not exist!
Did you mean "pg_database"?
LINE 1: COPY (select * from datafabric_test1) TO 's3://faircrest-he...
                            ^

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File "/app/app/pipeline_utils.py", line 333, in execute_duckdb_query_and_save_parquet
    conn.execute(text(f"COPY ({query}) TO '{s3_path}' (FORMAT 'parquet');"))
  File "/usr/local/lib/python3.10/site-packages/sqlalchemy/engine/base.py", line 1422, in execute
    return meth(
  File "/usr/local/lib/python3.10/site-packages/sqlalchemy/sql/elements.py", line 514, in _execute_on_connection
    return connection._execute_clauseelement(
  File "/usr/local/lib/python3.10/site-packages/sqlalchemy/engine/base.py", line 1644, in _execute_clauseelement
    ret = self._execute_context(
  File "/usr/local/lib/python3.10/site-packages/sqlalchemy/engine/base.py", line 1850, in _execute_context
    return self._exec_single_context(
  File "/usr/local/lib/python3.10/site-packages/sqlalchemy/engine/base.py", line 1990, in _exec_single_context
    self._handle_dbapi_exception(
  File "/usr/local/lib/python3.10/site-packages/sqlalchemy/engine/base.py", line 2357, in _handle_dbapi_exception
    raise sqlalchemy_exception.with_traceback(exc_info[2]) from e
  File "/usr/local/lib/python3.10/site-packages/sqlalchemy/engine/base.py", line 1971, in _exec_single_context
    self.dialect.do_execute(
  File "/usr/local/lib/python3.10/site-packages/sqlalchemy/engine/default.py", line 919, in do_execute
    cursor.execute(statement, parameters)
  File "/usr/local/lib/python3.10/site-packages/duckdb_engine/__init__.py", line 139, in execute
    self.__c.execute(statement, parameters)
sqlalchemy.exc.ProgrammingError: (duckdb.duckdb.CatalogException) Catalog Error: Table with name datafabric_test1 does not exist!
Did you mean "pg_database"?
LINE 1: COPY (select * from datafabric_test1) TO 's3://faircrest-he...
                            ^
[SQL: COPY (select * from datafabric_test1) TO 's3://faircrest-health-system//datafabric/test2_dataset/STAGING/year=2025/quarter=Q1/month=1/day=28//test2.parquet' (FORMAT 'parquet');]
(Background on this error at: https://sqlalche.me/e/20/f405)