Sergii Ivakhno
09/30/2020, 4:25 PMdagster.yml
with PostgresRunStorage
as run_storage:
module: dagster_postgres.run_storage
class: PostgresRunStorage
config:
postgres_db:
username:
env: DAGSTER_PG_USERNAME
password:
env: DAGSTER_PG_PASSWORD
hostname:
env: DAGSTER_PG_HOST
db_name:
env: DAGSTER_PG_DB
port: 5432
and similar for events using PostgresEventLogStorage
. I then execute pipeline with dask executor - it runs successfully but gives quite a few errors qlite3.ProgrammingError: SQLite objects created in a thread can only be used in that same thread. The object was created in thread id 123145510014976 and this is thread id 123145494249472.
I am curious why SQLite
is mentioned at all since I use Postgres
for run storage? Thanks for clarifications!sashank
09/30/2020, 4:26 PMevent_log_storage
to use postgresSergii Ivakhno
09/30/2020, 4:28 PMevent_log_storage:
module: dagster_postgres.event_log
class: PostgresEventLogStorage
config:
postgres_db:
username:
env: DAGSTER_PG_USERNAME
password:
env: DAGSTER_PG_PASSWORD
hostname:
env: DAGSTER_PG_HOST
db_name:
env: DAGSTER_PG_DB
port: 5432
sashank
09/30/2020, 4:29 PMschedule_storage
if you areSergii Ivakhno
09/30/2020, 4:30 PMsashank
09/30/2020, 4:31 PM$DAGSTER_HOME
set, and dagster.yaml
defined in the folder $DAGSTER_HOME
points to?Sergii Ivakhno
09/30/2020, 4:50 PM