Skip to content

Commit 1a1892c

Browse files
committed
fix(duckdb): disable the progress bar by default
1 parent 45b0c12 commit 1a1892c

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

ibis/backends/duckdb/__init__.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -135,8 +135,10 @@ def do_connect(
135135
)
136136

137137
@sa.event.listens_for(engine, "connect")
138-
def set_time_zone(dbapi_connection, connection_record):
138+
def configure_connection(dbapi_connection, connection_record):
139139
dbapi_connection.execute("SET TimeZone = 'UTC'")
140+
# the progress bar causes kernel crashes in jupyterlab ¯\_(ツ)_/¯
141+
dbapi_connection.execute("SET enable_progress_bar = false")
140142

141143
super().do_connect(engine)
142144

0 commit comments

Comments
 (0)