Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion pointblank/validate.py
Original file line number Diff line number Diff line change
Expand Up @@ -564,7 +564,10 @@ def load_dataset(

data_path = f"{tmp}/{dataset}.ddb"

dataset = ibis.connect(f"duckdb://{data_path}").table(dataset)
# Create connection and get table, then close connection
conn = ibis.connect(f"duckdb://{data_path}")
dataset = conn.table(dataset)
conn.disconnect() # Explicitly close the connection

return dataset

Expand Down
Loading